Abstract

A procedure to design an asymptotically stable second-order sliding mode observer for a class of single input single output (SISO) nonlinear systems in normal form is presented. The observer converges to the system state in spite of the existence of bounded disturbances and parameter uncertainties affecting the system dynamics. At the same time, the observer estimates the disturbances without the use of an additional filter to recover the equivalent control. The observer design is modular; each module of the observer is applied to each equation of state of the plant. Because of this, the proposed observer can be applied to a broader class of dynamic systems. The performance of the observer is illustrated in numerical and experimental form.

1. Introduction

A state observer is a system that provides an estimate of the state variables, parameters, and disturbances of a given real system, based on measurements of the inputs and outputs of that system. From the viewpoint of dynamic systems, the observer design problem arises from the need for information to carry out control, monitoring, and modeling. In this way, it is a major problem in implementing a control system in general [1, 2]. Moreover, disturbances widely exist in modern control systems and bring about adverse effects to their performance. Therefore, disturbance rejection is one of the key objectives in controller design. The disturbances can arise not only from the external environment but from unmodeled dynamics, parameter perturbations, and nonlinear couplings of multivariable systems, which are difficult to handle [3]. Thus, a disturbance estimator can become a complement of a state observer, or even it can be included in the state observer design, as in our case.

In many cases, the design of observers depends largely on the model of the plant and on the knowledge of information of the nominal values on its parameters. These observers need an accurate model of the plant; if there are external disturbances or parameter uncertainties, the performance is diminished, causing stability problems in the closed loop system. Therefore, the problem of observation of systems with unknown inputs has been one of the most important problems in control theory during the last decades.

Currently, there are different observers that exhibit some degree of robustness and can be applied to linear and nonlinear systems. Because the observers design problem is related to the controllers design problem, different robust control techniques have been used to design robust observers; see, for example, [48]. Particularly, the observers based on sliding mode technique have shown good convergence properties and exhibit good performance to external bounded disturbances. For this reason, observers based on sliding modes are widely used because of their features such as robustness to unknown inputs and the possibility of using the equivalent control for the estimation of unknown inputs and obtaining convergence in finite time; see, for example, [1, 4, 9, 10]. In what follows, some of the most important works on observers using the sliding mode technique are described.

An observer for Lipschitz nonlinear systems, with not only unknown inputs but also measurement noise when the observer matching condition is not satisfied, is presented in [11]. An important condition is that the disturbances in the state equation and the noise in the output must have a bounded derivative. Also, the total operation of the observer depends on the accuracy of the estimation of internal auxiliary variables on finite time, which theoretically can be done. However, in practice, there can be many problems due to nonidealities in physical systems which generate real sliding modes that produce chattering in the state.

In [12], a differentiator with finite time convergence based on the supertwisting algorithm is presented. This differentiator solves, in theory, the problem of the estimation of the state variables in systems that can be brought to normal form, but it cannot estimate disturbances in the systems.

Other important proposals are [7, 13]. Reference [13] presents an observer based on the supertwisting algorithm for mechanical systems with bounded disturbances. This observer ensures convergence in finite time to the state of the plant. In [7], based on second-order sliding modes technique, a robust observer for mechanical systems with uncertainties is presented. This observer has convergence in exponential form to the state of the plant. In both cases [7, 13], the equivalent control is equal to the disturbance terms in the plant and they can be recovered using a low-pass filter [14]. In [15], this principle was successfully used to compensate disturbances and give robustness in a closed loop control system; however, these observers can only be applied to systems with Lagrangian structure and there is not a procedure to tune the time constant in the low-pass filter to recover the perturbations.

Reference [8] presents an observer for a special class of nonlinear systems with bounded state. The observer can estimate the disturbances in the system through the equivalent control, but it needs a low-pass filter to recover the disturbance, which generates an error in the estimation. Finally, in [16], multiple cascading observers are applied to uncertain linear systems to solve the problem of fault detection; this is an interesting proposal but it needs a filter for each observer.

In this paper, an observer for SISO nonlinear systems in normal form, with parameter uncertainties and external disturbances, is presented. The observer is based on the results presented in [7], but unlike the observer shown there, this observer guarantees asymptotic convergence to the state of the plant and to the disturbances; therefore, the use of an additional filter to recover the equivalent control is avoided; this constitutes the main contribution of the present approach. A restriction to be made in the observer design is that the time derivative of the disturbance is upper bounded by a known constant. The observer design is modular; each module of the observer is applied to each equation of state of the plant; because of this, the proposed observer can be applied to a broader class of dynamic systems. The performance of the observer is illustrated through a numerical simulation where the observer estimates the state variables of a chaotic system. The performance is also illustrated in experimental form; the observer is applied on a mechanical system to estimate the state variables and the disturbances, which are incorporated in a control system to compensate them and obtain a robust closed loop system, similar to a sliding control system, but with a smooth control input.

