PWM - Inverse Output pins
Philldapill
Posts: 1,283
I'm trying to make a High-side/Low-side MOSFET board, but the MOSFET driver I'm using(UCC27201 from TI), takes two input pins for each MOSFET. These pin states need to be the inverse of one another, other wise, if both are high, both mosfets will turn on and a short will occur. This is for a synchronous rectification design, so when the high-side FET turns off, the low-side FET needs to be turned on immediately. I've tried making a simple BJT-resistor NOT gate, but my transistor is too slow upon turn-off. The result, is that the NOT signal is delayed, and the duty cycle is shortened. This won't work.
So, what I am trying now, is modifying the orignal PWM object in the obex, so that two pins are toggled, rather than just one. The first pin would act as normal, but the second pin would be the NOT of the first. How can this be done with timers? My assembly is rusty, so be easy, please.
So, what I am trying now, is modifying the orignal PWM object in the obex, so that two pins are toggled, rather than just one. The first pin would act as normal, but the second pin would be the NOT of the first. How can this be done with timers? My assembly is rusty, so be easy, please.
Comments
Is this correct?
EDIT: In other words, CTRA value would need to be·CTRAVal :=· %00101<<26 + PinB<<9 + PinA
Post Edited (Philldapill) : 1/22/2010 4:58:43 AM GMT
-Phil
If you want to free a pin up you could use a 4011 or a 4093 Nand chip also the 4093 is a schmitt trigger. I use these in some of my ac inverter projects i have been working on.
My circuit always actively drives the MOSFETs off and via cross-coupling drives the opposite MOSFET on (as long as it hasn't been driven off). So it can never have both MOSFETs on at the same time.
Anyway, the circuit works well and I even have a LTSpice circuit for it.
docs.google.com/View?docID=0AVS8dcreQOsuZGRncThrNGJfMWQ3ajRkMmZo&revision=_latest
EDIT: fixed url
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Post Edited (Peter Jakacki) : 5/27/2010 2:51:36 AM GMT