Automatic phosphorus removal agent adding system and method for sewage treatment plant

By using data acquisition units and deviation correction algorithms to calculate the dosing pump frequency in small town wastewater treatment plants, the problem of unstable total phosphorus concentration in effluent was solved, enabling precise control of reagent dosage, ensuring stable effluent quality, and reducing operating costs.

CN121894780APending Publication Date: 2026-04-21GUIZHOU WATER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUIZHOU WATER CO LTD
Filing Date
2025-11-25
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Wastewater treatment plants in small towns face problems such as unstable total phosphorus concentration in effluent and difficulty in accurately controlling the dosage of chemicals, resulting in substandard effluent quality and high operating costs.

Method used

The system uses a data acquisition unit to obtain total phosphorus concentration data in the effluent. The control unit uses a deviation correction algorithm to calculate the target operating frequency of the dosing pump, and the dosing unit controls the operation of the dosing pump to achieve dynamic optimization and adjustment of the dosage. It supports semi-automatic and manual control modes to cope with different equipment failures.

Benefits of technology

It achieves precise control of reagent dosage, ensures stable effluent quality, reduces reagent consumption and operating costs, improves the economic efficiency and environmental friendliness of the treatment process, and has a simple system structure suitable for small and medium-sized wastewater treatment plants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121894780A_ABST
    Figure CN121894780A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic phosphorus removal agent adding system and method for a sewage treatment plant, and relates to the technical field of sewage treatment, and the system comprises a data acquisition unit, a control unit and an agent adding unit. The data acquisition unit acquires effluent total phosphorus concentration data from the effluent online monitoring equipment; the control unit calculates the target operation frequency of the dosing pump through a deviation correction algorithm according to the data in an automatic control mode; and the dosing unit receives the target operation frequency and controls the dosing pump to operate according to the frequency. By acquiring the total phosphorus concentration data of the effluent in real time and automatically adjusting the frequency of the dosing pump based on a deviation correction algorithm, accurate dosing is realized, the consumption of chemicals is reduced while the effluent is ensured to reach the standard, and the problems of high cost and poor stability of phosphorus removal control of a small-scale sewage treatment plant are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wastewater treatment technology, and in particular to an automatic dosing system and method for phosphorus removal agents in wastewater treatment plants. Background Technology

[0002] Wastewater treatment plants require the addition of chemicals to remove phosphorus from wastewater, with polyaluminum chloride (PAC) typically used. The dosage of these chemicals needs to be dynamically adjusted based on changes in influent water quality, fluctuations in the treatment efficiency of the biological treatment tank, and effluent standards. Currently, wastewater treatment plants in small towns commonly face technical challenges related to unstable total phosphorus concentrations in the effluent and the difficulty in precisely controlling the dosage of chemicals. This directly impacts the stable attainment of effluent quality standards and the economic viability of operating costs.

[0003] To address this issue, existing technologies primarily employ two typical solutions. Large-scale wastewater treatment plants, relying on sophisticated information infrastructure, utilize intelligent dosing systems built upon complex theoretical calculations of phosphorus removal agent models. This allows for optimized control of agent dosing through multi-parameter fusion analysis. In contrast, small-town wastewater treatment plants, constrained by weak information infrastructure and budget limitations, typically employ a constant agent flow rate, relying on operator experience to adjust phosphorus removal agent dosing by mixing different concentrations, or a constant agent concentration, manually adjusting the dosing flow rate based on experience.

[0004] These existing technological solutions have significant drawbacks. While the intelligent dosing systems used in large-scale wastewater treatment plants offer high control precision, their complex construction and high investment and operating costs make them unsuitable for the actual conditions of wastewater treatment plants in small towns. The constant flow or experience-based regulation methods used in small-town wastewater treatment plants lack a real-time feedback mechanism for effluent quality, failing to adjust the dosage promptly based on dynamic changes in total phosphorus concentration, leading to significant fluctuations in effluent total phosphorus levels. To ensure effluent meets standards, operators often tend to overdose chemicals, which not only increases chemical consumption costs but may also introduce the risk of secondary pollution.

[0005] To address the aforementioned technical shortcomings, there is an urgent need to develop an automatic phosphorus removal agent dosing system suitable for wastewater treatment plants in small towns. This system should be cost-effective, easy to operate, and have precise control. It should be able to automatically adjust the agent dosage according to changes in effluent quality, ensuring stable effluent compliance while avoiding agent waste. Summary of the Invention

[0006] The technical problem to be solved by the present invention is to address the shortcomings of the prior art, specifically by providing an automatic dosing system and method for phosphorus removal agents in wastewater treatment plants, as detailed below: 1) In a first aspect, the present invention provides an automatic dosing system for phosphorus removal agents in a wastewater treatment plant, the specific technical solution of which is as follows: Includes: a data acquisition unit, a control unit, and a dosing unit; The data acquisition unit is used to: obtain total phosphorus concentration data of the effluent from the online monitoring equipment of the wastewater treatment plant; The control unit is used to: calculate the target operating frequency of the dosing pump based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm in automatic control mode; The dosing unit is used to: receive the target operating frequency and control the dosing pump to operate at the target operating frequency.

