Limiting clipping in an amplifier is accomplished in the feedback loop of a class D PWM amplifier that includes an integrator coupled to an input node and configured to generate an integrated input signal such that a comparator may then generate a PWM signal for driving an amplifier output stage based on a comparison to a triangle wave signal. To this end, the amplifier also includes a threshold signal generator for generating high and low voltage thresholds based on the triangle wave signal to be used to engage compensation circuits for limiting the overall amplification. Such compensation circuits may be bipolar junction transistors that are disposed in the feedback loop of the integrator. Thus, the overall bandwidth of the amplifier itself is not affected by adding a limiter circuit aimed at reducing clipping.
|
6. A circuit comprising:
an input node configured to receive an analog input signal;
an integrator coupled to the input node and configured to generate an analog integrator output signal on an internal node; and
a limiter coupled between the input node and the internal node and comprising a path to bypass a current around the integrator and exponentially limit the analog integrator output signal to reduce clipping of the analog integrator output signal;
wherein a magnitude of the current is dependent on a potential difference between the analog integrator output signal and a threshold voltage.
1. An amplifier circuit, comprising:
an input node configured to receive an input signal;
an integrating amplifier having an integrating amplifier input coupled to the input node and having an integrating amplifier output configured to generate an integrating amplifier output signal;
an integration feedback loop connecting the integrating amplifier output and the integrating amplifier input; and
an analog limiter circuit coupled in parallel to the integration feedback loop between the integrating amplifier input and the integrating amplifier output and configured to variably bypass a current around the integration feedback loop in response to a voltage of the integrating amplifier output signal.
3. An amplifier, comprising:
an input node configured to receive an analog input signal;
an integrator coupled to the input node and configured to generate an integrator output signal on an internal node;
a capacitive feedback loop coupling the internal node to the input node; and
a limiter circuit coupled between the input node and the internal node parallel to the capacitive feedback loop and configured to exponentially limit the integrator output signal by shunting current from the capacitive feedback loop,
wherein the limiter circuit comprises a first compensation circuit configured to provide a first current path for shunting current in response to the integrator output signal approaching a first voltage threshold.
2. The amplifier circuit of
4. The amplifier of
5. The amplifier of
8. The amplifier circuit of
9. The amplifier circuit of
10. The amplifier circuit according to
wherein the analog limiter circuit further comprises a first limit transistor configured to generate the control signal in response to a fixed reference voltage derived from a peak voltage of a triangle wave, and
wherein the transistor varies a resistance of the conduction path in response to a difference between a voltage of the control signal on the control node and the voltage of the integrating amplifier output signal.
11. The amplifier circuit of
12. The amplifier circuit of
13. The amplifier circuit of
14. The amplifier circuit of
15. The amplifier circuit of
16. The amplifier circuit of
a first current compensation circuit comprising:
a first variable conductance path connected in parallel to the integration feedback loop and configured to variably bypass the current around the integration feedback loop; and
a first limit transistor configured to control a variable conductance of the first variable conductance path.
17. The amplifier circuit of
18. The amplifier circuit of
19. The amplifier circuit of
a second current compensation circuit comprising:
a second variable conductance path connected in parallel to the integration feedback loop and in parallel to the first variable conductance path and configured to variably bypass the current around the integration feedback loop;
a second limit transistor configured to control a variable conductance of the second variable conductance path,
wherein the first current compensation circuit limits the integrating amplifier output signal to less than a high voltage threshold, and
wherein the second current compensation circuit limits the integrating amplifier output signal to more than a low voltage threshold.
20. The amplifier circuit of
|
This application claims priority from Chinese Application for Patent No. 201410045780.1 filed Jan. 28, 2014, the disclosure of which is incorporated by reference.
Amplifiers are used in many areas of electronics to increase amplitudes of various signals in ways needed by a circuit. For example, audio electronics employ amplifiers to drive speakers at higher volumes by amplifying an audio input signal. Amplifiers are classified in a number of different classifications, one of which is class D. Class D amplifiers (sometimes called switching amplifiers) generate a variable-duty-cycle square wave representing the desired digital output signal (e.g., an audio output signal to drive a speaker) by digitally integrating a feedback signal in the amplification feedback loop. The switching frequency is typically chosen to be ten or more times the highest frequency of interest in the input signal.
In this manner, a class D amplifier delivers a constantly changing voltage signal to a fixed load (e.g., speaker) as modulated by the integrated feedback signal. However, if the digital integrator becomes saturated due to a high level input signal or an out of control feedback loop, the output signal will become distorted in a manner commonly referred to as “clipping”. Output clipping is a problem that may cause the class D amplifier to introduce noise or other distortion into the output audio signal which is not desirable.
In an embodiment, a circuit comprises: an input node configured to receive an input signal; an amplifier coupled to the input node and configured to generate an amplified input signal on an output node; and a limiter circuit coupled to the amplifier in a feedback loop and configured to limit the amplified signal.
In an embodiment, a class D pulse-width modulated amplifier comprises: an input node configured to receive an analog input signal; an integrator coupled to the input node and configured to generate an integrated input signal on an internal node; a pulse-width modulated signal generator coupled to the internal node and configured to generated a pulse-width modulated signal for driving an amplifier output stage; and a limiter coupled between the input node and the internal node and configured to reduce clipping.
In an embodiment, an integrated circuit comprises: an input node configured to receive an analog input signal; an integrator coupled to the input node and configured to generate an integrated input signal on an internal node; a pulse-width modulated signal generator coupled to the internal node and configured to generated a pulse-width modulated signal for driving an amplifier output stage; and a limiter coupled between the input node and the internal node and configured to reduce clipping.
In an embodiment, a system comprises: a first integrated circuit having: an input node configured to receive an analog input signal; an integrator coupled to the input node and configured to generate an integrated input signal on an internal node; a pulse-width modulated signal generator coupled to the internal node and configured to generated a pulse-width modulated signal for driving an amplifier output stage; and a limiter coupled between the input node and the internal node and configured to reduce clipping; and a second integrated circuit coupled to the first integrated circuit.
In an embodiment, a method comprises: receiving a first signal at a first node; comparing the input signal to a threshold signal; amplifying the input signal; and limiting the amplifying if the input signal exceeds the threshold.
Aspects and many of the attendant advantages of the claims will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
The following discussion is presented to enable a person skilled in the art to make and use the subject matter disclosed herein. The general principles described herein may be applied to embodiments and applications other than those detailed above without departing from the spirit and scope of the present detailed description. The present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed or suggested herein.
By way of overview, the subject matter disclosed herein may be directed to a circuit and method for limiting amplification in an amplifier if an input signal exceeds a high or low threshold. Such limiting may be accomplished in the feedback loop of the class D PWM amplifier. In an embodiment, the circuit may include an input node configured to receive an analog audio input signal. The class D amplifier includes an integrator coupled to the input node and configured to generate an integrated input signal on an internal node such that a comparator coupled to the internal node may then generate a PWM signal for driving an amplifier output stage based on a comparison to a triangle wave signal. To this end, the amplifier also includes a threshold signal generator for generating high and low voltage thresholds based on the triangle wave signal to be used to engage compensation circuits for limiting the overall amplification.
The limiting may be accomplished with one of two compensation circuits configured to be turned on when the triangle wave signal exceeds a high or low threshold. In this manner, at times when the input signal may be too close to the high or low threshold such that clipping may occur, the compensation circuits are engaged to provide a current path in the feedback loop for currents that lead to clipping. Such compensation circuits may be bipolar junction transistors that are disposed in the feedback loop of the integrator. Thus, the overall bandwidth of the amplifier itself is not affected by adding a limiter circuit aimed at reducing clipping. These and other aspects are described below with respect to
Thus, an analog audio input signal 103 is coupled to an inverting input of a high-gain operational amplifier 110 (hereinafter “integrator 110”) that is coupled in a negative-feedback integrator configuration via a resistor and capacitor feedback branch 111. The non-inverting input of the integrator 110 is coupled to a reference voltage VREF. The reference voltage VREF is typically a voltage signal having an amplitude half way between the positive and negative power-supply voltages (not shown) of the amplifier circuit 100. The integrator 110 has an output node 130 and outputs an analog low-pass filtered version of the audio input signal received at the input node 103.
A comparator 105 receives the output signal of the integrator 110 on a first input node and receives a high-frequency triangle wave signal on a second input node. The triangle wave signal is generated from a triangle wave signal generator 101 which is, in turn, generated from a clock signal 102 (from a clock that is not shown in
The comparator 105 then compares the signals received at each of its nodes to yield one of two decisions. The comparator 105 is configured to generate a first output signal if the first input node exhibits a higher voltage than the second input and configured to generate a second output signal if the first input exhibits a lower voltage than the second input. For example, the comparator 105 outputs a “+1” logic voltage when the amplitude of the output signal from the integrator 110 is higher than the amplitude of the triangle wave from the triangle wave generator 101, and outputs a “−1” logic voltage when the amplitude of the output signal of the integrator 110 is lower than the amplitude of the triangle wave from the triangle wave generator 101. When the amplitude of the audio input signal 103 is approximately equal to the voltage reference VREF, then the duty cycle of the comparator 105 output is 50% as the amplitude of the triangle wave will be above VREF for about half of all comparison times and below VREF for the other half of the comparison times. This will result is an output signal from the comparator 105 that continuously cycles between a high logic voltage and a low logic voltage at pulsed intervals. That is, the comparator generates a series of PWM pulses of which the duty cycle is directly proportional with the instantaneous amplitude of the integrated audio input signal.
The comparator 105 output is coupled to an input of an output stage 120 that includes a driver/buffer circuit 115 (typically a MOS gate driver) which drives a complementary push-pull output stage 116. This produces an amplified replica of the comparator's PWM signal. The amplifier circuit 100 may include an output filter 135 to remove high-frequency switching components of the PWM output signal at the output node 130. The output stage 120 provides a PWM output signal for driving the speaker 125. Further, this output audio signal is also used as a feedback signal in a negative feedback loop 104 to the inverting input of the integrator 110 though a feedback resistor 127. The operation of the class D amplifier 100 of
When any amplifier is pushed to create an output signal with more power than an amplifier's power supply can produce, the amplifier will amplify the signal up to its maximum capacity before the signal simply “cuts” or “clips” at the maximum capacity of the amplifier. The portion of the signal which is beyond the capability of the amplifier is simply cut off. This results in a typical sine wave shaped analog audio signal becoming a distorted square-wave-type waveform such that the tops of the sine wave look to have been clipped off.
For example, if the amplitude of the audio input signal 103 goes very low, then this causes the integrator 110 output signal to approximately equal its positive supply rail, and, therefore, to equal the high-peak amplitude of the triangle wave signal. Therefore, even though the amplitude of the audio input signal 103 may be changing, the integrator 110 does not have enough “head room” to follow these changes, and, therefore, effectively “clips” the audio input signal 103. The result of this clipping causes the output of the comparator 105 to stay high until the amplitude of the audio input signal 103 decreases in amplitude enough to lower the integrator 110 output voltage to below the integrator's positive supply rail. A similar phenomenon happens when the audio input signal 103 voltage goes too high and causes the output of the comparator 105 to stay low until the amplitude of the audio input signal 103 decreases enough to increase the integrator 110 output voltage above the negative supply rail. This may be seen in
One technique for reducing or eliminating clipping is the use of a clip-detection circuit (not shown) that may monitor the output signal of the comparator 105 such that the integrator 110 may be reset when clipping is detected so that the integrator 110 does not saturate or introduce distortion into the eventual output signal. But a problem with this technique is that it introduces another negative feedback loop with the reset signal to the integrator 110, which includes the feed-forward path of the class D amplifier (e.g., the path through the comparator 105 itself). Therefore, the speed at which the clipping-detector circuit can react to, and correct, a clipping event is limited by the bandwidth of the feed-forward portion of the class D amplifier. Therefore, audible noise and distortion, and even integrator 110 saturation, may occur before any clipping-detector circuit is able to detect and correct the clipping.
The limiting circuit 370 utilizes a detection of the high and low voltage thresholds of the triangle wave from the triangle wave generator 301. As before, the triangle wave generator 301 generates a triangle wave from a clock signal from the clock 302. To determine the high and low voltage thresholds of the triangle wave, the limiting circuit 370 includes a triangle peak detector circuit 365. The triangle peak detector 365 is shown and described in greater detail with respect to
Thus, the peak voltage signals VHP and VLP may equal the respective high and low peaks of the triangle wave signal initially. The respective output nodes for the peak voltage signals VHP and VLP are coupled to respective non-inverting input nodes of a negative-feedback operational amplifiers 372 and 374. This amplifier stage holds the peak voltage signals VHP and VLP respectively. Then, a resistor network including resistors 375, 376 and 377 may be used to generate threshold voltage signals VH and VL to be used with other components of the limiter circuit 370. By varying the resistance of resistor 375, the threshold voltage signals VH and VL may be set to any voltage value equal to or below the detected peak voltage signals VHP and VLP. Similarly, the threshold voltage signals VH and VL also remain symmetrical about the voltage reference VREF.
Focus is now turned to only the top portion of
The emitter of the limit PNP transistor 380 is coupled to a base of a first current compensation circuit referred to as a feedback NPN transistor 383. Further, the feedback NPN transistor 383 has its conduction nodes coupled in parallel with the resistor and capacitor feedback branch 311 in the feedback loop of the integrator 310. Likewise, emitter of the limit NPN transistor 381 is coupled to a base of a second current compensation circuit referred to as a feedback PNP transistor 384. As with the feedback NPN transistor 383, the feedback PNP transistor 384 also has its conduction nodes coupled in parallel with the resistor and capacitor feedback branch 311 in the feedback loop of the integrator 310.
By disposing the feedback transistors 383 and 384 in the feedback loop of the integrator 310, the output of the integrator 310 can be exponentially limited as the voltage of the audio input signal 305 approaches the voltage thresholds VH and VL. This is because the compensation circuits (the feedback transistors 383 and 384) provide a path for current that would otherwise cause clipping in the output signal. The specific operation of these components is described in greater detail next.
During operation, the class D PWM amplifier 300 receives an audio input signal 303. In the case of a single-ended class D PWM amplifier 300, only the top portion of
As before, the audio input signal 303 is received on a node coupled to an inverting input of the integrator 310 where the non-inverting input of the integrator 310 receives the reference voltage VREF. As before, the reference voltage VREF is typically a voltage signal having an amplitude half way between the positive and negative power-supply voltages (not shown) of the amplifier circuit 300. The integrator 310 has an output node and outputs an analog low-pass-filtered version of the audio input signal received at the input node 303.
A comparator 305 receives the output signal of the integrator 310 on a first input node and receives the triangle wave signal on a second input node. The triangle wave signal generator 301 generates a triangle wave signal having the same period as the clock signal 302. The comparator 305 is configured to generate a first output signal if the first input node exhibits a higher voltage than the second input and configured to generate a second output signal if the first input exhibits a lower voltage than the second input. As before, the comparator 305 outputs a “+1” logic voltage when the amplitude of the output signal from the integrator 310 is higher than the amplitude of the triangle wave from the triangle wave generator 301, and outputs a “−1” logic voltage when the amplitude of the output signal of the integrator 310 is lower than the amplitude of the triangle wave from the triangle wave generator 301. This will result is an output signal from the comparator 305 that continuously cycles between a high logic voltage and a low logic voltage at pulsed intervals. That is, the comparator 305 generates a series of PWM pulses of which the duty cycle is directly proportional with the instantaneous amplitude of the integrated audio input signal 303.
The comparator 305 output is coupled to an input of an output stage that includes a driver/buffer circuit 315 (typically a MOS gate driver) which drives a complementary push-pull output stage 316. This produces an audio output signal 330 that is an amplified replica of the comparator's PWM signal. Further, this output audio signal 330 is also used as a feedback signal in a negative feedback loop to the inverting input of the integrator 310 though a feedback resistor 327.
When the amplitude of the audio input signal 303 is such that the amplitude of the output signal of the integrator 310 is between the threshold voltage signals VH and VL, the feedback NPN and PNP transistors 383 and 384 do not conduct a current or conduct only a negligible amount of current. But when the amplitude of the audio input signal 303 is such that the amplitude of output signal of the integrator 310 approaches the high voltage threshold VH, the feedback PNP transistor 384 effectively limits the amplitude of the output signal of the integrator 310 to the high voltage threshold VH. This is because of the exponential relationship between the collector current and the base-to-emitter voltage Vbe of the feedback PNP transistor 384, a very small change in the amplitude of the output signal of the integrator 310 will cause the feedback PNP transistor 384 to source all of the excess (clipping) current drawn by the audio input signal 303 going below an input clipping threshold. Therefore, this effectively softens the limit from a hard and flat limit to a softer and rounded limit.
More specifically, it is known that for a PNP transistor, such as the feedback PNP transistor 384:
Ic≈−Is*e(−Vbe/VT),
where Ic is the collector current, Is is the transistor saturation current, Vbe is the base-emitter voltage (Vbe has a negative value for a PNP transistor), and VT is the thermal voltage.
Therefore, the voltage of the output signal (labeled A0 hereinafter) of the integrator 310 plus the base-emitter voltage Vbe of the feedback PNP transistor 384 plus he base-emitter voltage Vbe of the limit NPN transistor 381 will equal the high voltage threshold signal VH. Put another way, VBEfeedbackPNP is equal to VH−VBElimitNPN−Ao
Consequently, in terms of current signals, this yields:
IcFeedback_PNP≈−IsFeedback_PNP*e(−(VH−VbeLimit_NPN−Ao)/VT)
Because the high voltage threshold VH and base-emitter voltage VbelimitNPN of the limit NPN transistor 381 are approximately constant, one can see that even small changes in the output voltage signal Ao of the integrator 310 result in large changes in the collector current ICFeedbackPNP of the feedback PNP transistor 384. As stated above, a change in the amplitude of the output signal of the integrator 310 will cause the feedback PNP transistor 384 to source all of the excess (clipping) current drawn by the audio input signal 303 going below an input clipping threshold. Therefore, this effectively softens the limit from a hard and flat limit as shown in
In a similar manner, when the amplitude of the audio input signal 303 is such that the amplitude of output signal of the integrator 310 approaches the low voltage threshold VL, the feedback NPN transistor 383 effectively limits the amplitude of the output signal of the integrator 310 to the low voltage threshold VL.
Furthermore, because of the exponential relationship between the collector current and the base-to-emitter voltage Vbe of the feedback NPN transistor 383, a very small change in the amplitude of the output signal of the integrator 310 will cause the feedback NPN transistor 383 to source all of the excess (clipping) current drawn by the audio input signal 303 going above an input clipping threshold. As before, this effectively softens the limit from a hard and flat limit to a softer and rounded limit.
More specifically, it is known that for a NPN transistor, such as the feedback NPN transistor 383:
Ic≈Is*e(Vbe/VT)
Ic≈−Is*e(−Vbe/VT),
where Ic is the collector current, Is is the transistor saturation current, Vbe is the base-emitter voltage (Vbe has a positive value for a NPN transistor), and VT is the thermal voltage.
Therefore, the voltage of the output signal A0 of the integrator 310 plus the base-emitter voltage Vbe of the feedback NPN transistor 383 plus he base-emitter voltage Vbe of the limit PNP transistor 380 will equal the low voltage threshold signal VL. Put another way, VBEfeedbackNPN is equal to VL+VBElimitPNP−Ao.
Consequently, in terms of current signals, this yields:
Icfeedback_NPN≈Isfeedback_NPN*e(VL+VbelimitPNP−Ao)/VT
Because the high voltage threshold VL and base-emitter voltage VbeLimitPNP of the limit PNP transistor 380 are approximately constant, one can see that even small changes in the output voltage signal Ao of the integrator 310 result in large changes in the collector current IcFeedbackNPN of the feedback NPN transistor 383. As stated above, a change in the amplitude of the output signal of the integrator 310 will cause the feedback NPN transistor 383 to source all of the excess (clipping) current drawn by the audio input signal 303 going above an input clipping threshold. Therefore, this effectively softens the limit from a hard and flat limit as shown in
As described above, an embodiment of the invention has advantages over conventional class D PWM amplifiers and methods of operation thereof. For example, the limiter circuit 370 is part of the feedback circuitry of the integrator 305, so it is not limited by the bandwidth of the other portions of the class D PWM amplifier 300. Therefore, the limiter circuit 370 can react more quickly to a clipping event, and even prevent clipping and the audible noise and distortion that clipping may introduce.
Further, limiter circuit 370 may also be used to control the output power of the class D PWM amplifier 300. This may be controlled by adjusting the threshold voltage signals VH and VL to adjust the power of the PWM output signal that drives a load, such as a speaker (not shown). That is, one can adjust the speaker volume by adjusting VH and VL instead of, or in addition to, adjusting the amplitude of the audio input signal 303.
Such a system 500 as shown in
While the subject matter discussed herein is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the claims to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the claims.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
6320465, | Apr 27 1999 | STMICROELECTRONICS S R L | Constant duty-cycle limiting of analog input signal swing in a class-D amplifier |
6525604, | Mar 27 2001 | Atmel Germany GmbH | Amplitude limiting method for a differential amplifier |
20050083114, | |||
20070075769, | |||
20090160551, | |||
20100045356, | |||
JPP1770855, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Nov 06 2014 | STMicroelectronics (Shenzhen) R&D Co. Ltd | (assignment on the face of the patent) | / | |||
Nov 06 2014 | LIN, HONG WU | STMICROELECTRONICS SHENZHEN R&D CO LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034122 | /0110 | |
Nov 16 2022 | STMICROELECTRONICS SHENZHEN R&D CO , LTD | STMICROELECTRONICS INTERNATIONAL N V | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 062101 | /0042 |
Date | Maintenance Fee Events |
May 22 2020 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 22 2024 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Dec 20 2019 | 4 years fee payment window open |
Jun 20 2020 | 6 months grace period start (w surcharge) |
Dec 20 2020 | patent expiry (for year 4) |
Dec 20 2022 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 20 2023 | 8 years fee payment window open |
Jun 20 2024 | 6 months grace period start (w surcharge) |
Dec 20 2024 | patent expiry (for year 8) |
Dec 20 2026 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 20 2027 | 12 years fee payment window open |
Jun 20 2028 | 6 months grace period start (w surcharge) |
Dec 20 2028 | patent expiry (for year 12) |
Dec 20 2030 | 2 years to revive unintentionally abandoned end. (for year 12) |