Need help with the boost converter simulink model (average model).
6 views (last 30 days)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165819/image.jpeg)
0 Comments
Answers (1)
Sebastian Castro
on 6 Jul 2017
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
2 Comments
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!