What is a BLDC driver?
A BLDC driver (also called an ESC — electronic speed controller — or FOC controller) is the electronic interface between the power supply and a BLDC motor. Without a driver, a BLDC motor cannot run: because there are no brushes (no commutator), the driver must electronically switch current through the three stator windings (phases U, V, W) in the correct sequence.
Controller vs driver — what's the difference?
| Term | Role | Examples |
|---|---|---|
| Controller | Generates motion commands (position, speed, torque setpoints) | PLC, microcontroller, motion controller card |
| Driver | Converts commands into switching signals + high-current motor output | ESC, FOC driver, servo drive |
Think of the controller as the brain and the driver as the muscle. In some systems the two are integrated into one unit (e.g. an intelligent servo drive); in others they are separate.
Wiring fundamentals
① Power wiring — DC+ and GND
The driver's power terminals connect directly to the DC supply. The key rules:
- Voltage: must match the driver specification. Common: 12 V, 24 V, 36 V, 48 V. Connecting the wrong voltage damages the driver immediately.
- Wire gauge: use wire rated for at least 125% of the maximum current. Undersized wire overheats and is a fire risk.
- Capacitor:add a large electrolytic capacitor near the driver's power terminals (e.g. 100–1000 µF, rated at least 1.5× the bus voltage). It absorbs voltage spikes during motor braking.
- Fuse: always fuse the positive supply line. Fuse rating = 1.5–2× the continuous motor current.
- Polarity: double-check before powering on. Reversed polarity destroys most drivers instantly.
② Motor phase wiring — U / V / W
The three motor phase wires (usually marked U, V, W or A, B, C) connect to the corresponding driver output terminals. The rules:
- Connecting U→U, V→V, W→W gives the correct rotation direction (always confirm against the motor's wiring diagram).
- Phase wires carry high-frequency switching current. Keep them as short as possible and route them away from signal wiring.
- Twist the three phase wires together to reduce radiated EMI.
- Wrong phase order = the motor spins backwards — a direction issue, not damage; swap any two phase wires to fix it.
③ Hall sensor wiring — 5V, GND, Ha / Hb / Hc
Most BLDC motors with Hall sensors have a 5-pin Hall connector:
| Wire color (typical) | Signal | Connects to |
|---|---|---|
| Red | 5 V supply | Driver Hall VCC (5 V output) |
| Black | GND | Driver Hall GND (common ground) |
| Yellow | Hall A (Ha) | Driver Hall A input |
| Green | Hall B (Hb) | Driver Hall B input |
| Blue | Hall C (Hc) | Driver Hall C input |
Important: Hall sensors need a 5 V supply from the driver (or a separate 5 V regulator). Never connect the Hall supply to the motor bus voltage. Most drivers provide a dedicated 5 V output for this purpose.
If the motor runs roughly or makes a clicking noise, the Hall phase order may be wrong — try swapping the Ha and Hb connections.
④ Encoder wiring (optional / high precision)
Some BLDC systems use an incremental encoder instead of (or in addition to) Hall sensors for higher position accuracy. Typical connections:
| Signal | Description | Driver terminal |
|---|---|---|
| VCC | Encoder supply (5 V or 12 V) | ENC+ (check the encoder datasheet) |
| GND | Ground | ENC GND |
| A (CH1) | Quadrature channel A | ENC A |
| B (CH2) | Quadrature channel B | ENC B |
| Z (index) | 1 pulse per revolution | ENC Z (optional) |
Use shielded twisted-pair cable for encoder wiring. Ground the shield at one end only (the driver end) to avoid ground loops.
How PWM control works
Duty cycle (%) = speed command
PWM (pulse-width modulation) is the most common way to send a speed command to a BLDC driver. The driver reads the duty cycle of the PWM signal and converts it into a motor speed setpoint:
10% duty → about 10% of maximum speed 50% duty → about 50% of maximum speed 90% duty → about 90% of maximum speed (the exact mapping depends on the driver configuration)
The PWM signal itself is a fixed-frequency digital on/off signal. The driver's microcontroller reads the ratio of on-time to the full period.
Choosing the frequency
The PWM input signal frequency (not to be confused with the driver's internal switching frequency) is typically:
| Frequency | Use case | Notes |
|---|---|---|
| 50 Hz | RC hobby ESCs | Legacy standard, 1–2 ms pulse width |
| 1–5 kHz | Industrial analog-style PWM | Common on industrial BLDC drivers |
| 20 kHz | General industrial default | Good noise immunity, above the audible range |
| > 20 kHz | High-performance servo | Requires driver support |
Check the supported PWM input frequency range in the driver datasheet. When in doubt, use 20 kHz as the default starting point.
Analog vs digital speed commands
| Method | Signal type | Pros | Cons |
|---|---|---|---|
| PWM | 5 V square wave, variable duty | Simple, widely supported, noise-tolerant | Needs calibration, limited resolution |
| Analog voltage (0–5 V or 0–10 V) | DC voltage | Smooth, simple potentiometer control | Noise-prone over long cable runs |
| RS-485 / Modbus | Digital serial | High precision, bidirectional data | Communication setup required |
| CAN bus | Differential digital | Multi-device, high reliability | Complex integration |
For beginners, PWM or 0–5 V analog is the simplest starting point. In industrial automation with a PLC, RS-485 (Modbus RTU) is the most common.
Setup sequence, in practice
- Verify the power supply— before connecting anything, check the supply voltage with a multimeter. Confirm it matches the driver's input specification.
- Connect the motor phases — wire U/V/W. Do not power on yet.
- Connect the Hall sensors — 5V, GND, Ha, Hb, Hc from motor to driver. Confirm 5 V on the Hall VCC pin with a multimeter.
- Check direction — power on at minimum speed. If the motor spins the wrong way, swap any two phase wires (U↔V, V↔W, or U↔W). Repeat until the direction is correct.
- PWM/analog speed input — set up the speed command source (PWM signal or analog voltage). Start at 10% duty / minimum voltage. Increase gradually, confirming the motor responds smoothly.
- Set acceleration/deceleration — configure the accel/decel ramp times in the driver parameters. Ramps that are too short cause voltage spikes and current surges. Start at 1–3 seconds and tune.
Always perform the first power-on with no load on the motor shaft. Confirm correct behavior before attaching any mechanical load.
Troubleshooting
The motor doesn't turn
- Check the enable signal — most drivers need an explicit enable pin (ENA, EN or similar) pulled HIGH to activate.
- Confirm the PWM/analog input is above the driver's minimum threshold (check the deadband parameter).
- Confirm the Hall sensors are powered and wired correctly — incorrect Hall wiring is the most common cause.
- Check the driver's fault LED or fault output signal.
The direction is reversed
- Swap any two of the three motor phase wires (U↔V, V↔W, or U↔W).
- Some drivers have a direction pin (DIR) or a direction-invert parameter — check the driver documentation.
Vibration or abnormal noise
- Hall sensor phase-order mismatch — try swapping Ha and Hb.
- PWM frequency too low — raise it to 20 kHz.
- Mechanical issues — a loose coupling, shaft misalignment, or insufficient bearing preload.
- A current limit set too low, causing the motor to stall intermittently.
Overheating
- Reduce the load or the duty cycle.
- Confirm the current limit is set correctly — exceeding the motor's rated current causes rapid overheating.
- Ensure adequate ventilation around the driver and the motor.
- Confirm the motor stays within its rated temperature class (commonly class B: 130°C or class F: 155°C).
Five safety rules
- Always verify polarity before powering on. Reverse-polarity DC destroys the driver instantly — unrecoverable.
- Test with no load first. Always run 30 seconds at minimum speed with no load before attaching any mechanical load.
- Set the current limit before operating.Set the driver's motor current limit (A) to the motor's rated current — never leave an unclear factory default in place.
- Provide adequate heat dissipation. Mount the driver on a metal plate or heatsink. Continuous high-current operation needs fan cooling.
- A common ground connection is essential. Tie all grounds (controller GND, driver GND, power supply GND) to one common point. A floating ground causes erratic behavior and damaged signal inputs.