Devices and methods to control dynamic audio range in non-boosted audio systems

12424978 ยท 2025-09-23

Assignee

Inventors

Cpc classification

International classification

Abstract

An audio system includes an amplifier, regulating circuitry, and a filter. The regulating circuitry generates an audio voltage threshold signal based on an estimated value of the supply voltage source of the system, the estimated ESR between the system voltage supply and amplifier voltage supply pin, and the measured output resistance of the system. From these measurements/estimates, an anti-clipping voltage limit signal is generated. Power-budget-based and current-budget-based voltage limit signals are also determined based on first and second functions of the estimated value of the voltage source, respectively. The minimum of these three voltage limit signals is selected as the audio voltage threshold signal. The measurements, estimates and calculations are performed on a periodic basis to continually update the audio voltage threshold signal and thus adaptively regulate the audio system. A de-emphasis filter in the audio signal path compensates for capacitive ripple of the voltage at the amplifier's voltage supply pin.

Claims

1. An electronic circuit comprising: a voltage limiter having a filtered audio input, an audio voltage threshold input, and a gain signal output; a filter having an audio input and an audio output coupled to the filtered audio input; a selector having an anti-clipping voltage limit input, a power-based voltage limit input, a current-based voltage limit input, and an output coupled to the audio voltage threshold input, the selector configured to select one of an output of the anti-clipping voltage limit input, an output of the power-based voltage limit input and an output of the current-based voltage limit input, and output the selected output as an audio voltage threshold signal to the audio voltage threshold input of the voltage limiter; and a controller having a first voltage input configured to receive a maximum input voltage value of a voltage for input to a supply voltage input of an amplifier associated with the voltage limiter, a second voltage input configured to receive a minimum input voltage value of the voltage for input to the supply voltage input of the amplifier, a third voltage input configured to receive an average input voltage value of the voltage for input to the supply voltage input of the amplifier, a resistance input configured to receive an output resistance value, and an output configured to output an anti-clipping voltage limit signal to the anti-clipping voltage limit input of the selector.

2. The electronic circuit of claim 1, wherein the controller is configured to estimate a present value of a source voltage and generate a measured voltage signal representing the estimated present value of the voltage source based on the maximum input voltage value, the average input voltage value and a silence voltage threshold.

3. The electronic circuit of claim 2, wherein the controller is configured to estimate a present value of external series resistance (ESR) between an output of a voltage source and the supply voltage input of the amplifier and generate a measured resistance value representing the estimated present value of the ESR, the present value of the estimated ESR based on the minimum input voltage value, a previous value of the anti-clipping voltage limit signal, a previous value of the estimated ESR and whether audio of an audio system is under compression.

4. The electronic circuit of claim 3, wherein the controller is configured to determine the anti-clipping voltage limit signal based on the estimated present value of the voltage source, the estimated present value of the ESR and the output resistance value.

5. The electronic circuit of claim 4, further comprising: a first calculator configured to calculate a power-based voltage limit signal based on a first function of the estimated present value of the voltage source; and a second calculator configured to calculate a current-based voltage limit signal based on a second function of the estimated present value of the voltage source.

6. The electronic circuit of claim 5, wherein the selector is configured to select a minimum of the anti-clipping voltage limit signal at the anti-clipping voltage limit input, the power-based voltage limit signal at the power-based voltage limit input, and the current-based voltage limit signal at the current-based voltage limit input, and output the selected minimum signal as the audio voltage threshold signal.

7. An electronic circuit comprising: a voltage limiting circuitry having a filtered audio input, an audio voltage threshold input, and a gain signal output; a filter having an audio input and an audio output coupled to the filtered audio input; and a selector having an anti-clipping voltage limit input, a power-based voltage limit input, a current-based voltage limit input, and an output coupled to the audio voltage threshold input, the selector configured to select one of an output of the anti-clipping voltage limit input, an output of the power-based voltage limit input and an output of the current-based voltage limit input, and output the selected output as an audio voltage threshold signal to the audio voltage threshold input of the voltage limiting circuitry, wherein the filter comprises a de-emphasis filter configured to compensate for a decoupling capacitor between a voltage source and external series resistance (ESR) between an output of a voltage source and a supply voltage input of an amplifier associated with the voltage limiting circuitry.

