An intelligent dosing system and method for treating high-fluoride wastewater

Through the adaptive neuro-fuzzy reasoning system and image recognition technology, the automated control of the high-fluoride wastewater treatment and dosing system is realized, which solves the problems of low automation and insufficient detection accuracy of the existing system, reduces costs and meets more stringent emission standards. .

CN117326751BActive Publication Date: 2024-10-08CHINA ELECTRONICS INNOVATION ENVIRONMENTAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311496244.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2024-10-08
Estimated Expiration
2043-11-10

AI Technical Summary

Technical Problem

The existing high-fluoride wastewater treatment dosing system has a low degree of automation, inadequate control of dosing amounts, lack of real-time water quality monitoring, and insufficient accuracy in fluoride concentration detection, resulting in high dosing costs and difficulty in meeting strict emission standards.

Method used

Adopting adaptive neuro-fuzzy reasoning system and image recognition technology, through the central control module, water inlet information collection module, dosing prediction module, deviation correction module and dosing execution module, real-time monitoring of fluoride concentration and dosing amount can be realized Accurate prediction and adjustment, combined with PLC control system and machine learning algorithm for automatic control.

Benefits of technology

It improves the automation of the dosing system, reduces the use of chemicals and labor costs, significantly improves the accuracy of fluoride concentration detection, ensures stable effluent water quality, and meets more stringent emission standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117326751B_ABST
    Figure CN117326751B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent dosing system and method for treating high-fluorine wastewater, which includes an inlet water information collection module for collecting inlet water quality information; a dosing prediction module for predicting the dosage of different agents at the next moment; a process water information collection module for analyzing process water pH value, process water alum flower image and outlet fluoride concentration; a dosing execution module for executing dosing behavior; a central control module for controlling the dosing execution module to execute dosing operation according to the dosing dosage prediction value; a deviation correction module for calculating the dosage revision value of each agent according to process water information, outlet water standard and dosage prediction value, and feeding it back to the central control module, and the central control module corrects the predicted dosage according to the dosage revision value. The present invention makes the dosing process of water treatment more simplified, precise and intelligent, saves costs, and ensures that the outlet water quality is stable and meets the control standard of subsequent treatment processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sewage treatment technology, and in particular to an intelligent dosing system and method for treating high-fluorine wastewater. Background Art

[0002] In the process of global industrialization, the production capacity of the electronics industry represented by semiconductors, panels, photovoltaics, etc. has grown rapidly, generating a large amount of fluoride-containing wastewater, which is an important source of fluoride pollution in water bodies. Long-term drinking of water with excessive fluoride content can easily induce fluorosis, macular degeneration, and renal dysfunction. In severe cases, it can cause chronic diseases such as fluorosis, which seriously threatens human health. Therefore, the necessity of exploring economical and efficient technical means to treat fluoride-containing industrial wastewater has become increasingly prominent. According to the national industrial wastewater discharge standards, the emission concentration of fluoride should be ≤10mg / L, while the fluoride-related standards in some areas are more stringent. Some local standards stipulate that the emission limit of fluoride is 1.5mg / L. There are many types of existing high-fluoride wastewater treatment processes, but the most widely used technologies in industry are still mainly lime neutralization precipitation and coagulation precipitation, which use the dosing system to achieve the goal of purifying fluoride-containing wastewater. However, the dosing systems of most high-fluoride wastewater treatment plants currently have the following problems: (1) The dosing method is relatively crude, mostly manual, relying on the experience of skilled workers to operate, the control of the amount of agent added is not standardized, and the degree of automation is low; (2) There is a lack of a real-time monitoring system for water quality changes during the process, and faults that occur during the dosing process cannot be discovered and handled in a timely manner; (3) It is difficult to achieve continuous detection of fluoride concentration, and the accuracy of the analysis method is insufficient; (4) When the fluoride concentration of the influent is too high and exceeds the range of the fluoride detection instrument, accurate data cannot be obtained in real time; (5) Insufficient automation control and fixed dosing amount lead to high dosing costs. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide an intelligent dosing system for high-fluoride wastewater treatment based on an adaptive neural fuzzy inference system and image recognition, so as to improve the degree of automation of the existing high-fluoride wastewater treatment dosing system, save production energy and material costs as well as labor costs, ensure that the effluent water quality is stable and meets the control standards of subsequent treatment processes, and make the dosing process of water treatment more simplified, precise and intelligent.

[0004] Technical solution: The intelligent dosing system for treating high-fluoride wastewater of the present invention comprises a neutralization tank, a reaction tank, a flocculation tank and a sedimentation tank, and also comprises: a central control module, an influent information collection module, a dosing prediction module, a process water information collection module, a deviation correction module and a dosing execution module; the influent information collection module is used to collect influent information and transmit the influent information to the database of the central control module in real time; the process water information collection module is used to collect process water information in the neutralization tank, the flocculation tank and the sedimentation tank, and transmit the process water information to the database of the central control module in real time; the dosing prediction module uses an adaptive neural fuzzy inference model to predict and output the dosing amount prediction value of different agents at the next moment according to the influent information, the process water pH value setting value and the effluent fluoride concentration setting value transmitted by the central control module, and transmits the dosing amount prediction value of different agents in real time. The information is transmitted to the database of the central control module; the deviation correction module calculates the dosage revision value of each agent according to the process water information, dosage prediction value, process water pH value setting value and outlet fluoride concentration setting value transmitted by the central control module, and transmits the dosage revision values ​​of different agents to the database of the central control module in real time; the dosage execution module performs dosage operations on the neutralization tank, reaction tank and flocculation tank according to the dosage signal transmitted by the central control module; the central control module is used to control the operation of other modules, wherein if the deviation rate between the outlet fluoride concentration at the previous moment and the outlet fluoride concentration setting value is greater than or equal to 10%, the deviation correction module is started to control the dosage execution module to perform the dosage operation according to the dosage revision value; if the deviation rate is less than 10%, the deviation correction module is not started, and the dosage execution module is controlled to perform the dosage operation according to the dosage prediction value;