[0007] The beneficial effects of the automatic phosphorus removal agent dosing system for wastewater treatment plants provided by this invention are as follows: The system acquires real-time total phosphorus concentration data from the online monitoring equipment for effluent through a data acquisition unit. In automatic control mode, the control unit uses this data and a deviation correction algorithm to precisely calculate the target operating frequency of the dosing pump. The dosing unit receives the target operating frequency and controls the pump to operate at that frequency, achieving dynamic optimization and adjustment of the dosage. This system overcomes the limitations of existing high-cost intelligent dosing systems, which are unsuitable for small-scale applications, by reducing investment and maintenance costs with a simple and reliable architecture. Simultaneously, the system avoids fluctuations in effluent total phosphorus concentration caused by traditional constant flow or experience-based adjustment methods through real-time feedback and automatic control, ensuring stable effluent quality that meets standards. Furthermore, the deviation correction algorithm accurately adjusts the dosing pump operating frequency based on changes in effluent total phosphorus concentration, effectively preventing over-dosing, reducing reagent consumption and operating costs, and improving the economic efficiency and environmental friendliness of the treatment process. Overall, this system solves the problems of accuracy and stability in phosphorus removal control in small-town wastewater treatment plants with low cost and high practicality.

[0008] Based on the above scheme, the automatic phosphorus removal agent dosing system for wastewater treatment plants of the present invention can be further improved as follows.

[0009] Furthermore, the control unit is also used to: manually adjust the target operating frequency of the dosing pump in semi-automatic control mode; and manually set the target operating frequency of the dosing pump in manual control mode.

[0010] The beneficial effects of adopting the above-mentioned further solution are: the control unit supports both semi-automatic and manual control modes, providing multi-level operational assurance for the system. In semi-automatic control mode, operators can manually adjust the target operating frequency of the dosing pump, maintaining some automation functions while enabling necessary manual intervention. In manual control mode, operators can directly set the target operating frequency of the dosing pump, ensuring that basic chemical dosing functions are maintained even if the automatic control system completely fails. This multi-mode control structure effectively improves the system's reliability and adaptability, enabling it to cope with different levels of equipment failure or abnormal operating conditions, avoiding process interruptions caused by control system problems, and ensuring the continuous and stable operation of the wastewater treatment process.

[0011] Furthermore, the data acquisition unit is specifically used to: acquire total phosphorus concentration data of the effluent from the online effluent monitoring equipment via the MODBUS communication protocol.

[0012] The beneficial effects of adopting the above-mentioned further solution are: obtaining the total phosphorus concentration data of the effluent through the MODBUS communication protocol, utilizing the wide compatibility of this standard industrial communication protocol, realizing reliable connection and stable data exchange between the data acquisition unit and various online effluent monitoring devices, ensuring the accuracy of data transmission and the convenience of system integration, and avoiding the cost of adding special interfaces or converting equipment to connect to different devices.

[0013] Furthermore, the control unit is also used for: real-time data query, historical data query, data trend display, and equipment alarm information display.

[0014] The beneficial effects of adopting the above-mentioned further solutions are as follows: Real-time data querying allows operators to instantly grasp the latest status of key parameters such as the total phosphorus concentration in the effluent and the operating frequency of the dosing pump. Historical data querying supports the tracing and analysis of past operating data, facilitating the evaluation of treatment effectiveness and the troubleshooting of anomalies. Data trend display graphically presents the parameter change patterns, assisting operators in predicting water quality changes and adjusting control strategies. Equipment alarm information display can promptly report system faults or parameter exceeding limits, ensuring rapid response and handling of problems. These functions collectively improve the ease of system operation, the visibility of status, and the reliability of operation.

[0015] 2) Secondly, the present invention also provides an automatic dosing method for phosphorus removal agents in wastewater treatment plants, the specific technical solution of which is as follows: Data on total phosphorus concentration in the effluent is obtained from the online monitoring equipment of the wastewater treatment plant using a data acquisition unit. Using the control unit, in automatic control mode, the target operating frequency of the dosing pump is calculated based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm; The dosing unit receives the target operating frequency and controls the dosing pump to operate at the target operating frequency.

[0016] Based on the above scheme, the automatic dosing method for phosphorus removal agents in wastewater treatment plants of the present invention can be further improved as follows.

[0017] Furthermore, it also includes: using a control unit to manually adjust the target operating frequency of the dosing pump in semi-automatic control mode; and manually setting the target operating frequency of the dosing pump in manual control mode.

[0018] Furthermore, the total phosphorus concentration data of the effluent is obtained from the online monitoring equipment of the wastewater treatment plant using the data acquisition unit, including: obtaining the total phosphorus concentration data of the effluent from the online monitoring equipment of the effluent using the data acquisition unit via the MODBUS communication protocol.

[0019] Furthermore, it also includes: using the control unit to perform real-time data queries, historical data queries, data trend displays, and equipment alarm information displays.

[0020] 3) In a third aspect, the present invention also provides an electronic device, the electronic device including a processor coupled to a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor, so as to enable the electronic device to implement any of the above-mentioned methods for automatic dosing of phosphorus removal agents in wastewater treatment plants.

[0021] 4) In a fourth aspect, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-mentioned methods for automatic dosing of phosphorus removal agents in wastewater treatment plants.

[0022] It should be noted that the beneficial effects of the technical solutions of the second to fourth aspects of the present invention and their corresponding possible implementations can be found in the above description of the technical effects of the first aspect and its corresponding possible implementations, and will not be repeated here. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below: Figure 1 This is a schematic diagram of an automatic phosphorus removal agent dosing system for a wastewater treatment plant, according to an embodiment of the present invention. Figure 2 This is one of the flowcharts illustrating an automatic phosphorus removal agent dosing method for a wastewater treatment plant according to an embodiment of the present invention; Figure 3 This is a second schematic diagram of an automatic phosphorus removal agent dosing method for a wastewater treatment plant according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0024] The principles and features of the present invention are described below. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.

[0025] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.

