So, which PWM technique is best for your motor control application? By now you have probably surmised that there is no “one” PWM technique that is the best for all applications. But the technique we are going to discuss today comes pretty close. It's called the Unipolar 4-Quadrant PWM Technique (Form II), which is represented below:
As with the Bipolar PWM technique that I discussed in my last blog, there is no forward/reverse signal. Directional information is encoded within the PWM input levels, which can transition between +1 and -1. Analog comparators are used to compare the input voltage levels against a triangle carrier signal to generate the “L” and “R” PWM signals. In a microcontroller which uses a digital PWM peripheral, the comparison is done digitally between the output of a counter that counts up and down, and a digital word which represents the desired pulse width.
Since each half of the H-Bridge is driven in a complementary fashion, we must include dead-time between the top and bottom PWM signals. Assuming dead-time is supplied internally by the PWM module, this technique requires four PWM pins on your processor! Despite the fact that this technique has an insatiable appetite for PWM signals, it has all the advantages of the previous unipolar topologies, PLUS a unique advantage which can justify its selection in most cases; …it DOUBLES the PWM frequency seen by the motor! We could go through a harmonic decomposition of the waveforms to show this effect mathematically, but it is much easier to understand this effect by simply studying the waveforms above. Assuming that the “L” waveform appears on the left half of the H-bridge, and the “R” waveform appears on the right half of the H-bridge, then the motor will see the difference between these two waveforms. If you subtract the “R” waveform from the “L” waveform, you get the blue waveform, which clearly has twice the PWM frequency as the red or green waveforms. This is usually a desirable feature since the L/R time constant of the motor will be twice as effective at filtering out the carrier harmonics. However, the transistors will still switch at the lower carrier frequency, which is also good for the switching losses in the H-Bridge. This is one of those rare moments in engineering where you can have your cake, and eat it too! :-) To see an animation of this PWM technique operating in Quadrant 1, click on the hyperlink here . A .gif of this technique operating in Quadrant 4 can be seen by clicking on the link here .
In order to achieve the PWM frequency doubling effect, there are two requirements that must be in place:
- The two PWM signals for each side of the H-Bridge must be center-aligned. Notice the “L” and the “R” signals in the diagram above. The middles of the high-side pulses between the two signals are aligned, as indicated by the dashed vertical lines. Similarly, the middles of the low-side pulses are also aligned. This condition is easily created by selecting the correct operating mode of the PWM module on most motor control processors.
- The Left and Right PWM threshold values MUST always be equal and opposite in polarity. For example, if the “Left PWM” signal is a sinusoidal waveform, then the “Right PWM” signal must be the same sinewave shifted by 180 degrees. This distinction will become important when we extend this technique to three-phase systems.
With bipolar PWMs discussed in the previous blog, there were no recirculating currents within the H-Bridge, and the motor current always flowed through the shunt resistor. But today’s technique (as with all unipolar PWM techniques) has blackout intervals during portions of the PWM cycle when a single shunt resistor is used, due to recirculating currents within the H-Bridge. Also, if we use a shunt signal amplifier with finite bandwidth and slew-rate specs, we must place limits on the allowable extents of the PWM duty cycle to prevent current pulses on the resistor that are too narrow to be processed by the amplifier. However, if we use TWO resistors as shown above, there will always be an opportunity to read the motor current on at least one of the resistors within the PWM cycle regardless of the duty cycle value. In fact, we now have visibility to the motor current even when it is recirculating within the bottom half of the H-Bridge! The disadvantages of this approach however are rather obvious, and include having twice as many components for current sensing, and twice the power loss dissipated by the shunt resistors.
A VisSim simulation which compares this PWM technique to the classic Bipolar PWM technique can be found here . Again, if you don’t have VisSim installed on your computer, you can download and install a free VisSim file viewer at the link here . Go ahead and open the file and click the green RUN arrow. Change the PWM duty-cycle slider and compare the current ripple for the unipolar technique to that of the bipolar technique, especially at lower duty cycle values. The lower current ripple results in less heating in the motor, and represents the main advantage of this technique.
Up to now, we have only discussed the application of PWMs to DC motors. But what about AC motors? In the next blog in this series, we will extend this unipolar PWM technique to multi-phase applications, and conclude with a further investigation of regeneration and plugging. In the meantime…
Keep those motors spinning! :-)
To view more informative blogs about motor control, visit www.ti.com/mcblog-ecn .
So, which PWM technique is best for your motor control application? By now you have probably surmised that there is no “one” PWM technique that is the best for all applications. But the technique we are going to discuss today comes pretty close. It's called the Unipolar 4-Quadrant PWM Technique (Form II)...