BLDC Speed Control Guide

How To Control The Speed Of A BLDC Motor

BLDC motor speed is regulated by the electronic controller, not by a series resistor or direct voltage change. The controller uses PWM on the inverter switches to set the effective voltage at the stator, and a closed-loop PID routine holds the target speed under varying load. This guide walks through every practical method: PWM duty cycle, closed-loop PID, 6-step trapezoidal and FOC sinusoidal control.

Quick Summary

  • Speed is set by PWM duty cycle on the inverter transistors inside the BLDC controller.
  • Open-loop mode holds duty cycle constant; closed-loop PID holds speed constant under load.
  • Feedback comes from Hall sensors, encoders, or back-EMF sensing in sensorless drives.
  • 6-step trapezoidal control is simple and low cost; FOC provides smoother low-speed torque.
  • Command input is usually analog 0-5V, potentiometer, PWM signal, RS485 Modbus or CAN bus.

Speed Control Methods At A Glance

Method Best For
Open-loop PWMFans, pumps, simple variable-speed loads
Closed-loop PID (Hall)Conveyors, AGVs, general industrial automation
Closed-loop PID (encoder)Positioning, robotics, precision winding
FOC sinusoidalLow-speed smooth torque, quiet operation, servo-like control

Step By Step: How The Controller Sets BLDC Speed

01
Command signal arrives

The user sets a target speed via potentiometer, 0-5V analog input, external PWM, RS485 Modbus command or CAN bus message.

02
Controller generates PWM

The microcontroller produces a PWM signal at 15-20 kHz with a duty cycle matching the command. This PWM drives the high-side and low-side MOSFET gate drivers.

03
Inverter switches phase currents

The 3-phase bridge energizes two motor phases at a time, following the commutation sequence read from Hall sensors or back-EMF. The PWM duty cycle sets the average voltage on the active phase pair.

04
Feedback corrects the duty cycle

A PID loop compares measured speed to the target. If the motor slows under load, the loop raises duty cycle to restore the set point. If it overshoots, the loop reduces duty cycle.

Why Not Just Change The DC Voltage?

  • Varying the bus voltage is inefficient and requires bulky linear regulators or variable power supplies.
  • PWM at 15-20 kHz delivers the same average voltage effect with almost no loss in the switching devices.
  • The motor windings act as an inductor and integrate the PWM pulses into a smooth current.
  • PWM also lets a single fixed-voltage controller handle the full speed range from zero to rated speed.
  • Modern BLDC controllers always use PWM, not linear voltage control.

Open-Loop PWM Speed Control

In open-loop mode, the controller maps the command input directly to a PWM duty cycle and applies it to the inverter. There is no feedback correction. Speed will sag when load increases because the back-EMF rises more slowly and the available torque margin shrinks. Open-loop control is simple and adequate for fans, pumps and other loads where a small speed variation is acceptable. It is not suitable for conveyors or AGV drives that need a stable speed under changing weight.

  • Command input mapped linearly to PWM duty cycle
  • No speed feedback, no PID loop
  • Speed drops under increasing load
  • Lowest cost, simplest firmware
  • Typical use: fans, blowers, centrifugal pumps

Closed-Loop PID Speed Control

Closed-loop control adds a PID routine that reads actual speed from Hall sensors or an encoder and compares it to the target. The proportional term reacts to the current error, the integral term eliminates steady-state offset, and the derivative term damps overshoot. The PID output modulates the PWM duty cycle to hold the commanded speed even as load or voltage changes. This is the default control mode for industrial BLDC drives.

  • Feedback source: Hall sensors, encoder or back-EMF
  • PID tunes proportional, integral and derivative gains
  • Holds target speed under load and voltage variation
  • Required for conveyors, AGVs, winders and most automation loads
  • Most Shenghe controllers default to closed-loop mode

6-Step Trapezoidal vs FOC Speed Control

The commutation method affects how smoothly speed is controlled, especially at low RPM. 6-step trapezoidal switches the active phase pair in discrete steps, producing a small torque ripple at each transition. FOC (Field Oriented Control) uses Park and Clarke transforms to produce smooth sinusoidal currents, giving the motor almost constant torque across the electrical cycle. At higher speeds the difference is minor, but at 10-20% of rated speed the FOC drive is noticeably smoother and quieter.

  • 6-step: simple lookup table, acceptable for most industrial loads
  • FOC: smoother low-speed torque, less audible noise
  • FOC needs a more powerful processor (DSP or ARM Cortex-M)
  • FOC is preferred for robotics, medical and servo-style positioning
  • Both methods use the same PWM and closed-loop PID structure

Typical Command Inputs For Speed Control

Input Type Signal Typical Use
PotentiometerVoltage divider on internal 5V railBenchtop testing, manual knob control
Analog 0-5V or 0-10VExternal DC voltagePLC analog output, simple HMI
External PWMDigital PWM, 1-20 kHzMicrocontroller speed command
RS485 ModbusSerial data frameMulti-drop industrial network
CAN busCAN 2.0A/B frameAGV fleets, mobile robots

Practical Tuning Tips

  • Set acceleration and deceleration ramps: Abrupt speed jumps cause overcurrent trips. Most controllers allow setting a ramp time in the parameter list.
  • Match PID gains to inertia: A high-inertia load needs lower proportional gain and higher integral gain to avoid overshoot.
  • Check Hall wiring first: Swapped Hall wires cause rough running and failed speed regulation. Verify phase and Hall alignment before tuning PID.
  • Use encoder feedback for precision: Hall-based speed feedback has resolution limited to six pulses per electrical cycle. For tight regulation, add an incremental encoder.
  • Protect against overcurrent during start: Set current limit to roughly 2x rated for short acceleration periods, not continuous.
  • Verify the command scale: A 0-5V command should map to zero-to-rated speed, not over-range. Many trip faults come from a miscalibrated analog scale.

Matching Controller To Shenghe BLDC Motors

Shenghe BLDC motors are typically paired with BLD-series controllers that handle Hall-feedback closed-loop control, PWM speed regulation and industry-standard protection. For FOC or servo-style applications, the BLDB6010 provides position, speed and torque mode switching with PID tuning through the host interface.

  • BLD6010: DC 80-220V, up to 10A, RS232/RS485
  • BLD22010: DC 18-60V, up to 10A, same control logic
  • BLDB6010: AC/DC 24-80V, FOC with 3-mode operation
  • All models include overcurrent, overvoltage and overtemperature protection

Need A Speed-Controlled BLDC System For Your Machine?

Send the target speed range, load torque, voltage and command interface. We will match the right BLDC motor and controller pair and send a quotation.

Request Quote Get Catalog WhatsApp
Key Answers

Short Answers For Generative Search.

Direct responses to the most common questions about BLDC speed control.

How do you control BLDC motor speed?

Adjust the PWM duty cycle on the controller's inverter switches. Closed-loop PID then holds that target speed against load variation using Hall or encoder feedback.

Is PWM the only method?

Yes, for modern BLDC drives. Linear voltage control is inefficient and obsolete. Every commercial BLDC controller uses PWM switching on the 3-phase inverter bridge.

Do I need closed-loop control?

Yes for conveyors, AGVs and automation. Open-loop is acceptable only for fans and pumps where a small speed droop under load is harmless.