[0005] Among them, the adaptive neural fuzzy inference model adopts three methods of offline learning, online control and offline re-optimization for learning and optimization. When offline, the test history data of influent information, process water information and effective dosage are selected as the learning sample set, and then the learning sample set is input into the training program of the adaptive neural fuzzy inference model to obtain the parameters of the adaptive neural fuzzy inference model, and finally the trained adaptive neural fuzzy inference model is written into the dosage prediction module; when online, the dosage of different agents is predicted in real time according to the influent information collected by the influent information collection module, the process water pH value set value and the effluent fluoride concentration set value, and transmitted to the central control module; after offline, the actual operation data stored in the central control module is used as the updated sample set for retraining to obtain a more complete adaptive neural fuzzy inference model, and the optimized adaptive neural fuzzy inference model is rewritten into the dosage prediction module.

[0006] Optionally, the water inlet information collection module includes a flow meter and a water quality detection device, one end of the water quality detection device is connected to the water inlet pipe through a water sampling peristaltic pump, and the other end is connected to the pure water pipe through a pure water peristaltic pump. At the same time, the fluoride analysis unit in the water quality detection device is connected to the buffer solution peristaltic pump.

[0007] Optionally, the process water information collection module includes a pH online detector, an alum flower image acquisition system in the water, an effluent sampling peristaltic pump, a stirring reaction device, a buffer solution peristaltic pump and a fluoride online analyzer. The pH online detector is arranged in the neutralization tank, the alum flower image acquisition system in the water is arranged at the output end of the flocculation tank, the effluent sampling peristaltic pump is arranged in the sedimentation tank, the effluent water sample collected by the effluent sampling peristaltic pump and the buffer solution output by the buffer solution peristaltic pump are input into the stirring reaction device together for mixing and stirring, and the fluoride online analyzer collects and analyzes the effluent fluoride concentration of the water sample after mixing and stirring in real time.

[0008] Optionally, the central control module adopts a PLC control system, and is equipped with a low-dosage alarm system for the dosing box, a hardware fault alarm system, and an excessive water quality alarm system. If a fault occurs, the system will send out an alarm signal, display a fault indicator light, and automatically cut off the power supply to the water pump.

[0009] Optionally, if the inlet water quality index exceeds the measurement range of the water quality detection device, the central control module controls the start of the inlet water sampling peristaltic pump and the pure water peristaltic pump to pump water to the water quality detection device to dilute the water sample, and measure various water quality indicators of the diluted water sample, and multiply the measured value by the dilution multiple to obtain accurate inlet water quality indicators.

[0010] Optionally, the deviation correction module uses the one-dimensional golden section method to feedback control the dosage of calcium hydroxide and calcium chloride agents according to the process water information, dosage prediction value, process water pH value set value and outlet fluoride concentration set value output by the central control module, and at the same time, uses the Linear Regression algorithm to construct a machine learning model to feedback adjust the flocculant dosage based on the alum floc parameter data, and finally obtains the revised value of calcium hydroxide dosage, calcium chloride dosage and flocculant dosage.

[0011] Based on the same inventive concept, the intelligent dosing method for treating high-fluoride wastewater of the present invention comprises the following steps:

[0012] The inlet water information collection module collects the water flow of fluoride-containing wastewater entering the neutralization tank, detects the pH value, alkalinity and fluoride concentration of the inlet water, and then transmits the collected inlet water information data to the central control module;

[0013] After receiving the water inflow information data, the central control module eliminates the abnormal values ​​in the data and saves the data in the real-time database;

[0014] The dosing prediction module calculates the dosing amount prediction value of each agent at the next moment according to the inlet water information, process water pH value setting value and outlet water fluoride concentration setting value transmitted by the central control module, and transmits it to the central control module;

[0015] The process water information collection module collects the pH value of the process water in the neutralization tank, the image information of the alum flowers in the flocculation tank, and the fluoride concentration of the effluent from the sedimentation tank, and outputs them to the central control module;

[0016] The central control module calculates the sliding mean value of the effluent fluoride concentration within the preset time, and calculates the deviation rate between the sliding mean value of the effluent fluoride concentration and the set value of the effluent fluoride concentration; if the deviation rate is greater than or equal to 10%, the deviation correction module is started, and the flocculant dosage revision value and the calcium chloride dosage revision value are obtained according to the alum flower image information in the water and the effluent fluoride concentration, and the revised values ​​are fed back to the central control module. The central control module controls the dosing execution module to dose the neutralization tank, the reaction tank and the flocculation tank respectively according to the dosage revision value of each agent; when the deviation correction module continuously starts the set threshold, the water supply is stopped for overall data analysis and then the wastewater treatment process is restarted; if the deviation rate is less than 10%, the central control module controls the dosing execution module to dose the neutralization tank, the reaction tank and the flocculation tank respectively according to the dosage prediction value of each agent.

[0017] Furthermore, a water sampling peristaltic pump is set in the sedimentation tank to automatically and continuously collect water samples after drug addition treatment and transport them to the stirred reactor. At the same time, a buffer peristaltic pump draws an equal amount of buffer into the stirred reactor at the same frequency, and a fluoride online analyzer is used to detect the fluoride concentration of the mixed liquid.

[0018] Furthermore, the dosing prediction module adopts an adaptive neuro-fuzzy inference model, using the inlet water information, the process water pH set value and the outlet water fluoride concentration set value as the input variables of the prediction model, and the predicted values ​​of different agent dosing amounts as the output of the adaptive neuro-fuzzy inference model;

[0019] The adaptive neural fuzzy inference model is optimized by offline learning, online control and offline re-optimization. When offline, the test historical data of inlet information, outlet information and effective dosage are selected as the learning sample set, and then the sample set is input into the training program of the adaptive neural fuzzy inference model to obtain the antecedent parameters and consequent parameters of the adaptive neural fuzzy inference model, and finally the trained adaptive neural fuzzy inference model is written into the dosage prediction module; when online, the dosage of different agents is predicted in real time according to the inlet information collected by the inlet information collection module and the set value of the outlet fluoride concentration, and transmitted to the central control module; after offline, the actual operation data stored in the central control module is used as the updated sample set for retraining to obtain a more complete adaptive neural fuzzy inference model, and the optimized adaptive neural fuzzy inference model is rewritten into the dosage prediction module.

[0020] Furthermore, the deviation correction is specifically as follows:

[0021] For the revision of the calcium chloride dosage, the sliding average value y of the effluent fluoride concentration under the action of the dosage u(k - 1) of the dosing prediction control system at time k is used R (k), and the relative prediction deviation δ(k) = y(k) - y R (k) between the measured value y(k) of the actual effluent fluoride concentration of the controlled object is used to form a closed loop to predict the output value y P (k + 1) = y R (k + 1) + δ(k). The quadratic objective optimization function J = [e p (k + 1) - e d (k + 1)] 2 + λ[e p (k + 1) - δ(k)] 2 , e p (k + 1) = s - y R (k + 1), e d (k + 1) = ce p (k) - (1 - c)δ(k), where: s is the set value of the fluoride concentration, c is the softening coefficient, 0 < c < 1, the weighting coefficient λ ≥ 0. The one-dimensional golden section method is used to find the dosage u(k) when the J function is minimized, that is, the dosage of the chemical agent when the error rate is minimized. Finally, the revised value of the calcium chloride chemical agent dosage is fed back to the central control module;

[0022] For the revision of the calcium hydroxide dosage, the same method as that for the calcium chloride dosage revision is adopted;

[0023] For the revision of the flocculant dosage, the deviation correction module detects the floc target by using the YOLOv5 algorithm according to the received image information of the flocs in the water. After determining the position information and quantity information, threshold segmentation is used for image segmentation to obtain parameters such as the number of flocs, area ratio, and equivalent diameter. The average value of the floc data within a preset time is selected as the water quality characteristic. The detected flocs are classified by using the KNN algorithm in combination with the influent water quality parameters and influent flow information, and the parameters of each floc in the image are comprehensively evaluated; at the same time, according to the machine learning experience of previous water quality prediction, the relationship between the flocculant dosage and the parameters of the effluent flocs is obtained by using the previous water quality data as training samples through the Linear Regression algorithm, and the revised value of the flocculant dosage is fed back to the central control module.

[0024] Beneficial effects: Compared with the prior art, the technical effects of the present invention are as follows:

[0025] (1) The dosing prediction control system using the adaptive neural fuzzy inference system as the automatic control system combines the advantages of fuzzy logic and neural network, making up for the shortcomings of neural network in fuzzy data processing and the defects of pure fuzzy logic in learning. It has stronger robustness and nonlinear modeling capabilities, and can effectively suppress external interference. The dosing prediction control system of the system of the present invention can perform three control modes: offline learning, online control and offline re-optimization, realizing accurate budgeting of dosing amount.

[0026] (2) The deviation correction module of the system of the present invention adopts the one-dimensional golden section method to feedback control the dosage of calcium chloride based on the prediction deviation, and constructs a machine learning model based on the Linear Regression algorithm to feedback adjust the dosage of flocculant according to the alum flower image recognition, thereby compensating for the errors of various parameters in the feedforward in terms of sensors, liquid performance and concentration, saving drug consumption compared with traditional processes and effectively controlling labor costs.

[0027] (3) The present invention includes a water quality detection and analysis method, which can effectively monitor the water quality of the incoming water. For water sources whose water quality parameters are within the detection range of the instrument, the central control system can use the incoming water information and the set value of the effluent fluoride concentration as the input of the dosing prediction control system. For water sources whose water quality parameters exceed the detection range of the instrument, under normal operation of the system, the central control system controls the water sampling peristaltic pump and the pure water peristaltic pump at the water inlet end to extract and dilute the water sample in proportion, and measure the water quality parameters of the diluted water sample, so as to obtain water quality information in real time while ensuring the detection efficiency.

[0028] (4) The present invention includes a process information collection means. A stirring reaction device, a buffer pump and a fluoride online analyzer are set in the sedimentation tank to continuously monitor the change of the fluoride concentration of the effluent. The deviation rate between the fluoride concentration of the effluent at the previous moment and the set value of the fluoride concentration of the effluent is used to feedback and correct the dosage at the next moment, thereby ensuring the reaction efficiency and effectively controlling the dosage cost.

[0029] (5) The accuracy of fluoride concentration in the fluoride-containing standard sample measured by the conventional industrial wastewater fluoride detection method (directly using the influent as the fluoride concentration detection sample) is 95%, while the accuracy of fluoride concentration in the fluoride-containing standard sample measured by the fluoride detection method of the present invention (mixing the influent with the buffer solution at a volume ratio of 1:1 to prepare the detection sample) is 99.5%, which is significantly improved by 4.74% over the detection accuracy of the conventional industrial wastewater fluoride detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the structure of the dosing system of the present invention;

[0031] Figure 2 It is a schematic diagram of the communication connection relationship between the central control module and other modules. DETAILED DESCRIPTION

[0032] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0033] In order to solve the shortcomings of the existing dosing system, the solution of the present invention is as follows: (1) Utilize buffer solution to mix influent / effluent to detect fluoride concentration, strengthen the total ionic strength of the solution, mask interfering ions, and improve the accuracy of fluoride concentration analysis; (2) Optimize the detection device, add a pure water peristaltic pump to the fluoride concentration detection unit at the inlet end, and for high-concentration fluoride influent, dilute the water sample in proportion, and measure the water quality parameters of the diluted water sample by a stirring device and an online fluoride analyzer, thereby obtaining water quality information in real time while ensuring the detection efficiency; (3) Establish a dosing amount prediction system based on the adaptive neural fuzzy inference system of the Takagi-Sugeno reasoning model, and the dosing amount prediction system can accurately predict the dosage of calcium hydroxide, calcium chloride and coagulant at the next moment through the influent information, the process water pH concentration setting value and the effluent fluoride concentration setting value; (4) In view of the algorithm model and image recognition, the dosage of the reagent can be corrected and fed back, eliminating the internal interference factors of the equipment, and realizing accurate dosing.

[0034] The invention discloses an intelligent dosing system for high-fluorine wastewater treatment based on an adaptive neural fuzzy inference model and image recognition. The main operation modules are designed for the main process of water treatment, namely, water inlet information collection, water quality neutralization, biochemical reaction, flocculation precipitation and water outlet information collection, including a central control module, a water inlet information collection module, a dosing prediction module, a process water information collection module, a deviation correction module and a dosing execution module. The dosing prediction module predicts the dosage of different agents at the next moment according to the water inlet information, the process water pH concentration setting value (7.0-9.0) and the water outlet fluoride concentration setting value, and transmits it to the central control module. The central control module determines whether to start the deviation correction module to automatically adjust the dosage according to the deviation between the water outlet fluoride concentration and the water outlet fluoride concentration setting value at the previous moment. After the determination procedure ends, according to the specific situation, the central control module controls the dosing execution module to perform the dosing operation according to the dosing dosage prediction value or the dosing dosage revision value, and continuously repeats the same action to enter the next water treatment cycle.

