All paths

Design an H-bridge

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.

Free7 lessons6 h7 chapters1,841 XPElectrical · Advanced+250 XP

0 of 7 done

What you will build

0 projects, built step by step

7 lessons in 7 chapters, about 6 hours on a simulated breadboard. Free, in your browser, every step checked by the simulator.

The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

MOSFET choice

On-resistance, logic level and the current rating that matters.

  1. Open288 XP

    MOSFET choice

    One 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.

    0 of 6 steps

3 questions, graded as you go.
Chapter 2

Gate drive

A P-channel high side, a level shifter, and why bootstraps exist.

  1. Locked265 XP

    Gate drive

    A 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.

    0 of 6 steps

3 questions, graded as you go.
Chapter 3

Dead time

A gap where both switches are off, measured on an ammeter.

  1. Locked250 XP

    Dead time

    One 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.

    0 of 5 steps

3 questions, graded as you go.
Chapter 4

Shoot-through

Forward, reverse, and the short a current limit catches.

  1. Locked250 XP

    Shoot-through

    The 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.

    0 of 5 steps

3 questions, graded as you go.
Chapter 5

Current sensing

An ACS712: running current, start surge, sign and resolution.

  1. Locked212 XP

    Current sensing

    An 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.

    0 of 4 steps

3 questions, graded as you go.
Chapter 6

Braking

Coast, brake low, brake high and plugging, on the sensor.

  1. Locked250 XP

    Braking

    Three 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.

    0 of 5 steps

3 questions, graded as you go.
Chapter 7

Boss: a discrete motor driver

Wire the sensor, prove every state, fit your own motor.

  1. Locked326 XP

    Boss: a discrete motor driver

    Finish 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.

    0 of 7 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

MOSFET choice

  1. 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.
Chapter 2

Gate drive

  1. 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.
Chapter 3

Dead time

  1. 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.
Chapter 4

Shoot-through

  1. 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.
Chapter 5

Current sensing

  1. 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.
Chapter 6

Braking

  1. 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.
Chapter 7

Boss: a discrete motor driver

  1. 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.
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Design an H-bridge

Is Design an H-bridge free?

Yes. All 7 lessons of Design an H-bridge are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need any parts?

No. Every circuit is built on a simulated breadboard, and the simulator checks each step as you go. When you want to build it for real, the same parts and wiring work on a real bench.

How long does Design an H-bridge take?

About 6 hours: 7 lessons in 7 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

Where do I start?

With "MOSFET choice", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.