TMS320F28335: CLOSED LOOP OF BUCK CONVERTER IS NOT WORKING DUE TO PID CONTRLLLER BLOCK IS NOT WORKING PROPERLY IN MATLAB SIMULINK
1 次查看(过去 30 天)
显示 更早的评论
Hello Mathworks Team,
I am designing a buck converter within the closed-loop system with the help of the TMS320F28335 Microcontroller in the platform of Matlab SIMULINK
When I run the buck converter in the open-loop system, it's perfectly working fine, EPwm generating by f28335 about 20khz.but my output voltage is not coming proper.
our ratings are 24-volt input, 12-volt dc output,20khz switching frequency.
Now the problem is coming when I am running this system in closed-loop, so for closed-loop, I am using PID controller block of Simulink type,
when I am running the Simulink model without DSP it's working fine, I have Tuned a P and I values in discrete form.
But when I am trying to implement into hardware basis connecting ADC block for measuring output voltgae and feeding into the microcontroller and then use some gain values and summer block to get a difference of error concerning the reference point (constant block).
When I am trying to run a model and put the code into DSP, the problem occurred in the PID block it always goes to saturation point(0.95). therefore my controller becomes sluggish.
Does Anyone help me on this where I am doing wrong?
In this picture , i am not running the block at that moment ,it is in not in simulation mode.
But yes when i run the model or dump the code into dsp ,the problem will come into PID block as a value of 0.95 (saturation value). ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/662255/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/662255/image.png)
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!