[0035] like Figure 1As shown, an intelligent dosing system for high-fluoride wastewater treatment based on an adaptive neural fuzzy inference model and image recognition of the present invention comprises a neutralization tank 1, a reaction tank 2, a flocculation tank 3 and a sedimentation tank 4. A water inlet information collection module is provided at the water inlet end, comprising a flow meter 5 and a water quality detection device 6. One end of the water quality detection device 6 is connected to the water inlet pipe by connecting the water inlet sampling peristaltic pump 7, and the other end is connected to the pure water pipe by connecting the pure water peristaltic pump 8. At the same time, the fluoride analysis unit in the water quality detection device 6 is connected to the first buffer peristaltic pump 9. The water inlet information collection module is connected to the central control system (PLC system 22) in communication, and sends water inlet information (water inlet flow, pH value, alkalinity and fluoride concentration) to it. The process water information collection module is set for the neutralization tank 1, flocculation tank 3 and sedimentation tank 4, including a pH online detector 11 at the end of the neutralization tank 1 to analyze and control the pH value of the inlet water, a water alum flower image acquisition system 12 at the end of the flocculation tank 3 to identify and calculate the size and number of alum flowers, and an outlet water sampling peristaltic pump 13 at the end of the sedimentation tank 4, which can continuously draw the supernatant into the stirring reaction device 14 at a low frequency, and a second buffer peristaltic pump 15 and a fluoride online analyzer 16 are provided on the other side of the stirring reaction device 14. The process water information collection module is connected to the central control module in communication, and process water information (process water pH value, process water alum flower image information and outlet water fluoride concentration) is sent to it, and the central control system transmits the process water information to the deviation correction module (deviation correction model 17), and the deviation correction model 17 corrects the dosage of calcium hydroxide, calcium chloride and flocculant according to the information feedback, and transmits the dosage revision value to the central control module. Since the fluoride detection method in the present invention adopts the sliding average of smoothed time series data, data is collected every 20 seconds, and the outliers in the data are eliminated by calculating the data mean within 5 minutes, thereby improving the readability and comprehensibility of the data and reducing the errors caused by instantaneous data collection. Therefore, the deviation correction module is started at most once every 5 minutes. When the deviation correction module is started 5 times in a row, it means that this correction model is not enough to eliminate process abnormalities, and the water treatment process should be restarted after the water is stopped for overall data analysis. The dosing execution module is set for the neutralization tank 1, the reaction tank 2 and the flocculation tank 3, including setting a calcium hydroxide dosing electromagnetic pump 18 and a standby pump for the neutralization tank 1, setting a calcium chloride dosing electromagnetic pump 19 and a standby pump for the reaction tank 2, and setting a flocculant dosing electromagnetic pump 20 and a standby pump next to the flocculation tank 3. The dosing execution module is connected and controlled by the central control module, and the dosing amount prediction value and the dosing amount revision value output by the dosing prediction module and the deviation correction module received by the central control module are used to control each dosing electromagnetic pump to quantitatively add each agent in real time.

[0036] The central control module refers to the PLC system 22, such as Figure 2As shown, it is connected to the inlet water information collection module, the process water information collection module, the dosing prediction module, the deviation correction module and the dosing execution module for communication and stores the information in the built-in hardware, so as to receive the dosing amount prediction value of the dosing prediction module and the dosing amount revision value of the deviation correction module in real time, and convert them into corresponding control signals according to the built-in control logic program of the PLC system 22, and send them to the dosing execution module to dosing in each action pool, so as to control the fluoride concentration in the reaction process.

[0037] Preferably, a low-dosage alarm system for the dosing box, a hardware fault alarm system and a water quality exceeding standard alarm system are set in the control logic program of the PLC system. If a fault occurs, the system will send out an alarm signal, display a fault indicator light and automatically cut off the power supply to the water pump.

[0038] The water inlet information collection module is used to collect water inlet flow, pH value, alkalinity and fluoride concentration. The water inlet flow is measured by a flow meter 5, and various water quality parameters are measured by using a water inlet sampling peristaltic pump 7 to extract water to a water quality detection device 6, and the water inlet pH value, alkalinity and fluoride concentration are detected online in real time.

[0039] Preferably, the fluoride concentration detection unit in the water inlet information collection module is provided with a buffer pump 9 and a fluoride online analyzer. According to the preset logic program, the central control module extracts an appropriate amount of water inlet and buffer to the water tank to be tested in the fluoride concentration detection unit by controlling the peristaltic frequency of the water inlet sampling peristaltic pump 7 and the buffer pump 9, so that the volume ratio of the water inlet to the buffer in the tank is 1:1, and a test sample is prepared. A fluoride online analyzer probe is inserted in the water tank, and the fluoride concentration of the test sample can be measured in real time. In addition, the fluoride concentration accuracy of the fluoride-containing standard sample measured by the traditional fluoride detection method in industrial wastewater (taking the inlet water directly as the fluoride concentration detection sample) is 95%, while the fluoride concentration deviation rate of the fluoride-containing standard sample measured by the fluoride detection method in the present invention is 99.5%, which is significantly improved by 4.74% compared with the detection accuracy of the fluoride detection method in traditional industrial wastewater. The buffer comprises sodium chloride, anhydrous sodium acetate, sodium hydroxide and citric acid. The sodium chloride in the buffer can maintain the stability of the total ion strength in the system being analyzed. The anhydrous sodium acetate and sodium hydroxide in the buffer can maintain the pH value of the analyzed system within an appropriate range, ensuring that all fluorides exist in a detectable form. The citric acid in the buffer acts as a masking agent, which can mask various interfering substances contained in the analyzed system.

[0040] Preferably, the fluoride detection method of the present invention adopts a sliding average of smoothed time series data, collects data every 20 seconds, and eliminates outliers in the data by calculating the mean of the data within 5 minutes, thereby improving the readability and comprehensibility of the data and reducing the errors caused by instantaneous data collection.

