Amplifier current consumption control

10008993 ยท 2018-06-26

Assignee

Inventors

Cpc classification

International classification

Abstract

The audio amplifier includes a variable gain amplifier receiving the input audio signal and providing the output signal, whereby the output signal corresponds to the input signal amplified by a limiter gain. The audio amplifier further includes a limiter gain calculation unit, thus the input signal is amplified by the limiter gain. A control unit receives a signal representative of the input signal and is configured to estimate, based on a mathematical model, the input current or the total output current of the audio amplifier thus providing an estimated current signal corresponding to (and resulting from) the output signal, whereby the limiter gain calculation unit is configured to calculate, dependent on the estimation, the limiter gain such that the actual input current or the total output current of the audio amplifier does not exceed a threshold current value.

Claims

1. An audio amplifier comprising: a variable gain amplifier that receives an input audio signal and amplifies the input audio signal by a limiter gain to provide an amplified output signal; a sensor that senses and provides an audio amplifier current signal indicative of the current provided by the audio amplifier; a control unit that includes an adaptive filter that receives a first signal indicative of the input audio signal and a second signal indicative of an audio amplifier current, the control unit configured to provide a predicted current signal indicative of a prediction of the audio amplifier current; and a limiter gain calculation unit that calculates, dependent on the predicted current signal and a current threshold value, the limiter gain to allow a reduction of the limiter gain before an actual audio amplifier current reaches the current threshold value.

2. The audio amplifier of claim 1, where the control unit also receives the amplified output signal and processes the amplified output signal, the input signal and the second signal indicative of the audio amplifier current to provide the predicted current signal.

3. The audio amplifier of claim 1, further including a delay unit coupled to the variable gain amplifier.

4. The audio amplifier of claim 1 comprising at least two audio channels, one variable gain amplifier being associated with each audio channel and being configured to amplify a respective input signal by the limiter gain; and where the control unit includes a signal combining unit configured to combine input or output signals of the at least two audio channels so as to provide a sum signal; the adaptive filter is configured to estimate a transfer function describing transfer characteristics from the sum signal to a total output current of the audio amplifier.

5. The audio amplifier of claim 4 where the control unit further includes a delay unit coupled upstream to the adaptive filter.

6. The audio amplifier of claim 1, where the limiter gain is frequency dependent.

7. A method for limiting current consumption of an audio amplifier, comprising: amplifying an input audio signal by a variable limiter gain to provide an amplified output signal; sensing audio amplifier current with a current sensor and providing an audio amplifier current signal indicative thereof; processing a first signal indicative of the input audio signal and a second signal indicative of the audio amplifier current signal with an adaptive filter, and providing an estimated current signal indicative of estimation of a prediction of the audio amplifier current signal; and calculating the variable limiter gain based upon the predicted current signal and a current threshold value, and limiting the variable limiter gain before an actual audio amplifier current reaches the current threshold value.

8. The method of claim 7, where the step of providing the predicted current signal comprises: iteratively adapting finite impulse response (FIR) filter coefficients so as to emulate a transfer function representing transfer characteristics from the amplified output signal to the input audio signal to the current sensor; and using the transfer function to calculate the predicted current signal.

9. The method of claim 8 where the step of using the transfer function to calculate the predicted current signal comprises: transforming the iteratively adapted FIR filter coefficients into corresponding infinite impulse response (IIR) filter coefficients so as to obtain an IIR filter having approximately the same transfer characteristics as a minimum phase part of the FIR filter.

10. The method of claim 7 where the variable limiter gain is frequency dependent.

11. The method of claim 9 where the variable limiter gain is frequency dependent and where the step of calculating the variable limiter gain comprises: calculating an inverse transfer function of the FIR or the IIR filter; and calculating the variable limiter gain such that frequency characteristics of the variable limiter gain at least approximately matches frequency characteristics of the inverse transfer function of the FIR or the IIR filter.

12. The method of claim 7, where the audio amplifier comprises at least two audio channels, the method further comprises: combining signals of the at least two audio channels so as to provide a sum signal; and estimating a transfer function describing transfer characteristics from the sum signal to the audio amplifier current signal.