8. The electronic circuit of claim 7, wherein the de-emphasis filter is configured to compensate for capacitive ripple of a voltage at the supply voltage input of the amplifier.

9. The electronic circuit of claim 7, wherein the de-emphasis filter is configured to be tuned based on the decoupling capacitor.

10. An audio system comprising: an amplifier having an audio input, a supply voltage input and a voltage output adapted to be coupled to a load; and regulating circuitry configured to: determine a present value of a source voltage and generate a measured voltage signal representing an estimated present value of the voltage source based on a maximum input voltage value of a voltage at the supply voltage input of the amplifier, an average input voltage value of the voltage at the supply voltage input of the amplifier and a silence voltage threshold, set a present value of an estimate of external series resistance (ESR) between the voltage source and the supply voltage input of the amplifier, the present value of ESR based on a minimum input voltage value of the voltage at the supply voltage input of the amplifier, a previous value of the estimate of ESR and whether audio of the audio system is under compression, determine an anti-clipping voltage limit signal based on the estimated present value of the voltage source, the present value of the ESR and a measured resistance value indicative of a present resistance of the load, calculate a power-based voltage limit signal based on a first function of the estimated present value of the voltage source, and calculate a current-based voltage limit signal based on a second function of the estimated present value of the voltage source.

11. The audio system of claim 10, wherein the regulating circuitry comprises: a voltage limiter configured to receive a select one of the anti-clipping voltage limit signal, the power-based voltage limit signal, and the current-based voltage limit signal, as an audio voltage threshold signal.

12. The audio system of claim 11, wherein the regulating circuitry is configured to select a minimum of the anti-clipping voltage limit signal, the power-based voltage limit signal, and the current-based voltage limit signal, and output the selected minimum signal as the audio voltage threshold signal to the voltage limiter.

13. The audio system of claim 10, further comprising: a de-emphasis filter having an input configured to receive an audio input signal and an output coupled to an audio input of a voltage limiter.

14. The audio system of claim 13, wherein the de-emphasis filter is configured to compensate for frequency-dependent ripple of the voltage at the supply voltage input of the amplifier.

15. The audio system of claim 10, further comprising: load measurement circuitry configured to measure a resistance of the load and output a signal indicative of the present resistance of the load.

16. The audio system of claim 15, wherein the load measurement circuitry includes load voltage and load current sensors.

17. A method comprising: measuring a source voltage applied to an audio system to generate a measured source voltage signal; updating an estimate of external series resistance (ESR) between a voltage source and a supply voltage input of an amplifier of the audio system to generate an updated estimate of ESR; measuring a resistance of a load of the audio system to generate a measured resistance; generating an anti-clipping voltage limit signal based on the measured source voltage signal, the updated estimated ESR, and the measured resistance; calculating a power-based voltage limit signal based on the measured source voltage signal; calculating a current-based voltage limit signal based on the measured source voltage signal; and selecting one of the anti-clipping voltage limit signal, the power-based voltage limit signal, and the current-based voltage limit signal as an audio voltage threshold signal for the audio system.

18. The method of claim 17, wherein the generating operation comprises generating the anti-clipping voltage limit signal such that, the anti-clipping voltage limit signal is less than or equal to a ratio of the measured source voltage signal to a sum of one plus the estimated ESR divided by the measured resistance.

19. The method of claim 17, wherein the updating comprises updating the estimated ESR to maintain the anti-clipping voltage limit signal to be less than or equal to a ratio of the measured source voltage signal to a sum of one plus the estimated ESR divided by the measured resistance.

