Design an H-bridge lesson plan
Build the motor driver a chip hides from four discrete MOSFETs: choose the parts, drive the high-side gates, set dead time, survive shoot-through, sense the current and brake. Ends with a working driver you characterize.
Objectives and materials
By the end, students can
- On-resistance, logic level and the current rating that matters.
- A P-channel high side, a level shifter, and why bootstraps exist.
- A gap where both switches are off, measured on an ammeter.
- Forward, reverse, and the short a current limit catches.
- An ACS712: running current, start surge, sign and resolution.
- Coast, brake low, brake high and plugging, on the sensor.
- Wire the sensor, prove every state, fit your own motor.
Materials for the whole unit
- Bench power supply
- Current sensor, ACS712
- DC motor
- Function generator
- MOSFET x 4
- Multimeter
- Op-amp x 2
- Oscilloscope
- Potentiometer x 2
- Resistor x 8
- Slide switch x 4
- Transistor (NPN or PNP) x 2
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
MOSFET choice
On-resistance, logic level and the current rating that matters.
| Lesson | Time | What students do |
|---|---|---|
| MOSFET choiceOne N-channel MOSFET switching a 12 V motor from a logic pin. Read its on-resistance off a meter, and see why "logic level" and the current rating decide the part, not the price. | 55 min |
|
Materials
- Bench power supply
- DC motor
- MOSFET
- Multimeter
- Resistor x 2
- Slide switch
Check for understanding
Each student finishes "MOSFET choice" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Too small for the job".
Gate drive
A P-channel high side, a level shifter, and why bootstraps exist.
| Lesson | Time | What students do |
|---|---|---|
| Gate driveA P-channel MOSFET on the high side will not turn off from a 5 V pin. Find out why from its gate voltage, fix it with an NPN level shifter, and see why N-channel high sides need a bootstrap. | 55 min |
|
Materials
- Bench power supply
- DC motor
- MOSFET
- Multimeter
- Resistor x 2
- Slide switch
- Transistor (NPN or PNP)
Check for understanding
Each student finishes "Gate drive" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "N-channel high sides and gate drivers".
Dead time
A gap where both switches are off, measured on an ammeter.
| Lesson | Time | What students do |
|---|---|---|
| Dead timeOne leg of an H-bridge switched by two comparators on a triangle wave. Open a gap where both MOSFETs are off and the supply current is only the load's; close it and watch the leg start burning current for nothing. | 45 min |
|
Materials
- Bench power supply
- Function generator
- MOSFET x 2
- Multimeter
- Op-amp x 2
- Oscilloscope
- Potentiometer x 2
- Resistor x 2
Check for understanding
Each student finishes "Dead time" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Set it right".
Shoot-through
Forward, reverse, and the short a current limit catches.
| Lesson | Time | What students do |
|---|---|---|
| Shoot-throughThe whole bridge: four MOSFETs, four gate switches. Forward, reverse, and the one combination that shorts the supply, caught here by the bench supply's current limit. | 45 min |
|
Materials
- Bench power supply
- Current sensor, ACS712
- DC motor
- MOSFET x 4
- Resistor x 8
- Slide switch x 4
- Transistor (NPN or PNP) x 2
Check for understanding
Each student finishes "Shoot-through" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Limit it, then prevent it".
Current sensing
An ACS712: running current, start surge, sign and resolution.
| Lesson | Time | What students do |
|---|---|---|
| Current sensingAn ACS712 Hall-effect sensor in the motor lead: the running current, the surge at every start, the sign that says which way it flows, and a bigger motor that would trip a real driver's limit. | 40 min |
|
Materials
- Bench power supply
- Current sensor, ACS712
- DC motor
- MOSFET x 4
- Resistor x 8
- Slide switch x 4
- Transistor (NPN or PNP) x 2
Check for understanding
Each student finishes "Current sensing" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Resolution".
Braking
Coast, brake low, brake high and plugging, on the sensor.
| Lesson | Time | What students do |
|---|---|---|
| BrakingThree ways to stop a spinning motor: let it coast, short it through the low sides or the high sides, or plug it into reverse. The current sensor shows the motor turning into a generator. | 45 min |
|
Materials
- Bench power supply
- Current sensor, ACS712
- DC motor
- MOSFET x 4
- Resistor x 8
- Slide switch x 4
- Transistor (NPN or PNP) x 2
Check for understanding
Each student finishes "Braking" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Where the energy goes".
Boss: a discrete motor driver
Wire the sensor, prove every state, fit your own motor.
| Lesson | Time | What students do |
|---|---|---|
| Boss: a discrete motor driverFinish a discrete H-bridge: wire in its current sensor, prove forward, reverse and braking against the readings, show the current limit catching a shoot-through, then fit your own motor and characterize it. | 65 min |
|
Materials
- Bench power supply
- Current sensor, ACS712
- DC motor
- MOSFET x 4
- Resistor x 8
- Slide switch x 4
- Transistor (NPN or PNP) x 2
Check for understanding
Each student finishes "Boss: a discrete motor driver" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours: your own motor".
Teach this unit as a class
Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.