Next Article in Journal
Effective Method for Diagnosing Continuous Welded Track Condition Based on Experimental Research
Next Article in Special Issue
Zero-Width Quasi-Sliding Mode Band in the Presence of Non-Matched Uncertainties
Previous Article in Journal
Experimental Study of Thermal Properties and Dynamic Viscosity of Graphene Oxide/Oil Nano-Lubricant
Previous Article in Special Issue
Research on the Speed Sliding Mode Observation Method of a Bearingless Induction Motor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sliding Mode Control with Minimization of the Regulation Time in the Presence of Control Signal and Velocity Constraints

by
Mateusz Pietrala
,
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(10), 2887; https://doi.org/10.3390/en14102887
Submission received: 15 April 2021 / Revised: 9 May 2021 / Accepted: 10 May 2021 / Published: 17 May 2021
(This article belongs to the Special Issue Sliding Mode Control in Electromechanical Systems)

Abstract

:
In this paper, the design of the terminal continuous-time sliding mode controller is presented. The influence of the external disturbances is considered. The robustness for the whole regulation process is obtained by adapting the time-varying sliding line. The representative point converges to the demand state in finite time due to the selected shape of the nonlinear switching curve. Absolute values of control signal, system velocity and both of these quantities are bounded from above and considered as system constraints. In order to evaluate the dynamical performance of the system, the settling time is selected as a quality index and it is minimized. The approach presented in this paper is particularly suited for systems in which one state (or a set of states) is the derivative of the other state (or a set of states). This makes it applicable to a wide range of electromechanical systems, in which the states are the position and velocity of the mechanical parts.

1. Introduction

Sliding mode control has become an efficient regulation control approach due to its robustness to perturbations and computational efficiency [1,2,3,4,5,6]. First mentions about continuous-time systems can be found in the Russian literature [7]. Then, this strategy was developed in order to apply it to discrete-time systems [8,9,10]. Sliding mode control can be split into two stages: the reaching and the sliding phase. In the first one, the representative point (state vector) moves in the direction of the so-called sliding hypersurface or its vicinity. In this phase, the system is vulnerable to an influence of the external disturbances. Then, in the sliding phase, the system becomes insensitive to these perturbations. Hence, in order to obtain insensitivity to external disturbances for the entire control process, time-variant sliding hypersurfaces can be introduced [11,12]. One of the reaching phase elimination techniques is to select this hyperplane in such a manner that at the initiation of the control process, it crosses both the initial and the demand state. Furthermore, two strategies can be considered: when the switching hyperplane stops during the control process and when it moves for the whole regulation process. One of the primary goals of sliding mode control is to obtain a satisfying dynamical performance and guarantee a stable sliding motion. In most cases, it is ensured that one of two methods is used: pole placement or optimal control. Furthermore, it is also important to achieve the convergence of the representative point to the demand state in finite time. Hence, the sliding hypersurface has to be nonlinear [13,14,15]. Otherwise, the convergence would only be asymptotic. Another important issue is to evaluate the dynamical performance of the control loop. It can be obtained by minimizing one of well-known quality indices used in automation, for example: regulation time, integral absolute error (IAE), integral square error (ISE), integral time absolute error (ITAE), integral time-multiplied square error (ITSE). Aiming at practical applications of the proposed strategy constraints must be imposed on signals such as control signal, position, velocity, etc. [16,17]. Of course, these limitations can be combined in order to achieve desirable properties.
Due to the advantages outlined above, sliding mode control is often used in practice, especially in power converter systems and electric drives. In [18], the super twisting sliding mode control of synchronous machines with permanent magnets is studied. The authors proposed a so-called ultra-local model of the permanent magnet synchronous motor. The proposed model is relatively uncomplicated, which allows the system to work, without the necessity of determining the exact specification of the synchronous motor parameters. A parameter of the model is then adjusted online. The authors, instead of applying a classic state observer, proposed its variation, called the smoothing extended state observer. This allows to minimize the fluctuations in the estimation of the state variable. Computer simulations and experiments on a test setup demonstrate the superiority of the approach, namely the reduced oscillations and quicker response. The work [19] also analyzes the control of electric drive systems with sliding modes, namely controlling the speed of an induction motor. The derived method of control has important advantages when compared to a classical proportional–integral controller. It has less overshoot and better robustness with respect to external perturbations. Controlling an induction motor has also been the topic of [20]. In that work, a six-phase induction motor is controlled in a cascade structure, with a PI speed controller and the proposed terminal sliding mode current controller. It has been shown that by using a nonlinear sliding hyperplane, one can reduce the control time. Results were verified on a real 2 kW motor. On the other hand, in [21], an integral terminal sliding mode controller was proposed for the control of wireless charging systems. The charging circuit on the receiver side stores power not only in the battery, but in a supercapacitor bank as well. Thanks to this, the proposed controller can ensure that the energy transfer is performed with the maximum possible efficiency. The controller performance was verified by computer simulations and hardware in the loop tests. The methodology of time-varying sliding hyperplanes was utilized in [22] to control a DC–DC buck converter, which allowed to obtain robustness for the whole control process. To limit the switching frequency, the authors introduced a hysteresis function into the control signal. This, on one hand, is beneficial, as the switching frequency automatically shifts, to ensure the control precision predetermined by the hysteresis band. On the other hand, it is well known that varying the switching frequency in this manner can have unpleasant auditory effects. When dealing with control systems in which maintaining constraints is one of the main factors, model predictive control (MPC) [23,24] is one of the main solutions. However, it has some drawbacks, as it requires online optimization, which makes it difficult to apply to complex systems with short time constants (as the computational power required to perform the optimization can become prohibitively expensive in these cases). The approach proposed in this paper, on the other hand, requires some initial “off-line” optimization; however, after that, it does not require significant computational effort in the control loop.
This paper is organized as follows. Section 2 and Section 3 contain the main results of the paper. At first, the sliding mode controller was designed. Furthermore, the admissible set of the sliding line parameters was derived in three cases: when the absolute value of the control signal is constrained, when the absolute value of system’s velocity is constrained and when both of these limitations are simultaneously taken into account. Then, the minimization of the settling time in three scenarios mentioned before was performed. A simulation example presented in Section 4 verifies the theoretical considerations. Section 5 concludes the paper.