20. The method of claim 17, wherein the power-based voltage limit signal is calculated as a first function of the measured source voltage signal, and the current-based voltage limit signal is calculated as a second function the measured source voltage signal.

21. The method of claim 17, wherein the audio voltage threshold signal is selected to be a minimum of the anti-clipping voltage limit signal, the power-based voltage limit signal and the current-based voltage limit signal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Features of the disclosure may be understood from the following figures taken in conjunction with the detailed description.

(2) FIG. 1 is a schematic diagram of components of an example non-boosted audio system.

(3) FIG. 2 is a schematic diagram of an example controller including an example source voltage measurer and an example external series resistance (ESR) estimator, which may be employed in the example non-boosted audio system of FIG. 1.

(4) FIG. 3 is a schematic diagram of an example de-emphasis filter and an example voltage limiter in the audio signal path, as well as other associated components of an example non-boosted audio system, such as that of FIG. 1.

(5) FIG. 4 is a graph of magnitude with respect to frequency of an output of an example de-emphasis filter, such as that of FIG. 3.

(6) FIG. 5 is a flow diagram of example operation of components of an example non-boosted audio system, such as that of FIG. 1.

(7) The same reference numbers are used in the drawings to designate the same or similar (structurally and/or functionally) features.

DETAILED DESCRIPTION

(8) Specific examples are described below in detail with reference to the accompanying figures. These examples are not intended to be limiting. The objects depicted in the drawings are not necessarily drawn to scale.

(9) In aspects of the disclosure, load voltage is regulated to increase or maximize audio headroom/loudness while preventing or minimizing clipping in non-boosted audio systems. That is, the target load voltage is regulated to be approximately equal to the instantaneous amplifier voltage rail. In aspects of the disclosure, battery current and/or battery power is regulated to prevent excessive discharge of the voltage source (e.g., battery) that may result from driving a high load voltage for an extended duration. Performing power/current regulation not only preserves battery life but also minimizes the chance of the audio system experiencing brown-out.

(10) Load voltage is regulated based on an estimate or measurement of true battery voltage (PVDD.sub.Msr) under a low ripple/silence condition, an estimate of ESR and measurement of the load resistance (Re). PVDD.sub.Msr and the ESR estimate are obtained from sampling and processing the voltage at the amplifier supply voltage input terminal (PVDD.sub.Dev). The ESR estimate updates a previous ESR estimate, considering the instantaneous ripple on PVDD.sub.Dev. ESR estimate may be increased when PVDD.sub.Dev falls below PVDD.sub.Lim, which would then decrease PVDD.sub.Lim. ESR estimate may be decreased at a very slow rate to recover headroom due to a change in system conditions, which would cause PVDD Lim to increase. ESR estimate may be reset to an initial or default value when there is a prolonged period of silence.

(11) PVDD.sub.Msr and the estimated ESR are then used to determine an anti-clipping voltage limit signal (PVDD.sub.Lim). PVDD.sub.Lim is compared with other voltage limit signals that are generated based on power and current budgets, PLIM and ILIM, respectively. PLIM and ILIM are obtained by applying respective functions to PVDD.sub.Msr, and then PLIM and ILIM are further processed to generate power-budget-based and current-budget-based voltage limit signals, respectively. That is, an audio voltage threshold signal (V.sub.Lim), used to control audio, is selected from among PVDD.sub.Lim, the power-budget-based voltage limit signal, and the current-budget-based voltage limit signal. Preferably, the minimum of those three signals is selected as V.sub.Lim. A de-emphasis filter in the audio control path is used to compensate for frequency-dependent PVDD.sub.Dev ripple.

(12) Advantageously, V.sub.Lim dynamically adapts to changes in system conditions by tracking PVDD, ESR and Re, while the de-emphasis filter compensates for frequency-dependent capacitive ripple. This ensures that the load voltage for audio playback will be (i) below the clipping threshold and (ii) nearly equal to the target output load power. This maximizes sound pressure level (SPL) and minimizes clipping. Considering PLIM and ILIM in determining Vu m improves or optimizes battery life and ensures balanced audio. Moreover, the system may be configured such that the audio limiter engages only when the signal level is large. Hence, comparatively softer sections of audio are not compressed even when the battery voltage is low, thus optimizing loudness and dynamic range even during low battery condition.

