Version 1.0.0 (37.8 KB) by Rodney Tan
This demonstrates the advantage of PR controller over PI controller for controlling periodic parameter.
Updated 21 Oct 2022
This block implements a continuous Proportional Resonant controller using transfer function kr*s / s^2+(2*pi*f)^2
It allows user to set the proportional gain (kp), resonant gain (kr) and resonant frequency in (Hz).
Developed by Rodney Tan
Version 1.0 (Oct 2022)
Rodney Tan (2023). PR Controller (https://www.mathworks.com/matlabcentral/fileexchange/119348-pr-controller), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.