13. The method of claim 12 where the step of combining comprises a weighted summation of the input or the output signals of the at least two audio channels, where weighting factors are chosen so as to consider loudspeakers of different impedances at different audio channels, the weighting factors being frequency dependent.

14. The method of claim 8, where the step of sensing the audio amplifier current comprises sensing at least one of input current consumption of the audio amplifier or total output current of the audio amplifier such that the audio amplifier current signal is indicative of at least one of input current consumption of the audio amplifier or total output current of the audio amplifier.

15. An audio amplifier comprising: an audio channel, the audio amplifier being configured to amplify, for the audio channel, an input audio signal to provide an output signal that corresponds to the input signal amplified by a limiter gain; a variable gain amplifier for the audio channel, the variable gain amplifier receiving the input audio signal and providing the output signal; a control unit configured to predict, based on a mathematical model, an input current consumption or total output current of the audio amplifier to provide a predicted current signal due to the input audio signal; and a limiter gain calculation unit, which is configured to calculate, dependent on the predicted current signal and a current threshold value, the limiter gain to allow a reduction of the limiter gain before an actual audio amplifier current reaches the current threshold value.

16. The audio amplifier of claim 15, further comprising: a sense unit configured to provide a current sense signal representative of the input current consumption or total output current of the audio amplifier.

17. The audio amplifier of claim 16 wherein the control unit includes an adaptive filter configured to emulate transfer characteristics that describe the relation between a signal representing the input signal or the output signal of an amplifier output channel and a resulting current sense signal, which represents the input current consumption or total output current providing an estimated transfer function; and wherein the control unit is configured to provide the predicted current signal based on the input signal or the output signal using the estimated transfer function.

Description

DESCRIPTION OF THE DRAWINGS

(1) The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, instead emphasis being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:

(2) FIG. 1 is a block diagram illustration of an audio system whereby only one output channel is shown for the sake of simplicity;

(3) FIG. 2 is a block diagram of an alternative embodiment audio system;

(4) FIG. 3 illustrates the example of FIG. 2 in more detail;

(5) FIG. 4 illustrates the example of FIG. 3 in more detail;

(6) FIG. 5 illustrates one example of the adaptive filter used in the examples of FIGS. 3 and 4;

(7) FIG. 6 illustrates an alternative to the example illustrated in FIG. 5;

(8) FIG. 7 illustrates the combining of the output signals to a provide a sum signal as shown in FIG. 5 further considering the loudspeaker's impedances; and

(9) FIG. 8 illustrates the example of FIG. 4 using a frequency dependent limiter gain.

DETAILED DESCRIPTION OF THE INVENTION

(10) The making and using of the presently preferred embodiments are discussed in detail below. It should be appreciated, however, that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the invention, and do not limit the scope of the invention.

(11) It has to be noted that in the further discussion (audio) signals are illustrated as discrete time signals. A signal a[n] illustrates a general discrete time signal with a time index n denoting the discrete sampling time. Further it has to be noted that only these components of the depicted systems which are relevant for the further discussion are included in the figures. Analog-to-digital converters, digital-to-analog converters, power amplifiers and other components which may be necessary for signal transmission and audio signal reproduction are not shown for the sake of simplicity.

(12) FIG. 1 is a block diagram illustration of an audio system in accordance with one example of the invention whereby only one output channel is shown for the sake of simplicity. However, the principle illustrated in the example of FIG. 1 can readily be generalized to multiple audio channels. An input signal x[n] (associated with a certain audio channel) is generated by a signal source 10 and may be pre-processed by a signal processing unit 20. That is, the actual input signal x[n] is provided at an output of the signal processing unit 20 for further processing. The signal processing unit 20 typically performs various signal processing tasks such as the equalization of the audio signal, surround sound processing or the like. However, the details of the pre-processing are not essential for the further discussion.

(13) The input signal x[n] is amplified by a variable gain referred to as limiter gain G.sub.LIM[n] whose value may be updated each sampling interval. The resulting output signal y[n] may thus expressed as y[n]=x[n].Math.G.sub.LIM[n]. The output signal y[n] is forwarded to the loudspeaker 40, via an D/A converter and a power amplifier stage, where it is converted in a corresponding acoustic audio signal.