(13) FIG. 1 illustrates an example audio system 100 that includes a voltage source (e.g., a battery) 102, the true voltage of which is denoted PVDD. Battery 102 is coupled to a voltage input of an amplifier 104 via ESR 106. The voltage at the amplifier supply voltage input is denoted by PVDD.sub.Dev. Amplifier 104 has an audio input 108 at which an audio signal is received. A load 112 (having resistance Re) is coupled between an output of amplifier 104 and ground 114. Load 112 may be a speaker, for example.

(14) In general, an algorithm implemented by audio system 100 measures PVDD to generate a measured voltage signal (PVDD Msr) representing an estimated value of the voltage of battery 102, estimates ESR, measures the resistance (Re) of the load, and regulates audio such that PVDD.sub.Lim, which represents an anti-clipping voltage limit of audio system 100, is less than PVDD.sub.Dev. PVDD.sub.Lim across load 112 draws a current (I) that is approximately equal to PVDD.sub.Lim/Re. The voltage drop across ESR 106 can be determined as: ESR*(PVDD.sub.Lim/Re), and PVDD.sub.Dev is approximately equal to PVDDESR*(PVDD.sub.Lim/Re). To prevent clipping, PVDD.sub.LimPVDD.sub.DevESR*(PVDD.sub.Lim/Re). Hence, PVDD.sub.LimPVDD.sub.Msr/[1+ESR/Re]. To maximize audio output: PVDD.sub.Lim=PVDD.sub.Msr/[1+ESR/Re].

(15) Audio system 100 includes a controller 122 to determine PVDD.sub.Lim. Controller 122 is coupled to the output of a sampler 124, the input of which is coupled to an analog-to-digital converter (ADC) 126. ADC 126 receives PVDD.sub.Dev, which is the analog supply voltage signal input to the amplifier 104, and samples PVDD.sub.Dev. The sampling interval may be any suitable time period, e.g., 10.4 s (corresponding to a sampling rate of 96 KHz). This is a typical sampling rate with which ADC 126 digitizes PVDD.sub.Dev, although other sampling rates may be used.

(16) The sampled and digitized values are then processed by controller 122 to generate an estimated present value of the voltage of battery 102, which present value is denoted by PVDD.sub.Msr(n) and an estimated present resistance value of ESR 106, which present value is denoted by ESR(n). PVDD.sub.Msr(n) and ESR(n) are, in turn, used by controller 122, along with a measured resistance (Re) of load 112, to calculate an anti-clipping voltage limit PVDD.sub.Lim, as described in more detail below in connection with FIG. 2.

(17) To measure resistance (Re) of load 112, and thus obtain Re for the calculation of PVDD.sub.Lim, audio system 100 further includes voltage and current sensing circuitry 132 to sense the output voltage across load 112 and output current flowing through load 112 at each calculation interval. Circuitry 132 generates an analog signal indicative of the sensed output voltage (V sense), which signal is input to ADC 134 and digitized. Circuitry 132 also generates an analog signal indicative of the sensed output current (I sense), which signal is input to ADC 136 and digitized. The digital voltage and current values are then output by ADCs 134 and 136, respectively, to a resistance measurement circuit 138, where the load resistance value (Re) is determined. In an example, the output voltage and current are sensed periodically to provide an updated load resistance value (Re(n)) each calculation period, which values are provided by resistance measurement circuit 138 to controller 122 and other components described below as the values are obtained. Further detail regarding Re(n) measurement is given below.

