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.

TMS320F28335: Closed-loop control of inverter by using TMS320F28835 (Frequency is being half in comparison to reference frequency)

Part Number: TMS320F28335


Hello All,

It's urgent.

I am Gaurav,

I am trying to implement closed-loop current control of a single phase SPWM inverter by using PI and PR controller. I am using DSP kit TMS320F28335 and Matlab 2016 for the implementation of same. I am taking reference current signal inside the Matlab. To get the 50 Hz output current, I have to give 100 Hz for reference current signal. Hence, I am getting the half frequency at the output terminal as compared to the reference signal. Although PI controller is working fine and it is tracking the reference current value. I am not understanding, why is it happening?

I am attaching a picture of my Matlab model with this post.   

Please help me out. 

Thanks in advance