cancel
Showing results for 
Search instead for 
Did you mean: 

Phase shifted pwm using stm32f103

MAbba.8
Associate II

I am trying to build a current fed push pull DC DC converter. This requires two waveforms with duty cycle greater than 50% and phase difference of 180 dergrees.

I would like to know the possible ways of achieving this. I have tried using output toggle option but that doesn't seem to work. Any suggestions and help will be highly appreciated.​

4 REPLIES 4

Hi,

Timer 1 , 8 can be used in PWM out mode with complementary ouputs and also dead time insertion.

RM page 291

Thanks for the help. I will try this and get back to you.

I have seen what you referred to. That is the complementary waveform used to derive half bridge converters.

What I am trying to do is: two triangular waveforms0690X000006Df6KQAS.png0690X000006Df6FQAS.png out of phase with each other by 180 degrees are compared by the same duty cycle. I have attached circuit diagram for clarity. This results in two square waves that overlap each other. Kindly see the figures attached and advise me how to generate this using timers in stm32f103.

Graham1904
Associate II

Did you ever get a solution for this as it is exactly what I want to do.....?