Research Article  Open Access
Fayiz Abukhadra, "Active Disturbance Rejection Control of a CoupledTank System", Journal of Engineering, vol. 2018, Article ID 7494085, 6 pages, 2018. https://doi.org/10.1155/2018/7494085
Active Disturbance Rejection Control of a CoupledTank System
Abstract
In process industries, liquid is pumped and stored in interacting coupled tanks. The liquid level in these tanks must be accurately controlled. This study aims to investigate the performance of the active disturbance rejection control method in controlling a coupledtank system. A mathematical model of the coupledtank system is derived to facilitate a simulation study. Assuming that the water level in the second tank is the only measured state, an extended observer with timevarying parameters estimates the second state and the total disturbances of the system. The system is then regulated using a timevarying feedback controller. The results show the effectiveness of the method in improving the time domain measures and the disturbance rejection compared to other controllers.
1. Introduction
In process control, the liquid level control in multiple connected tanks performed by controlling the liquid flow is a typical nonlinear control problem present in many industrial processes. A mathematical model of the plant is required to design a controller to maintain a constant level in such tanks. The mathematical model of the controlled plant can be obtained by two techniques: analytical and experimental. The mathematical models for a coupledtank system are obtained by applying the laws of energy conservation, mass conservation, etc. The mathematical models obtained by means of analytical designs are generally complex and most often contain nonlinear dependencies of variables. The need to estimate system uncertainties using input and output is a fundamental problem of the control theory. Different methodologies were proposed to solve this problem. Among them are the backstepping control strategy [1], the adaptive fuzzy proportionalintegral controller [2], the neurofuzzysliding mode controller [3], the hybrid fuzzy inference system that uses artificial hydrocarbon networks at the defuzzification step or the socalled fuzzymolecular control [4], and secondorder sliding mode controllers (SMC) [5]. A hybrid system that combines the advantages of the robustness of the fractional control and the SMC [6] and a digital proportional integral controller [7] were also proposed. Moreover, an observedstate feedback controller via eigenvalue assignment and linearquadraticGaussian control were designed in discretetime and implemented by an industrial controller (i.e., programmable logic controller) [8]. Several other researchers reported modelbased controllers as the development of an optimal PID controller for controlling the desired liquid level using the particle swarm optimization (PSO) algorithm for optimizing the PID controller parameters [9]. A static sliding mode control scheme was proposed for the system [10], and two different dynamic sliding mode control schemes were proposed to reduce the chattering problem associated with the static sliding mode control scheme.
The active disturbance rejection control (ADRC) [11] is a method that does not require a complete mathematical description of the system. The basic idea for this method comprises the use of an extended observer coupled with a feedback controller in the closedloop control. The observer estimates all states of the system, uncertainties, and external disturbances (total uncertainty). The total uncertainty is considered as an extended state of the system. If the estimation of the observer is accurate, the system to be controlled is converted to a simpler model because the total uncertainty is canceled in real time. The ADRC method has been successfully applied to several practical problems [12–14].
The current study aims to apply the ADRC method to regulate the liquid level in the second tank of a coupledtank system. In addition, this study attempts to reduce the tuning parameters of the ADRC, use the timevarying parameters of the observer and the controller, and optimize the parameters of the observer and the controller using the integral absolute error (IAE) as the cost function and the genetic algorithm as the optimization method. To the best of the author’s knowledge, this is the first study to apply the ADRC method to the problem of the coupledtank system.
The remainder of this paper is structured as follows: Section 2 derives a mathematical model of the coupledtank system and introduces the ADRC method; Section 3 describes the ADRC method used herein and discusses the simulation results; and Section 4 concludes this paper.
2. Methods
2.1. Mathematical Modeling of the CoupledTank System
Figure 1 shows a schematic of the coupledtank system, which consisted of two connected tanks. A pump supplied water into the first tank (q). The second tank was filled from the first tank via a connecting pipe (q_{1}). An outlet was located at the bottom of the second tank to change the output flow q_{2}. The mathematical model of the coupledtank system is nonlinear.
We derive the following equation by applying the flow balance equation for tanks 1 and 2 [10]:
In (1), q_{1} and q_{2} are defined as follows [10]:where h_{1} and h_{2} are the water level in tanks 1 and 2, respectively; q is the inlet flow rate; q_{1} is the flow rate from tanks 1 to 2; A is the cross section area for both tanks; a_{1} is the area of the pipe connecting the two tanks; a_{2} is the area of the outlet; and is the constant of gravity. The system can be considered as a single inputsingle output system (SISO) if the inlet flow q is selected as the input and the liquid level h_{2} in the second tank is selected as the output. The dynamic model of the coupled tanks is described by the following equation [10]:
Parameters k_{1} and k_{2} are defined as follows:
Note that q is always positive, which means that the pump can pump water into the tank . At equilibrium, for the constant water level set point, the derivatives with regard to the water levels in the two tanks must be zero, such that the following condition can be written:
Therefore, the following algebraic relationship holds when (3) is used in (5):
The equilibrium flow rate q can be calculated as follows:
In the case of coupled tanks, the inequality holds in every operating point, which implies that the terms The dynamic model can then be written as
Using the following transformation,
Eq. (8) can be written as
Accordingly, and in (10) have the following form:
2.2. Active Disturbance Rejection Control
The ADRC method is explained on the secondorder SISO dynamical system of the following form:where and are the system input and output, respectively. The nonlinear function is the internal dynamics of the system, and is the external disturbance. Taking the estimation value of as b_{0}, (15) can be rewritten as follows:where the state variables and are the system states, and is added as an additional state representing the total disturbance. The states of (13) are estimated using an extended state observer (ESO). The main advantage of an ESO is that it can estimate the total uncertainties without knowledge of the system’s mathematical model. The ESO treats the total uncertainties as a new state. An ESO for the secondorder system is constructed as follows [15, 16]:
The timevarying function has the following form:
The parameter in (21) can be determined, such that the characteristic polynomial
is Hurwitz.
If the observer tuning procedure is adequate, the observer states converge to the system states → , → , and → in finite time.
The control objective is to cancel the total disturbance while satisfying the tracking task. The total disturbance is rejected with the system input signal:where is a control signal from a feedback controller. Substituting (17) in (13) and assuming an accurate estimation of the total disturbance, the controlled system transforms to a double integrator:
A double integrator can be controlled with any classical controller design. The following control law can be obtained if a linear proportional and derivative controller is used:where are the reference signal and its derivative, respectively; and and are the estimated states of the plant. One possible method to simplify the controller tuning is to set
Figure 2 shows the block diagram of the ADRC closedloop system.
3. Results and Discussion
Table 1 lists the numerical values of the parameters of the coupledtank system [10].

