Lab

H-Bridge from Four MOSFETs Driving a DC Motor

A 12 V H-bridge from two P-channel and two N-channel power MOSFETs drives a DC motor forward, in reverse and to a brake. Click its two switches and watch…

Preview of H-Bridge from Four MOSFETs Driving a DC Motor
Open in the lab Embed Run the circuit right here. To edit it in the full lab, sign in; free accounts have a time limit there.

Learn how a MOSFET switch works, with circuits you can try

Learn how diodes work, with circuits you can try

Teaching with circuits?

Create a classroom, give your students a circuit to build, and review what they submit. Try it free with one classroom and up to 5 students.

Try the free classroom demo

How it works

A full H-bridge: two P-channel MOSFETs on the high side and two N-channel MOSFETs on the low side, all on the Power preset (44 mΩ for the N-channel and 117 mΩ for the P-channel when on). The two gates of each leg are tied together and driven by one switch that connects them to 12 V or to ground, so a leg can never switch both of its transistors on at once. The default 12 V DC motor sits between the two legs, and a diode across each MOSFET (cathode to the supply side) catches the motor's current when a switch flips. The wires on the motor path are 14 AWG, because the motor draws about 5.8 A, more than the default 22 AWG wire carries.

It opens in forward, with the top-left and bottom-right MOSFETs on: about 9.9-10 V and 5.8-6.1 A reach the motor, which settles near 1,700 rpm. Click the left switch for brake (both motor terminals at ground), the right switch for reverse, the left switch again for the second brake (both at 12 V) and the right switch once more for forward. With NGSpice on, the lab runs half a second from rest, so the motor is still speeding up when the run ends and the battery current sits at the high end, about 6.1 A.

With the default Small signal MOSFET on all four positions the motor would get only about 2 V and stand still.

What's inside

  • 1× Battery
  • 4× Diode
  • 4× Transistor
  • 2× Switch
  • 1× DC Motor

Tags

About

By Samir Sabri
Saved November 28, 2026
0 views
Page: dcaclab.com/circuits/88239-h-bridge-from-four-mosfets-driving-a-dc-motor

Embed this circuit

<iframe src="https://dcaclab.com/experiments/88239-h-bridge-from-four-mosfets-driving-a-dc-motor/iframe" width="560" height="410" frameborder="0"></iframe>

Cite: Sabri, S. (2026). H-Bridge from Four MOSFETs Driving a DC Motor. DCACLab. https://dcaclab.com/circuits/88239-h-bridge-from-four-mosfets-driving-a-dc-motor

Related circuits