GB2232563A - Audio signal echo cancellation circuit - Google Patents

Audio signal echo cancellation circuit Download PDF

Info

Publication number
GB2232563A
GB2232563A GB9010752A GB9010752A GB2232563A GB 2232563 A GB2232563 A GB 2232563A GB 9010752 A GB9010752 A GB 9010752A GB 9010752 A GB9010752 A GB 9010752A GB 2232563 A GB2232563 A GB 2232563A
Authority
GB
United Kingdom
Prior art keywords
circuit
signal
sampled
sign
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9010752A
Other versions
GB2232563B (en
GB9010752D0 (en
Inventor
Derek Norman Glanville
Robin Angus Emley
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Telent Technologies Services Ltd
Plessey Semiconductors Ltd
Plessey Telecommunications Ltd
Original Assignee
Telent Technologies Services Ltd
Plessey Semiconductors Ltd
Plessey Telecommunications Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Telent Technologies Services Ltd, Plessey Semiconductors Ltd, Plessey Telecommunications Ltd filed Critical Telent Technologies Services Ltd
Priority to DE69015193T priority Critical patent/DE69015193T2/en
Priority to PCT/GB1990/000747 priority patent/WO1991018453A1/en
Priority to AT90907341T priority patent/ATE115794T1/en
Priority to JP2507405A priority patent/JPH05501941A/en
Priority to US07/793,399 priority patent/US5453976A/en
Priority to CA002063800A priority patent/CA2063800C/en
Priority to EP90907341A priority patent/EP0482003B1/en
Priority to ES90907341T priority patent/ES2064733T3/en
Publication of GB9010752D0 publication Critical patent/GB9010752D0/en
Publication of GB2232563A publication Critical patent/GB2232563A/en
Application granted granted Critical
Publication of GB2232563B publication Critical patent/GB2232563B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/20Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other
    • H04B3/23Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other using a replica of transmitted signal in the time domain, e.g. echo cancellers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

An audio processor circuit treats a digitally encoded signal. Units 3, 12 sample the encoded signal at two or more sample frequencies, units 8, 13 calculate from the sampled values a cross-correlation function relevant to a particular time frame, the value of said function serving to control operation of an adaptive algorithm. The sampled signal portions are truncated in units 2, 5 so that only the arithmetic sign bit of each signal portion contributes to the function calculation. The hardware for this circuit can be built into the subscriber's line at a telephone exchange with only a small increase in the chip area needed for providing that line. <IMAGE>

Description

AUDIO SIGNAL PROCESSOR CIRCUIT This invention relates to an audio signal processor circuit for treating the signals from a telephone subscriber's line when these have been received at the telephone exchange and converted to sampled digital form.
In a telephone exchange, the signals on the telephone subscriber's line usually in analogue form and are converted from analogue to digital form by a sampling and coding operation performed by an audio processor circuit. The impedances which are presented by each individual telephone line at any particular time are likely to give an impedance mismatch and this can cause a 2-to-4 wire hybrid echo signal to appear. It is possible for at least part of this echo effect to be cancelled digitally in the audio processor unit. The echo cancellation operation may be static, that is, its operation will be pre-set by the manufacturer of the circuit at some compromise impedance matching value.
Alternatively, the echo cancellation could be designed to work by a process of continuous adaption to minimise the echo signal.
If sinusoidal signals happen to be present on the telephone line instead of speech, any adaptive operation can lead to the occurrence of further unwanted side effects in the adaption circuit output.
It is possible to overcome some of these problems by providing an adaptive echo cancellation system which can be modified in response to the statistical properties of the signal input, but a conventional adaptive system using a conventional signal correlator would need a substantial quantity of hardware for its realisation. The correlator hardware and necessary signal processing would be likely to increase significantly the area of circuit board necessary for that subscriber at the exchange. This could lead to a substantial increase in the cost of building the exchange.
An object of the present invention is to provide an audio processor circuit which can carry out an adaptive echo cancellation function with normal speech signals and which will not respond adversely to large sinusoidal signals, but which can be economical in the quantity of hardware needed.
According to the invention, there is provided an audio signal processor circuit for treating a digitally encoded incoming signal, the circuit comprising means for sampling the encoded signal, means for calculating from the sampled values a measure of correlation function relevant to a particular time frame, the value of said function serving to control operation of an adaptive echo cancellation algorithm, in which the sampled signal portions are truncated such that only the arithmetic sign bit of each signal portion contributes to the function calculation.
The circuit further comprises means for controlling the operation of said adaptive algorithm at the end of each time frame for a new function calculation.
In one embodiment, an incoming signal sample is initially treated in an extraction block arranged to determine the arithmetic sign of that signal, the resulting sign bits being fed in sequence to a shift register arranged to store a predetermined number of said sign bits.
By way of example, a particular embodiment of the invention will now be described with reference to the accompanying drawings, in which: Figure 1 is a block diagram of a correlator circuit used in the present invention; Figure 2 is a block schematic diagram of the correlator of Figure 1; Figure 3 and 3A are diagrammatic representations of sensitivity of correlators, according to the present invention, to sinusoidal inputs of different frequencies; Figure 4 is a block schematic diagram of a preferred correlator, according to the present invention; and Figure 5 is a diagrammatic representation of a DC blocking filter usable with a correlator according to the present invention.
In order to prevent an adaptive echo cancellation system exhibiting instability with sinusoidal signals, it is sufficient to be able to estimate when two signals are both periodic and have a high degree of correlation. For the cross-correlation function, it would be helpful to produce a binary output indicating, in one state, if the signals were uncorrelated or random and correlated. In the other state, the signals would be periodic and of substantially the same period. It can also be sufficient to determine if a signal transmitted in one path is sinusoidal. In this case, an auto-correlation function can be used to discriminate between sinusoidal and random signals. The auto-correlation function will be produced if each of two extraction blocks are connected to a common signal path.
Given two signals x and y, the cross-correlation function will have the following properties dependent on the nature of the signals. If x and y are 'uncorrelated' then by definition the cross-correlation function will be zero.
If x and y are random but have some degree of correlation the cross-correlation function will have a maximum value at some point and the function will diminish to zero at points removed from the location of the maxima. If, however, the signals are sinusoidal, differing only in amplitude and phase, the cross-correlation function will be a cosinusoid of half the amplitude of the product of the amplitudes of the sinusoids.
For periodic signals, correlation functions are precisely given by the integral
In this expression, T is the period of the sinusoidal signal, t is time, t is a shift in time (shifted time) and x(t) is a function of the signal x with respect to time.
For a finite set of samples (sampled digital systems), this integral may be summed approximately as follows:
In this expression, C(k) is the correlation function, N is the total number of samples, i is any one of the set of the samples from zero to the number N, k is a different one of the set of samples from zero to the number N, Xj is the jth member of the set of samples of x(t).
The degree of approximation which has been effected depends on the statistics of the signals, sampling frequency and the size (N) of the set of samples used. If the signals are uncorrelated, or random but correlated, then instead of tending to zero they will tend to a small number which will 'hover' about zero. But, if the signals x and y are periodic and exhibit a high degree of correlation, the correlation function will be a close approximation to a cosinusoid even with a relatively small sample set.The conventional hardware realisation of the above summation (the correlation function) would require the provision of k shift registers of shift 1 to k, k + 1 full word length multipliers, k adders and a software algorithm for determining, from the stored waveform, the nature of the signals x and y for all levels of x and y (mean square value) .
The present invention serves to determine the occurrence of the periodic case from the classes of signals that can be present, and with a significant reduction in the amount of hardware necessary to achieve such determination.
If the signals x and y are replaced by their arithmetic signs (that is, by the sign +1 if the signal is greater than zero and -1 if less than zero), we can calculate an estimate of the cross-correlation function as
It will be noted that by taking the sign bits of the signal portions, this expression will be independent of the exact amplitude of the signals but, in the cases considered, the means values of the signals are assumed to be zero.
The latter case, that of periodic correlated signals, can be deduced if the above summation is more negative than -0.5.
Figure 1 shows one from that the circuit hardware can take.
As shown in Figure 1, an x signal path 1 is connected to a first extraction block 2 by which the sign bit of an incoming digitally encoded signal is extracted and the relevant sign bit is passed to a multiplier 3. Similarly, a y signal path 4 is connected to a second extraction block 5 by which the sign bit of the signal is extracted and the relevant sign bit is passed to an N bit shift register 6 (where M3N). In the shift register 6, the number of samples falling within a given time period T, can be given to the y value. A control logic select kl circuit 7 takes the relevant y sign bit and passes it to the multiplier 3.
In the multiplier 3, multiplication is performed according to the following truth table to give the xy product:
The output of the multiplier 3 is delivered to an up/down counter 8 which serves to sum the multiplier output over N samples. At the conclusion of the time period T, the counter values of the sign and magnitude bits are delivered to an evaluation point 9. By noting the logic output, a simple gate device is able to indicate if both the sign bit indicates a negative value and the magnitude of the output is greater than half the maximum count. The counter 8 is then cleared and the process is arranged to start again to produce a sequence of estimated values. Correlation is assumed if the sign bit is negative and the count is greater than 0.5. The signals may be assumed to be sinusoidal and the adaptive echo cancellation inhibited.
As already mentioned, an auto-correlation function would be produced if both extraction blocks 2 and 5 are connected to a common signal path, that is, to either path 1 or path 4 in the diagram.
This construction as just described is able to estimate the cross-correlation (or auto-correlation) function at only a single point. However, because of the periodic nature of sinusoids, it is possible to construct other values of the correlation function by simply repeating the process within a given time frame. This will therefore build up a 'sampled' correlation function. Because of a relationship that may exist between the sample frequency and the set of values, it may be that all values generated are greater than -0.5, thus a second set of k-values (k2) that are not numerically related to the first set (kl) should be used simultaneously.
For example, a first set kl could result in estimation of a cross-correlation function occurring at, for example, arbitrary points 7, 14, 21 ..., whilst a second set k2 could detect correlation at points 13, 26, 39 ... . By choice of sample size, shift register length and knowledge of the signal bandwidth, the above process can be repeated within a particular time frame whereby a high degree of certainty of detection of the periodic signals, if these signals should exist, can be assured.
The provision of the 'sampled' correlation function is capable of being effected in the circuit shown in Figure 1 because the shift register 6 is additionally coupled to a control logic, select-k2, circuit 11. The select-k2 circuit 11 thus passes a y sign bit selected for a different value of k to a second single bit multiplier 12. The multiplier 12 has a second input which receives a X signal sign bit from the first extract block 2 in the X signal path.
The output from the multiplier 12 is delivered to a second up/down counter 13 which serves to sum the multiplier output over N samples. At the conclusion of the count, the values of the sign and magnitude bits are delivered to a second evaluation point 14, and, if correlation exists, the adaptive echo cancellation is inhibited.
This process may be extended further, at the cost of providing additional hardware, for a third (k3), a fourth (k4) etc. set of values.
At the conclusion of the estimation period, the logic control of the adaptive echo cancellor is able to update its adaption to the echo signal improving its cancellation performance, or in the presence of large sinusoidal signals prevent further adaption and thereby avoid the unwanted side effects.
A more practical autocorrelation block circuit diagram is shown in Figure 2. A sampled speech signal is digitised and the sign bit only is input at 16 to a D.C. blocking filter 18. The filter 18 may be any conventional high pass filter such as that shown in Figure 5. The filter there shown comprises an input 20, a forward feed path 22, a summer 24 whereto are fed input 20 and a feedback signal on a line 26, a delay element 28, a second summer 30 having as inputs the output of the delay element 28 and the forward feed path 22 and providing an output 32 from which is taken the feedback signal, through an amplifier 34 to the line 26.
The filter 18 strips out any D.C. offset and provides an output 36 which is fed directly to a multiplier 38 (equivalent to the multiplier 3 of Figure 1) and to a delay register 40 (equivalent to the shift register 6 of Figure 1). A selectable tap 42 provides a second input to the mixer 38. The output 44 of the mixer 38 is fed to an up/down converter 46 clocked at the sampling rate (16KHz) by a clock 48. The converter 46 is reset at the end of each correlation period by reset means 50. The underflow output 52 of the counter 46 is fed to a latch 54 which is also reset by the reset means 50 to provide an output 56 to inhibit adaptive echo cancellation.
The arrangement described in relation to Figures 1 and 2, whilst providing considerable advantage over the known prior art, is still relatively hardware intensive. The Figure 1 arrangement normally requires two bands of, for example, 8 correlators. The number of correlators required is dependant upon the sinusoidal frequency to be detected.
Using only negative sign and value (underflow) outputs, 12 delay elements are required to detect a sinusoidal signal of frequency 600Hz. Mains frequency hum at 50Hz requires too large a number of delay elements to provide for practical adaptive echo cancellation inhibition.
Figures 3 and 3A show the number of 16KHz delay elements necessary to detect correlation if underflow (Figure 3) or underflow and overflow (Figure 3A) output of the counter such as the counter 46 is taken.
The underflow representations (negative sign and magnitude) shows that the number of delay elements required is inversely proportional to the frequency of the sinusoid.
If a combination of underflow and overflow (negative or positive and value) is taken then the advantageously low number of delay elements (2) could be used for sinusoids up to 1000Hz and thereafter six (or preferable eight either as a single element or two banks of four) could be used for all frequencies from zero to maximum frequency at which sinusoids cause problems.
As shown in Figure 4, additional circuitry over that shown and described in relation to Figure 2, is minimal.
Like reference numerals have been used to indicate similar parts in these figures.
In Figure 4, the up/down counter 46 has an overflow output 58 which is fed to one input of an OR gate 60 to the other input of which is fed the underflow 52 from the counter 46. The output 62 from the OR gate 60 is fed to the latch 54 and the output 56 is taken and used in the same way as previously.
It has been found that the hardware for the correlator circuit of the invention is capable of being built on an integrated circuit chip with only a small increase in the chip area needed over that required for the audio processor including the adaptive echo cancellor. In one embodiment, an area increase of only 3% was required to support the components needed for the correlator circuit.
The foregoing description of embodiments of the invention have been given by way of example only and a number of modifications may be made without departing from the scope of the invention as defined in the appended claims.

Claims (11)

1. An audio signal processor circuit for treating a digitally encoded incoming signal, the circuit comprising means for sampling the encoded signal, means for calculating from the sampled values a measure of the correlation function of the sampled signal to a further sampled signal during a particular time frame, the value of said function serving to control operation of an adaptive echo cancellation algorithm, in which the sampled signal portions are truncated such that only the arithmetic sign bit of each signal portion contributes to the function calculation, such that control can be effected on the adaptive algorithm for eliminating unwanted effects.
2. A circuit as claimed in claim 1 wherein the sampled digitally encoded incoming signal and the further sampled signal are the same sampled signals whereby the circuit functions as an autocorrelator.
3. A circuit as claimed in claim 1 or 2, comprising means, operative at the end of each time frame, for controlling the operation of said adaptive algorithm for a new function calculation.
4. A circuit as claimed in claim 1, 2 or 3 in which an incoming signal sample is initially treated in an extraction block arranged to determine the arithmetic sign relevant to that signal, the resulting sign bits being fed in sequence to a shift register arranged to store a predetermined number of said sign bits.
5. A circuit as claimed in claim 4, which provides outputs from selected locations in the shift register in accordance with a control logic select circuit.
6. A circuit as claimed in claim 5, in which the output from the said select circuit is combined in a multiplier with arithmetic sign signals extracted from the path of the further sampled signal and a multiplier output signal is delivered to an up/down counter.
7. A circuit as claimed in claim 6 wherein the up/down counter has underflow and overflow outputs providing both sign and value outputs.
8. A circuit as claimed in any preceding claim further including a D.C. blocking filter.
9. A circuit as claimed in any preceding claim further including latch means, reset at the end of each further calculation, for holding the arithmetic sign and value of the calculation for inhibiting or permitting operation of the adaptive echo cancellation algorithm.
10. An audio signal processor circuit, substantially as hereinbefore described with reference to and as illustrated in Figures 1 to 3 or Figures 3A to 5 of the accompanying drawings.
11. A telephone exchange line interface circuit, when including an audio signal processor circuit as claimed in any preceding claims.
GB9010752A 1989-05-12 1990-05-14 Audio signal processor circuit Expired - Fee Related GB2232563B (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
ES90907341T ES2064733T3 (en) 1989-05-12 1990-05-15 AUDIO SIGNAL TREATMENT CIRCUIT.
AT90907341T ATE115794T1 (en) 1989-05-12 1990-05-15 AUDIO SIGNAL PROCESSING CIRCUIT.
JP2507405A JPH05501941A (en) 1989-05-12 1990-05-15 audio signal processor circuit
US07/793,399 US5453976A (en) 1989-05-12 1990-05-15 Audio signal processor circuit
DE69015193T DE69015193T2 (en) 1989-05-12 1990-05-15 CIRCUIT FOR AUDIO SIGNAL PROCESSING.
EP90907341A EP0482003B1 (en) 1989-05-12 1990-05-15 Audio signal processor circuit
PCT/GB1990/000747 WO1991018453A1 (en) 1989-05-12 1990-05-15 Audio signal processor circuit
CA002063800A CA2063800C (en) 1989-05-12 1990-05-15 Audio signal processor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB8910956A GB2232860A (en) 1989-05-12 1989-05-12 Audio signal echo cancellation circuit

Publications (3)

Publication Number Publication Date
GB9010752D0 GB9010752D0 (en) 1990-07-04
GB2232563A true GB2232563A (en) 1990-12-12
GB2232563B GB2232563B (en) 1994-02-02

Family

ID=10656642

Family Applications (2)

Application Number Title Priority Date Filing Date
GB8910956A Withdrawn GB2232860A (en) 1989-05-12 1989-05-12 Audio signal echo cancellation circuit
GB9010752A Expired - Fee Related GB2232563B (en) 1989-05-12 1990-05-14 Audio signal processor circuit

Family Applications Before (1)

Application Number Title Priority Date Filing Date
GB8910956A Withdrawn GB2232860A (en) 1989-05-12 1989-05-12 Audio signal echo cancellation circuit

Country Status (1)

Country Link
GB (2) GB2232860A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0476411A1 (en) * 1990-09-21 1992-03-25 Siemens Aktiengesellschaft Method for the detection of periodical digital signals at the input of a digital echocanceller
EP0596610A2 (en) * 1992-11-02 1994-05-11 Advanced Micro Devices, Inc. Decorrelation controllers for adaptive digital filters
DE19960051A1 (en) * 1999-12-14 2001-06-21 Alcatel Sa Method for echo cancellation in a telecommunications system and echo cancellation device for carrying out the method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0476411A1 (en) * 1990-09-21 1992-03-25 Siemens Aktiengesellschaft Method for the detection of periodical digital signals at the input of a digital echocanceller
EP0596610A2 (en) * 1992-11-02 1994-05-11 Advanced Micro Devices, Inc. Decorrelation controllers for adaptive digital filters
EP0596610A3 (en) * 1992-11-02 1995-01-04 Advanced Micro Devices Inc Decorrelation controllers for adaptive digital filters.
US5526347A (en) * 1992-11-02 1996-06-11 Advanced Micro Devices, Inc. Decorrelation controller for an adaptive echo cancellor
DE19960051A1 (en) * 1999-12-14 2001-06-21 Alcatel Sa Method for echo cancellation in a telecommunications system and echo cancellation device for carrying out the method

Also Published As

Publication number Publication date
GB2232563B (en) 1994-02-02
GB9010752D0 (en) 1990-07-04
GB2232860A (en) 1990-12-19
GB8910956D0 (en) 1989-06-28

Similar Documents

Publication Publication Date Title
US4823382A (en) Echo canceller with dynamically positioned adaptive filter taps
EP0008160B1 (en) Programmable digital tone detector
US4351983A (en) Speech detector with variable threshold
US3612845A (en) Computer utilizing random pulse trains
EP0056546A2 (en) Digital adaptive finite impulse response filter with large number of coefficients
CA1056505A (en) Receiver for voice response system
US4747065A (en) Automatic gain control in a digital signal processor
US5465405A (en) Apparatus and method for detecting signals
EP0539017A2 (en) Adaptive frequency dependent compensation for telecommunication channels
FR2690261B1 (en) Signal processing incorporating signal estimation and elimination tracking methods using an a posteriori maximum algorithm, and sequential signal detection.
EP0584912A1 (en) Receiver using a matched filter and a median filter
CA2196010A1 (en) Adaptive iir multitone detector
CA2063800C (en) Audio signal processor circuit
US5793820A (en) Automatic adaptive filtering according to frequency modulation rate
GB2232563A (en) Audio signal echo cancellation circuit
SE455563B (en) SET FOR A MULTIPLE FREQUENCY RECEIVER, DETERMINE IF THE RECEIVER IS REACTIVELY RESPONSIBLE FOR A SINGLE FREQUENCY SIGNAL
KR0153122B1 (en) Audio signal processor ciruit
KR940023176A (en) Infinite Impulse Response Ghost Elimination System
KR100420231B1 (en) Ghost removal reference signal detection and synchronization circuit and method thereof
JPH0830723B2 (en) Coherent frequency burst detection device and detection method thereof
KR850007356A (en) Video signal processor
JPH10502238A (en) Transmission system with improved tone detection means
Murakami et al. Recursive FIR digital filter design using a z-transform on a finite ring
US5850437A (en) Transmission system with improved tone detection
SU980271A2 (en) Pulse duration discriminator

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20030514