The organization of this paper is as follows. Section 2 provides the problem statement and presents some preliminary definitions. Section 3 shows the general structure of the observer and the stability proof. Its performance is illustrated in Section 4 through two examples: an observer design for a scaled Rössler system and an experimental observer application in a control system. Finally, Section 5 presents final comments and conclusions.

2. Preliminary Definitions and Problem Statement

Consider a nonlinear SISO system described bywhere is the state vector and , , , and are functions , for sufficiently large . is the control input and is a bounded unknown external disturbance.

Consider that system (1) has relative degree with respect to output , input , and disturbance ; then, there exists a set of transformations well defined in a subspace of the state space, such that system (1) can be rewritten as where functions , , and are defined through Lie derivatives [17].

The problem is to design an observer for system (1) whose objective is to estimate the state and the disturbance . This problem is equivalent to designing an observer for system (2) and to obtaining using the inverse transformation.

3. Observer Design for SISO Systems

Consider that system (2) has bounded behavior for the input and the disturbance term and that and , for , and , where , , and are known finite constants.

The proposed observer has the form

As we can see, for each state of system (2), there are two states and an output in observer (3). To analyze the stability of the observer, we define the error variableswhose dynamics are given by the system

The stability analysis of system (5) is made in several steps. It is important to note that the behavior of variables and is independent of the rest of the state variables of system (5); the behavior of variables and depends on variables and but not on the rest of the state variables, and so on in each block.

Take the first two equations of system (5):because the behavior of the plant is considered bounded, we have that and . Making the change of variables and , system (6) can be rewritten asdefine matrix as and matrix , which is the solution of the Lyapunov equation , for matrix , asthe stability properties of system (7) are given by the following theorem.

Theorem 1. For system (7), iffor some , then the origin of the state space is a globally asymptotically stable equilibrium in the Lyapunov sense.

Proof. The proof of this theorem is in [7].

Therefore, a set of constants , , and can be found such that the origin of the system is asymptotically stable; then, converges to and to .

Now, the dynamics of variables and are given bydefining a new set of variableswhose dynamics are given byand substituting , we obtainIt is important to note that the term goes to zero due to the first stage of the observer and that ; for this reason and using Theorem 1, a set of constants , , and can be found such that the origin of system (14) is an exponentially stable equilibrium point; therefore, converges to and converges to .

Now, to analyze block , consider equationsand a set of variableswhose dynamics are given by the systemIn this case, goes to zero due to the previous stage of the observer and . Using Theorem 1, we can find constants , , and such that the origin of system (17) is an exponentially stable equilibrium point; therefore, converges to and converges to .

Finally, we analyze block . Consider the equationsfor simplicity, a function is defined assuch that system (18) can be rewritten as we define a new set of variableswhose dynamics are given by the systemSince goes to zero due to the previous stage of the observer and is considered bounded because is bounded, applying Theorem 1, a set of constants , , and can be found such that the origin of system (20) is an exponentially stable equilibrium point; therefore, converges to and converges to .

It is important to note that the proposed observer, unlike others such as those presented in [4, 7], does not need to add low-pass filters to recover the disturbance terms.

4. Observer Performance

This section illustrates the performance of the observer through two examples. The first is a numerical simulation where the observer is used to estimate the state vector of a scaled version of the Rössler system under chaotic behavior.

The second example is an experiment where the observer is included in a control system; the observer estimates and compensates the velocities and disturbance terms due to parametric uncertainties and unmodeled dynamics in a mechanical system; thus, the closed loop system became robust.

4.1. Observer Design for a Scaled Rössler System

Consider a scaled version of the Rössler system modeled bywhere , , , and are constants, is a control input, and is the output. For , , , and , the system shows a chaotic behavior; therefore, all state variables are bounded [18].

Using the transformationwith inverse given bysystem (23) takes the normal formThe observer takes the following form:It is important to note that the equation for does not include the term , so this term is the disturbance . The parameters of the observer are the following: , , , , , , , , and .