(14) The limiter gain G.sub.LIM[n] is calculated by a limiter gain calculation unit 32 from a predicted current signal i.sub.IN representative of the input current consumption (i.e., predicted total input current consumption of the amplifier or, alternatively, predicted total output current provided by the amplifier output stage) and from a current threshold i.sub.MAX defining the desired maximum current (i.e., input current consumption or, alternatively, maximum output current). The limiter gain G.sub.LIM[n] is calculated such that the actual input current i.sub.IN (or output current) will not exceed the current threshold i.sub.MAX. However, a short transient over-current might be acceptable depending on the actual application. The variable gain amplifier 31 and the limiter gain calculation unit 32 may be together regarded as limiter 30. It should be noted that in the following description, the input current i.sub.IN is predicted and compared to a respective current threshold defining a maximum input current consumption. As already mentioned above, a corresponding current threshold may be defined for the total output current of the amplifier which would require to predict the total output current. In the following description the input current consumption i.sub.IN is predicted, however, it will be understood that such input current estimate i.sub.IN may easily be converted into a corresponding output current estimate as the total output current and the input current consumption are approximately proportional in practical audio amplifier implementations.

(15) When predicting a future input current i.sub.IN value (resulting from the actually present input signal x[n]) a nominal limiter gain value (e.g., G.sub.LIM=1) is assumed. Predicting an over-current i.sub.IN>i.sub.MAX allows for reducing the limiter gain G.sub.LIM[n] (e.g., to values lower than unity) before the actual input current i.sub.IN actually reaches the predicted value i.sub.IN. Alternatively, when a future output current value is to be predicted, the actual prediction may be performed using input current information resulting in an estimate for the input current that can be converted to an estimate for the output current.

(16) For the further discussion one aspect is the calculation (i.e., the estimation, also referred to as prediction) of an input current i.sub.IN[n+1] (or alternatively an output current) resulting from a given input signal x[n]. Such prediction makes use of the actual input or output current information provided by one or more current sensors such as by a input current consumption sensor 50 illustrated in FIG. 1. In the example of FIG. 1 this calculation is performed by a control unit 33 that includes a mathematical model describing the relationship between influencing variables such as the actual supply voltage u.sub.IN of the audio amplifier, the audio input signal x[n] to be reproduced, the number of active loudspeakers, the temperature of the amplifier output stage, etc. and the resulting input current i.sub.IN (or output current). Various other influencing variables might be considered, too. For enabling an ongoing estimation (prediction) the current sensor 50 may be provided supply a signal representing the actual input current i.sub.IN[n] to the control unit 33.

(17) FIGS. 2 to 4 illustrate the principle and the details of one possible way of estimating the impending input current i.sub.IN[n+1] from the current values of the input signal x[n], the (amplified) output signal y[n], and a measured input current sensor signal representing the current input current signal i.sub.IN[n] (e.g., stemming from current consumption sensor 50). As mentioned above, the corresponding output current may be estimated as an alternative. FIG. 2 illustrates the control unit 33 receiving the above mentioned signals x[n], y[n], and i.sub.IN[n]. Further, FIG. 2 illustrates the transfer function H(z) describing the transfer characteristics from the output signal y[n] (output by the loudspeaker 40 via a power amplifier output stage) to the input current i.sub.IN[n] sensed by the current sensor 50. The mentioned transfer characteristics may be estimated by the control unit 33 during operation of the audio amplifier and the corresponding estimated transfer function H(z) may be used to calculate, from the input signal x[n], an estimation for the impending input current i.sub.IN[n+1]. This is possible because H(z) has a low pass characteristics and always includes a delay, further denoted as delay time t.sub.H (e.g., the delay between a peak in signal y[n] and a corresponding peak in the input current i.sub.IN[n]). At this point it should be remembered that the system H(z) is regarded as discrete time system in the present discussion as a digital implementation of the control unit 33 seems to be advantageous. However, at least partially analog implementations might be applicable as well.

(18) FIG. 3 illustrates, as one example of the present invention, a useful implementation for estimating the transfer characteristics of the system H(z). An adaptive filter 331 may be implemented in the control unit (e.g., as an adaptive FIR filter) which receives, as input, the output signal y[n] and, as reference, the measured input current i.sub.IN[n]. As the input current i.sub.IN[n] is always positive (regardless of whether the output signal y[n] has positive or negative values) the output signal y[n] may be subject to a positive definite transformation before being supplied to the adaptive filter 331. For example, the squared output signal y[n].sup.2 or the absolute signal values |y[n]| may be supplied to the adaptive filter 331. The transfer function H(z) usually represents a simple low pass characteristics, as low frequency sound requires a high sound pressure level so as to be acoustically perceivable. The adaptive filter H(z) (filter 331) usually does not change its coefficients quickly, as the transfer characteristics of the output signal y[n] to the input current i.sub.IN[n] (or alternatively to the output current) usually changes only gradually. The actual current estimate i.sub.IN[n+1] is calculated by filtering the (optionally squared) input signal x[n] using a filter 332 which is a (optionally scaled by factor G.sub.LIM[n] to avoid a continuous recalibration of h.sub.k[n]) copy of the filter coefficients provided by the adaptive filter 331. In the example of FIG. 3 the filter 332 implements the same filter coefficients h.sub.k[n] as the adaptive filter 331, and thus the current estimate at the output of the filter 332 is scaled by a scaling factor equal to the current limiter gain G.sub.LIM[n]. However, as the current limiter gain is known by the limiter gain calculation unit, such scaling can be considered in the calculation of the updated limiter gain G.sub.LIM[n+1].

(19) As illustrated in FIG. 4, the limiter 30 (composed of, inter alia, variable gain amplifier 31 and limiter gain calculation unit 32) may further include a delay t.sub.LIM that may be lumped into the delay unit 34 for the purpose of mathematical modeling. The delay t.sub.LIM is typically greater than one millisecond for feed forward limiters in practical implementations. This delay may adversely affect the adaptation behavior of the adaptive filter 331 as the signal y[n] reaches the filter 331 after the resulting current signal i.sub.IN[n]. To avoid this, a delay line 334 (delay tt.sub.LIMt.sub.H) has to be included between the current sensor 50 and the adaptive filter 331 so as to delay the current sense signal i.sub.IN[n] received by the adaptive filter. The respective delay should be at least as large as the difference between the limiter delay t.sub.LIM and the dead time t.sub.H of system H(z).

(20) It may be worth noting that the output signal y[n] should be tapped so as to be supplied to the adaptive filter (after having been squared, see FIG. 4). In theory, also the input signal x[n] might be tapped instead for the same purpose. In the latter case, however, the resulting adaptive filter would be permanently rescaled in response to a change of the limiter gain G.sub.LIM[n] whereas, once having converged, the coefficients of the adaptive filter 331 remain almost constant when taking the signal y[n] as input. The current limiter gain value G.sub.LIM[n] might instead be considered in the gain calculation unit 32.

(21) A real world audio system typically has more than one output signal y[n], typically at least two. In the following the output signal of each channel is labeled with the index CH1, CH2, etc., that is y.sub.CH1[n], y.sub.CH2[n], . . . , y.sub.CHN[n]. Each of the output signals y.sub.CH1[n], y.sub.CH2[n], . . . , y.sub.CHN[n] contributes to the total current consumption i.sub.IN[n] of the audio amplifier. FIG. 5 illustrates the estimation of the predicted input current signal i.sub.IN[n] in a multi-channel case. In order to account for the contribution of each channel each output signal is squared (see unit 333 in FIGS. 4 and 5) and the squared signals are added so as to form a sum signal y.sub.SUM[n] which represents the superposition of the output signals of all output channels. Instead of squaring the signals their absolute values may be taken as already mentioned above. The sum signal y.sub.SUM[n] is processed essentially in the same way as the signal y[n] in the example of FIGS. 3 and 4. The sum signals y.sub.SUM[n] and x.sub.SUM[n] may represent a weighted sum. Especially, if the loudspeakers connected to the channels do not have the same impedance the individual signals y.sub.CH1[n], y.sub.CH2[n], . . . , y.sub.CHN[n] (or x.sub.CH1[n], x.sub.CH2[n], x.sub.CHN[n]) have to be weighted in accordance with the corresponding loudspeaker's impedance before calculating the respective sum signal. The details of the weighting is explained further below with reference to FIG. 7.

(22) The signal y.sub.SUM[n] is supplied to the adaptive filter 331 that includes a FIR filter unit and an adaptation unit, whereby the adaptation unit iteratively calculates updated filter coefficients h.sub.k[n] that represent the filter transfer function H(z). For this purpose the adaptation unit receives the signal y.sub.SUM[n] and an error signal e[n] which represents the difference between the output of the adaptive filter (i.e., the estimation) and the actual current signal i.sub.IN[n]. The iterative calculation is done in accordance with known adaptation algorithms such as, for example, a Least-Mean-Squares algorithms (LMS algorithms). A copy of the adaptive filter coefficients h.sub.k[n] is used in the filter unit 332 for filtering a sum signal x.sub.SUM[n] representing a superposition of the (e.g., squared) input signals x[n] of all channels. The delay unit 334 shown in FIG. 5 is optional and may be provided to account for a dead time in the transfer characteristics H(z) to be emulated by the adaptive filter. The dead time can be lumped into the delay unit 334, which allows for a more efficient use of the adaptive filter 331.

(23) FIG. 6 illustrates an alternative to the example of FIG. 5. In the limiter control unit 33 of FIG. 6 the undelayed sum signal y.sub.SUM[n] is fed to the filter 332 for calculating the current estimate i.sub.IN[n+1] instead of the sum signal x.sub.SUM[n]. Concerning this example it is important to notice that the above mentioned delay unit 334 (delay of n.sub.delay samples) is required and that the delayed signal y.sub.SUM[nn.sub.delay] is provided to the adaptive filter 331 whereas the undelayed signal y.sub.SUM[n] is provided to the filter unit 332 for calculating the current estimate i.sub.IN[n+1]. It should be noted that the current estimate i.sub.IN[n+1] provided by the example of FIG. 4 is scaled by a factor G.sub.LIM[n] as compared to the current estimate i.sub.IN[n+1] provided by the example of FIG. 6. However, this scaling can be considered in the limiter gain calculation and is thus unproblematic.

(24) FIG. 7 illustrates an enhanced example of the combining of the output signals y.sub.CH1[n], . . . , y.sub.CHN[n] to one sum signal y.sub.SUM[n] as illustrated in the examples of FIGS. 5 and 6. In accordance with FIG. 7 each one of the output signals y.sub.CH1[n], . . . , y.sub.CHN[n] is squared (or transformed to a positive definite signal) and then weighted (e.g., multiplied) by a corresponding weighing factor c.sub.1, c.sub.2, . . . , c.sub.N. Alternatively, the weighing can be done with a factor sqrt(c.sub.1) (or sqrt(c.sub.2) etc.) before the square operation. The weighing factors c.sub.1, c.sub.2, c.sub.N are calculated so as to compensate for loudspeakers having different impedances connected to the different audio channels. For example, an audio channel supplying a 4 ohm loudspeaker will have to supply twice the output current than a channel supplying an 8 ohm loudspeaker when supplied with the same output signals y.sub.1[ ], y.sub.2[n]. Consequently, the weighing factor c.sub.1 for the first channel would equal two times the weighing factor for the second channel in the present example. As the loudspeaker's impedance does not significantly change during operation, the weighing factors c.sub.1, c.sub.2, . . . , c.sub.N can be considered as constants. In a more sophisticated implementation the weighing factors may be frequency dependent, i.e., different weighing factors c.sub.1k, c.sub.2k, c.sub.Nk are used for different spectral ranges (spectral lines k) of the output signals y.sub.CHI[n], . . . , y.sub.CHN[n]. Thereby, the frequency dependent weighing factors may represent the frequency dependent impedance of the respective loudspeakers. In the example of FIG. 5 the input signals x.sub.1[n], x.sub.2[n], . . . , x.sub.N[ ] may be processed the same way as the output signals (see FIG. 7), so as to form a corresponding sum signal x.sub.SUM[n].

(25) For an efficient implementation the adaptive filter may be realized in the frequency domain using fast Fourier algorithms in connection with the known overlap-and-save method (see Oppenheim-Schafer: Chapter 8.7.3 Implementing Linear Time-Invariant Systems using DFT, in: Discrete Time Signal Processing, Prentice Hall, 1999). Further, in order to allow for a computationally more efficient implementation of the FIR filter 332 (see FIG. 4) the FIR transfer function H(z) can be transformed to (and thus approximated by) a computationally more efficient infinite impulse response (IIR) filter using LPC analysis which can efficiently implemented using the Levinson-Durbin recursion. Therefore, only the minimum phase component of the estimated (FIR) transfer function H(z) has to be considered for the transformation to a corresponding IIR filter H(z) as the phase response of the resulting IIR filter is irrelevant in the present application. This feature is included in the limiter controller 33 illustrated in FIG. 8 and entails the advantage of reduced computational complexity, as IIR filters requires significantly less coefficients as FIR filters exhibiting a similar frequency response.

(26) The limiter 30 included in the example of FIG. 8 differs from the limiter illustrated in the examples of FIG. 3 or 4 in that the respective limiter gain calculation unit 32 is configured to calculate a frequency dependent limiter gain G.sub.LIM,k[n] whereby the subscript k denotes the respective frequency band (or discrete spectral line as the signals are processed as discrete time and discrete frequency signals). This frequency dependent limiter gain G.sub.LIM,k[n] allows to reduce the gain of some spectral components of the input signals x[n] more than the gain of other components. A reduction of the limiter gain associated with a bass frequency range (e.g., frequencies below 180 Hz) will have a greater impact on the current consumption as a reduction of the limiter gain associated with the treble frequency range (e.g., greater than 1 kHz).

(27) In accordance with a further example of the invention the frequency dependent limiter gain G.sub.LIM,k[n] exhibits a frequency characteristics that (at least approximately) matches the (optionally scaled) frequency characteristics of the inverse of frequency response H(z) estimated by the adaptive filter 331. When, as mentioned above, using the Levinson-Durbin recursion to simplify the estimates FIR filter to an IIR filter, the inverse may be easily obtained by interchanging nominator and denominator of the transfer function of the IIR filter H(z) (filter 332). However, the mentioned simplification of the estimated FIR filter is not necessary for implementing a frequency dependent limiter gain G.sub.LIM,k[n]; the limiter gain calculation unit 32 may use a different strategy to calculate the frequency dependent limiter gain G.sub.LIM,k[n]. Further, different limiter thresholds i.sub.MAX,k may be provided for the respective frequency bands (spectral lines) and typically an attenuation of the low frequencies has a greater impact on the current consumption than an attenuation of the higher frequencies. When attenuating only the low frequencies, however, the perceived loudness will decrease not so much as if a broadband attenuation would be used as in the example of FIG. 3 or 4.

(28) In the case of multiple audio channels a sum signal y.sub.SUM[n] is formed from all output signals y.sub.CH1[n], y.sub.CH2[n], y.sub.CHN[n] that contribute to the total current consumption i.sub.IN[n] of the audio amplifier. The resulting sum signal is fed into the adaptive filter 331 which is a SISO system (single input single output system) in the example of FIGS. 5 and 6. However, as an alternative to summing the output signals a multidimensional adaptive filter (i.e., a MISO system, multiple input single output system) may be used to estimate a transfer vector representing the transfer characteristics from the output current vector {signals y.sub.CH1[n], y.sub.CH2[n], . . . , y.sub.CHN[n]} to the resulting input current consumption i.sub.IN[n] (or alternatively the output current consumption). However, in practical implementations the example of FIGS. 5 and 6 seems to be sufficient and easier to implement.

(29) Although various examples to realize the invention have been disclosed, it will be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the invention without departing from the spirit and scope of the invention. It will be obvious to those reasonably skilled in the art that other components performing the same functions may be suitably substituted. Such modifications to the inventive concept are intended to be covered by the appended claims Furthermore the scope of the invention is not limited to automotive applications but may also be applied in any other environment, e.g., in consumer applications like home cinema or the like and also in cinema and concert halls or the like.

(30) Although the present invention has been illustrated and described with respect to several preferred embodiments thereof, various changes, omissions and additions to the form and detail thereof, may be made, without departing from the spirit and scope of the invention.