Drone ESC and Brushless Motor Controllers: How They Work

Drone ESC: how a brushless motor controller works, six-step commutation, DShot and losses
In this article

Cet article existe aussi en français. Lire en français →

A drone ESC (electronic speed controller), also called a brushless ESC, is a three-phase inverter that turns the battery’s DC into the rotating field of a brushless motor. Six MOSFETs, three per side, switch the motor’s three phases at tens of kilohertz; a microcontroller decides which phases to drive from the back-EMF of the motor itself, without position sensors; and the flight controller sends the throttle command over a digital line, DShot, that can carry the motor speed back. The same power stage is found in industrial drives and traction inverters. What makes the drone version particular is its environment: a few grams of copper and silicon, 20 to 60 A per motor, electrical frequencies above 5 kHz, and a flight controller that needs every motor to follow its command within a few milliseconds. This guide explains how it works from the power electronics side.

6MOSFETs per motor, in three half-bridges
29 µsper commutation step for a 1,950 KV, 14-pole motor at 25.2 V without load
26.7 µsto send one 16-bit DShot600 frame
≈ 7 Wof losses per motor at 40 A in a typical small ESC, from conduction mostly

In short

  • An ESC is a three-phase inverter: three half-bridges of MOSFETs fed from the battery through a bank of input capacitors.
  • Most multirotor ESCs use sensorless six-step (trapezoidal) commutation: two phases driven, the third floating, its back-EMF zero crossing timing the next step. Larger propulsion systems increasingly use FOC.
  • DShot sends a 16-bit frame (11-bit throttle, 1 telemetry bit, 4-bit checksum); bidirectional DShot returns the electrical RPM that the flight controller uses for its RPM notch filters.
  • The current rating is a thermal statement: conduction losses dominate, and they scale with the square of the current and the hot on-resistance.
  • The input capacitors carry a ripple current of the same order as half the motor current. The bulk capacitor at the power pads is part of the design, not an accessory.

What an ESC does

A brushless DC motor has its permanent magnets on the rotor (on most drone motors the bell that spins outside the stator) and three windings on the stator. To make it turn, the controller has to energize the windings in sequence, in step with the rotor position. A brushed motor does that mechanically with its commutator; the brushless motor needs electronics. The ESC therefore does three jobs: it switches the battery voltage onto the phases (power stage), it knows where the rotor is (sensing), and it controls how much voltage it applies (the throttle, turned into a PWM duty cycle).

Block diagram of a drone ESC: battery, input capacitors, three half-bridges, motor, MCU with back-EMF sensing and the DShot lineBattery3S to 12SInput capsbulk + ceramicsHigh ALow AHigh BLow BHigh CLow CThree half-bridges, six MOSFETsMotor12 or 14 poles3 phase wiresMCU + gate drivers6-step or FOC firmwareBack-EMF sensedividers + comparatorFlight controllerDShot, 1 wire per motorthrottleeRPM back
Inside a drone ESC: input capacitors, three half-bridges, the motor, back-EMF sensing, and the DShot line to the flight controller.

The power stage is the same three-phase bridge as in an industrial drive: each phase has a high-side and a low-side MOSFET forming a half-bridge. Small ESCs run from 3S to 6S lithium polymer packs (12.6 to 25.2 V fully charged), larger ones for heavy-lift multirotors go to 12S and beyond. A 4-in-1 ESC puts four such inverters, one per motor, on a single board stacked under the flight controller.

Six-step commutation without sensors

The classic drive is six-step, or trapezoidal, commutation. At any moment two phases conduct, one connected to the positive rail through its high-side switch and one to the negative rail through its low-side switch, while the third floats. Every 60 electrical degrees the controller moves to the next of six combinations, so each phase is high for 120°, floating for 60°, low for 120° and floating again for 60°. Speed is controlled by PWM on the driven switches: the duty cycle sets the average voltage across the motor.

Six-step commutation: each phase is high for 120 electrical degrees, floating for 60, low for 120, floating for 60; the zero crossing on the floating phase triggers the next step 30 degrees later0°60°120°180°240°300°360°Phase APhase BPhase CZero crossing of the back-EMF on the floating phase (dashed). The next commutation follows 30° later.
Six-step commutation over one electrical period. Each phase floats for 60°, and its back-EMF crosses the midpoint halfway through that window.

The floating phase is also the sensor. With no current in it, its terminal voltage is the back-EMF induced by the magnets passing by, and that back-EMF crosses the motor’s neutral point halfway through the 60° window. The firmware detects that zero crossing, usually with a comparator against a virtual neutral built from resistor dividers, and commutates 30 electrical degrees later. Firmwares add a configurable timing advance on top, because the winding inductance delays the current. At standstill there is no back-EMF to read, so the motor is started open-loop: the ESC forces a few commutations with a limited current until the back-EMF is large enough to lock on. A failed lock, or a lost one under a sudden throttle change, is a desync: the motor stutters or stops, which on a multirotor is a crash.

