IP Library Granted Patent US 6,868,162
Granted Patent B1
US 6,868,162 · App. 09/715,588 · Granted Mar 15, 2005

Method and apparatus for automatic volume control in an audio system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,868,162
App. No.
09/715,588
Granted
Mar 15, 2005
Kind
B1
Abstract

An audio system ( 100 ) is provided with improved adaptive filter ( 206 ) to automatically adjust signal gain depending on the ambient noise level. The original music signal passes through a normalized adaptive filter ( 206 ), and is subtracted from the ambient room signal detected by a microphone ( 120 ), resulting in an error signal that is an estimate of the ambient noise. The error signal is used to update a set of adaptation coefficients so that the normalized adaptive filter more accurately simulates the room transfer function, resulting in an better estimate of the ambient noise. The audio system ( 100 ) is calibrated automatically upon initial use to determine adaptation coefficients and noise threshold level to prevent runaway gain. System parameters are adjusted using a controller ( 124 ) with a user-friendly interface ( 400 ).

Claims (182)

1. An apparatus for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

a first input for receiving the audio signal;

a second input for receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

an adaptive filter for adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter having a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

a compander for adjusting the rain of the audio signal responsive of the error signal to compensate for the ambient noise;

a down-sampler for sampling the audio signal at a sample rate lower than the highest frequency component of the audio signal, thereby Generating a down-sampled audio signal, and wherein said adaptive filter adaptively filters the down-sampled audio signal to generate the filtered signal; and

wherein the adaptation coefficients are updated according to the formula

Wi

(

n

+

1

)

=

Wi

(

n

)

+

min

[

beta

,

e

(

n

)

]

*

u

(

n

-

i

)

epsilon

*

E

(

n

)

,

where W i (n) is representative of the i-th adaptation coefficient for the n-th audio sample, e(n) is representative of the error signal, u(n−i) is representative of the (n−i)th sample of the down-sampled audio signal, E(n) is representative of the energy level of the audio signal, beta is the threshold value, and epsilon is a stability coefficient.

2. The apparatus of claim 1 , wherein E(n) is calculated by generating a series of root-mean-square values of audio signal samples, and then filtering the series of root-mean-square values with a window function to generate a long term root-mean-square average to reduce the effect of sudden amplitude increase in the audio signal.

3. An apparatus for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

a first input for receiving the audio signal;

a second input for receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

an adaptive filter for adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter having a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise; and

wherein the compander determines a target gain level TG for the gain of the audio signal according to the formula

TG=MinG+ ( GR *min [1.0, ( e−NT ) /NR] ),

where MinG is representative of a minimum gain level, GR is representative of a gain range, e is representative of the error signal level, NT is representative of a noise threshold, and NR is representative of a noise range level.

4. The apparatus of claim 3 , wherein the minimum gain level is approximately between −40 dB and 0 dB.

5. The apparatus of claim 3 , wherein the gain range is approximately between 0 dB and 40 dB.

6. The apparatus of claim 3 , wherein the noise threshold is approximately between −80 dB and 0 dB.

7. The apparatus of claim 3 , wherein the noise range is approximately between 1 dB and 60 dB.

8. The apparatus of claim 3 , wherein the compander adjusts the current gain applied to the music signal by increasing the current gain if the target gain is greater than the current gain.

9. The apparatus of claim 8 , wherein the rate of increase in the current gain is determined according to the formula

current gain=current gain+ a 1/(Attack Time),

where a1 is a predetermined constant, and Attack Time represents the amount of time for the current gain to increase by 40 dB.

10. The apparatus of claim 3 , wherein the compander adjusts the current gain applied to the music signal by decreasing the current gain if the target gain is less than the current gain.

11. The apparatus of claim 10 , wherein the rate of decrease in the current gain is responsive to a user-defined parameter Release Time and determined according to the formula

current gain=current gain− a 2/(Release Time),

where a2 is a predetermined constant, and Release Time represents the amount of time for the current gain to decrease by 40 dB.

12. An apparatus for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

a first input for receiving the audio signal;

a second input for receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

an adaptive filter for adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter having a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise;

a non-volatile memory device for storing parameters used by the adaptive filter; and

wherein the adaptive coefficients are initially determined according to a calibration procedure having an Override state that saves a set of parameter values currently used by the compander and in replacement thereof a set of default parameter values optimized for fast adaptation, a Wait state that adjusts and monitors the adaptation coefficients until the adaptation coefficients are optimized, a Compute state that computes a calibration value for use in preventing gain runaway, a Save state that saves the optimized adaptation coefficients in the non-volatile memory device, and a Restore state that restores the set of parameters saved during the Override state.

13. An apparatus for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

a first input for receiving the audio signal;

a second input for receiving an ambient room signal detected by a microphone the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

an adaptive filter for adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter having a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise;

wherein the compander adjusts the gain of the audio signal when the error signal is above a predetermined noise threshold level;

