LQR-Control for Buck-Converter
Version 1.0.0 (95.9 KB) by
Haseeb
Linear-Quadratic controller where you adjust the weights and solve the algebriac ricatti equation.
This is a very basic LQR-controller for the Buck converter. Due to the control input being only duty cycle in case of Buck topology . we can control either Voltage state or current state. In this file the full design is given along with some open code to solve the ricatti equation manually.
I have decided to control the voltage loop using the duty . but we can change the y matrix to [1 0] by having it control the current. This would act as a fast inner loop in the normal buck converter control methodology. Then we can close the outer loop with a PI controller .
Thank you
Cite As
Haseeb (2025). LQR-Control for Buck-Converter (https://uk.mathworks.com/matlabcentral/fileexchange/181543-lqr-control-for-buck-converter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
