Dave Wilson, Motion Products Evangelist, Texas Instruments
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:
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! :-)
Thanks for information you provided in these blog entries.
Are there any application and/or design notes that discuss the technique outlined in this entry?
The technique referenced in this blog is the standard center-aligned technique that is used with just about all of our reference designs, with the exception that we are usually talking about controlling a three phase motor instead of a DC motor. As a result, we must violate the requirement that the two modulation waveforms (one for each side of the H-bridge) must be 180 degrees out of phase with each other, since three-phase waveforms are inherently 120 degrees out of phase with each other. However, I cannot point to a specific app. note where this is discussed in any great length.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.