TMS320F28335: CLOSED LOOP OF BUCK CONVERTER IS NOT WORKING DUE TO PID CONTRLLLER BLOCK IS NOT WORKING PROPERLY IN MATLAB SIMULINK

2 vues (au cours des 30 derniers jours)
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).

Réponses (0)

Produits


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by