wherein the predetermined noise threshold level is defined by a user; and

wherein the user-defined noise threshold is increased to a Noise Threshold Override value when the user-defined noise threshold is lower than the Noise Threshold Override value, wherein the Noise Threshold Override value is computed by:

Noise Threshold Override=max [( GR /max ( CR, 1.0)+ MaxG +max ( CG, CI )+ CAL ), NT]

where GR is representative of a gain range, CR is representative of a compression ratio between the gain range and a noise range, MaxG is representative of a maximum gain, CG is representative of a compander gate, CI is representative of a compander input level, CAL is representative of a calibration value, and NT is the user-defined noise threshold.

14. The apparatus of claim 13 , wherein the calibration value CAL is computed by adding the RMS value of the error signal and the RMS value of a headroom signal, then minus the RMS value of the audio signal.

15. The apparatus of claim 14 , wherein the RMS value of the headroom signal is calculated by taking the difference between the RMS values of the ambient room signal and the error signal, multiply the different with a first constant and then minus a second constant.

16. The apparatus of claim 15 , wherein the first constant is approximately 0.6, and the second constant is approximately 3.0.

17. A method for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

receiving the audio signal;

receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing, the ambient noise and an audio portion representing the audio signal;

adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter using a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

using an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

using a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise;

down-sampling the audio signal at a sample rate lower than the highest frequency component of the audio signal, thereby generating a down-sampled audio signal, and adaptively filtering the down-sampled audio signal to generate the filtered signal; and

updating the adaptation coefficients according to the formula

Wi

(

n

+

1

)

=

Wi

(

n

)

+

min

[

beta

,

e

(

n

)

]

*

u

(

n

-

i

)

epsilon

*

E

(

n

)

,

where W i (n) is representative of the i-th adaptation coefficient for the n-th audio sample, e(n) is representative of the error signal, u(n−i) is representative of the (n−i)th sample of the down-sampled audio signal, E(n) is representative of the energy level of the audio signal, beta is the threshold value, and epsilon is a stability coefficient.

18. The method of claim 17 , further comprising calculating E(n) by generating a series of root-mean-square values of audio signal samples, and then filtering the series of root-mean-square values with a window function to generate a long term root-mean-square average to reduce the effect of sudden amplitude increase in the audio signal.

19. The method of claim 17 , further comprising using the compander to determine a target gain level TG for the gain of the audio signal according to the formula

TG=MinG +( GR *min [1.0, ( e−NT )/ NR ]),

where MinG is representative of a minimum gain level, GR is representative of a gain range, e is representative of the error signal level, NT is representative of a noise threshold, and NR is representative of a noise range level.

20. The method of claim 19 , wherein the minimum gain level is approximately between −40 dB and 0 dB.

21. The method of claim 19 , wherein the gain range is approximately between 0 dB and 40 dB.

22. The method of claim 19 , wherein the noise threshold is approximately between −80 dB and 0 dB.

23. The method of claim 19 , wherein the noise range is approximately between 1 dB and 60 dB.

24. The method of claim 19 , further comprising using the compander to adjust the current gain applied to the music signal by increasing the current gain if the target gain is greater than the current gain.

25. The method of claim 24 , further comprising determining the rate of increase in the current gain according to the formula

current gain=current gain+ a 1/(Attack Time),

where a1 is a predetermined constant, and Attack Time represents the amount of time for the current gain to increase by 40 dB.

26. The method of claim 19 , further comprising using the compander to adjust the current gain applied to the music signal by decreasing the current gain if the target gain is less than the current gain.

27. The method of claim 26 , wherein the rate of decrease in the current gain is responsive to a user-defined parameter Release Time and determined according to the formula

current gain=current gain− a 2/Release Time),

where a2 is a predetermined constant, and Release Time represents the amount of time for the current gain to decrease by 40 dB.

28. A method for controlling a gain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

receiving the audio signal;

receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter using a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

using an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

using a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise;

storing parameters used by the adaptive filter in a non-volatile memory; and

initially determining the adaptive coefficients according to a calibration procedure having an Override state that saves a set of parameter values currently used by the compander and in replacement thereof a set of default parameter values optimized for fast adaptation, a Wait state that adjusts and monitors the adaptation coefficients until the adaptation coefficients are optimized, a Compute state that computes a calibration value for use in preventing gain runaway, a Save state that saves the optimized adaptation coefficients in the non-volatile memory device, and a Restore state that restores the set of parameters saved during the Override state.

29. A method for controlling a Rain of an audio signal broadcast by a loudspeaker into a room having ambient noise, comprising:

receiving the audio signal;

receiving an ambient room signal detected by a microphone, the ambient room signal having a noise portion representing the ambient noise and an audio portion representing the audio signal;

adaptively filtering the audio signal to generate a filtered signal that approximates the audio portion of the ambient room signal, the adaptive filter using a plurality of adaptation coefficients that are modified according to a predetermined formula having a threshold for limiting the rate of variation of the adaptation coefficients;