[0026] like Figure 1 As shown in the figure, an automatic phosphorus removal agent dosing system for a wastewater treatment plant according to an embodiment of the present invention includes: a data acquisition unit, a control unit, and a dosing unit; The data acquisition unit is used to obtain total phosphorus concentration data of the effluent from the online monitoring equipment of the wastewater treatment plant. Specifically, it obtains the total phosphorus concentration data of the effluent from the online monitoring equipment via the MODBUS communication protocol.

[0027] Among them, online effluent monitoring equipment is an automated monitoring device installed at the effluent outlet of a wastewater treatment plant to continuously and in real-time detect various water quality indicators in the effluent. This equipment typically integrates sampling, analysis, and communication units, enabling it to automatically collect water samples and perform chemical or physical analysis, thereby providing accurate water quality parameter measurements. Online effluent monitoring equipment plays a crucial role in the wastewater treatment process, providing timely and reliable data support to the system and ensuring the monitoring and adjustment of treatment effectiveness.

[0028] The total phosphorus concentration in effluent refers to the numerical result of the total phosphorus content in wastewater measured by online effluent monitoring equipment, usually expressed in mg / L. This data reflects the residual phosphorus level after wastewater treatment and is an important basis for evaluating phosphorus removal efficiency and adjusting reagent dosing strategies. The accuracy and real-time nature of the total phosphorus concentration data directly affect the decision-making accuracy of the control unit, thereby ensuring that the effluent quality meets discharge standards.

[0029] The specific implementation process of the data acquisition unit to obtain the total phosphorus concentration data of the effluent is as follows: As the master device in the MODBUS network, the data acquisition unit first establishes a physical connection with the online effluent monitoring device, which acts as a slave device, typically using an RS-485 or Ethernet interface. Communication parameters, including baud rate, data bits, stop bits, and parity bits, must be configured according to the specifications of the online effluent monitoring device to ensure compatibility. The data acquisition unit periodically generates MODBUS request frames, which contain the slave address, function code, register start address, and number of registers. The register start address corresponds to a specific storage location in the online effluent monitoring device where the total phosphorus concentration data is stored; this address must be pre-set in the system. The data acquisition unit sends the request frame to the online effluent monitoring device via serial or network communication. Upon receiving the request, the online effluent monitoring device parses the function code and register address, reads the current total phosphorus concentration value from its internal data register, and constructs a MODBUS response frame. The response frame contains the slave address, function code, byte count, and actual data field, where the actual data field is the binary representation of the total phosphorus concentration value. After receiving the response frame, the data acquisition unit performs data verification, such as cyclic redundancy check, to ensure the integrity of data transmission. After successful verification, the data acquisition unit parses the actual data fields and converts them into processable engineering unit values, such as mg / L. This total phosphorus concentration value in the effluent is then stored in the data acquisition unit's internal buffer and updated to the real-time database for use by the control unit. The entire communication process is executed cyclically at fixed time intervals, such as every five minutes, to ensure data continuity and timeliness. If communication is interrupted or data is abnormal, the data acquisition unit will record an error log and trigger the equipment alarm information display function to notify the operator for intervention.

[0030] The control unit is used to: calculate the target operating frequency of the dosing pump based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm in automatic control mode; Deviation correction algorithms are a computational method and strategy used in automatic control systems. By analyzing the differences or trends between actual measured values ​​and expected targets, they dynamically adjust the control output to optimize system performance. In wastewater treatment phosphorus removal chemical dosing systems, the deviation correction algorithm calculates the adjustment amount of the dosing pump operating frequency based on the changing trend of the effluent total phosphorus concentration data, thereby achieving precise control of chemical dosing. This algorithm allows operators to set deviation parameters according to actual operating conditions, ensuring the system can adapt to different water quality conditions and improving control flexibility and reliability.

[0031] A dosing pump is a specialized pump for delivering chemical reagents. It typically integrates a variable frequency motor, allowing the pump's output flow rate to be adjusted by changing the operating frequency. In an automatic phosphorus removal reagent dosing system, the dosing pump receives a target operating frequency signal calculated by the control unit, driving the motor to run at the corresponding speed, thereby controlling the dosage of reagents such as polyaluminum chloride. Stable operation of the dosing pump is crucial for ensuring that the total phosphorus concentration in the effluent meets the standards. Its frequency adjustment range is usually set between 25Hz and 35Hz to balance dosing accuracy and equipment lifespan.

[0032] The specific implementation process of the control unit obtaining the target operating frequency is as follows: 1) The control unit first obtains the latest total phosphorus concentration data of the effluent from the data acquisition unit and marks this data as a process variable. Process variables This indicates the real-time monitored total phosphorus concentration in the effluent. The system presets a target value for the total phosphorus concentration in the effluent, which is marked as the setpoint. Set point This represents the system's set desired total phosphorus concentration in the effluent. For wastewater treatment plants adhering to the Class A discharge standard of the "Discharge Standard of Pollutants for Municipal Wastewater Treatment Plants GB18918-2002", it is typically set at 0.3 mg / L. The control unit calculates process variables. With set point Deviation between Use the following formula: in, This indicates the deviation between the current measured value and the target value.

[0033] 2) The control unit will display the current deviation. Compare with the preset deviation range. The system presets a lower limit deviation threshold. and upper limit deviation threshold Lower limit deviation threshold Set as mg / L, upper limit deviation threshold Set as mg / L. When the deviation Less than the lower limit deviation threshold When the total phosphorus concentration in the effluent is significantly lower than the target value, the control unit will reduce the target operating frequency of the dosing pump by a fixed step. Fixed step size It is usually set to 1Hz. When the deviation... greater than the upper limit deviation threshold When the total phosphorus concentration in the effluent is significantly higher than the target value, the control unit increases the target operating frequency of the dosing pump by a fixed step. . when deviation At the lower limit deviation threshold Deviation threshold from the upper limit During this period, the control unit maintains the current operating frequency of the dosing pump unchanged.

