This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

digital control

Hi,

I am a F28335 DSP user and I try to implement a current mode control of the DC voltage bus of a phase shift full bridge converters. My problem is about the control of the current. I have set all the code to read output value, the PI controller work fine but when I try to verify the output current by making a short circuit of the load, the output is not able to reach the reference point of my PI controller. A second problem is how to fix the min and max of the controller, I know the duty cycle must between 0-50%, it's possible that the problem come from the scaling measure value or the reference setting.

Thanks

PS: as my DSP is floating, I don't use IQ library and I use a up-down counter for my PWM. Here I have attached my source code