Next Article in Journal
Experimental Study of the Use of Tracing Particles for Interface Tracking in Primary Cementing in an Eccentric Hele–Shaw Cell
Previous Article in Journal
Blockchain Technology Applied to Energy Demand Response Service Tracking and Data Sharing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Reaching Law Based Sliding Mode Control of Sampled Time Systems

by
Piotr Leśniewski
* and
Andrzej Bartoszewicz
Institute of Automatic Control, Łódź University of Technology, 18/22 Bohdana Stefanowskiego St., 90-924 Łódź, Poland
*
Author to whom correspondence should be addressed.
Energies 2021, 14(7), 1882; https://doi.org/10.3390/en14071882
Submission received: 24 February 2021 / Revised: 22 March 2021 / Accepted: 25 March 2021 / Published: 29 March 2021

Abstract

:
In this paper, discrete time reaching law-based sliding mode control of continuous time systems is considered. In sliding mode control methods, usually the assumption of bounded absolute values of disturbances is used. However in many cases, the rate of change of the disturbance is also bounded. In the presented approach, this knowledge is used to improve the control precision and reduce the undesirable chattering. Another advantage of the proposed method is that the disturbance does not have to satisfy the matching conditions. In the paper two new reaching laws are analyzed, one of them ensures the switching quasi-sliding motion and the other the non-switching motion. For both of them, the robustness is assessed by calculating the quasi-sliding mode band width, as well as the greatest possible state error values. Specifically, the state errors are not considered only at the sampling instants, as is usual for discrete time systems, but the bounds on the continuous values “between” the sampling instants are also derived. Then, the proposed approaches are compared and analyzed with respect to energy expenditure of the control signal.

1. Introduction

Sliding mode control is a well-known variable structure method. Its foundations were laid out in the previous century, both for continuous [1], and for discrete time systems [2]. However it still remains an active research and application area. One of the many current research directions is the higher order sliding mode control [3], in which not only the sliding variable, but also its time derivatives are driven to zero. This allows one to minimize the chattering phenomenon. Although most works on higher order sliding modes use continuous time, these controllers can also be formulated and analyzed in discrete time [4], which obviously simplifies the practical implementation.
The main advantages of sliding mode control are exceptional robustness with regards to external disturbances [5] and small computing power requirements. Because of these advantages, sliding mode control is often used in energy conversions systems, electric drive control and many other practical applications. In [6], the super twisting sliding mode control of permanent magnet synchronous machines (PMSM) is considered. A so-called ultra-local model of the PMSM is used. This ultra-local model is very simple, allowing the system to operate without specifying all the parameters of a PMSM. A parameter of this model is then estimated online. Instead of using a typical state observer, the authors propose its modification, named the smoothing extended state observer, which allows them to reduce the oscillations in the observed signal. The advantages of the approach, namely faster response and reduced oscillations are demonstrated in simulations as well as in experimental tests on a laboratory stand. Sliding mode control of electric drive systems was also analyzed in [7], where speed control of an induction motor was proposed. The proposed controller has significant advantages over the typical PI controller, namely smaller overshoot and better robustness with respect to disturbances. An interesting approach for reducing the energy expenditure of the control signal is proposed in [8]. The authors call their controller intermittent, as it only generates a signal when the state moves outside of an assumed boundary layer around the sliding hyperplane. Unfortunately, such an approach reduces the robustness of the system, as only convergence to the boundary layer, and not to the sliding hyperplane is guaranteed. In [9], control of a quadrotor is proposed, using two sliding mode controllers. A hierarchical structure is applied, in which the outer control loop ensures the tracking of the desired trajectory and calculates the demand attitude, which is then enforced by the inner controller. The problem of quadrotor trajectory control is also considered in [10]. A nonlinear disturbance observer is proposed, which allows to reduce the chattering in the system, by reducing the magnitude of the discontinuous part of the control signal. This point is verified in computer simulations as well as in real-time experimental tests. A new super twisting like discrete time sliding mode controller ensuring input signal saturation has recently been proposed in [11].
Sliding mode control is a useful paradigm not only in controller design, but in state observation as well. In [12], the authors propose a sliding mode speed observer for a bearingless induction motor. Computer simulations demonstrate, that the proposed observer ensures faster and more accurate estimation than using a model reference adaptive system (MRAS) speed identification. The authors of [13] consider sliding mode control for power sharing and voltage stabilization for parallel operation of several inverters. Such operation usually occurs in islanded microgrid systems. A hierarchical structure is used, with an outer SMC for droop control, and an inner SMC for voltage control. Simulation as well as experimental test show the advantages of the new method—a large reduction of the power sharing error as well as the voltage deviation. A related problem of maintaining the supply frequency in interconnected power systems was tackled in [14]. First a state observer was introduced to eliminate the need for measuring all of the state variables. Next, a second order sliding mode controller is designed, to control the frequency, without introducing the chattering phenomenon in the system. Extended simulations confirm the feasibility of the proposed control structure.
Recently, more and more systems are being controlled by means of some communication network, which introduces (possibly varying) time delays in the control loop. This problem was considered in [15], where numerous, remotely controlled actuators act on a large, complex system. The designed sliding mode controllers act locally and do not need to communicate with each other, which reduces the amount of data that must be sent through the network.
There are two main approaches to designing a sliding mode controller. In both of them, the first step is to select a manifold in the state space, to which the motion of the representative point (system state) will be confined. The selection of this manifold is crucial for stability of the closed loop system and achieving desired dynamics [1]. A closely related notion is the sliding variable, which is positive on one side of the manifold, negative on the other and its absolute value grows as the state is farther away from the manifold. Thus the task of limiting the state to the manifold can be simplified to making the sliding variable converge to zero. The next step presents a choice to the designer. In the historically first method, a control signal is postulated. Then its properties, such as ensuring the convergence to the sliding manifold are proven, using e.g., the Lyapunov method. The other approach is to start with the desired convergence of the sliding variable to zero. This is usually defined as the desired value of the sliding variable in the next time instant as a function of its current value for discrete systems [16] or as the desired time derivative of the sliding variable as a function of its value for continuous systems [17]. In both cases, the desired evolution is called the reaching law [18]. The reaching law approach was applied in numerous practical control systems, such as PMSM speed control [19] as it has some important advantages over the previously mentioned method. It allows to easily limit [20] the rate of change of the sliding variable, which for many systems directly limits the values of the state variables. Moreover, once the controller is derived, there is no need of proving the convergence to the sliding manifold, as it follows directly from the selected reaching law. Because of this, the paper will focus on the reaching law method.
Nowadays, almost all control algorithms are implemented in some digital device, such as a digital signal processor, programmable logic controller, etc. On the other hand, the plant under control is usually described by differential equations, i.e., its dynamics are expressed in continuous time. Thus, to fully consider the discretization effects, one should discretize the plant, taking into account the conversion of the discrete control signal to the continuous form (usually by a zero-order-holder). After designing the discrete controller, usually the values of the sliding variable and state errors in the sampling instants can be calculated. However, if the discrete controller acts on a continuous time plant, the inter-sampling behavior of the plant should also be checked, as the errors between the sampling instants could be significantly larger than at those instants. The method outlined in this paragraph has already been used in [21], however in that work, no reaching law was used.
The points raised in the previous paragraph, make the exact system performance during the reaching phase hard to predict. Therefore in this work, we propose a sliding mode controller, coupled with a disturbance compensation scheme, that also utilizes a reaching law. This allows to have more control over the system dynamics prior to the start of the sliding mode. It is demonstrated, that the presented disturbance compensation scheme improves the robustness, and that tuning the reaching law allows to obtain a satisfactory compromise between fast convergence and minimization of the control signal and state variables. First, we present the switching reaching law approach, then modify it to a non-switching one, to minimize the energy expenditure of the control signal. For both methods, we calculate the width of the quasi-sliding mode band, as well as the bounds of the state errors, both of which are measures of the robustness. Moreover, we consider not only the state values at the sampling instants, but we find the greatest possible deviation between the sampling instants.