The electrical frequency is high. A 1,950 KV motor on a 25.2 V pack turns at up to 49,140 rpm without load. With 14 magnet poles, seven pole pairs, that is 5,733 Hz electrical, 34,400 commutations per second, one every 29 µs. At 48 kHz PWM there are only 1.4 PWM periods per commutation step at top speed, which is why drone firmwares offer 48 and 96 kHz and why zero-crossing detection has to be blanked around the switching edges.

f_e = (KV · V / 60) · p commutations/s = 6 · f_ef_e electrical frequency, KV in rpm per volt, V the applied voltage, p the number of pole pairs

Field-oriented control (FOC) is the alternative. It drives all three phases with sinusoidal currents, estimates the rotor angle with an observer, and controls the torque-producing current directly. It is quieter and more efficient at part load, and it is the norm on the larger propulsion systems of heavy multirotors, where efficiency and noise count for more than the fastest transient. Six-step remains common on small multirotors: it needs less computation per step, and the firmwares are mature.

DShot and RPM telemetry

The flight controller sends each motor’s command on its own signal wire. The old analog protocols encoded throttle as a pulse width (PWM, Oneshot, Multishot); DShot replaced them with a digital frame of 16 bits: an 11-bit throttle value (0 to 2047), one bit requesting telemetry, and a 4-bit checksum. Values below 48 are reserved for commands, 0 means disarmed. The number after DShot is the bit rate in kbit/s:

ProtocolBit rateBit timeFrame (16 bits)
DShot150150 kbit/s6.67 µs106.7 µs
DShot300300 kbit/s3.33 µs53.3 µs
DShot600600 kbit/s1.67 µs26.7 µs
DShot timing. A bit is a pulse whose width encodes 0 or 1: 625 ns or 1,250 ns at DShot600.

Bidirectional DShot inverts the signal and, after each command, lets the ESC answer on the same wire with the motor’s electrical RPM, encoded in GCR. The flight controller divides eRPM by the number of pole pairs to get mechanical RPM, and centres notch filters on each motor’s rotation frequency and its harmonics, three per motor by default in Betaflight. That is why the motor pole count must be set correctly: 14 poles on most 5-inch motors, 12 on many smaller ones. A wrong value puts the notches about 14 % away from the noise.

The firmware landscape changed in 2024. BLHeli_32, the closed-source firmware of most 32-bit ESCs, was discontinued when its developer stopped development and licensing. The open-source alternatives are Bluejay for BLHeli_S hardware (DShot 150, 300 and 600, bidirectional DShot, selectable PWM of 24, 48 and 96 kHz) and AM32 for 32-bit ARM ESCs, now the main target for new designs.

Losses, current rating and cooling

The current rating on an ESC is a thermal statement. In six-step drive, the motor current flows through one high-side and one low-side MOSFET in series, so conduction loss is I²·2·R_DS(on) at the hot on-resistance. Switching adds a term proportional to frequency, and the body diodes conduct during the dead time. For one motor at 40 A on 25 V, with 2 mΩ per switch hot, 30 ns of combined rise and fall time, 100 ns dead time and 0.8 V diode drop:

PWM frequencyConductionSwitchingDead timePer motor4-in-1 board
24 kHz6.4 W0.36 W0.15 W6.9 W27.7 W
48 kHz6.4 W0.72 W0.31 W7.4 W29.7 W
96 kHz6.4 W1.44 W0.61 W8.5 W33.8 W
Estimated MOSFET losses at 40 A and 25 V. Conduction dominates; doubling the PWM frequency costs about 1 W per motor here.

Thirty watts on a board a few centimetres square survives because the propeller wash cools it and full throttle lasts seconds. The same ESC run at 40 A continuously on a bench, without airflow, overheats. Read a datasheet’s continuous and burst ratings with that in mind, and size for the hot on-resistance, which on a MOSFET can be 1.5 times the 25 °C value or more. The DC-DC power stage designer uses the same switch-by-switch loss model, and the thermal management guide covers the heat path.

Input capacitors and voltage spikes

The battery current reaches the bridge through leads of a few centimetres, which have inductance, while the bridge draws a pulsed current at the PWM frequency. The input capacitors supply the pulse. Their ripple current is of the same order as in a buck converter, I·√(D·(1−D)): 20 A rms per motor at 40 A and 50 % duty. Ceramic capacitors next to the MOSFETs take the fast edges; a low-ESR electrolytic soldered at the power pads damps the resonance between the lead inductance and the ceramics and absorbs the energy returned when the motors brake actively. Without it the bus rings above the MOSFET rating at every hard throttle change. That is why many ESCs ship with the electrolytic in the box.

