Keywords

1 Introduction

Three important parameters are needed for representing an industrial process control system. These are (i) gain (ii) time delay and (ii) time-constant. The exact representation of such system using these parameters is very difficult due to model uncertainty, i.e., error between actual plant and the model. Modeling point of view this is one possible uncertainty and assume that the model error is negligible. In real time, there may be disturbances at the plant outputs, inputs parameter variations, measurement inaccuracies, and assume these are known to be within 15–20% from their respective values. Considering these into account, designing a controller is a challenging task. A controller is called as a robust controller which can reject these disturbances in effective way in regulating the process control variables [1]. There are a wide variety of robust controller design methods. Sliding mode control strategy is a robust control design methodology which is completely insensitive to the uncertainties. These are classified into first-order and higher-order control strategies.

The sliding mode control strategy design comprises of two stages. One is designing the switching surface; once the system states are sliding on the switching surface, the system characteristics are presided by the characteristics of sliding surface and the other is to design a control action, such that the system should reach the sliding surface in finite time. Usually, to obtain ideal sliding motion, fast switching of control action is required but in actual plants, switching occurs at finite frequency causing the trajectories to oscillate within the region of sliding surface. This phenomenon is called chattering effect. Generally, conventional first-order sliding mode control (FOSMC) exhibits chattering phenomena. Chattering phenomena leads to large undesired oscillations causes instability of the system. To overcome the above effects, second-order sliding mode control had been developed. The main advantage of SOSMC over FOSMC is it completely avoids chattering effect and higher accuracy can be obtained with respect to robustness and easiness of implementation [2].

This paper is organized as: Significance of system parameters of SOPDT model is explained Sect. 2. The SOSMC design procedure and control laws are discussed in Sect. 3. Simulated results for different algorithms in SOSMC are presented in Sect. 4 and conclusions from results are drawn in Sect. 5.

2 Significance of Time Constants, Gain, and Time Delay of SOPDT Model

Consider an industrial process control system which is described using SOPDT model and its transfer function is given in Eq. (1).

$$G(s) = \frac{{Ke^{{ - \alpha_{d} s}} }}{{\left( {1 + \alpha_{1} s} \right)\left( {1 + \alpha_{2} s} \right)}}$$
(1)

Usually, study of system gain K, time constants α1, α2, and delay time αd helps to understand the model behavior. For a certain change in controller output, the response of process variable behaves according to the change in gain. Simply, larger gain means the response of the system will be larger [3]. Time-constant illustrates how quickly the process responds to a certain change in controller output [4]. The process described using SOPDT model is having two time-constants, and by using this, the plant behavior can be modeled. The dead time illustrates how much delay is expressed in the output for a change in controller output but the dead time does not affect the nature of the response. The frequency response of the FOPDT model does not match with the actual plant at specific corner frequencies [3] as it contains less number of parameters. The mismatch in the frequency response can be minimized using SOPDT representations. Therefore, it is better to prefer SOPDT model rather than FOPDT model. The time delay of the SOPDT model is represented using (0/1) Pade approximation and it is described using Eq. (2).

$$e^{ - \alpha s} = \frac{1}{1 + \alpha s}$$
(2)

The transfer function of SOPDT model using Pade approximation is given using Eq. (3).

$$G(s) = \frac{K}{{\left( {1 + \alpha_{1} s} \right)\left( {1 + \alpha_{2} s} \right)\left( {1 + \alpha_{d} s} \right)}}$$
(3)

Using phase variable canonical state space model, Eq. (3) is expressed as given in Eq. (4).

$$\dot{X} = AX + BU$$
(4)
$$A = \left[ {\begin{array}{*{20}c} 0 & 1 & 0 \\ 0 & 0 & 1 \\ { - p_{1} } & { - p_{2} } & { - p_{3} } \\ \end{array} } \right]\,\,,\,\,B = \left[ {\begin{array}{*{20}c} 0 \\ 0 \\ b \\ \end{array} } \right]$$

