Research Article  Open Access
Xiaoyi Wang, Fan Wang, Wei Wei, "Linear Active Disturbance Rejection Control of Dissolved Oxygen Concentration Based on Benchmark Simulation Model Number 1", Mathematical Problems in Engineering, vol. 2015, Article ID 178953, 9 pages, 2015. https://doi.org/10.1155/2015/178953
Linear Active Disturbance Rejection Control of Dissolved Oxygen Concentration Based on Benchmark Simulation Model Number 1
Abstract
In wastewater treatment plants (WWTPs), the dissolved oxygen is the key variable to be controlled in bioreactors. In this paper, linear active disturbance rejection control (LADRC) is utilized to track the dissolved oxygen concentration based on benchmark simulation model number 1 (BSM1). Optimal LADRC parameters tuning approach for wastewater treatment processes is obtained by analyzing and simulations on BSM1. Moreover, by analyzing the estimation capacity of linear extended state observer (LESO) in the control of dissolved oxygen, the parameter range of LESO is acquired, which is a valuable guidance for parameter tuning in simulation and even in practice. The simulation results show that LADRC can overcome the disturbance existing in the control of wastewater and improve the tracking accuracy of dissolved oxygen. LADRC provides another practical solution to the control of WWTPs.
1. Introduction
Wastewater treatment plants (WWTPs) are a class of nonlinear, uncertain, and timedelay systems. Influent flow rate, contaminant concentrations, amount of pollutants, and other uncertain factors make the control of wastewater a big challenge. Additionally, an increasing discharge standard of sewage drives people to propose more efficient and practical approaches to improve the control of wastewater.
For the control and simulation of WWTPs, in general, a mathematical model describing the biochemical process is of necessity. Benchmark simulation model number 1 (BSM1) has been proposed by Working Groups of COST Actions 682 and 624 [1, 2]. It is a benchmark model for WWTPs with realism and accepted standards. It defines the plant layout, simulation, influent loads, test procedures, and evaluation criteria [3–5], and the model could well simulate the main process of wastewater treatment and any control strategy could be tested and compared on BSM1. It is a better way to make a simulation study on the control of wastewater treatment process on BSM1.
On BSM1, many manipulated variables, such as the dissolved oxygen concentration, ammonia concentration, internal recycle flow rate, and external carbon dosing rate [1, 2], are involved. BSM1 mainly simulates the activated sludge process. Dissolved oxygen level, a key factor of activated sludge process, plays a significant role in the behavior of the heterotrophic and autotrophic microorganisms living in the activated sludge. Proper level of the dissolved oxygen should be supplied for organic matter degradation and nitration; however, excessive dissolved oxygen will increase the pollution concentration and decrease the denitrification process [6–9]. In other words, wastewater effluent quality depends greatly on the level of dissolved oxygen. Additionally, effective control of the dissolved oxygen level could reduce the operational cost of the wastewater treatment [10]. Therefore, the control of dissolved oxygen concentration is important, effective, and widely studied in WWTPS.
PID is firstly involved in WWTPs for the control of dissolved oxygen and it is still widely used in practice [11–14]. Only 3 parameters and the simple structure make the controller easily applied in many occasions. In order to make the dissolved oxygen concentration stably near the expectations, reject disturbances in WWTPs and make the effluent satisfied with the requirements; the proportion parameter of the controller has to keep large. However, large proportional parameter easily results in high frequency oscillations, which also increase the costs or even destabilize the closedloop system. Additionally, all kinds of disturbances existing will degrade the performance of the closedloop systems. In the last decades, various control algorithms have been proposed to control the dissolved oxygen, such as model predictive control (MPC) [7, 10, 15, 16], fuzzy control [6, 17], and neural network control [8, 9, 18, 19]. The MPC has been widely applied in industrial processes, especially the fruitful linear MPC business software packages. However, WWTPs are typical nonlinear systems, and few successful MPC applications exist in nonlinear systems [20]. Moreover, no clear physical interpretation and high amount of computation always hinder MPC’s applications [20]. Similarly, the fuzzy rules and nonlinear mapping network also require a lot of data for training in fuzzy control and neural networks. In addition, fuzzy rules, the number of nodes of neural networks, and the weight value of neural networks are difficult to get for achieving good performance.
As a matter of fact, the control of dissolved oxygen in WWTPs is a typical nonlinear and strong couplings process. It is affected by other variables, such as nitrate and nitrite nitrogen, ammonia nitrogen, and the internal effluent. If all factors affecting the control effect of dissolved oxygen can be viewed as disturbances, the core of dissolved oxygen control is the problem of disturbance rejection.
Linear active disturbance rejection controller (LADRC) is a promising way to solve the disturbance rejection problem. In LADRC structure, the external unknown disturbance and the internal uncertainty dynamics are treated as only a generalized disturbance, which can be estimated and compensated by designing an extended state observer in real time. Therefore, the closedloop system has great disturbance rejection ability. Professor Han firstly proposed active disturbance rejection control (ADRC), which is taking full advantage of control errors to suppress the control errors [21–23], and it is composed of tracking differentiator (TD), extended state observer (ESO), and nonlinear PID. However, there are 12 parameters in ADRC, which results in a difficult tuning process. With an attempt to simplify the tuning process and make ADRC more practical, LADRC is proposed with linearizing the ESO and TD by Gao in 2003. By this simplification, LADRC only has 3 parameters for tuning [24]. LADRC has lots of successful applications [25–28]. Simulation and experimental results prove that LADRC has nice performance and strong robustness to disturbances. In WWTPs, the variables except the dissolved oxygen can be regarded as the internal uncertain dynamics, while the influent can be regarded as the external unknown disturbance, which could be estimated and compensated by the linear extended state observer (LESO). Therefore, LADRC may have good effect in the control of dissolved oxygen. However, the ability of LADRC to overcome the disturbance of WWTPs and how to choose proper LADRC parameters for the control of dissolved oxygen are unclear. Both of them are worth making a further research in theory and practice for WWTPs. For this purpose, some theoretical analysis and simulation researches are fulfilled.
This paper is organized as follows. Section 2 presents the basic structure of BSM1, the dissolved oxygen control strategy, and the design approaches of LADRC. Section 3 presents the results of simulation, the steps of parameters tuning, and related analysis. Finally, conclusions are given in Section 4.
2. Benchmark Simulation Model Number 1 and Its Control Strategy
2.1. The BSM1 Introduction
BSM1 layout can be divided into two parts, which includes 5 activated sludge reactors and a secondary settler. General structure of BSM1 is shown in Figure 1. Five activated sludge reactors are called bioreactors which are composed of 2 anoxic tanks (Units 1 and 2) and 3 aerobic tanks (Units 3–5). The activated sludge model number 1 (ASM1) has been selected to describe the biological phenomena taking place in biological reactors [29, 30]. Thus, the model includes oxidizing reactions, nitrification, and denitrification for removing biological nitrogen. Behind the reactors, there is a secondary settler, which is composed of 10 layers. The 6th layer is the feed layer, through which the wastewater is from the bioreactors to the secondary settler. At last the treated wastewater comes out of the 10th layer and parts of the sludge from the 1st layer go back to Unit 1 through the external recycle. In the secondary settler, there is no biochemical reaction, just physical deposition. The doubleexponential settling velocity function has been selected to describe the secondary settler [31, 32].
In ASM1, there are 13 state variables (including 6 particulate components and 7 soluble components), 8 basic processes, 5 stoichiometric parameters, and 14 kinetic parameters. All the variables, processes, and parameters describe the oxidizing reactions, nitration reactions, and denitrification reactions. Reactions in each bioreactor about 13 state variables follow mass balancing: where is the bioreactor number, is the state variables, is the influent, is the volume of the bioreactor, is the observed conversion rates, and is from 1 to 13. is the core parameter in ASM1, which reflects the relationship among variables. BSM1 is built with Matlab/Simulink, including 5 bioreactors, a secondary settler, and a timedelay unit. The simulation data of dry weather, rainy weather, and stormy weather on benchmark of WWTPs on 14 days is provided to test the model. Only the dry weather data present in Figure 2 is used in this paper, because the data of dry weather, rainy weather, and stormy weather is the same except the last 2 two days.
The flowweighted average values of the effluent concentrations, such as chemical oxygen demand (COD), biochemical oxygen demand (BOD), ammonium (), total nitrogen (TN), and total suspended solids (TSS) [1, 2], should be within the limits given in Table 1. The quality of processed wastewater called effluent quality (EQ) from the 10th layer can be described by [31] where is the nitrate and nitrite nitrogen. Accordingly, the influent quality (IQ) can be calculated as

