TECHNICAL FIELD
The present invention relates to a data-knowledge-driven optimisation and control method for wastewater treatment process. Firstly, a wastewater treatment energy consumption and effluent water quality model is established based on the data-driven model to obtain a multi-objective optimisation function for wastewater treatment, and then a multi-objective particle swarm optimisation algorithm based on the evolution knowledge is adopted to optimise the concentration of dissolved oxygen SO and nitrate nitrogen SNO in the wastewater treatment process in order to reduce the operational energy consumption and improve the effluent Finally, the PID controller is used to track and control the concentration of dissolved oxygen SO and nitrate nitrogen SNO, and the invention can reduce the energy consumption of wastewater treatment and improve the quality of effluent water, which has high practical value.
BACKGROUND TECHNOLOGY
Wastewater treatment is the process of removing organic matter from wastewater through a series of biochemical reactions and discharging the treated water. The wastewater treatment process is an indispensable part of the reuse of water resources, and plays an important role in saving water resources and maintaining the sustainable development of water resources.
Wastewater treatment process mechanism is complex, nonlinear and strong coupling characteristics are obvious, resulting in the wastewater treatment process is more difficult to optimise the control, and the wastewater treatment process energy consumption and effluent quality are two conflicting and coupled optimisation objectives, therefore, balancing the relationship between the energy consumption and effluent water quality in the wastewater treatment process is a kind of important research problem, in the wastewater treatment optimal control of energy consumption and effluent water quality target model establishment In the process, the mechanism model is difficult to be determined due to the different sewage treatment plants and their environments, so the design of the data-driven energy consumption and effluent water quality based model plays an important role in accurately describing the optimisation objectives of wastewater treatment; moreover, the collection of wastewater data in the wastewater treatment process requires a long time and the amount of the collected data is limited, which creates a certain limitation on the performance of the optimisation and control of the wastewater treatment process; Therefore, designing a reasonable optimisation method to optimise the control of dissolved oxygen SO and nitrate nitrogen SNO concentrations not only saves energy and ensures that the water quality meets the discharge standards, but also plays an important role in the stable and efficient operation of the wastewater treatment process.
The present invention designs a data-knowledge-driven optimal control method for wastewater treatment process, which mainly establishes a data-driven energy consumption and effluent water quality model, and obtains optimized setpoints of dissolved oxygen SO and nitrate nitrogen SNO concentrations using a knowledge-based multi-objective particle swarm algorithm, and realizes tracking control of dissolved oxygen SO and nitrate nitrogen SNO concentrations using a PID control method.
SUMMARY
The present invention adopts the following technical scheme and realisation steps:
- 1. A data-knowledge-driven sewage treatment process optimisation and control method, the features of which include establishing a data-driven sewage treatment multi-objective optimisation model, designing a multi-objective particle swarm optimisation method based on evolutionary knowledge, and designing an optimisation setpoint tracking and control method, the specific steps of which are:
- (1) Establishing a data-driven wastewater treatment target model
- {circle around (1)} To establish a multi-objective optimisation model for wastewater treatment with the objectives of wastewater treatment energy consumption and effluent water quality:
- where F(t) is the multi-objective optimisation model, f1(t) is the energy consumption model at time t, and f2(t) is the effluent water quality model at time t;
{circle around (2)} A data-driven wastewater treatment energy consumption and effluent water quality model was established based on the input variables of nitrate nitrogen SNO at the end of the anaerobic section and dissolved oxygen SO at the end of the aerobic section of the secondary treatment process, mixed solids suspended solids in effluent MLSS, and ammonia nitrogen in effluent SNH:
- where I1∈[3, 30] is the number of radial basis kernel functions in the energy consumption model, I2∈[3, 30] is the number of radial basis kernel functions in the effluent water quality model, W10(t) is the output bias of the energy consumption model f1(t), W20(t) is the output bias of the effluent water quality model f2(t), W1f(t) is the weights of radial basis kernel functions in the energy consumption model, W2f(t) is the weights of the weights of the radial basis kernel function in the effluent water quality model, B1i(t) is the radial basis kernel function associated with the energy consumption model, and B2i(t) is the radial basis kernel function associated with the effluent water quality model:
- where s(t)=[SNO (t), SO(t), MLSS(t), SNH(t)] is the input variable, c1f(t) is the centre of the radial basis kernel function in the energy consumption model, and the interval of each variable in c1i(t) is [−1, 1], c2i(t) is the centre of the radial basis kernel function in the effluent quality model, and the interval of each variable in c2i(t) is [−1, 1], σ1i(t)∈[0, 3] is the width of the radial basis kernel function in the energy consumption model, and o2i(t)∈[0, 3] is the width of the radial basis kernel function in the effluent water quality model;
- (2) Design of a multi-objective particle swarm optimisation method based on evolutionary knowledge:
- {circle around (1)} Set the total number of iterations K∈[50, 200] for multi-objective particle swarm optimisation, set the particle swarm size N∈[10, 100], k0∈[2, 20] is the number of iterations for the particle information, and initialise the external archive A(0)=[ ];
- {circle around (2)} Establish the optimisation objective of the multi-objective particle swarm optimisation algorithm: min F(t)=[f1(t), f2(t)];
{circle around (3)} Solve F(t), and record the convergence distribution state and diversity distribution state of each particle during the iteration process:
- where CSn(k) is the convergence distribution state of the nth particle at the kth iteration, fn,m(k) is the mth objective value of the nth particle, M∈[1, 2] is the number of objective functions, xn(k) is the position vector of the nth particle, DSn(k) is the state of the diversity distribution, and |·| denotes the absolute value;
- {circle around (4)} Establish indicators of convergence and diversity for individuals and populations, respectively:
- where ICn(k) is the individual convergence metric, PC(k) is the population convergence metric, IDn(k) is the individual diversity metric, PD(k) is the population diversity metric, and u∈[k−k0, k] is the number of iterations required for evolutionary knowledge;
- {circle around (5)} Selecting population evolutionary strategies:
- Case 1: When PC(k)>PC(k−1) and PD(k)>PD(k−1), the velocity and position update equations are
- where ω is the inertia weight, which takes values in the range of [0.5, 0.9] in the wastewater treatment process, vn,d(k) is the dth dimension of the nth particle velocity, xn,d(k) is the particle position, pn,d(k) is the individual optimal position, and gd(k) is the population optimal position, r1 and r2 are the random values distributed in [0, 1], and c1 is the individual optimal acceleration factor in the range of [1.5, 2.5], and c2 is the global optimal acceleration factor, which takes values in the range of [1.5, 2.5] in the sewage treatment process;
- Case 2: When PC(k)<PC(k−1) and PD(k)>PD(k−1), the velocity and position update equations are
- where r3 is a random value distributed in [0, 1], c3 is the convergence direction acceleration factor, which takes values in the range of [0.3, 0.5] in the wastewater treatment process, and Cd(k) is the direction of flight of the particles in the population with the maximum convergence;
- Case 3: When PC(k)>PC(k−1) and PD(k)<PD(k−1), the velocity and position update equations are
- where r4 is a random value distributed in [0,1], c4 is the diversity direction acceleration factor, which takes values in the range of [0.3, 0.5] in the wastewater treatment process, and Dd(k) is the direction of flight of the particles with maximum diversity in the population;
- Case 4: When PC(k)<PC(k−1) and PD(k)<PD(k−1), the velocity and position update equations are
- Case 5: PC(k)=PC(k−1) or PD(k)=PD(k−1), the velocity and position update equation is
- where U(0, 1) is a random value obeying a uniform distribution, xd,min is the bounded minimum of the dth dimensional particle position, xmin=[x1,min>x2,min, . . . , xD,min], xd,max is the bounded maximum of the dth dimensional particle position, xmax=[x1,max, x2,max, . . . , xD,max], D∈[1, 4] is the dimension of the particle, r5 is a random value distributed in [0,1], and pb is the mutation probability:
- {circle around (6)} The populations and archive A(k−1) produced by the kth iteration are merged to obtain J(k), and then the nondominated solutions are selected in J(k) to build A(k);
- {circle around (7)} Determine whether the current iteration k is greater than or equal to K. If it is greater than or equal to K, go to step {circle around (8)}, if it is less than K, go to step {circle around (3)};
- {circle around (8)} Select a non-dominated solution randomly in the archive A(K) as the optimisation setpoint a*(1)=ah(K) and ah(K)=[SNO*(K), SO*(K), MLSS*(K), SNH*(K)], where SNO*(K), SO*(K), MLSS*(K) and SNH*(K) are the nitrate-nitrogen optimisation setpoint, dissolved-oxygen optimisation setpoint, mixed-solid-suspension optimisation setpoint, and ammonia-nitrogen optimisation setpoint, respectively; save the optimisation setpoint;
- (3) Optimising setpoint tracking control methods
- {circle around (1)} A PID controller was used to track and control the nitrate nitrogen optimised setpoint SNO*(K) and dissolved oxygen optimised setpoint SO*(K) with the PID controller expression:
- where Δz(t)=[ΔQa(t), ΔKLa5(t)]T is the matrix of operating variables, ΔQa(t) is the amount of change in the internal circulation flow rate of wastewater treatment, and ΔKLa5(t) is the amount of change in the oxygen transfer coefficients of the 5th partition; Kp is the matrix of proportionality coefficients, Hl is the matrix of integral coefficients, and Hd is the matrix of differentiation coefficients; e(t)=y*(t)T−y(t)T is the control error, y*(t)=[SNO*(t), SO*(t)] is the optimisation setpoint at moment t, and y(t)=[SNO(t), SO(t)] is the actual output matrix;
- {circle around (2)} The amount of change in the oxygen transfer coefficient of partition 5 and the amount of change in the internal recirculation return flow rate as are used as the output of the PID controller;
- {circle around (3)}) The change in the oxygen transfer coefficient of partition 5, ΔKLa5(t), and the change in the internal recirculation return flow rate, ΔQa(t), are used as inputs to the wastewater treatment control system to control the nitrate nitrogen SNO concentration and the dissolved oxygen SO concentration.
- (4) Data-knowledge driven control system design for wastewater treatment process optimisation
{circle around (1)} Control Device Description:
PLC (Programmable Logic Controller): It is used to realise the logic control in the process of sewage treatment, with power failure protection, fault diagnosis and information protection to ensure the long-term stable operation of the system, and adopts the master-slave structure to communicate through the field bus to realise real-time monitoring and control.
Industrial controller (i.e. central processing system): used for monitoring and controlling the machines and equipment, production process, data parameters, etc. of the sewage treatment plant. It adopts fanless design with good dustproof, heat dissipation, anti-vibration and anti-interference functions, and is able to run stably in different environments. It is connected with PID controller through industrial controller to achieve the effective operation of optimised control system.
Blower: It is used for oxygen supply and water mixing to maintain the activity of microorganisms and ensure the normal progress of biochemical reaction. Single-stage centrifugal blower is selected, featuring large flow rate, stable pressure and high efficiency.
Return pump: control the return flow of sludge or mixed liquid, change the return flow of internal circulation according to the adjustment of frequency converter, control the concentration of nitrate nitrogen.
Frequency converter: used to adjust the motor speed to achieve energy saving and loss reduction. Selection of inverter adapted to high dynamic response, able to operate stably under different load conditions.
Sensor: real-time monitoring of dissolved oxygen concentration and nitrate nitrogen concentration and other data, which will be transmitted to the PLC.
Communication module: realise data communication between equipment, ensure data transmission and communication between PLC, sensor, inverter and industrial control machine.
{circle around (2)} Control Equipment Operation:
Two processors are predefined in the whole system, a wastewater treatment target model processor based on step (1) of the present invention and a multi-objective particle swarm optimisation model processor based on step (2) of the present invention.
The sensors monitor the dissolved oxygen concentration, nitrate nitrogen concentration, mixed solid suspended solids in the effluent and ammonia nitrogen in the effluent in real time, respectively, and transmit the real-time monitored data to the central processing system (industrial computer) for processing, establish the energy consumption and effluent water quality model, and take the two models as the optimisation target to get the optimised setpoints of each parameter. Including: nitrate nitrogen optimisation set value SNO*(K), dissolved oxygen optimisation set value SO*(K).
The PID controller calculates the error based on the optimised setpoints of the nitrate nitrogen optimised setpoint SNO*(K) the dissolved oxygen optimised setpoint SO*(K) and the real-time monitoring values, and executes the PID control algorithm (i.e., step (3) of the present invention) and transmits the calculated control outputs (ΔKLa5(t)
ΔQa(t)) back to the PLC, which sends the control signals to the frequency converter.
The frequency converter receives the control signals sent by the PLC, and then controls and regulates the motor speed of the blower and the return pump to change the oxygen supply and the internal circulation return flow rate to control the dissolved oxygen and nitrate nitrogen concentration.
The sensor monitors the concentration of dissolved oxygen and nitrate nitrogen in real time, the data is fed back to the PID controller, which continuously makes control adjustments according to the real-time data to ensure that the concentration of dissolved oxygen and nitrate nitrogen reaches the optimised set value, thus realising the precise control of the wastewater treatment process, reducing the energy consumption and improving the quality of the effluent water.
The inventiveness of the present invention is mainly embodied in:
- (1) the present invention for the sewage treatment process to reduce the sewage treatment energy consumption and enhance the sewage treatment effluent water quality of the two conflicting problems, the use of data-driven approach based on the establishment of the energy consumption and effluent water quality model, and the use of multi-objective particle swarm optimisation algorithms based on the evolutionary knowledge of the model optimisation, and finally, the use of PID control of nitrate nitrogen SNO and dissolved oxygen SO concentration tracking and control, in order to ensure that the effluent water quality meets the standard to achieve the purpose of reducing energy consumption, has high stability, and can achieve the reduction of sewage treatment costs;
- In particular, note that the present invention only adopts a data-driven model based on a radial basis kernel function to establish an energy consumption and effluent water quality model for the sake of descriptive convenience, and uses a multi-objective particle swarm optimisation method based on evolutionary knowledge to optimise the concentration of nitrate nitrogen SNO and the concentration of dissolved oxygen SO, and will be other data-knowledge-driven optimisation algorithms based on data-driven modelling algorithms and knowledge-based optimisation algorithms and other data-knowledge-driven optimisation algorithms based on the same principle, control methods should all fall within the scope of the present invention.
BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 shows the framework of data-knowledge driven optimal control method.
FIG. 2 shows the tracking result of nitrate nitrogen for the optimal control method.
FIG. 3 shows the tracking error of nitrate nitrogen for the optimal control method.
FIG. 4 shows the tracking result of dissolved oxygen for the optimal control method.
FIG. 5 shows the tracking error of dissolved oxygen for the optimal control method.
FIG. 6 shows the flow chart of the system implementation process.
SPECIFIC IMPLEMENTATION MODALITIES
- (1) Establishment of a data-driven target-based model for wastewater treatment {circle around (1)} To establish a multi-objective optimisation model for wastewater treatment with the objectives of wastewater treatment energy consumption and effluent water quality:
- where f1(t) is the energy consumption model at time t, f2(t) is the effluent water quality model at time t, and F(t) is the multi-objective optimisation model;
- {circle around (2)} A data-driven wastewater treatment energy consumption and effluent water quality model was established based on the input variables of nitrate nitrogen SNO at the end of the anaerobic section and dissolved oxygen SO at the end of the aerobic section of the secondary treatment process, mixed solids suspended solids in effluent MLSS, and ammonia nitrogen in effluent SNH:
- where I1=10 is the number of radial basis kernel functions in the energy consumption model, I2=10 is the number of radial basis kernel functions in the effluent water quality model, W10(t)=−1.20 is the output offset of f1(t) in the energy consumption model, W20(t)=0.34 is the output offset of f2(t) in the effluent water quality model, W1i(t)=−0.78 is the radial basis kernel function in the energy consumption model weights, W2i(t)=1.62 is the weight of the radial basis kernel function in the effluent water quality model, B1i(t) is the radial basis kernel function associated with the energy consumption model, and B2i(t) is the radial basis kernel function associated with the effluent water quality model:
- where s(t)=[SNO(t), SO(t), MLSS(t), SNH(t)] is the input variable, s(0)=[1, 1.5, 15, 2.3], c1i(t) is the centre of the radial basis kernel function in the energy model, c1i(0)=[0.76, 0.45, 0.21, −0.33], c2i(t) is the centre of the effluent water quality model in the centre of the radial basis kernel function, c2i(0)=[0.82, 0.67, −0.29, 0.85], σ1i(t) is the width of the radial basis kernel function in the energy consumption model, σ1i(0)=0.62, and σ2i(t) is the width of the radial basis kernel function in the effluent water quality model, σ2i(0)=1.72;
- (2) Design of a multi-objective particle swarm optimisation method based on evolutionary knowledge:
- {circle around (1)} Set the total number of iterations for multi-objective particle swarm optimisation K=100, set the particle swarm size N=20, k0=4 is the number of iterations for the particle information, and initialise the external archive A(0)=[ ];
- {circle around (2)} Establish the optimisation objective of the multi-objective particle swarm optimisation algorithm: min F(t)=[f1(t), f2(t)];
- {circle around (3)} F(t) is solved, and during the iteration process, the convergence distribution state and diversity distribution state of each particle are recorded:
- where CSn(k) is the convergence distribution state of the nth particle at the kth iteration, fn,m(k) is the mth objective value of the nth particle, M=2 is the number of objective functions, xn(k) is the position vector of the nth particle, DSn(k) is the state of diversity distribution, and |·| denotes the absolute value;
- {circle around (4)} Indicators of convergence and diversity were established for individuals and populations, respectively:
- where ICn(k) is the individual convergence metric, PC(k) is the population convergence metric, IDn(k) is the individual diversity metric, PD(k) is the population diversity metric, and u∈[k−k0, k] is the number of iterations required for evolutionary knowledge;
- {circle around (5)} Selecting population evolutionary strategies:
- Case 1: When PC(k)>PC(k−1) and PD(k)>PD(k−1), the velocity and position update equations are
- where ω is the inertia weight, which takes values in the range of [0.5, 0.9] in the wastewater treatment process, vn,d(k) is the dth dimension of the nth particle velocity, xn,d(k) is the particle position, pn,d(k) is the individual optimal position, and gd(k) is the population optimal position, r1 and r2 are the random values distributed in [0, 1], and c1 is the individual optimal acceleration factor in the range of [1.5, 2.5], and c2 is the global optimal acceleration factor, which takes values in the range of [1.5, 2.5] in the sewage treatment process;
- Case 2: When PC(k)<PC(k−1) and PD(k)>PD(k−1), the velocity and position update equations are
- where r3 is a random value distributed in [0, 1], c3 is the convergence direction acceleration factor, which takes values in the range of [0.3, 0.5] in the wastewater treatment process, and Cd(k) is the direction of flight of the particles in the population with the maximum convergence;
- Case 3: When PC(k)>PC(k−1) and PD(k)<PD(k−1), the velocity and position update equations are
- where r4 is a random value distributed in [0,1], c4 is the diversity direction acceleration factor, which takes values in the range of [0.3, 0.5] in the wastewater treatment process, and Dd(k) is the direction of flight of the particles with maximum diversity in the population;
- Case 4: When PC(k)<PC(k−1) and PD(k)<PD(k−1), the velocity and position update equations are
- Case 5: PC(k)=PC(k−1) or PD(k)=PD(k−1), the velocity and position update equation is
- where U(0, 1) is a random value obeying a uniform distribution, xd,min is the bounded minimum of the dth dimensional particle position, xmin=[x1,min>x2,min, . . . , xD,min], xd,max is the bounded maximum of the dth dimensional particle position, xmax=[x1,max, x2,max, . . . , xD,max], D∈[1, 4] is the dimension of the particle, r5 is a random value distributed in [0,1], and pb is the mutation probability:
- {circle around (6)} The populations and archive A(k−1) produced by the kth iteration are merged to obtain J(k), and then the nondominated solutions are selected in J(k) to build A(k);
- {circle around (7)} Determine whether the current iteration k is greater than or equal to K. If it is greater than or equal to K, go to step {circle around (8)}, if it is less than K, go to step {circle around (3)};
- {circle around (8)} Select a non-dominated solution randomly in the archive A(K) as the optimisation setpoint a*(t)=ah(K) and ah(K)=[SNO*(K), SO*(K), MLSS*(K), SNH*(K)], where SNO*(K), SO*(K), MLSS*(K) and SNH*(K) are the nitrate-nitrogen optimisation setpoint, dissolved-oxygen optimisation setpoint, mixed-solid-suspension optimisation setpoint, and ammonia-nitrogen optimisation setpoint, respectively; save the optimisation setpoint;
(3) Optimising Setpoint Tracking Control Methods
- {circle around (1)} A PID controller was used to track and control the nitrate nitrogen optimised setpoint SNO*(K) and dissolved oxygen optimised setpoint SO*(K) with the PID controller expression:
- where Δz(1)=[ΔQa(t), ΔKLa5(t)] Tis the matrix of operating variables, ΔQa(t) is the amount of change in the internal circulation flow rate of wastewater treatment, and ΔKLa5(t) is the amount of change in the oxygen transfer coefficients of the 5th partition; Kp is the matrix of proportionality coefficients, Hl is the matrix of integral coefficients, and Hd is the matrix of differentiation coefficients; e(t)=y*(t)T−y(t)T is the control error, y*(t)=[SNO*(t), SO*(t)] is the optimisation setpoint at moment t, and y(t)=[SNO(t), SO(t)] is the actual output matrix;
- {circle around (2)} The amount of change in the oxygen transfer coefficient of partition 5 and the amount of change in the internal recirculation return flow rate as are used as the output of the PID controller;
- {circle around (3)} The change in the oxygen transfer coefficient of partition 5, ΔKLa5(t), and the change in the internal recirculation return flow rate, ΔQa(t), are used as inputs to the wastewater treatment control system to control the nitrate nitrogen SNO concentration and the dissolved oxygen SO concentration.
(4) Data-Knowledge Driven Control System Design for Wastewater Treatment Process Optimisation
{circle around (1)} Control Device Description:
PLC (Programmable Logic Controller): It is used to realise the logic control in the process of sewage treatment, with power failure protection, fault diagnosis and information protection to ensure the long-term stable operation of the system, and adopts the master-slave structure to communicate through the field bus to realise real-time monitoring and control.
Industrial controller (i.e. central processing system): used for monitoring and controlling the machines and equipment, production process, data parameters, etc. of the sewage treatment plant. It adopts fanless design with good dustproof, heat dissipation, anti-vibration and anti-interference functions, and is able to run stably in different environments. It is connected with PID controller through industrial controller to achieve the effective operation of optimised control system.
Blower: It is used for oxygen supply and water mixing to maintain the activity of microorganisms and ensure the normal progress of biochemical reaction. Single-stage centrifugal blower is selected, featuring large flow rate, stable pressure and high efficiency.
Return pump: control the return flow of sludge or mixed liquid, change the return flow of internal circulation according to the adjustment of frequency converter, control the concentration of nitrate nitrogen.
Frequency converter: used to adjust the motor speed to achieve energy saving and loss reduction. Selection of inverter adapted to high dynamic response, able to operate stably under different load conditions.
Sensor: real-time monitoring of dissolved oxygen concentration and nitrate nitrogen concentration and other data, which will be transmitted to the PLC.
Communication module: realise data communication between equipment, ensure data transmission and communication between PLC, sensor, inverter and industrial control machine.
{circle around (2)} Control Equipment Operation:
Two processors are predefined in the whole system, a wastewater treatment target model processor based on step (1) of the present invention and a multi-objective particle swarm optimisation model processor based on step (2) of the present invention.
The sensors monitor dissolved oxygen concentration, nitrate nitrogen concentration, effluent mixed suspended solids (MLSS) and effluent ammonia nitrogen in real time, respectively. The effluent mixed suspended solids (solid mixture) concentration is usually monitored at a location between the primary sedimentation tank of the primary treatment process and the secondary treatment process, for example, at any of the anaerobic digestion tank(s) as shown in FIG. 6, or at any of the anaerobic digestion tank(s) in an anaerobic zone as shown in FIG. 1. The secondary treatment process usually includes one or more anaerobic digestion tank, one or more anoxic tank and one or more aerobic tank (as shown in FIG. 6), or includes an anaerobic zone and an aerobic zone (as shown FIG. 1). The nitrate nitrogen is usually monitored at the outflow of the secondary sedimentation tank in the tertiary treatment process as shown in FIG. 6, or at the outflow of the clarifier as shown in FIG. 1. The effluent ammonia nitrogen is usually monitored at the output end of the secondary treatment process, for example, at any of the aerobic tank(s) in the aerobic zone. Corresponding sensors are positioned in corresponding locations. The real-time monitored (measured) data are transmitted to a central processing system (e.g., an industrial computer) for processing, establishing energy consumption and effluent water quality models, and using the two models as optimisation targets to obtain the optimised set values of each parameter. Including: nitrate nitrogen optimisation set value Sko*(K), dissolved oxygen optimisation set value SO*(K).
The PID controller calculates the error based on the optimised setpoints of nitrate nitrogen optimised setpoint SNO(K), dissolved oxygen optimised setpoint SO*(K) and the real-time monitoring value, and executes the PID control algorithm (i.e. step (3) of the present invention), so that when the actual dissolved oxygen concentration is lower than the setpoints (SO<SO*(K)), the amount of the oxygen supply needs to be increased (the speed of the blower is increased) in order to raise the dissolved oxygen concentration; when the actual dissolved oxygen concentration is higher than the set value (SO>SO*(K), it is necessary to reduce the amount of oxygen supply (reduce the speed of the blower) in order to reduce the dissolved oxygen concentration. When the actual nitrate nitrogen concentration is higher than the set value (SNO>SNO*(K)), it is necessary to increase the internal circulation flow rate (increase the speed of reflux pump) to enhance the denitrification process and reduce the nitrate nitrogen concentration; when the actual nitrate nitrogen concentration is lower than the set value (SNO<SNO*(K), it is necessary to reduce the internal circulation flow rate (reduce the speed of reflux pump) to weaken the denitrification process and avoid the nitrate nitrogen concentration is too low. And the calculated control outputs (ΔKLa5(t) and ΔQa(t)) are sent back to the PLC, which sends the control signals to the inverter. The frequency converter is a stand-alone device that first receives the control signals from the PLC and then regulates the speed of the blower or return pump based on these signals. Therefore, the signal flow is: PLC→frequency converter→blower or return pump.
The frequency converter receives the control signals sent by the PLC, and then controls and regulates the motor speed of the blower and the return pump to change the oxygen supply and the internal circulation return flow rate to control the dissolved oxygen and nitrate nitrogen concentration.
The sensor monitors the concentration of dissolved oxygen and nitrate nitrogen in real time, the data is fed back to the PID controller, which continuously makes control adjustments according to the real-time data to ensure that the concentration of dissolved oxygen and nitrate nitrogen reaches the optimised set value, thus realising the precise control of the wastewater treatment process, reducing the energy consumption and improving the quality of the effluent water.
FIG. 1 shows a wastewater treatment system. The wastewater treatment system includes a primary settling tank, an anaerobic zone, an aerobic zone and a clarifier arranged sequentially. The primary settling tank receives and settles the wastewater to be treated. After primary settling, the wastewater is introduced to an anaerobic tank in the anaerobic zone. The anaerobic zone may have one or more anaerobic tanks connected in series, a stirrer can be provided in the anaerobic tank. Nitrate nitrogen SNO concentration in the anaerobic zone is measured via a SNO sensor for real-time monitoring of nitrate nitrogen SNO concentration. The SNO sensor can be provided in the anaerobic tank, and can be positioned at the downstream end of the anaerobic zone, the upstream end of the anaerobic zone, or any location in between. The wastewater exiting from the downstream end of the anaerobic zone enters the aerobic zone, the aerobic zone may have one or more aerobic tanks connected in series. Dissolved oxygen SO concentration in the aerobic zone is measured via a SO sensor for real-time monitoring of dissolved oxygen SO concentration. The SO sensor can be provided in the aerobic tank, and can be positioned at the downstream end of the aerobic zone, the upstream end of the aerobic zone, or any location in between. After treatment in the aerobic zone, the wastewater is introduced in the clarifier to obtain an enfluence (the treated wastewater) and sludge disposal, a portion of the wastewater (internal recycle) can be recycled back to the anaerobic zone to adjust nitrate nitrogen SNO concentration. A portion of the enfluence of the clarifier (external recycle) can be recycled back to the anaerobic zone from the bottom of the clarifier to adjust nitrate nitrogen Sto concentration of nitrate nitrogen SNO concentration.
In a similar wastewater treatment system shown in FIG. 6, there is an anoxic zone between the anaerobic zone and the aerobic zone, containing one or more anoxic tanks connected in series. In this case, a portion of the wastewater (internal recycle) exiting from the aerobic zone can be recycled back to the anoxic tank to adjust nitrate nitrogen SNO concentration, and a portion of the enfluence (external recycle) of the secondary settling tank can be recycled back to the anaerobic tank from the bottom of the secondary settling tank. An air blower is provided to pump air into the aerobic tank for oxygen supply and water mixing to maintain the activity of microorganisms and ensure the normal progress of biochemical reaction. A single-stage centrifugal blower can be used, which has the features of large flow rate, stable pressure and high efficiency.
The above mentioned internal recycle and external recycle are controlled by a return pump, which controls the internal/external recycle flow of mixed liquid or sludge, change the internal and/or external recycle flow so as to control the concentration of nitrate nitrogen.
A data-knowledge driven wastewater treatment process optimisation control system based on the output results of nitrate nitrogen SNO concentration and dissolved oxygen SO concentration, FIG. 2 is the nitrate nitrogen result graph, where the solid line is the control output and the dashed line is the actual output, the horizontal axis: time in days, the vertical axis: nitrate nitrogen concentration in milligrams per litre, FIG. 3 is the nitrate nitrogen tracking error graph, the horizontal axis: time in days, the vertical axis: nitrate nitrogen concentration in mg/l, FIG. 4 is a graph of dissolved oxygen results, where the solid line is the control output and the dashed line is the actual output, horizontal axis: time in days, vertical axis: nitrate nitrogen concentration in mg/l, FIG. 5 is a graph of the tracking error of dissolved oxygen, horizontal axis: time in days, vertical axis: nitrate nitrogen concentration in mg/l.