Electronic – arduino – Mosfet H-Bridge Design Question

arduinoh-bridgemosfetresistorstransistors

I have a few questions regarding an H-Bridge design that I like. I am having a little hard time understanding some parts of it.

So this is the design that I found online here.
enter image description here

I changed the motor voltage and the resistor values to the transistors from 10k to 3.3k. So the questions I have are

1) Are the 10k pullup resistors too high for the P-Channel Mosfets? Should they be lower?

2) For the N-Channel Mosfets, why is the 9V voltage going to a 10k resistor then a transistor to ground? Can't I switch the N-Channel side with something like this? enter image description here

3) Are the resistor values going to make switching slow for the N-Channel Mosfets?

I plan on running the H-Bridge using an arduino. The N-Channel Mosfets are FQP30N06L and P-Channel Mosfets are FQP27P06. I plan on using the 2N2222a transistor.

Are there any problems with this design that I am missing or misunderstanding or should everything work as expected? Thank you.

Also when connecting the ground of the 9V source do I connect the ground of the arduino to the ground of the mosfets and transistors? Ground is always the same everywhere, correct?

Best Answer

It was on the Internet, it must be good?! The high value resisters make the drive only suitable for low frequencies and small high on resistance mosfets. Lowering resister values will help this somewhat but it will waste more power. Turning a mosfet on fast and off slow is a recipe for shoot through unless you are really careful. The P-Chanel drive circuit should be changed. The second diagram will be more unreliable than the first.