(18) Audio system 100 further includes calculating circuitry 142 to calculate a current-budget-based voltage limit signal and a power-budget-based voltage limit signal. Calculating circuitry 142 may include a first calculator 144 that includes a function block that receives PVDD.sub.Msr from controller 122, applies a first function (1) to PVDD.sub.Msr to generate a system power budget (PLIM). PLIM is input to a multiplier of first calculator 144, where PLIM is multiplied with the load resistance value (Re) obtained from resistance measurement circuit 138. First calculator 144 also includes a square root function block to compute {square root over (PLIM*Re)} to generate a corresponding power-budget-based voltage limit signal. Calculating circuitry 142 further includes a function block and multiplier block to first apply a second function (2) to PVDD.sub.Msr to generate a system current budget (ILIM), which is then multiplied with Re obtained from resistance measurement circuit 138 to generate a corresponding current-budget-based voltage limit signal. The first function (1) may be configured such that as PVDD decreases, PLIM can be decreased to preserve battery life. The second function (2) may be similarly configured in terms of functionality; that is, 2 may operate on PVDD.sub.Msr such that as PVDD decreases so does ILIM, which also acts to preserve battery life.

(19) Each of the anti-clipping voltage limit signal (PVDD.sub.Lim), the power-budget-based voltage limit signal and the current-budget-based voltage limit signal is supplied to a selector 152, which is configured to select the minimum of these three signals, and output the selected minimum signal as an audio voltage threshold signal (V.sub.Lim) to a voltage limiter 154.

(20) In addition to having an audio voltage threshold input for V.sub.Lim, voltage limiter 154 also has a filtered audio input coupled to an output of a filter (e.g., a de-emphasis filter) 156, which has an audio input to receive an audio signal (Audio In). Voltage limiter 154 is configured to output a gain signal (Gain) to a multiplier 162 that also receives a signal from a look-ahead delay 164. Look-ahead delay 164 receives Audio In and is configured to delay the audio signal, as needed, to compensate for slow gain. In an example, delay may be 128 samples corresponding to a look ahead delay of 2.7 s for an audio sampling rate of 48 KHz.

(21) Multiplier 162 multiplies the output of look-ahead delay 164 with the gain signal from voltage limiter 154 to generate an audio signal (Audio Out) that is input to an adder 166, which also receives a pilot tone 168. Adder 166 adds pilot tone 168, which may be in the form of a very low amplitude and very low frequency signal, to Audio Out from multiplier 162 to generate an audio signal for input to amplifier 104. At very low frequency, load (i.e., speaker) 112 is resistive. Very low amplitude keeps the power loss due to pilot tone 168 to a minimum.

(22) Pilot tone 168 is also considered in the Re(n) measurement. In an example, the sensed V/I signals from voltage and current sensing circuitry 132 are passed through band-pass filters, which may be implemented in a digital signal processor (not shown) of audio system 100, tuned to the pilot tone frequency. The filtered signals are then passed through a digital divider block (voltage/current) of resistance measurement circuit 138 to compute Re(n), e.g.,

(23) Re ( n ) = V ( Pilot Frequency ) I ( Pilot Frequency ) .
In another example, the divider output is passed through an averaging filter of resistance measurement circuit 138 to filter out noise on the sensed resistance signal. Thus, in the latter example,

(24) Re ( n ) = Filter [ V ( Pilot Frequency ) I ( Pilot Frequency ) ] .

(25) FIG. 2 is a schematic diagram of example controller 122 including an example source voltage measurer 202, an example external series resistance (ESR) estimator 204, and an example PVDD.sub.Lim calculator 206. In each calculation interval n, source voltage measurer 202 determines PVDD.sub.Msr(n), ESR estimator 204 determines ESR(n), which values are then used by calculator 206, along with resistance measurement Re(n), to determine PVDD.sub.Lim(n).

