← All calculatorsCalculator

BLDC Commutation Timing Calculator

Work out the timing of a six-step (trapezoidal) BLDC drive at a given speed: electrical frequency, how long each commutation step lasts, how many PWM periods fit in one, how far a fixed sensing latency shifts the commutation, and how much bus voltage the back-EMF leaves.

Motor

Operating point

Controller

Pole pairs = magnet poles on the rotor / 2. Kv is taken as rpm per volt of line-line peak back-EMF; datasheets vary on that, so treat back-EMF figures as ±15%. Latency covers hall filtering, the interrupt and the time until the new PWM pattern loads.

Quantity / checkValueNote

Commutation table

Hall state → driven phases, forward rotation

Hall codes depend on how the sensors are mounted and named; this table uses halls placed at the commutation points, 30° after each back-EMF zero crossing. The open phase is the one whose back-EMF is crossing zero, which is also where sensorless six-step reads it.

fe = (rpm / 60) · p  ·  tstep = 1 / (6 fe)  ·  hall edges per mechanical turn = 6 p
PWM periods per step = fPWM · tstep  ·  timing error θlat = 360° · fe · tlat
back-EMF (line-line peak) E = rpm / Kv  ·  no-load speed ≈ Kv · Vbus  ·  Kt ≈ 60 / (2π Kv) ≈ 9.55 / Kv N·m/A

Where the numbers bite

PWM periods per step. Within a commutation step the current is regulated by PWM. With fewer than about ten PWM periods per step, the current ripple and the phase of the PWM against the commutation instant start to matter, and at two or three the step is effectively unregulated. High-pole-count motors at speed hit this first.

Latency becomes an angle. A fixed delay between a hall edge and the new switching pattern costs 360°·fe·t electrical degrees. Commutating late lets the outgoing phase's back-EMF fall and adds torque ripple. Drives running fast often add a speed-proportional advance to cancel it.

Back-EMF headroom sets top speed. The bridge can only push current while the bus exceeds the line-line back-EMF plus the I·R drop. As E approaches Vbus, current and torque fall. The no-load speed is roughly Kv·Vbus, and the usable speed under load is lower.

References