Research Article | Open Access

# Robust High-Gain Observers Based Liquid Levels and Leakage Flow Rate Estimation

**Academic Editor:**Ai-Guo Wu

#### Abstract

The paper aims to solve the problem of liquid level and leakage flow rate estimations for a state coupled four-tank process, that is why an UIO is developed to simultaneously estimate the unmeasured state variables and the perturbations considered as unknown inputs. We have proposed a state repartition that allows putting the model of the quadruple tank system to the canonical form for which the design of the observer is more easier. The observation scheme that uses a combination of high-gain observers and sliding mode observers allows improving robustness in the state estimation quality and a perfect reconstruction of the disturbance waveforms.

#### 1. Introduction

The unknown inputs (UI) estimation issue and its mathematical formulation have received considerable interest over the last two decades in several domains (secure communication [1], civil engineering [2], biomedical domain [3], chemistry [4], etc.). In fact, the estimation of the UI is required in many engineering applications and scientific studies, especially where the plants embody unknown disturbances, faults, parameters mismatch,* etc.* Through an unknown input observer (UIO) the aim to simultaneously estimate the unmeasured system state and the UI can be achieved. The methods used in the literature can be classified into two types: decoupling of the UI or the estimation of UI by extending the system state vector.

First alternatives mainly rely on decoupling the UI through nonlinear transformation [5, 6]. Consequently, strict conditions are imposed on the disturbance distribution matrix and the UI structures. The framework given in [7] discusses the UI estimation subject in different conditions. Such assumption is recently released in [8], where the authors propose a systematic design methodology for state observers for a large class of nonlinear systems with bounded exogenous inputs. Sliding mode observers- (SMO-) based UI estimation is investigated in several works [9, 10]. The chattering phenomena which represent the main hindrance of such approach have recently been overcome by the higher-order SMO [11]. The high-gain observer- (HGO-) based approaches have been also successfully used in the conjoint estimation of state variables and UI or faults. In [12], under some global Lipschitz assumptions, a cascade HGO for a large class of nonlinear MIMO systems is designed in such a way that each subobserver provides an estimation of one component of the UI vector except the last one which achieves a reconstruction of the whole state variables.

For the second alternative, the UIs are considered as a part of the system state under the condition that their variations are relatively slow with respect to the state dynamics (constant, time polynomial, etc.) [10]. The corresponding observers are then constructed in such a way to estimate both the state vector and the UIs. Furthermore, in [13, 14], the authors also estimate the states and disturbance using an extended state observer (ESO). Some authors have sought to extend conventional observation algorithms such as Lunberger and EKF, so that the state vector includes the UI ([2, 15, 16]). Others, however, transform the UI identification problem into a constrained optimization problem which can be easily solved by adopting the linear matrix inequalities (LMIs) formalism [17, 18].

To add robustness to the quality of estimation, a combination between the HGO and the SMO algorithms is performed in some recent works. In [19] auxiliary outputs are generated using high-gain approximate differentiators and then used in the design of SMO without the match requirement for linear MIMO systems. For SISO nonlinear Lipschitz systems with nonmatching uncertainty, a hybrid observer structure that combines a HGO with higher-order sliding mode term is proposed in [20]. An extension of the HGO by a sliding mode term that follows the disturbance vector for affine input nonlinear MIMO class is investigated in [21]. Conjoint estimation of state and UI is required in many industrial applications, namely, in the processes where liquid level control intervenes, e.g., in food processing, water treatment systems, breeding, and pharmaceutical and petrochemical industries. The simultaneous observation of the liquid levels and the leakage flow rates is a real problem in these industrial processes where liquids are pumped, stored in tanks, and then pumped to other tanks. Besides the intrinsic nonlinearities shown in the corresponding models and the strong coupling of its states, the presence of UI such as valves perturbations or unknown flow rates present more challenges whether in the control or in diagnostic objectives.

