Intelligent medicament regulation and control system based on model predictive control
Through the intelligent agent control system based on model predictive control, sewage detection and agent concentration detection equipment are used, combined with a microprocessor to dynamically control the agent, which solves the problem of insufficient or excessive agent dosage, achieves savings in agent use and improves treatment effects.
Patent Information
- Application Number
- CN202510832053.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-09-23
AI Technical Summary
Existing sewage treatment equipment has difficulty in adjusting the dosage of chemicals in real time according to the water quality of the sewage, resulting in insufficient or excessive dosage of chemicals, affecting the treatment effect and increasing costs.
An intelligent drug control system based on model predictive control is adopted. Through sewage detection mechanisms and drug concentration detection equipment, combined with a microprocessor, the amount of drug added is dynamically controlled, and flow sensors, water quality sensors and MPC algorithms are used to achieve precise drug delivery.
It realizes the automatic adjustment of the dosage of the chemical, reduces the waste of chemical and the cost of use, and reduces the lag of sewage treatment.
Smart Images

Figure CN120681809A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automatic drug dosing systems, and in particular relates to an intelligent drug control system based on model prediction dynamic control and a method for using the system. Background Art
[0002] With the acceleration of urbanization and industrialization, and the improvement of people's living standards, sewage discharge has increased dramatically. If effective treatment measures are not taken, this sewage will cause serious damage to the natural environment and ecosystem. Wastewater treatment not only reduces pollutant emissions, protects water bodies from eutrophication and water quality deterioration, and thus maintains the living environment of aquatic life, but also improves water resource utilization, helps achieve wastewater recycling, and reduces resource waste.
[0003] In the sewage treatment process, it is usually necessary to feed, stir, and precipitate and separate the sewage. Existing equipment usually adopts a quantitative feeding or manual feeding method when feeding. When the above method is used to feed the agent, it is difficult to adjust the amount of the agent in real time according to the water quality of the sewage. When the agent is fed too little, the impurities in the sewage cannot be fully aggregated, thereby reducing the sewage treatment effect; when the agent is fed too much, it will not only increase the cost of using the agent, but also cause excessive precipitation of turbidity in the sewage, forming a large amount of sediment. This will cause the sewage to produce more sludge during the sedimentation process, thereby increasing the sewage treatment cost. Summary of the Invention
[0004] The present invention provides an intelligent drug regulation system based on model prediction dynamic control and a method of using the system to at least solve some of the above technical problems.
[0005] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] An intelligent drug control system based on model predictive control includes a sewage treatment tank and a drug-dosing barrel bracket, as well as a drug mixing barrel arranged on the drug-dosing barrel bracket, a drug stirring mechanism arranged in the drug mixing barrel, a drug concentration detection device arranged in the drug mixing barrel, a drug discharge mechanism arranged on the drug-dosing barrel bracket and connected to the drug mixing barrel for adding drugs to the sewage treatment tank, a sewage detection mechanism arranged in the sewage treatment tank for detecting sewage, and a control mechanism arranged on the drug-dosing barrel bracket and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0007] Furthermore, the sewage detection mechanism includes a flow sensor arranged at the water inlet end of the sewage treatment tank, a first water quality sensor arranged at the water inlet end of the sewage treatment tank, a second water quality sensor arranged at the water outlet end of the sewage treatment tank, and a plurality of third water quality sensors evenly distributed in the sewage treatment tank and located between the first water quality sensor and the second water quality sensor; the flow sensor, the first water quality sensor, the second water quality sensor and the third water quality sensor are respectively connected to the control mechanism.
[0008] Furthermore, the medicine discharge mechanism includes a medicine delivery pipe connected to the medicine mixing barrel, a metering pump arranged on the medicine adding barrel bracket and connected to the medicine delivery pipe, a discharge pipe arranged on the medicine delivery pipe, and medicine nozzles evenly distributed on the discharge pipe.
[0009] Furthermore, the medicine discharge mechanism also includes a pulse damper provided on and connected to the medicine delivery pipe, a pressure gauge provided on the pulse damper, and a back pressure valve provided on the medicine delivery pipe.
[0010] Furthermore, the medicine stirring mechanism includes a mounting plate arranged on the top of the medicine mixing barrel, a driving mechanism arranged on the mounting plate and connected to the control mechanism, a first stirring shaft and several second stirring shafts connected to the driving mechanism, a first stirring blade arranged on the first stirring shaft, and a second stirring blade arranged on the second stirring shaft.
[0011] Furthermore, the driving mechanism includes a driving motor arranged on the mounting plate and connected to the first stirring shaft, an inner ring arranged on the mounting plate, a sun gear arranged on the first stirring shaft, and a planetary gear arranged on the second stirring shaft and meshing with the inner ring and the sun gear respectively.
[0012] Furthermore, the drug concentration detection device includes an online concentration sensor provided in the drug mixing barrel, and a liquid level meter provided in the drug mixing barrel; the online concentration sensor and the liquid level meter are respectively connected to the control mechanism.
[0013] Furthermore, it also includes an alarm device arranged on the dosing barrel bracket, and the alarm device includes an audible and visual alarm arranged on the dosing barrel bracket and connected to the control mechanism.
[0014] Furthermore, the control mechanism includes a control box arranged on the dosing barrel bracket, a microprocessor arranged in the control box, and a touch screen arranged in the control box and connected to the microprocessor; the microprocessor is respectively connected to the drug stirring mechanism, the drug concentration detection equipment, the drug discharge mechanism and the sewage detection mechanism.
[0015] A method for using an intelligent drug regulation system based on model predictive control is characterized by comprising the following steps:
[0016] S1. Add the sewage agent into the agent mixing barrel and start the agent stirring mechanism to mix the sewage agent; at the same time, the online concentration sensor detects the agent concentration in the agent mixing barrel and transmits the detection result to the microprocessor;
[0017] S2, the flow sensor monitors the flow of sewage in the sewage treatment tank in real time and transmits the detection results to the microprocessor. At the same time, the first water quality sensor detects the water quality of the sewage and transmits the detection results to the microprocessor; the microprocessor calculates the amount of the agent to be added based on the detection results of the flow sensor and the first water quality sensor and the concentration of the agent;
[0018] S3. Start the metering pump. The microprocessor controls the metering pump according to the amount of the added agent. The metering pump delivers the sewage agent mixed in the agent mixing barrel to the sewage treatment tank through the agent delivery pipe.
[0019] S4. The second water quality sensor detects the sewage quality in the middle of the sewage treatment tank and transmits the detection result to the microprocessor. When the detection result of the second water quality sensor is higher or lower than the preset value, the microprocessor calculates a first compensation amount of the agent according to the MPC algorithm. The microprocessor automatically adjusts the delivery rate of the metering pump according to the first compensation amount, thereby ensuring that the water quality in the middle of the sewage treatment tank can meet the discharge requirements;
[0020] S5. The third water quality sensor detects the sewage quality at the outlet of the sewage treatment pool and transmits the detection result to the microprocessor. When the detection result of the third water quality sensor is higher or lower than the preset value, the microprocessor calculates the second compensation amount of the agent according to the MPC algorithm; the microprocessor adjusts the delivery amount of the metering pump according to the second compensation amount, thereby realizing dynamic regulation of the agent.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The present invention has a simple structure, a scientific and reasonable design, and is easy to use. The control mechanism of the present invention adjusts the amount of added agent according to the detection results of the sewage detection mechanism, so that the amount of agent added can be automatically adjusted according to the sewage quality, thereby reducing the waste of the agent, saving the cost of using the agent, and at the same time reducing the hysteresis of the agent in sewage treatment.
[0023] The driving mechanism of the present invention can simultaneously drive the first stirring shaft and several second stirring shafts to rotate synchronously. The first stirring shaft drives the first stirring blade to rotate, thereby mixing the medicine and the diluent. The second stirring shaft drives the second stirring blade to rotate. The second stirring blade can further mix the medicine and the diluent during the rotation process, thereby facilitating the dilution of the medicine. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a structural schematic diagram of the present invention.
[0025] Figure 2 This is a schematic diagram of the medicine adding barrel bracket of the present invention.
[0026] Figure 3 Schematic diagram of the medicine mixing barrel of the present invention.
[0027] Figure 4 Schematic diagram of the medicine stirring mechanism of the present invention.
[0028] Figure 5 Schematic diagram of the sewage treatment tank of the present invention.
[0029] Figure 6 Schematic diagram of the control mechanism of the present invention.
[0030] Figure 7 This is a control block diagram of the present invention.
[0031] The names corresponding to the reference numerals are:
[0032] 1. Sewage treatment tank; 2. Dosing barrel bracket; 3. Chemical mixing barrel; 4. Flow sensor; 5. First water quality sensor; 6. Second water quality sensor; 7. Third water quality sensor; 8. Chemical delivery pipe; 9. Metering pump; 10. Discharge pipe; 11. Chemical nozzle; 12. Pulse damper; 13. Pressure gauge; 14. Back pressure valve; 15. Mounting plate; 16. First stirring shaft; 17. Second stirring shaft; 18. First stirring blade; 19. Second stirring blade; 20. Drive motor; 21. Internal gear ring; 22. Sun gear; 23. Planetary gear; 24. Online concentration sensor; 25. Liquid level meter; 26. Control box; 27. Microprocessor; 28. Touch screen; 29. Sound and light alarm. DETAILED DESCRIPTION
[0033] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0034] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have a specific orientation or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0035] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; of course, they may also refer to mechanical connections or electrical connections; in addition, they may refer to direct connections, indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0036] Example 1.
[0037] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0038] In the present invention, the agent mixing barrel 3 can store the agent, and the agent stirring mechanism can mix the agent and the diluent so that the diluted agent can meet the concentration of the agent and can meet the use requirements. The agent concentration detection equipment can detect the concentration of the agent in real time and transmit the detection result to the control mechanism. The sewage detection mechanism can detect the sewage water quality in the sewage treatment tank 1 and transmit the detection result to the control mechanism. The control mechanism calculates and obtains the amount of the agent according to the concentration of the agent and the detection result of the sewage detection mechanism. The control mechanism controls the operation of the agent discharge mechanism according to the amount of the agent. The agent discharge mechanism puts an equal amount of agent into the sewage treatment tank 1, so that the agent treats the sewage. At the same time, the sewage detection mechanism monitors the water quality after sewage treatment in real time and transmits the detection result to the control mechanism. The control mechanism adjusts the amount of the agent added according to the detection result of the sewage detection mechanism, thereby realizing the adjustment of the agent, thereby reducing the waste of the agent, saving the use cost of the agent, and reducing the hysteresis of the agent in sewage treatment.
[0039] Example 2.
[0040] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0041] The sewage detection mechanism includes a flow sensor 4 provided at the water inlet end of the sewage treatment tank 1, a first water quality sensor 5 provided at the water inlet end of the sewage treatment tank 1, a second water quality sensor 6 provided at the water outlet end of the sewage treatment tank 1, and a plurality of third water quality sensors 7 evenly distributed in the sewage treatment tank 1 and located between the first water quality sensor 5 and the second water quality sensor 6; the flow sensor 4, the first water quality sensor 5, the second water quality sensor 6 and the third water quality sensor 7 are respectively connected to the control mechanism.
[0042] In this embodiment 2, the flow sensor 4 can detect the inlet flow rate of sewage, thereby determining the sewage capacity in the sewage treatment tank 1. At the same time, the first water quality sensor 5 performs a preliminary test on the water quality in the sewage treatment tank 1 and transmits the test result to the microprocessor 27. The microprocessor 27 calculates the amount of the agent to be added based on the sewage capacity, the test result of the first water quality sensor 5, and the concentration of the agent, thereby obtaining the amount of the agent to be added, thereby facilitating the agent discharge mechanism to control the amount of the agent to be added. At the same time, the second water quality sensor 6 and the third water quality sensor 7 detect the sewage after the agent is treated and transmit the test result to the microprocessor 27. When the test result of the second water quality sensor 6 or the third water quality sensor 7 is higher or lower than the preset range value, the microprocessor 27 calculates the compensation amount of the agent to be added based on the test result of the second water quality sensor 6 or the third water quality sensor 7, the concentration of the agent, the amount of the agent added, and the sewage flow rate. The microprocessor 27 adjusts the discharge speed of the agent discharge mechanism based on the compensation amount, thereby ensuring the accuracy of the adjusted amount of the agent, thereby reducing the amount of agent used and ensuring that the sewage meets the discharge standard.
[0043] Example 3.
[0044] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0045] The drug discharge mechanism includes a drug delivery pipe 8 connected to the drug mixing barrel 3, a metering pump 9 provided on the drug adding barrel bracket 2 and connected to the drug delivery pipe 8, a discharge pipe 10 provided on the drug delivery pipe 8, and drug nozzles 11 evenly distributed on the discharge pipe 10.
[0046] In this embodiment 3, the drug delivery pipe 8 is connected to the discharge port of the drug mixing barrel 3, and the metering pump 9 is installed on the drug adding barrel bracket 2 and connected to the drug delivery pipe 8. When in use, the microprocessor 27 controls the metering pump 9 to operate, and the metering pump 9 pumps the drug in the drug mixing barrel 3 into the drug delivery pipe 8. The drug in the drug delivery pipe 8 is sprayed into the sewage treatment pool 1 through the drug nozzle 11 on the discharge pipe 10.
[0047] In this embodiment 3, a Y-shaped filter is provided on the medicine delivery tube 8 , and the Y-shaped filter can filter impurities in the medicine, thereby preventing the impurities from clogging the medicine delivery tube 8 .
[0048] Example 4.
[0049] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0050] The drug discharge mechanism includes a drug delivery pipe 8 connected to the drug mixing barrel 3, a metering pump 9 provided on the drug adding barrel bracket 2 and connected to the drug delivery pipe 8, a discharge pipe 10 provided on the drug delivery pipe 8, and drug nozzles 11 evenly distributed on the discharge pipe 10.
[0051] The medicine discharge mechanism further includes a pulse damper 12 provided on and connected to the medicine delivery pipe 8 , a pressure gauge 13 provided on the pulse damper 12 , and a back pressure valve 14 provided on the medicine delivery pipe 8 .
[0052] In this embodiment 4, the pulse damper 12 can buffer the flow rate of the medicine in the medicine delivery pipe 8, thereby reducing the fluid pressure generated by the medicine during the flow process, so that it can be discharged more smoothly; the pressure gauge 13 can monitor the pressure of the medicine in real time, so that the operator can observe the pressure of the medicine in the medicine delivery pipe 8. The back pressure valve 14 ensures that there is always a certain pressure in the medicine delivery pipe 8, thereby improving the output accuracy of the metering pump 9, thereby ensuring the accuracy of the amount of medicine delivered.
[0053] Example 5.
[0054] like Figure 1-7As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0055] The medicine stirring mechanism includes a mounting plate 15 provided on the top of the medicine mixing barrel 3, a driving mechanism provided on the mounting plate 15 and connected to the control mechanism, a first stirring shaft 16 and several second stirring shafts 17 connected to the driving mechanism, a first stirring blade 18 provided on the first stirring shaft 16, and a second stirring blade 19 provided on the second stirring shaft 17.
[0056] In this embodiment 5, the mounting plate 15 is arranged on the top of the medicine mixing barrel 3, and the driving mechanism is arranged on the mounting plate 15. The driving mechanism can simultaneously drive the first stirring shaft 16 and several second stirring shafts 17 to rotate synchronously. The first stirring shaft 16 drives the first stirring blade 18 to rotate, thereby mixing the medicine and the diluent. The second stirring shaft 17 drives the second stirring blade 19 to rotate. The second stirring blade 19 can further mix the medicine and the diluent during the rotation process, and can also scrape off the medicine attached to the inside of the medicine mixing barrel 3 and mix it with the diluent, so as to facilitate the dilution of the medicine.
[0057] In this embodiment 5, when the first stirring blade 18 rotates, the medicine and the diluent form a vortex in the medicine mixing barrel 3, and the second stirring blade 19 can stir the vortex-shaped medicine and diluent, thereby improving the mixing of the medicine and the diluent.
[0058] Example 6.
[0059] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0060] The medicine stirring mechanism includes a mounting plate 15 provided on the top of the medicine mixing barrel 3, a driving mechanism provided on the mounting plate 15 and connected to the control mechanism, a first stirring shaft 16 and several second stirring shafts 17 connected to the driving mechanism, a first stirring blade 18 provided on the first stirring shaft 16, and a second stirring blade 19 provided on the second stirring shaft 17.
[0061] The driving mechanism includes a driving motor 20 provided on the mounting plate 15 and connected to the first stirring shaft 16, an inner ring gear 21 provided on the mounting plate 15, a sun gear 22 provided on the first stirring shaft 16, and a planetary gear 23 provided on the second stirring shaft 17 and meshing with the inner ring gear 21 and the sun gear 22 respectively.
[0062] In this embodiment 6, the first stirring shaft 16 and the second stirring shaft 17 are rotatably mounted on the inner ring gear 21, and the sun gear 22 is mounted on the first stirring shaft 16, and the planetary gears 23 are respectively mounted on the corresponding second stirring shaft 17, and the planetary gears 23 are meshed with the inner ring gear 21 and the sun gear 22, and the drive motor 20 is connected to one end of the first stirring shaft 16. When in use, the drive motor 20 drives the first stirring shaft 16 to rotate, and the first stirring shaft 16 drives the sun gear 22 and the first stirring blade 18 to rotate synchronously, the sun gear 22 drives the planetary gears 23 to rotate, and the planetary gears 23 drive the second stirring shaft 17 and the second stirring blade 19 to rotate synchronously. During the rotation of the first stirring blade 18 and the second stirring blade 19, the medicine and the diluent are mixed, so that the concentration and activity of the medicine are in the best state.
[0063] Example 7.
[0064] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0065] The drug concentration detection device includes an online concentration sensor 24 provided in the drug mixing barrel 3 and a liquid level meter 25 provided in the drug mixing barrel 3; the online concentration sensor 24 and the liquid level meter 25 are respectively connected to the control mechanism.
[0066] In this embodiment 7, the online concentration sensor 24 is arranged in the medicine mixing barrel 3, and the online concentration sensor 24 can monitor the concentration of the medicine in the medicine mixing barrel 3 in real time, and transmit the detection result to the microprocessor 27, so as to facilitate the determination of the amount of medicine added. At the same time, the liquid level meter 25 can detect the amount of medicine in the medicine mixing barrel 3 and transmit the detection result to the microprocessor 27. The microprocessor 27 displays the remaining amount of the medicine through the touch screen 28, so as to facilitate the operator to determine the amount of medicine in the medicine mixing barrel 3.
[0067] Example 8.
[0068] like Figure 1-7 As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0069] It also includes an alarm device arranged on the dosing barrel bracket 2, and the alarm device includes an audible and visual alarm 29 arranged on the dosing barrel bracket 2 and connected to the control mechanism.
[0070] In this embodiment 8, the sound and light alarm 29 is installed on the sound and light alarm 29 and is connected to the microprocessor 27. When in use, when the liquid level meter 25 detects that the amount of medicine in the medicine mixing barrel 3 is lower than the preset value, the liquid level meter 25 transmits the detection result to the microprocessor 27, and the microprocessor 27 compares the detection result of the liquid level meter 25 with the preset value. When the detection result of the liquid level meter 25 is lower than the preset value, the microprocessor 27 controls the sound and light alarm 29 to sound an alarm, thereby reminding the operator to add medicine.
[0071] Example 9.
[0072] like Figure 1-7As shown, the intelligent drug control system based on model predictive control provided by the present invention includes a sewage treatment tank 1 and a drug dosing barrel bracket 2, and also includes a drug mixing barrel 3 arranged on the drug dosing barrel bracket 2, a drug stirring mechanism arranged in the drug mixing barrel 3, a drug concentration detection device arranged in the drug mixing barrel 3, a drug discharge mechanism arranged on the drug dosing barrel bracket 2 and connected to the drug mixing barrel 3 for adding drugs to the sewage treatment tank 1, a sewage detection mechanism arranged in the sewage treatment tank 1 for detecting sewage, and a control mechanism arranged on the drug dosing barrel bracket 2 and respectively connected to the drug stirring mechanism, the drug concentration detection device, the drug discharge mechanism and the sewage detection mechanism.
[0073] The control mechanism includes a control box 26 arranged on the dosing barrel bracket 2, a microprocessor 27 arranged in the control box 26, and a touch screen 28 arranged in the control box 26 and connected to the microprocessor 27; the microprocessor 27 is respectively connected to the drug stirring mechanism, the drug concentration detection equipment, the drug discharge mechanism and the sewage detection mechanism.
[0074] In this embodiment 9, the control box 26 is arranged on the dosing barrel bracket 2, and the microprocessor 27 is arranged in the control box 26. The microprocessor 27 is respectively connected to the flow sensor 4, the first water quality sensor 5, the second water quality sensor 6, the third water quality sensor 7, the metering pump 9, the drive motor 20, the online concentration sensor 24, the liquid level meter 25 and the touch screen 28. The touch screen 28 can facilitate manual operation by the operator, and can also display the detection data of the flow sensor 4, the first water quality sensor 5, the second water quality sensor 6, the third water quality sensor 7, the metering pump 9, the drive motor 20, the online concentration sensor 24, and the liquid level meter 25, so as to facilitate the addition of the agent.
[0075] The microprocessor 27 of the present invention is an MPC controller. The MPC controller establishes an MPC model through an MPC algorithm (the MPC model is a prior art and its principle will not be described in detail here), and uses the MPC model to predict future water quality change trends, and combines the detection results of the flow sensor 4, the detection results 5 of the first water quality sensor, the detection results of the second water quality sensor 6, the detection results of the third water quality sensor 7, and the detection results of the online concentration sensor 24 to calculate in advance the optimal or suboptimal dosage of the agent and its adjustment strategy. Specifically, the microprocessor 27 calculates the initial dosage of the agent based on the detection results of the flow sensor 4, the detection results 5 of the first water quality sensor, the detection results of the online concentration sensor 24 and the target water quality, and controls the operation of the metering pump 9 to facilitate the adjustment of the dosage of the agent. The agent is added, and at the same time, the microprocessor 27 calculates a first compensation amount according to the detection results of the flow sensor 4, the detection results of the second water quality sensor 6, the detection results of the online concentration sensor 24, the initial dosage and the target water quality. The microprocessor 27 controls the operating speed of the metering pump 9 according to the first compensation amount, so as to reduce the hysteresis of the agent when treating sewage. At the same time, the microprocessor 27 calculates the second compensation amount according to the detection results of the flow sensor 4, the detection results of the third water quality sensor 7, the detection results of the online concentration sensor 24, the target water quality, the first compensation amount and the initial dosage, so as to ensure that the water quality meets the discharge requirements. At the same time, the dosage of the agent can be automatically adjusted according to the sewage quality, so as to reduce the amount of agent used and save the cost of using the agent.
[0076] The touch screen 28 is connected to the microprocessor 27. The touch screen 28 can facilitate the operator to adjust the dosage of the medicine, and can also facilitate the operator to check various links of the medicine control system.
[0077] In the present invention, the medicine mixing barrel 3 is provided with a medicine feeding port (not shown in the figure) and a dilution feeding port (not shown in the figure), so as to facilitate feeding the medicine and the diluent into the medicine mixing barrel 3 for mixing.
[0078] The method for using the intelligent drug regulation system based on model predictive control includes the following steps:
[0079] S1. Add the sewage agent into the agent mixing barrel 3, start the agent stirring mechanism, and the agent stirring mechanism mixes the sewage agent; at the same time, the online concentration sensor 24 detects the agent concentration in the agent mixing barrel 3, and transmits the detection result to the microprocessor 27; specifically, the operator adds the agent and diluent in equal proportions into the agent mixing barrel 3 through the agent feeding port and the dilution feeding port, starts the drive motor 20, and the drive motor 20 drives the first stirring shaft 16 to rotate, the first stirring shaft 16 drives the sun gear 22 and the first stirring blade 18 to rotate synchronously, the sun gear 22 drives the planetary gear 23 to rotate, and the planetary gear 23 drives the second stirring shaft 17 and the second stirring blade 19 to rotate synchronously, and the first stirring blade 18 and the second stirring blade 19 mix the agent and the diluent during the rotation process, and at the same time, the online concentration sensor 24 and the liquid level meter 25 respectively detect the concentration and amount of the agent, and transmit the detection results to the microprocessor 27;
[0080] S2, the flow sensor 4 monitors the flow of sewage in the sewage treatment tank 1 in real time and transmits the detection results to the microprocessor 27. At the same time, the first water quality sensor 5 detects the water quality of the sewage and transmits the detection results to the microprocessor 27. The microprocessor 27 calculates the amount of the added agent based on the detection results of the flow sensor 4 and the first water quality sensor 5 and the concentration of the agent. Specifically, the flow sensor 4 and the first water quality sensor 5 detect the flow rate of the sewage and the preliminary water quality of the sewage respectively, and transmits the detection results to the microprocessor 27. The microprocessor 27 calculates the amount of the added agent based on the calculation formula: The dosage of the agent is calculated, where Q is the detection result of the flow sensor 4, ΔC is the pollutant removal amount, pollutant removal amount = the detection result of the first water quality sensor 5 - target concentration, η is the reaction ratio of the agent to the sewage, and f is the agent concentration, thereby calculating the dosage of the agent;
[0081] S3. Start the metering pump 9. The microprocessor 27 controls the metering pump 9 to operate according to the amount of reagent added. The metering pump 9 delivers the sewage reagent mixed in the reagent mixing barrel 3 to the sewage treatment tank 1 through the reagent delivery pipe 8. Specifically, the microprocessor 27 controls the metering pump 9 to operate. The metering pump 9 pumps the reagent in the reagent mixing barrel 3 into the reagent delivery pipe 8. The reagent in the reagent delivery pipe 8 is sprayed into the sewage treatment tank 1 through the reagent nozzle 11 on the discharge pipe 10.
[0082] S4. The second water quality sensor 6 detects the sewage quality in the middle of the sewage treatment tank 1 and transmits the detection result to the microprocessor 27. When the detection result of the second water quality sensor 6 is higher or lower than the preset value, the microprocessor 27 calculates a first compensation amount of the reagent according to the MPC algorithm. The microprocessor 27 automatically adjusts the delivery amount of the metering pump 9 according to the first compensation amount; thereby ensuring that the water quality in the middle of the sewage treatment tank 1 can meet the discharge requirements, while also reducing the hysteresis of the reagent in the sewage treatment;
[0083] S5. The third water quality sensor 7 detects the sewage quality at the outlet of the sewage treatment tank 1 and transmits the detection result to the microprocessor 27. When the detection result of the third water quality sensor 7 is higher or lower than the preset value, the microprocessor 27 calculates the second compensation amount of the agent according to the MPC algorithm; the microprocessor 27 adjusts the delivery amount of the metering pump 9 according to the second compensation amount; thereby realizing dynamic regulation of the agent, so that the dosage of the agent can be automatically adjusted according to the sewage quality, thereby reducing the usage of the agent.
[0084] The MPC algorithm is an existing algorithm and will not be described in detail here.
[0085] The first water quality sensor 5, the second water quality sensor 6, and the third water quality sensor 7 of the present invention are water quality sensors, such as turbidity sensors, pH sensors, ammonia nitrogen sensors, etc. The specific water quality sensors used can be selected according to needs.
[0086] The microprocessor 27, flow sensor 4, first water quality sensor 5, second water quality sensor 6, third water quality sensor 7, metering pump 9, drive motor 20, online concentration sensor 24, liquid level meter 25, touch screen 28, pulse damper 12 and back pressure valve 14 used in the present invention are all existing technologies and can be purchased and used directly on the market. Therefore, the structure, circuit and principle of the microprocessor 27, flow sensor 4, first water quality sensor 5, second water quality sensor 6, third water quality sensor 7, metering pump 9, drive motor 20, online concentration sensor 24, liquid level meter 25, touch screen 28, pulse damper 12 and back pressure valve 14 will not be elaborated here.
[0087] Finally, it should be noted that the above embodiments are merely preferred embodiments of the present invention and are intended to illustrate the technical solutions of the present invention, rather than limiting them, and certainly not limiting the patent scope of the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features therein may be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention. In other words, any changes or refinements made to the main design concept and spirit of the present invention that have no substantive significance, provided that the technical problems they solve are still consistent with those of the present invention, should be included in the protection scope of the present invention. In addition, the direct or indirect application of the technical solutions of the present invention to other related technical fields should also be included in the patent protection scope of the present invention.
Claims
1. An intelligent drug control system based on model predictive control, comprising a sewage treatment tank (1) and a drug-adding barrel support (2), characterized in that: The invention also includes a medicine mixing barrel (3) arranged on the medicine adding barrel bracket (2), a medicine stirring mechanism arranged in the medicine mixing barrel (3), a medicine concentration detection device arranged in the medicine mixing barrel (3), a medicine discharge mechanism arranged on the medicine adding barrel bracket (2) and connected to the medicine mixing barrel (3) for adding medicine into the sewage treatment tank (1), a sewage detection mechanism arranged in the sewage treatment tank (1) for detecting sewage, and a control mechanism arranged on the medicine adding barrel bracket (2) and respectively connected to the medicine stirring mechanism, the medicine concentration detection device, the medicine discharge mechanism and the sewage detection mechanism.
2. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: The sewage detection mechanism comprises a flow sensor (4) arranged at the water inlet end of the sewage treatment pool (1), a first water quality sensor (5) arranged at the water inlet end of the sewage treatment pool (1), a second water quality sensor (6) arranged at the water outlet end of the sewage treatment pool (1), and a plurality of third water quality sensors (7) evenly distributed in the sewage treatment pool (1) and located between the first water quality sensor (5) and the second water quality sensor (6); the flow sensor (4), the first water quality sensor (5), the second water quality sensor (6) and the third water quality sensor (7) are respectively connected to the control mechanism.
3. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: The medicine discharge mechanism comprises a medicine delivery pipe (8) connected to a medicine mixing barrel (3), a metering pump (9) arranged on a medicine adding barrel support (2) and connected to the medicine delivery pipe (8), a discharge pipe (10) arranged on the medicine delivery pipe (8), and medicine nozzles (11) uniformly distributed on the discharge pipe (10).
4. The intelligent drug regulation system based on model predictive control according to claim 3 is characterized in that: The medicine discharge mechanism further includes a pulse damper (12) provided on and connected to the medicine delivery pipe (8), a pressure gauge (13) provided on the pulse damper (12), and a back pressure valve (14) provided on the medicine delivery pipe (8).
5. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: The medicine stirring mechanism comprises a mounting plate (15) arranged on the top of the medicine mixing barrel (3), a driving mechanism arranged on the mounting plate (15) and connected to a control mechanism, a first stirring shaft (16) and a plurality of second stirring shafts (17) connected to the driving mechanism, a first stirring blade (18) arranged on the first stirring shaft (16), and a second stirring blade (19) arranged on the second stirring shaft (17).
6. The intelligent drug regulation system based on model predictive control according to claim 5, characterized in that: The driving mechanism comprises a driving motor (20) provided on a mounting plate (15) and connected to a first stirring shaft (16), an inner gear ring (21) provided on the mounting plate (15), a sun gear (22) provided on the first stirring shaft (16), and a planetary gear (23) provided on a second stirring shaft (17) and meshing with the inner gear ring (21) and the sun gear (22).
7. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: The drug concentration detection device comprises an online concentration sensor (24) arranged on the drug mixing barrel (3) and a liquid level meter (25) arranged in the drug mixing barrel (3); the online concentration sensor (24) and the liquid level meter (25) are respectively connected to a control mechanism.
8. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: It also includes an alarm device arranged on the medicine-dosing barrel bracket (2), and the alarm device includes an audible and visual alarm (29) arranged on the medicine-dosing barrel bracket (2) and connected to the control mechanism.
9. The intelligent drug regulation system based on model predictive control according to claim 1, characterized in that: The control mechanism comprises a control box (26) arranged on a medicine adding barrel support (2), a microprocessor (27) arranged in the control box (26), and a touch screen (28) arranged in the control box (26) and connected to the microprocessor (27); the microprocessor (27) is respectively connected to a medicine stirring mechanism, a medicine concentration detection device, a medicine discharge mechanism and a sewage detection mechanism.
10. The method for using the intelligent drug regulation system based on model predictive control according to any one of claims 1 to 8, characterized in that: The following steps are involved: S1. Add the sewage agent into the agent mixing barrel and start the agent stirring mechanism to mix the sewage agent; at the same time, the online concentration sensor detects the agent concentration in the agent mixing barrel and transmits the detection result to the microprocessor; S2, the flow sensor monitors the flow of sewage in the sewage treatment tank in real time and transmits the detection results to the microprocessor. At the same time, the first water quality sensor detects the water quality of the sewage and transmits the detection results to the microprocessor; The microprocessor calculates the amount of the agent to be added based on the detection results of the flow sensor and the first water quality sensor and the concentration of the agent; S3. Start the metering pump. The microprocessor controls the metering pump according to the amount of the added agent. The metering pump delivers the mixed agent in the agent mixing barrel to the sewage treatment tank through the agent delivery pipe. S4. The second water quality sensor detects the sewage quality in the middle of the sewage treatment tank and transmits the detection result to the microprocessor. When the detection result of the second water quality sensor is higher or lower than the preset value, the microprocessor calculates a first compensation amount of the agent according to the MPC algorithm. The microprocessor automatically adjusts the delivery rate of the metering pump according to the first compensation amount, thereby ensuring that the water quality in the middle of the sewage treatment tank meets the discharge requirements; S5. The third water quality sensor detects the sewage quality at the outlet of the sewage treatment pool and transmits the detection result to the microprocessor. When the detection result of the third water quality sensor is higher or lower than the preset value, the microprocessor calculates the second compensation amount of the agent according to the MPC algorithm; the microprocessor adjusts the delivery amount of the metering pump according to the second compensation amount, thereby realizing dynamic regulation of the agent.
Citation Information
Patent Citations
Intelligent dosing flocculent precipitation system
CN114275866A
Planetary dosing stirrer convenient for discharging
CN216458347U