2. System Model

In this paper, a continuous time plant is considered. The plant is described in the state space by the following equation:
x ˙ ( t ) = A x ( t ) + B u ( t ) + D f ( t ) ,
where x is the n × 1 state vector, A is the n × n state matrix, B is the n × 1 input vector, u is the scalar control signal, D is the n × 1 disturbance distribution vector and f is the scalar external disturbance. It is assumed, that both the rate of change of the disturbance and its absolute value are bounded by a priori known constant values, i.e., | f ( t ) | f max , | f ˙ ( t ) | f ˙ max for all t ≥ 0. Let us point out, that contrary to a large part of sliding mode control research, the matching conditions do not have to be satisfied for the proposed approach.
The continuous time plant (1) is nowadays almost exclusively controlled by a digital controller. Therefore, (1) needs to be discretized to take into account the discrete nature of the control signal. It is assumed, that zero order hold (ZOH) discretization of u is used. Thus (1) is represented in discrete time as:
x [ ( k + 1 ) T ] = Φ x ( k T ) + Γ u ( k T ) + d ( k T ) ,
where:
Φ = e A T , Γ = 0 T e A λ B d λ , d ( k T ) = 0 T e A λ D f [ ( k + 1 ) T λ ] d λ .
One can notice, that as f(t) is bounded, the disturbance d(kT) is also bounded. By dmaxi we will denote the greatest possible absolute value of the i-th element of vector d(kT), and by:
d m a x = [ d max 1 d max 2 d max n ] T .
The sliding hyperplane is selected as:
s ( k T ) = c T x ( k T ) = 0 ,
where s is the sliding variable, and c is a constant vector, selected to obtain desirable dynamics in sliding mode and ensure cTΓ ≠ 0. One of the advantages of the reaching law approach used in this paper is in some sense “decoupling” the reaching phase and the sliding phase. Thus, the parameters of the sliding hyperplane can be selected based only on the sliding mode behavior, while the reaching phase dynamics of the system will be governed by the reaching law. This paper focuses on the reaching law, and its tuning will be demonstrated in the following sections. As for the sliding hyperplane parameters, any approach can be used in conjunction with the presented methods, among them pole placement [22] or optimal control [23].

3. Proposed Control Method

In this section, two reaching law based sliding mode controllers will be proposed and their important properties will be briefly demonstrated. The first one will ensure the so-called switching quasi-sliding motion, in which the representative point is guaranteed to cross the sliding manifold in each discretization period during the reaching phase. As this approach can result in excessive energy consumption of the control input, this solution will then be modified, by implementing a non-switching approach.

3.1. Switching Reaching Law

