A code to compute robust proportional-multiple-resonant (PMR) and current feedback controllers to ensure uninterruptible power supply (UPS) stability and performance, whose gains are tuned by means of regional pole placement with LMIs. Although inverter switching effects are not considered, the output plotted without a graphical environment facilitates learning and analysis of the resulting controller.
Consider a closed-loop in the form
being PMR a controller with transfer function
where
The control law shown can be rewritten as
where
Main file named as 'pmr_main.m'. Only the following specifications are required:
- Number of resonant structures in the controller (m)
- Damping factor of the resonant modes (xi)
- The desired real part of the smallest pole of the closed-loop system (sig)
Consider an example of a PMR design with m = 3, xi = 0, sig = 100, where the following output voltage response is obtained:
Considering a PMR design with m = 5, xi = 0, sig = 100, the following output voltage response is obtained:
Note how the steady-state output voltage perfectly follows the reference for linear load and can reject disturbances caused by the nonlinear load, depending on the number of resonant modes considered. Due to the robustness of the controller, similar performance is ensured over the entire load range, from no-load to nominal load conditions.