where

$$\begin{aligned} p_{1} & = \frac{1}{{\alpha_{1} \alpha_{2} \alpha_{d} }},p_{2} = \frac{{\alpha_{1} + \alpha_{2} + \alpha_{d} }}{{\alpha_{1} \alpha_{2} \alpha_{d} }} \\ p_{3} & = \frac{{\alpha_{1} \alpha_{2} + \alpha_{2} \alpha_{d} + \alpha_{1} \alpha_{d} }}{{\alpha_{1} \alpha_{2} \alpha_{d} }} \\ \end{aligned}$$

where X1(t) is the output, u(t) is the control input and p1, p2, p3 are functions of plant parameters.

3 Second-Order Sliding Mode Control (SOSMC) of a SOPDT Model

The second-order sliding mode controller is design involves design of (i) switching surface and also (ii) design of controller. Switching surface design involves designing a surface/plane ‘s’ which is a the linear combination of the state variables [5]. The role of the SOSMC controller is to keep the variables on this surface and also to make the system insensitive to the uncertainties. If the state variables are deviated from the pre-defined switching surface, then the controller has to bring these variables onto the surface. The switching surface is defined by equation \(s = \dot{s} = 0\). [6]

  1. (a)

    Defining a Sliding Surface

In SOSM control approach, the history of all state variables will converge to an equilibrium point when they obey \(s = \dot{s} = 0\) of the state plane. The switching surface of the SOSMC strategy is stated using Eq. (5) (Fig. 1).

$$s = \left\{ {X \in R^{K} ;s = \dot{s} = 0} \right\}$$
(5)
Fig. 1
figure 1

Sliding mode control

The mathematical representation of switching surface, ‘s’ is stated as \(s(x) = Sx\), and here, x is a state vector and \(s \in R^{n}\) is switching surface vector. The switching function, ‘s’ and its first-time derivative with respect to time is continuous and its second-time derivative w.r.t time is discontinuous [7].

$$\dot{s} = \frac{\partial s}{{\partial x}}\dot{x} = \frac{\partial s}{{\partial x}}\left( {f\left( x \right) + b\left( x \right)u} \right)$$

Differentiating twice the switching variable “s” produces a relation as given in Eq. ().

$$\begin{aligned} \ddot{s} & = \frac{{\partial \dot{s}}}{\partial x}\left( {f\left( x \right) + b\left( x \right)u} \right) + \frac{{\partial \dot{s}}}{\partial u}\dot{u} \\ \ddot{s} & = \alpha \left( x \right) + \beta \left( x \right)\dot{u}\, \\ \end{aligned}$$

If \(\left| {s\left( x \right)} \right| < s_{0}\), the following inequalities are assumed.

$$\left| {\alpha (x)} \right| < \phi ,0 < \Gamma_{m} \le \beta (x) \le \Gamma_{M} ,\beta (x) = \frac{{\partial \dot{s}}}{\partial u}$$

The SOPDT system is represented in the regular form [8] and the respective matrices are obtained as given

$$A_{11} = \left[ {\begin{array}{*{20}c} 0 & 1 \\ 0 & 0 \\ \end{array} } \right]A_{12} = \left[ {\begin{array}{*{20}c} 0 \\ 1 \\ \end{array} } \right]A_{21} = \left[ {\begin{array}{*{20}c} { - a_{1} } & { - a_{2} } \\ \end{array} } \right]A_{22} = \left[ { - a_{3} } \right]$$

The switching surface design involves the design of state feedback matrix M such that the eigen values of (A11A12M) are in the left half of s-plane and to achieve this, the desired characteristic equation is needed. It is the second-order quadratic equation as given in Eq. (6)) where parameters \(\xi \,{\text{and}}\,\omega_{n}\) represent the desired damping ratio and natural frequency, respectively. The M matrix is obtained by comparing Eq. (6) with (A11A12M) and it is given in Eq. (7).