[0041] Preferably, the water quality detection device 6 is provided with a plurality of sensors connected to the central control module, and the data is transmitted to the real-time database of the central control module as the input variable of the dosing prediction control system 10. However, the high-concentration fluorine-containing wastewater discharged by many factories often exceeds the measuring range of the water quality detection device 6. For example, the measuring range of the traditional fluoride analyzer is 0-1000 mg / L, while the concentration of fluorine-containing wastewater discharged by some factories can be as high as 3000-4000 mg / L. Therefore, the water quality detection device 6 of the present invention is connected to the central control module, and a logic program is programmed in the central control module. If the inlet water quality parameter exceeds the measuring range of the water quality detection device 6 of the present invention, the central control module simultaneously starts the inlet water sampling peristaltic pump 7 and the pure water peristaltic pump 8 to pump water to the water quality detection device 6 to dilute the water sample, measure the various parameters of the diluted water sample, and multiply the measured value by the dilution multiple to obtain the inlet water quality information as the input variable data of the dosing prediction control system 10.

[0042] The process water information collection module is based on different information collection devices for the action tanks (neutralization tank 1, flocculation tank 3 and sedimentation tank 4) of the main defluorination process, and transmits the process water information to the central control module through sensors. The central control module then transmits the process water information and other information to the deviation correction module for feedback correction, thereby improving control accuracy.

[0043] Preferably, the process water information collection module installs a pH online detector 11 in the neutralization tank 1 to monitor the pH adjustment of the inlet water in real time and collect information, and only when the pH value is adjusted to 7.0-9.0 can the water valve be opened to allow the wastewater to flow to the reaction tank 2.

[0044] Preferably, the process water information collection module is equipped with a water alum flower image acquisition system 12 in the flocculation tank 3, which can automatically acquire an image every 5 seconds and transmit the image information to the central control module.

[0045] Preferably, the process water information collection module is connected to the effluent sampling peristaltic pump 13 on one side of the reaction tank 4, which can automatically and continuously extract the supernatant after the dosing treatment to the stirring reaction device 14 at a fixed frequency, and use the second buffer peristaltic pump 15 to add a buffer solution of the same volume as the test water sample as the water sample to be tested, and finally use the fluoride online analyzer 16 to detect the fluoride concentration of the water sample to be tested, and then transmit the effluent fluoride concentration to the central control module through the sensor.

[0046] The dosing prediction module, i.e., the dosing prediction control system 10, is established by using an adaptive neuro-fuzzy inference system based on the Takagi-Sugeno inference model, using the inlet flow, pH value, alkalinity and fluoride concentration, as well as the process water pH value setting value and the outlet fluoride concentration setting value as the input variables of the prediction model, and the dosing amount prediction values ​​of calcium hydroxide, calcium chloride and flocculant as the output of the prediction model, which are used to predict the dosing amount. The structure identification and parameter identification of the network are completed by combining the hybrid algorithm of the gradient descent method and the least squares method, and the specific parameters of the dosing prediction control system 10 are determined. The adaptive neuro-fuzzy inference system algorithm is written in the dosing prediction module program, and the algorithm is embedded in the program according to its interface function specification, realizing the intelligent control of the fluoride concentration of the wastewater treatment system. And compared with the dosing prediction model of the simple BP network, the average absolute error rate of the training data and test data of the Takagi-Sugeno prediction model is significantly reduced.

[0047] The Takagi-Sugeno inference rule is:

[0048] R i :IF x1 is A i 1 and…and x f is A i f ;

[0049] THEN y i 1 = g i 1(x1,x2,…,x f )and…and y i n =g i n (x1,x2,…,x f );

[0050] in,

[0051] R i (i=1,2,…,m) is the i-th rule;

[0052] m is the total number of rules of the fuzzy reasoning model;

[0053] x I (I=1,2,…,f) is the premise variable;

[0054] y i j (j=1,2,…,n) is the conclusion of the i-th rule;

[0055] A i I (I=1,2,…,f) is a fuzzy subset.

[0056] Let the input be (x 0 1,x 0 2,…,x 0 f ), the output is: u j =∑W i y i j / ∑W i ,(i=1,2,…,m,j=1,2,…,n);

[0057] W i = ΛA i I u j (A 0 I ), (i=1,2,…,m,I=1,2,…,f);

[0058] Among them, A i I u j (A 0 I ) is a membership function of continuous piecewise polynomial function type, which is taken as Gaussian type.

[0059] The dosing prediction control system is a multi-layer feedforward network with five layers in the network structure. The node function type of the same layer is the same. The first layer: fuzzification layer, which calculates the fuzzy membership value of the input signal; the second layer: rule activation strength, each node in this layer is fixed, and the output is the product of all input signals, which represents the activation strength of each rule; the third layer: activation strength normalization, each node in this layer is also fixed, and the i-th node calculates the ratio of the excitation strength of the i-th rule to the sum of the excitation strengths of all rules; the fourth layer: operation rules, each node in this layer is an adaptive node, representing the rule function; the fifth layer: defuzzification, the nodes in this layer are fixed, and all outputs of the fourth layer are summed to obtain the weighted average of each rule, which is used as the final output of the network.

[0060] Preferably, the dosing prediction control system 10 can be optimized by offline learning, online control and offline re-optimization. When offline, the laboratory test historical data that can reflect the defluorination process (influent parameters, process water pH value, effluent fluoride concentration and effective dosage of the agent) are selected as the learning sample set of the dosing prediction control system 10, and then this sample set is input into the training program of the dosing prediction control system 10 to obtain the model parameters, and finally the trained dosing prediction control system 10 program is written into the dosing prediction module; when online, the dosing amount of different agents can be predicted in real time according to the influent flow and water quality data collected by the influent information collection module and the process water quality data, and the signal is transmitted to the PLC system 22 by the sensor. After offline, the rich actual operation data stored in the PLC system 22 is used as an updated sample set, and trained again to obtain a more complete dosing prediction control system 10, and the optimized dosing prediction control system 10 is rewritten into the dosing prediction module.

[0061] The deviation correction module is used to eliminate internal interference in the system, further reduce errors, and perform feedback correction. A closed-loop system is constructed using the predicted deviation between the response of the dosing prediction control system 10 and the set value of the effluent fluoride concentration.

