The idea

A robot’s energy almost never arrives in the form its motors need. Power electronics converts it: AC to DC, one DC voltage to another, DC to AC for motors. This page is the map; the Week 3 guides fill in each piece.

The four conversions

ConversionCircuitExample in a robot
AC → DCRectifierThe charger plugged into the wall (Bridge rectifiers)
DC → DCBuck (down) or boost (up) converter48 V battery to 5 V logic (DC-DC converters)
DC → ACInverterDriving a brushless motor (Motor drives)
AC → ACFrequency converterRare in robotics

The components

ComponentWhat it does
ResistorLimits current, turns energy into heat
CapacitorStores energy in an electric field; smooths voltage
InductorStores energy in a magnetic field; smooths current
TransformerSteps AC voltage up or down, and isolates
DiodeOne-way valve for current
BJT, MOSFET, IGBTElectronic switches (Power switches)

A MOSFET as a low-side switch

The most common way a microcontroller switches a motor on and off:

 +V ──── motor ──── Drain
                   MOSFET   Gate ──R_G── microcontroller pin
 0 V ─────────────  Source      └─R_PD── 0 V
  • Main loop: battery + → motor → drain → source → ground. The switch is on the ground side, so it’s a low-side switch.
  • Gate resistor : limits the current spike that charges the gate.
  • Pull-down : holds the gate low so the motor stays off if the control pin floats, at power-up or if a wire comes loose.
  • Common ground: the controller’s ground must connect to the power ground, because the MOSFET responds to gate voltage relative to its source.
  • Flyback diode across the motor: when the switch turns off, the motor’s inductance tries to keep current flowing. The diode gives it a path, instead of a voltage spike that would kill the MOSFET.

Check yourself