The range of the pump flow rate was limited between = 0 and = 50 [cm^{3}/s].
The Methods clearly showed that the parameters of the closedloop control using ADRC are , and . The Hurwitz characteristic polynomial is selected as follows with the poles −4.4848, −0.2576 + 2.5735i, −0.2576 − 2.5735i:
Accordingly, were obtained using a genetic algorithm optimization method with the objective of minimizing the IAE defined as follows:
The optimum parameters obtained are .
Figure 3 shows the regulation performance of the controller for a desired level of 6 cm and confirms that the controllers successfully regulated the water level. Figure 4 depicts the control signal of the ADRC. Figure 5 presents the ESO performance in estimating the system states. The observer accurately estimated the states. The errors and converged to zero in less than 1 s.
The following performance measures were introduced to facilitate a comparison with the other control methods: the settling time defined as the time taken until the output finally settles within 2% of the steady state value; the rise time, , defined as the time taken by the output to change from 10% to 90% of its final value; and, in addition to the IAE, the integral squared error (ISE) and the time weighted absolute error (ITAE) computed as follows:
The performance of the ADRC was then compared with that of the SMC method reported in [10]. Table 2 presents the rise time, settling time, and error indices (i.e., IAE, ISE, and ITAE) for the design in [10] and the ADRC method. The table clearly shows that the ADRC outperforms the other designs in all performance measures. The response of the system controlled by the ADRC took 58.2 s to settle, whereas that in the design in [10] took 113 s. The rise time of the output response in the ADRC controller was 46 s, whereas that of the SMC was 52 s. The ADRC method resulted in a 48% smaller settling time than that in [10]. Moreover, the rise time was 27% smaller than that in [10]. The IAE, ISE, and ITAE were 41%, 50%, and 56% smaller than those in [10].

