Building H-Bridge with MOSFETs - P-Channel question

kimmjoe:
My Idea was to turn on the High side and apply PWM to the other to avoid that.

Yes, that is a common method.

kimmjoe:
Ao you're saying i should rather do it like I drew it on O3 rather than how I drew it on Q4?

No, like Q4. The mosfet is off when Vgs is near zero. Many have threshold voltages as low as 1.4V so your opto on Q3 has to work hard in saturation mode to get its voltage that low.

The opto on Q4 is off to turn the mosfet off. The resistor will (eventually) discharge the gate capacitor to zero volts.

You should test the voltages on these drivers before hooking up the mosfets. I expect that either arrangement will work unless the optos are using an internal Darlington topology or something weird.