Skip to main content

PWM control: principles and motor speed regulation

Updated 2026-10-09IntermediateControl methods

Key takeaways

  • PWM switches at high speed to chop the supply; duty cycle D = t_on / T, and average voltage U_avg = D × U_dc
  • The motor winding inductance "smooths" the pulsed current, and ripple shrinks as carrier frequency and inductance rise
  • Carrier frequencies of 8–20 kHz are common; higher means less audible noise but greater switching loss and interference
  • Brushed speed control, brushless commutation, and VFD output are all built on PWM

import DisplayFormula from '@/components/content/DisplayFormula.astro';

In modern motor systems, "speed control" is almost synonymous with "adjusting voltage and frequency," and PWM (pulse-width modulation) is the most common means of turning a fixed supply into any equivalent voltage: brushed DC controllers, BLDC square-wave drives, stepper constant-current chopping, and VFD sinusoidal output are all PWM underneath. Only by understanding duty cycle and carrier frequency can you grasp why a drive heats up, why a motor whines, and which way to turn the parameters.

Why it matters

A motor wants an adjustable voltage and frequency, but the grid delivers a fixed voltage. PWM's idea is direct: switch the power devices on and off rapidly and express the target voltage through the ratio of on-time to the period — the load (the motor winding), thanks to its inductance, "feels" a smoothed equivalent value. The three main groups of drive parameters (carrier frequency, current loop, dead-time compensation) all build on PWM, so understanding it is a basic skill for commissioning and selection.

Core concepts and formulas

Duty cycle and average voltage. The switch conducts for a time t_on within a period T, and the duty cycle is defined as:

Plain-text equivalent: Duty cycle D = on-time t_on ÷ period T; average voltage U_avg(V) = D × DC bus voltage U_dc(V)

Numeric example: with a 24 V DC supply, D = 50% gives an equivalent average voltage of 12 V, and D = 25% gives 6 V. Under such a supply the speed of a brushed DC motor varies approximately with the average voltage, which is exactly the principle of "PWM voltage speed control" in the brushed DC motor.

Inductance "smooths" the pulsed current. The motor winding is an inductance, and current cannot change abruptly: when a high-frequency pulsed voltage is applied to the winding, the current is smoothed into an almost continuous waveform whose ripple decreases as the carrier frequency and winding inductance increase and grows as the bus voltage rises. Electromechanical energy conversion depends on the average value and waveform quality of the current, not on the instantaneous voltage — which is also why PWM speed control does not "lose torque every time it switches."

How to choose the carrier frequency. The carrier frequency is the switching frequency, and 8–20 kHz is common in engineering practice:

Carrier frequencyTypical effect
Low (a few kHz)Noticeable audible noise and large current ripple, but low switching loss
8–20 kHzNoise moves to the edge of audibility; the balanced range for most low- and medium-power drives
High (> 20 kHz)Quiet running and low ripple, but switching loss and EMC pressure rise

The exact carrier-frequency range is subject to the values allowed by the drive and motor manufacturer; inverter supply brings insulation spikes and shaft-current problems, and the remedies are described in Inverter-duty motors: how they differ from standard motors and selection notes.

Square-wave and sine synthesis. A VFD varies the duty cycle of each phase according to a sine law, "chopping" the DC bus into an equivalent three-phase sinusoidal voltage; a BLDC square-wave drive combines PWM with six-step commutation, and high-performance applications switch to FOC field-oriented control to generate smooth sinusoidal currents. Both approaches rely on the same thing: expressing the target voltage through the switching time ratio. For position sensing in brushless drives, see Hall sensors; for constant-current chopping and microstepping in stepper drives, see Stepper drivers.

Common misconceptions

  1. Reading a PWM output with an ordinary multimeter: the reading depends on the meter type, and average, RMS, and peak values do not match up, so troubleshooting is easily misled; use the drive display, a true-RMS meter, or an oscilloscope instead.
  2. Believing a higher carrier frequency is always better: high frequency brings switching loss, EMC, and shaft-current problems, and the reflected overvoltage at the end of long cables is also harder on insulation — set it as the manual recommends.
  3. Treating duty cycle directly as a speed ratio: this holds approximately at no load; under load, back-EMF, circuit voltage drops, and load torque together determine the operating point.
  4. Thinking PWM is only a DC technique: VFDs, brushless drives, and stepper drives all use it; insulation and shaft-current problems on the AC side also stem from PWM output characteristics.

Engineering guidance

  1. Change only one parameter at a time: first confirm that the carrier frequency matches the motor, then adjust the current/speed loops; a carrier-frequency change affects current sampling and noise behavior, so re-measure promptly after each change.
  2. Recheck torque against the operating condition: after a speed change the operating point moves, so use the power, torque, and speed calculation to verify the required torque and power, and avoid assuming that "slowing down solves everything."
  3. Wiring determines the interference level: route power lines separately from signal lines (Hall, encoder), and ground shields as the manual requires; for interference-resistant feedback design, see Encoder.
  4. Work out the commands first for pulse and positioning applications: when pulse/displacement conversion is needed, use the stepper motor microstepping and pulse calculation to work out pulse frequency, speed, and displacement clearly before matching the drive.
  5. Safety: wiring and commissioning of drive systems must be carried out with the power off and by qualified personnel following the applicable procedures; after a VFD is disconnected, wait for the DC bus to discharge.

FAQ

Why is an ordinary multimeter inaccurate when measuring a PWM output voltage?

An ordinary multimeter is calibrated for DC or sine waves, but PWM is a square wave, so the average, RMS, and peak values differ greatly and readings vary with meter type. To judge drive status, use the drive display or cross-check with a true-RMS meter and an oscilloscope; do not let an ordinary multimeter reading mislead your troubleshooting.

What are the benefits and the costs of raising the carrier frequency?

A higher frequency means less current ripple and audible noise and smoother low-speed running; the cost is greater switching loss, more drive heating, and higher EMC and shaft-current risk. Set the range according to the drive manual and the motor requirements.

Does a 50% duty cycle mean the speed is exactly half?

Not exactly. At no load the speed follows the average voltage approximately; once loaded, current, back-EMF, and voltage drops together determine the operating point. After a speed change, verify torque and power with the power–torque–speed relationship, not by duty cycle alone.

Are PWM and a VFD the same thing?

No. PWM is a modulation method, while a VFD is a device that uses PWM to synthesize a three-phase sinusoidal voltage; brushed DC controllers, brushless drives, and stepper drivers also commonly use PWM. For insulation, cooling, and shaft-current issues in inverter-fed applications, see the inverter-duty motor article.

Related tools

Related articles

Sources

  • Power Electronics (Wang Zhaoan et al., China Machine Press) (China Machine Press)
  • IEC 60034-17, Cage induction motors when fed from converters — Application guide (IEC)
WhatsApp(opens in a new tab)