Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 7 months ago.
PWM H-Bridge Inverter
Hello all, I´m solving a problem how to use PWMouts for switching four MOSFETs on H-bridge to work like inverter. The load of H-bridge is tranformer (20kHz) and I want change its output voltage by changing PWM width. There is a problem of switching the diagonal pairs so quickly and not to short out the supply. I have no idea how to use any library for Motors or PWM o this site. I use 2 IR2112 to control the H-bridge so I need 4 signals, but 2 are of the same level at the moment. Thanks
1 Answer
11 years, 7 months ago.
The hardware of the LPC1768 can handle it, but the PWMOut library of mbed doesnt support it (and I dont know of another PWM lib here that does support it). It is on my todo list to make someday when I feel like it :P
Meanwhile however I would just search an H-bridge IC (you have them afaik both with integrated switching mosfets and ones where you have to use external mosfets). They are specifically made to not short the power supply and to switch fast.