Sliding Mode Controller
R2026bHysteresis-based sliding mode control
Libraries:
Simscape /
Electrical /
Control /
General Control
Description
The Sliding Mode Controller block implements hysteresis-based sliding mode control (SMC).
The sliding mode controller has this structure.

In this controller, lambda is the value of the
Sliding factor parameter. To change the convergence speed of
the error to zero, specify a value greater than 0 for the
Sliding factor parameter.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"ee_sl_lib/General Control/Sliding Mode Controller"
Example: add_block("ee_sl_lib/General Control/Sliding Mode Controller","myModel/myBlock",MakeNameUnique="on")