In this subsection a switching version of the reaching law will be presented. Ideally, the sliding variable should evolve according to the following equation [20]:
s [ ( k + 1 ) T ] = { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] ,
where q[s(kT)] is given by:
q [ s ( k T ) ] = s 0 | s ( k T ) | + s 0 ,
where s0 and ε are positive design parameters. Parameter s0 governs the rate of convergence to the sliding hyperplane, while ε ensures crossing the hyperplane in each successive control step. The method of choosing s0 and ε will be detailed further in this section. The reaching law (6) allows to limit the rate of change of the sliding variable, which for many practical systems leads to limited values of state variables and control signal.
In order to calculate the required control signal, we first derive the actual evolution of the sliding variable. This can be performed by multiplying both sides of (2) by cT. This results in:
s [ ( k + 1 ) T ] = c T Φ x ( k T ) + c T Γ u ( k T ) + c T d ( k T ) .
Comparing the right hand sides of Equations (6) and (8) while taking into account that cTΓ ≠ 0, one can find the required control signal:
u ( k T ) = ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] c T d ( k T ) c T Φ x ( k T ) } .
As one can observe, the disturbance d(kT) is present in the expression for u(kT). Generating such a control signal would require a priori knowledge of the exact value of the disturbance, which is unfeasible. Thus, in systems affected by disturbances, the evolution (6) cannot be achieved. However, if the disturbance rate of change is bounded, we can approximate the value of d(kT) by d[(k − 1)T]. The previous value of disturbance can be calculated from (2) as:
d [ ( k 1 ) T ] = x ( k T ) Φ x [ ( k 1 ) T ] Γ u [ ( k 1 ) T ] .
One can observe, that all values on the right hand side of (10) are known at time kT. The control signal then becomes:
u ( k T ) = ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] c T d [ ( k 1 ) T ] c T Φ x ( k T ) } .
After substituting (11) into the right hand side of (2) and multiplying both sides by cT, it is found, that the sliding variable evolves according to:
s [ ( k + 1 ) T ] = { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] + c T { d ( k T ) d [ ( k 1 ) T ] } .
In order to determine the properties of the closed loop system in which the sliding variable evolves according to the above equation, one needs first to calculate the maximum possible value of the expression c T { d ( k T ) d [ ( k 1 ) T ] } . The difference of disturbance values can be calculated by:
d ( k T ) d [ ( k 1 ) T ] = 0 T e A λ D [ 0 T f ˙ ( σ ) d σ ] d λ .
The expression on the right hand side of (13) is a vector of a constant orientation, governed by the terms e A λ D . The only unknown in (13), is the derivative of the disturbance, which is scalar. Thus, one can observe, that the right hand side of (13) will obtain its extreme values, when the value of f ˙ ( σ ) will be continuously equal to one of its extremes. As it has already been stated, | f ˙ ( t ) | f ˙ max . Therefore, the effect of the disturbance change on the sliding variable is limited as follows:
max | c T { d ( k T ) d [ ( k 1 ) T ] } | = c T 0 T e A λ D T f ˙ max d λ = c T T f ˙ max 0 T e A λ D d λ
One can observe, that the above value is proportional to T2. In order to improve readability of the paper, we denote this value by s d , that is s d = c T T f ˙ max 0 T e A λ d λ D .
Finally, we can conclude, that the reaching law parameters must satisfy [20]:
s 0 > 2 s d , ε > 2 s d 2 + s d s 0 s 0 2 s d ,
in order to guarantee the switching quasi-sliding motion.
This concludes the design of the switching reaching law based sliding mode controller. In the following three theorems, it will be demonstrated, that its application will ensure the existence of the quasi-sliding motion in the closed loop system.
Theorem 1.
If the absolute value of the sliding variable is greater than
| s ( k T ) | ε + s d ,
then the absolute value of the sliding variable will decrease in the next sampling period.
Proof. 
To simplify the derivations, the case of s(kT) > ε + sd will be considered. The analysis for s(kT) < −εsd is completely analogous. The rate of change of the sliding variable can be calculated using (12) as:
s [ ( k + 1 ) T ] s ( k T ) = q [ s ( k T ) ] s ( k T ) ε + c T { d ( k T ) d [ ( k 1 ) T ] } s 0 s ( k T ) s ( k T ) + s 0 ε + s d s 0 ( ε + s d ) ε + s d + s 0 ε + s d = = s 0 ε s 0 s d ε 2 ε s d ε s 0 + s d ε + s d 2 + s d s 0 ε + s d + s 0 = ε 2 2 ε s 0 + s d 2 ε + s d + s 0
If the reaching law parameters are selected according to (15), then the right hand side of (17) is strictly negative, which completes the proof. □
Theorem 2.
If the sliding variable changed its sign between sampling instants k and k + 1, its absolute value will not exceed
| s [ ( k + 1 ) T ] | ε + s d .
Proof. 
First, the case of s(kT) > 0 is considered. In this scenario, the minimum value of the right hand side of (12) needs to be calculated. The first term is positive (as it always has the same sign as s(kT)). Thus:
s [ ( k + 1 ) T ] ε + c T { d ( k T ) d [ ( k 1 ) T ] } ε s d
For the case of s(kT) < 0 one can demonstrate, using a similar line of reasoning, that s[(k + 1)T] ≤ sd + ε. This observation ends the proof. □
Theorem 3.
If the absolute value of the sliding variable satisfies
| s ( k T ) | < ε + s d ,
then the sliding variable will change its sign in the next discretization period:
sgn [ s ( k T ) ] = sgn { s [ ( k + 1 ) T ] } .
Proof. 
First, s(kT) > 0 is analyzed. In this case, the maximum possible value of s[(k + 1)T] needs to be negative. This maximum can be found using Equation (12) as:
s [ ( k + 1 ) T ] < ( ε + s d ) 2 ε + s d + s 0 ε + s d = 2 ε s d + 2 s d 2 ε s 0 + s d s 0 ε + s d + s 0 .
The denominator on the right hand side of (22) is always positive. Moreover, if the parameters of the reaching law are selected according to (15), the numerator is negative. Thus, if the sliding variable is inside the quasi sliding mode band (20) and has a positive value, this variable will change its sign in the next discretization instant. The reasoning for s(kT) < 0 is analogous so will not be demonstrated for brevity. □
Remark 1.
According to Theorem 1, the representative point will converge to the quasi-sliding band in finite time. Moreover, taking into account Theorems 2 and 3, one can observe, that once the representative point reaches the quasi-sliding mode band it will remain inside it for the remainder of the control process, and will cross the sliding hyperplane in each consecutive sampling period.

3.2. Non-Switching Reaching Law