[0062] Preferably, for the revision of calcium chloride dosage, the sliding average value y of the effluent fluoride concentration under the action of the dosage u(k-1) at time k of the dosage prediction control system 10 is used. R The relative prediction deviation δ(k) between the actual fluoride concentration value output y(k) of the controlled object is y(k) = y(k) - y R (k), forming a closed loop to predict the output value y of the object at time k+1 P (k+1)=y R (k+1)+δ(k), select the quadratic objective optimization function J=[e p (k+1)-e d (k+1)] 2 +λ[e p (k+1)-δ(k)] 2 , e p (k+1)=sy R (k+1), e d (k+1)=ce p(k)-(1-c)δ(k), where: s is the set value of fluoride concentration, c is the softening coefficient, 0 < c < 1, the weighting coefficient λ ≥ 0, and the role of λ is to limit the drastic change of the control increment to reduce the excessive impact on the system. By comparing the previous water quality feedback calculation experience, the one-dimensional golden section method is preferably used to find the chemical dosage u(k) when the J function is minimized, that is, the chemical dosage when the error rate is minimized. Finally, the revised value of the chemical dosage is fed back to the PLC system 22.

[0063] For the revision of calcium hydroxide dosage, similar to the calcium chloride dosage revision model, the one-dimensional golden section method is used to explore the chemical dosage when the error rate is minimized;

[0064] Preferably, for the revision of flocculant dosage, the deviation correction module detects the floc target using the YOLOv5 algorithm based on the received water floc image information. After determining the position information and quantity information, image segmentation is performed using threshold segmentation to obtain parameters such as the number of flocs, area ratio, and equivalent diameter. The average value of the floc data within 5 minutes is selected as the water quality characteristic. Then, in combination with the influent water quality parameters and influent flow information, the detected flocs are classified using the KNN algorithm, and the parameters of the flocs in the image are comprehensively evaluated. At the same time, based on the previous machine learning experience of water quality prediction, a machine learning model is constructed using the previous water quality data as training samples through the Linear Regression algorithm to feedback the relationship between the flocculant dosage and the parameters of the process water flocs, and the revised value of the chemical dosage is obtained and fed back to the PLC system 22.

[0065] The chemical dosing execution module includes a calcium hydroxide dosing electromagnetic pump 18 and a standby pump, a calcium chloride dosing electromagnetic pump 19 and a standby pump, and a flocculant (polyacrylamide, PAM) dosing electromagnetic pump 20 and a standby pump. The dosing of the chemical is controlled by the variable frequency speed regulation of the electromagnetic pump, and the electromagnetic pump is controlled by the PLC controller.

[0066] The central control module generates a supervision instruction and sends it to the influent water information collection module and the process water information collection module. When the influent water information collection module and the process water information collection module receive the supervision instruction, they measure the influent water flow and take samples of the influent water and process water quality for testing to judge the influent water quality parameters and the water quality change of the process water, so as to facilitate the subsequent chemical dosing prediction module to accurately predict the chemical dosage according to different water quality conditions, which helps to improve the accurate control performance of the system. The specific method is as follows:

[0067] Before the fluorine-containing wastewater enters the neutralization tank 1 from the water inlet, the water inlet information collection module uses the flow meter 5 to calculate the water flow entering the neutralization tank, and uses the water inlet sampling peristaltic pump 7 to draw an appropriate amount of water to use the water quality detection device 6 to detect the pH value, alkalinity and fluoride concentration of the water. When detecting the fluoride ion concentration, the first buffer peristaltic pump 9 is started to draw the buffer and mix it with the water inlet according to the volume ratio of 1:1 between the water inlet and the buffer. The detection method uses the sliding average of smoothed time series data, collects data every 20 seconds, and eliminates abnormal values ​​in the data by calculating the data mean within 5 minutes, thereby improving the readability and comprehensibility of the data and reducing the errors caused by instantaneous data collection.

[0068] After receiving the inlet water quality information, the central control module can transmit the data to the real-time database of the PLC system 22 for subsequent analysis. If the inlet water quality parameters exceed the measurement range of the water quality detection device 6, the PLC system 22 will feedback and start the inlet water sampling peristaltic pump 7 and the pure water peristaltic pump 8 to pump water to the water quality detection device 6 to dilute the water sample, and measure various parameters of the diluted water sample, and multiply the measured value by the dilution multiple to obtain the inlet water quality parameters. This can effectively prevent the fluoride concentration of the inlet water from exceeding the measurement range, ensure that the prediction system receives accurate information, and then ensure that the fluoride concentration of the outlet water is close to the set value.

[0069] The process water information collection module is equipped with an online pH detector 11 in the neutralization tank 1 to monitor the pH adjustment of the inlet water in real time and collect information. Only when the pH value is adjusted to 7.0-9.0 can the water valve be opened to allow the wastewater to flow to the reaction tank 2. A water alum flower image acquisition system 12 is installed in the flocculation tank 3, which can automatically capture an image every 5 seconds. An outlet water sampling peristaltic pump 13 is set in the reaction tank 2, which can automatically collect water samples after drug addition treatment, and filter calcium fluoride particles with the help of a filter device 14 to obtain a test water sample, and then a buffer solution of the same volume as the test water sample is added with the help of a second buffer peristaltic pump 15 as the water sample to be tested, and finally a fluoride online analyzer 16 is used to detect the fluoride concentration of the water sample to be tested.

[0070] The dosing prediction control system 10 calculates the output dosing amount prediction value according to the input variables, and transmits the signal to the PLC system 22 by using the sensor. The PLC system 22 converts the signal and transmits it to the dosing execution module, and controls the calcium hydroxide dosing electromagnetic pump 18, the calcium chloride dosing electromagnetic pump 19 and the flocculant dosing electromagnetic pump 20 to perform precise dosing in different tanks.

[0071] After receiving the dosage prediction value, process water information and effluent standard setting value from the central control module, the deviation correction module 17 uses the one-dimensional golden section method to feedback control the dosage of calcium hydroxide and calcium chloride according to the process water pH value and the effluent fluoride concentration. At the same time, the Linear Regression algorithm is used to construct a machine learning model to feedback adjust the flocculant dosage based on the alum floc parameter data, and finally obtains the revised value of calcium chloride dosage and flocculant dosage, which makes up for the errors of various parameters in the prediction in terms of sensors, liquid performance and concentration.

