Set 27 — PWM Techniques and Harmonic Control
Set 26 ended on a constraint rather than a result. A 415 V drive fed from a 415 V supply has 587 V of DC link, and plain sinusoidal PWM converts only 61% of it — 359 V where 415 is needed. Third-harmonic injection just closes the gap. That makes the modulation scheme a load-bearing design decision, not a preference.
There are more schemes than two, and they compete on three axes that pull against each other: how much of the DC link they convert, how much switching loss they cost, and what they leave in the spectrum. Some buy the last 9.3% by deliberately distorting; some place switching angles to null chosen harmonics exactly; some cut switching loss by a third by clamping each leg for part of every cycle.
Two ratios define a carrier-based scheme:
\[ m_a = \frac{\hat V_{ref}}{\hat V_{tri}}, \qquad m_f = \frac{f_{tri}}{f_{out}} \]The linear range ends at \(m_a = 1\); beyond it the output saturates towards the square wave:
\[ \hat V_1: \ m_aV_{dc} \ \longrightarrow\ \frac{4V_{dc}}{\pi} \quad\text{— a further }27.3\% \]Choose \(m_f\) odd and a multiple of three for a three-phase inverter:
\[ \text{odd} \Rightarrow \text{no even harmonics}; \qquad \times3 \Rightarrow \text{carrier is zero sequence} \]Selective harmonic elimination places \(k\) angles per quarter cycle to satisfy \(k\) conditions:
\[ V_n = \frac{4V_{dc}}{n\pi}\left[1-2\cos n\alpha_1+2\cos n\alpha_2-\cdots\right] \]Discontinuous modulation clamps each leg for 120° of every cycle:
\[ \text{switchings reduced by }\tfrac13 \;\Longrightarrow\; P_{sw}\ \text{reduced by }\tfrac13 \]Synchronous modulation locks the carrier to the output; asynchronous does not:
\[ m_f > 21 \Rightarrow \text{asynchronous acceptable}; \quad m_f \le 21 \Rightarrow \text{must synchronise} \]
For a single-phase full bridge on a 400 V link, tabulate the fundamental against modulation index from 0 to the square-wave limit. Identify the linear range, the total gain available beyond it, and explain what is lost in that region.
The linear region. While the reference peak stays below the carrier peak, every carrier period produces a pulse whose width is proportional to the reference:
Exactly proportional, with no trigonometry — which is the whole reason PWM displaced quasi-square control. A regulator that wants 5% more output simply asks for 5% more \(m_a\).
What lies beyond. Raising the reference above the carrier means some carrier intersections are missed, and pulses begin to merge:
More than a quarter again — a substantial amount to leave on the table when Set 26's drive was 13% short. But it is not free.
The whole range:
| \(m_a\) | Region | \(\hat V_1\) | Low-order harmonics |
|---|---|---|---|
| 0.5 | linear | 200 V | none |
| 0.8 | linear | 320 V | none |
| 1.0 | limit | 400 V | none |
| 1.2 | overmodulation I | ~440 V | appearing |
| 2.0 | overmodulation II | ~490 V | significant |
| \(\to\infty\) | square wave | 509 V | 48.3% THD |
The fourth column is what is being bought and sold. Every volt gained past \(m_a = 1\) comes with low-order harmonics that PWM existed to remove — and by the square-wave limit the spectrum is exactly the one Set 25, Problem 1 started with.
Why the relationship goes nonlinear. In the linear range each carrier period contributes a pulse; past the limit some do not:
Near the peaks of the reference the output simply stays clamped at the rail for several carrier periods together. Those missing transitions are what produce the low-order harmonics — and they also mean the switching loss falls in overmodulation, which is occasionally useful.
The three-phase version uses the same idea against a different baseline:
| Scheme | Linear limit | Utilisation | Remaining gain to six-step |
|---|---|---|---|
| SPWM | \(m_a = 1\) | 0.612 | 27.3% |
| Third-harmonic / SVM | \(m_a = 1.155\) | 0.707 | 10.3% |
| Six-step | — | 0.780 | — |
Injection has already collected two-thirds of the available gain within the linear range, leaving only 10.3% for overmodulation to fight over. That is why a modern drive uses injection first and overmodulates only in field weakening.
A three-phase drive must operate from 5 Hz to 60 Hz output. Discuss the choice of carrier ratio: why it should be odd and a multiple of three, when synchronous operation is required, and how the choice interacts with switching loss and filter size.
Why odd. An odd carrier ratio makes the modulated waveform half-wave symmetric:
And with them the DC component. An even carrier ratio leaves a DC offset in the output — small, but enough to saturate an output transformer or produce a standing torque in a machine, and entirely avoidable at zero cost.
Why a multiple of three. If \(m_f\) is divisible by 3, the carrier harmonic appears identically in all three phases:
The largest single harmonic in the spectrum — 81.8 V of the 200 V link in Set 25's example — disappears from every line voltage. Only the sidebands remain, and they are smaller. So the standard choices are 15, 21, 27, 33, 39: odd and divisible by three.
Synchronous versus asynchronous. A synchronous modulator locks the carrier to a fixed multiple of the output frequency; an asynchronous one runs the carrier at a fixed frequency regardless:
| Synchronous | Asynchronous | |
|---|---|---|
| \(f_{carrier}\) | \(m_ff_{out}\) | fixed |
| Subharmonics | none | possible |
| Spectrum | clean, predictable | smeared |
| Switching loss | varies with speed | constant |
| Implementation | needs a phase-locked carrier | trivial |
The critical row is subharmonics. If the carrier is not an integer multiple of the output, the waveform does not repeat every output cycle — and the difference appears as components below the fundamental. In a motor those produce low-frequency torque pulsations and a slow mechanical oscillation, which is far worse than any high-frequency harmonic.
The rule. Subharmonic amplitude scales roughly as \(1/m_f\), so it becomes negligible when the carrier ratio is large:
Applied to this drive at a fixed 4 kHz carrier:
| \(f_{out}\) | \(m_f\) at 4 kHz | Mode |
|---|---|---|
| 5 Hz | 800 | asynchronous — easily |
| 50 Hz | 80 | asynchronous |
| 60 Hz | 67 | asynchronous |
| 200 Hz (field weakening) | 20 | synchronise |
A general-purpose drive is asynchronous throughout its normal range and switches to synchronous modulation only at high output frequency — which is precisely where it is also overmodulating. Traction drives, which spend their lives there, are synchronous throughout.
The interaction with loss and filtering:
| Carrier | Switching loss | Filter / ripple | Acoustic |
|---|---|---|---|
| 2 kHz | lowest | worst | audible whine |
| 4 kHz | typical | acceptable | audible |
| 8 kHz | double | 4× better | less intrusive |
| 16 kHz | 4× | 16× better | inaudible |
Set 26's drive found switching loss already at 63% of the total at 4 kHz, so 16 kHz would take the inverter from 98.1% to about 94%. Silence is expensive, and large drives choose noise.
A three-phase inverter uses two switching angles per quarter cycle to eliminate the fifth and seventh harmonics exactly. Set up the equations, solve for the angles, and evaluate the resulting fundamental and residual spectrum. Compare with carrier-based PWM at the same switching count.
The waveform. Instead of comparing against a carrier, the switching instants are computed offline. With two notches per quarter cycle at \(\alpha_1\) and \(\alpha_2\), the Fourier coefficients are:
Two unknowns, so two conditions can be imposed. Choosing to null the fifth and seventh uses both — leaving the fundamental to be whatever it turns out to be, with no voltage control. Set 25, Problem 2 met the same arithmetic with one angle.
The equations:
Transcendental and coupled — no closed form exists. They are solved numerically once, offline, and the angles stored in a lookup table. That offline solution is the defining feature of the method: nothing is computed in real time.
The solution:
The resulting spectrum, normalised to \(V_{dc}\):
| Order | \(\hat V_n/V_{dc}\) | % of fundamental | Note |
|---|---|---|---|
| 1 | 1.188 | 100% | above the 1.0 of SPWM |
| 3 | 0.207 | 17.4% | cancels in three-wire |
| 5 | 0 | — | eliminated |
| 7 | 0 | — | eliminated |
| 9 | 0.109 | 9.1% | cancels in three-wire |
| 11 | 0.241 | 20.3% | the new dominant |
| 13 | 0.322 | 27.1% | larger still |
Two observations. The fundamental is 1.188 times the link — well above the 1.0 that SPWM manages, because the waveform is closer to a square wave. And the eliminated energy has not disappeared: the 11th and 13th are now larger than the 5th and 7th were.
Why that redistribution is still a win. In a motor the harmonic current is limited by the leakage reactance, which rises with frequency:
Comparing against the six-step spectrum's 5th harmonic: a 27% voltage harmonic at the 13th produces only 62% of the current that a 20% harmonic at the 5th did. Pushing distortion up in frequency reduces the current it causes even when the voltage grows — and current is what heats the machine and pulsates the torque.
Where SHE belongs:
| Property | SHE | Carrier PWM |
|---|---|---|
| Switchings per cycle | very few | many |
| Chosen harmonics | exactly zero | small but nonzero |
| Fundamental utilisation | highest | lower |
| Real-time computation | none — lookup table | trivial |
| Variable frequency | a table per operating point | continuous |
| Dynamic response | poor | fast |
The last two rows confine it. SHE angles are valid for one modulation index, so a variable-speed drive needs a table across the whole range and interpolation between entries — and the waveform cannot be changed mid-cycle without breaking the elimination. It is therefore the method of choice for high-power, low-switching-frequency, slowly-varying applications: traction inverters, large industrial drives, grid-connected converters where each switching transition costs kilowatts.
A 415 V drive from Set 26 has a 587 V link and needs 415 V of line voltage, rising to 458 V during field weakening. Determine what modulation is required in each case, describe the two overmodulation regions, and quantify the harmonic penalty.
Locate each requirement on the utilisation scale:
| Requirement | Needed utilisation | Scheme |
|---|---|---|
| 359 V (SPWM limit) | 0.612 | SPWM at \(m_a = 1\) |
| 415 V (rated) | 0.707 | THI/SVM at the linear limit |
| 458 V (field weakening) | 0.780 | six-step — full overmodulation |
So rated operation sits exactly at the linear ceiling of third-harmonic injection, with no margin at all, and anything above it requires overmodulation. That is the normal condition of every mains-fed drive.
The two overmodulation regions. They differ in what the modulator is doing:
| Region | Range | Behaviour |
|---|---|---|
| Linear | \(m \le 1\) | reference tracked exactly |
| Overmodulation I | \(1 < m \lesssim 1.05\) | reference clipped near its peaks; still continuous |
| Overmodulation II | \(1.05 \lesssim m < 1.103\) | output holds at a vertex for part of each sector |
| Six-step | \(m = 1.103\) | one state per 60° — no modulation |
In region I the modulator is still switching every carrier period but cannot reproduce the reference near its peaks. In region II it abandons whole intervals, dwelling on a single state — which is where the low-order harmonics grow rapidly.
The gain-versus-distortion trade:
| Operating point | Utilisation | Low-order THD |
|---|---|---|
| Linear limit | 0.707 | ≈ 0 |
| Mid overmodulation | ~0.75 | ~10% |
| Six-step | 0.780 | 31.1% |
Ten per cent more voltage for thirty-one per cent distortion. Whether that is a good trade depends entirely on what the extra voltage is for — and in field weakening, it is for speed.
Why field weakening makes it acceptable. Above base speed the machine's flux is reduced and the frequency raised:
A 31% voltage distortion at 100 Hz produces half the harmonic current that the same distortion would at 50. So the operating region where overmodulation is needed is also the region where its consequences are mildest — a genuinely fortunate alignment, and the reason six-step operation at high speed is standard rather than exceptional.
What it costs elsewhere:
| Consequence | Detail |
|---|---|
| Torque ripple at \(6f\) | from the 5th and 7th beating with the fundamental |
| Extra rotor heating | harmonic currents do no useful work |
| Nonlinear control gain | \(V_1\) no longer proportional to \(m\) |
| Loss of current control | the modulator cannot follow the reference |
| Lower switching loss | fewer transitions — the one benefit |
The third row is what makes overmodulation awkward for a controller. Inside the linear range the loop sees a constant gain; in region II the gain falls towards zero as six-step is approached, so a current regulator tuned for the linear range becomes sluggish and can lose control entirely. Modern drives handle it with an explicit inverse mapping from desired to commanded modulation index.
Discontinuous PWM clamps each inverter leg to a rail for 120° of every output cycle. Explain how a zero-sequence injection achieves this, quantify the switching-loss saving, and identify when the saving is larger and smaller than the nominal one-third.
The insight from Set 26, Problem 4 was that any signal added to all three references cancels in the line voltages. Third-harmonic injection used that freedom to flatten the peak. It can be used for something else entirely:
If a reference is pinned at the carrier peak, that leg never crosses the carrier — so it never switches. It is clamped to the rail, dissipating only conduction loss, while the other two legs carry the modulation.
How much can be clamped. By symmetry, each of the three legs takes a turn:
A third off the switching loss, from a scheme that produces exactly the same line voltages. Applied to Set 26's drive, that is 31 W of the 92 W switching budget — taking the inverter from 98.1% to 98.5%, or allowing the carrier to rise by half for the same loss.
But the saving is not exactly a third, and this is the interesting part. Switching loss depends on the current at the switching instant:
| Clamping placed at | Current there | Actual saving |
|---|---|---|
| Current peak | maximum | up to 50% |
| Voltage peak (fixed DPWM) | depends on power factor | 33% at unity PF |
| Current zero crossing | minimum | as little as 15% |
So the placement of the clamped interval should follow the current, not the voltage — and since the phase angle between them depends on the load, the optimum shifts with power factor. Generalised DPWM schemes take the power factor angle as an input and position the clamping accordingly.
What it costs:
| Property | Continuous (SVM) | Discontinuous |
|---|---|---|
| Switching loss | 1× | 0.67× |
| Current ripple at low \(m\) | lower | higher |
| Current ripple at high \(m\) | higher | lower |
| Common-mode swing | \(V_{dc}\) | reduced |
| Linear range | same | same |
| Complexity | — | one extra zero-sequence term |
Rows two and three cross over at around \(m = 0.6\). Above it discontinuous modulation is better on both counts — less loss and less ripple — because fewer, larger voltage pulses produce less current ripple than many small ones once the modulation depth is high. Below it the continuous scheme wins on ripple.
The natural strategy is therefore to switch schemes with operating point:
Which most modern drives do, changing over on the fly. The transition is seamless because both schemes produce identical line voltages — only the common-mode component differs, and nothing downstream can detect it.
The fourth row of the table is a bonus. Clamping a leg to a rail means it is at a known potential rather than switching:
The 4 A spikes of Set 26, Problem 5 occur at every transition, so removing a third of the transitions removes a third of them. Discontinuous modulation therefore improves efficiency, ripple at high modulation, and bearing life simultaneously.
Specify a complete modulation strategy for the 7.5 kW drive of Set 26 across its full operating range — 0 to 200 Hz output at a 4 kHz nominal carrier — selecting the scheme, carrier ratio and synchronisation for each region, and justifying each transition.
Map the operating range against the constraints established so far:
| Region | \(f_{out}\) | \(m\) | Binding constraint |
|---|---|---|---|
| Standstill / creep | 0–5 Hz | < 0.1 | dead-time distortion |
| Low speed | 5–25 Hz | 0.1–0.5 | current ripple, torque quality |
| Mid speed | 25–45 Hz | 0.5–0.9 | efficiency |
| Base speed | 50 Hz | 1.0 | DC link utilisation |
| Field weakening | 50–200 Hz | > 1.0 | overmodulation, \(m_f\) falling |
Five regions with five different binding constraints — which is why no single modulation scheme serves the whole range.
Region 1, below 5 Hz. Set 25, Problem 5 found the dead-time error to be a fixed voltage:
Twenty-eight per cent distortion at creep speed. The response is to lower the carrier here — halving \(f_s\) to 2 kHz halves the error — and to apply dead-time compensation. Continuous SVM, because ripple quality matters more than efficiency at a twentieth of rated power.
Regions 2 and 3. The crossover of Problem 5 governs:
Below 0.6 the continuous scheme gives lower ripple; above it the discontinuous scheme gives both lower ripple and 33% less switching loss. The changeover is seamless, since both produce identical line voltages.
Region 4, base speed. This is where Set 26 found the design constraint:
Exactly at the linear limit of SVM with no margin — so any supply sag pushes the drive into overmodulation at rated speed. That is normal, and it is why drives are specified with a slight voltage derating rather than a hard guarantee.
Region 5, field weakening. Two things happen together:
So above about 150 Hz the modulator locks the carrier to a synchronous multiple — \(m_f = 21\), then 15, then 9 as the frequency rises — and progressively overmodulates. At the top of the range it is running six-step: one state per 60°, no modulation at all, and the highest possible output voltage.
The complete strategy:
| \(f_{out}\) | Scheme | Carrier | Sync | Reason |
|---|---|---|---|---|
| 0–5 Hz | SVM continuous | 2 kHz | async | minimise dead-time error |
| 5–30 Hz | SVM continuous | 4 kHz | async | low ripple at low \(m\) |
| 30–50 Hz | DPWM | 4 kHz | async | 33% less switching loss |
| 50–150 Hz | DPWM, overmodulating | 4 kHz | async | voltage above the linear limit |
| 150–200 Hz | Overmodulation → six-step | synchronous | \(m_f = 21,15,9\) | avoid subharmonics |
Five regions, four transitions, all handled in software with no hardware change. Every transition is triggered by a constraint identified in Sets 25 to 27, and all of them are invisible to the motor except through the waveform quality.
What this reveals about modulation. The scheme is not a property of the inverter:
The hardware of Set 26, Problem 6 is fixed: six IGBTs, a link capacitor, a diode bridge. Everything in this problem is a choice made in the controller, and the difference between a good drive and a poor one at the same power rating is almost entirely here.
Key Formulas
| Quantity | Relation | Notes |
|---|---|---|
| Amplitude modulation index | \(m_a = \hat V_{ref}/\hat V_{tri}\) | Linear to 1 |
| Frequency modulation index | \(m_f = f_{tri}/f_{out}\) | Odd, \(\times3\) |
| Linear fundamental | \(\hat V_1 = m_aV_{dc}\) | Full bridge |
| Square-wave limit | \(4V_{dc}/\pi\) | 27.3% above \(m_a = 1\) |
| SHE coefficients | \(\hat V_n = \dfrac{4V_{dc}}{n\pi}\left[1-2\cos n\alpha_1+2\cos n\alpha_2\right]\) | Solve numerically |
| SHE 5th/7th angles | \(16.25^\circ,\ 22.07^\circ\) | \(\hat V_1 = 1.188V_{dc}\) |
| Harmonic current | \(I_n = V_n/(n\omega L)\) | Why moving harmonics up helps |
| Utilisation ladder | 0.612 / 0.707 / 0.780 | SPWM / THI-SVM / six-step |
| SVM modulation index | \(m = 1\) linear, \(1.103\) six-step | 10.3% overmodulation range |
| DPWM saving | \(P_{sw}\times\tfrac23\) | 120° clamped per leg |
| DPWM optimum | clamp at the current peak | Up to 50% saving |
| Continuous/discontinuous crossover | \(m \approx 0.6\) | On ripple |
| Synchronisation rule | \(m_f \le 21\) | Else subharmonics |
| Dead-time error | \(V_{dc}t_df_s\) | Lower \(f_s\) at low speed |
Common Mistakes
Assuming \(\hat V_1 = m_aV_{dc}\) holds above \(m_a = 1\). The relationship saturates towards \(4V_{dc}/\pi\) — Problem 1.
Choosing an even carrier ratio. It admits even harmonics and a DC offset — Problem 2.
Running asynchronously at low carrier ratio. Subharmonics appear below the fundamental and produce mechanical oscillation — Problem 2.
Expecting SHE to remove harmonic energy. The 11th and 13th grew larger than the 5th and 7th were — Problem 3.
Using SHE angles at the wrong modulation index. They are valid at one operating point only and need a table — Problem 3.
Treating overmodulation as a free voltage gain. The last 10.3% costs 31% THD — Problem 4.
Keeping a linear current regulator through overmodulation. The gain from \(m\) to \(V_1\) falls towards zero — Problem 4.
Assuming DPWM always saves exactly a third. Placement relative to the current peak changes it from 15% to 50% — Problem 5.
Using discontinuous modulation at low modulation index. Below \(m \approx 0.6\) the ripple is worse than continuous SVM — Problem 5.
Fixing one carrier frequency for the whole speed range. Dead-time distortion at creep argues for lowering it, and subharmonics at high speed for synchronising it — Problem 6.
Six problems and the modulation scheme has stopped being a detail. The linear range ended at \(m_a = 1\) with 27.3% still on the table; selective elimination nulled the fifth and seventh exactly and made the eleventh and thirteenth larger, which turned out to be a good trade; overmodulation bought the last 10.3% at the price of the whole spectrum; and discontinuous modulation cut switching loss by a third using the same zero-sequence freedom that third-harmonic injection had already used for voltage.
That freedom has now been used twice for two different purposes, which suggests the carrier-based view is not the natural one. Treating the three references as one rotating vector, and the inverter's eight states as six vectors and two zeros, turns the whole problem into geometry: the reference is a point, the states are vertices, and modulation is the question of which vertices to dwell on and for how long. The \(0.707\) utilisation that injection produced becomes, in that view, simply the radius of the largest circle that fits inside a hexagon.
Next: Set 28 — Space Vector Modulation, where the eight states are placed on a hexagon, dwell times are computed from a reference vector, the seven-segment switching sequence is constructed, and the 15.5% advantage over sinusoidal PWM is rederived as a purely geometric fact.