$$\lambda^{2} + 2\varepsilon \omega_{n} \lambda + \omega_{n}^{2} = 0$$
(6)
$$M = \left[ {\begin{array}{*{20}c} {m_{1} } & {m_{2} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\omega_{n}^{2} } & {2\varepsilon \omega_{n} } \\ \end{array} } \right]$$
(7)

The sliding surface is given by

$$s = \left[ {\begin{array}{*{20}c} {m_{1} } & {m_{2} } & 1 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {x_{1} } \\ {x_{2} } \\ {x_{3} } \\ \end{array} } \right]$$
$$s = m_{1} x_{1} (t) + m_{2} x_{2} (t) + x_{3} (t)$$
(8)

where \(m_{1} = \omega_{n}^{2} ,m_{2} = 2\xi \omega_{n}\).

The time derivative of the switching surface (first order) is given using Eq. (9).

$$\dot{s}(t) = - p_{1} x_{1} (t) + (m_{1} - p_{2} )x_{2} (t) + (m_{2} - p_{3} )x_{3} (t) + bu(t)$$
(9)
  1. (b)

    Control Law

The control laws for SOPDT system using twisting super-twisting and adaptive algorithms are described in the following paragraphs.

Twisting Algorithm

Using twisting algorithm, the trajectories are plotted using s and sdot variables are twisting around the origin and its characteristic is as shown in Fig. 2. In the twisting algorithm of the second-order sliding mode control assumes that after a finite time interval the point ṡ = 0 will be reached [9]. The control algorithm is defined by the control law as given in Eq. (10).

