Search

CN-121990662-A - Method, system, equipment, medium and program for controlling flocculant adding amount

CN121990662ACN 121990662 ACN121990662 ACN 121990662ACN-121990662-A

Abstract

The application relates to the technical field of water treatment, in particular to a method, a system, equipment, a medium and a program for controlling the adding amount of a flocculating agent, wherein the method comprises the steps of acquiring a flocculating agent image, water inflow turbidity and water outflow turbidity in a flocculating tank, inputting the flocculating agent image into a target recognition model, and outputting a flocculating agent state classification result by the target recognition model, wherein the target recognition model is used for extracting target characteristics of the flocculating agent, classifying and determining the flocculating agent state classification result according to the target characteristics, wherein the target characteristics comprise morphology, average size and distribution density characteristics, calculating the adding amount of the flocculating agent according to the flocculating agent state classification result, water inflow turbidity and water outflow turbidity, and controlling a dosing device according to the adding amount of the flocculating agent. Therefore, the problems that the medicine adding timing is inaccurate, the medicine waste is easily caused, the effluent quality exceeds the standard and the like due to the fact that the feedback of the turbidity of the effluent is controlled by relying on hysteresis and the manual experience in the related technology are solved.

Inventors

  • CHEN XU
  • HAN SONG
  • GUO SHUAI
  • WANG LIWEN
  • LIU YAOXUAN
  • TIAN SIQI
  • ZHU HUI
  • HUANG XINCHANG

Assignees

  • 国能南京电力试验研究有限公司

Dates

Publication Date
20260508
Application Date
20260121

Claims (10)

  1. 1. A method for controlling the dosage of a flocculant, which is characterized by comprising the following steps: Acquiring a floc image, water inflow flow, water inflow turbidity and water outflow turbidity in a flocculation tank; Inputting the floc image into a target recognition model, and outputting a floc state classification result by the target recognition model, wherein the target recognition model is used for extracting target characteristics of flocs, classifying according to the target characteristics and determining the floc state classification result, and the target characteristics comprise morphology, average size and distribution density characteristics; Calculating the adding amount of the flocculant according to the flocculation state classification result, the water inflow flow, the water inflow turbidity and the water outflow turbidity, and controlling a dosing device to carry out dosing according to the adding amount of the flocculant.
  2. 2. The method according to claim 1, wherein the calculating the flocculant addition amount based on the floc state classification result, the inflow water flow rate, the inflow water turbidity, and the outflow water turbidity includes: Determining a first flocculant adding amount according to the floc state classification result, the water inflow rate and the water inflow turbidity; Correcting the first flocculant adding amount according to the effluent turbidity and the target turbidity to obtain a second flocculant adding amount, and controlling the adding of a dosing device by adopting the second flocculant adding amount; Periodically updating the effluent turbidity, and correcting the adding amount of the second flocculating agent according to the updated effluent turbidity until the effluent turbidity reaches the target turbidity.
  3. 3. The method for controlling the dosage of the flocculant according to claim 2, wherein determining the first dosage of the flocculant according to the result of classification according to the state of flocs, the inflow water flow rate and the inflow water turbidity comprises: obtaining a mapping relation table corresponding to the floc state classification result and the addition amount adjustment amount; Inquiring a mapping relation table by taking the floc state classification result as an index, and determining an addition amount adjustment amount; determining the first flocculant adding amount according to the initial flocculant adding set value and the adding amount adjusting amount.
  4. 4. A method of controlling an addition amount of a flocculant according to claim 3, comprising, before said determining a first flocculant addition amount according to an initial flocculant addition set value and an addition amount adjustment amount: And calculating an initial flocculant adding set value according to the water inflow flow and the water inflow turbidity.
  5. 5. The method according to claim 2, wherein periodically updating the output turbidity, and correcting the second flocculant addition amount according to the updated output turbidity until the output turbidity reaches a target turbidity, comprises: Screening out multiple groups of data of the water turbidity reaching the target turbidity, wherein each group of data comprises a floc image, an actual adding amount and a final water turbidity; And training and optimizing the target recognition model by utilizing multiple groups of data until the model converges.
  6. 6. The method for controlling an amount of flocculant fed according to claim 1, wherein the object recognition model is constructed by a feature extractor and a classifier, wherein, The feature extractor comprises an input layer, a convolution layer, an activation function layer and a pooling layer, wherein the input layer is used for receiving the preprocessed floc image, the convolution layer utilizes at least one convolution kernel to extract a target feature image from the floc image, the activation function layer is used for carrying out nonlinear transformation on convolution output, and the pooling layer is used for carrying out downsampling on the target feature image to output feature vectors; the classifier is used for receiving the feature vector, calculating a weighted comprehensive score according to preset weights based on the morphology, average size and distribution density features corresponding to the feature vector, and determining a floc state classification result according to the interval where the weighted comprehensive score is located.
  7. 7. A control system for flocculant dosage, comprising: A flocculation tank; The flow channel is arranged at the bypass of the flocculation tank, wherein a flowmeter, a water inlet turbidity meter and a water outlet turbidity meter are arranged in the flow channel and are used for respectively acquiring water inlet flow, water inlet turbidity and water outlet turbidity; the floccule collecting device is arranged in the water flowing channel and is used for obtaining a water sample containing floccules; The image recognition device comprises a camera probe and an image processing unit, wherein the camera probe is aligned with a water sample in the floc collection device to continuously collect floc images, the image processing unit inputs the floc images into a target recognition model, and the target recognition model outputs a floc state classification result, wherein the target recognition model is used for extracting target characteristics of flocs, classifying according to the target characteristics and determining a floc state classification result, and the target characteristics comprise morphology, average size and distribution density characteristics; The processing device is in communication connection with the flowmeter, the water inlet turbidity meter, the water outlet turbidity meter and the image recognition device and is used for calculating the adding amount of the flocculating agent according to the flocculation state classification result, the water inlet flow, the water inlet turbidity and the water outlet turbidity and controlling the dosing device to carry out dosing according to the adding amount of the flocculating agent.
  8. 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of controlling the flocculant dosage of any of claims 1-6.
  9. 9. A computer readable storage medium having stored thereon a computer program or instructions, which when executed by a processor, is for implementing a method of controlling the flocculant addition of any of claims 1-6.
  10. 10. A computer program product comprising a computer program or instructions which, when executed, implements a method of controlling the dosage of a flocculant as claimed in any one of claims 1 to 6.

