lm4935rlx National Semiconductor Corporation, lm4935rlx Datasheet - Page 37
lm4935rlx
Manufacturer Part Number
lm4935rlx
Description
Audio Sub-system With Dual-mode Stereo Headphone And Mono High Efficiency Loudspeaker Amplifiers And Multi-purpose Adc
Manufacturer
National Semiconductor Corporation
Datasheet
1.LM4935RLX.pdf
(113 pages)
- Current page: 37 of 113
- Download datasheet (6Mb)
12.0 Status & Control Registers
(Continued)
12.15 AGC OVERVIEW
The Automatic Gain Control (AGC) system can be used to optimize the dynamic range of the ADC for voice data when the level
of the source is unknown. A target level for the output is set so that any transients on the input won’t clip during normal operation.
The AGC circuit then compares the output of the ADC to this level and increases or decreases the gain of the microphone
preamplifier to compensate. If the audio from the microphone is to be output digitally through the ADC then the full dynamic range
of the ADC can be used automatically. If the output is through the analog mixer then the ADC is used to monitor the microphone
level. In this case, the analog dynamic range is less important than the absolute level, so AGC_TIGHT should be set to tie
transients closely to the target level.
To ensure that the system doesn’t reduce the quality of the speech by constantly modulating the microphone preamplifier gain,
the ADC output is passed through an envelope detector. This frames the output of the ADC into time segments roughly equal to
the phonemes found in speech (AGC_FRAME_TIME). To calculate this, the circuit must also know the sample rate of the data
from the ADC (ADC_SAMPLERATE). If after a programmable number of these segments (AGC_HOLDTIME), the level is
consistently below target, the gain will be increased at a programmable rate (AGC_DECAY). If the signal ever exceeds the target
level (AGC_TARGET) then the gain of the microphone is reduced immediately at a programmable rate (AGC_ATTACK). This is
demonstrated below:
20134112
AGC Operation Example
The signal in the above example starts with a small analog input which, after the hold time has timed out, triggers a rise in the
gain ((1) → (2)). After some time the real analog input increases and it reaches the threshold for a gain reduction which decreases
the gain at a faster rate ((2) → (3)) to allow the elimination of typical popping noises.
Only ADC outputs that are considered signal (rather than noise) are used to adjust the microphone preamplifier gain. The signal
to noise ratio of the expected input signal is set by NOISE_GATE_THRESHOLD. In some situations it is preferable to remove
audio considered to be consisting solely of background noise from the audio output; for example conference calls. This can be
done by setting NOISE_GATE_ON. This does not affect the performance of the AGC algorithm.
The AGC algorithm should not be used where very large background noise is present. If the type of input data, application and
microphone is known then the AGC will typically not be required for good performance, it is intended for use with inputs with a
large dynamic range or unknown nominal level. When setting NOISE_GATE_THRESHOLD be aware that in some mobile phone
scenarios the ADC SNR will be dictated by the microphone performance rather than the ADC or the signal. Gain changes to the
microphone are performed on zero crossings. To eliminate DC offsets, wind noise, and pop sounds from the output of the ADC,
the ADC’s HPF should always be enabled.
37
www.national.com
Related parts for lm4935rlx
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Freescale Semiconductor Technical Data
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Self-calibrating 12-bit Plus Sign Serial I/o A/d Converters With Mux And Sample/hold
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinum Tm Fractional N Rf / Integer N If Dual Low Power Frequency Synthesizer
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinum? 2.0 Ghz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinumtm 160 Mhz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Dual N-channel Enhancement Mode Field Effect Transistor
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Video Amplifier System (obsolete)
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Synchronous Step-up DC/DC Converter For White Led Applications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
CLC420 - High Speed, Voltage Feedback op Amp, Package: Lcc, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Monolithic Triple 4.5 CRT Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Differential Video Amplifier
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
ADC10061 - 10-Bit 600 NS A/D Converter With Input Multiplexer And Sample/Hold, Package: Soic Wide, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
DS36277 - Dominant Mode Multipoint Transceiver, Package: Soic Narrow, Pin Nb=8
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Quad High Speed Trapezoidal Bus Transceiver
Manufacturer:
National Semiconductor Corporation
Datasheet: