The embodiments described herein relate generally to audio amplification, and more specifically to systems, methods, and modes for multi-channel amplification in class D amplifiers, and the generation of a substantially noise-free triangle wave signal by a triangle wave generator.
Typically, one of the last components in an audio distribution chain, audio amplifiers amplify a low power audio signal to a level suitable for driving one or more loudspeakers. Multi-channel audio amplifiers are employed throughout structures to amplify more than one channel of audio.
As known to those of skill in the art, typical Class D amplifiers are a class of amplifier in which the audio signal modulates a pulse width modulated carrier signal to drive the output. Referring now to
Referring now to
As known by those of skill in the art, typical class D amplifiers with multiple channels typically comprise a global triangle ramp generator for use in all of the channels. A global analog buffer and a local analog buffer can be inserted between each channel and the triangle ramp generator.
Following PWM comparator 104, comparator stage output 106 is input to switching output stage (or power stage) 108, which is also part of modulator block 109. This device is typically comprised of an arrangement of switching transistors configured as a “half-bridge” or “full-bridge” and it amplifies the signal input to it, to create switching output signal 110. As can be seen in
Following switching output stage 108 is filter stage 112. In filter stage 112, the amplified PWM signal is passed through an (ideally) lossless low pass filter prior to the output device, speaker 116. The low pass filter removes the high frequency components of the PWM signal (switching output signal 110) and recovers the original audio signal, but in an amplified form, now referred to as amplified output signal 114.
Having briefly reviewed operation of a Class D amplifier in a fairly general sense, attention can now be directed to specific design issues with regard to Class D amplifiers. As those of skill in the art can appreciate, there are a multitude of design issues that need to be carefully considered with each new design of a Class D amplifier. Two such design considerations shall be considered herein. The first is isolation between channels, and the second is the safe operation over different load impedances.
Isolation between channels is a critical design consideration for multi-channel audio amplifiers. This isolation is typically expressed in decibels (dB) at a specific frequency, and further is typically a fairly small signal, thus a negative dB rating is typical, as the crosstalk signal is almost always much less than the original signal. Poor channel-to-channel isolation results in the audio signals from one channel being heard in another channel, which can result in poor channel separation. In a typical audio system, crosstalk can be audibly heard when volume levels are low (if there is a cross talk problem, which is not always the case). Notwithstanding its noticeability only when at low audio volumes, crosstalk, as mentioned above, can negatively affect channel separation, which could become more noticeable even at normal volume levels. Accordingly, high isolation (i.e., higher −dB crosstalk ratings) is desirable in multi-channel amplifiers.
One conventional solution to reduce channel-to-channel crosstalk includes the careful design of the printed circuit board (PCB) layout. Grounding may be used to eliminate common-impedance traces and mixing of signal and/or ground currents from more than one channel. Another scheme employed in conventional Class D amplifiers is differential signal routing instead of routing single-ended signals with a ground potential that is common to all channels. However, whenever a power, ground, or signal is common to more than one channel, it becomes a potential conveyer of crosstalk.
There are certain problems, however, with many of the conventional solutions to reduce crosstalk described above. Accordingly, it would be desirable to provide systems, methods, and modes for multi-channel amplification in class D amplifiers, and the generation of a substantially noise-free triangle wave signal by a triangle wave generator.
The second design consideration to be considered herein is safe operation of a Class D amplifier over different load impedances. In Class D amplifiers, as known to those of skill in the art, the power conversion efficiency of the amplifier is only slightly degraded as DC rail voltages are increased. This decrease in efficiency is attributable to increased switching losses. In contrast, however, on-state losses actually decrease as the DC rail voltages rise (due to reduction in MOSFET ON-TIME (duty-cycle). Thus, the Class-D topology already provides more freedom in the selection of DC rail voltages to power the half-bridge or full-bridge stage (i.e., switching output stage 108). An additional important effect in selecting DC rail voltages is that the audio output signal will be able to span the entire peak-to-peak range defined by the DC rail voltage presuming a full duty cycle range from 0% to 100%. Therefore, as those of skill in the art can appreciate, increasing the DC rails will allow greater output voltage, current, and power (for a given load impedance).
There are applications where it would be advantageous to set or adjust the DC rail voltages to different voltages in order to tailor the available output voltage, current, or power, to a particular load impedance. Further, it has been alleged to be advantageous to be able to change these DC rail voltages substantially continuously or instantaneously. The dynamic ability to modulate the DC rail voltages, at either audio frequency rates, or static levels set by manual switches, has been attempted by other, conventional systems. At least one disadvantage of this prior art method is increased complexity in power supply design, and the additional complexity in the means to modulate the power supply output voltage(s). Another disadvantage to this approach, is that the modulator gain of the Class-D amplifier is directly affected by the magnitude of the DC rails, as previously discussed, and therefore the open-loop gain of the Class-D amplifier channel is directly affected by the magnitude of the DC rails. This can cause instability in the negative feedback loop compensation of the amplifier, as will be discussed further below.
Accordingly, it would be desirable to provide systems, methods, and modes for multi-channel amplification in class D amplifiers, and the generation of a substantially noise-free triangle wave signal by a triangle wave generator.
It is to be understood that both the general and detailed descriptions that follow are exemplary and explanatory only and are not restrictive of the different aspects of the embodiments.
An object of the embodiments is to substantially solve at least the problems and/or disadvantages discussed above, and to provide at least one or more of the advantages described below.
It is therefore a general aspect of the embodiments to provide a Class D amplifier that will obviate or minimize problems of the type previously described.
According to a first aspect of the embodiments, a triangle wave generator circuit for use with a class D amplifier is provided, the triangle wave generator circuit adapted to generate and output a triangle wave signal and comprising: a clock generating circuit adapted to provide a timing signal that generates a period of the output triangle wave; a first current source adapted to provide a first source current at a first magnitude; a first current sink adapted to sink a first sink current at about two times the first magnitude; a DC servo circuit adapted to adjust the first magnitude of the first source current based on a direct current (DC) voltage present in the output triangle wave signal so that the DC voltage on the output triangle wave signal is substantially eliminated; and an output filter circuit adapted to substantially reduce audio frequency noise in the output triangle wave, and generate the output triangle wave signal at a desired peak-to-peak voltage level based on the first source current and first sink current.
According to the first aspect of the embodiments, the output filter comprises: a capacitor with a first capacitor value that generates the output triangle wave signal at a desired peak-to-peak voltage level based on the first source current and first sink current; and an inductor with a first inductance value presenting a low impedance at audio frequencies while presenting a high impedance at the frequency of the output triangle wave signal that substantially shunts audio frequency noise to ground.
The above and other objects and features of the embodiments will become apparent and more readily appreciated from the following description of the embodiments with reference to the following figures. Different aspects of the embodiments are illustrated in reference to figures of the drawings. It is intended that the embodiments and figures disclosed herein are to be considered to be illustrative rather than limiting. The components in the drawings are not necessarily drawn to scale, emphasis instead being placed upon clearly illustrating the principles of the aspects of the embodiments. In the drawings, like reference numerals designate corresponding parts throughout the several views.
The aspects of the embodiments disclose systems, methods, and modes for multi-channel amplification in class D amplifiers, and the generation of a substantially noise-free triangle wave signal by a triangle wave generator. Individual triangle wave 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.
Reference throughout the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of the embodiments. Thus, the appearance of the phrases “in one embodiment” or “in an embodiment” in various places throughout the specification is not necessarily referring to the same embodiment. Further, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
The following is a list of the major elements in the drawings in numerical order.
The following is a list of the acronyms used in the specification in alphabetical order.
The timing/integrating (triangle) capacitors 312 for triangle waveform generators 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 amplifier.
As shown in
Operation of each of triangle waveform generators 350a-n is as follows. Digital clock circuit 302 has a frequency of fd, according to an embodiment, about 384 kHz, and this is the same frequency of triangle waveform generator 350a-n, ft. 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.
As those of skill in the art can appreciate, digital clock circuit 302 provides digital clock signal 303 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 circuit 302 output is high, first diode 316 is reverse biased in regard to digital clock circuit 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 about 2×I, and this is provided by digital clock circuit 302, for each triangle waveform generator 350 that it is connected to. First current source 314, which is set to about 1×I, provides current to triangle capacitor 312, which then charges up, causing triangle waveform to rise in a linear fashion.
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 circuit 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.
Triangle capacitor 312 continues to charge up while digital clock circuit 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 about 2×I (herein after referred to “2I”). First current sink 320 obtains the 2I current from both triangle capacitor 312, and from first current source 314, both of which provides about 1×I amount of current (hereinafter referred to “1I”). When current is drained from triangle capacitor 312, this causes the voltage across the capacitor to fall, which is the downward sloping portion of low noise triangle waveform signal 322.
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 1I, and if first current sink 320 would sink exactly 2 I (because 1I of current would come from first current source 314, and 1I of current from capacitor 312). 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.
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 2I, and first current source 314, which is designed to source a current of slightly less than 1I. 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 1I and 2I currents must be selected in conjunction with the value of triangle capacitor 312, and the switching frequency, in order to achieve the desired Vpp 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.
In accordance with an aspect of the embodiments, if the current sink level is set to 2I and the current source level is set to less than 1I, 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 1I) and first current sink 320 (2I)). The ability of DC servo circuit 304 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 304, a falling or rising DC level of low noise triangle waveform signal 322 can seriously and negatively impact the expected output duty cycle.
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.
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 as 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.
In the embodiment shown in
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, Vo/Vi=AOL. Typically, AOL is pretty large—sometimes 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.
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, ACL, 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.
Furthermore, it is recognized that when AOL is much larger than ACL (AOL>>ACL), 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.
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
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, Vcc and Vee 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.
The ramp generator circuitry disclosed in
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 (10VPP). 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
When this 10Vpp 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):
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 100VPEAK (200Vpp) 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.
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.
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 is 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 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
The following example calculations illustrate how the duty cycle can affect the maximum average output power to speaker 116. In this example, the Class D amplifier has DC voltage rails of +/−100 volts, or 200VPP. 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:
In one typical application a 49Ω speaker is used, and the Class D amplifier is specified to provide about 100 watts (RMS). Then,
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 25APP.
This yields an RMS value of—
Thus, switching a 4Ω speaker for a 49Ω speaker can lead to a significant over-current situation (from 1.42ARMS to 17.6ARMS). 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.
Considering, therefore, that the output voltage is 100VPeak, and the load is only 4 ohms, the peak current is 25 A (with an RMS value of 17.6ARMS, the output power (RMS) would be—
According to an aspect of the embodiments, the goal is to limit the 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:
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:
which yields,
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
The voltage output of filter stage 112 can be described according to the following expression:
Using the values of Vcc equal to +100V and Vee equal to −100V, and using the desired VRMS voltage of 20V (based on the peak output voltage VPeak equal to 28.28V; see, Expression (7) above), then Expression (9) becomes—
and from this the duty cycle t can be determined as—
t=64.14%.
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 20VRMS, 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.
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 selection switch 408 according to an embodiment. Speaker impedance sensing circuit 406 receives current sense/measurement signal 414 and voltage sense/measurement 416 as inputs. 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.
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.
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.
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 enforced 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 (DCL) 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.
According to embodiments, the DSP acting as DCL circuit 418 could accept as an input the digital signal output from duty cycle limiting signal generator circuit 404, duty cycle limiting signal 410, and using one or more pre-stored graphs as shown in
As those of skill in the art can appreciate, impedance sensing circuit 406, duty cycle limiting 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
According to an embodiment, as discussed above in regard to
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 signal generator, digital clock circuit 302, can output a fixed frequency clock signal, digital clock signal 303, which can provide a synchronized signal to each local triangle waveform generator 350. According to aspects of the embodiments, digital clock signal 303 can be about a 384 kHz clock signal. 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.
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.
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.
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
In method step 808, a load impedance of speaker(s) 116 is measured using impedance sensing circuit 406 according to aspects of the embodiments. 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
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 matched to 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.
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:
Then, in method step 814, method 800 uses Equation (2) from above to determine peak output voltage:
From the determined peak output voltage (being sent to speaker(s) 116), method 800 can use Equations 8 and 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:
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 DCL low noise comparator stage output signal 407′, as described above in reference to
Attention is directed to
Referring first to
By way of a non-limiting example having a precise frequency square wave clock signal means that high-Q notch filters can be implemented at that frequency. Furthermore, using a precise frequency means that switching noise in various parts of the circuit can be removed, without effecting circuit functionality at other frequencies.
As those of skill in the art can appreciate, other types of Class-D amplifier designs are based on variable-frequency topologies. Notwithstanding that there are some benefits from variable-frequency designs, they have the disadvantage that notch filters cannot be used, and the varying frequency can possibly make EMI mitigation more difficult, because the EMI could occur at many different frequencies.
Attention is now directed towards
As those of skill in the art can appreciate, it is desirable to have DC servo circuit 1100 designed to produce a triangle wave signal that operates at a well-defined and fixed frequency. The frequency of the triangle wave signal output from DC servo circuit 1100 is the switching frequency (PWM frequency) of the Class-D amplifier, and is preferably greater than 250 KHz, in order to maximize the bandwidth of the Class-D amplifier. According to aspects of the embodiments, the frequency of triangle ramp output signal 1104 from DC servo circuit 1100 is about 1 MHz. As those of skill in the art can appreciate, the audio signal bandwidth occupies a much lower frequency range of about 20 Hz to about 20 KHz.
By way of non-limiting examples, a few calculations are shown below indicating impedance values of DC servo circuit 1100 capacitors C939 and C940 and the added shunt inductor L7 over the audio frequency range, and at the much higher fixed switching frequency.
In
At 20 Hz, 360 pF represents an impedance of 22.1 Mohm (22.1×106 ohm, or 22.1 MΩ; Point A; using Zc=1/(2πFC) where Zc is the impedance of the capacitor, F is the frequency of interest, and C is the capacitance value).
At 100 Hz, 360 pF represents an impedance of 4.42MΩ (4.42×106Ω) (Point B).
At 1 KHz, 360 pF represents an impedance of 442KΩ (442×103Ω) (Point C).
At 10 KHz, 360 pF represents an impedance of 44.2 KΩ (44.2×103Ω) (Point D).
At 20 KHz, 360 pF represents an impedance of 22.1 KΩ (22.1×103Ω) (Point E).
At 100 KHz, 360 pF represents an impedance of 4.42 KΩ (4.42×103Ω) (Point F).
At 1 MHz, 360 pF represents an impedance of 442Ω (Point G).
The data points above are shown in Table 1900 of
In contrast, a 1 mH (1000 uH) inductor (L7) presents the following impedance to noise and signal currents at the frequencies of interest:
At 20 Hz, 1000 uH represents an impedance of 125.66 mΩ (125.66×10−3Ω; Point A) (using ZL=2πFL) where ZL is the impedance of the inductor, F is the frequency of interest and L is the inductance value).
At 100 Hz, 1000 uH represents an impedance of 628mΩ (628×10−3Ω; Point B).
At 1 KHz, 1000 uH represents an impedance of 6.28Ω (Point C).
At 10 KHz, 1000 uH represents an impedance of 62.8Ω (Point D).
At 20 KHz, 1000 uH represents an impedance of 125.66Ω (Point E).
At 100 KHz, 1000 uH represents an impedance of 628Ω (Point F).
At 1 MHz, 1000 uH represents an impedance of 6.28 KΩ (Point G).
Attention is directed to
On the other hand, adding any non-capacitive shunt impedance to ground at the output of DC servo circuit 1100 will introduce a non-linearity into the triangle wave signal output by DC servo circuit 1100, wherein the non-linearity is generated by the fixed current sources (
Further, it can be appreciated, based on the discussion herein according to aspects of the embodiments, that inductor L7 provides a substantial shunt to ground (i.e., a very low impedance) for audio frequencies because of the value selected, while the capacitors C939 and C940 provide a relatively high impedance at audio frequencies. Similarly, while any capacitor acts in a “shunt-like” manner (low impedance) to higher frequencies—e.g., the frequence of triangle ramp output signal 1104—the values selected prevent a “total” or complete shunt to ground, but instead generate the desired peak-to-peak voltage (about 10 volts) that is required of triangle ramp output signal 1104 according to aspects of the embodiments. Further, the inductor L7 is a substantially high impedance to the frequency of triangle ramp output signal 1104. Thus, in the combination as shown in
As discussed above,
A simulation of operation of the circuit of
From about 20 Hz to about 20 kHz, the noise level in
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 or prevent the possibility of mismatching an output load impedance with regard to a rated power output of the Class D amplifier, thereby substantially preventing or minimizing the possibility of damaging the output stages of the Class D amplifier.
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 central position on the PCB of the audio amplifier operating as a central current generator circuit block and current mirrors may operate remotely to generate triangle ramp output signal 1104 in each individual amplifier channel.
The present application claims priority under 35 U.S.C. § 119 (e) to both U.S. Provisional Patent Application Ser. No. 62/427,730, filed Jul. 12, 2023 (Attorney Docket No. CP00662-00) and U.S. Provisional Patent Application Ser. No. 62/580,040, filed Sep. 1, 2023 (Attorney Docket No. CP00662-01), the contents of both of which are expressly incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63580040 | Sep 2023 | US | |
63513164 | Jul 2023 | US |