implementing a two-loop PI controller for both current and voltage - buck converter

30 views (last 30 days)
I'm working on a project involving a DC-DC buck converter for a battery system in MATLAB Simulink. I need help implementing a two-loop PI controller for both current and voltage. Can someone guide me on how to set this up?
  1 Comment
Sam Chak
Sam Chak on 6 Jul 2024
If you have prior experience in control systems from your undergraduate engineering courses, constructing the model in Simulink should be a relatively straightforward task, potentially taking less than a minute. However, designing the double PID controllers may present an additional challenge if you are not familiar with the underlying "graph-to-gain" mathematical formulas.
Could you please provide the relevant formulas from your lecture notes on the Buck Converter? Having access to those materials would be helpful for Simulink/Simscape Expers to better understand the approach you are attempting to implement.

Sign in to comment.

Answers (1)

Sabin
Sabin on 5 Jun 2025
There are many relevant examples in Simscape Electrical to start with. Check out this bidirectional DC-DC converter current control that is charging a battery:
A simple voltage control example can be found here:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!