Yuyao Hongyang Micromotor Co., Ltd. Home / News / Industry News / How a BLDC Motor Controller Works: Commutation, PWM, and Practical Tuning

How a BLDC Motor Controller Works: Commutation, PWM, and Practical Tuning

Yuyao Hongyang Micromotor Co., Ltd. 2026.09.30
Yuyao Hongyang Micromotor Co., Ltd. Industry News

If you have ever asked how a BLDC motor controller works, you are not alone. In our decades of manufacturing micro motors, we have seen many well-designed motors fail in the field simply because the controller was not given enough attention. A brushless DC motor is a team player: the rotor, stator, sensors and electronics each need to work in the same rhythm, and the controller is the one that keeps the beat.

What Does a BLDC Motor Controller Actually Do?

A BLDC motor has permanent magnets on the rotor and a set of coils on the stator. Unlike a brushed motor, there is no mechanical commutator to switch current. The controller has to perform that job electronically, and it has to do it at exactly the right moment relative to rotor position.

In simple terms, the controller creates a rotating magnetic field. It does this with a DC-to-three-phase inverter, rotor-position detection, electronic commutation, regulation, and fault protection. Together these functions determine the timing and sequence of current pulses sent to the stator windings. That timing is the essence of how a BLDC motor controller works.

Hall Sensors and Six-Step Commutation

The most straightforward way to know where the rotor is pointing is to use Hall sensors. These small magnetic switches are mounted in the motor and produce a logic signal when the rotor magnet passes them. Three Hall sensors divide one electrical revolution into six sectors.

Six-step commutation, also called trapezoidal control, is the classic control method. In each step, the controller energises two of the three phases: one pulled high, one pulled low, and the third left open. Every 60 electrical degrees, the controller advances to the next sector based on the Hall sensor pattern.

Typical Hall sensor states used by a six-step BLDC controller.
Hall state (A, B, C) Sector Phases conducting
001 1 A+ / B-
011 2 A+ / C-
010 3 B+ / C-
110 4 B+ / A-
100 5 C+ / A-
101 6 C+ / B-

This simple table is a practical reminder: once you understand the electronic commutation step, most wiring and startup problems become easier to diagnose.

Sensorless Back-EMF Control

Hall sensors add cost and require extra wires, so many controllers use sensorless control. The motor itself generates a back-EMF voltage when the rotor spins. The controller measures the zero crossing of this back-EMF in the unexcited phase to work out where the rotor is.

The zero crossing is normally not the commutation instant. In six-step control, the controller waits about 30 electrical degrees after the zero crossing and then commutates. The exact angle can be tuned for better efficiency or higher torque.

Sensorless control has one well-known limitation: at zero speed, there is no back-EMF. The controller must first align the rotor with a fixed voltage pulse, then ramp the motor up with timed or open-loop commutation until the back-EMF is strong enough to read. For loads that need full torque from standstill, a Hall-sensor version is often the better choice.

PWM, Dead Time, and Current Control

Commutation tells the controller which phase to connect, but pulse-width modulation tells it how much voltage to apply. By chopping the DC bus voltage at a fixed frequency and varying the duty cycle, the controller changes the average voltage seen by the winding.

PWM does not directly set speed. It sets the driving voltage, and the motor speed together with the load determines the final operating point. This is why a BLDC controller also monitors current. If the load increases, the current rises, and a good controller limits it before the windings overheat.

One detail that matters especially at high PWM frequencies is dead time. The high-side and low-side switches in the same inverter branch must never conduct at the same instant. The controller inserts a short blanking interval between switching events to prevent shoot-through current.

Control Loops in a Modern BLDC Controller

In a complete drive, the controller usually runs several nested loops.

  • The current or torque loop is the innermost loop. It measures phase current and adjusts PWM duty cycle to follow a torque command.
  • The speed loop compares the measured speed with the target speed and outputs the torque reference.
  • The position loop is used in servo applications such as industrial robots. It gives the speed loop a position error to correct.
  • The startup loop handles alignment, open-loop ramping, and the transition to closed-loop sensorless operation.

These loops share one goal: keep the stator field and the rotor field working together so the motor produces smooth, efficient torque.

Sinusoidal Control and Field-Oriented Control

Six-step control is simple and inexpensive, but it creates torque ripple and noise because the current is switched abruptly. Two smoother alternatives deserve attention.

Sinusoidal control gradually varies the phase voltages, making the stator current more sinusoidal. Field-oriented control, sometimes called FOC, goes further: it transforms the three-phase currents into two components, one related to torque and one related to flux, and controls them independently. FOC gives very smooth low-speed operation, quiet acoustics, and fast dynamic response.

For many electric fans and pump applications, six-step is still acceptable. But when noise or efficiency matters, a higher-performance controller strategy can make a stronger difference than any change in the motor itself.

Matching the Controller to Your Motor

Even a perfect control algorithm will fail if hardware limits are wrong. Here are the main parameters to check:

  • Rated voltage and the controller's maximum operating voltage.
  • Continuous and peak current ratings, including stall current.
  • Phase resistance and inductance, which affect how quickly current can build.
  • Hall sensor alignment for sensor-based control.
  • PWM frequency and dead time, especially for low-inductance motors.
  • Protection features such as overcurrent, over-temperature, and under-voltage shut-off.

In our experience, selecting the motor and controller as a matched set saves weeks of debugging. A motor designed for one controller type may behave very differently with another.

Practical Testing and Troubleshooting

When a BLDC motor twitches, overheats, or loses synchronisation, the fault is often in the controller setup rather than the motor. A short test routine helps.

  1. Measure DC resistance between each pair of motor leads. The three readings should be roughly balanced.
  2. Rotate the rotor slowly and record the Hall sensor sequence. It must match the expected six-sector pattern.
  3. Watch the phase current with an oscilloscope and a current probe. Check for a clean trapezoidal or sinusoidal waveform.
  4. Run the motor unloaded and then under load. The controller should hold speed without excessive current.

If the motor twitches and fails to start, check the Hall wiring and the startup ramp. If it loses synchronisation under load, look for a sagging supply voltage or an incorrect timing advance. If it runs hot, reduce the current limit, adjust the PWM frequency, or improve cooling.

From Our Workshop to Your Product

After more than 30 years of making micro motors, we have learned that controller behaviour is part of motor design. A controller must be chosen with the same care as the wire gauge, magnet grade, and bearing system. When you combine a well-wound motor with a properly tuned electronic controller, you get a product that feels reliable and runs quietly.

One good example is our compact brushless motor for drone applications. It pairs naturally with a sensorless controller that can handle rapid commutation and tight current limits. The motor and the controller have to communicate electrically, and we make sure that connection is as simple as possible.

If you are designing a pump, fan, robot, or tool, remember that the controller is the brain of the system. Understanding how a BLDC motor controller works will help you ask the right questions, choose the right motor, and bring a more dependable product to market.

News