[0072] The method for detecting the fluoride concentration in the effluent is as follows: a effluent sampling peristaltic pump 13 is set in the sedimentation tank 4, which can automatically and continuously collect the water sample after the dosing treatment at a fixed frequency and transport it to the stirring reaction device 14. At the same time, the second buffer peristaltic pump 15 draws an equal amount of buffer to the stirring reaction device 14 at the same frequency, and uses a fluoride online analyzer 16 to detect the fluoride concentration of the mixed solution. This fluoride information collection method can continuously monitor the fluoride concentration in the effluent and effectively feedback the trend change of the fluoride concentration in the effluent.

[0073] The method for collecting alum flower image data is as follows: an alum flower image acquisition system 12 is set in the flocculation tank 3, which can automatically collect images every 5 seconds and transmit the image information to the deviation correction module. The deviation correction module detects the alum flower target using the YOLOv5 algorithm according to the alum flower image information received in the water, and uses the threshold segmentation to segment the image after determining the position information and quantity information, and obtains the parameters such as the number of alum flowers, area proportion, equivalent diameter, and the average value of the alum flower data within 5 minutes as the water quality characteristic, and then uses the KNN algorithm to classify the detected alum flowers in combination with the inlet water quality parameters and the inlet flow information, and comprehensively evaluates the information of each parameter of the alum flowers in the image. At the same time, based on the machine learning experience of previous water quality prediction, the previous water quality data is used as a training sample to construct a machine learning model through the Linear Regression algorithm, and the relationship between the flocculant dosage and the various parameter information of the process water alum flowers is fed back to obtain the dosage revision value and feed it back to the PLC system 22.

[0074] The revised value of the dosage is sent to the PLC system 22, which converts it into a corresponding control signal and sends it to the dosing execution module to operate the calcium hydroxide dosing electromagnetic pump 18, the calcium chloride dosing electromagnetic pump 19 and the flocculant dosing electromagnetic pump 20 to perform precise dosing in different pools, thereby controlling the fluoride concentration in the reaction process and saving material costs and labor costs.

[0075] The intelligent dosing system for treating high-fluoride wastewater of the present invention can reduce the fluoride concentration in high-concentration fluoride-containing wastewater to below 1.5 mg / L, thereby achieving standard discharge.

Claims

1. An intelligent dosing method for treating high-fluoride wastewater, characterized in that: The following steps are involved: The inlet water information collection module collects the water flow of fluoride-containing wastewater entering the neutralization tank, detects the pH value, alkalinity and fluoride concentration of the inlet water, and then transmits the collected inlet water information data to the central control module; After receiving the water inflow information data, the central control module eliminates the abnormal values ​​in the data and saves the data in the real-time database; The dosing prediction module calculates the dosing amount prediction value of each agent at the next moment according to the inlet water information, process water pH value setting value and outlet water fluoride concentration setting value transmitted by the central control module, and transmits it to the central control module; The dosing prediction module adopts an adaptive neuro-fuzzy inference model, using the inlet water information, process water pH value set value and outlet fluoride concentration set value as the input variables of the prediction model, and the predicted value of different agent dosage as the output of the adaptive neuro-fuzzy inference model; The adaptive neural fuzzy inference model is optimized by offline learning, online control and offline re-optimization. When offline, the test history data of inlet water information, outlet water information and effective dosage are selected as the learning sample set, and then the sample set is input into the training program of the adaptive neural fuzzy inference model to obtain the antecedent parameters and consequent parameters of the adaptive neural fuzzy inference model, and finally the trained adaptive neural fuzzy inference model is written into the dosage prediction module; when online, the dosage of different agents is predicted in real time according to the inlet water information collected by the inlet water information collection module and the set value of the outlet water fluoride concentration, and transmitted to the central control module; after offline, the actual operation data stored in the central control module is used as the updated sample set for retraining to obtain a more complete adaptive neural fuzzy inference model, and the optimized adaptive neural fuzzy inference model is rewritten into the dosage prediction module; The process water information collection module collects the pH value of the process water in the neutralization tank, the image information of the alum flowers in the flocculation tank, and the fluoride concentration of the effluent from the sedimentation tank, and outputs them to the central control module; The central control module calculates the sliding average of the effluent fluoride concentration within the preset time, and calculates the deviation rate between the sliding average of the effluent fluoride concentration and the set value of the effluent fluoride concentration; if the deviation rate is greater than or equal to 10%, the deviation correction module is started, and the flocculant dosage revision value and the calcium chloride dosage revision value are obtained according to the alum flower image information and the effluent fluoride concentration in the water, and the revised values ​​are fed back to the central control module. The central control module controls the dosing execution module to dose the neutralization tank, the reaction tank and the flocculation tank respectively according to the dosage revision value of each agent; when the deviation correction module continuously starts the set threshold, the water supply is stopped for overall data analysis and then the wastewater treatment process is restarted; If the deviation rate is less than 10%, the central control module controls the dosing execution module to dose the neutralization tank, reaction tank and flocculation tank respectively according to the predicted value of the dosing amount of each agent; The specific deviation correction is: For the revision of the calcium chloride dosage, the sliding average value y of the effluent fluoride concentration under the action of the dosage u(k - 1) of the dosing prediction control system at time k - 1 is used R (k), and the relative prediction deviation δ(k) = y(k) - y R (k) between the measured value y(k) of the actual effluent fluoride concentration of the controlled object is used to form a closed loop to predict the output value y of the object at time k + 1 P (k + 1) = y R (k + 1) + δ(k). The quadratic objective optimization function J = [e p (k + 1) - e d (k + 1)] 2 + λ[e p (k + 1) - δ(k)] 2 , e p (k + 1) = s - y R (k + 1), e d (k + 1) = ce p (k) - (1 - c)δ(k), where: s is the set value of the fluoride concentration, c is the softening coefficient, 0 < c < 1, the weighting coefficient λ ≥ 0. The one-dimensional golden section method is used to find the dosage u(k) when the J function is minimized, that is, the dosage of the chemical agent when the error rate is minimized. Finally, the revised value of the calcium chloride chemical agent dosage is fed back to the central control module; For calcium hydroxide dosage revision, the same method is used as for calcium chloride dosage revision; For the revision of flocculant dosage, the deviation correction module detects the flocculent target using the YOLOv5 algorithm according to the received flocculent image information in the water, determines the position information and quantity information, and then uses the threshold segmentation to segment the image to obtain the number of floccules, area ratio, and equivalent diameter parameters. The average value of the flocculent data within the preset time is selected as the water quality characteristic, and the KNN algorithm is used to classify the detected floccules in combination with the inlet water quality parameters and the inlet flow information, and the information of each parameter of the floccules in the image is comprehensively evaluated. At the same time, based on the previous machine learning experience of water quality prediction, the previous water quality data is used as a training sample to build a machine learning model through the Linear Regression algorithm, and the relationship between the flocculant dosage and the various parameter information of the effluent floccules is fed back to obtain the revised value of the flocculant dosage and feed it back to the central control module.