This paper aims to solve the problem of state estimation of a quadruple tank system in presence of the UI (Figure 1). A HGO is used together with the SMO so as to improve the quality of the liquid levels estimation and reconstruct the leakage flow rates of the underlying system. A change of the state coordinates is used for transforming the original system into the canonical observable form. We introduce multiple sliding modes to handle the disturbance inputs. Under a structural assumption for the disturbance distribution matrix, the multiple SMO is designed in order to guarantee the complete observability of the system with respect to the UI. The proposed method relies only on the output estimation error in the sliding surface. The paper is organized as follows: the next section introduces the quadruple tank system. Section 3 gives some preliminaries on the nonlinear systems class of study and the state transformation. The main results on the design and analysis of a robust nonlinear observer that combines the HGO and SMO are presented in Section 4. Section 5 is devoted to the simulation results with a comparison between the Robust High-Gain Observer (R-HGO), our proposed method, and the Extended Kalman Filter (EKF) algorithm. Finally, a conclusion and perspectives are drawn.

#### 2. Quadruple Tank Process Modeling

The so-called quadruple tank system, introduced in [22], has recently attracted much attention as it exhibits characteristics of interest in both control research and education [23, 24]. In our case, the quadruple tank process, shown in Figure 1, is a slightly modified version compared to the design given in [22]. This system consists of a liquid basin, two pumps, four tanks having the same area with orifices, and level sensors at the bottom of each tank. In this experimental setup, Pump 1 and Pump 2 provide, respectively, in-feed to tanks 3 and 4 and the outflows of tank 3 and tank 4 become in-feed to tank 1 and tank 2 as shown in Figure 1. The outflows of tank 1 and tank 2 are emptied into the liquid basin. The dynamic equations for the liquid level in the four tanks issued from the Bernoulli’s law are as follows:

where are respectively the liquid level, the cross-sectional area, the inflow rate, and the outflow rate, for the tank. Note that both pumps are identical. So, the inflow rates into the two top tanks 3 and 4 are given by

where is the pump’s constant (). The outflow rate from the orifice at the bottom of each tank is

Then, the outflow rate for each top tank is given by

where is the gravitational acceleration and denotes the cross-sectional areas of the outflow orifice at the bottom of the tank into the tank and for each bottom tank.

where denotes the cross-sectional area of the outflow orifice at the bottom of the tank into the basin. Finally, note that for the four-tank system the following equation should be respected:

We have considered that the four tanks have the same cross-sectional area for . So, let us define the stationary parameter as follows:

Then, we can rewrite the quadruple tank model as follows:

where and are the unknown leakage flow rates, respectively, from the bottom tanks 1 and 2.

The main objective of this work is to simultaneously estimate the missing liquid levels in both upper tanks and and the UI waveforms and with only the measurements of the liquid in both bottom tanks and .

#### 3. Nonlinear Class of Study and State Transformation

We consider the following class of the affine input nonlinear MIMO systems to which the quadruple tank model belongs:

where connected manifold of dimension , and we assume the state space of interest to be compact; and , are smooth vector fields on ; are smooth functions from , , is a vector field on ; and the disturbance vector is represented by with denoting the disturbance signals that affect the system, and we assume that each is bounded.

The traditional nonlinear transformation uses the structural properties of the system to decouple the known/UI by transforming the system into another domain. In order to design the nonlinear UIO, the system distribution vectors must satisfy the involutive property [5]. The outputs should also have vector relative degree corresponding to at each point . These assumptions in general are conserved. Instead of decoupling the UIs, we shall deal with the disturbances directly in our design. In the context of our paper, the relative degree of the system is defined with respect to the UI as follows.

*Assumption 1. *From the outputs, there are at least outputs with relative degrees with respect to the UI, .

*Remark*. Among the methods that allow constructing the state transformation, one can proceed as follows.

For each output , we define the following transformation:

Thereafter, let the transformation matrix be as follows:

such that , For

Consequently, model (9) can be transformed into the new coordinates with transformation (10), so that

For the subsystems under the transformations , the following structure can be obtained:

with

Each subsystem in form (13) can be rewritten in a condensed form as follows:

where

So, the whole system is given in coordinates by

where

and , .

Before the synthesis of the observer, some other assumptions are required as follows.

*Assumption 2. *The mapping is a diffeomorphism.

*Assumption 3. *The norms of and are bounded. Furthermore, system (9) is assumed to be a stable bounded-input-bounded-state (BIBS).

*Assumption 4. *The transformed system (15) should have the following structure:

for , where with . According to the [25], each subsystem is uniformly observable with respect to .

*Assumption 5. *The distribution vector and the function are Lipschitz functions with respect to for all .

The following assumption is the key requirement that guarantees the reconstruction of all the UI from the multiple sliding mode.

*Assumption 6. *The dynamics of states that are measured as outputs of subsystems have the following structure:

where .

#### 4. Robust High-Gain Observer Design

##### 4.1. Observer Synthesis

Our objective consists in synthesizing an observer to simultaneously estimate the unmeasured state and the UI without assuming any model for the latter. According to [21], for the subsystem (11) satisfying Assumptions 4–6, the proposed observer can be designed as follows:

where for all .

is a scalar-valued robust term given by the sliding mode estimation:

(for ) is the sliding mode estimation gain and is the boundary layer design parameter.

In summary, the whole proposed observer of the system (17) is given by

where

with

is a definite positive solution of the following algebraic Lyapunov equation:

It can be explicitly given as follows:

with and is the sole design parameter.

The proof of the error convergence is detailed in [21].

##### 4.2. Observer Form in the Original State Coordinates

Under Assumption 1 and using (11), we can write

then the observer can be written in the original state coordinates as follows:

where is given by

The UIs can be reconstructed from their respectively equivalent control signals as follows:

for , where is a small positive scalar.

The UI estimation relies on the output estimation error and hence the estimation can be performed online together with state estimation.

#### 5. Application of the UIO on the Four-Tank System

To show the effectiveness of the proposed nonlinear UIO previously described, we consider the following intuitive state transformation:

In the coordinate, system (8) can be written as follows:

with

##### 5.1. Conjoint Estimation of the Liquid Levels and Leakage Flow Rates

The obtained system (34) is in the canonical form as (17) with . The objective is to reconstruct the liquid level of tanks 3 and 4 and the UIs and . Only the measurements of and are considered available. The previous assumptions are not very restrictive and they can be verified for a large class of MIMO nonlinear systems. The appropriate state observer can be rewritten in the following form:

with ; and .

The UIs can be estimated from the robust term through the multiple sliding modes (32) as follows:

By means of inverse transformation (29), the observer can be given the original coordinates as (30).

The parameters of the quadruple tank model used in the numerical simulations are as follows:

, , , and .

Both trapezoidal profiles for the leakage flow rates are imposed as disturbance inputs to the plant (Figure 4). The time evolution of the liquid levels for () issued from the model simulation is compared to their respective estimates provided by the observer for () (Figures 2 and 3). Notice that, with a choice of the synthesis parameter and , we remark that all the estimates need less than to track well their true value at the transient. For both leakage flow rate estimations (), as shown in Figure 4, their reconstruction is quite precise when they are constant, whereas a little bounded error (less than ) is recorded when varies linearly with time.

##### 5.2. Comparison between the Robust High-Gain Observer (R-HGO) and the Extended Kalman Filter (EKF)

In order to highlight the features of the R-HGO design, besides its privilege in time computation and in the number of synthesis parameters, it is compared with the standard EKF algorithm which is one of the most industrial diffused observer [26, 27]. After several attempts to adjust the design parameters of this last , we have choose the following values: ;, , . Simulation results for conjoint state and UIs estimation of both techniques are illustrated in Figures 2–4. It is shown that when the abrupt disturbance is applied, only the estimates that arise from the R-HGO remain rallied around the trues states. This is can be explicated by the local nature of the EKF which approximates the nonlinear model only around some small neighborhood of the operating point. Moreover, through the zoom of the estimation, we remark that the EKF induces a biased reconstruction, whereas, in spite of the ripples arising from the sliding mode term in the R-HGO, the mean value of the estimated signal is more near to its truth waveform.

#### 6. Conclusion

A combination of HGO and SMO is used for a conjoint estimation of the state variables and the UIs. The robust terms designed from the sliding surfaces allow preserving a little bound estimation error when the disturbance occurs. Besides, it contributes to the reconstruction of the UI waveforms. As an application, both liquid levels of the upper tanks and leakage flow rates in both bottom tanks are conjointly estimated for a quadruple tank process. Simulation results demonstrate a good estimation performance especially when the UIs are constant or vary relatively slow.

In the majority of engineering applications, measurements are collected only at the sampling instants. So, a logical extension of our work consists in the development of a continuous-discrete time UIO for the quadruple tank process.

#### Data Availability

No data were used to support this study. Our study is based on simulation results.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### References

- S. Sundaram and C. N. Hadjicostis, “Distributed function calculation via linear iterative strategies in the presence of malicious agents,”
*Institute of Electrical and Electronics Engineers Transactions on Automatic Control*, vol. 56, no. 7, pp. 1495–1508, 2011. View at: Publisher Site | Google Scholar | MathSciNet - S. Pan, D. Xiao, S. Xing, S. S. Law, P. Du, and Y. Li, “A general extended Kalman filter for simultaneous estimation of system and unknown inputs,”
*Engineering Structures*, vol. 109, pp. 85–98, 2016. View at: Publisher Site | Google Scholar - A. Chakrabarty, S. M. Pearce, R. P. Nelson, and A. E. Rundell, “Treating acute myeloid leukemia via HSC transplantation: A preliminary study of multi-objective personalization strategies,” in
*Proceedings of the 2013 1st American Control Conference, ACC 2013*, pp. 3790–3795, USA, June 2013. View at: Google Scholar - E. Rocha-Cózatl and A. V. Wouwer, “State and input estimation in phytoplanktonic cultures using quasi-unknown input observers,”
*Chemical Engineering Journal*, vol. 175, no. 1, pp. 39–48, 2011. View at: Publisher Site | Google Scholar - Y. Xiong and M. Saif, “Sliding mode observer for nonlinear uncertain systems,”
*Institute of Electrical and Electronics Engineers Transactions on Automatic Control*, vol. 46, no. 12, pp. 2012–2017, 2001. View at: Publisher Site | Google Scholar | MathSciNet - T. Floquet, J. P. Barbot, W. Perruquetti, and M. Djemai, “On the robust fault detection via a sliding mode disturbance observer,”
*International Journal of Control*, vol. 77, no. 7, pp. 622–629, 2004. View at: Publisher Site | Google Scholar | MathSciNet - C. Edwards, S. K. Spurgeon, and R. . Patton, “Sliding mode observers for fault detection and isolation,”
*Automatica*, vol. 36, no. 4, pp. 541–553, 2000. View at: Publisher Site | Google Scholar | MathSciNet - A. Chakrabarty, M. J. Corless, G. T. Buzzard, S. H. Zak, and A. E. Rundell, “State and unknown input observers for nonlinear systems with bounded exogenous inputs,”
*Institute of Electrical and Electronics Engineers Transactions on Automatic Control*, vol. 62, no. 11, pp. 5497–5510, 2017. View at: Publisher Site | Google Scholar | MathSciNet - X.-G. Yan and C. Edwards, “Nonlinear robust fault reconstruction and estimation using a sliding mode observer,”
*Automatica*, vol. 43, no. 9, pp. 1605–1614, 2007. View at: Publisher Site | Google Scholar | MathSciNet - Y. Xiong and M. Saif, “Unknown disturbance inputs estimation based on a state functional observer design,”
*Automatica*, vol. 39, no. 8, pp. 1389–1398, 2003. View at: Publisher Site | Google Scholar | MathSciNet - M. Defoort, M. Djemai, T. Floquet, and W. Perruquetti, “Robust finite time observer design for multicellular converters,”
*International Journal of Systems Science*, vol. 42, no. 11, pp. 1859–1868, 2011. View at: Publisher Site | Google Scholar | MathSciNet - S. H. Saïd, F. M'Sahli, and M. Farza, “Simultaneous state and unknown input reconstruction using cascaded high-gain observers,”
*International Journal of Systems Science*, vol. 48, no. 15, pp. 3346–3354, 2017. View at: Publisher Site | Google Scholar | MathSciNet - J. Yao and W. Deng, “Active Disturbance Rejection Adaptive Control of Hydraulic Servo Systems,”
*IEEE Transactions on Industrial Electronics*, vol. 64, no. 10, pp. 8023–8032, 2017. View at: Publisher Site | Google Scholar - J. Yao and W. Deng, “Active disturbance rejection adaptive control of uncertain nonlinear systems: theory and application,”
*Nonlinear Dynamics*, vol. 89, no. 3, pp. 1611–1624, 2017. View at: Publisher Site | Google Scholar | MathSciNet - Y. Wang, R. Rajamani, and D. M. Bevly, “Observer design for differentiable Lipschitz nonlinear systems with time-varying parameters,” in
*Proceedings of the 2014 IEEE 53rd Annual Conference on Decision and Control (CDC)*, pp. 145–152, Los Angeles, CA, USA, December 2014. View at: Publisher Site | Google Scholar - M. Xiao, Y. Zhang, and H. Fu, “Three-stage unscented Kalman filter for state and fault estimation of nonlinear system with unknown input,”
*Journal of The Franklin Institute*, vol. 354, no. 18, pp. 8421–8443, 2017. View at: Publisher Site | Google Scholar | MathSciNet - S. Ahmadizadeh, J. Zarei, and H. R. Karimi, “Robust unknown input observer design for linear uncertain time delay systems with application to fault detection,”
*Asian Journal of Control*, vol. 16, no. 4, pp. 1006–1019, 2014. View at: Publisher Site | Google Scholar | MathSciNet - K. Mohamed, M. Chadli, and M. Chaabane, “Unknown inputs observer for a class of nonlinear uncertain systems: An LMI approach,”
*International Journal of Automation and Computing*, vol. 9, no. 3, pp. 331–336, 2012. View at: Publisher Site | Google Scholar - K. Kalsi, J. Lian, S. Hui, and S. H. Zak, “Sliding-mode observers for systems with unknown inputs: a high-gain approach,”
*Automatica*, vol. 46, no. 2, pp. 347–353, 2010. View at: Publisher Site | Google Scholar | MathSciNet - Y. Zhou, Y. C. Soh, and J. X. Shen, “High-gain observer with higher order sliding mode for state and unknown disturbance estimations,”
*International Journal of Robust and Nonlinear Control*, vol. 24, no. 15, pp. 2136–2151, 2014. View at: Publisher Site | Google Scholar | MathSciNet - K. C. Veluvolu, M. Defoort, and Y. C. Soh, “High-gain observer with sliding mode for nonlinear state estimation and fault reconstruction,”
*Journal of The Franklin Institute*, vol. 351, no. 4, pp. 1995–2014, 2014. View at: Publisher Site | Google Scholar | MathSciNet - K. H. Johansson, “The quadruple-tank process: a multivariable laboratory process with an adjustable zero,”
*IEEE Transactions on Control Systems Technology*, vol. 8, no. 3, pp. 456–465, 2000. View at: Publisher Site | Google Scholar - T. Raff, S. Huber, Z. Nagy, and F. Allgower, “Nonlinear Model Predictive Control of a Four Tank System: An Experimental Stability Study,” in
*Proceedings of the 2006 IEEE International Conference on Control Applications*, pp. 237–242, Munich, Germany, October 2006. View at: Publisher Site | Google Scholar - T. Deepa, P. Lakshmi, and S. Vidya, “Level control of quadruple tank process using discrete time model predictive control,” in
*Proceedings of the 2011 3rd International Conference on Electronics Computer Technology (ICECT)*, pp. 162–166, Kanyakumari, India, April 2011. View at: Publisher Site | Google Scholar - J.-P. Gauthier, H. Hammouri, and S. Othman, “A simple observer for nonlinear systems applications to bioreactors,”
*Institute of Electrical and Electronics Engineers Transactions on Automatic Control*, vol. 37, no. 6, pp. 875–880, 1992. View at: Publisher Site | Google Scholar | MathSciNet - B. E,
*Sur les observateurs des systemes non linéaires [Ph.D. thesis]*, Université de Bourgogne Dijon, France, 2004. - S. Hadj Said and F. M. Sahli, “A set of observers design to a quadruple tank process,” in
*Proceedings of the 2008 IEEE International Conference on Control Applications (CCA) part of the IEEE Multi-Conference on Systems and Control*, pp. 954–959, San Antonio, TX, USA, September 2008. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2018 Feten Smida 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.