An intelligent control method and system for phosphorus removal and chemical dosing in domestic sewage treatment
By configuring a variety of water quality sensors and adaptive control algorithms in the sewage treatment device, real-time monitoring of water quality changes and precise control of the dosage of phosphorus removal agents are achieved, which solves the problems of slow response and inaccurate dosing in traditional sewage treatment technologies, and improves the efficiency and reliability of water quality treatment.
Patent Information
- Application Number
- CN202411340151.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2044-09-25
AI Technical Summary
Traditional sewage treatment technology cannot respond to changes in water quality in real time, resulting in inaccurate injection of phosphorus removal agents, increasing operating costs and environmental pollution risks.
By configuring a variety of water quality sensors at the inlet and outlet of the sewage treatment device, pH, turbidity, chemical oxygen demand and total phosphorus concentration can be monitored in real time. The dosage of phosphorus removal agent is dynamically calculated using an adaptive control algorithm, and the dosage is carried out through the dosing control unit, the reaction is monitored in real time, and the control algorithm parameters are dynamically adjusted.
Real-time response to water quality changes is achieved, precise control of the dosage of phosphorus removal agents is used, and the risks of waste and environmental pollution are reduced, and the pass rate of water quality treatment and the adaptability of the system are improved.
Smart Images

Figure CN119059589B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chemical phosphorus removal, and particularly to an intelligent control method and system for dosing phosphorus removal in domestic sewage treatment. Background Art
[0002] Traditional sewage treatment technologies often rely on fixed chemical dosing strategies and cannot respond to water quality changes in real time, resulting in unstable treatment effects and potentially causing over-dosing or under-dosing of phosphorus removal agents, thereby increasing operating costs and potential negative impacts on the environment. In addition, many intelligent control systems lack effective monitoring and analysis of real-time water quality data, leading to an inability to accurately determine whether the water quality meets the treatment requirements. Existing adaptive control algorithms often fail to fully consider the comprehensive influence of multiple water quality parameters when dynamically adjusting the dosing amount of phosphorus removal agents. Summary of the Invention
[0003] In view of the above existing problems, the present invention is proposed.
[0004] Therefore, the present invention provides an intelligent control method and system for dosing phosphorus removal in domestic sewage treatment, which solves the problems of slow response to water quality changes and inaccurate dosing of phosphorus removal agents in traditional sewage treatment methods.
[0005] To solve the above technical problems, the present invention provides the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides an intelligent control method for dosing phosphorus removal in domestic sewage treatment, which includes configuring a variety of water quality sensors at the inlet end and outlet end of the domestic sewage treatment device to collect water quality data;
[0007] Analyze the water quality data to determine whether the current water quality meets the treatment requirements;
[0008] Based on the judgment result, start an adaptive control algorithm to dynamically calculate the dosing amount of the phosphorus removal agent and upload it to the dosing control unit;
[0009] The dosing control unit implements the dosing operation of the phosphorus removal agent, monitors the reaction situation in the mixing tank, and records the water quality changes after the dosing of the phosphorus removal agent;
[0010] Compare the water quality changes after the dosing of the phosphorus removal agent with the effluent standard, and dynamically adjust the parameters of the adaptive control algorithm.
[0011] As a preferred solution of the intelligent control method for dosing phosphorus removal in domestic sewage treatment according to the present invention, wherein: the variety of water quality sensors include a pH sensor, a turbidity sensor, a COD sensor, and a total phosphorus sensor;
[0012] The water quality data includes pH value, turbidity, chemical oxygen demand, and total phosphorus concentration.
[0013] As a preferred embodiment of the intelligent phosphorus removal chemical dosing control method for treating domestic sewage according to the present invention, the method includes analyzing water quality data and calculating the comprehensive water quality, which comprises the following steps:
[0014] Adopt the Z-score normalization method to remove outliers and noise in the water quality data;
[0015] Use the processed current water quality data to calculate the comprehensive water quality, expressed as:
[0016]
[0017] where Q represents the comprehensive water quality, X′ pH represents the processed current pH value, X′ T represents the processed current turbidity, X′ COD represents the processed current chemical oxygen demand, X′ TP represents the processed current total phosphorus concentration, and n represents the number of water quality data.
[0018] As a preferred embodiment of the intelligent phosphorus removal chemical dosing control method for treating domestic sewage according to the present invention, the method includes judging whether the current water quality meets the treatment requirements based on the calculated comprehensive water quality, which comprises the following steps:
[0019] Set the comprehensive water quality threshold according to the statistical analysis of historical water quality data and national water quality standards;
[0020] When the comprehensive water quality is greater than the comprehensive water quality threshold, it is determined that the treatment requirements are not met, and the dosing amount of the phosphorus remover is calculated;
[0021] When the comprehensive water quality is less than or equal to the comprehensive water quality threshold, it is determined that the treatment requirements are met, stop dosing the phosphorus remover, and maintain the existing state.
[0022] As a preferred embodiment of the intelligent phosphorus removal chemical dosing control method for treating domestic sewage according to the present invention, the method includes starting an adaptive control algorithm based on the judgment result, dynamically calculating the dosing amount of the phosphorus remover, and uploading it to the chemical dosing control unit, which comprises the following steps:
[0023] When the treatment requirements are met, directly treat the domestic sewage;
[0024] When the treatment requirements are not met, start the adaptive control algorithm and dynamically calculate the dosing amount of the phosphorus remover, expressed as:
[0025]
[0026] where D f represents the dosing amount of the phosphorus remover, D0 represents the initial reference dosing amount, and TPt represents the target total phosphorus concentration, k1 represents the pH influence coefficient, k2 represents the turbidity influence coefficient, k3 represents the COD influence coefficient, and COD max represents the maximum COD value, α represents the non-linear adjustment coefficient, and TP th represents the total phosphorus concentration threshold;
[0027] Convert the calculated dosage of the phosphorus removal agent into the format of the dosing control unit and upload it to the dosing control unit in real time.
[0028] As a preferred embodiment of the intelligent control method for phosphorus addition and dosing in treating domestic sewage according to the present invention, wherein: the dosing control unit implements the dosing operation of the phosphorus removal agent, monitors the reaction situation in the mixing tank, and records the water quality changes after the dosing of the phosphorus removal agent, including the following steps,
[0029] Check the operating status of the dosing control unit, set the dosing rate of the phosphorus removal agent according to the calculated dosage of the phosphorus removal agent, start the dosing control unit, start dosing the phosphorus removal agent, record the start time of dosing, and during the dosing process, monitor the water quality data in the mixing tank in real time and regularly record the changes in various water quality data after dosing;
[0030] After dosing, use on-line monitoring instruments to measure the water quality changes in the mixing tank, compare the real-time monitored data with the baseline data before dosing, judge the reaction effect of the phosphorus removal agent, and when abnormal conditions are detected, immediately stop dosing and analyze the reasons, and adjust the dosing strategy.
[0031] As a preferred embodiment of the intelligent control method for phosphorus addition and dosing in treating domestic sewage according to the present invention, wherein: compare the water quality changes after the dosing of the phosphorus removal agent with the effluent standard, and dynamically adjust the parameters of the adaptive control algorithm, including the following steps,
[0032] Obtain the current water quality effluent standard, compare the water quality data after the dosing of the phosphorus removal agent with the effluent standard, calculate the pass rate of the total phosphorus concentration, record the result of the water quality comparison, and form a monitoring result;
[0033] When the monitoring result indicates that the effluent standard is met, do not adjust the parameters. When the monitoring result finds that the effluent standard is not met, adjust the parameters of the control algorithm based on the monitoring result, recalculate the dosing amount, and adjust the sensitivity;
[0034] Until the comprehensive water quality meets the treatment requirements, treat the domestic sewage.
[0035] In a second aspect, the present invention provides an intelligent control system for phosphorus addition and dosing in treating domestic sewage, including a water quality data acquisition module, which is responsible for configuring a variety of water quality sensors at the inlet end and the outlet end of the domestic sewage treatment device to collect water quality data;
[0036] The water quality diagnosis and analysis module is responsible for analyzing water quality data and determining whether the current water quality meets the treatment requirements;
[0037] The dynamic dosage calculation module is responsible for starting the adaptive control algorithm based on the judgment results, dynamically calculating the dosage of the dephosphorization agent, and uploading it to the dosing control unit;
[0038] The dosing implementation and monitoring module is responsible for the dosing control unit to implement the dephosphorization agent placement operation, monitor the reaction of the mixing tank, and record the water quality changes after the dephosphorization agent is placed;
[0039] The effect comparison and parameter adjustment module is responsible for comparing the changes in water quality after the addition of the phosphorus removal agent with the effluent standards and dynamically adjusting the parameters of the adaptive control algorithm.
[0040] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the intelligent control method for phosphorus removal and dosing for treating domestic sewage as described in the first aspect of the present invention is implemented.
[0041] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the intelligent control method for phosphorus removal and dosing for treating domestic sewage as described in the first aspect of the present invention.
[0042] The beneficial effects of the present invention are as follows: through the configuration of sensors, real-time monitoring of pH, turbidity, chemical oxygen demand and total phosphorus concentration is ensured, providing a comprehensive data basis for subsequent intelligent analysis and reducing improper treatment caused by water quality fluctuations. Standardized methods are used to eliminate outliers to ensure accurate analysis of water quality data, and by comprehensively calculating the comprehensive quality of water quality, reasonable thresholds are set based on historical data and national standards, providing a basis for the precise addition of dephosphorization agents. When dynamically calculating the amount of dephosphorization agent added, the system can make timely adjustments to reduce the waste of dephosphorization agents and the risk of environmental pollution, and ensure that the treated water quality meets the standards. After the dephosphorization agent is put into use, the reaction in the mixing tank is monitored in real time to ensure that the dephosphorization agent is evenly distributed and can respond quickly to abnormal situations to avoid errors in dosing. By comparing with the effluent standard, the control algorithm parameters are dynamically adjusted, and the dosing strategy is further optimized, thereby improving the qualified rate of water quality treatment and the adaptive ability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0044] Figure 1 It is a flowchart of the intelligent control method for phosphorus addition in treating domestic sewage in Example 1.
[0045] Figure 2 It is a judgment diagram for whether the domestic sewage in Example 1 meets the treatment requirements. Specific Embodiments
[0046] To make the above objects, features, and advantages of the present invention more obvious and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings of the specification.
[0047] In the following description, many specific details are set forth to facilitate a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Those skilled in the art can make similar generalizations without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0048] Secondly, the so-called "one embodiment" or "embodiment" herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it an individual or alternative embodiment that is mutually exclusive with other embodiments.
[0049] Example 1, referring to Figure 1 and Figure 2 , is the first embodiment of the present invention. This embodiment provides an intelligent control method for phosphorus addition in treating domestic sewage, including the following steps:
[0050] S1. Configure a variety of water quality sensors at the inlet and outlet ends of the domestic sewage treatment device to collect water quality data.
[0051] The variety of water quality sensors include a pH sensor, a turbidity sensor, a COD sensor, and a total phosphorus sensor;
[0052] The water quality data includes pH value, turbidity, chemical oxygen demand, and total phosphorus concentration.
[0053] It should be noted that by configuring pH, turbidity, COD, and total phosphorus sensors at the inlet and outlet ends of the domestic sewage treatment device, real-time and comprehensive water quality data collection is achieved. These data provide basic information for subsequent intelligent analysis, ensuring that water quality changes can be promptly reflected, thereby improving the response speed and accuracy of sewage treatment, and effectively reducing improper treatment caused by water quality fluctuations.
[0054] S2. Analyze the water quality data to determine whether the current water quality meets the treatment requirements.
[0055] Adopt the Z - score normalization method to eliminate outliers and noise in water quality data;
[0056] Use the processed current water quality data to calculate the comprehensive water quality, expressed as,
[0057]
[0058] where Q represents the comprehensive water quality, X′ pH represents the processed current pH value, X′ T represents the processed current turbidity, X′ COD represents the processed current chemical oxygen demand, X′ TP represents the processed current total phosphorus concentration, and n represents the number of water quality data.
[0059] It should be noted that the basis for designing the comprehensive water quality calculation formula is to comprehensively evaluate the overall water quality status of the water body by considering multiple important water quality parameters (pH value, turbidity, chemical oxygen demand, and total phosphorus concentration). First, the product form in the formula reflects the mutual influence among parameters, believing that the comprehensive water quality cannot depend solely on a single index but should consider the combined effect of various factors. For example, the influence of pH value on chemical reactions in water, the influence of turbidity on light transmittance, and the harm of COD and total phosphorus concentration to the ecosystem are all reflected in the formula. Second, by taking the geometric mean (i.e., taking the nth root) of these parameters, the influence of extreme values on the comprehensive quality can be effectively reduced, ensuring that the calculation results are more robust. In addition, substituting the processed current water quality data into the calculation can reflect the changes in the sewage treatment process in real - time, thus providing a scientific basis for subsequent intelligent control and decision - making. The design of this formula not only improves the accuracy of water quality assessment but also provides theoretical support for the intelligent management of sewage treatment, meets the requirements of modern water treatment technology, and helps to achieve efficient and sustainable water resource management.
[0060] According to the statistical analysis of historical water quality data and national water quality standards, set the comprehensive water quality threshold. Specifically, collect historical water quality data, including water quality parameters in multiple time periods and different environmental conditions, collect national or regional water quality standards, including relevant laws, regulations, and industry standards, conduct statistical analysis on historical water quality data, calculate the average value, standard deviation, minimum value, and maximum value of each parameter, determine the qualified range of each water quality parameter and its corresponding comprehensive quality requirements according to national water quality standards, set the comprehensive water quality threshold, usually select a reasonable value, such as 0.5, as the dividing line between compliance and non - compliance. The comprehensive water quality threshold should be based on the distribution of historical data and national standards, and can use the average value of qualified water quality in historical data plus a safety margin to determine the comprehensive water quality threshold;
[0061] When the comprehensive water quality is greater than the comprehensive water quality threshold, it is judged as not meeting the treatment requirements and the dosage of the phosphorus removal agent is calculated;
[0062] When the comprehensive water quality is less than or equal to the comprehensive water quality threshold, it is judged to meet the treatment requirements, and the addition of phosphorus removal agents is stopped to maintain the current status.
[0063] It should be noted that the Z-score standardization method was used to eliminate outliers and noise, and accurate analysis of water quality data was achieved. The processed data was used to calculate the comprehensive water quality Q, ensuring scientific judgment on whether the water quality meets the treatment requirements. The beneficial effect of this process is that reasonable thresholds can be set based on historical data and national standards, making water quality assessment more accurate, thereby providing a reliable basis for the subsequent addition of phosphorus removal agents and optimizing the treatment process.
[0064] S3. Based on the judgment result, the adaptive control algorithm is started to dynamically calculate the dosage of the dephosphorization agent and upload it to the dosing control unit.
[0065] When the treatment requirements are met, domestic sewage can be directly treated;
[0066] When the treatment requirements are not met, the adaptive control algorithm is started to dynamically calculate the dosage of the dephosphorization agent, which is expressed as:
[0067]
[0068] Among them, D f It indicates the dosage of phosphorus removal agent, which determines how much phosphorus removal agent should be added during the treatment process to achieve the target water quality standard. D0 indicates the initial reference dosage, which provides a starting reference value for the dosage, based on historical data or experience. t It indicates the target total phosphorus concentration, which is the water quality standard to be achieved during the treatment process and directly affects the calculation of the dosage. k1 indicates the pH influence coefficient, which indicates the influence of pH value on the dosage, which is usually determined by experimental data analysis. k2 indicates the turbidity influence coefficient, which indicates the influence of turbidity on the dosage, which is also obtained through experimental data. k3 indicates the COD influence coefficient, which indicates the influence of chemical oxygen demand on the dosage of the dephosphorization agent, which is usually set according to historical data. max It represents the maximum COD value, which is used to normalize the impact of COD so that the comparison between different water qualities is consistent. α represents the nonlinear adjustment coefficient, which adjusts the sensitivity of the current total phosphorus concentration to the dosage, usually determined by model fitting or experimental data. TP th Indicates the total phosphorus concentration threshold, which is used to determine whether the current water quality exceeds the acceptable range and affects the calculation logic of the dosage. t -X′ TP) represents the difference between the calculated target total phosphorus concentration and the current total phosphorus concentration, multiplied by the initial reference dosage, which is the basic phosphorus removal dosage required to achieve the target, providing the basic need to remove excess phosphorus and helping to adjust the dosage to achieve the water quality target; k1·(X′ pH -7) 2 represents the influence of the deviation between the pH value and the neutral value (7) on the dosage of the phosphorus removal agent. The farther away from neutral, the greater the influence, and the influence is amplified through the square term to ensure that the dosage of the phosphorus removal agent is adjusted accordingly under different pH conditions to optimize the phosphorus removal effect; k2·log(X′ T +1) represents the logarithmic transformation of the current turbidity value to reflect the influence of turbidity on the dosage of the phosphorus removal agent. Adding 1 is to avoid the zero value problem in logarithmic operations, adjust the dosage when the turbidity is high, and ensure that the phosphorus removal agent can still play an effective role under complex water quality conditions; represents the normalization of the current chemical oxygen demand (COD), comparing it with the maximum COD value to reflect the influence of COD on the dosage of the phosphorus removal agent, ensuring that the dosage is appropriately increased when the COD is high to cope with the reduction in phosphorus removal effect caused by the organic matter load; represents the sensitivity for adjusting the overall dosage, controlling the relationship between the current total phosphorus concentration and the threshold value. α is a non-linear adjustment coefficient. When the current total phosphorus concentration exceeds the acceptable range, it increases the flexibility of the dosage, ensuring that effective measures are taken when the water quality does not meet the standard;
[0069] It should be noted that k1, k2, and k3 are determined by controlling experiments, changing water quality parameters (such as pH, turbidity, and COD), observing their influence on the phosphorus removal effect, recording the dosage and water quality changes, and using regression analysis to determine the specific values of each coefficient; further, using the existing water quality monitoring data, establishing a statistical model, analyzing the relationship between the dosage and water quality parameters under different water quality conditions, and extracting the coefficients from it;
[0070] It should be noted that the basis for designing the calculation formula for the dosage of the phosphorus removal agent is to ensure accurate dosing under dynamic water quality changes by comprehensively considering the influence of various water quality parameters (such as total phosphorus concentration, pH value, turbidity, and chemical oxygen demand) on the dosing of the phosphorus removal agent. First, the difference between the initial reference dosage and the target total phosphorus concentration is introduced in the formula, providing the basic need to remove excess phosphorus; second, the square and logarithmic transformations of pH and turbidity are used to enhance the response ability to extreme water quality conditions; in addition, the standardized comparison of chemical oxygen demand maintains the consistency of the influence of different water qualities, and the non-linear adjustment coefficient ensures the flexible adjustment ability when the current total phosphorus concentration exceeds the standard, thereby effectively improving the efficiency of sewage treatment and the water quality compliance rate, and ultimately achieving intelligent and accurate phosphorus removal control, meeting the requirements of modern environmental management.
[0071] Convert the calculated dosage of the phosphorus removal agent into the format of the dosing control unit to ensure the accuracy of data transmission, and upload the dosage of the phosphorus removal agent to the dosing control unit in real time through the RS-485 interface.
[0072] It should be noted that based on the water quality diagnosis results, an adaptive control algorithm is started to dynamically calculate the dosage of the phosphorus removal agent to ensure timely adjustment when the water quality does not meet the standards. This process realizes precise dosing by comprehensively considering the influence of various water quality parameters, reduces the waste of the phosphorus removal agent and the risk of environmental pollution, and ensures that the treated water quality can meet the standards.
[0073] S4. The dosing control unit implements the dosing operation of the phosphorus removal agent, monitors the reaction situation in the mixing tank, and records the water quality changes after the dosing of the phosphorus removal agent.
[0074] Check the operating status of the dosing control unit to ensure that the equipment is working properly, the pipeline is unblocked, and the phosphorus removal agent is stored sufficiently. Set the dosing rate of the phosphorus removal agent according to the calculated dosage of the phosphorus removal agent to ensure uniform distribution in the mixing tank. Start the dosing control unit to start dosing the phosphorus removal agent, record the start time of dosing. During the dosing process, monitor the water quality data in the mixing tank in real time, including total phosphorus concentration, pH, turbidity, COD, etc. Regularly record the changes in various water quality data after dosing, and collect data at least every 5 minutes to ensure the continuity of the data;
[0075] After dosing, use on-line monitoring instruments to measure the water quality changes in the mixing tank, especially pay attention to the decrease in the total phosphorus concentration. Compare the real-time monitored data with the baseline data before dosing to judge the reaction effect of the phosphorus removal agent. When abnormal situations (such as the total phosphorus concentration does not decrease as expected) are monitored, stop dosing immediately and conduct cause analysis to adjust the dosing strategy.
[0076] It should be noted that the dosing operation of the phosphorus removal agent is implemented by the dosing control unit and the reaction in the mixing tank is monitored, realizing the real-time monitoring of the dosing process. This measure ensures the uniform distribution and dosing effect of the phosphorus removal agent, timely records the water quality changes, can quickly respond to abnormal situations, prevents treatment failures caused by improper dosing, and improves the reliability and efficiency of the overall treatment.
[0077] S5. Compare the water quality changes after the dosing of the phosphorus removal agent with the effluent standard, and dynamically adjust the parameters of the adaptive control algorithm.
[0078] Obtain the current effluent standard of the water quality to ensure the accuracy of the comparison. Compare the water quality data after the dosing of the phosphorus removal agent with the effluent standard, calculate the pass rate of the total phosphorus concentration, record the result of the water quality comparison, and form the monitoring result, including the changes in various water quality parameters and the compliance of the effluent standard.
[0079] According to the monitoring results, analyze whether the parameters of the current adaptive control algorithm (such as influence coefficients k1, k2, k3 and non-linear adjustment coefficient α) need to be adjusted. When the monitoring results indicate that the effluent standard is met, no adjustment is required. When the monitoring results show that the effluent standard is not met, based on the monitoring results, adjust the parameters of the control algorithm, recalculate the dosing amount, which can increase or decrease the influence coefficients and adjust the sensitivity. Feed the new parameters and monitoring results back to the intelligent water quality diagnosis system to update the model to improve the accuracy of subsequent dosing;
[0080] Until the comprehensive water quality meets the treatment requirements, treat domestic sewage.
[0081] It should be noted that by comparing the water quality changes after the addition of the phosphorus removal agent with the effluent standard and dynamically adjusting the parameters of the adaptive control algorithm, the optimization of the phosphorus removal agent dosing strategy is achieved. When the monitoring results show that the effluent standard is not met, the parameters of the control algorithm are adjusted in a timely manner to make the subsequent dosing more accurate. This process not only improves the pass rate of water quality treatment but also enhances the adaptive ability of the system, ensuring long-term stable operation effects.
[0082] This embodiment also provides an intelligent control system for phosphorus addition in domestic sewage treatment, including a water quality data acquisition module, which is responsible for configuring a variety of water quality sensors at the inlet and outlet ends of the domestic sewage treatment device to collect water quality data;
[0083] A water quality diagnosis and analysis module, which is responsible for analyzing the water quality data to determine whether the current water quality meets the treatment requirements;
[0084] A dynamic dosing amount calculation module, which is responsible for starting the adaptive control algorithm based on the judgment result, dynamically calculating the dosing amount of the phosphorus removal agent, and uploading it to the dosing control unit;
[0085] A dosing implementation and monitoring module, which is responsible for the dosing control unit to implement the dosing operation of the phosphorus removal agent, monitor the reaction situation in the mixing tank, and record the water quality changes after the addition of the phosphorus removal agent;
[0086] An effect comparison and parameter adjustment module, which is responsible for comparing the water quality changes after the addition of the phosphorus removal agent with the effluent standard and dynamically adjusting the parameters of the adaptive control algorithm.
[0087] This embodiment also provides a computer device, applicable to the situation of the intelligent control method for phosphorus addition in domestic sewage treatment, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the intelligent control method for phosphorus addition in domestic sewage treatment as proposed in the above embodiment.
[0088] The computer device may be a terminal, which includes a processor, a memory, a communication interface, a display screen, and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a carrier network, NFC (Near Field Communication), or other technologies. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or buttons, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0089] This embodiment also provides a storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the intelligent control method for phosphorus removal and chemical dosing for treating domestic sewage as proposed in the above embodiment; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM for short), Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read Only Memory (EPROM for short), Programmable Red-Only Memory (PROM for short), Read-Only Memory (ROM for short), magnetic memory, flash memory, a magnetic disk, or an optical disc.
[0090] In summary, the present invention ensures real-time monitoring of pH, turbidity, chemical oxygen demand, and total phosphorus concentration through the configuration of sensors, providing a comprehensive data basis for subsequent intelligent analysis and reducing improper treatment caused by water quality fluctuations. Standardized methods are used to eliminate outliers to ensure accurate analysis of water quality data. By comprehensively calculating the comprehensive water quality, reasonable thresholds are set based on historical data and national standards, providing a basis for the precise dosing of phosphorus removal agents. When dynamically calculating the dosing amount of phosphorus removal agents, the system can adjust in a timely manner, reducing the risk of phosphorus removal agent waste and environmental pollution and ensuring that the treated water quality meets the standards. After the phosphorus removal agent is put into use, by real-time monitoring the reaction in the mixing tank, it is ensured that the phosphorus removal agent is evenly distributed and can quickly respond to abnormal situations, avoiding dosing mistakes. By comparing with the effluent standard, the control algorithm parameters are dynamically adjusted to further optimize the dosing strategy, improving the qualification rate of water quality treatment and the adaptive ability of the system.
[0091] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered within the scope of the claims of the present invention.
Claims
1. An intelligent control method for phosphorus removal and dosing in treating domestic sewage, characterized by: include, A plurality of water quality sensors are arranged at the water inlet and outlet of the domestic sewage treatment device to collect water quality data; the plurality of water quality sensors include a pH sensor, a turbidity sensor, a COD sensor and a total phosphorus sensor; The water quality data include pH, turbidity, chemical oxygen demand and total phosphorus concentration; Analyze water quality data and calculate the comprehensive water quality, including the following steps: The Z-score standardization method was used to remove outliers and noise in water quality data; Using the processed current water quality data, the comprehensive water quality is calculated and expressed as, ; in, Indicates the overall quality of water. represents the current water quality data, n represents the number of current water quality data, Indicates the index of the current water quality data. It indicates the anti-negative factor; Based on the calculated comprehensive water quality, determine whether the current water quality meets the treatment requirements, including the following steps: Setting comprehensive water quality thresholds based on statistical analysis of historical water quality data and national water quality standards; When the calculated comprehensive water quality is greater than the comprehensive water quality threshold, it is determined to be not in compliance with the treatment requirements, and the dosage of the phosphorus removal agent is calculated; When the calculated comprehensive water quality is less than or equal to the comprehensive water quality threshold, it is determined to meet the treatment requirements, and the addition of phosphorus removal agents is stopped to maintain the current status; Based on the judgment results, the adaptive control algorithm is started to dynamically calculate the dosage of the dephosphorization agent and upload it to the dosing control unit; The dosing control unit implements the operation of adding the dephosphorizing agent, monitors the reaction of the mixing tank, and records the changes in water quality after the dephosphorizing agent is added; The changes in water quality after the addition of the phosphorus removal agent are compared with the effluent standards, and the parameters of the adaptive control algorithm are dynamically adjusted.
2. The intelligent control method for phosphorus removal and dosing for treating domestic sewage according to claim 1, characterized in that: Based on the judgment result, the adaptive control algorithm is started to dynamically calculate the dosage of the dephosphorization agent and upload it to the dosing control unit, including the following steps: When the treatment requirements are met, domestic sewage can be directly treated; When the treatment requirements are not met, the adaptive control algorithm is started to dynamically calculate the dosage of the dephosphorization agent, which is expressed as: ; in, Indicates the dosage of dephosphorization agent. Indicates the initial reference dosage, represents the target total phosphorus concentration, represents the pH influence coefficient, represents the turbidity influence coefficient, represents the COD influence coefficient, Indicates the maximum COD value, represents the nonlinear adjustment coefficient, represents the total phosphorus concentration threshold, Indicates the current pH value after treatment, Indicates the current turbidity after treatment, Indicates the current chemical oxygen demand after treatment, represents the current total phosphorus concentration after treatment; The calculated dosage of the dephosphorization agent is converted into the format of the dosing control unit and uploaded to the dosing control unit in real time.
3. The intelligent control method for phosphorus removal and dosing for treating domestic sewage according to claim 2, characterized in that: The dosing control unit implements the operation of adding the dephosphorizing agent, monitors the reaction of the mixing tank, and records the changes in water quality after the dephosphorizing agent is added, including the following steps: Check that the power supply, communication and equipment status of the dosing control unit are normal, check the liquid level and remaining amount of the dosing tank, and set the dephosphorization agent addition rate according to the calculated dephosphorization agent addition amount, expressed as, ; in, represents the acceleration rate, Indicates the dosing time; Start the dosing control unit, use the set dosing rate of the dephosphorization agent to start dosing the dephosphorization agent, record the start time of dosing, and during the dosing process, monitor the water quality data of the mixing pool in real time and record the changes in various water quality data after dosing; After dosing, compare the real-time monitoring data with the baseline data before dosing. When the total phosphorus concentration decreases and other water quality indicators are normal, it is recorded as an effective response. When the total phosphorus concentration does not improve and other indicators are abnormal, it is recorded as an abnormal response. When an abnormal response is monitored, stop the drug immediately and conduct a cause analysis, and recalculate the dosage and acceleration rate of the dephosphorization agent.
4. The intelligent control method for phosphorus removal and dosing for treating domestic sewage according to claim 3, characterized in that: The water quality change after the addition of the phosphorus removal agent is compared with the effluent standard, and the parameters of the adaptive control algorithm are dynamically adjusted, including the following steps: Obtain the current effluent water quality standard, compare the water quality data after the addition of the phosphorus removal agent with the effluent standard, calculate the qualified rate of total phosphorus concentration, record the results of the water quality comparison, and form the monitoring results; When the monitoring results indicate that the effluent standard is up to standard, the parameters will not be adjusted. When the monitoring results find that the effluent standard is not up to standard, the impact coefficient will be adjusted until the comprehensive water quality meets the treatment requirements, and then the domestic sewage will be treated.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the intelligent control method for phosphorus removal and dosing for treating domestic sewage as described in any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the intelligent control method for phosphorus removal and dosing for treating domestic sewage as described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Sewage treatment plant working condition evaluation method and system based on self-organizing neural network
CN116523174A
Dynamic water balance monitoring system for water consumption system in power industry
CN117744967A
Intelligent control method for dosing of chemical phosphorus removal agent in domestic sewage treatment plant
CN117850330A