where is the Euclidean norm (i.e., is the distance away from the sliding manifold where ). For the system given by Equation (1) and the sliding surface given by Equation (2), a sufficient condition for the existence of a sliding mode is that
To ensure that the sliding mode is attained in finite time, must be more strongly bounded away from zero. That is, if it vanishes too quickly, the attraction to the sliding mode will only be asymptotic. To ensure that the sliding mode is entered in finite time,[7]
where is the upper right-hand derivative of and the symbol denotes proportionality. So, by comparison to the curve which is represented by differential equation with initial condition , it must be the case that for all t. Moreover, because , must reach in finite time, which means that V must reach (i.e., the system enters the sliding mode) in finite time.[5] Because is proportional to the Euclidean norm of the switching function , this result implies that the rate of approach to the sliding mode must be firmly bounded away from zero.
In the context of sliding mode control, this condition means that
where is the Euclidean norm. For the case when switching function is scalar valued, the sufficient condition becomes
.
Taking , the scalar sufficient condition becomes
which is equivalent to the condition that
.
That is, the system should always be moving toward the switching surface , and its speed toward the switching surface should have a non-zero lower bound. So, even though may become vanishingly small as approaches the surface, must always be bounded firmly away from zero. To ensure this condition, sliding mode controllers are discontinuous across the manifold; they switch from one non-zero value to another as trajectories cross the manifold.
For the system given by Equation (1) and sliding surface given by Equation (2), the subspace for which the surface is reachable is given by
That is, when initial conditions come entirely from this space, the Lyapunov function candidate is a Lyapunov function and trajectories are sure to move toward the sliding mode surface where . Moreover, if the reachability conditions from Theorem 1 are satisfied, the sliding mode will enter the region where is more strongly bounded away from zero in finite time. Hence, the sliding mode will be attained in finite time.
be nonsingular. That is, the system has a kind of controllability that ensures that there is always a control that can move a trajectory to move closer to the sliding mode. Then, once the sliding mode where is achieved, the system will stay on that sliding mode. Along sliding mode trajectories, is constant, and so sliding mode trajectories are described by the differential equation
.
If an -equilibrium is stable with respect to this differential equation, then the system will slide along the sliding mode surface toward the equilibrium.
The equivalent control law on the sliding mode can be found by solving
for the equivalent control law . That is,
and so the equivalent control
That is, even though the actual control is not continuous, the rapid switching across the sliding mode where forces the system to act as if it were driven by this continuous control.
Likewise, the system trajectories on the sliding mode behave as if
The resulting system matches the sliding mode differential equation
and so as long as the sliding mode surface where is stable (in the sense of Lyapunov), the trajectory conditions from the reaching phase now reduce to the above derived simpler condition. Hence, the system can be assumed to follow the simpler condition after some initial transient during the period while the system finds the sliding mode. The same motion is approximately maintained when the equality only approximately holds.
It follows from these theorems that the sliding motion is invariant (i.e., insensitive) to sufficiently small disturbances entering the system through the control channel. That is, as long as the control is large enough to ensure that and is uniformly bounded away from zero, the sliding mode will be maintained as if there was no disturbance. The invariance property of sliding mode control to certain disturbances and model uncertainties is its most attractive feature; it is strongly robust.
As discussed in an example below, a sliding mode control law can keep the constraint
in order to asymptotically stabilize any system of the form
when has a finite upper bound. In this case, the sliding mode is where
(i.e., where ). That is, when the system is constrained this way, it behaves like a simple stablelinear system, and so it has a globally exponentially stable equilibrium at the origin.
Consider a plant described by Equation (1) with single input u (i.e., ). The switching function is picked to be the linear combination
(4)
where the weight for all . The sliding surface is the simplex where . When trajectories are forced to slide along this surface,
and so
which is a reduced-order system (i.e., the new system is of order because the system is constrained to this -dimensional sliding mode simplex). This surface may have favorable properties (e.g., when the plant dynamics are forced to slide along this surface, they move toward the origin ). Taking the derivative of the Lyapunov function in Equation (3), we have
Hence, the product because it is the product of a negative and a positive number. Note that
(5)
The control law is chosen so that
where
is some control (e.g., possibly extreme, like "on" or "forward") that ensures Equation (5) (i.e., ) is negative at
is some control (e.g., possibly extreme, like "off" or "reverse") that ensures Equation (5) (i.e., ) is positive at
The resulting trajectory should move toward the sliding surface where . Because real systems have delay, sliding mode trajectories often chatter back and forth along this sliding surface (i.e., the true trajectory may not smoothly follow , but it will always return to the sliding mode after leaving it).
Assuming that the system trajectories are forced to move so that , then
So once the system reaches the sliding mode, the system's 2-dimensional dynamics behave like this 1-dimensional system, which has a globally exponentially stable equilibrium at .
Although various theories exist for sliding mode control system design, there is a lack of a highly effective design methodology due to practical difficulties encountered in analytical and numerical methods. A reusable computing paradigm such as a genetic algorithm can, however, be utilized to transform a 'unsolvable problem' of optimal design into a practically solvable 'non-deterministic polynomial problem'. This results in computer-automated designs for sliding model control. [8]
Sliding mode control can be used in the design of state observers. These non-linear high-gain observers have the ability to bring coordinates of the estimator error dynamics to zero in finite time. Additionally, switched-mode observers have attractive measurement noise resilience that is similar to a Kalman filter.[9][10] For simplicity, the example here uses a traditional sliding mode modification of a Luenberger observer for an LTI system. In these sliding mode observers, the order of the observer dynamics are reduced by one when the system enters the sliding mode. In this particular example, the estimator error for a single estimated state is brought to zero in finite time, and after that time the other estimator errors decay exponentially to zero. However, as first described by Drakunov,[11] a sliding mode observer for non-linear systems can be built that brings the estimation error for all estimated states to zero in a finite (and arbitrarily small) time.
Here, consider the LTI system
where state vector , is a vector of inputs, and output y is a scalar equal to the first state of the state vector. Let
where
is a scalar representing the influence of the first state on itself,
is a column vector representing the influence of the other states on the first state,
is a matrix representing the influence of the other states on themselves, and
is a row vector corresponding to the influence of the first state on the other states.
The goal is to design a high-gain state observer that estimates the state vector using only information from the measurement . Hence, let the vector be the estimates of the n states. The observer takes the form
where is a nonlinear function of the error between estimated state and the output , and is an observer gain vector that serves a similar purpose as in the typical linear Luenberger observer. Likewise, let
where is a column vector. Additionally, let be the state estimator error. That is, . The error dynamics are then
where is the estimator error for the first state estimate. The nonlinear control law v can be designed to enforce the sliding manifold
so that estimate tracks the real state after some finite time (i.e., ). Hence, the sliding mode control switching function
To attain the sliding manifold, and must always have opposite signs (i.e., for essentially all ). However,
where is the collection of the estimator errors for all of the unmeasured states. To ensure that , let
where
That is, positive constant M must be greater than a scaled version of the maximum possible estimator errors for the system (i.e., the initial errors, which are assumed to be bounded so that M can be picked large enough; al). If M is sufficiently large, it can be assumed that the system achieves (i.e., ). Because is constant (i.e., 0) along this manifold, as well. Hence, the discontinuous control may be replaced with the equivalent continuous control where
So
This equivalent control represents the contribution from the other states to the trajectory of the output state . In particular, the row acts like an output vector for the error subsystem
So, to ensure the estimator error for the unmeasured states converges to zero, the vector must be chosen so that the matrix is Hurwitz (i.e., the real part of each of its eigenvalues must be negative). Hence, provided that it is observable, this system can be stabilized in exactly the same way as a typical linear state observer when is viewed as the output matrix (i.e., "C"). That is, the equivalent control provides measurement information about the unmeasured states that can continually move their estimates asymptotically closer to them. Meanwhile, the discontinuous control forces the estimate of the measured state to have zero error in finite time. Additionally, white zero-mean symmetric measurement noise (e.g., Gaussian noise) only affects the switching frequency of the control v, and hence the noise will have little effect on the equivalent sliding mode control . Hence, the sliding mode observer has Kalman filter–like features.[10]
The final version of the observer is thus
where
and
That is, by augmenting the control vector with the switching function , the sliding mode observer can be implemented as an LTI system. That is, the discontinuous signal is viewed as a control input to the 2-input LTI system.
For simplicity, this example assumes that the sliding mode observer has access to a measurement of a single state (i.e., output ). However, a similar procedure can be used to design a sliding mode observer for a vector of weighted combinations of states (i.e., when output uses a generic matrix C). In each case, the sliding mode will be the manifold where the estimated output follows the measured output with zero error (i.e., the manifold where ).
Bang–bang control – Sliding mode control is often implemented as a bang–bang control. In some cases, such control is necessary for optimality.
H-bridge – A topology that combines four switches forming the four legs of an "H". Can be used to drive a motor (or other electrical device) forward or backward when only a single supply is available. Often used in actuator in sliding-mode controlled systems.
Switching amplifier – Uses switching-mode control to drive continuous outputs
Delta-sigma modulation – Another (feedback) method of encoding a continuous range of values in a signal that rapidly switches between two states (i.e., a kind of specialized sliding-mode control)
^Utkin, Vadim I. (1993). “Sliding Mode Control Design Principles and Applications to Electric Drives”. IEEE Transactions on Industrial Electronics (IEEE) 40 (1): 23–36. doi:10.1109/41.184818.
Edwards, Cristopher; Fossas Colet, Enric; Fridman, Leonid, eds (2006). Advances in Variable Structure and Sliding Mode Control. Lecture Notes in Control and Information Sciences. vol 334. Berlin: Springer-Verlag. ISBN978-3-540-32800-1
Edwards, C.; Spurgeon, S. (1998). Sliding Mode Control: Theory and Applications. London: Taylor and Francis. ISBN0-7484-0601-8