Figure 1 shows the behavior of the actual and the observed state variables in space; dashed lines correspond to variables and continuous lines correspond to variables. Figure 1(a) corresponds to and , Figure 1(b) corresponds to and , Figure 1(c) corresponds to and , and Figures 1(d), 1(e), and 1(f) correspond to the errors between actual and observed variables. As we can see, the observer converges to the plant in a short time. In this simulation, the initial conditions in the plant were different to the initial conditions in the observer.

Figure 2, with the same order of Figure 1, shows the behavior of the actual and the observed state variables in space. It should be taken into account that observed state variables were obtained through the application of inverse transforms (26). Finally, Figure 3 shows the actual disturbance term and the disturbance estimated by .

In practice, each stage of the observer has an actual sliding mode instead of an ideal sliding mode, which produces high frequency components with small amplitude in the observed variables; these components produce a cumulative effect. Because of this fact, a greater content of high frequency components (see Figure 3) is seen in the estimation of the disturbance, which is generated in the last stage of the observer.

4.2. Experimental Observer Application in a Control System

In this subsection, we use the proposed observer to estimate velocities and disturbances in a mechanical system; the estimated disturbances are used in the controller to compensate the real ones in the plant. As a result, we obtain a robust closed loop system, like those where a sliding mode controller is applied, but with a control signal free from high frequency components.

Consider the pendulum shown in Figure 4; its model is given bywhere and are the angular position and velocity, respectively, is the control input, and is a term that incorporates external disturbances and terms due to parametric uncertainties; we assume that both and are bounded. The control objective is that the output tracks a reference signal :

4.2.1. The Control Structure

To design a controller, we define the error variables and , whose dynamics are given byWe propose a control input defined as , where is a nominal control and is an auxiliary control. It is assumed that the nominal control produces a bounded behavior in the plant; in this example, we define asSubstituting (32) in (31) and considering the fact that , we haveif the constant is positive, the origin of system (33) is an exponentially stable equilibrium point. If the uncertainty term is small and bounded, the behavior of system (31) with control (32) is bounded too [17].

Now, we propose the additional term aswhere and are estimated by an observer. Therefore, the full control signal takes the formwhere . Substituting (35) in (31), we haveIf an asymptotic observer is used such that the term , where , goes to zero in asymptotic form, then the constants and may be chosen such that the origin of system (36) will be an asymptotically stable equilibrium point [17].

4.2.2. The Performance of the Observer

For the plant given by (29), the proposed observer iswhere , , , , , and . The full control system was implemented on a 1103 dSPACE control platform, with a sample time of seconds. The gains of the controller are and and the reference signal is .

In order to observe the effect of disturbance compensation, in the first twenty seconds of the experiments, the control input does not include the disturbance identified; after this time, it is incorporated. The experimental results are shown in Figures 510.

Figure 5 shows that the controller estimates properly the angular position because it is identical to the measured angular position; therefore, the estimated velocity, shown in Figure 6, and the disturbances identified, shown in Figure 7, are very close to the actual velocity and disturbance, respectively.

Now, we analyze the closed loop performance. In Figure 8, we can see the control signal; it has a small change at  sec when the estimated disturbance is incorporated.

Finally, Figures 9 and 10 show that, in the first 20 seconds, when the disturbances are not compensated, the tracking error is large. When this term is compensated, after 20 seconds, the tracking error decreases considerably in both cases.

5. Conclusions

This paper presents the design of a robust observer for a class of SISO nonlinear systems with full relative degree. This observer guarantees, analytically, the asymptotic convergence to the state of the plant in spite of the parametric uncertainties and bounded external disturbances. In addition, the observer identifies the disturbances in the plant without the use of an additional low-pass filter. This observer can be extended directly to other types of multiple input multiple output (MIMO) systems such as mechanical systems modeled by Lagrange equations and to those that can be brought to a normal form.

The performance of the observer has been illustrated in a particular control system but it is possible to make a generalization of this application to mechanical systems and other kinds of dynamic systems. Moreover, the example of the observer for the Rössler system opens the possibility to use the observer for the synchronization of chaotic systems.

The observer also presents certain practical problems. The use of several cascading stages can degrade the performance of the final stages due to the accumulation of numerical errors, because the variables recovered at each stage are used in the following stages. In order to minimize this problem, the observer needs to be implemented in real-time systems with small sampling times. Under these conditions, no practical problems occur even in third-order systems.

It is important to note that the experimental results are very similar to those obtained with other more complex control techniques such as and the sliding mode control, with the advantage of not requiring the solution of the Riccati differential equation online [19], whose solution is needed in case, and having a smooth control signal, which cannot be done with the standard sliding mode control.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.