PR Controller

This demonstrates the advantage of PR controller over PI controller for controlling periodic parameter.

You are now following this Submission

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)

Cite As

Rodney Tan (2026). PR Controller (https://se.mathworks.com/matlabcentral/fileexchange/119348-pr-controller), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0