2. The intelligent dosing method for treating high-fluorine wastewater according to claim 1, characterized in that: A peristaltic pump for sampling water outlet is set in the sedimentation tank to automatically and continuously collect water samples after drug addition and transport them to the stirred reactor. At the same time, the buffer peristaltic pump draws an equal amount of buffer into the stirred reactor at the same frequency, and the fluoride concentration of the mixed liquid is detected by a fluoride online analyzer.

3. A dosing system for the intelligent dosing method for treating high-fluoride wastewater according to any one of claims 1 to 2, comprising a neutralization tank, a reaction tank, a flocculation tank and a sedimentation tank, characterized in that: Also includes: Central control module, water inlet information collection module, dosing prediction module, process water information collection module, deviation correction module and dosing execution module; the water inlet information collection module is used to collect water inlet information and transmit the water inlet information to the database of the central control module in real time; the process water information collection module is used to collect process water information in the neutralization tank, flocculation tank and sedimentation tank, and transmit the process water information to the database of the central control module in real time; the dosing prediction module uses an adaptive neuro-fuzzy inference model to predict and output the dosing amount prediction value of different agents at the next moment based on the water inlet information, process water pH value setting value and effluent fluoride concentration setting value transmitted by the central control module, and transmits the dosing amount prediction value of different agents to the database of the central control module in real time; the deviation correction module uses the central control module to predict and output the dosing amount prediction value of different agents based on the central control module The process water information, dosage prediction value, process water pH value setting value and outlet fluoride concentration setting value transmitted by the block are used to calculate the dosage revision value of each agent, and the dosage revision values ​​of different agents are transmitted to the database of the central control module in real time; the dosage execution module performs dosage operations on the neutralization tank, reaction tank and flocculation tank respectively according to the dosage signal transmitted by the central control module; the central control module is used to control the operation of other modules, among which if the deviation rate between the outlet fluoride concentration at the previous moment and the outlet fluoride concentration setting value is greater than or equal to 10%, the deviation correction module is started to control the dosage execution module to perform dosage operations according to the dosage revision value; if the deviation rate is less than 10%, the deviation correction module is not started, and the dosage execution module is controlled to perform dosage operations according to the dosage prediction value; Among them, the adaptive neural fuzzy inference model adopts three methods of offline learning, online control and offline re-optimization for learning and optimization. When offline, the test history data of influent information, process water information and effective dosage are selected as the learning sample set, and then the learning sample set is input into the training program of the adaptive neural fuzzy inference model to obtain the parameters of the adaptive neural fuzzy inference model, and finally the trained adaptive neural fuzzy inference model is written into the dosage prediction module; when online, the dosage of different agents is predicted in real time according to the influent information collected by the influent information collection module, the process water pH value set value and the effluent fluoride concentration set value, and transmitted to the central control module; after offline, the actual operation data stored in the central control module is used as the updated sample set for retraining to obtain a more complete adaptive neural fuzzy inference model, and the optimized adaptive neural fuzzy inference model is rewritten into the dosage prediction module.

4. The dosing system according to claim 3, characterized in that: The water inlet information collection module includes a flow meter and a water quality detection device. One end of the water quality detection device is connected to the water inlet pipe through a water sampling peristaltic pump, and the other end is connected to the pure water pipe through a pure water peristaltic pump. At the same time, the fluoride analysis unit in the water quality detection device is connected to the buffer solution peristaltic pump.

5. The dosing system according to claim 3, characterized in that: The process water information collection module includes a pH online detector, an alum flower image acquisition system in water, an effluent sampling peristaltic pump, a stirring reaction device, a buffer solution peristaltic pump and a fluoride online analyzer. The pH online detector is arranged in a neutralization tank, the alum flower image acquisition system in water is arranged at the output end of a flocculation tank, the effluent sampling peristaltic pump is arranged in a sedimentation tank, the effluent water sample collected by the effluent sampling peristaltic pump and the buffer solution output by the buffer solution peristaltic pump are input into the stirring reaction device together for mixing and stirring, and the fluoride online analyzer collects and analyzes the effluent fluoride concentration of the mixed and stirred water sample in real time.

6. The dosing system according to claim 3, characterized in that: The central control module adopts a PLC control system, and is equipped with a low-dosage alarm system for the dosing box, a hardware failure alarm system, and an excessive water quality alarm system. If a failure occurs, the system will send out an alarm signal, display a fault indicator light, and automatically cut off the power supply to the water pump.

7. The dosing system according to claim 3, characterized in that: If the inlet water quality index exceeds the measurement range of the water quality detection device, the central control module controls the start of the inlet water sampling peristaltic pump and the pure water peristaltic pump to pump water to the water quality detection device to dilute the water sample, and measure the various water quality indicators of the diluted water sample, and multiply the measured value by the dilution multiple to obtain accurate inlet water quality indicators.

8. The dosing system according to claim 3, characterized in that: The deviation correction module uses the one-dimensional golden section method to feedback control the dosage of calcium hydroxide and calcium chloride according to the process water information, dosage prediction value, process water pH value set value and outlet fluoride concentration set value output by the central control module. At the same time, the LinearRegression algorithm is used to construct a machine learning model to feedback adjust the flocculant dosage based on the alum floc parameter data, and finally the revised values ​​of calcium hydroxide dosage, calcium chloride dosage and flocculant dosage are obtained.