$$\begin{aligned} \dot{u}_{{{\text{TW}}}} & = \left\{ {\begin{array}{*{20}l} { - u_{{{\text{TW}}}} } \hfill & {for} \hfill & {\left| u \right| > u_{\max } } \hfill \\ { - k_{m} \,{\text{sign}}\left( s \right)} \hfill & {for} \hfill & {s\dot{s} \le 0\,{\text{and}}\,\left| u \right| \le u_{\max } } \hfill \\ { - k_{M} \,{\text{sign}}\left( s \right)} \hfill & {for} \hfill & {s\dot{s} > 0\,{\text{and}}\,\left| u \right| \le u_{\max } } \hfill \\ \end{array} } \right. \\ & \quad k_{M} > k_{m} > 0,k_{m} > \frac{{4\Gamma_{M} }}{{s_{0} }},k_{m} > \frac{\phi }{{\Gamma_{m} }},\Gamma_{m} k_{M} - \phi > \Gamma_{M} k_{m} + \phi \\ \end{aligned}$$
(10)
Fig. 2
figure 2

Trajectory of s and sdot (twisting)

Super-Twisting

Using super-twisting algorithm, the trajectories plotted using s and sdot variables are twisted around the origin along with travel on sdot axis (super-twisting) and its characteristic is as shown in Fig. 3. The super-twisting sliding mode control algorithm relies on inserting an integrator into the control loop such that control becomes continuous time function (ust). The control law uST is defined by two terms: the first is defined in terms of an integral of a discontinuous function of sliding variable, while the second is a continuos function of the sliding variable [10] . The control law is defined mathematically using Eq. (11).

$$\begin{aligned} u_{{{\text{ST}}}} & = u_{1} + u_{2} \\ \dot{u}_{1} & = \left\{ {\begin{array}{*{20}l} { - u_{{{\text{ST}}}} ,} \hfill & {{\text{for}}} \hfill & {\left| {u_{ST} } \right| > u_{\max } } \hfill \\ { - w\,{\text{sign}}(s),} \hfill & {{\text{for}}} \hfill & {\left| {u_{ST} } \right| \le u_{\max } } \hfill \\ \end{array} } \right. \\ u_{2} & = \left\{ {\begin{array}{*{20}l} { - \lambda \left| {s_{o} } \right|^{\rho } {\text{sign}}(s),} \hfill & {{\text{for}}} \hfill & {\left| s \right| > s_{o} } \hfill \\ { - \lambda \left| s \right|^{\rho } {\text{sign}}(s),} \hfill & {{\text{for}}} \hfill & {\left| s \right| \le s_{o} } \hfill \\ \end{array} } \right. \\ \end{aligned}$$
(11)
Fig. 3
figure 3

Trajectory of s and sdot (super-twisting)

where

$$\begin{aligned} & w > \frac{\phi }{{\Gamma_{m} }},\quad 0 < \rho \le 0.5 \\ & w > \frac{{4\Gamma_{M} }}{{s_{o} }},\quad \rho (\lambda \Gamma_{m} )^{{\frac{1}{\rho }}} > (\Gamma_{M} w + \phi )(2\Gamma_{M} )^{{\frac{1}{\rho } - 2}} \\ \end{aligned}$$

4 Adaptive Algorithm

Adaptive sliding mode is an effective control technique approach that has better disturbance rejection and chattering avoidance properties than classical SMC [11]. The control law for adaptive control is defined mathematically as

$$\dot{u} = - \theta \,{\text{sign}}\left( p \right)$$

where \(p = \dot{S} + \left| S \right|^{\frac{1}{2}} {\text{sign}}\left( S \right)\)

$$\dot{\theta } = \left\{ {\begin{array}{*{20}l} {\overline{\theta }\left\| p \right\|\,{\text{sign}}(\left\| p \right\| - \varepsilon )} \hfill & {{\text{if}}} \hfill & {\theta > \mu } \hfill \\ \mu \hfill & {{\text{if}}} \hfill & {\theta < \mu } \hfill \\ \end{array} } \right.$$
(12)

where \(\overline{\theta }\), µ and \(\varepsilon\) are positive controller parameters to be chosen. The value of µ has been set to restrict the gain to be positive value. The parameter \(\varepsilon\) defines the region around the switching surface, i.e., indicates closeness to the switching surface. It will effect the variation in switching gain and responsible to achieve ideal sliding mode [11].

5 Simulation Results

Second-Order Sliding Mode Control for Twisting Algorithm

Simulation studies has been carried out by considering the SOPDT system using second-order SMC strategy using a twisting algorithm. Here, the parameters \(\xi = 0.7\) and \(w_{n} = 3.8\) are considered for design of switching surface. Different initial conditions considered for simulation studies are X0 = [0.0125, 0.0125, 0, 0], [0.05, 0.05, 0, 0], [0.1, 0.1, 0, 0], and [0.075, 0.075, 0, 0] with design constants as \({V}_{m}\) = 0.7 and VM = 1. The history of the state variables x1, x2, x3 and the switching surface with time is shown, respectively, using Figs. 4, 5, 6 and 7 considering these initial conditions. It is observed that these state variables are returning to the stable equilibrium state using SMC with twisting control algorithm.

Fig. 4
figure 4

Plant variable x1 versus time without disturbance condition

Fig. 5
figure 5

Plant variable  x2 versus time without disturbance

Fig. 6
figure 6

Plant variable x3 versus time without disturbance

Fig. 7
figure 7

Switching surface versus time without disturbance

The trajectory of switching surface and its derivatives is shown in Fig. 8. The finite time convergence of state trajectories to the origin in the state plane is due to switching of the actual control signal between two different magnitudes. The time taken for the state variables to reach the stable equilibrium point using second-order twisting SMC is less compared to first-order SMC.

Fig. 8
figure 8

Derivative of switching surface versus switching surface using twisting algorithm without disturbance

Second-Order Sliding Mode Control for Super-Twisting Algorithm

For the simulation studies of this system using this algorithm needs important parameters like W, \(\rho\) and \(\lambda\). These are considered as follows W = 3, \(\rho = 0.5\) and \(\lambda = 4.75\). The trajectory of S and Sdot using super-twisting algorithm without disturbance for different initial conditions are graphically shown in Fig. 9. From this figure, it is observed that under different conditions the shape of this trajectory is following desired shape.

Fig. 9
figure 9

S versus Sdot trajectory without disturbance

For the simulation studies of this system is also performed using this algorithm under disturbance conditions considering the parameters like W, \(\rho\) and \(\lambda\). The controller parameters are chosen such that, they assure the convergence of the state variables to an equilibrium point in a finite time, when this system is subjected to disturbance under different initial conditions. The constants are chosen as W = 3, \(\rho = 0.5\), \(\lambda = 4.75\), \(\xi = 0.7\) and \(w_{n} = 3.8\). The variation of plant variables x1, x2, x3, S and Sdot with time are shown, respectively, in Figs. 10, 11, 12 and 13 under disturbance condition. These are plotted by considering four different initial conditions x0 = [0.0125, 0.0125, 0, 0], [0.05, 0.05, 0, 0], [0.075, 0.075, 0, 0] and [0.1, 0.1, 0, 0]. Here, the system is also subjected to step disturbance d = 0.01 * (Heaviside(t − 16) − Heaviside(t − 16.5)) with a magnitude 0.01 during the period 16–16.5 s. It is observed that when this system is subjected to the perturbation, these variables are returning to the original equilibrium state. It is observed that the control algorithm is effectively rejecting the disturbances and the regulation characteristics are also good.

Fig. 10
figure 10

Plant variable x1 versus time under disturbance condition

Fig. 11
figure 11

Plant variable x2 versus time under disturbance condition

Fig. 12
figure 12

Plant variable x3 versus time under disturbance condition

Fig. 13
figure 13

Switching surface versus time under disturbance condition

Adaptive Second-Order Sliding Mode Control (ASOSMC)

In ASOSMC, \(\overline{\theta }\), µ and ɛ parameters chosen such that, they assure a finite time convergence of the state variables when this system is subjected to parameter variation. The constants are chosen as, \(\overline{\theta }\) = 540, µ = 95 and ɛ = 0.0001. The system is subjected to parameter variations in damping ratio and natural frequency. The response is plotted with respect to time. The variations of the state variables, sliding surface, and derivative of sliding surface with respect to time under the parameter variation conditions are obtained graphically in the interval [0 10]. For three different damping ratios 0.3, 0.5, 0.7 and natural frequencies \(w_{n}\) as 2.42, 2.28, 3.8. The parameter variation of plant variables x1, x2, x3, s and sdot with time is shown respectively in Figs. 14, 15, 16 and 17. It is observed that this SMC is effective under these conditions (Fig. 18).

Fig. 14
figure 14

Plant variable x1 versus time under parameter variation

Fig. 15
figure 15

Plant variable x2 versus time under parameter variation

Fig. 16
figure 16

Plant variable x3 versus time under parameter variation

Fig. 17
figure 17

s versus time under parameter variation

Fig. 18
figure 18

sdot versus time under parameter variation

ASOSMC provides smooth control to force the system states on sliding surface. There is no chattering effect and also insensitive to the parameter variation.

6 Conclusions

The design of the different sliding surfaces for twisting, super-twisting, and adaptive algorithms has been used for design of SOSMC to improve performance of second-order process with delay time. In SOSMC, existence of sliding mode has been proved for SOPDT systems with significant improvement of performances. The proposed methods are able to achieve low overshoot and small settling time simultaneously. Also robust and high performance control can be achieved with the above-explained algorithms of SOSMC. From simulation results, we can observe that SOSMC gives control avoiding chattering phenomena. Thus, the used SOSMC algorithms provide an improvement in transient performance along with steady-state accuracy with smooth control efforts and settling time are improved effectively.