Pulse width modulation is a form of signal communication that transposes a signal from analog to digital form. Analog signals with changing amplitude and frequency pass through a comparator and are compared to a carrier signal, typically a triangular waveform. When the analog signal's magnitude exceeds that of the carrier, the PWM circuit produces high output. Conversely, when the analog signal is less than the carrier signal magnitude, PWM circuits produce low output. Thus, a series of equally spaced pulses, the widths of which correspond to the analog and carrier's relative amplitudes, define the output. (See Fig. 1.)

Microcontrollers and DSPs often incorporate such PWM conversion circuits as on-chip peripherals to drive electromechanical components like brakes and motors. Not all chips employ the same switching methods, however, making it necessary to thoroughly study the differences before settling on a commercial PWM IC for a particular application.

Switching methods

Most dc and six-step brushless motor drives adopt switch configurations shown in Fig. 2. Here, each terminal connects to a pair of switches and operates at one of three conditions: High (with the top switch on and bottom switch off), Low (with the top switch off and bottom switch on), or Off — with both switches off. If both switches in the same phase turn on, the bus voltage can short-circuit, causing a “shoot-through” condition. To avoid this, most PWM chips wait or pause from 100 nsec to 3 µsec after powering off one switch and turning on another. In brushless and dc motors, there are four switching states that system engineers (and circuit designers) must be concerned with:

  • During driving, one phase is high, while the other is low. In this state, called the “D” state, applying voltage short-circuits the windings to the low or high-side terminal. Permanent magnet motors then determine current from the previous state: If the prior stage contains negative current, voltage is decreasing. As voltage changes in such a highly inductive circuit, so does current — but at a much slower rate.

  • Two states correspond to short circuit conditions. In the “Sh” state, where the short circuit is high, two phases short to the high-side bus. Similarly, the “Sl” state corresponds to two phases shorting to the low-side bus.

  • During regeneration, the “R” state, one phase is high, while the other is low.

Driving and regeneration are opposite states: Power flows from the dc link to the motor during driving, and travels in the reverse for regeneration. Regardless of the state, total current appears as torque. In Figs. 3 to 8, the PWM switching frequency of each mode is 20 kHz and A-phase line current is set to 1 A = 100 mV. Figs. 3A through 8A show brushed dc motor operation at various switching schemes, while Figs. 3B through 8B represent a brushless motor.

PWM Scheme Zero: Two-quadrant switching

In this scheme, permanently turning on switch Sb' while Sa pulse-width modulates sends positive A-phase voltage to the motor. In this setup, when both Sa and Sb' are on (in other words, during driving), current Ia increases and drives the motor forward. With both switches off, current freewheels, slowly decaying through winding and switch resistance. This happens through an anti-parallel diode of Sb and the conducting transistor Sa — the state that short-circuits to high. Turning on Sa' permanently while modulating switch Sb applies negative A-phase voltage and drives the motor backward. Note that only two switchings occur in a PWM period.

Since current raises temperature and increases power supplied to the motor (especially when moving a load) Scheme Zero is the best and simplest of all possibilities. It switches the least number of times per cycle and operates in quadrant zero or two. This means that applications without braking capabilities — such as fans and pumps — benefit from single-side driving. The required switching sequence in one PWM period to provide 30% bus voltage is 70% short circuit to low and 30% driving.

In Scheme Zero, only high-side switches modulate. This is advantageous for small bus capacitance requirements and low switching losses. One drawback: The motor cannot change direction quickly (two-quadrant operation), as it relies on mechanical friction to decelerate. Fig. 3 indicates a 20-mV peak-to-peak current ripple (or 0.2-A ripple) for approximately two electrical cycles.

PWM Scheme One: Four-quadrant switching, simultaneous

Here, pulse width modulating Sa and Sb' simultaneously applies positive A-phase voltage. When both Sa and Sb' turn on (during driving) current Ia increases and drives the motor forward, just as in scheme Zero. Motor current during the PWM off period decays rapidly through two anti-parallel diodes of Sa' and Sb, and reverse application of bus voltage (for regeneration) ensues. Modulating Sa' and Sb applies negative A-phase voltage and reverses rotation.

Unlike Scheme Zero, two simultaneous switchings of two transistors occur in a single PWM period. The switching sequence to produce 30% of the bus voltage is 35% regeneration and 65% driving, resulting in positive bus voltage 30% (65% to 35%) of the period. When using Scheme One, the size requirement on bus capacitance is very large and switching losses are high.

Fig. 4 shows 32-mV peak-to-peak current ripple. A shunt regulator or power supply with bi-directional flow is used, due to the rising bus voltage during regeneration. Although this adds cost and complexity, the energy from braking (friction) must dissipate; otherwise, voltage increases and blows the drive.

PWM Scheme Two: Four-quadrant switching, simultaneous, complementary

