The bridge
Everything upstream of this page produces a number: a voltage the controller would like the machine to see. The bridge is where that number stops being a number. It has six switching devices and exactly one way to apply a voltage — connect each phase to one rail or the other, and change which one fast enough that the machine only feels the average.
One leg, two devices, never both
Each phase hangs off the midpoint of a leg. The high-side device connects it to the positive rail, the low-side device to the negative one, and the pair is driven complementarily: when one is on the other must be off. Turning both on connects the rails to each other through two transistors, which is a short circuit across the DC link and destroys the leg.
So a leg has two useful states, and three phases give combinations — the six active states that produce a voltage, and the two null states where all three phases sit on the same rail and the machine sees nothing.
The playhead crosses one 50 µs period about every four seconds. Stop holds the model as well as the playhead; Step jumps to the next switch state, and a full lap of them is one PWM period.
From a voltage request to three duty cycles
The controller never asks for a switch state. It asks for a voltage, and the modulator has to turn that into three numbers. The whole calculation is two lines of algebra, and this is the shape of it:
Over one period, phase spends the fraction tied to the positive rail and tied to the negative one. Measured against the midpoint of the DC link, its average is
which inverts directly. To apply a pole voltage , ask for
and the same for and . A duty cycle is a real fraction, so , which caps the pole voltage at — on a 48 V link, V.
The neutral is floating, and that is worth 15%
Take the naive route and set each pole voltage equal to the phase voltage you wanted. That is sinusoidal PWM, and it works, but it throws something away.
The machine’s star point is not connected to anything. Current is driven by the voltage differences between phases, so adding the same term to all three pole voltages changes nothing the machine can feel — the star point simply floats up to follow it. That gives a free parameter:
Spend it on centring. Choose so the largest and smallest of the three references sit symmetrically about zero:
That is min-max injection, and it is space-vector PWM — algebraically identical to the textbook sector-and-dwell-time construction, at the cost of a few comparisons instead of two trig evaluations.
Worked, with the site’s own numbers
Ask for 20 V at 20° on a 48 V link. The three phase references are :
The largest is 18.79 and the smallest is −15.32, so
and the duties follow from one subtraction and one division each:
Plain sinusoidal PWM, skipping the injection, would have asked for 0.892, 0.428 and 0.181 — further from the rails at the top, which is exactly the headroom it is wasting.
Why “the common mode cancels”
Now check the injection cost nothing. The pole voltages those duties produce — each phase measured against the midpoint of the DC link — are
and not one of them is what was asked for. Every one is low by 1.736 V, which is exactly. That is what makes the term common mode: it is not three errors, it is one number added to all three.
And a number added to all three survives no subtraction. The voltage that drives current in phase is , not on its own, because the star point is connected to nothing and current can only go out of one phase and back through another. Every difference is unchanged:
so the machine cannot tell the difference. On these numbers, the pole voltages differ by V and the original references differ by V — the same figure. The star point simply floats 1.736 V below the link midpoint and everything across the windings carries on as if the injection had never happened.
Take those differences and the phase voltages the machine sees come back to
exactly the request. The common mode cancels, as promised.
What the centring buys
Both schemes run out when a duty reaches a rail. Plain SPWM reaches it when the phase peak hits ; centred, the three references only reach the rails when the peak hits :
On this 48 V link that is 27.713 V instead of 24.000 V — 15.47% more voltage from the same hardware, which is free torque-speed range and the reason essentially nothing ships with plain SPWM.
On the bench Hold the playhead near the middle of the period and watch which devices are on: all three phases sit on the same rail for a good fraction of every period. That is the null vector, and it is not wasted time — it is what lets the modulator place the two active vectors symmetrically and keep the switching losses even.
The gate says which device, the current says which element
A gate signal enables a transistor. It does not decide what carries the current — the sign of the phase current does that.
With the high side on and current flowing out of the leg into the winding, the current goes through the high-side transistor. With the high side on and current flowing into the leg, it has nowhere to go but backwards through the diode across that same transistor. The leg’s voltage is the same either way, which is why the averaged model upstream can ignore the distinction.
It stops being ignorable the moment both devices are off — which is exactly what a safety interlock does on every switching edge, and what deadtime is about.