In this section, a sliding mode controller with a non-switching reaching law will be designed. Its main advantage over the solution proposed in the previous section is a significant reduction of control effort, which in turn minimizes the energy expenditure of the control system. The sliding variable will be governed by the following equation [20]:
s [ ( k + 1 ) T ] = { 1 q [ s ( k T ) ] } s ( k T ) + c T { d ( k T ) d [ ( k 1 ) T ] } ,
where q[s(kT)] is again given by (7). Equation (8) still holds, as it does not depend on the form of the sliding mode controller. Comparing the right hand sides of (23) and (8) while taking into account that cTΓ ≠ 0, one can find the required control signal:
u ( k T ) = ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) c T d [ ( k 1 ) T ] c T Φ x ( k T ) } .
The parameter s0 must satisfy s0 > sd, otherwise, the control signal would be insufficient to ensure convergence of the system state towards the vicinity of the sliding hyperplane. Parameter s0 governs the rate of convergence to the sliding hyperplane, the larger this parameter is, the faster convergence is obtained. Clearly, the faster convergence cannot be achieved without an increase of the control signal magnitude. Thus, parameter s0 should be selected to ensure a satisfactory convergence rate, while not exceeding the admissible control signal values.
In the next two theorems, it will be demonstrated, that the controller ensures a quasi-sliding motion in the closed loop system, namely the state will converge to a known band around the sliding hyperplane from any initial position, and once it reaches the band it will remain inside it for the rest of the control process.
Theorem 4.
With the application of control signal (24) the sliding variable (at sampling times) will converge to the band
| s ( k T ) | s d s 0 s 0 s d .
Proof. 
Equation (12) can be rewritten in the following form:
s [ ( k + 1 ) T ] s ( k T ) = q [ s ( k T ) ] s ( k T ) + c T { d ( k T ) d [ ( k 1 ) T ] } .
If s ( k T ) = s d s 0 s 0 s d + δ , for some positive δ we need to demonstrate, that the right hand side of (26) is strictly negative. One can thus write:
s [ ( k + 1 ) T ] s ( k T ) s 0 s d s 0 s 0 s d + δ + s 0 ( s d s 0 s 0 s d + δ ) + s d = = s 0 s 0 2 s 0 s d + s 0 s d + δ ( s 0 s d ) s 0 s d ( s 0 s d + δ ( s 0 s d ) s 0 s d ) + s d = = s d s 0 ( s d s 0 + δ ( s 0 s d ) ) s 0 2 + δ ( s 0 s d ) = δ ( s 0 s d ) 2 s 0 2 + δ ( s 0 s d )
As was already stated, the parameter s0 is selected to satisfy s0 > sd. Therefore, the right hand side of (27) is strictly negative for any positive δ. This ends the proof for the case of s ( k T ) > s d s 0 s 0 s d . The analysis for negative s(kT) is analogous, and will not be shown for brevity. □
Remark 2.
If the control designer can select a value of s0 >> sd, then the band width in (25) will depend almost linearly on sd, and therefore it will be proportional to T2.
Theorem 5.
If the controller (24) is applied, once the representative point reaches the quasi sliding mode band given by
| s ( k T ) | s d s 0 s 0 s d ,
it will remain inside this band for the remainder of the control process.
Proof. 
In order to prove the theorem we need to demonstrate, that if (28) is satisfied for some k = k0, it will also be satisfied for k = k0 + 1. We will begin by calculating the maximum possible value of s[(k0 + 1)T]. It can be observed from (7) and (12), that the value of s[(k + 1)T] increases, as s(kT) gets bigger. Therefore, the maximum of s[(k + 1)T] will occur for s ( k T ) = s d s 0 s 0 s d , and it is equal to:
s [ ( k + 1 ) T ] ( 1 s 0 s d s 0 s 0 s d + s 0 ) s d s 0 s 0 s d + s d = ( 1 1 + s d s 0 ) s d s 0 s 0 s d + s d = s d s 0 s 0 s d .
On the other hand, the minimum value of s[(k + 1)T] will occur for s ( k T ) = s d s 0 s 0 s d and in a similar way can be found as s [ ( k + 1 ) T ] = s d s 0 s 0 s d . This observation ends the proof. □

4. Bounds of the State Error

In the analysis above, it has been demonstrated that the proposed strategies guarantee the convergence of the representative point to the vicinity of the sliding hyperplane. Evidently, the smaller this vicinity is, the closer the quasi-sliding motion is to the ideal sliding case. Therefore, the smaller the band width, the better the robustness, which implies smaller state errors for the same values of the disturbances. In this section, this relation will be studied in more detail, and the bounds of the errors of the state variables will be explicitly calculated. These bounds are crucial for controlling the plant, as almost always operating as near as possible to the desired state will result in the highest energy efficiency.

4.1. Switching Reaching Law

