Circuits and methods for reducing distortion and noise in pulse width modulation systems utilizing full-bridge drivers
A pulse width modulation circuit for driving a full-bridge output load includes a pulse width modulation stage for generating, from an input data stream, a pulse width modulated data stream for driving a terminal of a full-bridge output load and another pulse width modulated data stream for driving another terminal of the full bridge output load. A delay circuit delays the another pulse width modulated data stream relative to the pulse width modulated data stream such that edges of the another pulse width modulated data stream and edges of the pulse width modulated data stream are temporally spaced.
Latest Cirrus Logic, Inc. Patents:
- Driver circuitry
- Splice-point determined zero-crossing management in audio amplifiers
- Force sensing systems
- Multi-processor system with dynamically selectable multi-stage firmware image sequencing and distributed processing system thereof
- Compensating for current splitting errors in a measurement system
The present invention relates in general to pulse width modulation techniques, and in particular, to circuits and methods for reducing distortion and noise in pulse width modulation systems utilizing full-bridge drivers.
BACKGROUND OF INVENTIONDelta-sigma modulators (noise shapers) are particularly useful in digital to analog and analog to digital converters (DACs and ADCs). Using oversampling, a delta-sigma modulator spreads quantization noise power across the oversampling frequency band, which is typically much greater than the input signal bandwidth. Additionally, a delta sigma modulator performs noise shaping by acting as a lowpass filter to the input signal and a highpass filter to the noise; most of the quantization noise power is thereby shifted out of the signal band.
In addition to data conversion applications, delta-sigma noise shapers are increasingly utilized in the design of digital amplifiers. In one particular technique, a digital delta-sigma noise shaper provides a noise shaped (quantized) digital data stream to a pulse width (duty cycle) modulated (PWM) stream, which in turn drives a linear amplifier output stage and associated load. This technique is generally described in U.S. Pat. No. 5,784,017, entitled “Analogue and Digital Convertors Using Pulse Edge Modulators with Non-linearity Error Correction”, granted Jul. 21, 1998, and U.S. Pat. No. 5,548,286, entitled “Analogue and Digital Convertor Using Pulse Edge Modulators with Non-linearity Error Correction”, granted Aug. 20, 1996, both to Craven, U.S. Pat. No. 5,815,102, entitled “Delta Sigma PWM DAC to Reduce Switching”, granted Sep. 29, 1998, to the present inventor (incorporated herein by reference), U.S. patent application Ser. No. 09/163,235 to Melanson (incorporated herein by reference), and International Patent Application No. PCT/DK97/00133 by Risbo.
One problem, which occurs in PWM circuits driving full-bridge loads, is noise and distortion caused by the non-zero impedance of the voltage supply. In particular, for a full-bridge output, a pair of drivers, typically operating from a single voltage supply, is utilized to drive a corresponding pair of output signal paths coupled to the full-bridge output load. Glitches on the output signal paths occur when the outputs of the two drivers switch simultaneously or nearly simultaneously. Specifically, the output of one-driver transitions towards the power supply voltage and the output of the other driver transitions towards ground. Due to the non-zero impedance of the voltage supply, the output paths do not settle to their final state instantaneously, and glitches are generated as an intermediate voltage appears across the corresponding outputs.
One approach to driving in a full-bridge output of a PWM system is disclosed in U.S. Pat. No. 6,373,336 to Anderskouv et al., and entitled Method Of Attenuating Zero Crossing Distortion And Noise In An Amplifier, An Amplifier And Uses Of The Method And The Amplifier, issued Apr. 16, 2002 (hereinafter the Anderskouv system). In this system, each terminal of a full-bridge output load is driven by a different PWM encoded signal provided by a corresponding separate PWM processing path. One processing path processes an input data stream, while the other processing path processes the complement of the input data stream. These complementary data streams drive a corresponding pair of delta-sigma modulators. Except for small levels of the input signal, when the input stream and its complement are close in value, the delta-sigma modulators generate substantially different modulated streams. The modulated data streams drive corresponding separate PWM modulation stages, which in turn drive the terminals of the full-bridge output loads.
Disadvantageously, the Anderskouv system does not guarantee that the outputs of the PWM modulators will not switch simultaneously or nearly simultaneously. In particular, for small values of the input signal, the outputs of the PWM stages of the Anderskouv system will switch nearly simultaneously. This near simultaneous switching will cause power supply glitches in the output signal, which will not be masked by the corresponding small output signals. Another significant disadvantage of the Anderskouv system is its hardware inefficiency, since two PWM paths, each including a PWM encoder, are required. This hardware inefficiency is particularly disadvantageous when utilized in multi-channel signal processing systems, such as those required in advanced audio applications, such as home theater audio.
Hence, given the increased utilization of PWM systems in such applications as audio signal processing, new, efficient, techniques are required for minimizing distortion and noise in full-bridge outputs driven by PWM—encoded data.
SUMMARY OF INVENTIONThe principles of the present invention are embodied in pulse width modulation circuits and methods, which allow a single pulse width modulator stage to drive a full-bridge output load with minimal distortion and noise. According to one exemplary embodiment, a pulse width modulation circuit is disclosed for driving a full-bridge output load, which includes a pulse width modulation stage for generating, from a input stream, a pulse width modulated data stream for driving a terminal of a full-bridge output load and another pulse width modulated data stream for driving another terminal of the full bridge output load. A delay circuit delays the another pulse width modulated data stream relative to the pulse width modulated data stream such that edges of the another pulse width modulated data stream and edges of the pulse width modulated data stream are temporally spaced.
Embodiments of the present principles are efficient, since only a single pulse width modulator stage or circuit is required to drive a full-bridge load with the required pair of pulse width modulated data streams. The inclusion of a delay in a selected one of the data streams insures that corresponding edges of such pulse width modulated data streams do not coincide at the circuit output. Advantageously, noise and distortion are minimized, even if a single power supply is utilized by the driver circuits driving the full-bridge load. The efficiencies realized by these principles are particularly useful in multiple-channel pulse width modulation devices, such as those utilized in multiple-channel audio systems.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
The principles of the present invention and their advantages are best understood by referring to the illustrated embodiment depicted in
Serial audio data (SDATA) are recovered from the given digital audio storage media by a digital media drive 101, such as a compact disk (CD) player, digital audio tape (DAT) player, or digital versatile disk (DVD) unit. In the illustrated embodiment, the recovered audio data are in a multiple-bit format such as PCM. In addition to the audio data stream SDATA, media drive 101 also provides the corresponding audio clock and control signals. In particular, the audio data are input in response to the serial clock (SCLK) signal, which times the input of each data bit of the audio data stream SDATA, a left—right clock (LRCK) signal, which times the input of samples of left and right channel stereo data, and a master clock (MCLK), which controls the overall audio processing timing.
The resulting recovered audio data stream SDATA undergoes digital processing, including digital filtering, in digital audio processing block 102, prior to conversion to analog audio in digital to analog converter (DAC) 103. Amplifier block 104 then drives a set of speakers 105a, 105N. For example, in a home theater application, speakers 105a, 105N may be utilized in any combination for the front—left, front—right, surround—left, surround—right, center, subwoofer, rear—left, and rear—right channels. As discussed further below, in the illustrated embodiment, speakers 105a, . . . , 105N are driven in a full-bridge fashion.
Multiple-channel audio DAC 200 is discussed in further detail below. However, generally, DAC 200 includes N number of processing paths 201a, . . . , N, two of which, 201a and 201N, are shown for reference in
Each processing path 201a, . . . , N includes a noise shaper (delta-sigma modulator) 202 for re-quantizing the corresponding channel of digital audio data D
Exemplary pulse-width modulator (PWM) stage 204 shown in detail in
The PWM stream output from pulse width modulator stage 204 in turn controls a pair of full-bridge drivers, respectively formed by switch pairs 301a and 301b and 302a and 302b. Switch pairs 301a and 301b, and 302a and 302b are driven by the output
Analog to digital converters (ADCs) 303 and 304 respectively monitor the outputs of switch pairs 301a-301b and 302a-302b and provide corresponding scaled digital representations V1 and V2 to noise shaper 202. Noise shaper 202 utilizes the outputs of ADCs 303 and 304 to correct for variations and noise in the voltage Vdd. Output stage 206 further includes a linear filter 307, which generates the smooth audio output signal A
According to the principles of the present invention, a delay is introduced within a selected one of the two signal paths between PWM controller 204 and switch pairs 301a-301b and 302a-302b to insure that switch pairs 301a-301b and 302a-302b do not switch simultaneously or nearly simultaneously. In the illustrated embodiment, a delay stage 305 is shown which delays the inverse PWM encoded stream
Advantageously, exemplary processing path 201a of
Without the introduction of a delay by delay stage 304, nodes A and B at the outputs of transistor pairs 301a-301b and 302a-302b would switch substantially simultaneously, as shown in the upper two traces of
Advantageously, delay stage 305 insures that the voltages at nodes A and B do not switch simultaneously or nearly simultaneously. In the illustrated embodiment, delay stage 305 is implemented with a shift register operating in response to the clock signal
In the illustrated embodiment, delay stage 305 is register programmable and delays the edges of PWM signal
If the delay introduced by delay stage 305 is kept small, no phase compensation is required at nodes A and B. Alternatively, phase compensation may be introduced in delta-sigma modulator 204 of
Pulse width modulation stage 500 includes PWM path 501a and 501b operating in parallel on the input signal
In the digital embodiment of pulse-width modulation stage 500 shown in
According to the inventive principles, the PWM encoded output signal from second PWM path 501b is inverted by an inverter 504 and then delayed by a delay stage 505. The resulting delayed and inverted PWM signal output from PWM path 501b drives the inverted (−) input to a full-bridge output load 506. PWM path 501a directly drives the non-inverted (+) input to full-bridge output load 506, without inversion or delay.
As discussed in detail above, the introduction of a time difference between the PWM signals driving the non-inverted and inverted terminals of a full-bridge load advantageously ensure that, at least for small levels of the input signal, edges do not coincide temporally.
Although the invention has been described with reference to specific embodiments, these descriptions are not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments of the invention, will become apparent to persons skilled in the art upon reference to the description of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed might be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
It is therefore contemplated that the claims will cover any such modifications or embodiments that fall within the true scope of the invention.
Claims
1. A pulse width modulation circuit for driving a full-bridge output load comprising:
- a single pulse width modulation stage for generating from an input data stream a pulse width modulated data stream for driving a terminal of a full-bridge output load and from the input data stream another pulse width modulated data stream for driving another terminal of the full bridge output load, wherein the another pulse width modulated data stream is a complement of the pulse width modulated data stream; and
- delay circuitry for delaying the another pulse width modulated data stream relative to the pulse width modulated data stream such that edges of the another pulse width modulated data stream and edges of the pulse width modulated data stream are temporally spaced.
2. The pulse width modulation circuit of claim 1, further comprising:
- a driver circuit for driving the terminal of the full-bridge output load in response to the pulse width modulated data stream;
- another driver circuit for driving the another terminal of the full-bridge output load in response to the another pulse width modulated data stream; and
- a power supply having a non-zero output impedance supplying a voltage to the driver circuit and the another driver circuit.
3. The pulse width modulation circuit of claim 1, wherein the pulse width modulation circuit is a selected one of a plurality of pulse width modulation circuits forming a portion of a multiple-channel signal processing system.
4. The pulse width modulation circuit of claim 1, wherein the delay circuit comprises a shift register operable to delay the another pulse width modulated data stream by a selected number of periods of a clock signal.
5. The pulse width modulation circuit of claim 4, wherein the selected number of clock periods of the clock signal is programmable.
6. The pulse width modulation circuit of claim 4, wherein the clock signal comprises a clock signal utilized by the pulse width modulation stage for generating the pulse width modulated data stream.
7. The pulse width modulation circuit of claim 1, wherein the delay circuitry is integral to the pulse width modulation stage.
8. A method of driving a full-bridge load comprising:
- generating from an input data stream a pulse width modulated data stream, utilizing a single pulse width modulation stage, for driving a terminal of a full-bridge load and another pulse width modulated data stream for driving another terminal of the full bridge output load, wherein the another pulse width modulated data stream is a complement of the pulse width modulated data stream; and
- delaying the another pulse width modulated data stream relative to the pulse width modulated data stream such that edges of the another pulse width modulated data stream and edges of the pulse width modulated data stream are temporally spaced.
9. The method of claim 8, wherein delaying the another pulse width modulated data stream comprises delaying the another pulse width modulated data by a selected number of periods of a clock signal.
10. The method of claim 8, wherein in generating the pulse width modulated data stream and the another pulse width modulated data stream is performed in response to a clock signal and delaying the another pulse width modulated data stream comprises delaying the another pulse width modulated data stream by a selected number of periods of the clock signal.
11. The method of claim 8, selecting a user selectable amount of delay for delaying the another pulse width modulated data stream.
12. The method of claim 8, wherein the pulse width modulated data stream and the another pulse width pulse data stream are generated from a single power source.
13. An audio circuit comprising:
- a data path including: a single pulse width modulation engine for encoding an input signal into an pulse width modulated data stream and an inverse of the pulse width modulated data stream; a first driver circuit for driving a first node in response to the pulse width modulated data stream; a second driver circuit for driving a second node in response to the inverse of the pulse width modulated data stream; and a delay circuit for delaying a selected one of the pulse width modulated data stream and the another pulse width modulated data stream such that edges of the pulse width modulated data stream at the first node are temporally spaced from corresponding edges of the inverse of the pulse width modulated data stream at the second node.
14. The audio circuit of claim 13, further comprising a noise shaper for generating the input signal to the pulse width modulation engine.
15. The audio circuit of claim 13, wherein the data path comprises a selected one of a plurality of like data paths.
16. The audio circuit of claim 13, wherein the delay circuit is programmable to delay the selected one of the pulse width modulated data stream and the inverse of the pulse width modulated data stream by a selected amount.
17. The audio circuit of claim 13, wherein the delay circuit includes a shift register for delaying the selected one of the pulse width modulated data stream and the inverse of the pulse width modulated data stream by a selected number of clock periods of a clock signal.
18. The audio circuit of claim 13, further comprising a full-bridge load coupled across the first and second nodes.
19. The audio circuit of claim 18, wherein the full-ridge load comprises an audio speaker.
20. The audio circuit of claim 13, further comprising a power supply coupled to both the first and second drivers.
21. A pulse-width modulation stage for driving a full-bridge load comprising:
- a first path for generating a first pulse-width modulated data stream from an input data stream for driving a first terminal of a full-bridge load;
- a second path for generating a second pulse width modulated data stream from the input data stream;
- an inverter for inverting the second pulse width modulated data stream; and
- a delay stage for delaying by a selected amount an inverted second pulse width modulated data stream output from the inverter, a delayed inverted second pulse-width modulated data stream output from the delay stage for driving a second terminal of the full-bridge load.
22. The pulse-width modulation stage of claim 21, wherein the first and second paths each comprises a noise shaper and a pulse-width encoder.
23. The pulse-width modulation stage of claim 21, wherein the first and second paths each comprises a pulse-width modulation encoder.
24. The pulse-width modulation stage of claim 23, wherein each pulse-width modulation encoder comprises a digital pulse-width modulation encoder.
25. The pulse-width modulation stage of claim 23, wherein each pulse-width modulation encoder comprises an analog pulse-width modulation encoder.
5631817 | May 20, 1997 | Minami |
6373336 | April 16, 2002 | Anderskouv et al. |
6501234 | December 31, 2002 | Lin et al. |
6614208 | September 2, 2003 | Narita |
20030042976 | March 6, 2003 | Midya et al. |
20030071586 | April 17, 2003 | Lin et al. |
20070116109 | May 24, 2007 | Stanley |
Type: Grant
Filed: Apr 21, 2004
Date of Patent: Dec 11, 2007
Assignee: Cirrus Logic, Inc. (Austin, TX)
Inventors: Johann Guy Gaboriau (Austin, TX), Melvin L. Hagge (Round Rock, TX), Lingli Zhang (Austin, TX), John Laurence Melanson (Austin, TX)
Primary Examiner: Tesfaldet Bocure
Attorney: Thompson & Knight LLP
Application Number: 10/828,816
International Classification: H03K 7/08 (20060101);