2. Sliding Mode Controller Design

In this section, we will present the design of the sliding mode controller for the second order continuous-time system. A nonlinear, time-varying switching hyperplane will be selected in such a manner that the reaching phase will be eliminated. In this way, the robustness to the external disturbances is guaranteed for the whole regulation process. Moreover, the finite time convergence to the demand state will be achieved. Furthermore, we will derive the admissible set of the sliding line parameters in three cases:
  • When the magnitude of the control signal is constrained;
  • When the magnitude of the system’s velocity is constrained;
  • When the magnitude of the control signal and the absolute value of the system’s velocity are both constrained.
The dynamical performance of the control loop will be evaluated by minimizing the regulation time, which is a well-known quality index commonly used in control engineering. In this way, the system state will arrive at the set point in the shortest possible time. As for almost all systems, the highest energy efficiency is achieved in the steady set point, which will limit the energy losses in the system. Let us consider a second order dynamical system described by the following state equations:
d d t ζ 1 t = ζ 2 t d d t ζ 2 t = f ζ 1 t , ζ 2 t , t + d t + b u t ,
where ζ 1 t is the system’s position, ζ 2 t is the system’s velocity and f is an unknown function of time, position and velocity. External disturbances are denoted as d. We require that f and d are bounded, so that the absolute value of their sum fulfills the following condition:
f ζ 1 t , ζ 2 t , t + d t M ,
where M is a known a priori. Control signal u is related to a scalar b . Our aim was to design a sliding mode controller that enforces a stable sliding motion along a time-variant switching curve and ensures the convergence from the initial point ζ 1 0 0 , ζ 2 0 = 0 to the desired point ( 0 , 0 ) in finite time. In order to remove the reaching phase and obtain the robustness for the entire control process, we choose the following sliding variable:
s t = c t sgn ζ 1 t ζ 1 t + ζ 2 t ,
where
c t = ι t f o r t t 0 ι t 0 f o r t > t 0 .
Parameter ι > 0 determines the movement speed of the sliding line given by s t = 0 and t 0 is the moment in which that line stops and remains fixed until the end of the control process. The values of parameters ι and t 0 will be selected, based on the minimization of the regulation time, for different constraints imposed on the system, in the following subsections of this paper. The sign function is equal to 1 for positive arguments, equal to 0 for 0 and 1 for negative arguments. Substituting t = 0 to the Equation (3) we obtain:
s 0 = ζ 2 0 + c 0 sgn ζ 1 0 ζ 1 0 = 0 ,
so we can conclude that for t = 0 the representative point is placed on the switching curve, which results in elimination of the reaching phase and robustness to the external disturbances for the whole regulation process. In order to achieve a stable sliding motion, we select the following control signal
u t = 1 b sgn ζ 1 t ζ 1 t d d t c t + M sgn s t + ζ 2 t c t 2 ζ 1 t .
Theorem 1.
The control signal (6) ensures a stable sliding motion for the entire regulation process.
Proof. 
In order to prove that the stable sliding motion is achieved for the whole regulation process, we have to show that the inequality:
s t d d t s t 0
is true for any t > 0 . Let us observe that typically, the inequality in (7) must be strict, to ensure the convergence to the sliding hyperplane. However, in our approach, the initial value of the sliding variable is zero. Therefore, non-strict inequality is sufficient to ensure the sliding motion. Calculating the derivative of the sliding variable (3), we obtain:
d d t s t = d d t ζ 2 t + sgn ζ 1 t ζ 1 t d d t c t + c t ζ 2 t 2 ζ 1 t .
Using the second equation in (1) and the control signal (6), we can rewrite Equation (8) as follows:
d d t s t = f ζ 1 t , ζ 2 t , t + d t M sgn s t .
Let us consider three cases:
  • s t < 0 .
    In this case, Equation (9) is of the form:
    d d t s t = f ζ 1 t , ζ 2 t , t + d t + M .
    Using inequality (2), we obtain that the derivative of the sliding variable is always non-negative. Therefore, inequality (7) is true for any t > 0 .
  • s t = 0 .
    In this case, the product of the sliding variable and its derivative is always equal to 0 . Hence, inequality (7) is fulfilled for any t > 0 .
  • s t > 0 .
    When the sliding variable is positive, then the Equation (9) can be rewritten as
    d d t s t = f ζ 1 t , ζ 2 t , t + d t M .
    Again, using inequality (2), we obtain that the derivative of the sliding variable is non-positive. Therefore, the inequality (7) is always true.
In summary, the inequality (7) is fulfilled for any sign of the sliding variable, which ends the proof. □

3. Optimization of the Controller Parameters

In this section, we will derive admissible sets of parameters ι and t 0 related to the switching curve in the presence of three types of constraints enumerated in this section. Moreover, we will consider two possible scenarios:
  • The sliding line moves, then it stops and stays stationary until the control process finishes;
  • The sliding line moves during the entire control process.
