How to develop a Closed loop current control for converter
39 views (last 30 days)
Show older comments
Santhosh
on 22 Oct 2025 at 15:41
Commented: Santhosh
on 29 Oct 2025 at 9:59
I have developed a Buck-Boost converter to charge a SuperCap from a source, in Buck mode and supply a load in Boost mode, I have created a voltage control loop, to maintain the Voltage level within the limit 2.7V.
I also need to include a current controller for maintaing the current to the reference value, (ex.10A)
I need support/guidance with this part.
6 Comments
Sam Chak
on 25 Oct 2025 at 15:47
Edited: Sam Chak
on 25 Oct 2025 at 15:48
Hi @Santhosh
Don't mention it. I am sharing my experience. If the math model is available and reliable, as published by reputable researchers in journal articles or educators in textbooks, I will construct the Simulink model according to the math equations or functions. This approach is identical to writing the math equations or functions along with a list of parameters in MATLAB code and executing them using the ode45() solver.
I am unsure how you constructed the Simscape electrical model. Try to disable any extraneous dynamics and nonlinearities by turning off saturation or nonlinear element options (if any) in the Simscape blocks to align with the simplifications of the math models. After that, you should validate and verify that the Simscape model accurately implements the established math models.
Accepted Answer
Sabin
on 27 Oct 2025 at 11:22
We usually control a DC-DC converter using a cascade control structure with inductor current control in the inner loop and capacitor voltage in the outer loop. You must start with the inductor current as the fastest loop. You can then use the transfer functions you provided to tune the controller or use the PID Autotuner from Simulink Control Design.
Some relevant examples to start with:
- Simscape Electrical Stand-Alone Solar PV AC Power System with Battery Backup example. Check the subsystem ‘SolarPVACWithBattery/PV Control/Constant Voltage’ for the cascade control structure of DC-DC converter.
- Simulink Control Design Tune PID Controller in Real Time Using Closed-Loop PID Autotuner Block example.
More Answers (0)
See Also
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

