This chapter discusses the concept of discrete-time sliding mode control (DTSMC) and its design procedure. It also covers how the states are brought to a predefined sliding surface mathematically and kept in a region near to the surface within a small band. This band is termed as an ultimate band in the field of DTSMC, which denotes the degree of robustness. Researchers have been working to find out different approaches to reach to that surface, but the most promising and well-defined way is reaching law approach. The idea of reaching law is discussed briefly in this chapter with examples for better understanding of the design procedure. In this chapter, a small introduction of continuous time sliding mode control (CTSMC) is given. Finally, the current state of the art is presented.
- sliding mode control
- variable structure control
- reaching law
- quasi-sliding band
- relative degree
- ultimate band
The elevator statement about sliding mode control (SMC) is that it is one of the robust control design techniques which is mathematically well-structured and assures performance in the presence of certain class of disturbance and uncertainties. Due to this it is used for controlling practical uncertain systems. It is originated from the concept of variable structure control (VSC). The name VSC itself describes that there is more than one structure defining a system which describes the complete behavior of the variable structure systems. In VSC, the control input is logically so chosen that the final closed-loop system behavior becomes stable regardless of the natures of the substructures (stable or unstable). This gives rise to a new system behavior not a part of any of the substructures. This phenomenon of getting a new system behavior is called sliding mode in the domain of variable structure control [1, 2, 3, 4].
The design procedure of SMC consists of two steps. The first step is to design a sliding surface appropriately which decides the behavior of the system during sliding. Then a control action is designed so that all the state trajectories are steered to the sliding surface in finite time and then forced to stay on the surface. Once the sliding is established, i.e., the trajectories are on the sliding surface, the system becomes invariant to modelling inaccuracies and exogenous disturbances. The term “invariant” is stronger than robustness as it satisfies certain conditions additionally. The whole design procedure can be observed in three modes or phases, i.e., reaching mode, sliding mode, and steady-state mode. Reaching mode is the phase where the state trajectories are driven to the sliding surface. It is also known as hitting mode or non-sliding mode. In sliding mode, the trajectories are restrained and kept moving along the surface towards the equilibrium point or reference point. Finally, in steady-state mode, the system reaches its final state, which would be zero-error state, constant offset state, or limit-cycle state. Different modes of VSC are shown in Figures 1 and 2.
SMC is always being judged by its steady-state mode, more specifically for chattering. Chattering is a high-frequency oscillation around the equilibrium point which arises due to the discontinuous nature of the control action. Due to this, the well-designed control action stands unsuitable for many practical applications. This behavior creates a problem of wear and tears in the mechanical parts, vibrations in the machines or flapping of wing vanes in aerospace, hitting effect, etc. Hence, it is unwanted in the light of implementation. The discontinuous nature demanded by the control action cannot be delivered by any real physical actuator due to its finite bandwidth. The numerical computation done by a computer is also limited by certain clock cycles. A lot of works have been done in the field of chattering elimination and reduction. Schemes like continuous approximation around the sliding surface (quasi-sliding mode) [1, 2, 3], higher-order sliding mode [5, 6, 7, 8], discrete-time sliding modes are a few way outs for the process of chattering. Here in this chapter, the concept of discrete-time sliding mode (DTSM) design is discussed. Readers can explore more in the field of continuous time higher-order sliding mode whose theory is rich and well-structured.
2. Discrete-time sliding mode control
Control system designs are streaming from continuous to discrete design with the invention of digital circuitry. High-performance computing devices, portable microprocessors, and plug and play features make the sophisticated design easy to implement. Discrete-time sliding mode control is the obvious transformation from the continuous time sliding mode control for the real-time application. Like continuous time sliding mode control, DTSMC is also easy to design and also well-suited for implementation.
3. Control problem formulation
Consider an uncertain discrete-time system:
where the states , control input , , and the output . is the disturbance coming from an exogenous system and is upper bounded by . , are system matrix and input matrix, respectively, and are having appropriate dimensions. Here the problem is either to stabilize the system, i.e., , or to track a time-varying trajectory, i.e., , where is the desired trajectory. But tracking can be treated as error stabilization mathematically, i.e., by making where . The system (1) will be transferred to error space . So here in this chapter, only stabilization is addressed for single-input single-output system.
3.1 Controller design by Gao’s reaching law
3.1.1 Design procedure
Here the aim is to design a control law such that . The first step is to choose a sliding variable as
where is a sliding variable design parameter. Next step is to choose Gao’s reaching law .
and control input can be derived as
By applying this control input (6), states are brought to a band around the sliding surface by assuming to be non-singular.
3.1.2 Procedure to choose the sliding variable parameter
where , , , , and . is assumed to be non-singular.
should be chosen such that the nominal closed loop system (i.e., without disturbance) should be stable. The sliding variable is chosen as
where and are a unity matrix of order . During the period of ideal sliding,
Then the system in closed loop is described by
which guarantees the asymptotic stability by choosing negative real value of the spectrum of , i.e., .
3.1.3 Analysis of reaching law
Reaching law for a continuous plant is given by
where is the sampling time. and . and .
He proposed few attributes of discrete-time variable structure control to get the trajectories of satisfactory nature. The following attributes are the basis of discrete-time reaching law. If the following conditions are satisfied by the control law, then it is said to achieve the discrete-time sliding mode.
The discrete-time control drives the state trajectories monotonically towards the sliding surface from anywhere in the state space and crosses the surface in finite time.
From the point of crossing the surface, trajectories will cross the surface in each sampling time, which makes a zigzag motion around the surface.
The amplitude of the zigzag oscillation about the surface is non-increasing and restrained the trajectories within a priori band.
The motion of the system is said to be quasi-sliding mode if it satisfies the attributes (2) and (3). Ultimate band denotes the steady-state behavior of the system where the trajectories stay within it for all time in future. If the arithmetic value of the ultimate band is zero, then it is called the ideal quasi-sliding mode.
These attributes are fundamental basis on which the concept of DTSMC stands, but many researchers have already designed it in several other ways.
The explanation is given below.
As per the second and third attributes, if , then and must hold. If by applying control input derived in Eq. (6), becomes approximately zero and considering the system is affected by maximum value of disturbance, i.e., , then one finds from Eq. (3)
For positive and small value of , further from Eq. (14)
To show considering extreme value of disturbance , the right-hand side of Eq. (15) must be greater than zero:
The value of comes out same for the case , when and must hold.
By applying the control input, the sliding variable becomes a very less value, i.e., ; then for positive value of and , one finds from Eq. (13)
Similarly, the ultimate band for the reaching law (3) can be derived as by taking .
Justification: By choosing an appropriate value of and very small value of and with the control input in Eq. (6), finite time convergence is achieved. Once it is achieved, then :
Equivalent control is found as
The value of should be chosen such that the eigenvalues of should lie within a unit circle. Once this is satisfied, the asymptotic convergence is guaranteed.
Here the aim is to stabilize the states by using discrete-time sliding mode control. is the disturbance which is upper bounded by . The value of is chosen as . The value of is chosen as , and the value of is taken as as per Remark 3. The value of ultimate band is found to be . Simulation is done in MATLAB/Simulink in discrete setting with sampling time 1 ms. With the control input derived in Eq. (6), stabilization is done within an ultimate band. Initial value of states is taken as . The amount of control effort is calculated by taking , where simulation is run for seconds.
From Figures 3 and 4, it is clear that the sliding variable cross-recrosses the in each sampling time and reaches the sliding surface in finite time and stays within a band. It can also be seen that it is bounded by the calculated ultimate band. States of the system are within a band and can be seen in Figure 5. The control input is shown in Figure 6 and the control effort is found to be 0.2642 when the simulation is run for s.
3.2 Controller design by Utkin’s reaching law
Prof. Drakunov and Prof. Utkin proposed a non-switching reaching law where the sliding variable reaches to the sliding surface in one time step rather than in finite time suggested in . It is motivated by the concept of dead-beat control in discrete-time concept where the steady-state output is attained by the minimal use of control law . Reaching law is given as
For uncertain disturbance affected system, reaching law is given as
To reduce the control effort, following control input can be given to the system:
where is the maximum value of control that can be given to the system and is the control input derived in Eq. (24). In this case the system does not converge to the ultimate band in a single step.
System (21) is considered with the control input derived in Eq. (24) with the same parameters. Ultimate band is calculated as . From Figure 7, it can be noticed that the sliding variable does not have zigzag motion in each sampling time like the sliding variable found in Figure 4 which shows the non-switching type. Trajectories of states are shown in Figure 8. Control input is also non-switching type which makes it more practically implementable and is shown in Figure 9. The control effort is numerically found to be 0.0243 which is lesser than that of the Gao’s control effort for this case. But it should be noted that the control effort may be higher for other systems. This is explicitly mentioned in the Remark section.
3.3 Controller design by Bartoszewicz’s reaching law
Prof. Andrzej Bartoszewicz in  suggested a non-switching type reaching law which is linear in nature. Reaching law conditions is given as
for . Reaching law is proposed by considering a priori function and is given as
where is a positive integer and must satisfy the condition . Control input required to stabilize the states in system (1) with this reaching law is derived as
By taking the same example as in Eq. (21), control input derived in Eq. (28) is used for stabilization. is chosen as . Sliding variable is shown in Figure 10. Ultimate band is found to be which is clearly visible in the magnified part of sliding variable shown in Figure 11. States stay within a band near to zero and the trajectories are shown in Figure 12. Control input is shown in Figure 13 and the control effort is found to be . The remark 2 explanation can be seen in Figure 11. If we take , then control effort will be . Hence the designer should take a good care before choosing the value of .
4. Relative degree two discrete-time sliding variable
Higher relative degree-based reaching laws are explored in the search for better robustness in terms of ultimate band and finding the benefits of using the delayed output instead of using the current output of interest. Many advancements are done in this domain [13, 14, 15, 16, 17]. But here only the relative degree two (RD2) is explained briefly. Readers are encouraged to study the advancement in this domain (from the reference citations above).
The concept of reaching law discussed in the Section 3 is of relative degree one (RD1) as the control input appears at the unit delay of the output. Similarly, in RD2 the control input and output are just two steps far. In general, relative degree of an output means that the control input appears first time at the delay of the output. Here the sliding variable is denoted as to signify the relative degree two. The sliding variable is considered as , where is chosen such that but . With this sliding variable, control input does not appear on the instant but appears first time in the instant of . Reaching law for the sliding variable is suggested in . Using the system (1) and with sliding variable , one can get
Here the control input does not appear in but appears in . Hence we should check for :
Here the control input appears in the dynamics of , so it is RD2:
where . The reaching law (31) is analyzed, and the dynamics of states during reaching and at steady-state are explained via the following lemmas , and estimate of robustness is given by the calculation of ultimate band:
Proof: For , from Eq. (31) we find
For , from Eq. (31) we find
From the above two inequalities, it is clear that or , meaning that crosses the hyperplane.
The above lemma signifies that if both and lie on the same side of the sliding hyperplane, then the state at the next sample instant, i.e., , is either on the same side and nearer to the surface or lies on the opposite side of the sliding hyperplane. With increasing , there exists an instant where the states will cross the sliding hyperplane, for a finite value of .
Proof: With , from Eq. (31), we get
Since , then for any , we get .
This lemma shows that is the necessary and sufficient condition for crossing and recrossing the sliding hyperplane at each successive instant, i.e., achieving the quasi-sliding mode as defined in . This is because the condition on in Lemma 1 is already covered by in Lemma 2.
The ultimate band for the sliding surface indicates the robustness of the system. It is the maximum value that can attain on either side of and can be calculated by putting and maximizing the disturbance in a bid to maximize the value of . Hence
This leads to
4.1 Design procedure
Here the aim is to design a control law such that . Initially a sliding variable is chosen as
where is a design parameter. The next step is to choose the RD2 reaching law :
Control input is derived as
By applying this control input (42), states are brought to zero by assuming is non-singular.
where , it is proved that . Detailed proof is explained in .
4.2 Results and discussions
System (21) is again taken for showing the results of RD2 reaching law-based design. Here is chosen. and are taken as and , respectively. The ultimate band is calculated as shown in Figure 15 which is very less than ultimate band found in the case of Gao’s reaching law as shown in Figure 4. Time series data of RD2 sliding variable is shown in Figure 14, and the magnified part is shown in Figure 15. The states are finite-time bounded within a band too which is shown in Figure 16. The control input required to stabilize is given in Figure 17, and the amount of control effort is found to be .
In this chapter, three most popular reaching laws, i.e., Gao’s, Utkin’s, and Bartoszewicz’s reaching law in relative degree one, are discussed. In addition to that state-of-the-art research in relative degree two sliding variable for Gao’s is discussed. Comparison shows better performance in terms of finite time ultimate boundedness of states and reduced ultimate band of state variable in case of RD2. The concept of ultimate band, finite-time bounded stability and requirement of control effort for all the reaching laws are briefly explained. Examples are given with simulation results for all the cases which show the behavior of the closed-loop system.
Utkin V. Variable structure systems with sliding modes. IEEE Transactions on Automatic Control. 1977; 22(2):212-222
Hung JY, Gao W, Hung JC. Variable structure control: A survey. IEEE Transactions on Industrial Electronics. 1993; 40(1):2-22
Young KD, Utkin VI, Ozguner U. A control engineer's guide to sliding mode control. IEEE Transactions on Control System Technology. 1999; 7(3):328-342
Edwards C, Spurgeon S. Sliding Mode Control: Theory and Applications. London: Taylor and Francis; 1998
Levant A. Higher-order sliding modes, differentiation and output-feedback control. International Journal of Control. 2003; 76(9-10):924-941
Sliding order and sliding accuracy in sliding mode control. International Journal of Control. 1993; 58(6):1247-1263
Bartolini G, Ferrara A, Usai E. Chattering avoidance by second-order sliding mode control. IEEE Transactions on Automatic Control. 1998; 43(2):241-246
Boiko I, Fridman L, Pisano A, Usai E. Analysis of chattering in systems with second-order sliding modes. IEEE Transactions on Automatic Control. 2007; 52(11):2085-2102
Gao W, Wang Y, Homaifa A. Discrete-time variable structure control systems. IEEE Transactions on Industrial Electronics. 1995; 42(2):117-122
Bartoszewicz A. Remarks on “discrete-time variable structure control systems”. IEEE Transactions on Industrial Electronics. 1996; 43(1):235-238
Drakunov SV, Utkin VI. On discrete-time sliding mode control. In: Proceedings of IFAC Symposium on Nonlinear Control Systems (NOL-COS). 1989. pp. 273-278
Bartoszewicz A. Discrete-time quasi-sliding-mode control strategies. IEEE Transactions on Industrial Electronics. 1998; 45(4):633-637
Chakrabarty S, Bartoszewicz A. Improved robustness and performance of discrete time sliding mode control systems. ISA Transactions. 2016; 65:143-149
Bartoszewicz A, Latosinski P. Generalization of Gao's reaching law for higher relative degree sliding variables. IEEE Transactions on Automatic Control. 2018; 63(9):3173-3179
Bartoszewicz A, Latosinski P. Reaching law for DSMC systems with relative degree 2 switching variable. International Journal of Control. 2017; 90(8):1626-1638
Samantaray J, Chakrabarty S. Digital implementation of sliding mode controllers with dc-dc buck converter system. In: 15th International Work-shop on Variable Structure Systems (VSS). 2018. pp. 255-260
Chakrabarty S, Bandyopadhyay B, Moreno JA, Fridman L. Discrete sliding mode control for systems with arbitrary relative degree output. In: 2016 14th International Workshop on Variable Structure Systems (VSS). 2016. pp. 160-165