Speech selective automatic gain control
First Claim
1. A communication device including an automatic gain control circuit comprising:
- an analog-to-digital converter, coupled to a source of analog audio signals, for producing a digital input signal representing the analog audio signal;
first delay means, coupled to the analog-to-digital converter for delaying the digital input signal provided by the analog-to-digital converter;
power detector means, coupled to the first delay means, for detecting the power level of the digital input signal, and for producing a linear power signal representing the power level of the digital signal;
a linear-to-logarithmic converter, coupled to the power detector means, for converting the linear power signal into a logarithmic power signal;
speech smoothing means, coupled to the linear-to-logarithmic converter, for smoothing the logarithmic power signal to provide a smoothed logarithmic power signal;
a first summer for substracting the smoothed logarithmic power signal from a reference signal to provide a logarithmic error signal representing a logarithmic gain signal;
gain smoothing means, coupled to the summer, for smoothing the logarithmic gain signal to provide a smoothed logarithmic gain signal;
a logarithmic-to-linear converter, coupled to the gain smoothing means, for converting the smoothed logarithmic gain signal to a smoothed linear gain signal;
a multiplier for multiplying the smoothed linear gain signal with the digital input signal to provide an amplified digital input signal; and
a speech recognizer, coupled to the analog-to-digital converter, for determining whether the digital input signal represents recognizable speech, and for enabling the detected speech smoothing means and the gain smoothing means, when speech is detected in the input signal.
1 Assignment
0 Petitions
Accused Products
Abstract
An automatic gain control circuit uses a speech recognizer to obtain smooth automatic gain control. An analog audio input signal is converted to a digital signal by an analog-to-digital converter and delayed by a delay circuit. A frame power (or alternatively, rectified peak amplitude) detector determines the power of each frame (or alternatively, the rectified peak amplitude) of the audio input signal, after applied to the A/D converter. A linear-to-log converter converts those values to a logarithmic form (for gain control over a broad range of values). A detected speech smoothing circuit smooths the variation in the values determined by the frame power (or peak amplitude) detector. A summer subtracts the output of the detected speech smoothing means from a fixed reference level, and thus obtains an error signal from the desired reference. A gain smoothing circuit smooths the resulting error signal (which is the logarithmically-shaped gain signal). A logarithm-to-linear converter converts the logarithmic gain signal to a linear form; and a multiplier multiplies the input signal by this smoothed gain. In accordance with the invention, a speech recognizer determines whether the audio input signal represents speech. An output of the speech recognizer is used to enable the detected speech smoothing circuit and the gain smoothing means when the audio input signal represents speech. Thus AGC is not used until it is required (i.e., when speech is present).
-
Citations
18 Claims
-
1. A communication device including an automatic gain control circuit comprising:
-
an analog-to-digital converter, coupled to a source of analog audio signals, for producing a digital input signal representing the analog audio signal; first delay means, coupled to the analog-to-digital converter for delaying the digital input signal provided by the analog-to-digital converter; power detector means, coupled to the first delay means, for detecting the power level of the digital input signal, and for producing a linear power signal representing the power level of the digital signal; a linear-to-logarithmic converter, coupled to the power detector means, for converting the linear power signal into a logarithmic power signal; speech smoothing means, coupled to the linear-to-logarithmic converter, for smoothing the logarithmic power signal to provide a smoothed logarithmic power signal; a first summer for substracting the smoothed logarithmic power signal from a reference signal to provide a logarithmic error signal representing a logarithmic gain signal; gain smoothing means, coupled to the summer, for smoothing the logarithmic gain signal to provide a smoothed logarithmic gain signal; a logarithmic-to-linear converter, coupled to the gain smoothing means, for converting the smoothed logarithmic gain signal to a smoothed linear gain signal; a multiplier for multiplying the smoothed linear gain signal with the digital input signal to provide an amplified digital input signal; and a speech recognizer, coupled to the analog-to-digital converter, for determining whether the digital input signal represents recognizable speech, and for enabling the detected speech smoothing means and the gain smoothing means, when speech is detected in the input signal. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A communication device including an automatic gain control circuit comprising:
-
an analog-to digital converter coupled to a source of analog audio signals to produce a digital input signal representing the analog audio signal; first delay means, coupled to the analog-to-digital converter for delaying the digital signal provided by the analog-to-digital converter; peak amplitude detector means, coupled to the first delay means, for detecting the peak amplitude level of the digital input signal, and for producing a linear peak amplitude signal representing the peak amplitude level of the digital signal; a linear-to-logarithmic converter, coupled to the peak amplitude detector means, for converting the linear peak amplitude signal into a logarithmic peak amplitude signal; speech smoothing means, coupled to the linear-to-logarithmic converter, for smoothing the logarithmic peak amplitude signal to provide a smoothed logarithmic peak amplitude signal; a first summer for subtracting the smoothed logarithmic peak amplitude signal from a reference signal to provide a logarithmic error signal representing a logarithmic gain signal; gain smoothing means, coupled to the summer, for smoothing the logarithmic gain signal to provide a smoothed logarithmic gain signal; a logarithmic-to-linear converter, coupled to the gain smoothing means, for converting the smoothed logarithmic gain signal to a smoothed linear gain signal; a multiplier for multiplying the smoothed linear gain signal with the digital input signal to provide an amplified digital input signal; and a speech recognizer, coupled to the analog-to-digital converter, for determining whether the digital input signal represents recognizable speech, and for enabling the detected speech smoothing means and the gain smoothing means, when speech is detected in the input signal. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for automatically controlling gain in a communication device comprising the steps of:
-
receiving an input signal; converting the input signal to digital form to provide a digital input signal; determining whether at least a portion of the digital input signal represents recognizable speech; delaying the digital input signal to allow time to recognize at least a portion of the digital input signal as speech; measuring the power level of at least a portion of the delayed digital input signal to provide a power signal representing the power level of the portion of the digital input signal; converting the power signal to logarithmic form, to provide a logarithmic power signal; smoothing the logarithmic power signal, to provide a smooth logarithmic power signal, when at least a portion of the digital input signal represents recognizable speech; subtracting the smooth logarithmic power signal from a reference signal, to provide a logarithmic gain error signal; smoothing the logarithmic gain error signal, to produce a smooth logarithmic gain error signal, when at least a portion of the digital input signal represents speech; converting the smooth logarithmic gain error signal to linear form to provide a linear gain signal; and multiplying the digital input signal with the linear gain signal to provide an amplified output signal. - View Dependent Claims (16)
-
-
17. A method for automatically controlling gain in a communication device comprising the steps of:
-
receiving an input signal; converting the input signal to digital form to provide a digital input signal; determining whether at least a portion of the digital input signal represents recognizable speech; delaying the digital input signal to allow time to recognize at least a portion of the digital input signal as speech; measuring the peak amplitude level of at least a portion of the digital input signal to provide a peak amplitude signal representing the peak amplitude level of the portion of the digital input signal; converting the peak amplitude signal to logarithmic form, to provide a logarithmic peak amplitude signal; smoothing the logarithmic peak amplitude signal, to provide a smooth logarithmic peak amplitude signal, when at least a portion of the digital input signal represents recognizable speech; subtracting the smooth logarithmic peak amplitude signal from a reference signal, to provide a logarithmic gain error signal; smoothing the logarithmic gain error signal, to produce a smooth logarithmic gain error signal, when at least a portion of the digital input signal represents recognizable speech; converting the smooth logarithmic gain error signal to linear form to provide a linear gain signal; and multiplying the digital input signal with the linear gain signal to provide an amplified output signal. - View Dependent Claims (18)
-
Specification