We start by substituting the control signal (11) into the state Equation (2), which results in:
x [ ( k + 1 ) T ] = Φ x ( k T ) + d ( k T ) + + Γ ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] c T d [ ( k 1 ) T ] c T Φ x ( k T ) } = = [ I N Γ ( c T Γ ) 1 c T ] Φ x ( k T ) + Γ ( c T Γ ) 1 { 1 q [ s ( k T ) ] } s ( k T ) + Γ ( c T Γ ) 1 c T d [ ( k 1 ) T ] + d ( k T ) Γ ( c T Γ ) 1 ε sgn [ s ( k T ) ]
To improve readability, we denote the closed loop state matrix by:
Φ c = [ I N Γ ( c T Γ ) 1 c T ] Φ .
The eigenvalues of this matrix can be arbitrarily chosen by the designer, when selecting vector c. Moreover, using (12) it can be seen, that:
Γ ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) ε sgn [ s ( k T ) ] } = Γ ( c T Γ ) 1 { s [ ( k + 1 ) T ] c T { d ( k T ) d [ ( k 1 ) T ] } } .
To further simplify the notation, we denote:
D ( k T ) = [ I n Γ ( c T Γ ) 1 c T ] d ( k T ) .
Using the Equations (31)–(33) we can rewrite Equation (30) as follows:
x [ ( k + 1 ) T ] = Φ c x ( k T ) + Γ ( c T Γ ) 1 { s [ ( k + 1 ) T ] c T { d ( k T ) d [ ( k 1 ) T ] } } + Γ ( c T Γ ) 1 c T d [ ( k 1 ) T ] + d ( k T ) Γ ( c T Γ ) 1 ε sgn [ s ( k T ) ] = = Φ c x ( k T ) + Γ ( c T Γ ) 1 { s [ ( k + 1 ) T ] c T d ( k T ) } + d ( k T ) Γ ( c T Γ ) 1 ε sgn [ s ( k T ) ] = = Φ c x ( k T ) + Γ ( c T Γ ) 1 s [ ( k + 1 ) T ] + ( I N Γ ( c T Γ ) 1 c T ) d ( k T ) Γ ( c T Γ ) 1 ε sgn [ s ( k T ) ] = = Φ c x ( k T ) + Γ ( c T Γ ) 1 s [ ( k + 1 ) T ] Γ ( c T Γ ) 1 ε sgn [ s ( k T ) ] + D ( k T )
After iterative substitution of (34) into its right hand side, we can obtain:
x [ ( k + n ) T ] = Φ c n x ( k T ) + i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + + i = 0 n 1 Φ c n i D [ ( k + i ) T ] i = 0 n 1 Φ c n i Γ ( c T Γ ) 1 ε sgn [ s ( k + i ) T ]
As was already stated, we select the vector c to obtain dead-beat dynamics in sliding mode. From this follows, that Φ c n = 0 , and (35) simplifies to:
x [ ( k + n ) T ] = i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + + i = 0 n 1 Φ c n i D [ ( k + i ) T ] i = 0 n 1 Φ c n i Γ ( c T Γ ) 1 ε sgn [ s ( k + i ) T ]
Using (36), we can calculate the absolute value of the j-th state variable as:
| x j [ ( k + n ) T ] | = | e j i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + e j i = 0 n 1 Φ c n i D [ ( k + i ) T ] e j i = 0 n 1 Φ c n i Γ ( c T Γ ) 1 ε sgn [ s ( k + i ) T ] |
Theorem 6.
When using the switching sliding mode controller, the j-th state variable of the plant, at discretization intervals, will satisfy the bound:
max [ | x j ( k T ) | ] = ( s d + ε ) i = 1 n | e j Φ c n i Γ ( c T Γ ) 1 | + + | i = 0 n 1 e j Φ c n i [ I n Γ ( c T Γ ) 1 c T ] d m a x | + Q ε
where:
Q = | i = 0 i   even n 1 e j Φ c n i Γ ( c T Γ ) 1 i = 1 i   odd n 1 e j Φ c n i Γ ( c T Γ ) 1 | .
Proof. 
Using the fact that | a + b | | a | + | b | for any a, b, we can rewrite (37) as:
| x j [ ( k + n ) T ] | | i = 1 n e j { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } | + | i = 0 n 1 e j Φ c n i D [ ( k + i ) T ] | + | i = 0 n 1 e j Φ c n i Γ ( c T Γ ) 1 ε sgn [ s ( k + i ) T ] |
First, we will calculate the value of the last element on the right hand side of (40). As it has already been demonstrated, the switching sliding mode controller ensures, that after a finite time, the switching quasi-sliding motion will occur in which sgn{s[(k + 1)T]} = −sgn[s(kT)]. As we consider the ultimate bound of xj, we obtain that:
| i = 0 n 1 e j Φ c n i Γ ( c T Γ ) 1 ε sgn [ s ( k + i ) T ] | = = | i = 0 i   even n 1 e j Φ c n i Γ ( c T Γ ) 1 i = 1 i   odd n 1 e j Φ c n i Γ ( c T Γ ) 1 | ε = Q ε
As one can observe, for a given dynamical system and a chosen parameter vector c, the expression on the right hand side of (41) is constant, and can be easily calculated a priori to assess the performance of the closed loop system. Using (41), inequality (40) simplifies to:
| x j [ ( k + n ) T ] | | i = 1 n e j { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } | + | i = 0 n 1 e j Φ c n i D [ ( k + i ) T ] | + Q ε .
Next, we calculate the maximum possible value of the first term on the right hand side of (42). As it has already been shown, during the quasi-sliding mode, the sliding variable satisfies |s[(k + 1)T]| ≤ ε + sd. This fact allows us to rewrite Equation (42) as:
| x j [ ( k + n ) T ] | ( s d + ε ) i = 1 n | e j { Φ c n i Γ ( c T Γ ) 1 } | + | i = 0 n 1 e j Φ c n i D [ ( k + i ) T ] | + Q ε .
Using the equality (33) we can observe, that (38) follows from (43), which ends the proof. □

4.2. Non-Switching Reaching Law

Substituting the control signal (24) into the state Equation (2) one arrives at:
x [ ( k + 1 ) T ] = Γ ( c T Γ ) 1 { { 1 q [ s ( k T ) ] } s ( k T ) c T d [ ( k 1 ) T ] c T Φ x ( k T ) } + + Φ x ( k T ) + d ( k T ) = [ I N Γ ( c T Γ ) 1 c T ] Φ x ( k T ) + + Γ ( c T Γ ) 1 { 1 q [ s ( k T ) ] } s ( k T ) Γ ( c T Γ ) 1 c T d [ ( k 1 ) T ] + d ( k T )
Using (12) it can be seen, that:
Γ ( c T Γ ) 1 { s [ ( k + 1 ) T ] c T { d ( k T ) d [ ( k 1 ) T ] } } = Γ ( c T Γ ) 1 { 1 q [ s ( k T ) ] } .
Using the previously shown Equations (31), (33) and (45), Equation (44) can be rewritten as:
x [ ( k + 1 ) T ] = Φ c x ( k T ) + Γ ( c T Γ ) 1 s [ ( k + 1 ) T ] + D ( k T ) .
After iteratively substituting the left hand side of (46) into its right hand side, we can obtain:
x [ ( k + n ) T ] = Φ c n x ( k T ) + i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + i = 0 n 1 Φ c n i D [ ( k + i ) T ] .
We select the vector c to obtain the fastest possible, i.e., dead-beat dynamics in sliding mode. Thus, Φ c n = 0 , which allows to write (47) as:
x [ ( k + n ) T ] = i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + i = 0 n 1 Φ c n i D [ ( k + i ) T ] .
Thus, the absolute value of the j-th state can be written as:
| x j [ ( k + n ) T ] | = | e j i = 1 n { Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] } + e j i = 0 n 1 Φ c n i D [ ( k + i ) T ] |
where ej is the j-th versor.
Theorem 7.
When using the non-switching sliding mode controller, the j-th state variable of the plant, at discretization intervals, will converge to the bound:
max [ | x j ( k T ) | ] = i = 1 n | e j Φ c n i Γ ( c T Γ ) 1 | s d s 0 s 0 s d + | i = 0 n 1 e j Φ c n i [ I n Γ ( c T Γ ) 1 c T ] d m a x | .
Proof. 
Using the fact that | a + b | | a | + | b | for any a, b, we can obtain from Equation (49), that:
| x j [ ( k + n ) T ] | i = 1 n | e j Φ c n i Γ ( c T Γ ) 1 s [ ( k + i ) T ] | + | e j i = 0 n 1 Φ c n i D [ ( k + i ) T ] | .
Moreover, we consider the ultimate bound of xj, therefore, we can use the fact, that s(kT) converges to the band ± s d s 0 s 0 s d , which has already been demonstrated in Section 3. Thus:
| x j [ ( k + n ) T ] | i = 1 n | e j Φ c n i Γ ( c T Γ ) 1 | s d s 0 s 0 s d + | e j i = 0 n 1 Φ c n i D [ ( k + i ) T ] |
Using (33) we can observe, that (50) follows directly from (52), which ends the proof. □

