IEEE 519 and Selective Harmonic Elimination: A Practical Compliance Guide
A megawatt-class UPS or VFD installation can pass IEEE 519 in two ways: throw an active filter at every line, or design the modulator to not produce non-compliant harmonics in the first place. The math has been on the side of option two for forty years; the engineering workflow is finally catching up.
What is IEEE 519?
IEEE Std 519, formally titled "IEEE Recommended Practices and Requirements for Harmonic Control in Electric Power Systems," is the dominant standard for harmonic content on utility-tied electrical systems. The current edition is IEEE 519-2014. It defines:
- Voltage distortion limits at the Point of Common Coupling (PCC) — how much harmonic content the utility allows on its bus
- Current distortion limits at the PCC — how much harmonic current a customer is allowed to inject into the utility
- Measurement methods — window length, averaging, percentile reporting
- Compliance verification — how to measure, what to report, and how to demonstrate that limits are met under representative loading
Compliance is required for grid interconnection of any nontrivial industrial load: data center UPS systems, motor drives, renewable inverters, traction-power substations, megawatt-class chargers. Failure to comply means the utility can refuse interconnection, throttle the connection, or charge significant penalties.
The limits in plain language
IEEE 519 expresses current distortion limits as Total Demand Distortion (TDD), not Total Harmonic Distortion (THD). TDD normalizes against the maximum demand current, not the instantaneous current. This matters because a low-load condition can produce high THD but compliant TDD — the utility cares about absolute harmonic content, not the ratio.
where IL = maximum demand load current at the PCC
The current TDD limits depend on the ratio ISC / IL (short-circuit current divided by load current at the PCC). For typical industrial customers in the 20 < ISC/IL < 50 range, the limits look approximately like:
| Harmonic Order | Individual Limit | TDD Limit |
|---|---|---|
| h < 11 | 7.0% | 8.0% |
| 11 ≤ h < 17 | 3.5% | |
| 17 ≤ h < 23 | 2.5% | |
| 23 ≤ h < 35 | 1.0% |
For larger industrial loads (lower ISC/IL ratios) the limits are tighter. For very strong utility connections (higher ratios), they relax somewhat. Voltage distortion limits at the PCC are 5.0% THD for systems below 69 kV.
The full table is in IEEE 519-2014 Section 5; consult the standard for the specific limits at your installation's voltage class and short-circuit ratio.
Where harmonics come from
The dominant harmonic source in modern industrial systems is the inverter. A two-level voltage-source inverter switches the DC bus voltage on and off; the resulting square-ish waveform contains a fundamental at the desired output frequency plus a spectrum of low-order harmonics (5th, 7th, 11th, 13th, ...) and a dense band of high-order content centered on the switching frequency.
The low-order harmonics are the regulatory problem. They lie in the range IEEE 519 limits most strictly. They couple efficiently to motor windings (causing torque pulsation), to transformer cores (causing additional iron loss), and to grid impedances (causing voltage distortion at the PCC). The high-order content can usually be filtered with a small passive LC stage; the low-order content cannot, because the filter inductors required would be the size of the inverter itself.
The four compliance strategies
Every IEEE 519 compliance approach falls into one of four buckets:
Strategy 1: PWM at high carrier frequency
Run the inverter at 5–20 kHz pulse-width modulation. Low-order harmonic content is naturally low because the carrier is far above the fundamental. This is the standard approach for low-power VFDs and most renewable inverters under a few hundred kilowatts.
Tradeoff: switching losses scale with switching frequency. At megawatt scale, 10 kHz PWM is thermally infeasible without exotic semiconductors and aggressive cooling. Switching losses can dominate the inverter's heat budget. EMI is also high, requiring substantial common-mode filtering.
Strategy 2: Passive harmonic filter
Add a tuned LC filter network on the inverter output, designed to short-circuit the dominant harmonic orders. Passive filters are robust and reliable; they are a one-time engineering exercise.
Tradeoff: the filter is large, heavy, expensive, and adds line impedance that reduces inverter efficiency. The filter also resonates with whatever the grid impedance happens to be; grid-impedance changes can cause amplification rather than attenuation. Passive filters are also load-dependent: they work at one operating point and degrade as the load shifts.
Strategy 3: Active harmonic filter (parallel)
Install a separate inverter that measures the load's harmonic current draw and actively injects equal-magnitude opposite-phase currents at the harmonics of concern. Active filters are flexible and can compensate dynamically as the load changes.
Tradeoff: a second inverter to install, control, cool, and maintain. Active filter inverters are typically 20–30% the rating of the primary load — meaningful capital cost. Active filters also introduce their own switching harmonics that need their own (smaller) filtering.
Strategy 4: Selective Harmonic Elimination at the source
Design the inverter modulation pattern itself to produce zero magnitude at the harmonic orders that matter for IEEE 519, without an external filter. Selective Harmonic Elimination (SHE) picks the inverter switching angles to drive a target harmonic set to mathematically zero. The output already complies; no filter is needed for the targeted orders.
Tradeoff: historically, SHE design has been a research-grade computational problem. Solving the SHE equations across the full operating envelope of an industrial system has required custom solver work, multiple iterations of trial-and-error, and engineer judgment about which of multiple possible solutions to keep. That is the part that has changed.
Why SHE is structurally the right tool for high-power IEEE 519 compliance
The cost-of-compliance scaling is the key driver. Look at three concrete cases:
Case 1: 50 kW industrial VFD
Switching losses at 10 kHz PWM are absorbed by reasonable heatsinks. Passive filter is small and inexpensive. Active filter is overkill. Conventional PWM wins.
Case 2: 500 kW commercial UPS
10 kHz PWM is thermally tight. Passive filter is large but viable. Active filter starts looking attractive because it handles dynamic load. SHE becomes worth considering. Hybrid approaches are common.
Case 3: 2 MW hyperscale UPS or 5 MW traction inverter
10 kHz PWM is thermally infeasible without exotic SiC or GaN switches. Passive filter is enormous and expensive. Active filter is a 500 kW second inverter you have to install, cool, and maintain — for a system that's supposed to be unattended. SHE becomes the engineering favorite, because the alternative is a second inverter the size of a small car.
This is exactly the regime where a precomputed UPS SHE Lookup Table earns its place. The hard math is solved once at design time; the modulator just reads angles from a table at run time, with a switching frequency low enough to avoid thermal trouble and an output spectrum already inside the IEEE 519 envelope on the targeted orders.
What "compliance" actually requires you to demonstrate
IEEE 519 compliance is not a single number on a datasheet. It is a measurement protocol that has to be done at the PCC, under representative loading, with calibrated instruments, over a long-enough time window. The verification chain typically looks like:
- Calculate the predicted harmonic spectrum from the modulator design (this is where SHE Designer outputs come in — the precomputed switching-angle set has a known Fourier spectrum)
- Simulate the system in PSCAD, MATLAB Simscape, or similar — verifying the predicted spectrum reproduces under simulated grid impedance and load
- Bench test the inverter on a controlled load — measuring the spectrum at the inverter terminals to verify simulation
- Field commissioning — measuring at the PCC under actual load, typically over a 7-day window with 99th-percentile reporting per IEEE 519's measurement protocol
Steps 1–3 are predictable: if your switching-angle set has zero magnitude at the targeted harmonics, the simulation and bench test will show zero (within numerical noise). Step 4 is where surprises happen: grid impedance, neighbor loads, transformer coupling, all interact with whatever harmonic content the inverter does produce.
The way to minimize surprises is to start step 1 with a switching-angle set that you can verify against the textbook SHE equations — not against your solver's claim that it converged. SHE Designer's verification protocol does exactly this: every certified solution is checked by reconstructing the waveform numerically and confirming the Fourier coefficients at the targeted orders are at machine epsilon. Anyone with MATLAB and ten lines of code can run the same check.
Where SHE-based compliance fits in the engineering workflow
For a 1+ MW UPS or VFD, the typical compliance workflow with SHE looks like:
- Define the targeted harmonic set from IEEE 519 limits — usually the 5th, 7th, 11th, 13th, 17th, 19th, 23rd, 25th, etc. (the standard "non-triplen" harmonics for three-phase systems)
- Solve the SHE equations across the operating envelope — for UPS this is typically 20–100% rated load at unity and lagging power factor; for VFD it is the modulation-index sweep across the speed envelope
- Generate a switching-angle lookup table indexed by operating point
- Verify the table against textbook SHE equations — reconstruct the spectrum and confirm targeted harmonics are zero
- Implement the modulator with the lookup table; test on bench, then in simulation, then in the field
Steps 2 and 3 used to be the engineering bottleneck — weeks of solver work, tribal knowledge about which initial guesses worked, and judgment calls about which solution to keep. A deterministic SHE solver collapses that to a few minutes: enumerate every viable solution at every operating point, certify each, output the table, done.
Alternatively, if your application matches a standard topology (hyperscale UPS at N=17 angles, universal VFD at the standard 2-level configuration), a pre-built certified table eliminates the design step entirely. A 80-operating-point UPS table and a 951-modulation-point universal VFD table are available off-the-shelf, with certification documents that map directly into IEEE 519 compliance reports.
The role of the comparator
Compliance officers and utility engineers do not take vendor claims at face value — nor should they. The verification protocol for any SHE-based design is straightforward and the comparator is built into MATLAB:
- Take the switching angles from the SHE table
- Solve the same SHE equations in MATLAB
fsolvefrom the textbook formulation - Confirm the residual at the targeted harmonics is at machine epsilon
- Reconstruct the waveform numerically; FFT it; confirm the targeted harmonic magnitudes are zero
The whole verification can be done by a third party in an afternoon. There is no proprietary part of the comparison — the textbook SHE equations are public, MATLAB fsolve is public, and the resulting numerical comparison either holds or it doesn't. This is the verification stance behind every product on this site: the claims reproduce against an independent reference implementation, with no NDA required for the verification path.
Real-world deployment considerations
Switching frequency and SHE
SHE typically operates at 250–750 Hz on a 60 Hz fundamental, vs. 5–20 kHz for PWM. Lower switching frequency means lower switching losses, lower EMI, and the ability to use cheaper, more rugged power semiconductors. The tradeoff is that the inverter output has a "stairstep" character that requires somewhat larger output inductors to smooth the high-frequency content (which is now the residual content past the eliminated harmonics).
SHE vs. SHM (Selective Harmonic Mitigation)
Some implementations targets minimization rather than elimination — finding switching angles that minimize a weighted sum of harmonic magnitudes rather than zeroing them. SHM is computationally easier (it is an unconstrained optimization rather than a nonlinear system) and can produce better tradeoff solutions in regions where strict elimination is infeasible. SHE is the conservative case; SHM is the relaxation. Modern SHE workflows often offer both as configurable options.
Operating envelope sparsity
In real systems, the operating point isn't continuous — UPS systems have well-defined load tap points; VFDs accelerate through known modulation indices. A sparse lookup table covering the actual operating points is cheaper than an exhaustive sweep and avoids storing solutions for never-visited regions.
SHE Designer + Pre-Built Lookup Tables
SHE Designer is the deterministic SHE solver used to generate the switching-angle tables behind certified compliance for hyperscale UPS and universal VFD applications. Outputs verify against MATLAB fsolve on the textbook SHE equations — published protocol, externally reproducible, no NDA required. Pre-built tables for common topologies are available off-the-shelf to remove the design step entirely.
Further reading
- IEEE Std 519-2014, "IEEE Recommended Practices and Requirements for Harmonic Control in Electric Power Systems." The standard itself.
- Akagi, H. (2005). "Active harmonic filters." The foundational paper on active filter compensation.
- Patel, H. S., & Hoft, R. G. (1973). "Generalized techniques of harmonic elimination and voltage control in thyristor inverters." The original SHE formulation.
- Holtz, J. (1992). "Pulsewidth modulation — a survey." The canonical PWM survey covering carrier-based and selective approaches.
- Wells, J. R., et al. (2007). "Modulation-Based Harmonic Elimination." Comparison of SHE, SHM, and hybrid approaches.
Bottom line
IEEE 519 compliance scales differently with installation power. For tens of kilowatts, conventional PWM is the right tool. For hundreds of kilowatts, the choice between passive filter and active filter depends on the load profile. For megawatt-class installations — hyperscale UPS, traction inverters, large industrial drives — SHE-based modulation is structurally the right answer because the alternative is to add a second inverter the size of a small car.
The historical bottleneck for SHE was the design workflow: solving the SHE equations, choosing among multiple valid solutions, building a lookup table, and verifying the result against an independent reference. With a deterministic SHE solver and pre-built lookup tables for standard topologies, that bottleneck is gone. The verification protocol against MATLAB fsolve on the textbook equations is straightforward, externally reproducible, and the same protocol whether you generate the table yourself or use one off-the-shelf.
For installations that need to demonstrate IEEE 519 compliance to a utility — not just claim it — that reproducible verification chain is the practical advantage. The numbers in your compliance report can be replicated by the utility's engineer in MATLAB, in an afternoon. That is the standard.