This mode (see Fig. 5) operates similarly to Scheme One, except that its switching states Sb and Sa' complement Sa and Sb' . However, there are two distinct differences: First, current changes direction within a given period, offering finer control at around zero current. Second, current during regeneration flows through the MOSFETs (instead of the anti-parallel diode) to achieve lower-conduction loss. This technique is called “synchronous rectification” and is employed in many MOSFET-based power converters. By using MOSFETs with low conduction resistance, conduction losses are less than a diode's.

PWM Scheme Three: Four-quadrant, non-simultaneous

This scheme is also similar to Scheme One (see Fig. 6) except that each phase switches at different times. The switching of Sb' is the same as Sa, but with a half-period delay for a total of four switchings (as opposed to two) in one period. To produce 30% of the bus voltage: short circuit to low (35%) while driving (15%) and short circuit to high (35%) while driving (15%). Regeneration occurs when the duty of Sa is less than 50%. To produce regeneration for 30% of the time, short circuit to low 35% with regeneration (15%) and short circuit to high (35%) with regeneration (15%). Due to non-simultaneous switching, the current ripple's frequency is twice the switching frequency.

PWM Scheme Four: Four-quadrant, non-simultaneous, complementary

This mode, represented in Fig. 7 operates similarly to Scheme Three and also displays a half-cycle delay. However its switching states, Sb and Sa' , complement Sa and Sb' . Here too, conduction losses can be reduced. Scheme Four is also comparable to the PWM waveforms of sinusoidal PWM, as seen in Fig. 8.

Advantages and disadvantages

Switching schemes in most dedicated brushless-motor control chips are either fixed to Scheme Zero, or selectable from two schemes (Zero or One). Currently, no dedicated control chips offer Schemes Three and Four. However, both can be implemented with additional hardware circuits employed with the motor control chip or with a DSP-based design. Commercial motor control boards let users select their desired switching scheme for testing. The resulting data then informs users of whether or not they are working with an appropriate switching scheme, and if they can improve total power loss in motors and drives.

The best switching scheme depends on the application's requirements. Split switching schemes (Schemes Three and Four) suit low-inductance, high-current motors with pronounced PWM current ripple better than simultaneous switching schemes (Schemes One and Two). Their efficiency at low speeds and light loads significantly improves because of the current ripple's dependence on supply voltage and motor inductance. Application examples include battery-operated motors in power tools, automotive motors, and slotless motors.

Compared to Schemes One and Three, Schemes Two and Four (complementary switching) minimize conduction losses (synchronous rectification using MOSFETs) and offer fine current control. In simultaneous switching schemes (Schemes One and Two) power flows repetitively between the motor and dc link, a characteristic demanding capacitors with a high bus capacitance and low effective series resistance. Oftentimes, these schemes produce higher electromagnetic interference. For all other schemes, a free-wheeling state (with a short circuit to high or low) is introduced after an active drive or regeneration state.

When two-quadrant operation meets the performance goal (as in fans and pumps) Scheme Zero provides the most cost effective and efficient solution, since it switches the least number of times per PWM cycle. Scheme Four is very similar to sinusoidal operation except that it uses six-step commutation. A synchronous regulator drives the system and enables the motor to run more efficiently. This efficiency depends on current-loop tuning. Compared to sinusoidal drives, six-step drives produce excessive torque ripple at six times the electrical line frequency and its harmonics. This ripple produces audible noise and increases system loss. However, while sinusoidal drives reduce torque, they also increase resolution feedback and current. Given the limitations of fixed designs, perhaps the most flexible motor controller is one based on a digital signal processor that selects a preprogrammed switching scheme for optimal power and operation. These preprogrammed schemes can be optimized for system efficiency, drive losses, and related sizing/cooling issues: motor losses and torque ripple, PWM noise and electromagnetic interference, and bus capacitor size.


This topic was also presented at a PE Technology Conference in Rosemont, Ill. For more information, call (703) 327-2797.

TOPICS OF DISCUSSION

  • Switching methods
  • PWM Scheme Zero: Two-quadrant switching
  • Scheme One: Four-quadrant switching, simultaneous
  • Scheme Two: Four-quadrant switching, simultaneous, complementary
  • Scheme Three: Four-quadrant non-simultaneous
  • Scheme Four: Four-quadrant non-simultaneous, complementary
  • Advantages and disadvantages
Comparing chips
PART NUMBER SWITCHING SCHEME
Motorola MC33035/33033 Scheme Zero
Hitachi ECN3030/3035 Scheme Zero
TI UC3625/UCC3626 Scheme Zero or One
Vishay Siliconix Si9979 Scheme Zero or One
Allegro A3932 Scheme Zero, One, or Two
Several DSP-based chips are available for motor control operation, but only Schemes 0 to 2 are preprogrammed.