Automatic flocculant dosing control method and system
By acquiring turbidity and flow data in real time in the water treatment system, and combining this with water quality testing indicators to calculate and correct the flocculant dosage, the problem of inaccurate flocculant dosage in traditional methods is solved, thus achieving precise flocculant dosage and water quality control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NINGBO SIMING CHEM IND CO
- Filing Date
- 2024-06-24
- Publication Date
- 2026-06-12
AI Technical Summary
Traditional flocculant dosing methods rely on manual experience and cannot be precisely adjusted in real time according to changes in water quality, resulting in insufficient or excessive flocculant dosage, which affects the water treatment effect.
The initial dosage is calculated by acquiring inlet turbidity and flow rate data, and then adjusted in real time by combining water quality testing indicators and sensor data to dynamically adjust the flocculant dosage.
It enables precise control of flocculant dosage, ensuring that all indicators in the water treatment process meet the expected standards, and improving flocculation effect and economy.
Smart Images

Figure CN118702243B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water treatment technology, specifically to an automatic dosing control method and system for flocculants. Background Technology
[0002] Water treatment technology plays a vital role in modern drinking water and industrial water treatment. The addition of flocculants is a crucial step in the water treatment process. Flocculants promote the aggregation of suspended solids and colloidal particles in water to form flocs, thereby improving the clarity and purity of the water. However, the accuracy of flocculant dosage directly affects the water treatment effect. Traditional flocculant dosing methods typically rely on operator experience and manual adjustments, making it impossible to precisely adjust the flocculant dosage in real time according to changes in water quality, resulting in insufficient or excessive flocculant dosage.
[0003] Therefore, how to accurately adjust the dosage of flocculant has become a technical problem that urgently needs to be solved. Summary of the Invention
[0004] This application provides an automatic flocculant dosing control method and system, which can precisely adjust the flocculant dosage.
[0005] In a first aspect, this application provides an automatic flocculant dosing control method, the method comprising: acquiring the turbidity of a first water sample collected by a turbidity meter installed at the inlet, and acquiring the flow rate of a water sample collected by a flow meter; obtaining an initial dosage of flocculant based on the turbidity of the first water sample and the flow rate of the water sample; determining an initial opening and closing angle of a flocculant dosing regulating valve based on the initial dosage; delivering the initial dosage of flocculant to a mixer via a delivery pump based on the initial opening and closing angle; determining multiple water quality detection indicators; acquiring current water quality detection data corresponding to each of the water quality detection indicators collected by various sensors installed at the outlet, and acquiring the turbidity of a second water sample collected by a turbidity meter installed at the outlet; and correcting the initial dosage based on the multiple current water quality detection data and the turbidity of the second water sample to obtain a corrected dosage of flocculant.
[0006] By adopting the above technical solution, the turbidity of the first water sample collected by the turbidity meter installed at the inlet and the flow rate of the water sample collected by the flow meter are obtained, thus accurately grasping the turbidity and flow rate of the raw water, providing reliable data support for the subsequent calculation of flocculant dosage. Based on the turbidity and flow rate of the first water sample, the initial dosage of flocculant is obtained, ensuring that the initial dosage meets the basic requirements of water treatment and improving the flocculation effect. Based on the initial dosage, the initial opening angle of the flocculant addition regulating valve is determined, ensuring that the valve opening angle matches the initial dosage and guaranteeing accurate flocculant addition. By determining multiple water quality detection indicators, the water quality is comprehensively monitored, ensuring that all indicators in the water treatment process meet the expected standards. By acquiring the current water quality detection data corresponding to each water quality detection indicator collected by various sensors installed at the outlet and acquiring the turbidity of the second water sample collected by the turbidity meter installed at the outlet, the parameters of the treated water quality are monitored in real time, allowing for the evaluation of the actual effect of the flocculant. By correcting the initial dosage based on multiple current water quality test data and the turbidity of a second water sample, the corrected dosage of flocculant is obtained. This allows for dynamic adjustment of the flocculant dosage according to the actual water quality, thus enabling precise adjustment of the flocculant dosage.
[0007] Optionally, obtaining the initial dosage of flocculant based on the turbidity of the first water sample and the flow rate of the water sample specifically includes: calculating the initial dosage using the following formula: ;in, The initial dosage, This represents the flocculant dosage coefficient. Let Q be the turbidity of the first water sample and Q be the flow rate of the water sample.
[0008] Optionally, determining the initial opening angle of the flocculant addition regulating valve based on the initial dosage specifically includes: determining the rated delivery capacity of the delivery pump and the maximum opening angle of the flocculant addition regulating valve; and calculating the initial opening angle based on the rated delivery capacity, the initial dosage, and the maximum opening angle using the following formula: ;in, The initial opening and closing angle is... The initial dosage, The rated conveying capacity, The maximum opening / closing angle is denoted as .
[0009] By adopting the above technical solution, and by determining the rated conveying capacity of the delivery pump and the maximum opening angle of the flocculant addition regulating valve, basic parameters are provided for the subsequent calculation of the initial opening angle, ensuring the accuracy and rationality of the calculation results. The initial opening angle is calculated using the following formula: This ensures that the initial opening and closing angle is adapted to the rated conveying capacity of the pump and the initial dosage of the flocculant, thus ensuring that the flocculant can be accurately added to the mixer.
[0010] Optionally, the step of correcting the initial dosage based on multiple current water quality test data and the turbidity of the second water sample to obtain a corrected dosage of flocculant specifically includes: determining the target water quality value and water quality correction coefficient corresponding to each of the water quality test indicators; acquiring historical water quality test data corresponding to each of the water quality test indicators within a preset time period; calculating the water quality correction amount corresponding to each of the water quality test indicators based on each of the historical water quality test data, each of the current water quality test data, each of the target water quality test values, and each of the water quality correction coefficients; determining the ideal turbidity value and turbidity correction coefficient of the water sample; calculating the turbidity correction amount based on the turbidity of the second water sample, the ideal turbidity value of the water sample, and the turbidity correction coefficient; and adding the water quality correction amount, the turbidity correction amount, and the initial dosage to obtain the corrected dosage.
[0011] By adopting the above technical solutions, and by determining the target values and correction coefficients for each water quality indicator, clear reference standards and adjustment bases are provided for water quality correction, ensuring the accuracy of the correction process. Historical water quality data for each indicator within a preset time period is acquired, allowing for trend analysis and comparison to enhance the accuracy and reliability of current data. Determining the ideal turbidity value and turbidity correction coefficient provides clear reference standards and adjustment bases for turbidity correction, ensuring its accuracy. Finally, by adding the various water quality corrections, turbidity corrections, and initial dosage, the corrected dosage is obtained, comprehensively considering multiple corrections to ensure more precise flocculant dosage.
[0012] Optionally, the step of calculating the water quality correction amount corresponding to each water quality testing index based on each of the historical water quality testing data, each of the current water quality testing data, each of the target water quality testing values, and each of the water quality correction coefficients specifically includes: calculating the standard deviation corresponding to each of the water quality testing indicators based on each of the historical water quality testing data; and calculating the water quality correction amount corresponding to each of the water quality testing indicators based on each of the standard deviations, each of the current water quality testing data, each of the target water quality testing values, and each of the water quality correction coefficients.
[0013] The water quality correction amounts are calculated using the following formula:
[0014] ;
[0015] in, For the i-th water quality correction amount, Let i be the i-th water quality correction factor. For the i-th water quality detection target value, For the i-th current water quality test data, Let be the standard deviation of the i-th standard deviation.
[0016] Optionally, the step of calculating the standard deviation corresponding to each of the historical water quality testing data specifically includes: calculating each of the standard deviations using the following formula:
[0017] ;
[0018] Where N is the number of historical water quality test data. For the i-th water quality indicator, the k-th historical water quality test data is... The average value of historical water quality test data corresponding to the i-th water quality indicator is... Let be the standard deviation of the i-th standard deviation.
[0019] Optionally, the step of calculating the turbidity correction amount based on the turbidity of the second water sample, the ideal turbidity value of the water sample, and the turbidity correction coefficient specifically includes: calculating the turbidity correction amount using the following formula: ;in, This refers to the water quality correction amount. This is the turbidity correction factor. This represents the ideal turbidity value for the water sample. The turbidity of the second water sample is denoted as .
[0020] A second aspect of this application provides an automatic flocculant dosing control system, the system comprising an acquisition module and a processing module; the acquisition module is used to acquire the turbidity of a first water sample collected by a turbidity meter installed at the inlet, and to acquire the flow rate of a water sample collected by a flow meter; the processing module is used to obtain an initial dosage of flocculant based on the turbidity of the first water sample and the flow rate of the water sample; the processing module is also used to determine an initial opening angle of a flocculant addition regulating valve based on the initial dosage; the processing module is also used to deliver the initial dosage of flocculant to a mixer via a delivery pump based on the initial opening angle; the processing module is also used to determine multiple water quality detection indicators; the acquisition module is also used to acquire current water quality detection data corresponding to each of the water quality detection indicators collected by various sensors installed at the outlet, and to acquire the turbidity of a second water sample collected by a turbidity meter installed at the outlet; the processing module is also used to correct the initial dosage based on the multiple current water quality detection data and the turbidity of the second water sample, to obtain a corrected dosage of flocculant.
[0021] A third aspect of this application provides an electronic device including a processor, a memory, a user interface, and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any one of the first aspects of this application.
[0022] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as described in any of the first aspects of this application.
[0023] In summary, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0024] By acquiring the turbidity of the first water sample from a turbidity meter installed at the inlet and the flow rate of the water sample from a flow meter, the turbidity and flow rate of the raw water can be accurately determined, providing reliable data support for subsequent flocculant dosage calculations. Based on the turbidity and flow rate of the first water sample, the initial flocculant dosage is determined, ensuring that the initial dosage meets the basic requirements of water treatment and improves the flocculation effect. Based on the initial dosage, the initial opening angle of the flocculant addition regulating valve is determined, ensuring that the valve's opening angle matches the initial dosage and guaranteeing accurate flocculant addition. By determining multiple water quality monitoring indicators, the water quality is comprehensively monitored, ensuring that all indicators in the water treatment process meet the expected standards. By acquiring the current water quality monitoring data corresponding to each water quality indicator collected by various sensors installed at the outlet and acquiring the turbidity of the second water sample from the turbidity meter installed at the outlet, the parameters of the treated water quality can be monitored in real time, allowing for the evaluation of the actual effect of the flocculant. By correcting the initial dosage based on multiple current water quality test data and the turbidity of a second water sample, the corrected dosage of flocculant is obtained. This allows for dynamic adjustment of the flocculant dosage according to the actual water quality, thus enabling precise adjustment of the flocculant dosage. Attached Figure Description
[0025] Figure 1 This is one of the flowcharts illustrating an automatic flocculant dosing control method provided in the embodiments of this application;
[0026] Figure 2 This is a second schematic flowchart of an automatic flocculant dosing control method provided in the embodiments of this application;
[0027] Figure 3 This is a schematic diagram of the structure of an automatic flocculant dosing control system provided in an embodiment of this application;
[0028] Figure 4This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.
[0029] Explanation of reference numerals in the attached drawings: 1. Acquisition module; 2. Processing module; 400. Electronic device; 401. Processor; 402. Communication bus; 403. User interface; 404. Network interface; 405. Memory. Detailed Implementation
[0030] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0031] In the description of the embodiments in this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a concrete manner.
[0032] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0033] This application provides an automatic dosing control method for flocculants, referring to... Figure 1 This illustration shows one of the flowcharts of an automatic flocculant dosing control method provided in this application. The method includes steps S1-S7, as follows:
[0034] Step S1: Obtain the turbidity of the first water sample collected by the turbidity meter installed at the inlet, and obtain the flow rate of the water sample collected by the flow meter.
[0035] Specifically, ensuring the accurate dosing of flocculants is a crucial step in the water treatment process. To achieve this, step S1 mainly involves acquiring the turbidity of the first water sample from a turbidity meter installed at the inlet and acquiring the flow rate of the water sample from a flow meter. The purpose of this step is to provide the basic data for calculating the flocculant dosage, thereby achieving effective control of water quality.
[0036] In practical implementation, the first step is to install suitable turbidity meters and flow meters at the inlet. The turbidity meter measures the turbidity of the water sample in real time, which is the concentration of suspended particulate matter in the water; this is one of the key parameters affecting the amount of flocculant required. The flow meter measures the inlet flow rate, which directly affects the total amount of flocculant required. Therefore, accurately obtaining these two parameters is crucial.
[0037] In practice, the turbidity meter and flow meter transmit measurement data to the central control system via sensors. Specifically, as water flows through the inlet, the turbidity meter monitors the turbidity of the water sample in real time and records this value. Simultaneously, the flow meter measures the flow rate of the water sample and transmits the flow rate data synchronously to the central control system. In this way, the system can obtain the turbidity and flow rate of the first water sample in real time.
[0038] Throughout the water treatment process, the real-time acquisition and transmission of turbidity and flow rate data not only improves the accuracy and timeliness of the data but also lays the foundation for automated system control. This approach effectively reduces human intervention, enhances system stability and efficiency, and ensures that water treatment meets expected standards.
[0039] Step S2: Based on the turbidity and flow rate of the first water sample, obtain the initial dosage of flocculant.
[0040] Specifically, in the water treatment process, accurately calculating the initial dosage of flocculant is a crucial step in ensuring the effectiveness of water treatment. Step S2 aims to calculate the initial dosage of flocculant based on the turbidity and flow rate of the first water sample. This provides a scientific basis for the system's dosing control.
[0041] The turbidity of the first water sample obtained The water sample flow rate Q is the basis for calculating the initial dosage. The turbidity of the first water sample... The concentration of suspended particulate matter in the water is reflected by the flow rate Q, while the flow rate Q determines the volume of water that needs to be treated. To ensure accurate flocculant dosing, these two parameters must be calculated together.
[0042] In one possible implementation, step S2 specifically includes the following steps:
[0043] The initial dosage is calculated using the following formula: ;
[0044] in, This is the initial dosage. This represents the flocculant dosage coefficient. Let Q be the turbidity of the first water sample and Q be the water sample flow rate.
[0045] The flocculant dosage coefficient C in the calculation formula f This is an important parameter, typically determined through laboratory experiments and analysis of historical data. The flocculant dosage coefficient represents the amount of flocculant required per unit turbidity under specific water quality conditions. When determining the flocculant dosage coefficient experimentally, the effectiveness of the flocculant under different turbidity and water quality conditions must be considered to ensure its reliability in practical applications.
[0046] Secondly, the 10 in the calculation formula -3 It is the coefficient for converting mg / L to kg / m³.
[0047] For example, the turbidity T of the first water sample in =50 NTU, water sample flow rate Q=500 m³ / h, dosing coefficient C determined experimentally. f =2mg / L / NTU, then the calculated initial total amount of flocculant added is: 2×50×500×10-3=50kg / h.
[0048] The purpose of this calculation is to ensure that the dosage matches the actual water quality conditions to achieve the best flocculation effect. Adding too much or too little flocculant will affect the water treatment effect; the former leads to waste, while the latter may fail to achieve the desired treatment effect. Therefore, by accurately calculating the initial dosage, the use of flocculant can be ensured to be both economical and effective. In this way, the system can automatically adjust the flocculant dosage based on real-time water quality conditions to ensure treatment effectiveness. Specifically, when the turbidity of the first water sample is high, the system will calculate a larger initial dosage to effectively remove suspended particulate matter; conversely, when the turbidity is low, the system will reduce the dosage accordingly, saving flocculant usage.
[0049] Step S3: Based on the initial dosage, determine the initial opening and closing angle of the flocculant addition regulating valve.
[0050] Specifically, in the water treatment process, determining the initial opening angle of the flocculant dosing control valve based on the initial dosage is a crucial step to ensure accurate flocculant dosing. Step S3 aims to convert the calculated initial dosage into specific control valve operating parameters, thereby achieving precise flocculant dosing control.
[0051] In one possible implementation, step S3 specifically includes the following steps:
[0052] Determine the rated delivery capacity of the delivery pump and the maximum opening angle of the flocculant addition regulating valve.
[0053] First, determine the rated delivery capacity of the delivery pump. This is necessary because it represents the maximum amount of flocculant the pump can deliver per hour under normal operating conditions. Understanding this parameter ensures that the calculated valve opening angle accurately reflects the actual delivery capacity. The rated delivery capacity of a pump can usually be obtained by consulting the equipment's technical specifications manual or through actual testing. In practice, it can be determined using the following two methods: 1. Consult the pump's technical manual to obtain the rated delivery capacity data. 2. Conduct actual testing: operate the pump under normal operating conditions, measure the amount of flocculant delivered per unit time, and take the average of multiple measurements as the rated delivery capacity.
[0054] Next, determine the maximum opening and closing angle of the regulating valve. The maximum opening / closing angle of a control valve refers to the angle at which the valve is fully open, typically 90 degrees. Understanding this parameter ensures that the calculated opening / closing angle accurately reflects the valve's actual operating state. In practice, it can be determined using two methods: 1. Consult the control valve's technical manual to obtain the maximum opening / closing angle data. 2. Inspect the control valve's physical structure to confirm its fully open angle.
[0055] Based on the rated conveying capacity, initial feed rate, and maximum opening / closing angle, the initial opening / closing angle is calculated using the following formula: ;in, This is the initial opening and closing angle. This is the initial dosage. For rated conveying capacity, This represents the maximum opening angle.
[0056] Specifically, for example, assuming the initial dosage The rated conveying capacity of the pump is 50 kg / h. The maximum opening / closing angle of the regulating valve is 100 kg / h. It is 90 degrees. Calculated using the formula: .
[0057] In practice, the central control system sends the calculated initial opening and closing angle to the controller of the regulating valve. The controller then adjusts the valve's opening and closing state according to the received angle command, achieving the desired angle. Through this automated control, the system can adjust the flocculant dosage in real time, ensuring precise and efficient dosing.
[0058] Step S4: Based on the initial opening and closing angle, the initial amount of flocculant is delivered to the mixer via a delivery pump.
[0059] In practice, the central control system sends the calculated initial opening angle to the controller of the regulating valve. Upon receiving the instruction, the controller automatically adjusts the valve's opening state to achieve the set initial opening angle. At this point, the valve's opening angle determines the flocculant flow rate, ensuring delivery according to the calculated initial dosage.
[0060] Once the regulating valve reaches the set opening angle, the delivery pump begins operation. The delivery pump draws flocculant from the storage tank and delivers a precisely metered amount of flocculant to the mixer via the regulating valve. The mixer is a crucial component, ensuring thorough mixing of the flocculant with the water sample for optimal flocculation. In the mixer, the water sample and flocculant come into full contact under turbulent conditions, allowing the flocculant to effectively capture and aggregate suspended particles in the water, forming larger flocs that facilitate subsequent sedimentation and filtration.
[0061] Step S5: Determine multiple water quality testing indicators.
[0062] Specifically, in the water treatment process, identifying multiple water quality monitoring indicators is a crucial step to ensure the system can comprehensively monitor and optimize water treatment effects. Step S5 aims to identify and set the water quality indicators to be monitored, providing a basis for subsequent data collection and dosage adjustments. These water quality monitoring indicators not only include conventional turbidity but should also cover other important water quality parameters such as pH, conductivity, and dissolved oxygen.
[0063] While turbidity, a single indicator, reflects the concentration of suspended particulate matter in water, it doesn't provide a comprehensive picture of water quality. Other water quality indicators, such as pH, can affect the effectiveness of flocculants; conductivity reflects the concentration of ions in the water; and dissolved oxygen is a crucial parameter for water health. Therefore, identifying multiple water quality indicators helps the system gain a comprehensive understanding of the water's condition, thereby optimizing flocculant dosage and improving water treatment efficiency.
[0064] Therefore, in the specific implementation process, it is first necessary to conduct a comprehensive analysis of the treatment process to determine which water quality parameters are key indicators. That is, based on the specific water treatment process, analyze which water quality parameters affect the flocculant dosage and water treatment efficiency. For example, some flocculants are most effective within a specific pH range, thus pH value becomes an important monitoring indicator.
[0065] Step S6: Obtain the current water quality detection data corresponding to each water quality detection index collected by each sensor installed at the water outlet, and obtain the turbidity of the second water sample collected by the turbidity meter installed at the water outlet.
[0066] Specifically, the water treatment system needs to continuously monitor the quality of the effluent to determine whether the current treatment effect meets the expected standards. If the effluent quality deviates from the target value, the system can adjust based on real-time data, correcting the flocculant dosage to ensure that the effluent quality remains within the ideal range.
[0067] The specific operation involves installing the necessary water quality sensors at the water outlet, including pH sensors, conductivity sensors, and dissolved oxygen sensors, along with a turbidity meter. These sensors and the turbidity meter need to be scientifically arranged to ensure accurate reflection of the water quality. After installation, each sensor and turbidity meter is calibrated to ensure accurate output of water quality data. The calibration process typically includes zero-point calibration and range calibration to ensure the sensor's accuracy throughout its measurement range. Next, the sensors and turbidity meter are activated to begin real-time acquisition of water quality data at the outlet. This data includes the current values of various water quality indicators (such as current pH, conductivity, and dissolved oxygen concentration) and the turbidity of a second water sample. The acquired real-time water quality data is then transmitted to the central control system via a data transmission system. Data transmission can be performed via wired or wireless methods to ensure real-time performance and reliability.
[0068] Step S7: Based on multiple current water quality test data and the turbidity of the second water sample, the initial dosage is corrected to obtain the corrected dosage of flocculant.
[0069] Specifically, in the water treatment process, adjusting the initial dosage based on multiple current water quality test data and the turbidity of a second water sample to obtain the corrected flocculant dosage is a crucial step in ensuring treatment effectiveness and cost-effectiveness. Step S7 aims to optimize the flocculant dosage through real-time monitoring and feedback adjustments, thereby achieving the best possible water treatment results.
[0070] In one possible implementation, refer to Figure 2 This illustrates a second schematic flowchart of an automatic flocculant dosing control method provided in this application embodiment. Step S7 specifically includes steps S71-S76:
[0071] Step S71: Determine the target values and correction coefficients for each water quality indicator.
[0072] Specifically, the target value for water quality testing This represents the ideal water quality state, reflecting the desired effect of the treatment process. Water quality correction factor. This is an adjustment parameter used to measure the sensitivity of various water quality indicators to the flocculant dosage. These parameters are determined through experiments and historical data to ensure that they can effectively guide the adjustment of the dosage in actual operation.
[0073] In the specific implementation process, firstly, based on the design goals of the water treatment system and the effluent quality requirements, the ideal state of each water quality testing indicator is determined. For example, the pH value of the effluent should be between 7.0 and 8.5, the conductivity should be below 500 µS / cm, and the dissolved oxygen should be above 6 mg / L. These ideal states are the target values for water quality testing. .
[0074] Furthermore, laboratory experiments were conducted to study the effects of different water quality indicators on flocculant dosage. During the experiments, the water quality indicators were gradually adjusted, and the corresponding flocculant dosage and treatment effects were recorded. Through comparative analysis, correction coefficients for each water quality indicator were determined. For example, for every unit the pH value deviates from the target value, the flocculant dosage needs to be increased or decreased by 10%.
[0075] Step S72: Obtain historical water quality test data corresponding to each water quality test indicator within a preset time period.
[0076] Specifically, historical data can reflect the changes in water quality over different time periods. By analyzing this data, the standard deviation of each water quality indicator can be calculated. To measure fluctuations in water quality.
[0077] It should be noted that the time period for collecting historical data needs to be determined based on the system's operation and statistical requirements, i.e., the preset time period.
[0078] Step S73: Based on each historical water quality test data, each current water quality test data, each water quality test target value, and each water quality correction coefficient, calculate the water quality correction amount corresponding to each water quality test index.
[0079] Specifically, due to dynamic changes in water quality and various influencing factors, the actual treatment effect may differ from expectations. By calculating the water quality correction amount, the flocculant dosage can be dynamically adjusted based on real-time monitored water quality data.
[0080] In one possible implementation, step S73 specifically includes the following steps:
[0081] Based on historical water quality testing data, the standard deviation of each water quality testing indicator is calculated.
[0082] Specifically, standard deviation is an important parameter for measuring the fluctuation of water quality indicators, reflecting the range of change of a certain indicator in historical data. By calculating the standard deviation, water quality fluctuations can be taken into account, thereby avoiding over-adjustment or under-adjustment during real-time correction and ensuring the rationality and effectiveness of flocculant dosage.
[0083] In one possible implementation, the standard deviations are calculated using the following formula:
[0084] ;
[0085] Where N is the number of historical water quality test data, For the i-th water quality indicator, the k-th historical water quality test data is... Let be the average of historical water quality test data corresponding to the i-th water quality indicator. Let be the i-th standard deviation.
[0086] Specifically, this formula allows for the accurate calculation of the standard deviation of each water quality indicator, ensuring the scientific validity and accuracy of subsequent correction calculations. For example, a large standard deviation for a particular water quality indicator indicates significant fluctuations in historical data. During real-time correction, this volatility is considered, and the correction level is adjusted appropriately to avoid instability caused by frequent adjustments.
[0087] Based on the standard deviations, current water quality data, target water quality values, and correction coefficients, the water quality correction amount for each water quality indicator is calculated. The correction amount is obtained using the following formula:
[0088] ;
[0089] in, For the i-th water quality correction, Let i be the water quality correction factor. For the i-th water quality target value, For the i-th current water quality test data, Let be the i-th standard deviation.
[0090] Specifically, water quality correction factor This reflects the sensitivity of each water quality indicator to the flocculant dosage. Different water quality indicators have different effects on flocculation efficiency, determined through experiments and historical data. This ensures the appropriateness of the correction amount. For example, pH value has a significant impact on flocculation efficiency, therefore... It's quite likely.
[0091] Through standard deviation Standardizing the deviations of water quality indicators allows for calculation using the same formula for indicators with different dimensions and fluctuation ranges. (Standard deviation) This reflects the volatility of water quality indicators. Dividing the deviation by the standard deviation can avoid calculation errors caused by excessive differences in the dimensions and fluctuation ranges of different indicators.
[0092] This reflects the degree to which current water quality indicators deviate from target values. The greater the deviation, the greater the correction amount, to ensure rapid adjustment of flocculant dosage and restoration of water quality balance.
[0093] The above formulas accurately calculate the correction amounts for each water quality indicator, ensuring that the flocculant dosage can be dynamically adjusted to adapt to real-time water quality changes. For example, when a water quality indicator deviates significantly from the target value, the system uses a water quality correction coefficient. and standard deviation Calculate the larger correction amount, quickly adjust the flocculant dosage, and restore water quality balance.
[0094] Step S74: Determine the ideal turbidity value and turbidity correction factor for the water sample.
[0095] Specifically, determining the ideal value of water sample turbidity This is to set the target turbidity value to be achieved during the treatment process. This value reflects the ideal treatment effect of the system. Usually, this value is determined through experiments and analysis of historical data. For example, through laboratory experiments, it is determined that under optimal treatment conditions, the effluent turbidity should be below a certain value (such as 5 NTU) to ensure the clarity and safety of the water.
[0096] Turbidity correction factor This correction factor is used to correct the parameter used in the calculation to measure the impact of turbidity deviation on flocculant dosage. Through a series of experiments, this correction factor can be determined. During the experiments, the influent turbidity is gradually adjusted, and the required flocculant dosage and effluent effect are recorded at different turbidity levels. By analyzing the experimental data, the required correction amount when the effluent turbidity deviates from the ideal value is determined. Correction Factor This reflects the sensitivity of turbidity changes to the amount of flocculant added. For example, experimental results may indicate that for every 1 NTU increase in turbidity, the amount of flocculant added needs to be increased by a certain proportion.
[0097] Comparing the experimentally determined ideal turbidity value and correction coefficient with historical operating data ensures the effectiveness of these parameters in practical operation. Analyzing turbidity changes and corresponding flocculant dosages in historical data verifies the accuracy and applicability of the experimental results. If the historical data matches the experimental results, it indicates that the determined parameters have practical guiding significance.
[0098] Through the above steps, the system can accurately determine the ideal value of turbidity in a water sample. Turbidity correction factor The effect of this process is to ensure that the system can effectively correct turbidity deviations based on set ideal values and correction coefficients during real-time monitoring and adjustment. For example, when real-time monitoring data indicates effluent turbidity... When the value is too high, the system will adjust the value according to the correction factor. Calculate the amount of flocculant that needs to be added to quickly restore the water quality balance.
[0099] Step S75: Calculate the turbidity correction amount based on the turbidity of the second water sample, the ideal value of the water sample turbidity, and the turbidity correction coefficient.
[0100] Specifically, the reason for determining the turbidity correction amount is that turbidity is an important indicator of water quality, reflecting the concentration of suspended particulate matter in the water. In actual water treatment processes, the effluent turbidity... It may deviate from the ideal value of water sample turbidity. To restore ideal water quality, the dosage of flocculant needs to be adjusted. Turbidity correction coefficient. This is used to quantify the impact of turbidity deviation on flocculant dosage. By calculating the turbidity correction, the flocculant dosage can be dynamically adjusted based on real-time water quality data.
[0101] In one possible implementation, step S75 specifically includes the following steps:
[0102] The turbidity correction amount is calculated using the following formula:
[0103] ;
[0104] in, For water quality correction amount, This is the turbidity correction factor. This represents the ideal turbidity value for the water sample. The turbidity of the second water sample.
[0105] Specifically, the system can accurately calculate the turbidity correction amount using the formula described above. The effect of this process is to ensure that the flocculant dosage can be dynamically adjusted to adapt to real-time water quality changes. For example, when real-time monitoring data indicates a second water sample with increased turbidity... When the value is too high, the system will adjust the value according to the correction factor. Calculate the required increase in flocculant dosage to quickly restore water quality balance.
[0106] Step S76: Add the various water quality correction amounts, turbidity correction amounts, and initial dosage amounts together to obtain the correction dosage amount.
[0107] Specifically, the adjusted dosage can be expressed by the following formula: ;in, That is, to adjust the dosage.
[0108] In this way, the system can comprehensively consider all influencing factors and calculate the total amount of flocculant to be added, ensuring optimal treatment results. For example, when multiple water quality indicators and turbidity deviate from the target values, the system can adjust the dosage according to their respective correction values to quickly restore water quality balance.
[0109] Reference Figure 3 This document illustrates a schematic diagram of an automatic flocculant dosing control system provided in an embodiment of this application. The system includes an acquisition module 1 and a processing module 2. The acquisition module 1 is used to acquire the turbidity of a first water sample collected by a turbidity meter installed at the inlet and the flow rate of the water sample collected by a flow meter. The processing module 2 is used to obtain the initial dosage of flocculant based on the turbidity and flow rate of the first water sample. The processing module 2 is also used to determine the initial opening angle of the flocculant addition regulating valve based on the initial dosage. The processing module 2 is also used to deliver the initial dosage of flocculant to the mixer via a delivery pump based on the initial opening angle. The processing module 2 is also used to determine multiple water quality detection indicators. The acquisition module 1 is also used to acquire the current water quality detection data corresponding to each water quality detection indicator collected by each sensor installed at the outlet and to acquire the turbidity of a second water sample collected by a turbidity meter installed at the outlet. The processing module 2 is also used to correct the initial dosage based on the multiple current water quality detection data and the turbidity of the second water sample to obtain the corrected dosage of flocculant.
[0110] In one possible implementation, processing module 2 is further configured to calculate the initial dosage using the following formula: ;in, This is the initial dosage. This represents the flocculant dosage coefficient. Let Q be the turbidity of the first water sample and Q be the water sample flow rate.
[0111] In one possible implementation, processing module 2 is further configured to determine the rated delivery capacity of the delivery pump and the maximum opening angle of the flocculant addition regulating valve; based on the rated delivery capacity, initial dosage, and maximum opening angle, the initial opening angle is calculated using the following formula: ;in, This is the initial opening and closing angle. This is the initial dosage. For rated conveying capacity, This represents the maximum opening angle.
[0112] In one possible implementation, the processing module 2 is further configured to determine the target value of water quality testing and the water quality correction coefficient corresponding to each water quality testing indicator; the acquisition module 1 is further configured to acquire historical water quality testing data corresponding to each water quality testing indicator within a preset time period; the processing module 2 is further configured to calculate the water quality correction amount corresponding to each water quality testing indicator based on each historical water quality testing data, each current water quality testing data, each target value of water quality testing, and each water quality correction coefficient; the processing module 2 is further configured to determine the ideal value of water sample turbidity and the turbidity correction coefficient; the processing module 2 is further configured to calculate the turbidity correction amount based on the turbidity of the second water sample, the ideal value of water sample turbidity, and the turbidity correction coefficient; the processing module 2 is further configured to add the water quality correction amount, the turbidity correction amount, and the initial dosage amount to obtain the correction dosage amount.
[0113] In one possible implementation, processing module 2 is further configured to calculate the standard deviation corresponding to each water quality indicator based on historical water quality testing data; calculate the water quality correction amount corresponding to each water quality indicator based on each standard deviation, each current water quality testing data, each water quality target value, and each water quality correction coefficient; and calculate each water quality correction amount using the following formula:
[0114] ;
[0115] in, For the i-th water quality correction, Let i be the water quality correction factor. For the i-th water quality target value, For the i-th current water quality test data, Let be the i-th standard deviation.
[0116] In one possible implementation, processing module 2 is further configured to calculate each standard deviation using the following formula:
[0117] ;
[0118] Where N is the number of historical water quality test data. For the i-th water quality indicator, the k-th historical water quality test data is... Let be the average of historical water quality test data corresponding to the i-th water quality indicator. Let be the i-th standard deviation.
[0119] In one possible implementation, processing module 2 is further configured to calculate the turbidity correction amount using the following formula: ;in, For water quality correction amount, This is the turbidity correction factor. This represents the ideal turbidity value for the water sample. The turbidity of the second water sample.
[0120] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0121] This application also discloses an electronic device. (See reference...) Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 400 may include: at least one processor 401, at least one network interface 404, a user interface 403, a memory 405, and at least one communication bus 402.
[0122] The communication bus 402 is used to enable communication between these components.
[0123] The user interface 403 may include a display screen and a camera. Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0124] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0125] The processor 401 may include one or more processing cores. The processor 401 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 405, and by calling data stored in memory 405. Optionally, the processor 401 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 401 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 401.
[0126] The memory 405 may include random access memory (RAM) or read-only memory. Optionally, the memory 405 may include non-transitory computer-readable storage medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned processor 401. (Refer to...) Figure 4 The memory 405, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and an application program.
[0127] exist Figure 4In the illustrated electronic device 400, the user interface 403 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 401 can be used to call an application stored in the memory 405. When executed by one or more processors 401, the electronic device 400 performs one or more methods as described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0128] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0129] In the various embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0131] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0133] The above are merely exemplary embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will readily conceive of by those skilled in the art upon consideration of the specification and the disclosure of practical truths.
[0134] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for automatically controlling the dosing of flocculants, characterized in that, The method includes: Obtain the turbidity of the first water sample collected by the turbidity meter installed at the water inlet, and obtain the flow rate of the water sample collected by the flow meter; Based on the turbidity of the first water sample and the flow rate of the water sample, the initial dosage of flocculant is obtained; Based on the initial dosage, determine the initial opening and closing angle of the flocculant addition regulating valve; Based on the initial opening angle, the initial amount of flocculant is delivered to the mixer via a delivery pump; Determine multiple water quality testing indicators; Acquire the current water quality detection data corresponding to each of the water quality detection indicators collected by each sensor installed at the water outlet, and acquire the turbidity of the second water sample collected by the turbidity meter installed at the water outlet; Based on multiple current water quality test data and the turbidity of the second water sample, the initial dosage is corrected to obtain the corrected dosage of flocculant; The step of correcting the initial dosage based on multiple current water quality test data and the turbidity of the second water sample to obtain the corrected dosage of flocculant specifically includes: Determine the target values and correction factors for each of the aforementioned water quality testing indicators; Obtain historical water quality testing data corresponding to each of the water quality testing indicators within a preset time period; Based on the historical water quality test data, the current water quality test data, the target water quality test values, and the water quality correction coefficients, calculate the water quality correction amount corresponding to each water quality test index. Determine the ideal turbidity value and turbidity correction factor for the water sample; The turbidity correction amount is calculated based on the turbidity of the second water sample, the ideal value of the turbidity of the water sample, and the turbidity correction coefficient. The corrected dosage is obtained by adding the various water quality correction amounts, the turbidity correction amounts, and the initial dosage. The step of calculating the water quality correction amount corresponding to each of the historical water quality testing data, the current water quality testing data, the target water quality values, and the water quality correction coefficients specifically includes: Based on the historical water quality test data, calculate the standard deviation of each water quality test index. Based on the standard deviation, the current water quality test data, the target water quality test value, and the water quality correction coefficient, calculate the water quality correction amount corresponding to each water quality test index. The water quality correction amounts are calculated using the following formula: ; in, For the i-th water quality correction amount, Let i be the i-th water quality correction factor. For the i-th water quality detection target value, For the i-th current water quality test data, Let be the standard deviation of the i-th standard deviation; The calculation of the turbidity correction amount based on the turbidity of the second water sample, the ideal value of the water sample turbidity, and the turbidity correction coefficient specifically includes: The turbidity correction amount is calculated using the following formula: ; in, This refers to the water quality correction amount. This is the turbidity correction factor. This represents the ideal turbidity value for the water sample. The turbidity of the second water sample is denoted as .
2. The method according to claim 1, characterized in that, The initial dosage of flocculant, determined based on the turbidity and flow rate of the first water sample, specifically includes: The initial dosage is calculated using the following formula: ; in, The initial dosage, This represents the flocculant dosage coefficient. Let Q be the turbidity of the first water sample and Q be the flow rate of the water sample.
3. The method according to claim 1, characterized in that, The determination of the initial opening angle of the flocculant addition regulating valve based on the initial dosage specifically includes: Determine the rated delivery capacity of the delivery pump and the maximum opening angle of the flocculant addition regulating valve; Based on the rated conveying capacity, the initial feeding amount, and the maximum opening angle, the initial opening angle is calculated using the following formula: ; in, The initial opening and closing angle is... The initial dosage, The rated conveying capacity, The maximum opening / closing angle is denoted as .
4. The method according to claim 1, characterized in that, The step of calculating the standard deviation of each water quality indicator based on the historical water quality testing data specifically includes: The standard deviations are calculated using the following formula: ; Where N is the number of historical water quality test data. For the i-th water quality indicator, the k-th historical water quality test data is... The average value of historical water quality test data corresponding to the i-th water quality indicator is... Let be the standard deviation of the i-th standard deviation.
5. A system based on the automatic flocculant dosing control method as described in any one of claims 1-4, characterized in that, The system includes an acquisition module and a processing module; The acquisition module is used to acquire the turbidity of the first water sample collected by the turbidity meter installed at the water inlet, and to acquire the flow rate of the water sample collected by the flow meter. The processing module is used to obtain the initial dosage of flocculant based on the turbidity of the first water sample and the flow rate of the water sample; The processing module is also used to determine the initial opening and closing angle of the flocculant addition regulating valve based on the initial dosage. The processing module is also used to deliver the initial amount of flocculant to the mixer via a delivery pump based on the initial opening and closing angle. The processing module is also used to determine multiple water quality testing indicators; The acquisition module is also used to acquire the current water quality detection data corresponding to each water quality detection index collected by each sensor installed at the outlet, and to acquire the turbidity of the second water sample collected by the turbidity meter installed at the outlet. The processing module is also used to correct the initial dosage based on multiple current water quality test data and the turbidity of the second water sample to obtain the corrected dosage of flocculant; The step of correcting the initial dosage based on multiple current water quality test data and the turbidity of the second water sample to obtain the corrected dosage of flocculant specifically includes: Determine the target values and correction factors for each of the aforementioned water quality testing indicators; Obtain historical water quality testing data corresponding to each of the water quality testing indicators within a preset time period; Based on the historical water quality test data, the current water quality test data, the target water quality test values, and the water quality correction coefficients, calculate the water quality correction amount corresponding to each water quality test index. Determine the ideal turbidity value and turbidity correction factor for the water sample; The turbidity correction amount is calculated based on the turbidity of the second water sample, the ideal value of the turbidity of the water sample, and the turbidity correction coefficient. The corrected dosage is obtained by adding the various water quality correction amounts, the turbidity correction amounts, and the initial dosage. The step of calculating the water quality correction amount corresponding to each of the historical water quality testing data, the current water quality testing data, the target water quality values, and the water quality correction coefficients specifically includes: Based on the historical water quality test data, calculate the standard deviation of each water quality test index. Based on the standard deviation, the current water quality test data, the target water quality test value, and the water quality correction coefficient, calculate the water quality correction amount corresponding to each water quality test index. The water quality correction amounts are calculated using the following formula: ; in, For the i-th water quality correction amount, Let i be the i-th water quality correction factor. For the i-th water quality detection target value, For the i-th current water quality test data, Let be the standard deviation of the i-th standard deviation; The calculation of the turbidity correction amount based on the turbidity of the second water sample, the ideal value of the water sample turbidity, and the turbidity correction coefficient specifically includes: The turbidity correction amount is calculated using the following formula: ; in, This refers to the water quality correction amount. This is the turbidity correction factor. This represents the ideal turbidity value for the water sample. The turbidity of the second water sample is denoted as .
6. An electronic device, characterized in that, The device includes a processor (401), a memory (405), a user interface (403), and a network interface (404). The memory (405) is used to store instructions. The user interface (403) and the network interface (404) are used to communicate with other devices. The processor (401) is used to execute the instructions stored in the memory (405) to cause the electronic device (400) to perform the method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1-4.