Electrical Engineering › Section Q · Thyristors, operational amplifiers, and power conversion › Topic Q.11
Pulse-width modulation, DC motor drives, inverters, and AC motor drives
Modern power electronics controls large amounts of power by switching transistors fully on and fully off thousands of times a second. Varying the width of those pulses sets the speed of a dc motor, and shaping them builds the ac that drives induction motors, solar inverters and electric vehicles.
Why switch instead of throttle?
A transistor used as a variable resistor carries load current while dropping a large voltage, wasting \(P = VI\) as heat. A switch avoids this. Fully off, its current is nearly zero; fully on, its voltage is nearly zero; either way \(VI\) is small. What loss remains comes from the small on-state voltage and from the brief transitions, when both voltage and current are present, so fast switching keeps losses low. MOSFETs suit lower voltages and the highest switching frequencies, IGBTs from Insulated-gate FETs (MOSFETs) and IGBTs handle high voltages and currents, and wide-bandgap silicon carbide (SiC) and gallium nitride (GaN) devices switch faster with lower losses.
Pulse-width modulation
Pulse-width modulation (PWM) switches a supply on and off at a fixed frequency and varies the fraction of each period that it is on, the duty cycle \(D\), anywhere from 0% to 100%. As Pulse waveforms, repetition rate, duty cycle, and average value showed, the average of a pulse train is
A heater's temperature, a motor's speed and an LED's apparent brightness all follow that average, because the heater's thermal mass, the motor's inductance and inertia, and the eye's persistence smooth out the individual pulses. The control is digital in form, on or off, but analogue in effect.
Making and using PWM
One classic way to generate PWM is the comparator of Single-ended, differential, and operational amplifiers: compare a control voltage with a linear sawtooth or triangle wave. The output is high whenever the control voltage exceeds the ramp, so for a ramp from 0 to \(V_p\), \(D = V_c/V_p\), and the ramp frequency sets the PWM frequency. Microcontrollers generate PWM in timer hardware. Uses include LED dimming, where the LED always runs at its rated current, so brightness tracks the duty cycle; class D audio amplifiers, which switch far above the audio band and filter out the switching frequency; the switching supplies of Power supply circuits; and motor drives.
Worked example: linear against PWM
A dc motor on a 24 V supply should run at a reduced speed that needs an average of 12 V, drawing 5.0 A. 1. Linear control: a series transistor drops \(24 - 12 = 12\,\text{V}\) at 5.0 A, dissipating 60 W, as much as the motor uses. 2. PWM control: \(D = 12/24 = 0.50\). 3. A MOSFET with \(R_{DS(on)} = 20\,\text{m}\Omega\) carries 5.0 A for half of each period: conduction loss \(= (5.0)^2(0.020)(0.50) = 0.25\,\text{W}\), plus some switching loss. 4. Generating it: a 0-5 V sawtooth compared with a 2.5 V control gives \(D = 0.50\). Check: losing a fraction of a watt instead of 60 W is why drives switch.
DC motor drives
A motor's inductance smooths the PWM pulses into a nearly steady current, and its inertia smooths the speed, which follows the average voltage. When the switch opens, the inductance keeps the current flowing, so a freewheeling diode across the motor gives it a path, as in Inductor commutating and diode switching circuits, and Zener diodes; without one, the inductive voltage spike can destroy the transistor. Small drives often switch above about 20 kHz, beyond human hearing, so the windings do not whine; large drives use a few kilohertz to limit switching losses. A speed sensor can adjust \(D\) to hold speed under load.
The H-bridge
To reverse a dc motor, put it across the middle of four switches arranged like an H: one from the supply rail to each motor terminal, and one from each terminal to ground. The upper-left and lower-right switches drive current one way; the other diagonal pair drives it the opposite way, and PWM on the active pair sets the speed. A diode across each switch carries the inductive current during switching. The danger is shoot-through: if both switches on one side are on at once, even briefly, they short the supply. Gate drivers add a dead time: one switch turns off before its partner turns on.
Worked example: driving an H-bridge
An H-bridge runs from 36 V and switches at 20 kHz. 1. Forward at \(D = 0.70\): the upper-left and lower-right pair conduct, PWM on one of them, giving an average of \(0.70 \times 36 = +25.2\,\text{V}\) across the motor. 2. Reverse at \(D = 0.40\): the other diagonal pair conducts, giving \(-0.40 \times 36 = -14.4\,\text{V}\). 3. Dead time: the period is \(1/20{,}000 = 50\,\mu\text{s}\), so each 500 ns dead time lasts \(0.5/50 = 1\%\) of the period. 4. Forbidden: upper-left with lower-left, which shorts the 36 V supply. Check: the diagonal pair in use sets the sign of the average, and so the direction.
Inverters
An inverter turns dc into ac. Alternating a full bridge between \(+V_{dc}\) and \(-V_{dc}\) gives a harmonic-rich square wave. Sinusoidal PWM does better: compare a sine reference at the wanted output frequency with a triangle carrier at several kilohertz or more, and switch the bridge from the comparison. The pulse widths then vary sinusoidally, and after filtering, or the smoothing of a motor's inductance, the fundamental remains. For a full bridge, its peak is \(m_aV_{dc}\), where the modulation index \(m_a\) is the ratio of sine to carrier peaks, valid up to \(m_a = 1\). Three-phase inverters use three legs, six switches, with references 120° apart. Solar inverters, which also track the panels' maximum power point, battery systems and uninterruptible power supplies all work this way.
AC motor drives
An induction motor's speed is set mainly by the supply frequency: its synchronous speed is \(n_s = 120f/P\) rpm for \(P\) poles, and it runs slightly slower. A variable-frequency drive (VFD) rectifies the mains into a dc link, smooths it with capacitors, and feeds a three-phase PWM inverter whose frequency sets the speed. To keep the magnetic flux, and so the torque capacity, roughly constant, the drive keeps the ratio of voltage to frequency about fixed below rated speed. VFDs save much energy on fans and pumps, whose power falls roughly with the cube of speed. Electric-vehicle traction inverters do the same from a battery.
Worked example: inverter and drive settings
1. Inverter output: a full bridge on a 400 V dc link with \(m_a = 0.80\) gives a fundamental of \(0.80 \times 400 = 320\,\text{V}\) peak, or \(320/\sqrt{2} = 226\,\text{V}\) rms. 2. Drive: a 4-pole, 460 V, 60 Hz motor has \(n_s = 120(60)/4 = 1800\,\text{rpm}\). Run at 45 Hz, \(n_s = 120(45)/4 = 1350\,\text{rpm}\). 3. Constant V/f: \(460 \times 45/60 = 345\,\text{V}\). 4. Fan power at 75% speed: about \(0.75^3 = 0.42\) of full power. Check: slowing a fan by a quarter cuts its power by more than half. Drive circuits run at lethal voltages and stay charged after switch-off, so they are serviced only isolated and discharged.
Common mistakes to avoid
First, assuming a PWM switch dissipates \(VI\) like a linear one: on or off, its product of voltage and current is small. Second, omitting the freewheeling diodes on a motor or H-bridge. Third, turning on both switches of one H-bridge leg: shoot-through shorts the supply, so dead time is essential. Fourth, treating P in \(n_s = 120f/P\) as pole pairs: it is the number of poles. Fifth, cutting a VFD's frequency without cutting its voltage in proportion, which over-fluxes the motor.
Key takeaways
Switches waste little power because either their voltage or their current is near zero; losses come from on-state drops and transitions. PWM varies the duty cycle D at a fixed frequency, giving V_avg = D·V_supply; a comparator and ramp generate it, with D = V_c/V_p. DC motor drives need freewheeling diodes, and small ones often switch above 20 kHz; H-bridges reverse the motor and need dead time against shoot-through. Sinusoidal PWM inverters produce a fundamental of peak m_a·V_dc. VFDs set induction-motor speed through frequency, n_s = 120f/P, holding V/f roughly constant.
Flashcards
Flashcard
Power lost while a switch is between on and off, when voltage and current are both present
Test your understanding
Question 1 of 5
A PWM controller switches a 48 V supply with a duty cycle of 35%. What is the average voltage delivered to the load?
Question 2 of 5
A comparator makes PWM by comparing a control voltage of 3.2 V with a sawtooth that ramps from 0 V to 8.0 V. Its output is high while the control voltage exceeds the ramp. What is the duty cycle?
Question 3 of 5
A variable-frequency drive runs a 6-pole induction motor at 40 Hz. What is the motor's synchronous speed?
Question 4 of 5
Why do H-bridge gate drivers insert a short dead time between switching transistors?
Question 5 of 5
A single-phase full-bridge inverter on a 350 V dc link uses sinusoidal PWM with a modulation index of 0.90. What is the rms value of its fundamental output?