2.2. Control Strategy
In BSM1, the control of nitration reactions and denitrification reactions is important. Two factors affect the reactions. The first is the concentration of dissolved oxygen for the activated sludge process, because adequate oxygen level is good for the growth of autotrophic bacteria to reduce ammonia nitrogen to be nitrate. The other factor is the level of nitrite and nitrate in anoxic tanks. Primary control objectives have been given in Table 2 and Figure 3 shows the control structure of BSM1.

Based on ASM1, the dissolved oxygen concentration in aerated sections is the key factor, which affects the process of the biochemical reactions. The dissolved oxygen concentration is manipulated by the oxygen transfer coefficient, which determines the reaction rate of the whole 13 state variables. Excessive dissolved oxygen concentration leads to increase of COD and BOD of the wastewater. On the contrary, if the dissolved oxygen concentration is relatively low, the nitration reaction is inhibited and the removal of ammonia nitrogen in the wastewater will be incomplete. The TN and cannot meet the effluent requirement. Moreover, in aerated sections, keeping the proper dissolved oxygen concentration in Unit 5 is of great importance. First, the effluent quality on 7 soluble components depends on the wastewater from Unit 5, and they will not be changed in secondary settler. Second, parts of the excessive dissolved oxygen from Unit 5 to anoxic sections through the internal recycle constrain the denitrification reactions, so the control of feedback influent () will keep the dissolved oxygen in a proper value in the internal recycle. In addition, controlling the oxygen transfer coefficient in Units 3–5 is less efficient to control the oxygen transfer coefficient in Unit 5 and make the oxygen transfer coefficient in Units 3 and 4 fixed. Therefore, the proper dissolved oxygen concentration in Unit 5 is the key factor in the whole BSM1 system.
Equation (1) covers 13 state variables that meet mass balancing. However, considering the influence of the oxygen transfer coefficient (), the equation of the oxygen () in Unit 5 is where is the volume of Unit 5, is the fluent of Unit 4, is fluent of Unit 5, is the observed conversion rates of the oxygen, and is the oxygen transfer coefficient.
2.3. Designing the LADRC
In BSM1, (4) can be written as a first order plant where Let Here, is referred to as the external unknown disturbance and the internal uncertain dynamics. is the compensating factor of the plant. Let , and then (5) can be written as where The state space model (8) can be written as a compact form where The linear extended state observer (LESO) is designed as where is the estimate of . can be obtained using the pole placement technique, and let The two observer poles should be placed at : Then, and can be placed at and . Therefore, LESO is The PD controller is where the gain can be defined as the function of closedloop natural frequency [24]. The control scheme of dissolved oxygen in BSM1 by LADRC is given in Figure 4.
3. Simulation Results and Discussions
3.1. LADRC Parameter Tuning
In (15) and (16), 3 parameters, , , and , are tunable parameters of LADRC. Integral of absolute error (IAE), integral of squared error (ISE), and variance of error (VAR) are calculated to evaluate the control of LADRC on BSM1 [2]. The optimal LADRC tuning steps are given below.
Step 1. In (4) and (5), can be set to be 1 (if the plant is unknown, could be acquired by simulation).
Step 2. A common rule is to choose [24]. Based on this rule, we may get a set of and that can stabilize the systems. (a)Fixing , increasing and decreasing , we can find several groups of stable parameters named class A.(b)Fixing , increasing and decreasing , we can find another class B.(c)Comparing A and B, we may find the relationship between and .(d)Changing both and on this relationship, we may find other groups of stable parameters.
Step 3. By comparison with the value of IAE, ISE, and VAR, optimal parameters can be found easily.
According to the steps described above, several groups of simulation are performed, and several results can be found. (1)Dissolved oxygen concentration in Unit 5 could keep near 2g(COD)/m^{3} (see Figure 5(a)) when nearly , , and .(2)If , the concentration of the dissolved oxygen fluctuates greatly (see Figure 5(b)).(3)If , the disturbance is larger than the controlled signal. Performance of the closedloop system degrades (see Figure 5(c)).(4)If is decreased, must be increased to keep the performance (see Table 3).
Parts of simulation results are present in Figure 5. The performance of closedloop system and the EQ values are shown in Table 3. Comparing groups , one may find that as long as the dissolved oxygen concentration in Unit 5 keeps near 2g(COD)/m^{3}, the EQ values are almost the same.

