Chemical adding amount comprehensive control method and equipment of water purification system, medium and product
By obtaining water quality and hydraulic models, generating a drug dosing curve and adjusting the dosing pump using AI algorithms, the problems of lag and high consumption of dosing dosing in sewage treatment are solved, and precise control and cost reduction are achieved.
Patent Information
- Application Number
- CN202510359149.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-03-25
AI Technical Summary
In the prior art, the Chinese medicine dosage method for sewage treatment has problems such as lagging adjustment of dosage, large drug consumption, high labor costs, and difficult to achieve precise control of dosage.
By obtaining the water quality parameters and hydraulic model of sewage, the target water quality parameters and hydraulic residence time of the inlet and outlet of the magnetic coagulation module are predicted, and the chemical dosage reference curve and correction curve are generated. The AI algorithm and variable speed step integral PIDE control algorithm are used to dynamically adjust the dosage amount of the dosage pump to achieve accurate control of the dosage amount.
It realizes precise control of dosage, reduces drug consumption and labor costs, and improves sewage purification efficiency.
Smart Images

Figure CN120271062A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of water purification, and more specifically, to a comprehensive control method, device, medium and product for the chemical dosing amount of a water purification system. Background Art
[0002] Water pollution treatment is one of the terms in water conservancy science and technology, which means the process of improving or eliminating water pollution by engineering and non-engineering methods. Sewage treatment: The process of purifying sewage to meet the water quality requirements for discharging into a certain water body or reusing it. Classified by the source of sewage, sewage treatment is generally divided into industrial sewage treatment, agricultural sewage treatment and medical sewage treatment, etc., while domestic sewage is the sewage generated in daily life. Sewage treatment is widely used in various fields such as construction, transportation, energy, petrochemical, environmental protection, urban landscape, medical treatment, catering, etc., and is also increasingly entering the daily life of ordinary people.
[0003] In sewage treatment, the treatment of phosphorus content in sewage is an important process. In the prior art, the method of manually adding phosphorus removal agents to sewage is adopted to reduce the phosphorus content. However, this method of chemical dosing has problems such as lag in dosing amount adjustment, large consumption of chemicals, high labor and chemical costs, and cannot meet the requirements of real-time and precise control of the dosing amount. Summary of the Invention
[0004] Embodiments of this application provide a comprehensive control method, device, medium and product for the chemical dosing amount of a water purification system, which can solve the problems of lag in dosing amount adjustment, large consumption of chemicals, high labor cost and chemical cost in the existing manual chemical dosing method, and it is difficult to achieve precise control of the dosing amount. To achieve this purpose, the embodiments of this application provide the following several solutions.
[0005] According to one aspect of the embodiments of this application, a comprehensive control method for the chemical dosing amount of a water purification system is provided. The water purification system includes a magnetic coagulation module provided with a chemical dosing pump. The method includes:
[0006] Obtain the water quality parameters and hydraulic model corresponding to the sewage, and predict the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic model. The water quality parameters include the turbidity, chemical oxygen demand, total phosphorus content, total nitrogen, ammonia nitrogen, temperature, and flow rate corresponding to the inlet and outlet of the water purification system. The hydraulic retention time is determined based on the hydraulic model information of the water purification system;
[0007] Generate a chemical dosing reference curve and a chemical dosing correction curve based on the target water quality parameters and preset indicators, where the preset indicators include discharge indicators and compliance indicators;
[0008] Control the chemical dosage of the chemical dosing pump according to the chemical dosing reference curve, the chemical dosing correction curve, and the water quality parameters.
[0009] In a possible implementation, obtaining a hydraulic model includes:
[0010] Obtain the pipeline information of the water purification system, and determine the volume ratio of the pipeline corresponding to the water purification system according to the pipeline information;
[0011] Calculate the hydraulic model based on the volume ratio and the pipeline information.
[0012] In a possible implementation, the predicting the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic retention model includes:
[0013] Determine the first hydraulic retention time corresponding to the inlet of the magnetic coagulation module and the second hydraulic retention time corresponding to the outlet of the magnetic coagulation module according to the hydraulic model;
[0014] Determine the inlet virtual flowmeter corresponding to the inlet of the magnetic coagulation module according to the flow rate corresponding to the inlet of the water purification system and the first hydraulic retention time, and determine the outlet virtual flowmeter corresponding to the outlet of the magnetic coagulation module according to the flow rate corresponding to the outlet of the water purification system and the second hydraulic retention time;
[0015] Determine the target water quality parameters based on the inlet virtual flowmeter and the outlet virtual flowmeter.
[0016] In a possible implementation, the calculating the chemical dosing reference curve and the chemical dosing correction curve according to the water quality parameters and the preset indicators includes:
[0017] Determine the chemical dosing reference values at different time points according to the inlet virtual flowmeter, the total phosphorus content corresponding to the inlet, and the discharge indicators, and generate a chemical dosing reference curve corresponding to the chemical dosing reference values;
[0018] Use the outlet virtual flowmeter, the total phosphorus content corresponding to the outlet, and the compliance indicators to determine the chemical dosing correction values at different time points, and generate a chemical dosing correction curve corresponding to the chemical dosing correction values.
[0019] In a possible implementation, the determining the chemical dosing reference values at different time points according to the inlet virtual flowmeter, the total phosphorus content corresponding to the inlet, and the discharge indicators includes:
[0020] Determine the phosphorus removal amount at different time points based on the inlet virtual flowmeter at different time points and the total phosphorus content corresponding to the inlet flow rate;
[0021] Calculate the reference value of the chemical agent dosage based on the phosphorus removal amount, the discharge index, and the reaction model information of the chemical agent.
[0022] In a possible implementation, the determination of the dosage of the chemical agent adding pump according to the chemical agent dosage reference curve, the chemical agent dosage correction curve, and the water quality parameters includes:
[0023] Generate a heat map of the correlation coefficients between the indicators of the water quality parameters according to the AI algorithm, perform correlation influence factor analysis using the heat map of the correlation coefficients, and obtain the influence factors of the inlet and outlet according to the analysis results and the water quality parameters;
[0024] Determine the response trend of the total chemical agent setting value corresponding to the chemical agent adding pump according to the higher-order partial derivatives of the influence factors of the inlet and the higher-order partial derivatives corresponding to the chemical agent dosage reference curve, and determine the adjustment trend of the total chemical agent feedforward value corresponding to the chemical agent adding pump based on the higher-order partial derivatives of the influence factors of the outlet and the higher-order partial derivatives corresponding to the chemical agent dosage correction curve;
[0025] Dynamically adjust the control parameters of the chemical agent adding pump according to the response trend of the total chemical agent setting value and the adjustment trend of the total chemical agent feedforward value. The chemical agent adding pump realizes the control of the chemical agent dosage based on the variable-speed cascade integral PIDE control algorithm.
[0026] In a possible implementation, the obtaining of the influence factors of the inlet and outlet according to the analysis results and the water quality parameters includes:
[0027] Generate a first water quality parameter matrix according to the water quality parameters of the inlet, obtain a first parameter influence factor matrix corresponding to the first water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the inlet, and calculate the influence factor of the inlet based on the first water quality parameter matrix, the first parameter influence factor matrix, and the first delay coefficient;
[0028] Generate a second water quality parameter matrix according to the water quality parameters of the outlet, obtain a second parameter influence factor matrix corresponding to the second water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the outlet, and calculate the influence factor of the outlet based on the second water quality parameter matrix, the second parameter influence factor matrix, and the second delay coefficient.
[0029] In a possible implementation, the realization of the chemical agent dosage control includes:
[0030] Extract the sewage dosing flow rate data from the manually controlled experience data, perform clustering analysis on the sewage dosing flow rate data using the clustering algorithm of the AI platform to obtain the optimal K-value classification, and obtain the parameters corresponding to the variable-speed cascade integral PIDE control algorithm based on the optimal K-value classification, the response trend of the total chemical agent set value, and the adjustment trend of the total chemical agent feedforward value. The parameters include the variable-speed gradient and the cascade step.
[0031] According to one aspect of the embodiments of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory. The processor executes the computer program to implement the steps of the method as described above.
[0032] According to one aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method as described above are implemented.
[0033] According to one aspect of the embodiments of the present application, a computer program product is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method as described above are implemented.
[0034] The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
[0035] The dosing amount comprehensive control method of the water purification system provided by the present application obtains water quality parameters and a hydraulic model, calculates the target water quality parameters and hydraulic retention time at the corresponding inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic model; calculates the chemical agent dosing reference curve and the chemical agent dosing correction curve according to the target water quality parameters and the preset indicators; controls the dosing amount of the chemical agent dosing pump according to the chemical agent dosing reference curve, the chemical agent dosing correction curve, and the water quality parameters. The embodiments of the present application can automatically adjust the dosing amount according to the actual water quality parameters, realize the effective matching of the dosing amount and the phosphorus content in the sewage, reduce the chemical agent consumption, reduce the labor cost and chemical agent cost required for sewage purification, and effectively meet the requirement of accurate control of the dosing amount. Description of the Drawings
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description in the embodiments of the present application.
[0037] Figure 1 It is a flowchart of the dosing amount comprehensive control method of the water purification system provided by the embodiments of the present application;
[0038] Figure 2 It is a structural diagram of the electronic device provided by the embodiments of the present application. Detailed Embodiments
[0039] The embodiments of the present application will be described below in conjunction with the accompanying drawings in the present application. It should be understood that the embodiments described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0040] Those skilled in the art of the present technology can understand that unless specifically stated, the singular forms "a", "an", "the", and "said" used herein may also include the plural forms. It should be further understood that the terms "comprising" and "including" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements, and / or components, but do not exclude being implemented as other features, information, data, steps, operations, elements, components, and / or their combinations supported by the art of the present technology. It should be understood that when we say an element is "connected" or "coupled" to another element, this element can be directly connected or coupled to the other element, or it can mean that this element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used here can include a wireless connection or wireless coupling. The term "and / or" used here indicates at least one of the items defined by this term. For example, "A and / or B" indicates being implemented as "A", or being implemented as "A", or being implemented as "A and B".
[0041] To make the objectives, technical solutions, and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the drawings.
[0042] The technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application will be described below through the description of several exemplary embodiments. It should be noted that the following embodiments can be referred to, borrowed from, or combined with each other. For the same terms, similar features, and similar implementation steps in different embodiments, they will not be described repeatedly.
[0043] The dosing amount comprehensive control method, device, medium, and product of the water purification system provided by the present application aim to solve at least one technical problem existing in the prior art.
[0044] In the embodiments of the present application, a dosing amount comprehensive control method for a water purification system is provided. The water purification system includes a magnetic coagulation module provided with a dosing pump. This method can be used for a control terminal that controls the dosing pump, and this control terminal can be a mobile phone, a computer, a cloud platform, and other devices that can obtain water quality parameters and control the dosing amount according to these water quality parameters.
[0045] Optionally, as Figure 1 shown, the dosing amount comprehensive control method of the water purification system of the present application includes:
[0046] S101: Obtain the water quality parameters and hydraulic model corresponding to the sewage, and calculate the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module according to the water quality parameters and hydraulic model.
[0047] Optionally, the water quality parameters include the turbidity, chemical oxygen demand, total phosphorus content (Total Phosphorus, TP, which refers to the result measured after the water sample is digested and all forms of phosphorus (including inorganic phosphorus and organic phosphorus) are converted into orthophosphate, measured in milligrams of phosphorus per liter of water sample (mg / L)), total nitrogen (Total Nitrogen, TN, total nitrogen refers to the total amount of various forms of inorganic and organic nitrogen in water, including inorganic nitrogen such as NO3 - 、NO2 - 、NH4 + and other inorganic nitrogen, as well as organic nitrogen such as proteins, amino acids, and organic amines, calculated in milligrams of nitrogen per liter of water (mg / L)), ammonia nitrogen, temperature, flow rate, and the hydraulic retention time is determined based on the pipeline information of the water purification system.
[0048] In one embodiment, the typical links for a sewage treatment plant to treat sewage include: inlet meter room - pretreatment - biological treatment - secondary sedimentation tank treatment - magnetic coagulation module treatment - disinfection tank treatment - outlet meter room. Among them, detection devices for detecting water quality parameters are provided in the inlet meter room and the outlet meter room, and the water quality parameters related to the inlet meter room and the outlet meter room are obtained through these detection devices.
[0049] Optionally, from the inlet to the outlet of the sewage treatment plant, there is a certain residence time for the sewage. To achieve precise control of the chemical dosage, it is necessary to obtain the hydraulic model of the sewage in the sewage treatment plant. Among them, obtaining the hydraulic model includes: obtaining the pipeline information of the water purification system, and determining the volume ratio of the pipelines corresponding to the water purification system according to the pipeline information; calculating the hydraulic model based on the volume ratio and the pipeline information.
[0050] Optionally, the pipeline information includes information related to the sewage accommodation space such as the inner diameter, shape, length of the pipeline, and the dimensions of various pools for storing sewage (such as secondary sedimentation tanks, disinfection tanks, etc.). Calculate the volume ratio of the pipeline according to this pipeline information.
[0051] Optionally, after obtaining the volume ratio, a hydraulic model capable of describing the flow information of the sewage in the pipeline (such as the residence time in different pipelines) can be obtained according to the pipeline information, Bernoulli's equation, and the volume ratio, and the hydraulic retention time of the sewage in the pipeline can be calculated using this hydraulic model. Among them, the hydraulic retention time can include the time for the sewage to reach the inlet of the magnetic coagulation module from the inlet and the time for the sewage to reach the outlet from the outlet of the magnetic coagulation module.
[0052] Optionally, flow detection sensors may also be provided at positions in the water purification system where the hydraulic retention time needs to be detected (such as the inlet and outlet of the magnetic coagulation module). It is also possible to use a hydraulic model to calculate the instantaneous flow rates of the sewage system's inlet meter room / outlet meter room, the virtual flow meter at the inlet of the magnetic coagulation module, and the virtual flow meter at the outlet of the magnetic coagulation module.
[0053] Optionally, calculate the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module based on water quality parameters and hydraulic retention time, including: determining the first hydraulic retention time corresponding to the inlet of the magnetic coagulation module and the second hydraulic retention time corresponding to the outlet of the magnetic coagulation module according to the hydraulic model; determining the inlet virtual flow meter corresponding to the inlet of the magnetic coagulation module based on the flow rate corresponding to the inlet of the water purification system and the first hydraulic retention time, and determining the outlet virtual flow meter corresponding to the outlet of the magnetic coagulation module based on the flow rate corresponding to the outlet of the water purification system and the second hydraulic retention time; determining the target water quality parameters based on the inlet virtual flow meter and the outlet virtual flow meter.
[0054] Optionally, the information on hydraulic retention time may include the hydraulic retention time corresponding to different pipeline positions in the water purification system. Obtain the positions of the inlet and outlet of the magnetic coagulation module in the pipeline system, and determine the time required for the sewage flowing into the inlet to reach the inlet of the magnetic coagulation module (the first hydraulic retention time) and the time required to reach the outlet of the magnetic coagulation module (the second hydraulic retention time) according to this position and the hydraulic model.
[0055] Optionally, the information on hydraulic retention time may also include the hydraulic retention time of the inlet and outlet of the magnetic coagulation module at different flow rates. When calculating the first hydraulic retention time, the flow rate of the inlet of the water purification system can be obtained, and the first hydraulic retention time can be obtained according to the flow rate of this inlet and the information on hydraulic retention time in the hydraulic model. It is also possible to obtain the flow rate of the outlet, and obtain the second hydraulic retention time according to the flow rate of this outlet and the information on hydraulic retention time.
[0056] In one embodiment, after obtaining the first hydraulic retention time, the time-axis translation method can be adopted to virtualize the flow rate data FT1 of the influent flowmeter in the influent meter room to the inlet of the magnetic coagulation module, denoted as the inlet flow rate FT2; the virtualization process: first, discretize the flow rate data FT1, record the FT1[n] of the data with a period of 1 s, calculate FT2 according to the first hydraulic retention time and FT1[n], and let FT2 participate in the subsequent control. After obtaining the second hydraulic retention time, denote the flow rate at the outlet of the effluent meter room as FT4, and virtualize this flow rate to the outlet of the magnetic coagulation module, denoted as FT3; the virtualization process: first, discretize FT4, record the FT4[n] of the data with a period of 1 s, and obtain the flow rate FT3 of the magnetic coagulation module at different time points according to the second hydraulic retention time from the outlet to the inlet of the magnetic coagulation module and FT4[n], and let this FT3 participate in the subsequent chemical dosing control. Correspondingly, other water quality parameters (such as total phosphorus content) at the inlet and outlet can also be virtualized to the inlet and outlet of the magnetic coagulation module according to the hydraulic retention time. By virtualizing the water quality parameters at the inlet and outlet to the magnetic coagulation module, when the meters at the inlet and outlet are faulty or under calibration, the chemical dosing control can be carried out using the water quality parameters virtualized to the magnetic coagulation module based on the hydraulic retention time, improving the stability of the water purification system and realizing the mutual replacement of the total phosphorus content meters between the magnetic coagulation module and the effluent meter room and achieving meter redundancy.
[0057] S102: Calculate the chemical dosing reference curve and the chemical dosing correction curve according to the target water quality parameter and the preset index.
[0058] Optionally, the preset index includes the discharge index and the compliance index. Among them, the discharge index is used for calculating the chemical dosing correction value, and the compliance index is used for calculating the chemical dosing reference value.
[0059] In one embodiment, the discharge index may include the numerical threshold of the total phosphorus content during sewage discharge, and the compliance index may include the numerical threshold of the total phosphorus content in the sewage after phosphorus removal by the chemical agent. Among them, the numerical threshold of the total phosphorus content in the discharge index is less than the numerical threshold of the total phosphorus content in the compliance index. Specifically, the numerical threshold of the total phosphorus content in the discharge index can be set by itself, such as 0.15, and the numerical threshold of the total phosphorus content in the compliance index can be set by itself, such as 0.3.
[0060] Optionally, before controlling the dosing amount of the dosing pump, historical dosing information can be collected first, and a dosing control curve can be generated based on the historical dosing information. The historical dosing information may include the dosing amount and the water quality parameters corresponding to the dosing amount. Among them, a historical dosing time period can be obtained, the historical dosing time period can be divided into n segments, the dosing information of each person in each segment can be obtained, x can represent any one of time, flow rate, and the total phosphorus content corresponding to the inlet of the magnetic coagulation module, and y can represent the dosing amount), and the dosing information corresponding to each segment can be obtained based on the weighted average (corresponding weights can be set for the dosing information of each person), and the corresponding dosing information can be determined as the historical dosing information.
[0061] Optionally, after obtaining the historical dosing information, a polynomial fitting method can be used to obtain the dosing control curve.
[0062] Optionally, the dosing reference curve and the dosing correction curve are calculated according to the water quality parameters and the preset indicators, including: determining the dosing reference values at different time points according to the inlet flow rate, the total phosphorus content corresponding to the inlet, and the discharge index, and generating a dosing reference curve corresponding to the dosing reference values; using the outlet flow rate, the total phosphorus content corresponding to the outlet, and the compliance index to determine the dosing correction values at different time points, and generating a dosing correction curve corresponding to the dosing correction values.
[0063] Optionally, the dosing reference value and the dosing correction value can be calculated according to the total phosphorus content data in the discharge index and the compliance index. Among them, the dosing reference curve can be used to represent the dosing reference values at different time points, and the dosing correction curve can be used to represent the dosing correction values at different time points.
[0064] Optionally, determining the dosing reference value according to the inlet flow rate, the total phosphorus content corresponding to the inlet, and the discharge index includes: determining the phosphorus removal amount according to the inlet flow rate and the total phosphorus content corresponding to the inlet; calculating the dosing reference value based on the phosphorus removal amount, the discharge index, and the reaction model information of the agent.
[0065] Optionally, the reaction model information may include the phosphorus removal reaction model information of the agent or the phosphorus removal amount per unit of the agent. The amount of the agent required to remove phosphorus in the sewage is calculated according to the phosphorus removal reaction model information or the phosphorus removal amount, and the amount of the agent is determined as the dosing reference value.
[0066] In one embodiment, after obtaining the inlet flow rate and the total phosphorus content corresponding to the inlet, the phosphorus content in the sewage within a specific time period (such as one second) can be calculated based on the inlet flow rate and the total phosphorus content corresponding to the inlet, and this phosphorus content is determined as the phosphorus removal amount. The chemical agent can be an aluminum salt, which chemically reacts with the phosphorus in the sewage, and the amount of the chemical agent required to remove the phosphorus in the sewage is calculated according to the reaction model of this chemical reaction, and this amount of the chemical agent is determined as the chemical agent dosing reference value.
[0067] Optionally, when calculating the chemical agent dosing correction value, obtain the outlet flow rate corresponding to the outlet of the magnetic coagulation module and the total phosphorus content corresponding to the outlet, calculate the phosphorus removal amount corresponding to the outlet according to the outlet flow rate and the total phosphorus content corresponding to the outlet, and calculate the chemical agent dosing correction value according to the phosphorus removal amount corresponding to the outlet, the discharge index, and the reaction model information of the chemical agent.
[0068] Optionally, obtain the inlet flow rate and the outlet flow rate corresponding to the magnetic coagulation module according to the hydraulic retention time to ensure that the outlet flow rate and the inlet flow rate are the flow rates of the same sewage at the inlet and the outlet of the magnetic coagulation module, so that the sewage corresponding to the inlet flow rate and the outlet flow rate is the same sewage.
[0069] S103: Control the chemical agent dosing amount of the chemical agent dosing pump according to the chemical agent dosing reference curve, the chemical agent dosing correction curve, and the water quality parameters.
[0070] Optionally, determining the chemical agent dosing amount of the chemical agent dosing pump according to the chemical agent dosing reference curve, the chemical agent dosing correction curve, and the water quality parameters includes: generating a correlation coefficient heat map between the indexes of the water quality parameters according to the AI algorithm (machine learning algorithm), performing correlation influence factor analysis using the correlation coefficient heat map, and obtaining the influence factors of the inlet and the outlet according to the analysis results and the water quality parameters; determining the response trend of the total chemical agent setting value corresponding to the chemical agent dosing pump according to the higher-order partial derivative of the influence factor of the inlet and the higher-order partial derivative corresponding to the chemical agent dosing reference curve, and determining the adjustment trend of the total chemical agent feedforward value corresponding to the chemical agent dosing pump based on the higher-order partial derivative of the influence factor of the outlet and the higher-order partial derivative corresponding to the chemical agent dosing correction curve; dynamically adjusting the control parameters of the chemical agent dosing pump according to the response trend of the total chemical agent setting value and the adjustment trend of the total chemical agent feedforward value, and the chemical agent dosing pump realizes the control of the chemical agent dosing amount based on the variable-speed cascade integral PIDE control algorithm. Among them, the higher-order partial derivative can be the second-order partial derivative or the third-order partial derivative.
[0071] Optionally, the AI algorithm can be a clustering algorithm and other algorithms that can be used to generate a heat map. The water quality parameter indexes of the inlet and the outlet and the historical water quality parameters can be obtained, and the correlation coefficient heat maps of the inlet and the outlet are respectively generated using the historical water quality parameters and the AI algorithm.
[0072] Optionally, impact factors of the water inlet and the water outlet are obtained based on water quality parameters, including: obtaining impact factors of the water inlet and the water outlet according to the analysis results and water quality parameters, including: generating a first water quality parameter matrix according to the water quality parameters of the water inlet, obtaining a first parameter impact factor matrix corresponding to the first water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the water inlet, and calculating the impact factor of the water inlet based on the first water quality parameter matrix, the first parameter impact factor matrix, and a first delay coefficient; generating a second water quality parameter matrix according to the water quality parameters of the water outlet, obtaining a second parameter impact factor matrix corresponding to the second water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the water outlet, and calculating the impact factor of the water outlet based on the second water quality parameter matrix, the second parameter impact factor matrix, and a second delay coefficient.
[0073] Optionally, impact factors corresponding to different water quality parameters can be preset. The analysis results can be the correlations between water quality parameters corresponding to water quality parameter indicators (such as total phosphorus content). Based on the correlations, the impact factors are adjusted (for example, the greater the correlation, the greater the impact factor). A parameter impact factor matrix is generated according to the adjusted impact factors. Among them, the first parameter impact factor matrix is obtained according to the analysis results corresponding to the water quality parameters of the water inlet, and the second parameter impact factor matrix is obtained through the analysis results corresponding to the water quality parameters of the water outlet.
[0074] In one embodiment, the impact factor of the water inlet is λ1, and the impact factor of the water outlet is λ2. Among them, λ1 = the first water quality parameter matrix * the first parameter impact factor matrix * the first delay coefficient. The first water quality parameter matrix can be expressed as [x1 x2... xn], and the first parameter impact factor matrix can be expressed as [k1 k2... kn]. The parameter impact factor corresponding to x1 is k1, and the parameter impact factor corresponding to xn is kn. Similarly, λ2 = the second water quality parameter matrix * the second parameter impact factor matrix * the second delay coefficient. According to the calculation formulas of λ1 and λ2, the higher-order partial derivative of λ1 (denoted as λ′1) and the higher-order partial derivative of λ2 (denoted as λ′2) can be calculated.
[0075] Optionally, the total chemical agent setpoint response trend can be calculated by SP = ref′ * λ′1, where SP is the total chemical agent setpoint response trend and ref′ is the second derivative of the chemical agent dosing reference curve. And the total chemical agent feedforward value adjustment trend is calculated by FF = crr′ * λ′2. FF is the total chemical agent feedforward value adjustment trend, and crr′ is the second derivative of the chemical agent dosing correction curve. According to these two calculation formulas, the total chemical agent setpoint response trend and the total chemical agent feedforward value adjustment trend at different time points are obtained respectively.
[0076] Optionally, the chemical dosing amount of the chemical dosing pump at different times can also be obtained according to the calculation formula corresponding to the dosing control curve. The reference value of chemical dosing and the correction value of chemical dosing at different times can also be obtained, and the sum of the reference value of chemical dosing and the correction value of chemical dosing is used as the chemical dosing amount of the chemical dosing pump at different times. Based on this chemical dosing amount, the PID control algorithm is used to control the chemical dosing pump to adjust the chemical dosing amount.
[0077] Optionally, the values of Kp, Ki, and Kd related to the PID control algorithm can be adjusted in a polyline manner. Among them, after obtaining the response trend of the total chemical agent set value, the response trend change curve of the total chemical agent set value of the magnetic coagulation module in a predetermined time period (the length can be 30 minutes, 10 minutes, and other times, and this time period can start or end at the current time point) is obtained according to the response trend of the total chemical agent set value. The derivatives of different time points of this change curve in the predetermined time period are obtained, and the adjustment amplitudes of Kp, Ki, and Kd are determined according to the derivatives, or it is detected whether the adjustment result meets the requirements. If there is a derivative greater than the predetermined threshold, it is determined that the adjustment result does not meet the requirements, and further adjustment or an increase in the adjustment amplitude is required. If there is no derivative greater than the predetermined threshold, it is determined that the adjustment result meets the requirements, and no further adjustment or a decrease in the adjustment amplitude is continued.
[0078] Optionally, when using the variable-speed cascade integral PIDE control algorithm for chemical dosing control, the implementation of chemical dosing control includes: extracting the sewage chemical dosing flow data in the manual control experience data, performing cluster analysis on the sewage chemical dosing flow data using the clustering algorithm of the AI platform to obtain the optimal K-value classification, and obtaining the parameters corresponding to the variable-speed cascade integral PIDE control algorithm based on the optimal K-value classification, the response trend of the total chemical agent set value, and the adjustment trend of the total chemical agent feedforward value. The parameters include the variable-speed gradient and the cascade step. Among them, the AI platform can be Doubao, Zhipu Qingyan, Kimi, and other platforms that can use the clustering algorithm to perform cluster analysis on the sewage chemical dosing flow data.
[0079] Optionally, the relationship curves representing different water quality parameters and the total chemical agent set value and the total chemical agent feedforward value can also be obtained according to the optimal K-value classification. The current total chemical agent set value and the total chemical agent feedforward value are obtained according to the matching result of the derivative of this relationship curve, the response trend of the total chemical agent set value, and the adjustment trend of the total chemical agent feedforward value. Based on the total chemical agent set value and the total chemical agent feedforward value, the parameters of the variable-speed cascade integral PIDE control algorithm are adjusted to obtain the parameters matching the sewage currently entering the magnetic coagulation module. Based on these parameters, the operation of the chemical dosing pump is controlled to achieve chemical dosing control.
[0080] Optionally, to effectively control the total phosphorus content at the water outlet in the event of abnormal conditions such as sudden changes in influent water quality, influent flow rate, production process, or sudden failures of key instruments, when the total phosphorus content at the water outlet reaches the warning value, the compensation control input adds the set flow rate to the feedback control of the chemical dosing pump. Since a single feedback control is prone to adjustment delays caused by a long residence time, the input of feedforward and compensation at this time further reduces the impact of shocks such as influent water quality and quantity. The composite control can achieve the stable control target. The chemical dosing control is achieved by adopting the method of proportional dosing of influent and effluent + speed limit and amplitude limit control (flow amplitude limit: each chemical dosing pump has a flow range; flow speed limit: the flow change speed of the chemical dosing pump does not exceed a predetermined value, improving anti-interference and avoiding large jumps in the chemical dosing pump due to sudden changes in operating conditions, enabling smooth transition control of the chemical dosing pump). And, for the limit of the chemical dosing pump
[0081] Optionally, when controlling the chemical dosing pump, it is also possible to detect the flow rate of the chemical to be dosed by the chemical dosing pump, detect whether the flow rate exceeds the predetermined flow rate, and if it does, limit the flow rate of the chemical dosing pump to the predetermined flow rate or give a warning reminder.
[0082] The comprehensive chemical dosing control method of the water purification system of the present application obtains water quality parameters and a hydraulic model, calculates the target water quality parameters and hydraulic residence time at the inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic model; calculates the chemical dosing reference curve and the chemical dosing correction curve according to the target water quality parameters and the preset indicators; controls the chemical dosing amount of the chemical dosing pump according to the chemical dosing reference curve, the chemical dosing correction curve, and the water quality parameters. The embodiments of the present application can automatically adjust the chemical dosing amount according to the actual water quality parameters, achieve an effective match between the chemical dosing amount and the phosphorus content in the sewage, reduce chemical consumption, reduce the labor cost and chemical cost required for sewage purification, and effectively meet the requirement of precise control of the chemical dosing amount.
[0083] In an alternative embodiment, an electronic device is provided, as Figure 2 shown, Figure 2 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. Among them, the processor 4001 and the memory 4003 are connected, such as connected through a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 can be used for data interaction between this electronic device and other electronic devices, such as sending and / or receiving data, etc. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of this electronic device 4000 does not constitute a limitation to the embodiments of the present application.
[0084] The processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in connection with the disclosure of this application. The processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0085] The bus 4002 may include a path for transmitting information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0086] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it may also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, which is not limited herein.
[0087] The memory 4003 is used to store the computer program for implementing the embodiments of this application and is controlled by the processor 4001 to execute. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.
[0088] Among them, the electronic device can be any kind of electronic product that can perform human-computer interaction with an object. For example, a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an Internet Protocol Television (IPTV), a smart wearable device, etc.
[0089] The electronic device may further include a network device and / or an object device. Among them, the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing.
[0090] The network where the electronic device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0091] The embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiment can be implemented.
[0092] The embodiment of the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiment can be implemented.
[0093] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification, claims and above-mentioned drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than the illustrated or textually described order.
[0094] It should be understood that although the flowcharts of the embodiments of the present application indicate various operation steps by arrows, the execution order of these steps is not limited to the order indicated by the arrows. Unless otherwise clearly stated herein, in some implementation scenarios of the embodiments of the present application, the implementation steps in each flowchart may be executed in other orders according to requirements. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage among these sub-steps or stages may also be executed at different times respectively. In scenarios where the execution times are different, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and the embodiments of the present application do not limit this.
[0095] The above are only optional implementation manners of some implementation scenarios of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the technical concept of the solution of the present application, adopting other similar implementation means based on the technical idea of the present application also belongs to the protection scope of the embodiments of the present application.
Claims
1. A comprehensive control method for the chemical dosage of a water purification system, characterized in that, The water purification system includes a magnetic coagulation module provided with a chemical dosing pump. The method includes: Obtain the water quality parameters and hydraulic model corresponding to the sewage, and predict the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic model. The water quality parameters include turbidity, chemical oxygen demand, total phosphorus content, total nitrogen, ammonia nitrogen, temperature, and flow rate corresponding to the inlet and outlet of the water purification system. Generate a chemical dosing reference curve and a chemical dosing correction curve according to the target water quality parameters and preset indicators. The preset indicators include discharge indicators and compliance indicators. Control the chemical dosing amount of the chemical dosing pump according to the chemical dosing reference curve, the chemical dosing correction curve, and the water quality parameters.
2. The comprehensive control method for the chemical dosage of the water purification system according to claim 1, wherein Obtain the hydraulic model, including: Obtain the pipeline information of the water purification system, and determine the volume ratio of the pipeline corresponding to the water purification system according to the pipeline information. Calculate the hydraulic model based on the volume ratio and the pipeline information.
3. The comprehensive dosing control method for the water purification system according to claim 1, characterized in that, The predicting the target water quality parameters and hydraulic retention time corresponding to the inlet and outlet of the magnetic coagulation module according to the water quality parameters and the hydraulic retention model includes: Determine the first hydraulic retention time corresponding to the inlet of the magnetic coagulation module and the second hydraulic retention time corresponding to the outlet of the magnetic coagulation module according to the hydraulic model. Determine the inlet virtual flowmeter corresponding to the inlet of the magnetic coagulation module according to the flow rate corresponding to the inlet of the water purification system and the first hydraulic retention time, and determine the outlet virtual flowmeter corresponding to the outlet of the magnetic coagulation module according to the flow rate corresponding to the outlet of the water purification system and the second hydraulic retention time. Determine the target water quality parameters based on the inlet virtual flowmeter and the outlet virtual flowmeter.
4. The method for comprehensively controlling the chemical dosage of the water purification system according to claim 3, characterized in that, The calculating the chemical dosing reference curve and the chemical dosing correction curve according to the water quality parameters and the preset indicators includes: Determine the chemical dosing reference values at different time points according to the inlet virtual flowmeter, the total phosphorus content corresponding to the inlet, and the discharge indicator, and generate a chemical dosing reference curve corresponding to the chemical dosing reference values. Use the outlet virtual flowmeter, the total phosphorus content corresponding to the outlet, and the compliance indicator to determine the chemical dosing correction values at different time points, and generate a chemical dosing correction curve corresponding to the chemical dosing correction values.
5. The comprehensive control method for the chemical dosing amount of the water purification system according to claim 4, characterized in that, The determining the chemical dosing reference values at different time points according to the inlet virtual flowmeter, the total phosphorus content corresponding to the inlet, and the discharge indicator includes: Determine the phosphorus removal amount at different time points according to the inlet virtual flowmeter at different time points and the total phosphorus content corresponding to the inlet flow rate. Calculate the chemical dosing reference value based on the phosphorus removal amount, the discharge indicator, and the reaction model information of the chemical agent.
6. The comprehensive control method for the chemical dosage of the water purification system according to claim 1, characterized in that The determining the chemical dosing amount of the chemical dosing pump according to the chemical dosing reference curve, the chemical dosing correction curve, and the water quality parameters includes: Generate a correlation coefficient heat map among the indicators of the water quality parameters according to the AI algorithm, perform a correlation influence factor analysis using the correlation coefficient heat map, and obtain the influence factors of the inlet and outlet according to the analysis results and the water quality parameters. Determine the response trend of the total chemical agent set value corresponding to the chemical dosing pump according to the higher-order partial derivatives of the influencing factors of the water inlet and the higher-order partial derivatives corresponding to the chemical dosing reference curve, and determine the adjustment trend of the total chemical agent feedforward value corresponding to the chemical dosing pump based on the higher-order partial derivatives of the influencing factors of the water outlet and the higher-order partial derivatives corresponding to the chemical dosing correction curve; Dynamically adjust the control parameters of the chemical dosing pump according to the response trend of the total chemical agent set value and the adjustment trend of the total chemical agent feedforward value. The chemical dosing pump realizes the control of the chemical dosing amount based on the variable-speed cascade integral PIDE control algorithm.
7. The dosing amount comprehensive control method of the water purification system according to claim 6, characterized in that, The obtaining of the influencing factors of the water inlet and the water outlet according to the analysis results and the water quality parameters includes: Generate a first water quality parameter matrix according to the water quality parameters of the water inlet, obtain a first parameter influence factor matrix corresponding to the first water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the water inlet, and calculate the influencing factors of the water inlet based on the first water quality parameter matrix, the first parameter influence factor matrix, and the first delay coefficient; Generate a second water quality parameter matrix according to the water quality parameters of the water outlet, obtain a second parameter influence factor matrix corresponding to the second water quality parameter matrix according to the analysis results corresponding to the water quality parameters of the water outlet, and calculate the influencing factors of the water outlet based on the second water quality parameter matrix, the second parameter influence factor matrix, and the second delay coefficient.
8. The dosing amount comprehensive control method of the water purification system according to claim 6, characterized in that, The realization of the chemical dosing amount control includes: Extract the sewage chemical dosing flow data in the manual control experience data, perform clustering analysis on the sewage chemical dosing flow data by using the clustering algorithm of the AI platform to obtain the optimal K-value classification, and obtain the parameters corresponding to the variable-speed cascade integral PIDE control algorithm based on the optimal K-value classification, the response trend of the total chemical agent set value, and the adjustment trend of the total chemical agent feedforward value. The parameters include the variable-speed gradient and the cascade step.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-8.
11. A computer program product, the computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-8.
Citation Information
Patent Citations
Short-distance intelligent phosphorus removal and dosing control method, equipment and system for sewage treatment
CN114230110A
Intelligent dosing method and system for sewage treatment based on artificial intelligence
CN116956155A
Intelligent coagulant adding system
CN214570954U
Optimized control system for dispensing flocculant for water treatment facility
KR101253481B1
Method of online control of a slag forming gasification process and plant for a gasification process
US20200325408A1
Cited By
Mine water efficient purification calculation method, system, device and medium
CN120524405A