Need help with the boost converter simulink model (average model).
Show older comments
Hello ! I am trying to implement an MPPT and for that I need a boost converter. Since the average model works better I am using the average model boost converter with a P&O code, however when I use the P&O code, it decrements the duty cycle untill it is 0. However the same code works fine with the conventional self made converter (but response is slow).
Please provide feedback.

1 Comment
Rajya
on 16 Jun 2025
Hi can you send me the avegare model of boost converter
Answers (1)
Sebastian Castro
on 6 Jul 2017
1 vote
It could potentially be that switching from PWM to Average mode is messing with the sample rate of your P&O MATLAB Function block, as it could be inheriting sample times (the default setting).
Go to "Display > Sample Time > All" and see whether the sample rate of that block changes depending on which converter to use.
The best option is to explicitly set your P&O algorithm sample time by going to the block properties and choosing a Discrete sample time of your choice: https://www.mathworks.com/help/simulink/ug/matlab-function-block-editor.html#bqoe0f9
- Sebastian
Categories
Find more on Power and Energy Systems 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!