Main Content

General Control​

Controllers, filters, compensators, delays, detectors

Develop control algorithms for electronic, mechatronic, and power systems using discrete and continuous controllers, filters, and function blocks.

Blocks

expand all

Discrete PI ControllerDiscrete-time PI controller with external anti-windup input
Discrete PI Controller with Integral Anti-WindupDiscrete-time PI control with integral anti-windup
Model Reference Adaptive ControllerDiscrete-time PID-based model reference adaptive control
RST ControllerPredictive control using a polynomial representation
Sliding Mode ControllerHysteresis-based sliding mode control
Smith Predictor ControllerDiscrete-time Smith dead-time compensator
State-Feedback ControllerDiscrete-time state-feedback controller with integral action
Low-Pass Filter (Discrete or Continuous)Discrete-time or continuous-time low-pass filter
Second-Order FilterDiscrete-time or continuous-time low-pass, high-pass, band-pass, or band-stop second-order filter
Second-Order Low-Pass Filter (Discrete or Continuous)Discrete-time or continuous-time second-order low-pass filter
Variable-Frequency Second-Order FilterDiscrete-time or continuous-time variable-frequency second-order filter
Washout (Discrete or Continuous)Discrete-time or continuous-time washout or high-pass filter
Change DetectorBoolean signal change detector
CounterDiscrete- or continuous-time counter
Filtered Derivative (Discrete or Continuous)Discrete-time or continuous-time filtered derivative
Fourier AnalysisDiscrete or continuous time Fourier analysis
Integrator (Discrete or Continuous)Discrete-time or continuous-time integrator
Integrator with Wrapped State (Discrete or Continuous)Discrete-time or continuous-time integrator with wrapped state
Lead-Lag (Discrete or Continuous)Discrete-time or continuous-time lead-lag compensator
Monostable Flip-FlopRaising edge, falling edge, either edge monostable flip-flop
Moving AverageMoving average-value computation
Moving Average (Variable Frequency)Variable frequency moving average-value computation (Since R2020a)
On-Off DelayBoolean-signal delay
Serial-In Parallel-Out Shift RegisterDiscrete-time serial-in, parallel-out shift register
Set-Reset Flip-FlopSet-reset flip-flop or bistable multivibrator
Signal Sample and HoldDiscrete-time or Continuous-time sample and hold input signal
Programmable Signal Generator (Three-Phase)Discrete-time or continuous-time three-phase sinusoidal signal generator with programmable magnitude, phase, frequency, and overlapping harmonics (Since R2020a)
Sine Wave Generator (Three-Phase)Discrete-time or continuous-time three-phase sine wave generator (Since R2020a)
Stair GeneratorDiscrete-time or continuous-time stair signal generator (Since R2020a)