Active braking, called damped light or complementary PWM in the firmwares, switches the low-side MOSFET during the off-time instead of letting the body diode conduct. It lowers the dead-time loss and lets the ESC decelerate the propeller quickly, which sharpens the response of the flight controller. The price is energy flowing back into the bus, which the battery and the bulk capacitor have to absorb. Dead time itself is set to avoid shoot-through between the two MOSFETs of a leg (gate driver guide). The gate driver calculator gives the minimum dead time from the switching delays and the diode loss it costs.

Protections and what fails

  • Current. A shunt or the MOSFET voltage drop measures the current; firmware limits it, reports it over telemetry, and stops on overcurrent.
  • Temperature. A sensor on the board triggers derating before the MOSFETs or the solder reach their limits.
  • Low voltage. Cutoff or throttle reduction protects the cells, but on a multirotor a sudden cut is itself a hazard, so most flight stacks handle it in the flight controller.
  • Desync and stall. Detected from missing zero crossings; the firmware restarts the motor or stops it.
  • Typical failures. A shorted MOSFET after a desync with full current, a cracked ceramic capacitor from board flex, overvoltage spikes without a bulk capacitor, and connector or solder joint fatigue from vibration.

Six-step or FOC: how to choose

CriterionSix-step (trapezoidal)FOC (sinusoidal)
Phases drivenTwo at a time, third floatingAll three, sinusoidal currents
Position sensingBack-EMF zero crossing on the floating phaseObserver from measured currents and voltages
ComputationLow, one decision per stepHigher, current loop every PWM period
Torque ripple and noiseHigher, commutation steps audibleLower
Efficiency at part loadGoodBetter
Typical useSmall multirotors, racing and freestyleHeavy-lift and long-endurance multirotors, larger propulsion units
The two drive methods side by side.

FAQ

What does an ESC do on a drone?

It converts the battery’s DC into three-phase AC for a brushless motor, switching six MOSFETs in step with the rotor position, and it sets the motor speed from the flight controller’s throttle command.

What is the difference between BLHeli_S, BLHeli_32, Bluejay and AM32?

They are ESC firmwares. BLHeli_S runs on 8-bit ESCs and is open source; Bluejay is its open-source successor. BLHeli_32 ran on 32-bit ESCs, was closed source, and was discontinued in 2024. AM32 is the open-source firmware for 32-bit ESCs that replaced it.

What is DShot?

A digital protocol between flight controller and ESC: 16-bit frames with an 11-bit throttle value, a telemetry request bit and a 4-bit checksum, sent at 150, 300 or 600 kbit/s. Bidirectional DShot lets the ESC send back the motor’s electrical RPM on the same wire.

How many amps should a drone ESC be rated for?

Above the motor’s peak current at full throttle with the chosen propeller and battery, with margin for heat. The rating assumes airflow and short bursts; conduction losses rise with the square of the current, so a small margin disappears quickly at high temperature.

Why does an ESC need a capacitor?

The bridge draws pulsed current at the PWM frequency through inductive battery leads. The capacitor supplies the ripple, about half the motor current in rms at 50 % duty, and absorbs the voltage spikes and the braking energy that would otherwise exceed the MOSFET rating.

Is a drone ESC sensorless?

Almost always. Six-step ESCs read the back-EMF of the floating phase; FOC ESCs estimate the rotor angle with an observer. Hall sensors are rare on multirotor motors.

Sources

Learn it live

This topic is covered in depth, with industrial case studies, in the Industrial power electronics program. Join the waitlist to hear first when it opens — or browse the 64 free guides in the meantime.

Mohamed Yasser El Mekadem, Technical Leader in battery systems and power electronics

Written by

Mohamed Yasser El Mekadem

Technical Leader on a 1500 V rail traction battery. Eight years in onboard railway energy: power converters, HIL validation, battery systems.

Waitlist

Learn this live, with industrial case studies.

Three programs — power electronics, battery systems & BMS, HIL validation. Join the list to hear first when one opens.

One email when a program opens. Unsubscribe in one click. Privacy policy.

Keep reading

Related articles

Drone batteries: LiPo vs Li-ion, specific energy, flight time and BMS
Batteries & BMS

Drone Batteries: LiPo vs Li-Ion, Wh/kg, C-Rate and BMS

A drone battery is the heaviest component in the aircraft and the one that sets its endurance. LiPo against Li-ion, the Wh/kg of real packs and cells, how flight time depends on battery mass, what C-rate a mission actually needs, and what the BMS of a flight battery does differently.

Read the article →