Simulink Buck Converter Current Mode Control
18 views (last 30 days)
Show older comments
Matthew Wighton
on 4 Jun 2019
Answered: Joel Van Sickel
on 18 Aug 2020
I am trying to simulate a buck converter in Simulink. I want it to be controlled using current mode control. My model does not regulate to the correct voltage and I need some help. Additionally, I am unable to produce coefficients from the PID tuner that allow my system to have a good dynamic load response. (I have a feeling this is becuase there is something wrong with my model.)
My end goal is to use the PID block to tune the system response and then generate code that will then be uploaded to hardware.
1 Comment
Arvind Sathyanarayanan
on 4 Jun 2019
Edited: Arvind Sathyanarayanan
on 4 Jun 2019
Matthew, you can you save this model in 2017b so I can take a look at it? It can be done by File->Export to previous version.
Accepted Answer
Joel Van Sickel
on 18 Aug 2020
Hello Matthew,
the first issue is how the PWM is generated. You are using a simulink based PWM generator as well as a simscape based PWM generator. You can delete the simulink based PWM generator and pass your duty cycle directly into the simscape block. You can always test your model with a constant .5 duty cycle to make sure it is doing what you expect before closing the loop. Have you tried that and was it working?
Regards,
Joel
0 Comments
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning 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!