Hope that you have read my earlier post about power inverter design that design was traditional design and every thing was done on analog basis like generating triangular waves, comparing with DC offset via a comparator and finally generating PWM.
It is advisable to read first about triggering a single mosfet with microcontroller than going for a full bridge.
But suddenly you realize that you are living in modern era where microcontrollers can do a lot of things. I also found in built PWM generator mode of AVR microcontroller and reduced a lot of hardware.
So what I did is configured AVR microcontroller in fast PWM mode and generated all the gate pulses from microcontroller itself.
Triggering mosfets with avre for inverter design |
One thing to remember here is AS I HAVE SHOWN SEPARATE POWER SUPPLIES FOR ALL OPTO-COUPLERS YOU HAVE TO USE THEM IN ACTUAL CIRCUIT ALSO OTHERWISE THE INVERTER WILL NOT WORK PROPERLY.
And one more thing to remember when actually designing inverter from this circuit is that in Proteus you have a common ground but in actual life Ground Concept is a bit difficult.. so you have to connect ground of respective power supply to source of respected MOSFET.(because we always have to supply Gate pulse with respect to source)
you can download proteus isis simulation file from HERE.
Correction:
those who have seen circuit before please note the value of resistors r4,r5,r10,r9 there was a typo the value is 220 ohms instead of 560 ohms written before.