Implement discrete PI controller with anti-windup and reset functionality
Motor Control Blockset / Controls / Controllers
The Discrete PI Controller with anti-windup and reset block performs discrete-time PI controller computation using the error signal and proportional and integral gain inputs. The error signal is the difference between the reference signal and the measured feedback. The block outputs a weighted sum of the input error signal and the integral of the input error signal.
You can tune the Discrete PI Controller coefficients (Kp and Ki) either manually or automatically. Automatic tuning requires Simulink® Control Design™ software.
The block also supports anti-windup functionality, which makes the block output to comply with the register size of the processor. You can reset the integrator to the initial condition (y0).
We recommend that you use fixed-step discrete solver for this block to enable code generation and ensure accurate simulation.
ACIM Control Reference | Discrete PI Controller | DQ Limiter | MTPA Control Reference | Park Transform | Speed Measurement