PWM (Pulse Width Modulation) is a technique that uses a digital signal to control an analog circuit. Its core is to adjust the duty cycle of the pulses so as to obtain the required voltage or current output in an equivalent sense. The theoretical basis is the equal-area principle: in an inertial system, equal impulses produce essentially the same response. For a first-order inertial element formed by an inductor and a resistor, a change of the input voltage does not step the current but makes it follow the exponential law of a first-order system. A series of discrete voltage pulses can therefore generate a continuous and controllable current response.
SPWM (Sinusoidal PWM) varies the width of the PWM pulses sinusoidally so that an equivalent sinusoidal voltage waveform appears across the load. For a three-phase star-connected load the phase voltage amplitude is at most .
SVPWM (Space Vector Pulse Width Modulation) starts from a different viewpoint. In field-oriented control (FOC) the controlled quantity is the field vector, and that vector is synthesised from the three phase currents. SVPWM does not pursue a sinusoidal output voltage waveform directly; it starts from the voltage space vector, combines inverter switching states to synthesise a rotating circular voltage vector inside the motor, and thereby controls the flux linkage precisely.
Take a three-phase voltage-source inverter: its topology consists of six switches forming three legs. Turning the switches on and off yields eight different switching state combinations. Listed as a truth table, these comprise six nonzero basic vectors and two zero vectors.
According to the spatial distribution of the output voltage vectors, the six basic vectors are spaced by and connected in turn to form a regular hexagon centred on the origin.
Take the basic vector , for which the upper switch of the U phase and the lower switches of the V and W phases are on. The U-phase output is then connected to the positive DC bus and the V- and W-phase outputs to the negative DC bus. Assuming a symmetrical star-connected load, the U-phase voltage is .
To synthesise a voltage vector of arbitrary position and amplitude, the volt-second balance principle is applied: two adjacent basic vectors of the sector that contains the target vector, together with one or more zero vectors, are applied for controlled times within one switching period to synthesise the target vector in an equivalent sense. It is easy to show that the largest undistorted circular voltage vector SVPWM can synthesise has the amplitude of the inscribed circle of this hexagon. Geometry gives an inscribed radius of . Compared with the maximum phase voltage amplitude that SPWM reaches, , SVPWM raises the utilisation of the DC bus voltage by a factor of .
To synthesise a given target voltage vector , the sector of the hexagon that contains it must first be determined. Three auxiliary variables are therefore introduced in the - frame, defined as follows:
From the signs of these three variables, three Boolean variables are defined:
The variable is then defined. The value of stands in one-to-one correspondence with the sector number, usually denoted Sector. A look-up table or a specific formula then determines, from the value of , the sector that contains the target vector, and hence the two adjacent basic vectors used for the synthesis.
Once the sector is known, the application times of the two adjacent basic vectors and of the zero vectors within one switching period must be computed. Let the application times of the two basic vectors be and . By the volt-second balance principle, resolving the target vector along the directions of the two adjacent basic vectors yields the formulas for and . Three temporary variables are usually introduced to simplify the computation:
The corresponding and are then selected from the sector number. For example, when Sector , and . In practice and must also be saturated so that .
Once the application times and of the two basic vectors are known, the remaining time is filled by the zero vectors ( and ). The order of the vectors must be arranged to optimise switching loss and harmonic performance. A common and effective method is the seven-segment SVPWM. Its principle is that only one switch changes state at each transition, which reduces the switching loss. For one sector a typical allocation order is:
This symmetrical allocation makes the PWM waveform centre-symmetrical and gives good harmonic behaviour.
Another method is the five-segment SVPWM, with the allocation order:
Here the zero vector is inserted only once per switching period. The number of switching events is smaller, but a zero vector acts for a longer continuous time, which may cause a larger current ripple and more harmonic content.
To realise the allocation described above, the timer counting mode must match it. Microcontroller timers usually support up-counting, down-counting and up-down counting, the last being the centre-aligned mode. Because the seven-segment SVPWM waveform is symmetrical and centre-aligned, the up-down counting mode suits it best. In this mode the counter value first rises and then falls, which naturally produces a symmetrical PWM waveform. Mapping the computed to the compare values of the timer makes the switches turn on and off at the corresponding instants, and finally generates the PWM signals required to drive the inverter.
This article was compiled with AI and proofread manually.