(26) In an example, source voltage measurer 202 measures PVDD via PVDD.sub.Dev, for a block of samples (where N is the block size) to generate temporary maximum, average and minimum input voltage values: MAX.sub.V, AVG.sub.V, and MIN.sub.V, respectively. In an example, MAX.sub.V, AVG.sub.V and MIN.sub.V are determined as follows: MAX.sub.V=max(PVDD.sub.Dev(n))|.sub.n=0,1, . . . , N-1; AVG.sub.V=avg(PVDD.sub.Dev(n))|.sub.n=0,1, . . . , N-1; and MIN.sub.V=min(PVDD.sub.Dev(n))|.sub.n=0,1, . . . , N-1; If MAX.sub.VAVG.sub.V, i.e., the difference between MAX.sub.V and AVG.sub.V is less than a silence voltage threshold, which may be approximately 10 mV, then

(27) PVDD Msr = .Math. i = 0 K - 1 MAX V ( i ) K ,
where K is the number of averaging blocks. That is, PVDD.sub.Msr(n)=Avg(PVDD.sub.Max). Otherwise, PVDD.sub.Msr remains the same as the previous source voltage measurement; that is, PVDD.sub.Msr(n)=PVDD.sub.Msr(n1).

(28) MAX.sub.V only under low audio conditions is considered in measuring PVDD, as ripple is negligible during low audio segments. One or more de-coupling capacitors coupled to the output of battery 102 may reduce ripple at high frequencies for large signal audio.

(29) In an example, ESR estimator 204 updates an estimate of ESR 106, denoted by ESR(n), by adapting to changing audio and external conditions. If MIN.sub.V<PVDD.sub.Lim(n1), i.e., the previous calculation of PVDD.sub.Lim, then ESR(n), i.e., the current estimate of ESR, is increased relative to its previous estimate (ESR(n1)) in a fast attack manner; that is, ESR(n)=ESR(n1)+an attack amount of resistance, which may be 0.05. This ensures that PVDD.sub.Lim is regulated to prevent clipping. If MIN.sub.VPVDD.sub.Lim(n1)+ consistently for certain period of time and the audio is compressed, then ESR(n) is reduced in a slow release manner; that is, ESR(n)=ESR(n1)a decay amount, which may be 0.01. This ensures that available headroom is recovered when ESR reduces due to change in ambient conditions. In an example, may be approximately 100 mV. If neither of those conditions apply, estimated ESR remains the same; that is, ESR(n)=ESR(n1). This means that even if ESR has decreased due to change in ambient condition(s) there is already enough audio headroom available so no ESR adaptation is required.

(30) Whether the audio is under compression can be determined by comparing the output audio signal (Audio Out) with the input audio signal (Audio In). If the amplitude of Audio Out is less than the amplitude of Audio In, the audio is under compression.

(31) In the case in which MAX.sub.VAVG.sub.V for a prolonged period of time, which would include a prolonged period of silence, (e.g., approximately 5 minutes), estimated ESR may be reset to an initial (default) value after that time.

(32) FIG. 3 shows the audio signal path including example de-emphasis filter 156, which receives the input audio signal (Audio In) and provides a filtered audio signal to voltage limiter 154, which generates a gain signal (Gain). In FIG. 3, component 302 represents a combination of PVDD.sub.Lim calculator 206 and selector 152. Thus, PVDD.sub.Lim is calculated by component 302 based on inputs PVDD.sub.Msr, estimated ESR and measured Re, as described above. Component 302 also receives the power-budget-based and current-budget-based voltage limit signals from calculators 144 and 146, respectively, and selects one of PVDD.sub.Lim, the power-budget-based voltage limit signal, and the current-budget-based limit signal as V.sub.Lim, which is output by component 302 and input to voltage limiter 154.

(33) De-emphasis filter 156 compensates for frequency-dependent, e.g., capacitive, ripple in the audio signal path, as well as de-emphasizes higher frequency components of the audio signal, as shown in graph 400 of FIG. 4 depicting the magnitude (dB) of the filtered audio signal with respect to its frequency (Hz). De-emphasis filter 156 allows less power to go through voltage limiter 154 at high frequencies, causing it to relax the attenuation and take advantage of increased audio headroom due to low ripple. In an example, de-emphasis filter 156 is tunable based on the decoupling capacitor at the output of battery 102. De-emphasis filter 156 can also be used to compensate for lower power delivery due to reactive load at high frequencies.