using an error signal generator for subtracting the filtered signal from the ambient room signal to generate an error signal;

using a compander for adjusting the gain of the audio signal responsive of the error signal to compensate for the ambient noise;

wherein the compander adjusts the gain of the audio signal when the error signal is above a predetermined noise threshold level;

defining the predetermined noise threshold level by a user; and

defining the user-defined noise threshold to a Noise Threshold Override value when the user-defined noise threshold is lower than the Noise Threshold Override value, wherein the Noise Threshold Override value is computed by:

Noise Threshold Override=max [( GR /max ( CR, 1.0)+ MaxG +max ( CG, CI )+ CAL ), NT]

where GR is representative of a gain range, CR is representative of a compression ratio between the gain range and a noise range, MaxG is representative of a maximum gain, CG is representative of a compander gate, CI is representative of a compander input level, CAL is representative of a calibration value, and NT is the user-defined noise threshold.

30. The method of claim 29 , further comprising computing the calibration value CAL by adding the RMS value of the error signal and the RMS value of a headroom signal, then subtracting the RMS value of the audio signal.

31. The method of claim 30 , further comprising calculating the RMS value of the headroom signal by taking the difference between the RMS values of the ambient room signal and the error signal, multiplying the difference with a first constant and then subtracting a second constant.

32. The method of claim 31 , wherein the first constant is approximately 0.6, and the second constant is approximately 3.0.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS Recorded Jan 4, 2018
From: ABELCO FINANCE LLC
To: LOUD TECHNOLOGIES, INC.; MACKIE DESIGNS INC.; SIA SOFTWARE COMPANY, INC.; SLM HOLDING CORP.; ST. LOUIS MUSIC, INC.; MARTIN AUDIO HOLDINGS LIMITED F/K/A GRACE ACQUISITIONCO LIMITED
Reel/Frame 045002/0833 →
RELEASE OF SECURITY INTEREST AT REEL/FRAME 019102/0017 & 033070/0215 Recorded Oct 13, 2017
From: ABLECO FINANCE LLC
To: LOUD TECHNOLOGIES, INC.; MACKIE DESIGNS INC.; ST. LOUIS MUSIC, INC.; MARTIN AUDIO HOLDINGS LIMITED
Reel/Frame 044263/0773 →
RELEASE OF SECURITY INTEREST Recorded Oct 12, 2017
From: SUN MACKIE FINANCE, LLC
To: LOUD TECHNOLOGIES, INC.; MACKIE DESIGNS INC.; ST. LOUIS MUSIC, INC.
Reel/Frame 043855/0102 →
RELEASE OF SECURITY INTEREST Recorded Oct 12, 2017
From: SUN MACKIE FINANCE, LLC
To: LOUD TECHNOLOGIES, INC.; MARTIN AUDIO LIMITED
Reel/Frame 043855/0132 →
RELEASE OF SECURITY INTEREST Recorded Oct 12, 2017
From: SUN MACKIE, LLC
To: LOUD TECHNOLOGIES, INC.; MACKIE DESIGNS INC.; SIA SOFTWARE COMPANY, INC.; ST. LOUIS MUSIC, INC.
Reel/Frame 044257/0375 →
RELEASE OF SECURITY INTEREST Recorded Oct 12, 2017
From: SUN MACKIE, LLC
To: LOUD TECHNOLOGIES, INC.; MARTIN AUDIO LIMITED
Reel/Frame 043855/0023 →
SUPPLEMENTAL PATENT SECURITY AGREEMENT Recorded Jun 19, 2014
From: LOUD TECHNOLOGIES INC.; MARTIN AUDIO LIMITED
To: SUN MACKIE, LLC
Reel/Frame 033205/0504 →
SUPPLEMENTAL PATENT SECURITY AGREEMENT Recorded Jun 19, 2014
From: LOUD TECHNOLOGIES INC.; MARTIN AUDIO LIMITED
To: SUN MACKIE FINANCE, LLC
Reel/Frame 033215/0680 →
SUPPLEMENTAL PATENT SECURITY AGREEMENT Recorded May 30, 2014
From: LOUD TECHNOLOGIES INC.; MARTIN AUDIO HOLDINGS LIMITED F/K/A GRACE ACQUISITIONCO LIMITED)
To: ABLECO FINANCE LLC, AS COLLATERAL AGENT
Reel/Frame 033070/0215 →
CORRECTIVE ASSIGNMENT TO CORRECT THE COVERSHEET CONVEYING PARTY TO <MACKIE DESIGNS INC.> AND THE RECEIVING PARTY TO <LOUD TECHNOLOGIES INC.> PREVIOUSLY RECORDED ON REEL 015544 FRAME 0324. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME FROM MACKIE DESIGNS INC. TO LOUD TECHNOLOGIES INC. Recorded May 28, 2014
From: MACKIE DESIGNS INC.
To: LOUD TECHNOLOGIES INC.
Reel/Frame 033044/0964 →