At first, we must derive equations for both state variables. Theorem 1 has shown that the proposed control signal ensures stable sliding motion for the whole regulation process, i.e., the representative point remains on the switching curve s t = 0 . From this fact and Equation (3), we obtain that the system’s velocity is given as
ζ 2 t = c t sgn ζ 1 t ζ 1 t .
Therefore, our first step is to derive an equation for ζ 1 t . Substituting the Formula (12) to the first equation in (1), we obtain
c t sgn ζ 1 t ζ 1 t + d d t ζ 1 t = 0 .
Using the substitution y t = ζ 1 t , we solve the above differential equation obtaining that in the first case:
ζ 1 t = C 1 ι t 2 4 f o r t t 0 C 2 ι t 0 t 2 f o r t 0 < t < t f 0 f o r t t f .
Positive parameters C 1 and C 2 are constants acquired during the integration process and t f is the regulation time. From the fact that ζ 1 t is continuous, we can calculate these parameters. Deriving the limits of the function (14) in points 0 , t 0 and t f , we obtain:
  • t = 0 .
    In this case, we obtain:
    C 1 = ζ 1 0 .
  • t = t 0 .
    The left-hand side limit of ζ 1 t in t 0 is equal to ζ 1 0 1 4 ι t 0 2 and the right-hand side limit is C 2 1 2 ι t 0 2 . Hence:
    C 2 = ζ 1 0 + 1 4 ι t 0 2 .
  • t = t f .
    By equating one-sided limits at t f , we obtain:
    ζ 1 0 + 1 4 ι t 0 2 1 2 ι t 0 t f = 0 .
    From the above equation, we obtain the formula describing the regulation time, which is our quality index:
    t f = 1 2 t 0 + 2 ζ 1 0 ι t 0 .
In summary, Equation (14) can be rewritten as follows:
ζ 1 t = ζ 1 0 ι t 2 4 f o r t 0 , t 0 ζ 1 0 + ι t 0 2 4 ι t 0 t 2 f o r t t 0 , t f 0 f o r t t f , .
In order to calculate the magnitude of the system’s velocity, we substitute (19) to Equation (12), obtaining:
ζ 2 t = ι t ζ 1 0 ι 2 t 3 4 f o r t 0 , t 0 ι t 0 ζ 1 0 + ι 2 t 0 3 4 ι 2 t 0 2 t 2 f o r t t 0 , t f 0 f o r t t f , .
In the case where the sliding line is non-stationary during the entire regulation process, we transform Equations (14) and (20), obtaining:
ζ 1 t = ζ 1 0 ι t 2 4 f o r t 0 , t f 0 f o r t t f , ,
ζ 2 t = ι t ζ 1 0 ι 2 t 3 4 f o r t 0 , t f 0 f o r t t f , .
The regulation time is given as
t f = 2 ζ 1 0 4 ι .

3.1. Control Signal Constraint

Our aim is to calculate parameters ι and t 0 for which the absolute value of the control signal will be constrained from above by an a priori known positive parameter u max for the whole regulation process, meaning that:
u t u max
for any t 0 . Substituting the control signal (6) into the above inequality, we obtain:
sgn ζ 1 t ζ 1 t d d t c t + ζ 2 t c t 2 ζ 1 t + M sgn s t b u max .
From the additivity and multiplicativity of the absolute value and Equation (12), we obtain that the magnitude of the control signal is constrained from above by u max if the inequality:
ζ 1 t d d t c t c 2 t 2 b u max M .
is true. In order to derive the admissible set, we will consider two cases. In the first one, we will take into account the time from the moment when the sliding line stops to the end of the regulation process. In the second case, we will consider the movement of the representative point along the moving sliding line.
  • t > t 0 .
    Using Equation (4), one can observe that function c is constant c ( t ) = ι t 0 . This means that its derivative with respect to time is always equal to 0 . Hence, we can rewrite formula (26) as follows:
    ι 2 t 0 2 2 b u max M .
    After calculations, we obtain the following inequality for t 0 :
    t 0 2 b u max M ι ,
    for which the magnitude of the input is constrained from above by the parameter u max . However, the t 0 constraint depends on the parameter ι . Therefore, in order to determine the admissible set of parameters ι and t 0 , we have to consider the situation when the state is on the moving sliding line.
  • t t 0 .
    Again, using Equation (4), we obtain c t = ι t . Calculating the derivative, we obtain d d t c t = ι . In this case, inequality (26) can be rewritten as
    ι ζ 1 t ι 2 t 2 2 b u max M .
    From inequality (27), we can conclude that ι 2 t 2 2 b u max M is true for any t t 0 . Therefore, inequality (29) holds, when:
    ι ζ 1 t b u max M .
    Using Theorem 1 and the fact that the state converges to the demand state on the sliding line, one can deduce that the first state variable is monotonically increasing or monotonically decreasing, depending on the initial point. Hence:
    max t 0 ζ 1 t = ζ 1 0 .
    Therefore, inequality (30) holds, when the inequality:
    ι ζ 1 0 b u max M
    is fulfilled. Let us observe that inequality (32) is equivalent to inequality (29) for t = 0 , which means that condition (32) does not contain any excess. In summary, the magnitude of the control signal is constrained from the above by u max , if:
    ι b u max M ζ 1 0
    is true.
In the second scenario, when the sliding line moves for the entire control process, we have to ensure that inequality (29) is true on the boundary of the domain. Let us observe that for t = 0 , the constraint on ι is of the form (33). If t = t f , then by substituting Equation (23) into inequality (29), we obtain that the control signal is limited, when:
ι b u max M 2 ζ 1 0 .
Let us emphasize that the constraint (34) is more restrictive than inequality (33).

3.2. System’s Velocity Constraint

In this subsection, we will derive the admissible set of the sliding line parameters, for which the magnitude of the system’s velocity will be limited from above by a known, positive parameter ζ 2 max during the whole regulation process, meaning that:
ζ 2 t ζ 2 max
for any t 0 . Again, two strategies will be taken into account: when the sliding curve moves for the whole regulation process and when that curve stops during the regulation process and then it becomes stationary.
  • Convergence along the moving switching curve.
    In this case, our goal is to constrain the system’s velocity given by Equation (22). If the state converges to the desired point along the moving switching curve, then the admissible set will consist of only one constraint, as in this case t 0 = t f . The first step will be deriving the moment t m in which the velocity reaches its extreme value. Now, the derivative of the first equation in (22) will be calculated and equated to zero, obtaining:
    ι ζ 1 0 3 4 ι 2 t 2 = 0 .
    Solving this equation for t and taking into account that it has to be positive, we obtain:
    t m = 2 3 ζ 1 0 4 3 ι .
    Substituting (37) into the first equation in (22), one can obtain that the maximum absolute value of the system’s velocity is given by
    max t > 0 ζ 2 t = 4 3 ι ζ 1 0 3 4 9 .
    Therefore, in order to limit the magnitude of the system’s velocity by ζ 2 max , inequality:
    4 3 ι ζ 1 0 3 4 9 ζ 2 max
    has to be satisfied. Hence, the admissible set for the case, when the demand state is reached along the moving switching curve, is given as
    ι 27 x 2 max 2 16 ζ 1 0 3 .
  • Convergence along the fixed switching curve.
    In this case, the representative point reaches the demand state at time t > t 0 . Let us notice that taking into account the time interval t 0 , t f and the shape of the switching curve, one can conclude that the maximum absolute value of the system’s velocity is reached at the time t 0 . Therefore, we have yet to consider the case when t 0 , t 0 . In this scenario, the maximum absolute value of the system’s velocity will be reached at t 0 or t m given by (37). Now, let us consider two cases:
    • t 0 > t m .
      If the absolute value of the system’s velocity reaches its maximum, before the switching curve stops, then the maximum is reached at the moment t m given by Equation (37). Therefore, in order to fulfill inequality (35) for any t > 0 , inequality (40) has also to be true.
    • t 0 t m .
      In this case, the maximum of the absolute value of the system’s velocity is reached at t = t 0 . Let us notice that first formulas in (20) and (22) are the same. Hence, following a similar procedure as in the first scenario, we obtain that the absolute value of the system’s velocity is attained at the moment:
      t 0 = 2 3 ζ 1 0 4 3 ι
      and similarly, as in the previous scenario, the admissible set is given by (40).
To sum up, in order to limit the magnitude of the system’s velocity by ζ 2 max for the whole regulation process, the parameter ι has to satisfy inequality (40).

3.3. Control Signal and System’s Velocity Constraints

In this subsection, our goal is to derive an admissible set of the switching curve parameters, for which conditions (24) and (35) are fulfilled. Therefore, inequality (28) has to be true and ι has to satisfy both restrictions (33) and (40). Therefore, the constraint of parameter ι in the case when the sliding line stops during the regulation process can be given by
ι min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 .
When the desired point is reached along the moving switching curve, the admissible set is:
ι min b u max M 2 ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 .

3.4. Settling Time Minimization

In this subsection, our goal is to minimize the regulation time—a quality index commonly used in control engineering—in the following three cases:
  • When the magnitude of the control signal is constrained;
  • When the magnitude of the system’s velocity is constrained;
  • When the magnitude of the control signal and the absolute value of the system’s velocity are both constrained.
In each of these three cases, we derive the optimal parameters ι and t 0 from the admissible sets, for which the regulation time is minimized.

3.4.1. Settling Time Minimization with the Control Signal Constraint

Now, we will derive the minimal regulation time, for which inequality (24) is fulfilled for any t 0 . Moreover, we will decide which strategy is the most beneficial: the one in which the switching curve stops during the control process or the one in which the sliding line moves for the whole control process.
Theorem 2.
If the absolute value of the control signal is bounded from above by u max for any t 0 , then the minimum regulation time is
t f = 3 2 2 ζ 1 0 b u max M
and the optimal sliding line parameter values are:
ι = b u max M ζ 1 0 t 0 = 2 ζ 1 0 b u max M .
The most beneficial strategy is the one in which the switching curve stops during the regulation process.
Proof. 
We will consider two possible scenarios: when the switching stops during the control process and when the sliding is non-stationary for the whole regulation process.
  • t f > t 0 .
    In this case, the regulation time is given by Equation (18). In order to determine its minimum value, we will consider t f as a function of ι and t 0 . At first, let us calculate the partial derivative of t f with respect to ι :
    t f ι = 2 ζ 1 0 ι 2 t 0 .
    Taking into account the fact that ζ 1 0 , ι and t 0 are positive, we conclude that the right hand side of (46) is always negative. Therefore, the regulation time is a decreasing function with respect to ι and its minimum value is obtained on the edge of the admissible set. Let us consider the maximum admissible value of ι which is equal to:
    ι = b u max M ζ 1 0 .
    Substituting (47) into Equation (18) we obtain:
    t f = 1 2 t 0 + 2 ζ 1 0 t 0 b u max M .
    In order to calculate the minimum value of the regulation time, we obtain the derivative of the function (48) with respect to t 0 as follows:
    t f t 0 = 1 2 2 ζ 1 0 t 0 2 b u max M .
    Equating the above formula to zero, taking into account that t 0 > 0 and solving this equation, we obtain that the only stationary point is:
    t 0 = 2 ζ 1 0 b u max M .
    We have to examine whether the above point belongs to the admissible set. Substituting value (47) into the inequality (28), we obtain:
    t 0 2 ζ 1 0 b u max M .
    Hence, the value (50) does not belong to the admissible set. Therefore, the minimum value of the regulation time is obtained for:
    ι = b u max M ζ 1 0 t 0 = 2 ζ 1 0 b u max M
    and is equal to:
    t f = 3 2 2 ζ 1 0 b u max M .
    Now, let us consider the second edge of the admissible set, i.e., the line given as
    t 0 = 2 b u max M ι .
    Substituting value (54) into the Equation (18), we obtain:
    t f = 2 b u max M 2 ι + 2 ζ 1 0 b u max M .
    Calculating the derivative of the above function with respect to ι :
    t f ι = 2 b u max M 2 ι 2
    we obtain that it is always negative; thus, t f is a decreasing function and its smallest value is obtained for the maximum admissible ι . Therefore, again, the minimum of the regulation time is given as (53) and the optimal sliding line parameters are obtained for ι and t 0 as in Equations (52).
  • t f t 0 .
    In this case, the state reaches the desired point along the non-stationary switching curve and the regulation time is given by Equation (23). Calculating the derivative of this function with respect to ι , we obtain:
    t f ι = ζ 1 0 4 ι 3 .
    This value is always negative. Hence, again the minimum regulation time will be obtained for the maximum admissible value of ι . From inequality (34), we obtain that:
    ι = b u max M 2 ζ 1 0 .
    Substituting the above value into Equation (23), we obtain the minimum regulation time:
    t f = 2 2 ζ 1 0 b u max M .
Comparing the minimum values of the regulation time, we conclude that the value (53) is always smaller than value (59). Hence, the optimal strategy is the one in which the switching curve stops during the control process. This ends the proof. □

3.4.2. Settling Time Minimization with the Velocity Constraint

In this subsection, our goal is to derive the minimal regulation time, for which the absolute value of the system’s velocity is bounded from above by value ζ 2 max for any t 0 .
Theorem 3.
If the absolute value of the system’s velocity is limited from above by ζ 2 max for any t 0 , then the minimum regulation time is:
t f = 8 3 ζ 1 0 9 ζ 2 max
and the optimal sliding line parameter value is:
ι = 27 x 2 max 2 16 ζ 1 0 3 .
The most beneficial strategy is the one in which the switching curve moves for the whole regulation process.
Proof. 
Using the proof of Theorem 2, we deduce that the minimum of the regulation time is obtained on the edge of the admissible set. Again, we consider two cases:
  • t f > t 0 .
    Using inequality (40), we obtain the maximum value of ι equal to:
    ι = 27 x 2 max 2 16 ζ 1 0 3 .
    Substituting the above value into Equation (41), we obtain the optimal parameter t 0 :
    t 0 = 8 ζ 1 0 9 ζ 2 max .
    Substituting values (62) and (63) into Equation (18), we conclude that, in this case, the minimum regulation time is
    t f = 16 ζ 1 0 9 ζ 2 max .
  • t f t 0 .
    In this case, the minimum value of the settling time is obtained for the maximum value of ι . Again, using inequality (40), we conclude that this value is given by (62). Substituting that value into Equation (23), we obtain the minimum value of the regulation time equal to t 0 given as (63).
Comparing both cases, we notice that (63) is always smaller than (64). Hence, the optimal strategy is the one in which the sliding line moves for the whole control process. This ends the proof. □

3.4.3. Settling Time Minimization with Both Control Signal and Velocity Constraints

In this subsection, the regulation time will be minimized in the case when the control signal and the system’s velocity are both constrained.
Theorem 4.
If the absolute values of the control signal and the system’s velocity are both bounded from above by u max and ζ 2 max , respectively, for any t 0 , then the minimum regulation time is equal to one of three values:
t f = 3 2 2 ζ 1 0 b u max M ,
t f = 8 3 ζ 1 0 9 ζ 2 max ,
t f = 8 2 b u max M ζ 1 0 3 27 x 2 max 2 + 2 ζ 1 0 b u max M .
and the optimal sliding line parameters are:
ι = min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 t 0 = max 2 ζ 1 0 b u max M ; min 8 3 ζ 1 0 9 ζ 2 max ; 16 2 b u max M ζ 1 0 3 27 x 2 max 2
The most advantageous strategy is the one in which the switching curve stops during the regulation process.
Proof. 
Again, using the proof of Theorem 2, we conclude that the regulation time is a decreasing function of ι . Therefore, its minimum value is obtained on the edge of the admissible set. We will consider two cases:
  • t f > t 0 .
    The first step will be to determine the intersection point of lines describing the maximum admissible t 0 . Equating the right-hand sides of inequality (28) and Equation (41), we find that these lines cross for:
    ι = 3 b u max M 2 ζ 1 0 .
    Using inequality (33), we can conclude that the above ι does not belong to the admissible set. Therefore, one of the t 0 functions in the admissible set is always greater than the other one. Let us observe that if ι increases, then the function:
    t 0 = 2 b u max M ι
    decays to zero faster than:
    t 0 = 2 3 ζ 1 0 4 3 ι .
    Hence, in the admissible set, value (70) is always greater than value (71). Selecting the maximum admissible value of ι and then of t 0 , we conclude that the limitation of the system’s velocity will be fulfilled without any excess. In order to calculate the minimum value of the regulation time, we will analyze the edge of the admissible set described by the line:
    ι = min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 .
    Substituting the above ι into Equation (18) and calculating its derivative with respect to t 0 , one obtains:
    t f t 0 = 1 2 2 ζ 1 0 min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 t 0 2 .
    Equating the right-hand side of formula (73) to 0, we obtain that the minimized regulation time is obtained for:
    t 0 = 2 ζ 1 0 4 min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 = max 2 ζ 1 0 b u max M ; 8 3 ζ 1 0 9 ζ 2 max .
    Moreover, in order to constrain the control signal for the whole control process, we have to take into account that t 0 must satisfy condition (51). Let us observe that the right-hand side of the inequality (51) is smaller than the left-hand side in the maximum function of formula (74). Moreover, we have to consider the t 0 limitation given by inequality (28). Therefore, the minimum of the regulation time is obtained for:
    ι = min b u max M ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 t 0 = max 2 ζ 1 0 b u max M ; min 8 3 ζ 1 0 9 ζ 2 max ; 16 2 b u max M ζ 1 0 3 27 x 2 max 2
    Let us derive the minimum value of the regulation time. If:
    ι = b u max M ζ 1 0 ,
    then:
    t 0 = 2 ζ 1 0 b u max M ,
    however, if:
    ι = 27 x 2 max 2 16 ζ 1 0 3 ,
    then:
    t 0 = 8 3 ζ 1 0 9 ζ 2 max
    or:
    t 0 = 16 2 b u max M ζ 1 0 3 27 x 2 max 2 .
    We will substitute proper values of ι and t 0 into Equation (18):
    • ι = b u max M ζ 1 0 and t 0 = 2 ζ 1 0 b u max M . In this case:
      t f = 3 2 2 ζ 1 0 b u max M .
    • ι = 27 x 2 max 2 16 ζ 1 0 3 and t 0 = 8 3 ζ 1 0 9 ζ 2 max . Then:
      t f = 8 3 ζ 1 0 9 ζ 2 max .
    • ι = 27 x 2 max 2 16 ζ 1 0 3 and t 0 = 16 2 b u max M ζ 1 0 3 27 x 2 max 2 . In this case:
      t f = 8 2 b u max M ζ 1 0 3 27 x 2 max 2 + 2 ζ 1 0 b u max M .
    We were not able to decide which of three values (81)–(83) is the smallest one, since they depend on u max , ζ 2 max , ζ 1 0 and b . However, these parameters are well-known from the beginning of the regulation process. Hence, after substituting these values, we can derive the minimum value of the regulation time.
  • t f t 0 .
    In this case, the minimum of the regulation time will again be obtained for the maximum value of parameter ι . In order to constrain both the input and system’s velocity, both inequalities (34) and (40) must hold. We have to select the more restrictive constraint. Hence:
    ι = min b u max M 2 ζ 1 0 ; 27 x 2 max 2 16 ζ 1 0 3 .
    Substituting the above value into Equation (23), we obtain the minimum value of the regulation time:
    t f = max 2 2 ζ 1 0 b u max M ; 8 3 ζ 1 0 9 ζ 2 max .
In order to determine which strategy is the most beneficial, we have to compare values (81)–(83) to the value (85). It is easy to see that (81) is always smaller than the first value in the maximum function in (85). Moreover, (82) is equal to the second value in that maximum function. The regulation time given by formula (83) satisfies the inequalities:
t f 1 2 8 3 ζ 1 0 9 ζ 2 max + 2 2 ζ 1 0 b u max M max 2 2 ζ 1 0 b u max M ; 8 3 ζ 1 0 9 ζ 2 max .
Hence, the regulation time given by Equation (83) is always smaller than the value (85). To sum up—each of values (81)–(83) is smaller than or equal to (85). Therefore, the most advantageous option is the one in which the sliding line stops during the regulation process. This ends the proof. □

4. Simulation Example

In this section, a simulation example of controlling a single link of a robotic manipulator will be demonstrated. For the control of the full manipulator, one would have to apply a similar controller for every joint of that manipulator. We consider a single rotary link, working in a vertical plane, which is described by
d d t ζ 1 t = ζ 2 t d d t ζ 2 t = 1 J m g r sin ζ 1 t + d t + u t ,
where ζ 1 is an angular position expressed in radians and ζ 2 is an angular velocity expressed in radians per second. The moment of inertia J = 1 kg · m 2 , the single link mass m = 4 kg and the distance from the mass center to the pivot point is r = 0.4 m. Figure 1 presents the scheme of the system.
Function d is an unknown disturbance with a bounded amplitude with the opposite sign to the velocity. In this way, the torque of resistance in bearings was modeled. It takes a value from 0 ; 1 Nm. From the fact that m g r = 16 Nm and the range of disturbances, we obtain that M = 17 Nm. The limitation of the control signal is u max = 70 Nm, and the limitation of the system’s velocity is ζ 2 max = 8 rad s . The starting position of the robot’s manipulator is equal to π and our goal is to rotate it to the zero position. In simulations, we considered a continuous-time model, namely the computation step, which was selected as small enough to represent the behavior of a continuous-time system. In order to be applicable in practice, the controller would obviously have to be discretized using some well-known methods. We did not present this discretization here, to maintain the brevity and clarity of the paper.

4.1. Control Signal Constraint

In this case, the optimal parameters of the sliding line are:
ι 29.9096 t 0 0.3442
and the optimal settling time is:
t f 0.5163 .
The presented parameter values (88) are the result of the optimization process. However, the controller ensures the robustness and stability for any positive ι and t 0 . If, for some reason (e.g., limited computational precision), the exact values were not used, the only drawback would be a sub-optimal settling time.
Figure 2 presents the control signal. We can see that its maximum admissible range was utilized. Its average value rises monotonically to the moment t 0 . After the sliding line stops, the control signal switches between 36 Nm and 70 Nm. When the state reaches the desired point, the control signal takes a value of 17 Nm or 17 Nm. All oscillations arise as a result of maintaining the state on the switching curve for the whole control process, and in the demand state after t f . The amplitude of this oscillation is equal to M b = 17 Nm. Evidently, in practice, the chattering would have to be reduced, using one of the known methods. We have not done so in order to present the main results in a clear, concise way.
From Figure 3, one can notice that the system’s angular position decreases monotonically from its initial value to the demand value and reaches it at the time t f .
System’s angular velocity is presented in Figure 4. Starting from its initial value, it decreases to its minimum value, then it becomes an increasing function until it achieves its demand value 0 rad s in finite time.
From Figure 5, one can observe that the system is insensitive to the external disturbances for the entire control process.

4.2. System’s Angular Velocity Constraint

When the angular velocity is limited for the whole regulation process, then:
ι 19.4102
and the optimal settling time is:
t f 0.6043 .
Figure 6 presents the control signal in the case when the system’s angular velocity is constrained. One can observe that its minimum and maximum values are both higher than those shown in Figure 2. The best strategy is the one in which the sliding line is non-stationary for the entire control process. Therefore, the average value of the control signal rises monotonically until the state reaches the desired point. After that, it switches between 17 Nm and 17 Nm.
The system’s angular position graph shown in Figure 7 is similar to the one presented in Figure 3. However, the demand state is reached subsequently.
In this case, the system’s angular velocity shown in Figure 8 reaches its minimum admissible value; after that, it recovers and attains the desired state at t f .
Again, from Figure 9 we conclude that the system is insensitive to perturbations for the entire control process.

4.3. Both Control Signal and System’s Angular Velocity Constraints

In this case, the optimal parameters of the sliding line are given by
ι 19.4102 t 0 0.5304
and the optimal settling time is:
t f 0.6094 .
One can observe that, in this case, the settling time has the greatest value, which is a reasonable result, because now we have to satisfy not one, but two constraints.
Now, the initial value of the control signal visible in Figure 10 is equal to the one in the case when only the system’s angular velocity is constrained. After that, its average value increases to the moment t 0 and after that it switches again between 36 Nm and 70 Nm in order to maintain the control signal constraint.
System’s angular position graph is given in Figure 11. Again, its shape is similar to the ones presented in Figure 3 and Figure 7.
The system’s angular velocity shown in Figure 12 satisfies its constraint, and after reaching its minimum value, it increases until the state reaches the desired point.
Again, in Figure 13 one can see that in all three cases, our system is insensitive to perturbations. Table 1 presents the comparison of some well-known quality indices: settling time, IAE and ITAE computed for three simulation scenarios.

5. Conclusions

In this paper, we proposed a terminal continuous-time sliding mode controller. It was stated and proven that the presented control signal ensures the stable sliding motion for the entire control process. In order to remove the reaching phase, the time-variant switching curve was introduced. The controller guarantees the finite-time convergence of the state to the desired point. In our work, three types of constraints were considered: a control signal constraint, a system velocity constraint and both of these constraints combined. In order to assess the dynamical behavior of the system, a settling time was selected as a quality index. It was minimized in the three mentioned cases. In the end, the simulation example that included the control of a single joint of a robotic manipulator was presented. These simulations verified the theoretical considerations shown in this paper. In future work, we will include noisy measurements, non-zero initial speed as well as comparing our approach with some similar controllers.

Author Contributions

Conceptualization, A.B., and M.P.; methodology, M.P. and A.B.; validation, M.P. and P.L.; formal analysis, M.P. and P.L.; investigation, M.P. and P.L.; writing—original draft preparation, M.P. and P.L; writing—review and editing, A.B.; visualization, M.P.; supervision, A.B. and P.L. 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. Basin, M.; Fridman, L.; Shi, P. (Eds.) Optimal sliding mode algorithms for dynamic systems. J. Frankl. Inst. 2012, 349, 1317–1616. [Google Scholar] [CrossRef]
  2. Gao, W. (Ed.) Variable structure control. IEEE Trans. Ind. Electron. 1993, 40, 1–165. [Google Scholar]
  3. Kaynak, O.; Bartoszewicz, A.; Utkin, V.I. (Eds.) Sliding mode control in industrial applications. IEEE Trans. Ind. Electron. 2009, 56, 3271–3274. [Google Scholar]
  4. Misawa, A.; Utkin, V.I. (Eds.) Variable structure systems. Trans. Asme J. Dyn. Syst. Meas. Control. 2000, 122, 585–819. [Google Scholar]
  5. Utkin, V.I. (Ed.) Sliding mode control. Int. J. Control 1993, 57, 1003–1259. [Google Scholar]
  6. Shtessel, Y.; Spurgeon, S.; Fridman, L. Advances in sliding mode observation and estimation. Intern. J. Syst. Sci. 2007, 38, 845–942. [Google Scholar] [CrossRef]
  7. Utkin, V.I. Variable structure systems with sliding modes. IEEE Trans. Autom. Control 1977, 22, 212–222. [Google Scholar] [CrossRef]
  8. Furuta, K. Sliding mode control of a discrete system. Syst. Control Lett. 1990, 14, 145–152. [Google Scholar] [CrossRef]
  9. Milosavljević, Č. General conditions for the existence of a quasisliding mode on the switching hyperplane in discrete variable structure systems. Autom. Remote. Control 1985, 46, 307–314. [Google Scholar]
  10. Utkin, V.I.; Drakunow, S.V. On discrete-time sliding mode control. IFAC Conf. Nonlinear Control 1989, 484–489. [Google Scholar]
  11. Choi, S.B.; Park, D.W.; Jayasuriya, S. A time-varying sliding surface for fast and robust tracking control of second-order uncertain systems. Automatica 1994, 30, 899–904. [Google Scholar] [CrossRef]
  12. Yilmaz, C.; Hurmuzlu, Y. Eliminating the reaching phase from variable structure control. J. Dyn. Syst. Meas. Control. 2000, 122, 753–757. [Google Scholar] [CrossRef] [Green Version]
  13. Man, Z.; Yu, X.H. Terminal sliding mode control of MIMO linear systems. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 1997, 44, 1065–1070. [Google Scholar]
  14. Man, Z.; Paplinski, A.; Wu, H.R. A robust MIMO terminal sliding mode control scheme for rigid robotic manipulators. IEEE Trans. Autom. Control 1994, 39, 2464–2469. [Google Scholar]
  15. Tang, Y. Terminal sliding mode control for rigid robots. Automatica 1998, 34, 51–56. [Google Scholar] [CrossRef]
  16. Hosseinzadeh, M.; Cotorruelo, A.; Limon, D.; Garone, E. Constrained Control of Linear Systems Subject to Combinations of Intersections and Unions of Concave Constraints. IEEE Control Syst. Lett. 2019, 3, 571–576. [Google Scholar] [CrossRef]
  17. O’Rourke, I.; Kolmanowvsky, I.; Garone, E.; Girard, A. Explicit Reference Governor for Constrained Maneuver and Shape Control of a Seven-State Multibody Aircraft. In AIAA Scitech 2020 Forum; AIAA: Reston, VA, USA, 2020; p. 1830. [Google Scholar]
  18. 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]
  19. Milosavljević, Č.; 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]
  20. Kali, Y.; Saad, M.; Doval-Gandoy, J.; Rodas, J. Discrete terminal super-twisting current control of a six-phase induction motor. Energies 2021, 14, 1339. [Google Scholar] [CrossRef]
  21. Ali, N.; Liu, Z.; Armghan, H.; Ahmad, I.; Hou, Y. LCC-S-Based integral terminal sliding mode controller for a hybrid energy storage system using a wireless power system. Energies 2021, 14, 1693. [Google Scholar] [CrossRef]
  22. Mobayen, S.; Bayat, F.; Lai, C.-C.; Taheri, A.; Fekih, A. Adaptive global sliding mode controller design for perturbed DC-DC buck converters. Energies 2021, 14, 1249. [Google Scholar] [CrossRef]
  23. Oliveira, T.; Caseiro, L.; Mendes, A.; Cruz, S.; Perdigão, M. Model Predictive Control for Paralleled Uninterruptible Power Supplies with an Additional Inverter Leg for Load-Side Neutral Connection. Energies 2021, 14, 2270. [Google Scholar] [CrossRef]
  24. Vásquez, L.O.P.; Ramírez, V.M.; Langarica Córdova, D.; Redondo, J.L.; Álvarez, J.D.; Torres-Moreno, J.L. Optimal Management of a Microgrid with Radiation and Wind-Speed Forecasting: A Case Study Applied to a Bioclimatic Building. Energies 2021, 14, 2398. [Google Scholar] [CrossRef]
Figure 1. Scheme of the system.
Figure 1. Scheme of the system.
Energies 14 02887 g001
Figure 2. Control signal with the input constraint.
Figure 2. Control signal with the input constraint.
Energies 14 02887 g002
Figure 3. System’s position with the input constraint.
Figure 3. System’s position with the input constraint.
Energies 14 02887 g003
Figure 4. System’s velocity with the input constraint.
Figure 4. System’s velocity with the input constraint.
Energies 14 02887 g004
Figure 5. State trajectory with the input constraint.
Figure 5. State trajectory with the input constraint.
Energies 14 02887 g005
Figure 6. Control signal with the velocity constraint.
Figure 6. Control signal with the velocity constraint.
Energies 14 02887 g006
Figure 7. System’s position with the velocity constraint.
Figure 7. System’s position with the velocity constraint.
Energies 14 02887 g007
Figure 8. System’s velocity with the velocity constraint.
Figure 8. System’s velocity with the velocity constraint.
Energies 14 02887 g008
Figure 9. State trajectory with the velocity constraint.
Figure 9. State trajectory with the velocity constraint.
Energies 14 02887 g009
Figure 10. Control signal with both input and velocity constraints.
Figure 10. Control signal with both input and velocity constraints.
Energies 14 02887 g010
Figure 11. System’s position with both input and velocity constraints.
Figure 11. System’s position with both input and velocity constraints.
Energies 14 02887 g011
Figure 12. System’s velocity with both input and velocity constraints.
Figure 12. System’s velocity with both input and velocity constraints.
Energies 14 02887 g012
Figure 13. State trajectory with both input and velocity constraints.
Figure 13. State trajectory with both input and velocity constraints.
Energies 14 02887 g013
Table 1. Comparison of well-known quality indices.
Table 1. Comparison of well-known quality indices.
t f IAEITAE
u limitation0.51630.81970.1260
ζ 2 limitation0.60431.01200.1911
both limitations0.60941.01210.1912
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pietrala, M.; Leśniewski, P.; Bartoszewicz, A. Sliding Mode Control with Minimization of the Regulation Time in the Presence of Control Signal and Velocity Constraints. Energies 2021, 14, 2887. https://doi.org/10.3390/en14102887

AMA Style

Pietrala M, Leśniewski P, Bartoszewicz A. Sliding Mode Control with Minimization of the Regulation Time in the Presence of Control Signal and Velocity Constraints. Energies. 2021; 14(10):2887. https://doi.org/10.3390/en14102887

Chicago/Turabian Style

Pietrala, Mateusz, Piotr Leśniewski, and Andrzej Bartoszewicz. 2021. "Sliding Mode Control with Minimization of the Regulation Time in the Presence of Control Signal and Velocity Constraints" Energies 14, no. 10: 2887. https://doi.org/10.3390/en14102887

APA Style

Pietrala, M., Leśniewski, P., & Bartoszewicz, A. (2021). Sliding Mode Control with Minimization of the Regulation Time in the Presence of Control Signal and Velocity Constraints. Energies, 14(10), 2887. https://doi.org/10.3390/en14102887

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