(34) Voltage limiter 154 may include peak-tracker circuitry to track the peak and estimate the amplitude of the filtered input signal (In(n)) received from de-emphasis filter 156. The estimate of the amplitude of In(n) is denoted In.sub.est(n). To obtain In.sub.est(n), the peak-tracker circuitry compares the absolute value of the filtered input signal, i.e., (|In(n)|), with the estimate of the peak in the immediately previous audio calculation interval (In.sub.est(n1)). If In.sub.est(n1)<|In(n)|, then In.sub.est(n)=|In(n)|; otherwise (i.e., if In.sub.est(n1)|In(n)|, In.sub.est(n)=In.sub.est(n1)a decay factor. The decay factor may correspond to a decay time constant that allows for a slower release of the gain signal by voltage limiter 154. In an example, the decay factor may be 0.9993 (corresponding to a decay time constant of 30 ms for an audio sampling rate of 48 KHz). To prevent or minimize distortion, voltage limiter 154 may include a smoothing filter through which In.sub.est(n) is passed to generate a signal: Filter[In.sub.est(n)], which is a smoothened estimate of the amplitude of In(n).

(35) In an example, de-emphasis filter 156 may be configured to engage only when PVDD.sub.Lim is selected as V.sub.Lim. In all other cases (i.e., when PVDD.sub.Lim is not selected as V.sub.Lim), voltage limiter 154 receives Audio In (the unfiltered audio input signal), and performs the operations described above on Audio In (instead of the filtered audio signal).

(36) Look-ahead delay 164 receives the unfiltered audio signal and delays it to ensure that the slow application of the gain signal due to the smoothing filter does not cause clipping. The audio is delayed by an amount (Delay) to compensate for the slow gain. In an example, Delay may be 128 samples corresponding to a look ahead delay of 2.7 s for audio sampling rate=48 KHz.

(37) Voltage limiter 154 calculates and outputs a gain signal (e.g., Gain(n)) according to the formula:

(38) Gain ( n ) = MIN ( 1 , V Lim ( n ) Filter [ In est ( n ) ] ) .
The audio output of multiplier 162 is: Audio Out(nDelay)=In(nDelay)Gain(n).

(39) FIG. 5 is a flow diagram of an example method 500 of operating an example non-boosted audio system (or components thereof), such as that of FIG. 1. In operation 502, a source voltage (PVDD) applied to an audio system, e.g., audio system 100, is measured to generate a measured source voltage signal (PVDD.sub.Msr). PVDD.sub.Msr may be obtained by sampling a voltage (PVDD.sub.Dev) at the supply voltage input pin of an amplifier, e.g., amplifier 104 of audio system 100, generating digital values of the samples, and processing the samples to provide maximum, average and minimum values. The maximum and average values are used in determining PVDD.sub.Msr. In operation 504, estimated ESR, which is an estimate of the resistance between the voltage source output and the supply voltage input pin of the amplifier, is updated relative to previous estimate. Such update is based on the minimum input voltage value. In operation 506, the resistance of the load of the audio system is measured to generate a measured resistance Re. The measured resistance Re may be obtained by sensing the output voltage and output current of the audio system.

(40) In operation 508, an anti-clipping voltage limit signal PVDD.sub.Lim is generated based on PVDD.sub.Msr, the updated ESR estimate and measured Re. PVDD.sub.Lim may be calculated every calculation period based on the most recent measurements/estimates of PVDD.sub.Msr, ESR and Re according to the following formula: PVDD.sub.Msr/[1+ESR/Re].

(41) Load voltage regulation further includes calculating a power-budget-based voltage limit signal based on PVDD.sub.Msr (operation 510) and calculating a current-budget-based voltage limit signal based on PVDD.sub.Msr (operation 512). A power budget PLIM is obtained as a first function of PVDD.sub.Msr, and a current budget ILIM is obtained as a second function of PVDD.sub.Msr. PLIM and ILIM are then converted into respective voltage limit signals.

(42) In operation 514, one of PVDD.sub.Lim, the power-budget-based voltage limit signal, and the current-budget-based voltage limit signal is used as an audio voltage threshold signal for the audio system. In an example, the minimum of those three signals is selected as the audio voltage threshold signal.

(43) FIG. 5 depicts one possible order of operations employed to control an audio system. Not all operations need necessarily be performed in the order described. Some operations may be performed substantially simultaneously or in overlapping time periods. Some operations may be combined into a single operation. Additional operations and/or alternative operations may be performed depending on the particular audio system.

(44) The foregoing describes an intelligent management solution for non-boosted audio systems that improves audio playback quality, i.e., improved loudness and dynamic range across a range of battery levels with no or minimal clipping, as well as improved battery life due to load-based voltage regulation.

(45) In examples, load voltage is regulated using battery voltage sensing, output resistance sensing (via output voltage and current sensing). Battery voltage sensing is based on the voltage at the amplifier supply voltage pin (PVDD.sub.Dev) to obtain a measurement of battery voltage, i.e., a measured voltage signal (PVDD.sub.Msr). PVDD.sub.Msr is used to determine an anti-clipping voltage limit signal (PVDD.sub.Lim), as well as power-budget-based and current-budget-based voltage limit signals. The effect of ESR on ripple (slow change) is compensated by an iterative process: estimated ESR is increased whenever PVDD.sub.Dev falls below PVDD.sub.Lim, which decreases PVDD.sub.Lim, and estimated ESR is decreased at a very slow rate to track changes in ESR to recover headroom due to change in system conditions (which is usually a very slow phenomenon), which increases PVDD.sub.Lim. In examples, the effect of the decoupling capacitor on ripple (which is usually a fast, frequency dependent phenomenon) is compensated by a de-emphasis filter. As the frequency of the audio input changes, the filter allows frequency dependent power/current regulation to maximize the audio loudness without sacrificing audio quality (i.e., without clipping or distortion).

(46) The term coupled is used throughout the specification. The term and derivatives thereof may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A provides a signal to control device B to perform an action, in a first example device A is coupled to device B, or in a second example device A is coupled to device B through intervening component C if intervening component C does not substantially alter the functional relationship between devices A and B such that device B is controlled by device A via the control signal provided by device A.

(47) A device that is configured to perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or re-configurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.

(48) As used herein, the terms terminal and pin are coextensive, and each may indicate a node, interconnection and/or a lead. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection within, or a terminus of, a device element, a circuit element, an integrated circuit, a device or other electronic or semiconductor component.

(49) A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.

(50) Circuits described herein are reconfigurable to include the replaced components to provide functionality at least partially similar to functionality available prior to the component replacement. A component shown as a single resistor, unless otherwise stated, is generally representative of any one or more resistors coupled in series and/or parallel to provide an amount of impedance represented by the shown resistor. The same is true for a capacitor of the disclosure. A single capacitor, unless otherwise stated, is generally representative of a capacitive element that may comprise multiple capacitors coupled to provide an amount of capacitance between the two nodes across which the single capacitor is coupled.

(51) Uses of the phrase ground in the foregoing description include any form of ground connection applicable to, or suitable for, the particular audio system. Thus, ground encompasses, without limitation, a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground. Unless otherwise stated, about, approximately, or substantially preceding a value means +/ 10 percent of the stated value.

(52) Modifications of the described examples are possible, as are other examples, within the scope of the claims. For example, while the above description focuses primarily on a single bank voltage limiter for a mono system, the teachings are readily applicable to multi-band limiter architectures and for multi-channel systems.

(53) Features described herein may be applied in other environments and applications consistent with the teachings provided.