5. Inter-Sampling Behavior

In the previous sections, two controllers were derived and their performance with respect to the values of the sliding variable at the sampling instants was demonstrated. The smaller these values are, the closer the quasi-sliding motion is to the ideal sliding, which implies better robustness and higher energy efficiency. However, as a continuous time system is considered, the values of the sliding variable between the sampling instants are also of interest. The derivation is the same for both controllers, therefore it will be performed only once. The time derivative of the continuous sliding variable can be found by multiplying both sides of (1) by cT. This results in:
s ˙ ( t ) = c T [ A x ( t ) + D f ( t ) ] + c T B u ( t ) .
Integrating both sides of (53) with respect to time results in:
s ( k T + τ ) s ( k T ) = k T k T + τ c T [ A x ( t ) + D f ( t ) ] d t + c T B τ u ( k T ) .
By substituting τ = T into the above equation one obtains:
u ( k T ) = ( c T B T ) 1 { s [ ( k + 1 ) T ] s ( k T ) k T ( k + 1 ) T c T [ A x ( t ) + D f ( t ) ] d t } .
Inserting (55) back into the right hand side of (54) yields:
s [ k T + τ ] s ( k T ) = k T k T + τ c T [ A x ( t ) + D f ( t ) ] d t + + τ T { s [ ( k + 1 ) T ] s ( k T ) k T ( k + 1 ) T c T [ A x ( t ) + D f ( t ) ] d t }
The maximum value of the two integrals on the right hand side of (56) can be estimated using the Euler method in the following manner:
k T k T + τ c T [ A x ( t ) + D f ( t ) ] d t = τ c T [ A x ( k T ) + D f ( k T ) ] + O ( τ 2 ) k T ( k + 1 ) T c T [ A x ( t ) + D f ( t ) ] d t = T c T [ A x ( k T ) + D f ( k T ) ] + O ( T 2 )
Substituting (57) into (56) results in:
s [ k T + τ ] s ( k T ) = τ c T [ A x ( k T ) + D f ( k T ) ] + O ( τ 2 ) + + τ T { s [ ( k + 1 ) T ] s ( k T ) T c T [ A x ( k T ) + D f ( k T ) ] O ( T 2 ) } = = O ( τ 2 ) + τ T { s [ ( k + 1 ) T ] s ( k T ) } τ T O ( T 2 )
The expression τ T does not change the way in which the right hand side of (58) depends on time (as larger values of T lead to larger possible values for τ). Thus, the greatest possible deviation of the continuous sliding variable from its values at the sampling intervals will depend on T2.

6. Simulation Results

In this section, the results of computer simulations will be presented to verify the properties which were demonstrated analytically. The continuous time system is described by (1), with:
A = [ 0 1 0 0 1 1 0 0 0 ] B = [ 0 0 1 ] D = [ 1 0 0 ] ,
the greatest possible rate of change of the disturbance is f ˙ max 1 and its greatest absolute value is f max = 8 . The chosen disturbance is shown in Figure 1. Both worst cases (the most rapid increase and decrease) are present in the chosen scenario, as well as the largest possible disturbance magnitude. Let us notice, that in the simulation scenario, the disturbance is not matched.
The system is controlled by a discrete time controller with sampling time T = 1 s, and a zero-order holder. Thus, it is expressed in discrete time by (2), with:
Φ [ 1.00 1.72 0.72 0 2.72 1.72 0 0 1.00 ] , Γ = [ 0.22 0.72 1.00 ] .
The greatest possible value of sd is 2.37. The sliding hyperplane parameters are selected as:
c T = [ 2.37 3.57 1 ] ,
to obtain the fastest possible dynamics in sliding mode, i.e., a dead-beat system. These parameters are selected for both proposed controllers, to obtain a fair comparison.

6.1. Switching Reaching Law Based Sliding Mode Controller

The results obtained with the switching type reaching law will be presented. The parameters s0, ε must satisfy (15). They have been selected as s0 = 30 and ε = 3.41, as a compromise between chattering and initial control signal value. The results of simulations are presented in Figure 2, Figure 3 and Figure 4.
As one can observe from the figures, the sliding variable converges to the band of a radius 5.78 obtained in Theorems 1 and 2 in finite time, and once it reaches this band it does not leave it for the rest of the control process. Using the switching reaching law based controller, the state is guaranteed to lie exactly on the sliding line, at least once in each discretization period, as was predicted in Theorem 3. Moreover, the convergence to the quasi-sliding mode band is faster. However, the drawback is a large magnitude of chattering. As one can observe, because the matching conditions are not satisfied, a constant disturbance leads to a steady state error. The impact of a constant disturbance could easily be removed by introducing an integral action into the switching hyperplane, which is not presented here for brevity. This error however is bounded, in accordance with Theorem 7.

6.2. Non-Switching Reaching Law Based Sliding Mode Controller

Next, the results obtained with the non-switching reaching law will be presented. The single parameter s0 must be selected as greater than sd in order to ensure the existence of the sliding motion. Consequently it is selected as s0 = 8 to obtain a compromise between initial value of the control signal and convergence speed. The results of simulations are presented in Figure 5, Figure 6 and Figure 7. As one can observe, the state converges to the vicinity of the sliding line. Moreover, once the quasi-sliding motion starts, the sliding variable never exceeds the value 3.36 predicted in Theorem 4. Similarly as in the previous case, the constant disturbance leads to a steady state error, which could be removed by introducing an integral action in the sliding variable equation. However, the state errors remain bounded, according to Theorem 7.

