Reduced crosstalk and matched output power class D audio amplifier with oppositely polarized triangle waves
09654069 ยท 2017-05-16
Inventors
Cpc classification
H03F3/68
ELECTRICITY
H03F2200/351
ELECTRICITY
H03F2200/78
ELECTRICITY
International classification
H03F99/00
ELECTRICITY
Abstract
A multi-channel Class D audio amplifier is provided to substantially reduce channel-to-channel crosstalk by employing in each channel a local triangle ramp generator controlled by a single global digital timing signal. The noise critical timing/integrating capacitor for the triangle ramp generator resides locally in each channel and adjacent to the PWM comparator of that channel and referenced to the local ground of that channel. The amplifier can also include a duty cycle limitation circuit to limit output power availability depending on the impedance of any attached loads (speakers).
Claims
1. A class D amplifier, comprising: two or more pulse width modulator comparators that receive a respective channel of audio signals, and compare each of the received respective channel of audio signals with respective triangle wave signals and generate respective pulse width modulated signals for each of the received channels of audio signals; two or more switching stage amplifiers that receive the two or more pulse width modulated signals and amplifying each respectively according to a predetermined gain based on a channel identity of the received audio channel; two or more filter stages that filter each of the two or more amplified pulse width modulated signals; two or more speakers that receive a respective one of the two or more filtered amplified pulse width modulated signals; and a triangle wave generator that generates the triangle wave signals, the triangle wave generator including a DC servo circuit, the DC servo circuit comprising a first resistor connected at a first end to the triangle wave output signal of the triangle wave generator, a first amplifier connected to a second end of the first resistor at an inverting input of the first amplifier, a second capacitor connected to the second end of the first resistor and an output of the amplifier, and wherein the output of the first amplifier is connected to a current adjusting input of a first current source, and wherein the DC servo circuit monitors a first DC voltage on the triangle wave, and provides a second, oppositely polarized DC voltage to counteract the first DC voltage on the triangle wave, and wherein at least two local triangle waves are generated and wherein a positive going portion of the triangle wave and a negative going portion of the triangle wave are kept substantially equal in duration, amplitude, and slope, by the DC servo circuit.
2. The class D amplifier according to claim 1, wherein each of the filter stages comprises: a low pass filter, one for each audio channel, each of the low pass filters including an inductor connected at a first end of the inductor to an output of the switching stage amplifier and including a second end that is connected to a first end of a capacitor and respective one of the two or more speakers, and further wherein a second end of the capacitor is connected to a ground.
3. The class D amplifier according to claim 2, wherein the inductor and capacitor are selected according to a desired low pass frequency response of the channel that corresponds to a desired frequency response of the speaker connected thereto.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) The accompanying figures further illustrate the aspects of the embodiments.
(2) The components in the drawings are not necessarily drawn to scale, emphasis instead being placed upon clearly illustrating the principles of the present invention. In the drawings, like reference numerals designate corresponding parts throughout the several views.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
List of Reference Numbers for the Major Elements in the Drawing
(11) The following is a list of the major elements in the drawings in numerical order. 100 Typical Class D amplifier 102 Input Signal 103 Triangle Wave Generator 104 Pulse Width Modulator (PWM) Comparator 105 Triangle Wave Generator Output 106 Comparator Stage Output 108 Switching Output Stage 108 Half-bridge Transistor Switching Output Stage 109 Modulation Block 110 Switching Output Signal 112 Filter Stage 114 Amplified Output Signal 116 Speaker 300 Substantially Noise-free Triangle Waveform Generation Circuit 302 Digital Switching Frequency Control Circuit (Digital Clock) 303 Digital Clock Signal 304 DC Servo Circuit 306 Servo Circuit Capacitor 308 Servo Circuit Resistor 310 Servo Circuit Amplifier (Operational Amplifier (Op-Amp)) 312 Triangle Waveform Generator Capacitor (Triangle Capacitor) 314 First Current Source 316 First Diode 318 Second Diode 320 First Current Sink 322 Low Noise Triangle Waveform Generator Output (Low Noise Triangle Waveform) Signal 350 Triangle Waveform Generator with Noise Immunity Circuit 400 Advanced Class D Amplifier (Advanced Amplifier) 404 Duty Cycle Limiting Signal Generator Circuit 406 Speaker Impedance Sensing Circuit 407 Low Noise Comparator Stage Output 407 Duty Cycle Limited Low Noise Comparator Stage Output 408 Manual Speaker Impedance Selection Switch 409 Low Noise Switching Output Signal 410 Duty Cycle Limiting Signal 412 Duty Cycle Limiting Modulation Block 413 Low Noise Amplified Output Signal 414 Current Sense/Measurement 416 Voltage Sense/Measurement 418 Duty Cycle Limiting Circuit 502 Receiver Inverter 504 Receiver Non-inverter 506 Transistor Switch (First and Second)
List of Acronyms Used in the Detailed Description of the Invention
(12) The following is a list of the acronyms used in the specification in alphabetical order. A.sub.CL Gain, Closed Loop A.sub.OL Gain, Open Loop dB Decibel D Duty Cycle DCL Duty Cycle Limiting DC Direct Current FPGA Field Programmable Gate Array I.sub.P Current Peak kHz Kilohertz MOSFET Metal Oxide Semiconductor Field Effect Transistor PCB Printed Circuit Board PWM Pulse Width Modulation RMS Root Mean Square V.sub.I Input Voltage V.sub.O Output Voltage V.sub.P Voltage Peak V.sub.PP Voltage Peak-to-Peak V.sub.tmax Maximum Voltage of Low Noise Triangle Waveform 322 V.sub.tmin Minimum Voltage of Low Noise Triangle Waveform 322
(13) The aspect of the embodiments disclose systems, devices and methods for reducing channel to channel crosstalk in a multi-channel Class D audio amplifier, and systems, devices and methods for duty cycle limiting to enabling safe operation regardless of load impedances connected to the multi-channel Class D audio amplifier. Individual triangle ramp generators in each audio channel with a single, fixed frequency digital clock for synchronization are employed. Additionally, the critical timing capacitor for each channel is connected directly to the ground reference of that channel. Accordingly, the isolation between channel grounds can be much higher relative to prior art audio amplifiers. The duty cycle can be limited by firmware and/or other means, and load sensing can be implemented to ensure safe operation.
(14)
(15) The timing/integrating (triangle) capacitors 312 for triangle ramp generator circuits 350 reside locally in each channel, and are referenced to the local ground for that channel. Accordingly, since triangle capacitors 312 are independent and referenced to each individual ground, they are not susceptible to crosstalk. It is known to those of skill in the art that any noise that is present on triangle capacitors 312 can adversely impact operation of any Class D amplifiers.
(16) As shown in
(17) Operation of each of triangle generators 350a-n is as follows. Digital clock 302 has a frequency of f.sub.d, according to an embodiment, about 384 kHz, and this is the same frequency of triangle wave generator 350a-n, f.sub.t. Triangle capacitor 312 is the triangle wave timing capacitor, and any noise that might be present on triangle capacitor 312 will be present on triangle generator output, low noise triangle waveform signal 322. Thus, as can be appreciated by those of skill in the art, it is desirable to make this point in triangle waveform generator 350 as noise free as possible to prevent any such noise from propagating into the amplified audio signal.
(18) As those of skill in the art can appreciate, digital clock 302 provides a digital clock signal that varies between a logic level one output (high) and a logic level zero output (low), and this is input to second diode 318. When digital clock 302 output is high, first diode 316 is reverse biased in regards to digital clock 302 output, meaning that any noise that might be present on digital clock signal 303 cannot flow through it (because it is reverse biased). First current sink 320 is set to sink current at 2l, and this is provided by digital clock 302, for each triangle waveform generator 350 that it is connected to. First current source 314, which is set to 1l, provides current to triangle waveform generator capacitor (triangle capacitor) 312, which then charges up, causing triangle waveform to rise in a linear fashion.
(19) According to an aspect of the embodiments, first diode 316 isolates the triangle waveform generator output, low noise triangle waveform signal 322 when digital clock 302 output signal is high because current cannot flow through first diode 316 when digital clock signal 303 output signal is a logic high. As noted above, each channel comprises first diode 316 and second diode 318, which are configured to isolate any noise or crosstalk that might be present on digital clock signal 303 from leaking into low noise triangle waveform signal 322, thereby making this signal substantially immune to crosstalk.
(20) Triangle capacitor 312 continues to charge up while digital clock 302 output signal is high, but when it goes low, then second diode 318 is turned off, and first current sink 320 begins to sink current at a rate of 2l. First current sink 320 obtains the 2l current from both triangle capacitor 312, and from first current source 314, both of which provide about 1l amount of current. When current is drained from triangle waveform generator capacitor 312, this causes the voltage across the capacitor to fall, which is the downward sloping portion of the triangle waveform.
(21) As those of skill in the art can appreciate, the upward and downward slopes of the triangle waveform generator would be essentially equal if first current source 314 provided exactly 1l, and if first current sink 320 would sink exactly 2l. However, those of skill in the art can further appreciate that rarely, if ever, do analog circuits (or even digital circuits), approach equality in terms of sourcing/sinking voltages, currents, and the like. Consequently, error correction circuitry is purposely built into triangle waveform generator 350 according to an embodiment to counteract such naturally occurring error sources as discussed in the next section.
(22) According to an aspect of the embodiments, DC servo circuit 304 serves to match the rising and falling voltage output of triangle waveform generator circuit 350 and to prevent a positive or negative DC voltage bias being formed on the output triangle waveform signal by compensating for purposely created current differences between first current source 314 and first current sink 320. That is, DC servo circuit 304 operates to maintain a balance between first current sink 320, which is designed to sink a current of about 2l, and first current source 314, which is designed to source a current of slightly less than 1l. The purposely created imbalance between the current source and sink must exceed the worst-case naturally occurring imbalance. Then, the DC servo circuit can be designed to source current only, as a way to maintain balance. The circuit topology used for generating this triangular ramp voltage allows great flexibility for improving crosstalk and noise performance. For example, increasing the peak-to-peak voltage swing of the triangular waveform generator will decrease the noise level of the amplifier, and its sensitivity to crosstalk-induced noise. Likewise, increasing the value of the triangle capacitor 312 will decrease noise sensitivity and crosstalk. The values of the 1l and 2l currents must be selected in conjunction with the value of triangle capacitor 312, and the switching frequency, in order to achieve the desired V.sub.pp voltage swing for the triangular ramp output waveform (low noise triangle waveform signal 322). As those of skill in the art can appreciate, other values of current sourcing and sinking can be used dependent upon the components used, desired accuracy, and other factors.
(23) In accordance with an aspect of the embodiments, if the current sink level is set to 2l and the current source level is set to less than 1l, more current is being drained from triangle capacitor 312, on each half cycle of digital clock signal 303, than is being added to triangle capacitor 312 on each positive cycle of digital clock signal 303 and excess charge will be drawn from triangle capacitor 312; consequently, over subsequent cycles, low noise triangle waveform signal 322 begins to ride a gradually falling DC level (because of the current imbalance between first current source 314 (less than 1l) and first current sink (2l)). The ability of the DC servo circuit to correct this imbalance by sourcing additional current into triangle capacitor 312 allows low noise triangle waveform signal 322 to have a 0V DC level. In the absence of the DC servo circuit 310, a falling or rising DC level of low noise triangle waveform signal 322 can seriously and negatively impact the expected output duty cycle.
(24) According to an aspect of the embodiments, therefore, DC servo circuit 304 (which is comprised of servo circuit amplifier 310, servo circuit capacitor 306, and servo circuit resistor 308), could be designed to only increase or only decrease the current sourced by current source 314 as needed to keep the rising and falling slopes of the triangular waveform similar, or it could be designed to both increase or decrease the current sourced by first current source 314.
(25) Accordingly, therefore, assuming an implementation whereby DC servo circuit 304 can both increase or decrease the current sourced by first current source 314, DC servo circuit 304 monitors the DC level at its input (which is low noise triangle waveform signal 322) and if it begins to swing low, i.e., a negative DC bias forces or drives low noise triangle waveform signal 322 downward, DC servo circuit 304 compensates by causing additional current to be sourced by first current source 314 (which can be seen is a variable current source) so that triangle capacitor 312 is properly charged and maintains a DC level of about 0 volts. Conversely, and according to further embodiments, if DC servo circuit 304 determines that low noise triangle waveform signal 322 is beginning to swing positive, i.e., a positive DC voltage bias, DC servo circuit 304 compensates by causing less current to be generated from variable first current source 314 so that triangle capacitor 312 is properly charged and maintains a DC level of about 0 volts. In one embodiment of DC servo circuit 304, operational amplifier (op-amp) 310 is used as an integrator to compare the DC value of the triangular waveform to a 0V reference voltage. The op-amp will source or sink current as necessary in order to keep the average DC value of the triangular waveform equal to the 0V reference voltage. Those of skill in the art will recognize how to use an op-amp as an integrator to accomplish this circuit function.
(26) In the embodiment shown in
(27) Attention is now directed to a different aspect of operation of Class D amplifiers, the gain. All amplifiers have what is known as an open loop gain parameter; that is, V.sub.o/V.sub.i=A.sub.OL. Typically, A.sub.OL is pretty largesometimes 10,000 or even more. But, the open loop gain configuration of most amplifiers is non-linear, meaning that simply inputting a signal and expecting a linearly amplified output is hardly, if ever, realized. That is, the output is substantially distorted in terms of gain versus frequency and gain versus input amplitude, phase shift, and so on. Thus, it is the goal of circuit designers to linearize the gain of the amplifier such that the output is linearly related to the input in terms of gain versus frequency of the input signal, gain versus the amplitude of the input signal, and phase shift over the expected bandwidth, among other factors.
(28) It is known by those of skill in the art that to obtain good linearization, what is typically done is to add negative feedback between the output and the input such that the gain of the amplifier is now properly characterized as a closed loop gain. It is also known that while negative feedback does provide the greatly needed linearization, it also reduces the gain from the very high numbers of the open loop condition (e.g., about 10, 000, or even higher) to much lesser values in the closed loop configuration, A.sub.CL, which can range from just above zero (a gain of 0.1 is an amplifier of less than unity, actually a signal-reducer or attenuator) to about 100 or even about 1000. The actual gain numbers are typically a product of values of passive components placed about the amplifier in specific configurations, as known to those of skill in the art.
(29) Furthermore, it is recognized that when A.sub.OL is much larger than A.sub.CL (A.sub.OL>>A.sub.CL), then the tolerance of the closed loop gain is controlled by the tolerances of the components that create the closed loop gain. The closed loop gain is typically determined by using simple resistors in a feedback loop. Therefore, very low tolerance resistors of 1% or even better can be used, and the tolerance of the closed loop gain can be controlled to within the same magnitude.
(30) Based in part on the above discussion regarding open and closed loop gain, there are three types of gain control configurations that are typically used with Class D amplifiers. The first is the open loop gain. As discussed above, this is not typically used in Class D amplifiers, nor many others, because of its non-linearity's. The second type of gain control is a negative feedback loop closed loop system, wherein the feedback signal is taken before the output low pass filter. Referring again to
(31) Regardless of the type of gain control that is employed, the peak-to-peak ramp voltage has an effect on the open loop gain. By increasing the ramp voltage, the noise immunity of the Class D amplifier can be improved according to an embodiment. As discussed previously, the open loop gain of the modulator block of the amplifier is the ratio of the power supply DC rail voltage to the peak-to-peak ramp voltage. So, increasing the peak-to-peak ramp voltage lowers the gain of the modulator, and also its noise sensitivity. As those of skill in the art can appreciate, presuming a fixed frequency of low noise triangle waveform signal 322, the peak-to-peak voltage of low noise triangle waveform signal 322 is determined by a combination of the value of triangle capacitor 312, and the current source/sink levels (first current source 314, first current sink 320). Further, the power rail voltages, V.sub.cc and V.sub.ee limit the maximum amount of the output voltage. It further can be appreciated by those of skill in the art that the high logic level of digital clock waveform 303 must be greater than the positive peak value of low noise triangle waveform signal 322, and the low logic level of digital clock waveform 303 must be more negative than the negative peak value of low noise triangle waveform signal 322.
(32) The ramp generator circuitry disclosed in
(33) Attention is now directed to a different aspect of the embodiments described herein. If low noise triangle waveform signal 322 has an output voltage that ranges from +5V to 5V, then the gain of the modulator block of this amplifier is equal to the ratio of the power supply DC rail voltages to the peak-to-peak ramp voltage (10V.sub.PP). As those of skill in the art can appreciate, this ratio describes the gain of modulator block 109 only. Modulator block 109 is just one of the gain blocks used to determine the open-loop gain of a Class D amplifier. The other blocks that are involved are: the output LC filter (which has unity gain up to its cutoff frequency (which is typically about 50 KHz); shown as filter stage 112 in
(34) When this 10V.sub.PP signal is input to a switching amplifier, for example, switching output stage 108 (which is part of modulator block 109), whose output voltage swings between +/50 volts, then the total open loop gain of modulator block 109 is 10, according to Equation (1):
(35)
(36) Problems can occur, however, when there is a mismatch between the output impedance of the load and the rated power output of the amplifier. For example, if the amplifier is configured to deliver 100 watts at 100V.sub.PEAK (200V.sub.PP) with a 49 speaker, and the 49 speaker is replaced with a 4 speaker, then the switching amplifier will be driven into over current situations that will either activate overcurrent protection circuits, or destroy the output transistor(s), as those of skill in the art can appreciate.
(37) There are several conventional methods for dealing with this problem. For example, a switch can be implemented on the panel where the speakers are connected to the Class D amplifier, and the user is required to put the switch in the correct position that corresponds to the load of the connected speaker. The switch then connects an appropriate output voltage from a multi-tapped transformer or multi-output DC power supply, to the switching amplifier, i.e., the DC voltage rails. While many users will correctly move the switch as appropriate, this solution requires the implementation of the multi-tapped transformer or multi-output DC power supply, and all the additional wiring that that entails.
(38) According to further aspects of the embodiments, limiting the duty cycle of the signal output from the modulation stage will limit the average power output to the speakers, and thus can avoid or substantially avoid over-current situations with the output transistor(s). According to aspects of the embodiments, by limiting the duty cycle of the signal output from the modulation stage, the need for changing the DC voltage rails can be avoided. According to further aspects of the embodiments, a switch can also be used to convey to the appropriate circuitry what the correct (or maximum) duty cycle that can be used with the speakers that have been connected to the Class D amplifier. According to further aspects of the embodiments, a remote sensing mechanism can also be implemented that precludes the use of the switch according to correctly set the appropriate duty cycle limit. According to an embodiment, a field programmable gate array (FPGA) can be used, among other devices (e.g., a digital signal processor (DSP)), to limit the output duty cycle. Since the switching frequency is fixed and developed by the internal dividers in the FPGA, it is simple for the FPGA to limit the duty cycle to be a fraction of the switching period. This can be accomplished by counting cycles of a higher frequency clock that the switching frequency is derived from. Use of the FPGA and DSP for limiting the duty cycle of low noise comparator stage output 407 are discussed in greater detail below
(39) The following example calculations illustrate how the duty cycle can affect the maximum output average power to speakers 116. In this example, the Class D amplifier has DC voltage rails of +/100 volts, or 200V.sub.PP. While the duty cycle can range between 0 and 100%, on average it will be about 50%, or duty cycle (D) equals 0.5. The RMS value of a sine waveform is related to the peak voltage according to the following:
(40)
(41) In one typical application a 49 speaker is used, and the Class D amplifier is specified to provide about 100 watts (RMS). Then,
P=VI(all RMS)(3), or
100W.sub.RMS=70V.sub.RMSI.sub.RMS or,
I.sub.RMS=1.42A.sub.RMS.
(42) If, however, a 4 speaker is hooked up by mistake to the Class D amplifier that is capable of delivering 100 Watts, then the output current can spike to about 25 A.sub.PP.
(43)
(44) This yields an RMS value of
I.sub.RMS=25 A.sub.Peak{square root over (0.5)}=17.6 A.sub.RMS.
(45) Thus, switching a 4 speaker for a 49 speaker can lead to a significant over-current situation (from 1.42 A.sub.RMS to 17.6 A.sub.RMS). A current of this magnitude will typically far exceed the current ratings of the output driver transistors of a 100 W amplifier, and thus will, over time, damage them, or at least trigger overcurrent protection, leading to significantly degraded audio performance.
(46) Considering, therefore, that the output voltage is 100 V.sub.Peak, and the load is only 4 ohms, the peak current is 25 A (with an RMS value of 17.6 A.sub.RMS, the output power (RMS) would be
P.sub.RMS=i.sup.2r=17.6.sup.241225 watts.sub.rms(5).
(47) According to an aspect of the embodiments, the goal is to limit the RMS power through the 4 speaker to about 100 watts (or whatever is the maximum output power of the Class D amplifier) by limiting the duty cycle D of the modulation stage to an appropriate value. The RMS value of the output voltage is determined as follows:
(48)
(49) Knowing the desired RMS value of the output voltage from the modulation stage to produce a maximum allowed power, Equation (2) can then be used to determine the peak value of the output voltage, according to the following:
V.sub.Peak=V.sub.RMS{square root over (2)},
which yields,
V.sub.Peak=20V.sub.RMS1.414=28.28V.sub.Peak=56.56V.sub.PP(7).
(50) Knowing the peak voltage required from the output of switching output stage 108, the appropriate duty cycle can be determined, according to the specific type of transistor switching circuit being used therein. According to an embodiment, and referring to
(51)
(52) The voltage output of filter stage 112 can be described according to the following expression:
V.sub.Out-Peak=(t)(V.sub.cc)+(1t)(V.sub.ee),(9).
Using the values of V.sub.cc equal to +100 V and V.sub.ee equal to 100V, and using the desired V.sub.RMS voltage of 20V (based on the peak output voltage V.sub.Peak equal to 28.28 V; see, Expression (7) above), then Expression (9) becomes
28.28V.sub.Out-Peak=(t)(100)+(1t)(100),
and from this the duty cycle t can be determined as
t=64.14%.
(53) Therefore, with a 100 watt maximum output Class D amplifier ostensibly designed to provide 100 watts into a 49 speaker load, by limiting the duty cycle D of the modulation stage to about 64%, the RMS value of the voltage will be limited to about 20V.sub.RMS, and the power through the 4 speaker will be limited to about 100 W. As those of skill in the art can now appreciate, for different values of speaker load and/or output power of the Class D amplifier, the duty cycle would change accordingly.
(54)
(55) The output of duty cycle limiting-signal generator circuit 404 is duty cycle limiting signal 410. Duty cycle limiting signal 410 is used by DCL 418 to limit the duty cycle of low noise comparator stage output signal 407 according to an embodiment. Generation of duty cycle limiting signal 410 is based on inputs received from speaker impedance sensing circuit 406, or manual speaker impedance setting switch 408 according to an embodiment. Duty cycle limiting signal generator circuit 404 can be comprised of hardware alone, an implementation of software within a processor alone, or a combination thereof according to further embodiments. Such implementations of circuit functionality are known to those of skill in the art.
(56) Speaker impedance sensing circuit (impedance sensing circuit) 406 operates in the following manner. According to embodiments, impedance sensing circuit 406 simultaneously senses or measures output voltage and output current. The output voltage can be measured using known voltage measurement techniques and devices, and the output current can similarly be measured or sensed using known current measurement or sensing techniques and devices (which can include Hall effect current sensing devices, current transformer sensing/measurement devices, and/or precision low value resistors). As can be appreciated by those of skill in the art, with these two inputs alone, processing circuits (including analog-to-digital converters) in impedance sensing circuit 406 can determine (i.e., calculate) the impedance of the attached speaker load, speaker(s) 116. Manual speaker impedance selection switch can be a multi-pole switch, or multi-position selection switch that outputs a digital signal that represents the user's selection of speaker impedance, or a DC voltage signal of varying amplitude based on the user's selection of the speaker impedance.
(57) According to an aspect of the embodiments, duty cycle limiting signal generator circuit 404 can accept either type of speaker impedance determination signals and use either to create duty cycle limiting signal 410, along with one or more indication signals of the maximum output power of advanced amplifier 400 and the speaker impedance selected, in accordance with the discussion above.
(58) Once duty cycle limiting signal generator circuit 404 has generated duty cycle limiting signal 410, which can generally be in the form of a digital signal, DCL circuit 418 accepts it as an input and uses it to limit the output duty cycle of low noise comparator stage output signal 407 according to an embodiment. According to a further embodiment, DCL circuit 418 can be in the form of an FPGA, or digital signal processing (DSP) circuit. If DCL 418 is in the form of an FPGA, the FPGA can limit the duty cycle based on generated duty cycle limiting signal 410. If the duty cycle of low noise comparator stage output signal 407 did not need to be restricted (because the load impedance of speakers 116 matched the output power of advanced class D amplifier 400), then no restriction on the duty cycle would be placed by DCL circuit 418. That is, low noise comparator stage output signal 407 from PWM comparator 104 would propagate through the FPGA (DCL 418) as transparent logic, with its normal 0% to 100% duty cycle range. In this case, the output of DCL 418 would be low noise comparator stage output signal 407. If, however a particular duty cycle limit is activated, then the FPGA, using known programming techniques, can prematurely end or terminate any pulse from PWM comparator 104 that exceeds the selected duty cycle limit. In this case, the output of DCL 418 would be duty cycle limited low noise comparator stage output signal 407. A substantially similar mechanism can occur if instead of an FPGA a digital signal processor (DSP) were used for DCL circuit 418. Use of, and programming thereof, of DSPs is known to those of skill in the art.
(59) According to embodiments, the DSP acting as DCL circuit 418 could accept as an input the digital signal output from DCL signal generator circuit 404, duty cycle limiting signal 410, and using one or more pre-stored graphs as shown in
(60)
(61) As those of skill in the art can appreciate, impedance sensing circuit 406, DCL signal generator circuit 404 and DCL circuit 418, can all be combined into one circuit package, or two circuits, or even more than the three as shown in
(62) According to an embodiment, as discussed above in regard to
(63)
(64) In step 702, advanced amplifier 400 receives one or more channels of audio. In step 704, for each channel of audio, a local triangle wave is generated, low noise triangle waveform signal 322. A global digital clock (digital switching frequency control 302) outputting a fixed frequency clock signal (digital clock signal 303), such as 384 kHz clock signal, can provide a synchronized signal to each local triangle wave generator 350. According to an aspect of the embodiments, each channel of audio receives low noise triangle waveform signal 322 that is generated by noise-free triangle waveform generator circuit 300 that comprises one or more diodes 316, 318 to isolate the digital clock. According to an aspect of the embodiments, each channel of audio receives low noise triangle waveform signal 322 that is generated by noise-free triangle waveform generator circuit 300 that comprises DC servo circuit 340 that substantially maintains a symmetrical low noise triangle waveform signal 322 with substantially zero DC offset. According to a further aspect of the embodiments, each channel of audio receives low noise triangle waveform signal 322 that is generated by noise-free triangle waveform generator circuit 300 that further comprises a means for increasing a peak-to-peak amplitude of low noise triangle waveform signal 322. Each of these aforementioned aspects of the embodiments provides additional noise immunity for each of the channels of audio.
(65) Following step 704, in step 706, method 700 generates one or more PWM signals from a comparison of a channel of audio with low noise triangle waveform signal 322 using PWM comparator 104. As those of skill in the art can appreciate, the duty cycle of the signal output from PWM comparator 104, low noise comparator stage output 407/407, need not have its duty cycle limited in any manner. However, according to aspects of the embodiments, the duty cycle of the signal is directly proportional with the amplitude of the audio signal but can be constrained according to the duty cycle limiting discussions provided above.
(66) Method 700 then proceeds to step 708, wherein the one or more PWM signals drive switching output stage 108 to produce one or more amplified PWM signals, low noise switching output signal 409. Then, in step 710, the one or more amplified PWM signals, low noise switching output signal 409 are filtered through substantially lossless low pass filter stage 112 to remove the high frequency components of low noise switching output signal 409 and recover the audio signal which is now amplified. The amplified, filtered, output signal, low noise amplified output signal 413, is then sent to speaker 116.
(67)
(68) Method 800 begins with step 802 in which an analog signal is received by advanced Class D amplifier. In step 804, low noise triangle wave signal 322 is generated, as described above in reference to
(69) In method step 808, method 800 measures a load impedance of speaker(s) 116 using impedance sensing circuit 406 according to an embodiment. In method step 810, the output of impedance sensing circuit 406 is used to determine whether the rated power output of advanced Class D amplifier 400 is appropriately matched to the load impedance of speaker(s) 116. That is, method 800 determines whether too much current/power will be generated, or attempted to be generated by advanced Class D amplifier 400 If the load impedance of speakers 116 is mismatched to the rated output power. As described above, the over-power/over-current situation generally occurs when the load impedance of speakers 116 is less than a predetermined value determined in view of the maximum output voltage and maximum current values output from advanced Class D amplifier 400. As described above in reference to
(70) If the measured load impedance of speaker(s) 116 is matched to the rated power output of advanced Class D amplifier 400 (i.e., the load impedance is too low for the present duty cycle selection (which can be no selection, meaning 0% to 100% duty cycle is permissible); Yes path from decision step 810), then method 800 proceeds to step 820, wherein the signal is filtered through substantially lossless low pass filter stage 112, and in step 822 the filtered signal is output to speaker(s) 116.
(71) If, however, the load impedance of speaker(s) 116 is not matched to the rated power output of advanced Class D amplifier 400 (No path from decision step 810), then method 800 proceeds to method step 812. In step 812, method 800 calculates an appropriate output RMS voltage to be sent to speaker(s) 116 according to the following equation:
V.sub.RMS=SQRT(POLI).
(72) Then, in method step 814, method 800 uses Equation (2) from above to determine peak output voltage:
V.sub.PEAK=V.sub.RMS1.414
(73) From the determined peak output voltage (being sent to speaker(s) 116), method 800, in method step 816, can use Equation 9 from above to calculate duty cycle t that limits the peak voltage output to match the load impedance and rated output power of advanced Class D amplifier 400 according to the following equation:
V.sub.Peak=(tV.sub.cc)+(1t)(V.sub.ee), wherein t=Duty Cycle; V.sub.cc=Positive Rail Voltage on Half-bridge Switching Stage; and V.sub.ee=Negative Rail Voltage on Half-bridge Switching Stage.
(74) In method step 818 method 800 uses the calculated duty cycle t to limit the duty cycle of low noise comparator stage output signal 407 to create duty cycle limited low noise comparator stage output signal 407, as described above in reference to
(75) The disclosed embodiments provide a system, method, and mode for operating an advanced Class D amplifier 400 according to aspects of the embodiments, wherein crosstalk noise is substantially reduced or eliminated, and mismatching speaker loads with respect to output power is substantially prevented. It should be understood that this description is not intended to limit the embodiments. On the contrary, the embodiments are intended to cover alternatives, modifications, and equivalents, which are included in the spirit and scope of the embodiments as defined by the appended claims. Further, in the detailed description of the embodiments, numerous specific details are set forth to provide a comprehensive understanding of the claimed embodiments. However, one skilled in the art would understand that various embodiments may be practiced without such specific details.
INDUSTRIAL APPLICABILITY
(76) To solve the aforementioned problems, aspects of the embodiments provide a unique device in which a substantially noise free triangle waveform signal is generated for use in one or more audio channels of a Class D amplifier, and additional circuitry is further provided to substantially minimize of prevent the possibility of mismatching an output load impedance with regard to a rated power output of the Class D amplifier, thereby substantially prevent or minimizing the possibility of damaging the output stages of the Class D amplifier.
(77) Alternate Embodiments
(78) Alternate embodiments may be devised without departing from the spirit or the scope of the invention. For example, the switched current sources which source or sink current to the timing capacitors may be located in a single position on the PCB of the audio amplifier and operate as current mirrors from a central current generator circuit block.