[0034] 3) The control unit sets upper and lower limits for the target operating frequency of the dosing pump. The lower frequency limit Fmin is set to 25Hz, and the upper frequency limit... The frequency is set to 50Hz. Regardless of the frequency value calculated by the deviation correction algorithm, the final output target operating frequency will be limited to the lower limit of the frequency. Fmin With frequency limit Fmax Within the specified range. Specifically, when the effluent total phosphorus concentration is less than 0.2 mg / L, the control unit will forcibly set the target operating frequency of the dosing pump to 25 Hz, regardless of the deviation calculation result. When the effluent total phosphorus concentration is greater than 0.4 mg / L, the control unit will set the target operating frequency of the dosing pump to 50 Hz.

[0035] 4) At the end of each control cycle of the system operation, the control unit sends the calculated target operating frequency value to the frequency converter of the dosing unit. The entire calculation process is executed cyclically at fixed time intervals, such as once every ten minutes, forming continuous automatic control. If the control unit detects that the online monitoring equipment for the effluent is in self-test mode or that the data transmission is abnormal, it will enter a shielded period. At this time, the control unit will ignore the current total phosphorus concentration data of the effluent and instead maintain the operating frequency value of the dosing pump at the previous normal control cycle, but it will not be lower than 35Hz.

[0036] It should be noted that in automatic phosphorus removal agent dosing systems, there is a directly proportional linear relationship between the operating frequency of the dosing pump and the amount of agent added. This relationship is determined by the working principle of the dosing pump: as a positive displacement pump or precision centrifugal pump, its displacement (i.e., flow rate) per unit time is strictly proportional to the rotational speed of the drive motor. The rotational speed of the drive motor is directly controlled by the operating frequency output by the control unit. Therefore, the instantaneous dosing rate of the dosing pump... Its operating frequency The relationship between them can be expressed by the following formula: in, This indicates the instantaneous dosage of the dosing pump, expressed in liters per hour or milligrams per hour. This indicates the operating frequency of the dosing pump, measured in Hz. This represents the proportionality coefficient, measured in flow rate units per Hz. It is a fixed constant determined by both the inherent performance parameters of the dosing pump and the concentration of the chemical solution. The physical meaning of this coefficient is the flow rate of the chemical agent output by the dosing pump at a unit operating frequency. The value of this coefficient is determined through calibration during the system commissioning phase. Once the dosing pump model, mechanical transmission structure, and the concentration of the delivered chemical solution are fixed, the proportionality coefficient... It's a constant value. The control unit calculates the target operating frequency. This is equivalent to setting a specific target dosage. This fixed quantization relationship is the foundation for achieving precise automatic control. The control unit adjusts the operating frequency through a deviation correction algorithm. Essentially, it involves precisely and linearly adjusting the total amount of phosphorus removal agents added to the wastewater treatment process. This allows for precise control of the dosage based on feedback from the total phosphorus concentration data in the effluent, ultimately achieving the goal of saving agents while ensuring that the effluent meets standards.

[0037] The dosing unit is used to: receive the target operating frequency and control the dosing pump to operate at the target operating frequency.

[0038] The core equipment within the dosing unit is the frequency converter, a power control device specifically designed to regulate the power frequency and voltage of AC motors. The dosing unit receives numerical commands for the target operating frequency from the control unit via standard electrical interfaces or industrial communication networks, such as analog signal channels or Ethernet interfaces.

[0039] The target operating frequency is received, and the dosing pump is controlled to operate at the target operating frequency. The specific implementation process is as follows: After receiving the target operating frequency command, the frequency converter first verifies the command's validity, checking whether the received frequency value is within a preset safety range, such as 0Hz to 50Hz. If the command is valid, the inverter's internal microprocessor initiates a closed-loop control process. Based on the target operating frequency value, the inverter generates a three-phase AC power output with the corresponding frequency and voltage using pulse width modulation technology. This process can be described as: the inverter's output power frequency... Precisely set to the target operating frequency received : in, This indicates the actual power frequency output by the frequency converter to the dosing pump motor, in Hz. This indicates the target operating frequency issued by the control unit, in Hz.

[0040] This modulated three-phase alternating current is directly supplied to the variable frequency motor of the dosing pump. The variable frequency motor of the dosing pump is a specially designed induction motor with a speed... With power supply frequency They are directly proportional, and the relationship is as follows: in, This indicates the output shaft speed of the dosing pump motor, measured in revolutions per minute. Indicates the frequency of the power supply output by the frequency converter; The number of pole pairs in a dosing pump motor is a fixed motor structural parameter.

[0041] The pump head of the dosing pump is directly connected to the motor shaft via a coupling, therefore the motor speed... This directly determines the movement speed of the mechanical components inside the pump (such as the screw, piston, or impeller). The instantaneous dosage of the dosing pump... With pump speed Proportional to each other, and combining the above relationships, the final dosage can be determined. With target operating frequency The direct proportional relationship between them, that is ,in This is the overall proportional coefficient of the system.

[0042] Throughout operation, the dosing unit continuously monitors the real-time operating parameters of the dosing pump motor via a frequency converter, including current, voltage, and actual output frequency. This status data is fed back to the dosing unit's local controller. The dosing unit compares the real-time operating frequency with the received target operating frequency to ensure consistency. If an overload, overcurrent, or communication interruption is detected, the dosing unit immediately activates its protection program and acts according to preset fault handling strategies, such as performing an orderly shutdown or switching to a backup dosing pump.

