I'm in term of project using Arduino MEGA 2650 for generating PWM with digitalWrite() in single phase inverter for controlling rotation speed of my shallow well water pump motor. The schematic is below. 12V in the picture is the pulse that has been gained and isolated with opto-coupler.
Now, I am troubled with my inverter because the mosfets don't have same voltage in pin gate and source each other. The left-above and right-below mosfets have 12volts and have pulse. On the other hand, the others are zero volt. would you help me how to get the same voltage in each gate-source mosfet?
Thanks for help,