Sliding mode regulator

| Vectorized |
in the palette on the schematic

The block implements the mathematical model of a discrete sliding mode regulator based on hysteresis.

The block is a submodel, the structural diagram of which as part of the closed-loop system is shown in the figure (Figure 1):

Рисунок 1. Structural diagram of a closed-loop system with a sliding mode regulator.

Sliding mode based control is based on the principle of switching between two modes for nonlinear systems. The regulator includes blocks that define a sliding surface that represents the required stable dynamics and a control law that ensures the mode of reaching the sliding surface and the sliding mode.

The block implements the most common sliding surface defined by the following expression:

where e – the error signal, Δe⁄Δt– the derivative of the error.

A homogeneous differential equation having a single solution is obtained when s = 0. Thus the error will reach zero with an appropriate control law that keeps the trajectory on the sliding surface. A relay with hysteresis is used as the control law. Thus, the output signal of the controller, is selected from two possible actions Y1 and Y2, the lower and upper values of the function, respectively.

Input ports

Output ports

Properties

Parameters

None