An inverter makes an AC output from a DC link by switching fast and letting a filter keep only the slow part. This lesson builds the output of a full bridge from a sine reference and a carrier, predicts its size from the modulation index, and shows what a few hundred nanoseconds of dead time do to it.
Time: about 45 minutes. You need: Lesson 2 (the LC average of a chopped voltage).
Open it in Voltecx
Use File › Open Example › Inverters › Single-phase full-bridge inverter (file.openExample with {"name":"fullBridgeSpwm"}). It has a 400 V link, two legs with 50 mΩ MOSFETs, 10 kHz carriers, 0.5 µs of dead time, a 1 mH + 1 mH and 10 µF filter and a 50 Ω load.
Unipolar sine PWM
Each leg compares a duty reference with a carrier. Leg a follows and leg b the same reference shifted by 180°. The leg midpoints then switch between 0 and , and the voltage between them averages, over one carrier period, to
With and V the peak is 320 V and the rms 226 V. The LC filter (corner near 1.1 kHz here, from the two 1 mH inductors and 10 µF) passes the 50 Hz part and removes the carrier. Because the two legs switch in opposition, the voltage between them has three levels and ripples at twice the carrier frequency, which is why the filter can be small.
What the run gives
Over the last 20 ms (one cycle) the output has a peak of 316.6 V and an rms of 222.73 V: 1.5 % below the ideal 320 V and 226 V. The filter inductor current peaks at 7.26 A, 6.3 A of load plus the ripple and the capacitor current.
Dead time
The two switches of a leg must never conduct together, so each gate waits before turning on. During that time the current picks the leg's voltage, and the average output moves toward the wrong side, once per switching edge. The loss of output grows with . Set to zero and the run gives exactly the hand result, 226.25 V rms and 320.1 V peak; with 0.5 µs the output is 222.73 V.
Exercises
- Predict and run. Predict the peak and rms output for . Answer: 320 V and 226 V; the run (with dead time) gives 316.6 V and 222.73 V.
- Halve the index. Set the amplitude of both references (
Refa,Refb) to 0.2. Answer: gives 160 V peak by hand; the run gives 156.7 V peak and 109.61 V rms. - Double the carrier. Return the amplitudes to 0.4 and set the frequency of
PWMaandPWMbto 20 kHz. Answer: the output falls to 219.14 V rms, because there are twice as many dead-time edges. - Remove the dead time. Set
tdof the four dead-time blocks to 0 (still at 20 kHz). Answer: 226.25 V rms and 320.1 V peak. A real bridge cannot do this: it would shoot through.
Command chain for exercise 2: file.openExample, circuit.setParam on Refa and Refb (amp), simulation.run, scope.measure on vo between 0.04 s and 0.06 s.
Quiz
- What does the filter see: the 400 V pulses or their average? The filter keeps the average; the pulses are what it removes.
- Why does the output stay at 50 Hz when the carrier doubles? The reference sets the fundamental; the carrier only sets where the ripple is.
- A data sheet gives a driver dead time of 1 µs. Does the output rise or fall compared with 0.5 µs? It falls further, since the loss follows .
References
Unipolar and bipolar sine PWM, the modulation index and dead-time effects are treated in N. Mohan, T. Undeland and W. Robbins, Power Electronics, 3rd ed., Wiley, 2003 (the chapter on switch-mode DC-AC inverters). The circuit values are illustrative; the numbers on this page are Voltecx's own runs.
Next: back to the course page, or read how to use this course in a class.