(a)
(b)
(c)
In Table 3, the optimal parameters are shown in group . In fact, the performances of the groups look the same in Figure 5. When the parameters are chosen as group , the variation of and is shown in Figure 6, which gives out the comparison with virtual reference feedback tuning (VRFT) [19]. The change of wastewater quality is given in Table 4. Apparently, the wastewater quality has been improved greatly.

3.2. Analysis of LADRC Parameters to BSM1
In Section 2.3, LADRC is designed based on BSM1. LESO is the key part of LADRC, which can actively estimate two states, and . The estimation errors and can be defined by According to (12) and (13), LESO can be rewritten as Then, the differential errors are When the states go into steady, that is and are almost zero, we have, The errors are obtained as which can be rewritten as where and . If , will tend to zero and will also tend to zero. In other words, LESO could estimate the and effectively. From Section 2.3, can be described by where and are the parameters of BSM1, is the basic process of aerobic growth of heterotrophs, and is the basic process of aerobic growth of autotrophs: where is the readily biodegradable substrate in Unit 5, is the active heterotrophic biomass in Unit 5, is the nitrogen in Unit 5, and is the active autotrophic biomass. Then the differential of is where and include the controlled state variable . For the wastewater process being a large timedelay system, it is reasonable to let in be a small variable in , where leads to zero. At the same time, another variable could be estimated by a 14day period of stabilization in closedloop using dry weather inputs [4]. Through the simulation and calculation, is described in Figure 7 with about 0.2.
If the parameter meets , should exceed 160. In Section 3.1, if the parameter , the fluctuate of the dissolved oxygen concentration becomes large. Therefore, the optimal parameters are and . This is nearly 14 times the . This also confirms the data given in Table 3 and the analysis above.
4. Conclusions
In this paper, the control of dissolved oxygen in WWTPs is considered. The process of wastewater treatment is full of nonlinear, uncertain, and strong couplings. A robuster and more practical control strategy is in great need. As a result of the simple structure, nice disturbance rejection performance, and easy tuning approach, LADRC is employed.
For the control of dissolved oxygen in WWTPs, optimal LADRC parameters tuning approach is obtained by simulations. Estimation capacity of the linear extended state observer is analyzed, which also provides a valuable guidance to choose parameters of LADRC for the control of dissolved oxygen. Simulation results confirm that LADRC is able to get a nice performance.
Although the study is performed by simulation, it can be viewed as an essential step before implementing LADRC in a real plant, since BSM1 is a common framework to test control strategies for WWTPs. LADRC will probably be a more practical and promising solution to the control of wastewater treatment processes.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work is supported by National Natural Science Foundation of China (51179002), Beijing Natural Science Foundation (4112017), the Importation and Development of HighCaliber Talents Project of Beijing Municipal Institutions (YETP1449).
References
 J. B. Copp, The COST Simulation Benchmark: Description and Simulator Manual, Office for Official Publications of the European Communities, Luxembourg, Luxembourg, 2008.
 J. Alex, L. Benedetti, J. Copp et al., Benchmark simulation model no.1 (BSM1), 2008.
 I. R. RodriguezRoda, M. SanchezMarre, J. Comas et al., “A hybrid supervisory system to support WWTP operation: implementation and validation,” Water Science and Technology, vol. 45, no. 45, pp. 289–297, 2002. View at: Google Scholar
 A. Rivas, I. Irizar, and E. Ayesa, “Modelbased optimization of wastewater treatment plants design,” Environmental Modelling & Software, vol. 23, no. 4, pp. 435–450, 2008. View at: Publisher Site  Google Scholar
 G. Olsson and B. Newell, Wastewater Treatment Systems. Modelling, Diagnosis and Control, IWA Publishing, London, UK, 1st edition, 1999.
 C. A. C. Belchior, R. A. M. Araújo, and J. A. C. Landeck, “Dissolved oxygen control of the activated sludge wastewater treatment process using stable adaptive fuzzy control,” Computers & Chemical Engineering, vol. 37, pp. 152–162, 2012. View at: Publisher Site  Google Scholar
 B. Holenda, E. Domokos, Á. Rédey, and J. Fazakas, “Dissolved oxygen control of the activated sludge wastewater treatment process using model predictive control,” Computers & Chemical Engineering, vol. 32, no. 6, pp. 1278–1286, 2008. View at: Publisher Site  Google Scholar
 W. Shen, X. Chen, and J. P. Corriou, “Application of model predictive control to the BSM1 benchmark of wastewater treatment process,” Computers & Chemical Engineering, vol. 32, no. 12, pp. 2849–2856, 2008. View at: Publisher Site  Google Scholar
 H.G. Han, J.F. Qiao, and Q.L. Chen, “Model predictive control of dissolved oxygen concentration based on a selforganizing RBF neural network,” Control Engineering Practice, vol. 20, no. 4, pp. 465–476, 2012. View at: Publisher Site  Google Scholar
 T. Yang, W. Qiu, Y. Ma, M. Chadli, and L. Zhang, “Fuzzy modelbased predictive control of dissolved oxygen in activated sludge processes,” Neurocomputing, vol. 136, pp. 88–95, 2014. View at: Publisher Site  Google Scholar
 B. Carlsson and A. Rehnström, “Control of an activated sludge process with nitrogen removal—a benchmark study,” Water Science and Technology, vol. 45, no. 45, pp. 135–142, 2002. View at: Google Scholar
 B. Carlsson, C. F. Lindberg, S. Hasselblad, and S. Xu, “Online estimation of the respiration rate and the oxygen transfer rate at Kungsangen wastewater plant in Uppsala,” Water Science and Technology, vol. 30, no. 4, pp. 255–263, 1994. View at: Google Scholar
 L. Åmand and B. Carlsson, “Optimal aeration control in a nitrifying activated sludge process,” Water Research, vol. 46, no. 7, pp. 2101–2110, 2012. View at: Publisher Site  Google Scholar
 M. Yong, P. Yongzhen, and U. Jeppsson, “Dynamic evaluation of integrated control strategies for enhanced nitrogen removal in activated sludge processes,” Control Engineering Practice, vol. 14, no. 11, pp. 1269–1278, 2006. View at: Publisher Site  Google Scholar
 P. Vega, S. Revollar, M. Francisco, and J. M. Martín, “Integration of set point optimization techniques into nonlinear MPC for improving the operation of WWTPs,” Computers & Chemical Engineering, vol. 68, pp. 78–95, 2014. View at: Publisher Site  Google Scholar
 H.G. Han, H.H. Qian, and J.F. Qiao, “Nonlinear multiobjective modelpredictive control scheme for wastewater treatment process,” Journal of Process Control, vol. 24, no. 3, pp. 47–59, 2014. View at: Publisher Site  Google Scholar
 J. Mendes, R. Araújo, T. Matias, R. Seco, and C. Belchior, “Automatic extraction of the fuzzy control system by a hierarchical genetic algorithm,” Engineering Applications of Artificial Intelligence, vol. 29, pp. 70–78, 2014. View at: Publisher Site  Google Scholar
 L. H. Li, X. Wang, and Y. C. Bo, “Application of adaptive dynamical programming on multivariable control of wastewater treatment process,” Computer Measurement & Control, vol. 21, no. 3, pp. 667–670, 2013. View at: Google Scholar
 J. D. Rojas, X. FloresAlsina, U. Jeppsson, and R. Vilanova, “Application of multivariate virtual reference feedback tuning for wastewater treatment plant control,” Control Engineering Practice, vol. 20, no. 5, pp. 499–510, 2012. View at: Publisher Site  Google Scholar
 Y.G. Xi, D.W. Li, and S. Lin, “Model predictive control—status and challenges,” Acta Automatica Sinica, vol. 39, no. 3, pp. 222–236, 2013. View at: Publisher Site  Google Scholar
 J. Q. Han, “Auto disturbances rejection controller and it's applications,” Control and Decision, vol. 13, no. 1, pp. 19–23, 1998. View at: Google Scholar
 J. Q. Han, “Active disturbances rejection controller,” Frontier Science, vol. 1, pp. 24–31, 2007. View at: Google Scholar
 J. Q. Han, “From PID to active disturbance rejection control,” IEEE Transactions on Industrial Electronics, vol. 56, no. 3, pp. 900–906, 2009. View at: Publisher Site  Google Scholar
 Z. Q. Gao, “Scaling and BandwidthParameterization based controller tuning,” in Proceedings of the American Control Conference, Denver, Colorado, June 2003. View at: Google Scholar
 Y.C. Fang, H. Shen, X.Y. Sun, X. Zhang, and B. Xian, “Active disturbance rejection control for heading of unmanned helicopter,” Control Theory & Applications, vol. 31, no. 2, pp. 238–243, 2014. View at: Publisher Site  Google Scholar
 C.E. Huang, D. Li, and Y. Xue, “Active disturbance rejection control for the ALSTOM gasifier benchmark problem,” Control Engineering Practice, vol. 21, no. 4, pp. 556–564, 2013. View at: Publisher Site  Google Scholar
 A. RodriguezAngeles and J. A. GarciaAntonio, “Active disturbance rejection control in steering by wire haptic systems,” ISA Transactions, vol. 53, no. 4, pp. 939–946, 2014. View at: Publisher Site  Google Scholar
 L. Fucai, L. Lihuan, G. Juanjuan, and G. Wenkui, “Active disturbance rejection trajectory tracking control for space manipulator in different gravity environment,” Control Theory & Applications, vol. 31, no. 3, pp. 352–360, 2014. View at: Google Scholar
 M. Henze, W. Gujer, T. Mino et al., “Activated sludge model no.1,” IAWPRC Scientific and Technical Reports 1, 1986. View at: Google Scholar
 M. Henze, W. Gujer, T. Mino, and M. van Loosdrecht, Eds., Activated Sludge Models ASM1, ASM2, ASM2d and ASM3, IWA Publishing, IWA Task Group on Mathematical Modelling for Design and Operation of Biological Wastewater Treatment, London, UK, 2004.
 I. Takacs, G. G. Patry, and D. Nolasco, “A dynamic model of the clarificationthickening process,” Water Research, vol. 25, no. 10, pp. 1263–1271, 1991. View at: Publisher Site  Google Scholar
 The European cooperation in the field of scientific and technical research, Action 624: Optimal Management of Wastewater Systems, http://apps.ensic.inplnancy.fr/COSTWWTP/.
Copyright
Copyright © 2015 Xiaoyi Wang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.