C Language Implementation for Proportional-Resonant Controller
1. Introduction to Proportional-Resonant Controller First, let’s see the transfer function of PR controller and its bode diagram:
$$ G_{PR}(s)=K_{p} + \frac{K_{r}s}{s^{2} + \omega_{r}^2} $$……