Voice Echo Canceller PDF
Voice Echo Canceller PDF
Voice Echo Canceller PDF
August 2003
1.0
2.0
echo
delay
hybrid
echo
Network delay
hybrid
delay
1
Zarlink Semiconductor Inc.
Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc.
Copyright 2003, Zarlink Semiconductor Inc. All Rights Reserved.
ZLAN-56
3.0
Application Note
Given non-linearities in today's telecommunication systems, it is impossible to completely remove the echo with an
echo canceller. A Non-Linear Processor is used to remove this residual echo. The background noise is also
removed thereby creating an audible switching effect that is very annoying to the subscriber. The ZL502xxs NonLinear Processor removes the residual echo and injects comfort noise at roughly the same loudness as the original
background noise to mask-out this switching effect. The result is an excellent sounding telephone connection with
no echo and switching effects. See Figure 2 below.
Residual Echo
Background Noise
4.0
When the NLP is activated, this results in an additional 30dB attenuation of the residual signal. To prevent a
perceived decrease in background noise due to the activation of the NLP, a spectrally shaped comfort noise,
equivalent in power level to the background noise, is injected. This keeps the perceived noise level constant.
Consequently, the user does not hear the activation and de-activation of the NLP. Without comfort noise, the
telephone line would appear to be dead to the listener when the NLP is activated.
5.0
Please refer to the diagram below. Talker As speech and its echo "trains" the echo canceller to adapt and remove
the echo. When talker B starts speaking, it interferes with talker As echo causing the echo canceller to incorrectly
adapt and worsen its performance. To prevent the effects of the interference from talker B, the ZL502xx VECs have
Double-Talk detection. The Double-Talk detection determines when talkers A and B are speaking simultaneously
and freezes the echo canceller to stay adapted and maintain excellent performance
Talker A
echo
hybrid
4-wire
Sin
Sout
Talker A
echo
cancelled
ZL5023x
2-wire
Rout
Rin
Talker B
Talker A
signal
Talker A
6.0
Recent vintage V.32/V.32bis/V.34 modems as well as fax machines have their own built-in adaptive filters designed
to minimize bit-errors for high speed data transmission. Voice echo cancellers in the network can cause these
adaptive filters to incorrectly adapt resulting in increased bit-errors during data transmission. To minimize bit-errors,
manufacturers of V.32/V.32bis/V.34 modems expect to disable and bypass voice echo cancellers with a Disable
Tone per ITU-T recommendations such as G.165. To support these transmissions, the ZL502xx has Disable Tone
signal detection for each channel that allows bypassing of its echo canceller function. It is configurable for either
ITU-T G.165 or G.164 recommendations.
2
Zarlink Semiconductor Inc.
ZLAN-56
7.0
Application Note
Once fully adapted, the echo canceller does a very good job of removing the echo. Narrow-Band signals such as
DTMF and Call Progress tones can make the echo canceller incorrectly adapt and significantly worsen its
performance. The Narrow-Band detector detects these discrete tones, and freezes the echo canceller to stay
adapted and maintain excellent performance.
8.0
The ZL502xx family of echo canceller has two convergence speeds, fast and slow. Fast convergence speed is used
primarily during the initial convergence on an echo path. Once the VEC has converged, it switches over to a slow
convergence speed in order to track subtle changes in the echo channel. This provides better performance with
small path variations than simply staying in fast convergence all the time. When a major path change occurs
though, the echo canceller needs to move from slow convergence back to fast convergence in order to quickly
eliminate the new echo. The path change detector provides the push from slow to fast convergence.
9.0
The throughput delay of the ZL502xx VEC varies according to the devices state. For all active device
configurations (normal, back-to-back and extended delay), Rin to Rout has a delay of two frames (250s) and Sin
to Sout has a delay of three frames (375s). In Bypass mode, the Rin to Rout and Sin to Sout paths both have a
delay of 2 frames (250s). The ITU-T G.168 standard requires a maximum delay of 1ms, which the Zarlink families
of VECs all easily exceed.
10.0
Installation cost of base stations is an important issue. If the base station is AC or mains powered, there is an
additional cost to install a power outlet close to the base station. Most base station designs today are line powered
from a centrally located access controller in an effort to minimize the installation costs. Most designers face very
strict power consumption budgets to achieve the line powering objective, the ZL502xx consumes much less power
(150 milliwatts typically for 32 channels) thereby facilitating the base station design. The ZL502xx has the ability to
turn off the individual blocks when all the channels are not functional at the same time, thereby reducing the power
consumption drastically.
11.0
The ZL502xx family was designed for canceling network or electrical echoes. Speakerphone or acoustic
applications have a different set of complex problems involving room acoustics. The ZL502xx family was not
designed to solve these acoustic problems; use the MT93L16 for acoustic applications.
3
Zarlink Semiconductor Inc.
ZLAN-56
12.0
Application Note
Acoustic Echo: echo that occurs from sounds reflecting off surfaces in the surrounding environment
Backplane: A system bus residing on the motherboard of a card cage that connects to a series of connectors.
Cards access the system bus by plugging into these connectors.
CO: Central Office
COM: Combined loss = ERL+ERLE+NLPloss
Comfort Noise Insertion: Ability to inject artificial background noise where the Non-Linear Processor removes
residual echo. This has the effect of greatly improving subjective speech quality of the echo canceller.
CPE: Customer Premise Equipment.
Decibel (dB): the unit of measurement to measure sound pressure levels; it characterizes the way human beings
actually perceive a sound
DCME: Digital Circuit Multiplication Equipment, this usually refers to satellite communications and multiplexers.
Disable Tone Signal Detector: Ability to detect "disable tone" signals to bypass the echo canceller.
Double-Talk Detector: Ability to detect the case when non-echo speech is present to freeze the echo canceller.
DTDT: Double Talk Detection Threshold
DSP: Digital Signal Processor or Digital Signal Processing.
Echo Tail: Refers to the length of an echo; usually measured in milliseconds (ms).
End Path Delay (EPD): A measure of the maximum delay the echo canceller can handle; usually measured in
milliseconds (ms).
EMC: Electro Magnetic Compatibility.
EMI: Electro Magnetic Interference.
ERL: Echo Return Loss
ERLE: Echo Return Loss Enhancement
ETSI: European Telecommunications Standards Institute. A European standards body affiliated with the ITU.
FCC: Federal Communications Commission. American Government telecommunications regulatory body.
FRAD: Frame Relay Access Device. Also known as Frame Relay Assembler-Disassembler.
Hybrid Echo: see network echo
ITU: International Telecommunications Union. A worldwide standards body located in Geneva, Switzerland.
KTS: Key Telephone System.
Lres: Residual echo level = Lrin-ERL-ERLE
Lrin: Receive-in power level
Lsin: Send-in power level
Mean Opinion Score (MOS): a standardized method used to subjectively evaluate the sound quality of telephone
signals using actual people
4
Zarlink Semiconductor Inc.
ZLAN-56
Application Note
Narrow-Band Signal Detector: Ability to detect discrete "tones" or sinusoids to freeze the adaptive filter in the
echo canceller. Examples of tones are DTMF signals and whistling.
Network Echo: echo that occurs where two-wire-to-four-wire conversion takes place
Noise Reduction: reducing the background noise by selective
Non-Linear Processor (NLP): A signal processing technique to remove residual echo that substantially improves
subjective speech quality.
NLPloss: Amount of signal level reduction in dB provided by the NLP
PBX: Private Branch Exchange.
PCS: Personal Communication System, this usually refers to a public digital cordless or wireless system.
PCM: Pulse Code Modulation, this refers to digital coding of analog signals.
PSTN: Public Telephone Network or Public Switched Telephone Network.
QoS: Quality of Service.
RES: Residual echo signal
RET: Returned echo level = Lrin-COM
Rin: Receive-in reference signal
Rout: Reference signal output, same signal as Rin except it is auto zeroed and may have been attenuated by
internal gain pads.
RSVP: Resource Reservation Protocol.
RTCP: Real-time Transport Control Protocol
RTP: Real-time Transport Protocol.
Sin: Send-in signal, receive signal + return echo
Sout: Transmit output signal. The echo residual remaining after NLP.
ST-Bus: Serial-Telecom Bus, this refers to Zarlinks PCM highway standard.
T.30: Fax protocol standard.
VoFR: Voice Over Frame Relay.
VoIP: Voice Over Internet Protocol.
VON: Voice Over Net.
VTOA: Voice and Telephony Over ATM.
V.32, V32bis, V34: Analog modem standards.
5
Zarlink Semiconductor Inc.
www.zarlink.com
Information relating to products and services furnished herein by Zarlink Semiconductor Inc. or its subsidiaries (collectively Zarlink) is believed to be reliable.
However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the application or use of any such
information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or
use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under patents or other intellectual
property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified that the use of product in
certain ways or in combination with Zarlink, or non-Zarlink furnished goods or services may infringe patents or other intellectual property rights owned by Zarlink.
This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part
of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other
information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the
capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute
any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the users responsibility to fully determine the performance and
suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does
not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in
significant injury or death to the user. All products and materials are sold and services provided subject to Zarlinks conditions of sale which are available on request.
Purchase of Zarlinks I2C components conveys a licence under the Philips I2C Patent rights to use these components in and I2C System, provided that the system
conforms to the I2C Standard Specification as defined by Philips.
Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc.
Copyright Zarlink Semiconductor Inc. All Rights Reserved.