[0043] For systems employing a 1-in-1-out configuration, the logic controller of the dosing unit manages the periodic polling and fault switching of the two dosing pumps. Under normal operating conditions, the dosing unit controls one of the pumps to operate at the target frequency. When the preset switching time is reached or a fault is detected in the operating pump, the dosing unit first requests the currently valid target operating frequency from the control unit, then controls the standby pump to start and directly reach that target operating frequency, thus achieving uninterrupted chemical dosing. The timing and logic of the entire switching process are controlled by the dosing unit's internal program, ensuring the continuity of wastewater treatment and system reliability.

[0044] Optionally, in the above technical solution, the control unit is also used to: adjust the target operating frequency of the dosing pump manually in semi-automatic control mode; and set the target operating frequency of the dosing pump manually in manual control mode.

[0045] In the semi-automatic control mode, the target operating frequency of the dosing pump is adjusted manually. The specific implementation process is as follows: 1) The operator first selects the semi-automatic control mode on the main control screen of the system through the human-machine interface provided by the control unit. The human-machine interface is usually a touch screen installed in the central control room or on the field control cabinet. The mode switching command is sent to the control unit through the internal industrial network. After receiving the mode switching command, the control unit exits the deviation correction algorithm calculation process in the automatic control mode and uses the current operating frequency of the dosing pump as the initial target operating frequency for the semi-automatic mode.

[0046] 2) The operator inputs a new target operating frequency value through a frequency setting window on the human-machine interface, specifically designed for semi-automatic mode. The frequency setting window is typically designed as a numeric input box or a control with increase / decrease buttons, clearly displaying the frequency unit in Hz. When the operator inputs a new value, the system executes input verification logic. The control unit then processes the frequency value input by the operator. Compare with the system's preset safe operating range. Lower limit of the safe operating range. Typically 0Hz, upper limit Typically 50Hz. Input validation logic ensures: in, This indicates the target operating frequency that the operator intends to set. If the entered frequency value is outside this range, the HMI will display a prompt message asking the operator to re-enter the value, and the control unit will not execute the setting.

[0047] After the input value passes verification, the operator needs to confirm the modification, usually by clicking the "OK" or "Set" button on the human-machine interface. The confirmation signal triggers the control unit to update the verified frequency value. The current target operating frequency is officially set. The control unit immediately transmits this new target operating frequency via a communication network, such as PROFIBUS-DP or MODBUS-RTU. The frequency converter is issued to the dosing unit.

[0048] The frequency converter receives and accepts this frequency command, and then changes the frequency and voltage of its output power supply, smoothly transitioning the motor of the dosing pump from its current speed to the new target operating frequency. The corresponding rotational speed is displayed on the human-machine interface in real time, clearly indicating that the system is currently in semi-automatic control mode. It dynamically displays the target operating frequency of the dosing pump issued by the control unit and the actual operating frequency fed back by the frequency converter. Operators can repeat the above steps at any time based on the sensory condition of the effluent, experience, or other process parameters to modify the target operating frequency again, achieving direct and flexible manual intervention in the dosing dosage.

[0049] Throughout the semi-automatic control process, although the control unit does not execute the automatic control algorithm, it continues to perform data acquisition and monitoring functions. The control unit continues to acquire effluent total phosphorus concentration data from the data acquisition unit and displays it in real-time and historically on the human-machine interface, providing data reference for operator decision-making. Simultaneously, the system's equipment alarm functions remain effective; if an overload of the dosing pump or communication interruption is detected, audible and visual alarms and information push notifications will be triggered normally, ensuring equipment safety. This mode provides a reliable manual control channel in case of temporary maintenance of partial functions of the control system or drastic fluctuations in water quality unforeseen by the algorithm, ensuring the continuity of the wastewater treatment process.

[0050] In manual control mode, the target operating frequency of the dosing pump is set manually. The specific implementation process is as follows: 1) When the control system malfunctions or requires emergency commissioning, the operator must first go to the equipment cabinet where the dosing pump and frequency converter are installed. The operator sends a mode switching command to the system by rotating the mechanical key switch on the equipment cabinet or turning the mode selection knob to the clearly marked "manual" position. This operation directly disconnects the central control unit from the frequency converter's remote control and transfers control authority to the local frequency converter operation panel.

[0051] 2) Operators use the digital control panel located on the front of the inverter to set the frequency. The control panel typically includes an LCD display, numeric keys, increment keys, decrement keys, and an confirmation key. When the operator presses the "Frequency Setting" function key on the control panel, the current frequency setting value on the LCD display begins to flash, indicating that the parameter editing mode has been entered. At this time, the operator can directly input a value using the numeric keys, or gradually change the setting value by pressing and holding the increment and decrement keys, thereby inputting a new target operating frequency value. The operator determines this value based on personal experience and on-site observation.

[0052] As the operator inputs values, the inverter's internal microprocessor synchronously performs input verification. The verification logic converts the frequency value input by the operator... Compare with the inverter's internally preset absolute safe operating range. The lower limit of this range... Typically 0Hz, upper limit Typically 50Hz. The verification logic ensures the following relationship holds: in, This indicates the target operating frequency that the operator intends to set via the inverter's control panel. If the input value exceeds this absolute range, the inverter will refuse to accept it, and the LCD screen on the control panel will display an error message such as "Set value exceeds limit" and revert to displaying the previous valid setting value.

[0053] After the input value is verified, the operator must press the physical button labeled "ENTER" or "Confirm" on the control panel to officially confirm the setting. The confirmation signal causes the inverter to set the new frequency value. The inverter locks onto the target operating frequency. Based on this new instruction, the inverter immediately adjusts the switching states of its internal power semiconductor devices, changing the power frequency output to the dosing pump motor. The relationship is as follows: in, This indicates the actual output frequency of the power supply from the frequency converter. This indicates the target operating frequency set by the operator on-site.

