Noise Gate Function - Analog Devices ADAU1961 Manual

Stereo, low power, 96 khz, 24-bit audio codec with integrated pll
Table of Contents

Advertisement

INPUT
GAIN
OUTPUT
MAX GAIN = 30dB
TARGET
Figure 38. Effect of Varying the Maximum Gain Parameter

NOISE GATE FUNCTION

When using the ALC, one potential problem is that for small
input signals, the PGA gain can become very large. A side effect
of this is that the noise is amplified along with the signal of
interest. To avoid this situation, the ADAU1961 noise gate can
be used. The noise gate cuts off the ADC output when its signal
level is below a set threshold. The noise gate is controlled using
the following parameters in the ALC Control 3 register
(Address 0x4014):
NGTYP[1:0]: The noise gate type is set to one of four
modes by writing to the NGTYP[1:0] bits.
NGEN: The noise gate function is enabled by writing to the
NGEN bit.
NGTHR[4:0]: The threshold for muting the output is set by
writing to the NGTHR[4:0] bits.
One common problem with noise gate functions is chatter,
where a small signal that is close to the noise gate threshold
varies in amplitude, causing the noise gate function to open and
close rapidly. This causes an unpleasant sound.
To reduce this effect, the noise gate in the ADAU1961 uses a
combination of a timeout period and hysteresis. The timeout
period is set to 250 ms, so the signal must consistently be below
Downloaded from
Elcodis.com
electronic components distributor
HOLD
DECAY
ATTACK
TIME
TIME
TIME
Figure 37. Basic ALC Operation
MAX GAIN = 24dB
MAX GAIN = 18dB
INPUT LEVEL (dB)
the threshold for 250 ms before the noise gate operates.
Hysteresis is used so that the threshold for coming out of the
mute state is 6 dB higher than the threshold for going into the
mute state. There are four operating modes for the noise gate.
Noise Gate Mode 0 (see Figure 39) is selected by setting the
NGTYP[1:0] bits to 00. In this mode, the current state of the
PGA gain is held at its current state when the noise gate logic is
activated. This prevents a large increase in background noise
during periods of silence. When using this mode, it is advisable
to use a relatively slow decay time. This is because the noise gate
takes at least 250 ms to activate, and if the PGA gain has already
increased to a large value during this time, the value at which
the gain is held will be large.
INPUT
ANALOG
GAIN
INTERNAL
NOISE GATE
MIN PGA
ENABLE SIGNAL
GAIN POINT
DIGITAL
MUTE
OUTPUT
Noise Gate Mode 1 (see Figure 40) is selected by setting the
NGTYP[1:0] bits to 01. In this mode, the ADAU1961 does a
simple digital mute of the ADC output. Although this mode
completely eliminates any background noise, the effect of an
abrupt mute may not be pleasant to the ear.
INPUT
ANALOG
GAIN
INTERNAL
NOISE GATE
ENABLE SIGNAL
DIGITAL
MUTE
OUTPUT
Rev. 0 | Page 31 of 76
THRESHOLD
250ms
GAIN HELD
Figure 39. Noise Gate Mode 0 (PGA Gain Hold)
THRESHOLD
250ms
Figure 40. Noise Gate Mode 1 (Digital Mute)
ADAU1961

Advertisement

Table of Contents
loading

Table of Contents