6.3. Gao’s Reaching Law Based Sliding Mode Controller

Next, we will compare our approach with the one proposed in the seminal work [16]. The reaching law developed in that paper is still widely used both in original as well as modified forms. Firstly, we have tried to apply Gao’s reaching law in its original form, however this resulted in significant chattering, as the discontinuous term had to compensate the whole disturbance magnitude. Therefore, to obtain a fair comparison with the reaching laws developed in this paper, we have modified the reaching law of Gao by introducing the disturbance compensation term. Thus the modified reaching law is:
s [ ( k + 1 ) T ] = ( 1 q ) s ( k T ) ε sgn [ s ( k T ) ] + c T { d ( k T ) d [ ( k 1 ) T ] } .
The parameters q, ε have to be chosen in order to on one hand ensure the switching quasi-sliding motion, and on the other generating admissible control signal values. The parameter q mainly governs the initial rate of convergence, therefore it has a larger impact on the initial control signal. The value ε must be sufficiently large to ensure crossing the sliding hyperplane. These parameters were chosen as q = 0.36, ε = 11. The results are shown in Figure 8, Figure 9 and Figure 10.
Obviously, to ensure a fair comparison, the above parameters must be properly chosen. One can observe from Figure 10 that for the given value of q, the value of ε could not be decreased, as it is currently “just enough” to make the sliding variable change its sign in each consecutive step of the quasi-sliding motion. On the other hand, one could select a larger value of q, which would allow decreasing ε, and consequently reducing the chattering. This however would increase the initial values of the control signal, which are already significantly larger than the ones generated by the proposed controllers. Thus, one can notice, that both of the proposed reaching laws outperform Gao’s reaching law, not only in terms of smaller chattering but in reduced control effort as well.

6.4. Comparison of the Performance of the Controllers

When comparing the controllers, one of the most important aspects is the energy expenditure connected with the control signal. The sum of squared values was selected as a measure of this energy cost. On the other hand, every controller should minimize the state error. In the simulation scenario, the desired state is the origin of the state space, therefore minimizing the error is equivalent to minimizing the values of state variables. Thus, the sum of absolute values of the states given by ( | x 1 | + | x 2 | + | x 3 | ) was used as a measure of control precision. The results are presented in Table 1.
It is evident that both controllers proposed in this paper ensure reduced control effort and improved control precision, when compared to the reaching law developed by Gao, despite introducing the disturbance compensation term in it (without it, the difference would be even more significant). Moreover, the non-switching reaching law outperforms the switching one in both of the above-mentioned aspects.

7. Discussion

In this work, control of a continuous time plant by a discrete sliding mode controller was considered. Two reaching laws were proposed, one ensured the switching sliding motion, while the other the non-switching one. It has been shown, that the transition to a non-switching reaching law allows to significantly reduce the energy expenditure of the control signal. In both of the approaches, it was assumed that the external disturbance rate of change is bounded. It is worth pointing out, that the proposed approach does not require satisfying the matching conditions. Both controllers lead to a quasi-sliding mode band width (therefore also to control precision) proportional to T2. It is also worth pointing out that both of the proposed methods ensure a priori known bounds of the state errors, not only at the sampling instants, but also in the intervals between them. This has clear practical advantages, as it can ensure that the states will not exceed values that could damage the plant. Moreover, as for the majority of systems, the greatest efficiency is achieved at the desired operating point, this property can also be used to optimize the efficiency. The analytical results were verified by computer simulations.
One drawback of the proposed method is the requirement of knowing the limits of the disturbance rate of change in advance. Our future research will focus on removing this requirement, which could be achieved with adaptive control methods. Moreover, tests in real power electronic systems are also planned.

Author Contributions