[0054] The dosing pump motor immediately responds to this change in power frequency, adjusting to the corresponding speed. The inverter's control panel LCD screen displays the "manual" mode status and current operating frequency in real time. In this mode, the central control unit may not be able to monitor or intervene in the actual operating status of the dosing pump; the system's stability and safety depend entirely on the operator's continuous monitoring and judgment. This manual control mode is primarily used in extreme situations such as complete failure of the central control unit, communication network interruption, or the need for independent equipment-level debugging, ensuring that the most basic chemical dosing function is maintained even under the most unfavorable conditions.

[0055] Optionally, in the above technical solution, the control unit is also used for: real-time data query, historical data query, data trend display, and equipment alarm information display, specifically: 1) The specific implementation process of real-time data query is as follows: The control unit has a built-in data management module, which establishes continuous communication with the data acquisition unit through the MODBUS communication protocol. The data management module sends data request frames to the data acquisition unit at fixed time intervals, such as every five minutes, to obtain data on the total phosphorus concentration in the effluent, the operating frequency of the dosing pump, and other relevant process variables. This real-time data is temporarily stored in the control unit's memory buffer and synchronously updated to the real-time database. The real-time database adopts a circular buffer structure to ensure that the latest data is always quickly accessible. When the operator triggers a real-time data query through the human-machine interface (HMI), the control unit's data management module directly retrieves the latest data value from the real-time database and sends the formatted result to the display component of the HMI. The HMI is typically a graphical touchscreen; the operator can select a specific data point, and the interface then dynamically updates and displays the current value in numerical form, such as the latest total phosphorus concentration in the effluent and the operating frequency of the dosing pump. The entire real-time data query process has a delay of less than one second, ensuring that the operator can monitor the system status in a timely manner.

[0056] 2) The specific implementation process of historical data query is as follows: The control unit is equipped with an embedded database system for long-term storage of process data and event records. All real-time data acquired from the data acquisition unit, including effluent total phosphorus concentration data, dosing pump operating frequency data, and equipment status data, are written to the historical database table in timestamp format. The historical database adopts a time-series data model, with each record containing a timestamp field and a data value field. The system has a preset data storage strategy, with important data such as effluent total phosphorus concentration data retained for five years. When operators initiate historical data queries through the human-machine interface, they need to specify the query time range and data point type. The historical data query module of the control unit parses the query request, generates a structured query language statement, and retrieves matching records from the historical database. After being grouped and sorted, the retrieved data records are returned to the human-machine interface and displayed to the operator in table or list format. The query results support ascending or descending order by time and can be exported to a standard file format for offline analysis.

[0057] 3) The specific implementation process of data trend display is as follows: Operators select the data variable whose trend needs to be displayed through the human-machine interface, such as the total phosphorus concentration in the effluent, and set a time window, such as the past 24 hours. The trend processing module of the control unit extracts the data sequence within the specified time range from the historical database and smooths the data using the least squares method or a similar algorithm to eliminate noise interference. The processed data points are transmitted to the chart rendering engine, which generates a line chart based on the timestamp and value of the data points. The horizontal axis of the line chart represents time, and the vertical axis represents the data value, such as the total phosphorus concentration in the effluent. The chart rendering engine outputs the generated trend chart to a dedicated display area on the human-machine interface, allowing operators to intuitively observe the data change patterns. The trend chart supports zooming and panning operations, allowing for detailed viewing of data fluctuations within a specific time period. Simultaneously, the control unit allows multiple data variables to be overlaid on a single trend chart, such as simultaneously displaying the total phosphorus concentration data and the dosing pump operating frequency data, facilitating comparative analysis.

[0058] 4) The specific implementation process of equipment alarm information display is as follows: The alarm management module continuously monitors input signals from the data acquisition unit and equipment status detectors, and compares them with preset alarm conditions. Alarm conditions include process alarms and equipment fault alarms. Process alarms include, for example, the total phosphorus concentration in the effluent exceeding the upper limit threshold or falling below the lower limit threshold. Equipment fault alarms include, for example, the dosing pump overload or communication timeout. When any alarm condition is met, the alarm management module generates an alarm record, including the alarm time, alarm source, alarm level, and alarm description. The alarm record is immediately written to the alarm event table in the historical database and triggers the audible and visual alarm. The human-machine interface of the control unit has a dedicated alarm view, which polls the alarm event table in real time and displays unconfirmed alarm records in red in the alarm list. Operators can filter alarm information by alarm level or time and confirm the alarm through the interface button after processing. The confirmation operation updates the alarm record status and stops the audible and visual prompts, but the alarm record is still retained in the history for later query. All alarm information is also recorded to the system log to ensure event traceability.

[0059] The technical solution of the present invention will be further described through another embodiment, as follows: The system employs the MODBUS communication protocol, acquiring effluent total phosphorus concentration and flow rate data from the online effluent monitoring equipment via a data acquisition unit, ensuring data accuracy and consistency. The control unit features real-time data query, historical data query, data trend status display, and equipment alarm information display functions. It also implements WeChat alert push notifications and integrates real-time display of important video monitoring footage. The control unit sets a five-year effective storage period for critical data to ensure historical data traceability.

[0060] The system control employs three modes: automatic, semi-automatic, and manual. In automatic mode, the control unit calculates the target operating frequency of the dosing pump based on the total phosphorus concentration data of the effluent obtained from the data acquisition unit, using a deviation correction algorithm. The unit then adjusts the operating frequency of the variable frequency motor of the dosing equipment according to the algorithm value, effectively controlling the dosage. In semi-automatic mode, operators manually adjust the target operating frequency of the dosing pump to administer the chemicals, effectively preventing abnormal effluent conditions caused by sudden control system failures. In manual mode, operators directly set the inverter frequency and the number of operating devices to control chemical dosing. This mode is primarily used when the on-site control system fails and remote chemical dosing is not possible.

[0061] The dosing equipment is configured with one unit in operation and one unit on standby, and operates using a periodic polling mode. When a fault occurs in the operating dosing equipment, the standby equipment will immediately switch control and operate normally according to the optimal operating mode calculated by the control unit through the deviation correction algorithm, i.e., the current target operating frequency, to ensure continuous and stable system operation.

[0062] The system algorithm employs a deviation correction algorithm and reserves multiple control mode options. By continuously enriching the control algorithm, the system's functionality can be improved, providing a foundation for more scientific and precise chemical dosing. Upon initial system operation, the control unit sets the corresponding initial operating frequency of the dosing pump based on the water quality data range. In subsequent operation, the control unit adjusts the frequency using the deviation correction algorithm based on the trend of total phosphorus concentration data in the effluent within each monitoring cycle, thereby effectively controlling the chemical dosage. The deviation correction algorithm's calculation process is as follows: the control unit first acquires the total phosphorus concentration data in the effluent as a process variable. and the preset setting point Compare and calculate the deviation The formula is: in, This represents the deviation between the process variable and the setpoint. This indicates the real-time total phosphorus concentration in the effluent. This indicates the target total phosphorus concentration in the effluent set by the system. The control unit adjusts the value based on the deviation. The target operating frequency of the dosing pump is dynamically adjusted by comparing the value of the dosing pump with the preset threshold.

[0063] During automatic control, if the operator switches to manual control mode and then back to automatic control mode, the control unit will use the currently manually set dosing pump operating frequency as a benchmark to continue performing addition and subtraction calculations in the deviation correction algorithm to achieve more effective PAC dosing adjustment. During system shielding periods, primarily used to shield invalid reference data generated during water quality monitoring equipment self-tests, the control unit will judge based on the frequency control value of the previous normal control cycle: if the dosing pump frequency exceeds 35Hz, it will maintain the current frequency value; if the dosing pump frequency is below 35Hz, it will operate at 35Hz. In addition, the control unit sets frequency operating boundaries: when the effluent total phosphorus concentration is less than 0.2mg / L, the dosing pump frequency operates at a minimum of 25Hz; when the effluent total phosphorus concentration is greater than 0.4mg / L, the dosing pump frequency operates at 50Hz. The purpose of these boundary settings is to effectively ensure that the effluent total phosphorus index meets the standard and to maintain stable system operation through continuous monitoring and adjustment.

[0064] This invention, through systematic data acquisition, intelligent control, and precise execution, significantly reduces the amount of polyaluminum chloride (PAC) used while ensuring the continuous compliance of total phosphorus levels in wastewater treatment plant effluent. The system utilizes a data acquisition unit to obtain real-time total phosphorus concentration data from online effluent monitoring equipment, providing accurate data for automatic control. In automatic control mode, the control unit employs a deviation correction algorithm to dynamically calculate the target operating frequency of the dosing pump based on water quality fluctuations, achieving a precise match between the dosage and actual treatment needs. This effectively avoids the problems of under- or over-dosing common in traditional experience-based control. The dosing unit reliably executes frequency commands, ensuring the dosing pump operates stably at the optimized frequency. This system is simple in structure and flexible in configuration, making it particularly suitable for the technical conditions and operating budgets of small and medium-sized wastewater treatment plants. Without significantly increasing investment, it replaces manual experience-based adjustments with automated control, not only improving the stability of effluent quality but also saving on reagent consumption and controlling operating costs, forming an economical, reliable, and efficient phosphorus removal reagent dosing solution.

[0065] like Figure 2 As shown in the figure, an automatic dosing method for phosphorus removal agents in a wastewater treatment plant according to an embodiment of the present invention includes: S1. Obtain total phosphorus concentration data of effluent from the online monitoring equipment of the wastewater treatment plant using the data acquisition unit; S2. Using the control unit, in automatic control mode, the target operating frequency of the dosing pump is calculated based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm. S3. Utilize the dosing unit to receive the target operating frequency and control the dosing pump to operate according to the target operating frequency.

[0066] Optionally, the above technical solution also includes: using a control unit to manually adjust the target operating frequency of the dosing pump in semi-automatic control mode; and manually setting the target operating frequency of the dosing pump in manual control mode.

[0067] Optionally, in the above technical solution, the data acquisition unit is used to obtain the total phosphorus concentration data of the effluent from the online monitoring equipment of the wastewater treatment plant, including: using the data acquisition unit to obtain the total phosphorus concentration data of the effluent from the online monitoring equipment of the effluent via the MODBUS communication protocol.

[0068] Optionally, the above technical solution also includes: using the control unit to perform real-time data query, historical data query, data trend display, and equipment alarm information display.

[0069] In another embodiment, such as Figure 3As shown, the control unit first checks the system status by continuously monitoring system status parameters such as communication connectivity, equipment fault signals, and data validity. If the system status is normal and all sensors and actuators communicate without interruption, it enters automatic mode. If the system detects partial control function failure or abnormal data, but the dosing unit can still be operated remotely, it selects semi-automatic mode. If the system experiences a serious fault, such as the control unit completely losing connection or critical sensors being damaged, it enters manual mode. In semi-automatic mode, the operator can manually adjust the dosing pump operating frequency through the human-machine interface. This is a temporary setting method used to maintain basic operation and prevent abnormal water output when the control system experiences a sudden failure. In manual mode, the operator needs to directly operate the inverter panel on-site to manually adjust the dosing pump operating frequency and the number of devices in operation, achieving fully localized control. In automatic mode, the control unit obtains the real-time online monitoring TP concentration range of the effluent. When the total phosphorus concentration in the effluent exceeds a certain value, the control unit will automatically adjust the TP concentration range. When the total phosphorus concentration (TP) is 0.4 mg / L, the control unit immediately sets the dosing pump frequency to 50 Hz to ensure rapid response to water quality deterioration. When the effluent TP concentration is less than 0.2 mg / L, the control unit sets the dosing pump frequency to 25 Hz to conserve reagent consumption. When the effluent TP concentration is between 0.2 and 0.4 mg / L, the control unit compares the TP concentration with the previous cycle. By querying the historical database, the control unit obtains the effluent TP concentration value from the previous detection cycle. If the current TP concentration has increased compared to the previous cycle, the control unit increases the dosing pump frequency by 5 Hz to enhance the phosphorus removal effect. If the current TP concentration has decreased compared to the previous cycle, the control unit decreases the dosing pump frequency by 2 Hz to optimize the dosage. After completing the above frequency adjustments, the dosing pump frequency adjustment for this cycle is complete. The control unit sends the updated frequency command to the dosing unit and records the operation log. The system continues to monitor real-time data and prepares for the next cycle, ensuring the continuity and stability of the treatment process.

[0070] It should be noted that the beneficial effects of the automatic phosphorus removal agent dosing method for wastewater treatment plants provided in the above embodiments are the same as the beneficial effects of the automatic phosphorus removal agent dosing system for wastewater treatment plants described above, and will not be repeated here. Furthermore, the system and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.

[0071] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-mentioned automatic dosing methods for phosphorus removal agents in wastewater treatment plants. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the automatic dosing method for phosphorus removal agents in wastewater treatment plants shown in any embodiment of the present invention by calling the computer program.

[0072] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.

[0073] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0074] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.

[0075] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0076] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.

[0077] Among them, electronic devices can also be terminal devices, which can be any device that can install applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.

[0078] It should be noted that, Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0079] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-mentioned methods for automatic dosing of phosphorus removal agents in wastewater treatment plants.

[0080] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.

[0081] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform any of the above-described methods for automatically adding phosphorus removal agents in a wastewater treatment plant.

[0082] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0083] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0084] The computer-readable storage medium provided in this invention can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EEPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0085] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.

[0086] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.

[0087] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and to indicate a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.

[0088] Those skilled in the art will recognize that this invention can be implemented as a system, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.

[0089] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. An automatic phosphorus removal agent dosing system for a wastewater treatment plant, characterized in that, include: Data acquisition unit, control unit, and dosing unit; The data acquisition unit is used to: obtain total phosphorus concentration data of the effluent from the online monitoring equipment of the wastewater treatment plant; The control unit is used to: in automatic control mode, calculate the target operating frequency of the dosing pump based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm; The dosing unit is used to: receive the target operating frequency and control the dosing pump to operate at the target operating frequency.

2. The automatic phosphorus removal agent dosing system for a wastewater treatment plant according to claim 1, characterized in that, The control unit is also used to: adjust the target operating frequency of the dosing pump manually in semi-automatic control mode; and set the target operating frequency of the dosing pump manually in manual control mode.

3. An automatic phosphorus removal agent dosing system for a wastewater treatment plant according to claim 1 or 2, characterized in that, The data acquisition unit is specifically used to: acquire the total phosphorus concentration data of the effluent from the online effluent monitoring device via the MODBUS communication protocol.

4. An automatic phosphorus removal agent dosing system for a wastewater treatment plant according to any one of claims 1 or 2, characterized in that, The control unit is also used for: real-time data query, historical data query, data trend display, and equipment alarm information display.

5. An automatic dosing method for phosphorus removal agents in a wastewater treatment plant, characterized in that, include: Data on total phosphorus concentration in the effluent is obtained from the online monitoring equipment of the wastewater treatment plant using a data acquisition unit. Using the control unit, in automatic control mode, the target operating frequency of the dosing pump is calculated based on the total phosphorus concentration data of the effluent and through a deviation correction algorithm; The dosing unit receives the target operating frequency and controls the dosing pump to operate at the target operating frequency.

6. The automatic dosing method for phosphorus removal agents in a wastewater treatment plant according to claim 5, characterized in that, Also includes: Using the control unit, in semi-automatic control mode, the target operating frequency of the dosing pump can be adjusted manually; In manual control mode, the target operating frequency of the dosing pump can be set manually.

7. The automatic dosing method for phosphorus removal agents in a wastewater treatment plant according to claim 5 or 6, characterized in that, The method of acquiring total phosphorus concentration data in effluent from the online monitoring equipment of the wastewater treatment plant using a data acquisition unit includes: acquiring the total phosphorus concentration data in effluent from the online monitoring equipment of the wastewater using the data acquisition unit via the MODBUS communication protocol.

8. The automatic dosing method for phosphorus removal agents in a wastewater treatment plant according to claim 5 or 6, characterized in that, Also includes: The control unit is used to perform real-time data queries, historical data queries, data trend displays, and device alarm information displays.

9. An electronic device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the automatic dosing method for phosphorus removal agents in a wastewater treatment plant as described in any one of claims 5 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the automatic dosing method for phosphorus removal agents in a wastewater treatment plant as described in any one of claims 5 to 8.