MC56F8006 - Phase shift PWM signals

Status
Not open for further replies.

unavezmasysale

Member level 2
Joined
Mar 24, 2014
Messages
49
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Visit site
Activity points
353
Hi,

I need to generate two PWM signals with the same duty cycle but with different phase shift, exactly 180°. The idea is to control the mosfets of the primary side of an inverter.
I´m working with a MC56F8006 of Freescale. Can anyone help me with this issue? Any similar experience with other microcontroller?

Thanks.
 

you can use a look-up table. it means a vector with members which all together construct a saw-tooth waveform. each time you want to compare saw-tooth and your reference signal pick one of the members. you need two saw-tooth waveforms. you simply can have these wave-forms by choosing appropriate members. for example suppose a period of your saw-tooth is 200 sample according to switching frequency. you start to construct first saw-tooth by picking member #1 and for second saw-tooth you have to start picking numbers from member #200.

Another way is using timer count-up and count-down. I am not experienced with the MCU you have mentioned. please read the datasheet for more information.

Good luck
 
Thanks guys!
I will try an application note of Freescale (AN3844) and if it doesn´t work I will try the solution you have given me.

Thanks again!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…