Description

Method, system, equipment, medium and program for controlling flocculant adding amount Technical Field The application relates to the technical field of water treatment, in particular to a method, a system, equipment, a medium and a program for controlling the adding amount of a flocculating agent. Background In the process of water supply or sewage treatment, coagulation/flocculation is a key unit operation for removing suspended matters, colloid and partial soluble pollutants, and the effect directly determines the operation efficiency and the effluent quality of the subsequent processes such as precipitation, filtration and the like. The adding amount of the flocculant is required to be dynamically adjusted according to the quality of raw water (such as turbidity, pH, temperature, organic matter content and the like) so as to form flocs with compact structure and good sedimentation performance. In the related art, feedforward estimation is carried out based on the inflow and turbidity or feedback manual regulation is based on the turbidity of the effluent, and as the effluent quality reflects the result of the completed reaction, obvious time delay exists, the generation, growth and aggregation states of flocs in the flocculation reaction process can not be represented in real time, so that the dosing control response is slow, the precision is insufficient, and the reagent waste or the effluent quality exceeds the standard are easily caused. Disclosure of Invention The application provides a control method, a system, equipment, a medium and a program for flocculant addition, which are used for solving the problems of inaccurate dosing time, easiness in causing medicament waste or exceeding of effluent quality and the like caused by controlling effluent turbidity feedback and artificial experience depending on hysteresis in the related technology. The embodiment of the first aspect of the application provides a control method of the flocculant adding amount, which comprises the following steps of obtaining a flocculation image, water inflow rate, water inflow turbidity and water outflow turbidity in a flocculation tank, inputting the flocculation image into a target recognition model, and outputting a flocculation state classification result by the target recognition model, wherein the target recognition model is used for extracting target characteristics of flocs, classifying and determining the flocculation state classification result according to the target characteristics, wherein the target characteristics comprise morphology, average size and distribution density characteristics, calculating the adding amount of the flocculant according to the flocculation state classification result, the water inflow rate, the water inflow turbidity and the water outflow turbidity, and controlling a dosing device to carry out adding according to the adding amount of the flocculant. The method comprises the steps of determining a first flocculant adding amount according to a floc state classification result, the water inlet flow, the water inlet turbidity and the water outlet turbidity, correcting the first flocculant adding amount according to the water outlet turbidity and a target turbidity to obtain a second flocculant adding amount, controlling a dosing device to add by adopting the second flocculant adding amount, periodically updating the water outlet turbidity, and correcting the second flocculant adding amount according to the updated water outlet turbidity until the water outlet turbidity reaches the target turbidity. Optionally, determining the first flocculant adding amount according to the flocculation state classification result, the water inflow rate and the water inflow turbidity comprises obtaining a mapping relation table corresponding to the flocculation state classification result and the adding amount adjustment amount, inquiring the mapping relation table by taking the flocculation state classification result as an index to determine the adding amount adjustment amount, and determining the first flocculant adding amount according to an initial flocculant adding set value and the adding amount adjustment amount. Optionally, before the first flocculant addition amount is determined according to the initial flocculant addition set point and the addition amount adjustment amount, calculating the initial flocculant addition set point according to the inlet water flow rate and the inlet water turbidity. Optionally, periodically updating the effluent turbidity, correcting the adding amount of the second flocculating agent according to the updated effluent turbidity until the effluent turbidity reaches the target turbidity, and screening a plurality of groups of data for the effluent turbidity to reach the target turbidity, wherein each group of data comprises a floccule image, an actual adding amount and a final effluent turbidity, and training and optimizing a target identification model by utilizing