As a second test, we tested the ADRC in a tracking test. The set point tracking test consisted of successively changing the set point during the operation (Figure 6). The set point change was performed at 200 s by a magnitude of 6 cm height in the water level. Consequently, the ADRC method accurately tracked the set point changes in the water level. The same parameters were used for the ADRC for the tracking experiment.
As a third test, we checked the ADRC performance against the input disturbance. An external flow rate of 60 cm^{3}/s that started at 150 s and ended at 200 s was applied. Figure 7 illustrates the closedloop response of the ADRC control and shows how fast the controller response was to the disturbance and corrected it.
4. Conclusions
In this study, the ADRC approach was successfully implemented with the design tested by a simulation to control the water level in the second tank of a coupledtank system. The effectiveness of the ADRC method was verified through computer simulations. The results showed that this control method can control a nonlinear system at all possible operating points. The designed ADRC achieved the desired transient response with small rise and settling times. The advantages of the ADRC are as follows: (a) easiness and simplicity in design; (b) nonrequirement of a mathematical model of the plant; and (c) robustness against uncertainty and disturbance. Further work is anticipated in the practical implementation of the proposed ADRC technique.
Data Availability
No data were used to support this study.
Conflicts of Interest
The author declares that they have no conflicts of interest.
References
 V. Calofir, V. Tanasa, I. Fagarasan, I. Stamatescu, N. Arghira, and G. Stamatescu, “A Backstepping Control Method for a Nonlinear Process  Two CoupledTanks,” 2013, https://arxiv.org/abs/1312.0728. View at: Google Scholar
 S. R. Mahapatro, B. Subudhi, and S. Ghosh, “Adaptive Fuzzy PI Controller Design for Coupled Tank System:An Experimental Validation,” IFAC Proceedings Volumes, vol. 47, no. 1, pp. 878–881, 2014. View at: Publisher Site  Google Scholar
 A. Boubakir, F. Boudjema, and S. Labiod, “A neurofuzzysliding mode controller using nonlinear sliding surface applied to the coupled tanks system,” International Journal of Automation and Computing, vol. 6, no. 1, pp. 72–80, 2009. View at: Publisher Site  Google Scholar
 H. Ponce, P. Ponce, H. Bastida, and A. Molina, “A novel robust liquid level controller for coupledtanks systems using artificial hydrocarbon networks,” Expert Systems with Applications, vol. 42, no. 22, pp. 8858–8867, 2015. View at: Publisher Site  Google Scholar
 M. K. Khan and S. K. Spurgeon, “Robust MIMO water level control in interconnected twintanks using second order sliding mode control,” Control Engineering Practice, vol. 14, no. 4, pp. 375–386, 2006. View at: Publisher Site  Google Scholar
 H. Delavari, A. N. Ranjbar, R. Ghaderi, and S. Momani, “Fractional order control of a coupled tank,” Nonlinear Dynamics, vol. 61, no. 3, pp. 383–397, 2010. View at: Publisher Site  Google Scholar  MathSciNet
 H. Bastida, P. Ponce, R. Ramirez, and A. Molina, “Model and Control for Coupled Tanks Using Labview,” in Proceedings of the 2013 International Conference on Mechatronics, Electronics and Automotive Engineering (ICMEAE), pp. 127–133, Morelos, Mexico, November 2013. View at: Publisher Site  Google Scholar
 D. Engules, M. Hot, and B. Alikoc, “Level control of a coupledtank system via eigenvalue assignment and LQG control,” in Proceedings of the 23rd Mediterranean Conference on Control and Automation, MED 2015, pp. 1198–1203, Spain, June 2015. View at: Google Scholar
 H. I. Jaafar, S. Y. Hussien, N. A. Selamat et al., “PSOtuned PID controller for coupled tank system via prioritybased fitness scheme,” in Proceedings of the INternational Conference on Mathematics, Engineering And Industrial Applications 2014 (ICoMEIA 2014), p. 070032, Penang, Malaysia. View at: Publisher Site  Google Scholar
 N. B. Almutairi and M. Zribi, “Sliding mode control of coupled tanks,” Mechatronics, vol. 16, no. 7, pp. 427–441, 2006. View at: Publisher Site  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
 M. Przybyła, M. Kordasz, R. Madoński, P. Herman, and P. Sauer, “Active Disturbance Rejection Control of a 2DOF manipulator with significant modeling uncertainty,” Bulletin of the Polish Academy of Sciences—Technical Sciences, vol. 60, no. 3, 2012. View at: Publisher Site  Google Scholar
 Z. Chen, Q. Zheng, and Z. Gao, “Active disturbance rejection control of chemical processes,” in Proceedings of the 16th IEEE International Conference on Control Applications, CCA 2007. Part of IEEE Multiconference on Systems and Control, pp. 855–861, Singapore, October 2007. View at: Google Scholar
 X. Wang, An Active Disturbance Rejection Control Solution for Electrohydraulic Servo Systems, Cleveland State University, 2012.
 D. Yoo, S. S.T. Yau, and Z. Q. Gao, “Optimal fast tracking observer bandwidth of the linear extended state observer,” International Journal of Control, vol. 80, no. 1, pp. 102–111, 2007. View at: Publisher Site  Google Scholar  MathSciNet
 X.X. Yang and Y. Huang, “Capabilities of extended state observer for estimating uncertainties,” in Proceedings of the American Control Conference (ACC '09), pp. 3700–3705, IEEE, St. Louis, Mo, USA, June 2009. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2018 Fayiz Abukhadra. 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.