Conceptualization, P.L. and A.B.; methodology, P.L. and A.B.; validation, P.L., formal analysis, P.L.; writing—original draft preparation, P.L.; writing—review and editing, A.B.; supervision, A.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Utkin, V. Variable structure systems with sliding modes. IEEE Trans. Aut. Contr. 1977, 22, 212–222. [Google Scholar] [CrossRef]
  2. Utkin, V.; Drakunov, S.V. On discrete-time sliding mode control. In Proceedings of the IFAC Conference on Nonlinear Control, Capri, Italy, 14–16 June 1989; pp. 484–489. [Google Scholar] [CrossRef]
  3. Incremona, G.P.; Rubagotti, M.; Tanelli, M.; Ferrara, A. A general framework for switched and variable-gain higher-order sliding mode control. IEEE Trans. Aut. Contr. 2020. [Google Scholar] [CrossRef]
  4. Salgado, I.; Kamal, S.; Bandyopadhyay, B.; Chairez, I.; Fridman, L. Control of discrete time systems based on recurrent Super-Twisting-like algorithm. ISA Trans. 2016, 64, 47–55. [Google Scholar] [CrossRef]
  5. Draženović, B. The invariance conditions in variable structure systems. Automatica 1969, 5, 287–295. [Google Scholar] [CrossRef]
  6. Gao, P.; Zhang, G.; Lv, X. Model-Free Control Using Improved Smoothing Extended State Observer and Super-Twisting Nonlinear Sliding Mode Control for PMSM Drives. Energies 2021, 14, 922. [Google Scholar] [CrossRef]
  7. Milosavljević, C.; Peruničić-Draženović, B.; Veselić, B.; Petronijević, M. High-performance discrete-time chattering-free sliding mode-based speed control of induction motor. Electr. Eng. 2017, 99, 583–593. [Google Scholar] [CrossRef]
  8. Xavier, N.; Bandyopadhyay, B. Practical sliding mode using state depended intermittent control. IEEE Trans. Circuits Syst. II Exp. Briefs 2021, 68, 341–345. [Google Scholar] [CrossRef]
  9. Almakhles, D.J. Robust backstepping sliding mode control for a quadrotor trajectory tracking application. IEEE Access 2019, 8, 5515–5525. [Google Scholar] [CrossRef]
  10. Fethalla, N.; Saad, M.; Michalska, H.; Ghommam, J. Robust observer-based dynamic sliding mode controller for a quadrotor UAV. IEEE Access 2018, 6, 2169–3536. [Google Scholar] [CrossRef]
  11. Veselić, B.; Milosavljević, C.; Peruničić-Draženović, B.; Huseinbegović, S.; Petronijević, M. Discrete-time sliding mode control of linear systems with input saturation. Int. J. Appl. Math. Comput. Sci. 2020, 30, 517–528. [Google Scholar] [CrossRef]
  12. Chen, Y.; Bu, W.; Qiao, Y. Research on the Speed Sliding Mode Observation Method of a Bearingless Induction Motor. Energies 2021, 14, 864. [Google Scholar] [CrossRef]
  13. Zhang, Q.-Q.; Wai, R.-J. Robust Power Sharing and Voltage Stabilization Control Structure via Sliding-Mode Technique in Islanded Micro-Grid. Energies 2021, 14, 883. [Google Scholar] [CrossRef]
  14. Tran, A.-T.; Minh, B.L.N.; Huynh, V.V.; Tran, P.T.; Amaefule, E.N.; Phan, V.-D.; Nguyen, T.M. Load Frequency Regulator in Interconnected Power System Using Second-Order Sliding Mode Control Combined with State Estimator. Energies 2021, 14, 863. [Google Scholar] [CrossRef]
  15. Ludwiger, J.; Steinberger, M.; Horn, M. Spatially distributed networked sliding mode control. IEEE Contr. Syst. Lett. 2019, 3, 972–977. [Google Scholar] [CrossRef]
  16. Gao, W.; Wang, Y.; Homaifa, A. Discrete-time variable structure control systems. IEEE Trans. Ind. Electron. 1995, 42, 117–122. [Google Scholar]
  17. Gao, W.C.; Hung, J.C. Variable structure control of nonlinear systems: A new approach. IEEE Trans. Ind. Electron. 1993, 40, 45–55. [Google Scholar] [CrossRef]
  18. Ma, H.; Xiong, Z.; Li, Y.; Liu, Z. Sliding mode control for uncertain discrete-time systems using an adaptive reaching law. IEEE Trans. Circuits Syst. II Exp. Briefs 2021, 68, 722–726. [Google Scholar] [CrossRef]
  19. Wang, Y.; Feng, Y.; Zhang, X.; Liang, J. A new reaching law for antidisturbance sliding-mode control of PMSM speed regulation system. IEEE Trans. Power Electron. 2020, 35, 4117–4126. [Google Scholar] [CrossRef]
  20. Bartoszewicz, A.; Leśniewski, P. New Switching and Nonswitching Type Reaching Laws for SMC of Discrete Time Systems. IEEE Trans. Control Syst. Technol. 2016, 24, 670–677. [Google Scholar] [CrossRef]
  21. Su, W.C.; Drakunov, S.V.; Özgüner, Ü. An O(T2) boundary layer in sliding mode for sampled-data systems. IEEE Trans. Aut. Contr. 2000, 45, 482–485. [Google Scholar] [CrossRef]
  22. Park, K.; Park, T.; Park, K. Sliding mode control based on pole-placement method for position control of linear stage. In Proceedings of the 2009 ICCAS-SICE, Fukuoka, Japan, 18–21 August 2009; pp. 5127–5130. [Google Scholar]
  23. Janardhanan, S.; Kariwala, V. Multirate output feedback based LQ optimal discrete-time sliding mode control. IEEE Trans. Aut. Contr. 2008, 53, 367–373. [Google Scholar] [CrossRef]
Figure 1. The disturbance acting on the plant.
Figure 1. The disturbance acting on the plant.
Energies 14 01882 g001
Figure 2. Control signal of the switching controller.
Figure 2. Control signal of the switching controller.
Energies 14 01882 g002
Figure 3. States of the plant controlled by the switching controller.
Figure 3. States of the plant controlled by the switching controller.
Energies 14 01882 g003
Figure 4. Sliding variable with the switching controller.
Figure 4. Sliding variable with the switching controller.
Energies 14 01882 g004
Figure 5. Control signal of the non-switching controller.
Figure 5. Control signal of the non-switching controller.
Energies 14 01882 g005
Figure 6. States of the plant controlled by the non-switching controller.
Figure 6. States of the plant controlled by the non-switching controller.
Energies 14 01882 g006
Figure 7. Sliding variable with the non-switching controller.
Figure 7. Sliding variable with the non-switching controller.
Energies 14 01882 g007
Figure 8. Control signal of Gao’s reaching law controller.
Figure 8. Control signal of Gao’s reaching law controller.
Energies 14 01882 g008
Figure 9. States of the plant controlled by the Gao’s reaching law controller.
Figure 9. States of the plant controlled by the Gao’s reaching law controller.
Energies 14 01882 g009
Figure 10. Sliding variable with the Gao’s reaching law controller.
Figure 10. Sliding variable with the Gao’s reaching law controller.
Energies 14 01882 g010
Table 1. Comparison of the controllers.
Table 1. Comparison of the controllers.
Switching RLNon-Switching RLGao’s RL
u 2 ( k ) 11,25943761,589
( | x 1 | + | x 2 | + | x 3 | ) 243823712812
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Leśniewski, P.; Bartoszewicz, A. Reaching Law Based Sliding Mode Control of Sampled Time Systems. Energies 2021, 14, 1882. https://doi.org/10.3390/en14071882

AMA Style

Leśniewski P, Bartoszewicz A. Reaching Law Based Sliding Mode Control of Sampled Time Systems. Energies. 2021; 14(7):1882. https://doi.org/10.3390/en14071882

Chicago/Turabian Style

Leśniewski, Piotr, and Andrzej Bartoszewicz. 2021. "Reaching Law Based Sliding Mode Control of Sampled Time Systems" Energies 14, no. 7: 1882. https://doi.org/10.3390/en14071882

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop