1. Introduction
In recent years, the popularity of the variable structure control approach has been gradually increasing, both in the theoretical field as well as in practical applications [
1,
2,
3,
4,
5,
6]. The main reason is the intense research to find the method that will efficiently reject the external disturbances and model uncertainties. This is one of the most important topics in the control theory because unpredictable perturbations can cause a major reduction in the system performance or even make it unstable. Among the most popular applications of the sliding mode control one can find power converter and electric drive systems. The reason for this is that the disadvantage of the “basic” sliding mode control paradigm, i.e., the discontinuous control signal is not an issue, as the control signal in those systems is naturally discontinuous (switching transistor on or off). However, for any other system, this basic control method can be changed in various ways to produce a continuous signal.
One of the leading approaches to address this issue, in the area of variable structure control, is the sliding mode [
7,
8,
9,
10]. This technique provides robustness to a wide class of external disturbances and model uncertainties, even if they do not satisfy the matching conditions. Moreover, the sliding mode control can be applied to both continuous-time and discrete-time systems, which is of great importance, since modern control processes are commonly applied digitally. Moreover, sliding mode control usually requires a small computational effort.
The roots of this strategy can be traced down to the early 1960s when Emelyanov [
11] made an interesting observation: switching between separately unstable systems may result in a stable system. Later, Drazenowić in [
12] stated and proved the theorem that the sliding mode control is more the just robust—it can ensure the insensitivity to all external disturbances. Since then, researchers have investigated this technique to adjust it to handle many different control problems [
13,
14,
15,
16].
The main concept of the sliding mode control is to lead the system’s representative point to the predefined sliding hyperplane and then enforce the stable sliding motion along it, until the moment when the desired state is settled. Thus, during the control process, we distinguish the reaching phase and the sliding phase. The significant improvement of the sliding mode control design methodology was the introduction of the reaching law approach. Instead of investigating the stability of the sliding motion by Lyapunov’s theorem, the alternative way is to predefine the evolution of the sliding variable. This variable, in some sense, reflects the distance between the state and the sliding hyperplane. This approach greatly reduces the complexity of the controller design, since the existence of a stable sliding mode results directly from the reaching law and thus does not need to be demonstrated. Such a method was found to be very popular for both continuous-time and discrete-time systems. Various authors have presented a wide range of reaching laws, to claim the favorable system properties.
Nonetheless, in the literature, an insufficient emphasis has been placed on the problem of constraining the state and, at the same time, ensuring fast convergence of the representative point to the sliding hyperplane [
17,
18,
19,
20,
21,
22]. In particular, there are few works on this topic for nonlinear systems in which disturbances do not satisfy the matching conditions. In [
23], a second-order sliding mode controller for nonlinear systems was proposed. It had some important advantages, as a second-order sliding mode inherently removed the chattering. Unfortunately, only constraining the output of the system was considered, and not all of the states. In [
24], a sliding mode controller was proposed, and its validity was demonstrated for a quadrotor system. Unfortunately, the authors took into account only the limits of the control signal, not all the state variables. Moreover, the approach was presented only for second-order systems. In [
25], a sliding mode controller for attitude control of a satellite was analyzed. It took into account the saturations of reaction wheels and the maximum torques that could be exerted by them. Unfortunately, the approach was developed specifically for this task, and it was not clear how it could be extended to a general dynamical system. In [
26], sliding mode control of a micropositioning piezo stage was analyzed. In order to cope with constraints, such as the maximum input voltage, the controller used the model predictive paradigm. The controller action was tested in computer simulations as well as in experimental tests. A drawback of introducing the predictive part was that it increased the computational complexity. Moreover, this approach, similarly to [
25] was developed for a specific task, and it was not evident how it could be generalized; furthermore, only control signal constraints were taken into account. In [
27], the authors proposed an adaptive sliding mode controller for a linear motor positioner. The approach was based on the barrier function, which enabled variation of the control effort, as the disturbance magnitude varied. The results were verified analytically as well as in real laboratory tests. Unfortunately, the results were obtained for a particular second-order system, and it was not entirely clear how they could be generalized. In [
28], authors also used the adaptive control approach to obtain fault tolerant control of Euler–Lagrange systems. Unfortunately, even for a relatively simple example of a two-link manipulator, there seemed to be many parameters to tune, and the authors did not present any clear guidelines on their selection. In [
29], a sliding mode controller for trajectory control of Permanent Magnet Synchronous Machines was developed. One of the interesting aspects was the use of iterative feedback tuning, which allowed them to take into account the results of a single task and fine-tune the parameters to obtain better performance when this task was repeated.
In this paper, we demonstrate the technique to limit the linear combinations of the state variables and also restrict the control input. What is more, we guarantee the fast, monotonic, and finite-time convergence of the sliding variable to zero. We also present the a priori sufficient condition that determines if the mentioned system properties are assured for the whole regulation period, even if the external disturbances are the most unfavorable. Another advantage of our control strategy is that it does not need any additional parameter tuning.
This paper is organized in the following way.
Section 2 introduces the considered system dynamics, the proposed reaching law, and the preliminary controller design. Then, in
Section 3, the details about the sliding variable convergence rates are considered. These rates address the issue of fulfilling the enforced constraints.
Section 4 proposes the general control strategy and presents the sufficient condition for monotonic, finite-time convergence of the representative point to the sliding hyperplane without violating the imposed restrictions.
Section 5, demonstrates the simulation results while
Section 6 concludes the paper.
2. Materials and Methods
In this paper, we take into consideration the class of disturbed, nonlinear plants. Therefore, the system dynamic can be described in the state space as
where
is a
dimensional state vector,
are nonlinear functions that process the state into the same dimensional output,
is a scalar control input and
denotes the unknown but bounded, external perturbations:
for
. For the sake of clarity, we define
. Subsequently, the sliding hyperplane is selected as
where
. The distance between the representative point and the sliding hyperplane will be reflected by the sliding variable
. Let us note that vector
has to satisfy
. Otherwise, the control input would not have a direct impact on the sliding variable.
Predetermining the evolution of the sliding variable comes with many benefits, such as simplicity in controller design or significant insight into the reaching phase. Thus, we consider the following, simple reaching law:
where
K determines the controller impact on the sliding variable. In the above equation, as well as in the remainder of the paper, “sgn” denotes the sign function; it is equal to one for positive arguments, −1 for negative, and is equal to zero when its argument is zero. In the upcoming section, we will adjust this convergence rate in such a manner to match all requirements that were mentioned in the introduction.
Let us notice that the introduced reaching law is not free from external disturbances. If this was not true, the unknown disturbances would appear in the control signal, making it unfeasible. Another important observation is that the convergence range
K should exceed the most extreme impact of the perturbations. Otherwise, we would not be able to guarantee the monotonic and finite-time convergence of the sliding variable to zero. Precisely, the convergence rate needs to be designed so that the condition
is fulfilled up to the moment when the sliding hyperplane is reached. The above inequality is equivalent to
which is more descriptive in terms of the convergence rate. We can further simplify this, without the loss of generality, by introducing
so the final requirement is
Subsequently, the controller design is performed by taking into account (
1) and (
2). As a result we obtain
Once again, let us observe that the uncertain terms are not present in the formula for the control signal, even though the external disturbances occur in the reaching law. Another benefit of predefining the evolution of the sliding variable is that we can approximate the duration of the reaching phase. The only uncertainty will be caused by the unknown perturbations.
3. State and Control Input Restriction
In this section we will design the convergence rates , , where m denotes the number of state restrictions. These convergence rates correspond to the control signal constraint and the linear combinations of the state variable constraints: . We presume that the constraints result in a compact region.
The general approach used in this paper is similar to the one already applied in [
30]. However, there are some significant improvements. First of all, in this paper, we consider a nonlinear system that extends the applicability of the results. Moreover, we introduce a method that, by taking into account the initial state, can extend the range of systems for which the proposed approach guarantees satisfying the constraints. Thirdly, the input vector, by which the control signal is multiplied, is allowed to vary with the state, which also extends the results.
To clarify the upcoming formulas, we introduce
. First of all, let us explicitly specify the admissible set:
where
is the initial state. As one can observe, the form (
9) allows to constrain any linear combinations of the state. Moreover, those constraints do not need to be symmetric with respect to the origin. As the controller ensures convergence to the sliding hyperplane, only the part of the admissible region, which is “closer” to the sliding hyperplane (namely for which
) than the initial state needs to be considered. Nonetheless, if the initial state is unidentified, then the form of the admissible set is
Next, we consider the state variable constraints
. The idea is to ensure
(which is equivalent to
), when
. Then, the restriction will not be violated. To reach this goal, let us rewrite this condition using (
1). As a result, we obtain
To improve clarity, we introduce the maximal possible disturbance that acts in the direction of the considered linear combination:
The inequality (
11) describes the condition that the convergence rate must satisfy, in order not to violate the i-th constraint. Thus, we can obtain from it the maximum convergence rate (assuming the “worst” possible disturbance values) that will be used when the state slides along the i-th constraint. As
K is a general symbol for the convergence rate, we mark this new convergence rate as
; it will be used only when the state lies on the i-th constraint.
Let us notice that we need to require
. Else, the control input would not have a direct impact in the direction of the respective linear combination of state variables. What is more, let us observe from (
11) that when
and
, then diminishing the convergence rate
K below
will not cause exceeding the respective limitation. However, in such case, raising the convergence rate above (
13) may cause the respective constraint violation—it depends on the impact of the perturbations. Whereas if (
14) is not satisfied, then we can increase the convergence rate up the level corresponding to the control signal constraint. Thus, we denote
if (
14) is satisfied and
otherwise. We can observe, that if we substitute (
13) to the formula for the control signal, we obtain
. In our notation,
corresponds to the control signal that will actually be generated by the controller. We additionally introduce
, which is the control signal that would be used in order to “slide” along the i-th constraint so as not to violate it. This allows us to write the following equations in a more compact and readable form. Thus, we denote the direct control input in the situation when
is used:
As a consequence, we can rewrite (
13) in a more meaningful and clear form
Lastly, let us design the convergence rate
connected with the control signal restriction
. Let us point out, that our approach could take into account non-symmetric bounds on the control signal. In every case considered below, one would then have to split the state space into two regions: one where a positive control signal is generated and one where a negative one is used. Then one would need to demonstrate the validity of the theorems presented in the next section separately for those two regions. We have chosen not to do this in the presented paper, as in our view, it would make the derivations significantly harder to follow. Using the formula for the control signal, we rewrite the limitation to obtain
As the sign of the sliding variable is constant and non-zero in the reaching phase, we derive the biggest
and the smallest
convergence rates that satisfy (
17). Hence, using (
18) we have
whereas using (
19) we have
.
4. Sufficient Condition and Control Strategy
In this section, we will present the regulation strategy that determines how to choose the convergence in each possible case. Moreover, we will formulate sufficient conditions for the monotonic and finite-time convergence of the representative point to the sliding hyperplane, at the same time maintaining the state and control input constraints. It will be divided into four theorems for readability reasons so that each of them will clearly determine its purpose.
First of all, the control signal limitation must be sufficient to overcome the perturbation and guarantee that the sliding variable will gradually decrease to zero. This condition can be written in the following way:
The above inequality needs to be true up to the moment when the sliding motion begins.
Theorem 1. To fulfill inequality (20) it is sufficient to satisfyfor in the admissible set. Proof. The inequality (
21) can be directly obtained by substituting (
18) to (
20) and then dividing both sides by
. □
Since any (
21) results in satisfying
, thus any positive convergence rate will not be too small to violate the control signal constraint.
Secondly, we must ensure the analogous condition for the state constraint. However, if
, then the convergence rate can be increased; we just need to enforce the condition in the case when
. Therefore, we only require
for
.
Theorem 2. To fulfill inequality (22) it is sufficient to satisfyfor , when , and belonging to the admissible set. Proof. After substituting (
16) into (
22), subtracting from both sides the
and then dividing both sides by
we obtain
Now, taking into account that (
14) is true we have
. Therefore, we obtain (
23). □
Even though a similar condition to the (
22) for
is not required, we must guarantee that the allowed control signal value range enables us to implement
when it is needed. As a consequence, we must satisfy
Theorem 3. To fulfill inequality (25) it is sufficient to satisfyfor , when , and belonging to the admissible set. Proof. Let us begin with multiplying both sides of the above inequality by
. Then, we subtract from both sides the expression
. As a consequence we obtain
We can notice that the left-hand side of the inequality is the formula for
. To transform the right hand side to
we observe that since
, then
. From this we have that
. Hence, the right-hand side is equal to
, which ends the proof. □
Up to this point, we guaranteed that
are large enough to overcome the perturbation and that the control signal limitation will not contradict the particular state limitation. Now, we need to ensure that two different state constraints will not contradict each other. To obtain this goal, we must consider the case only on the intersection of
i-th and
j-th state limitation. Therefore, we need to satisfy
or else at least one of the constraints will be exceeded.
Theorem 4. To fulfill inequality (28) it is sufficient to satisfyfor , , when and belonging to the admissible set. Proof. First of all, let us notice that if
,
, then
as well as
. Therefore, we can write
Secondly, we need to multiply both sides by
and then subtract from both sides
. As a result, we obtain (
28). □
As we mentioned at the beginning of this section, we have to design the regulation strategy that will determine which convergence rate should be selected in each case. Let us remember that our purpose is to obtain the fastest, monotonic, and finite-time convergence of the sliding variable to zero, simultaneously limiting the control input and the state variables. Therefore, if we can, we should select , and if is not possible, then choose the biggest possible convergence rate allowed—so only a respective , because if , then we can rise the rate up to .
Control Strategy
- 1.
If the representative point belongs to the interior of the admissible set or to its boundary/boundaries for which (
14) is not satisfied, then we choose
.
- 2.
Otherwise, , for those for which .
- 3.
After the sliding hyperplane is reached, K should be chosen big enough to overcome the extreme impact of the external disturbances on the sliding variable .
Another benefit of the above regulation strategy is that the designer will be assured in advance that the constraints will hold for the whole control process.
Nevertheless, the presented strategy may result in a chattering effect even during the reaching phase. This undesirable effect can be caused by fast switching between two different convergence rates. Let us explain in detail the reasons for that. When the boundary of the admissible region is reached, for which , the convergence rate is selected. However, this convergence rate is designed with a safe margin, so as to handle even the extreme impact of the disturbance. As the extreme impact is rarely probable to occur, this will drive the representative point back into the interior of the admissible set. As a consequence, the convergence rate will be selected, and the state will reach the constraint again. This repeating process will be reflected in chattering. To prevent this from happening, we can implement a smooth transition between and . This can be obtained for instance, by implementing the convex combination: , if . The neighborhood width is arbitrary, but it should be narrow. Moreover, if is true for many limitations, we should consider only the one for which is the smallest.
5. Results
For the purpose of illustrating the theoretical results, we performed computer simulations of the system (
1) with
Therefore, the biggest impact of the external disturbances in the direction of the sliding hyperplane is . Moreover, the sliding hyperplane was designed so that the sliding motion is assured and .
Our goal was to drive the representative point from the initial state to and satisfy the following limitations from the very beginning of the control process: , , and . Thus, , , , , , and . Moreover, we required that the sliding hyperplane would be reached monotonically and in finite time. The initial state was chosen on the boundary of the admissible set (on the intersection of two different constraints) to demonstrate the properties of our regulation strategy. We could observe that the sufficient condition, presented in the previous section, was fulfilled. In order to remove the chattering effect during the sliding phase, the convergence rate K was reduced in a small vicinity of the sliding hyperplane, using the saturation function.
Figure 1 presents the sliding variable. As we can see, the sliding hyperplane is reached monotonically and in finite time. Then, the quasi-sliding motion was preserved for the purpose of avoiding the chattering effect. This can be verified in
Figure 2, where the control signal is illustrated and is achieved by replacing the sign function with a saturation function in the vicinity of the sliding hyperplane. Moreover, from
Figure 2, we can see that the maximal possible value is used just for a brief period of time (for one millisecond). It is a consequence of rapidly driving the representative point onto the state constraint, for which (
14) is satisfied. This can be seen in
Figure 3, where the evolution of state combination
is depicted. We can observe that the state combination swiftly decreases from its maximal possible value. The reason for that is the use of the maximal possible control signal, which was described above, and the fact that (
14) is false for this constraint. Then, the motion similar to quasi-sliding motion is obtained along the limitation
. This is a result of the smooth transition between the convergence rates. The benefit of this approach is removing the chattering effect. Next,
Figure 4 presents the first state variable. Due to the fact that (
14) is true for
, the
is implemented. Thus, the representative point leaves the constraint
. Lastly,
Figure 5 depicts the evolution of the second state variable. In the beginning, the second state variable value increases from
to approximately 9 and then remains in the interval
, so the second state variable limitation holds for the whole regulation time.