ADAPTIVE FILTER INCLUDING CONTROLLED TAP GAIN COEFFICIENT DRIFT

Abstract: In adaptive filters (100), under certain incoming signal conditions the tap gain coefficients (H(K)) tend to drift toward relatively large values. This condition has been countered by taking so-called leakage (L(K)) into account in generating the tap gain coefficients (H(K)) with the aid of up-date components (D(K)) and error components (E(K)). Introduction of leakage tends to drive the tap gains toward zero and is desirable under certain incoming signal (X(K)) conditions and not others. Indeed, during intervals that concentrated partial or narrow band energy, e.g., single frequency tones, multifrequency tones and the like, is incoming to the filter (100) there is a need to introduce a relatively large leakage value (L(K)) into the tap gain coefficients. However, during intervals when whole or wide band energy, e.g., speech or noise, is incoming to the filter no leakage is desired or needed. This is realized by detecting intervals during which partial band energy (104) is incoming to the filter and controllably increasing the leakage value (L(K)) during those intervals only.

Description: ADAPTIVE FILTER INCLUDING CONTROLLED TAP GAIN COEFFICIENT DRIFT This invention relates to- adaptive filters of the transversed type and, more particularly, to controlling tap gain coefficient drift during certain incoming signal conditions by means of a compensating component known as leakage. Adaptive filters operate on an incoming signal in accordance with a prescribed algorithm to generate a desired output signal. Typically, the filters generate an impulse response in accordance with the algorithm which includes adjustment of so-called tap gain coefficients to update the impulse response in response to an error signal. In this way the filter impulse response is optimized to yield the desired result. When the energy distribution within the incoming signal is fairly uniform over a wide band, the adjustment algorithm is satisfactorily implemented. However, during certain incoming signal conditions, concentrated partial or narrow band energy including, for example, single frequency tones, multifrequency tones and the like, cause the tap gain coefficients to drift undesirably toward relatively large values. This drift condition has been countered by introducing a compensation signal in the form of a so- called leakage signal into the tap gain coefficient signals. This leakage component tends to drive the tap gain coefficient signals toward zero. Prior tap coefficient leakage compensation arrangements are disclosed in ϋ. S. Patents 4,237,554 and 4,243,959. Both of the prior arrangements, however, introduce leakage compensation at substantially a constant rate during all incoming signal conditions. Specifically, the arrangement disclosed in U. S. Patent 4,243,959 introduces a so-called "weak" leakage by periodically or intermittently switching the supply of a leakage signal to the tap coefficient signals. In the prior arrangements the value of the leakage signal supplied to the tap coefficients is a fixed compromise in order to minimize deleterious effects during intervals including other than partial or narrow band energy in the incoming signal. It has been determined that a relatively large leakage is needed during intervals when partial band energy is incoming to the filter and relatively small or no leakage is needed during intervals when whole or broad band energy, for example, speech, noise and the like, is incoming to the filter. In other words, a variable leakage magnitude, is required to provide optimum compensation. The problems of prior adaptive filter tap coefficient leakage introduction arrangements are overcome, in accordance with an aspect of the invention, by controllably adjusting the leakage magnitude value during prescribed filter incoming signal conditions. More specifically, intervals are detected during which the filter incoming signal includes partial band energy and the leakage magnitude value introduced into the tap coefficient signals is controllably increased during those intervals. The invention will be more fully understood from the following detailed description of illustrative embodiments taken in connection with the appended figures in which: FIG. 1 shows in simplified block diagram form an adaptive filter including an embodiment of the invention; FIG. 2 depicts in simplified block diagram form one embodiment of the leakage generator and control of FIG. 1; FIG. 3 shows in simplified block diagram form details of another embodiment of the leakage generator and control of FIG. 1; FIG. 4 depicts in simplified form details of one embodiment of the integrator of FIG. 1; and FIG. 5 shows in simplified form details of another embodiment of the integrator of FIG. 1. Adaptive filter 100, including an embodiment of the invention is shown in simplified block diagram form in FIG. 1. Adaptive filter 100 is similar to the adaptive filter used in echo cancelers disclosed in ϋ. S. Patents 3,499,999 and 3,500,000. Briefly, adaptive filter 100 includes an adjustable signal processor having a closed loop error control system which is self-adapting in that it automatically tracks signal variation in an outgoing path. More specifically, filter 100 employs arbitrary system output estimator 101 including an adaptive transversal filter arrangement for synthesizing a linear approximation of arbitrary system 102. To this end, far end incoming signal X(K) is usually supplied from a far end signal source over a first transmission path, e.g., lead 103, to a first input of filter 100 and, therein, to an input of partial band-whole band energy discriminator 104 and to an input of arbitrary system output estimator 101. Discriminator 104 does not form part of the present invention, however. Its function is, however, to detect those intervals during which concentrated energy bursts dominate over wide band energy across the signaling band. Far end signal X(K) may be, for example, a digitally sampled speech signal, where K is an integer identifying the sampling interval. A typical sampling rate is 8kHz, as is used in PCM (pulse-code modulation) transmission. Far end signal X(K) is also supplied via lead 105, perhaps through some conversion circuitry, e.g., a digital-to-analog converter not shown, to arbitrary system 102. In an echo canceler application, arbitrary system 102 includes hybrid network 106, matching impedance 108 and bidirectional transmission path 107. It is usually desirable for the input signal to hybrid 106 from lead 105 to be supplied over bidirectional path 107 to a near-end listening party. However, because of an impedance mismatch in hybrid 106, typically caused by the OM?l difficulty of having balance impedance 108 exactly match the variable impedance of bidirectional path 107, a portion of the hybrid input signal appears on outgoing lead 109 and is reflected to the far end signal source as an echo signal. Similarly, any arbitrary system 102 will generate a system output signal which differs from that generated by estimator 101 until adaptive filter 100 converges to the arbitrary system characteristic. The output of arbitrary system 102 is, therefore, equivalent to the echo signal in an echo canceler application. The output signal of arbitrary system 102 is supplied over lead 109 to another input of filter 100 and therein to a first input of combining network 110. Lead 109 may also include conversion apparatus, e.g., an analog-to-digital converter not shown. A second input to combining network 110 is a signal estimate of the arbitrary system output signal generated by estimator 101. The arbitrary system output estimate is supplied via lead 111 from an output of estimator 101 to the second input of combining network 110. Combining network 110 generates error signal E(K) corresponding to the algebraic difference between the arbitrary system output estimate from estimator 101 and the output from arbitrary system 102. Error signal E(K) is supplied over a second transmission path, e.g., lead 112 to the far .end source and to estimator 101. Estimator 101 includes a so-called tapped delay line comprised of delay units 115-1 through 115-(N-l) (a shift register) for realizing desired delays at the taps corresponding to convenient Nyquist intervals. Therefore, delayed replicas X(K-l) through X(K-N+1) of incoming far end signal X( ) are generated at the corresponding taps. The signal at each tap position, namely X(K-l) through X(K-N+1) as well as X(K) , is adjusted in response to error signal E(K). More particularly, signals X(K) through X(K- N+l) are individually weighted in response to E(K) via a corresponding one of adjustment networks 116-0 through 116- (N-l), respectively. Adjustment networks 116-0 through 116- (N-l) each include multipliers 117 and 118, integrator 119 and gain unit 120. Gain unit 120 is employed to adjust update gain. Integrator 119 adjusts the tap coefficient weight to a desired value. To this end, integrator 119 includes summer 121, leakage generator and control 122, which is responsive to signal PBE from discriminator 104 for controllably introducing a relatively large leakage into the tap coefficient signal, in accordance with an aspect of the invention, during intervals that partial band energy is incoming to filter 100, and delay 123. Discriminator 104 generates partial band energy signal PBE, in this example, representative of a logical 1 when so-called partial band energy is incoming to filter 100. Signal PBE is supplied to each of adjustment networks 116 and therein to integrator 119. Outputs from adjustment networks 116 are weighted replicas of X(K) and are summed via summing networks 124 to generate the arbitrary system output or echo estimate signal approximating the output from arbitrary system 102 for the echo to be canceled. The arbitrary system estimate is supplied via lead 111 to a second input of combining network 110. Briefly, integrator 119 operates to generate modified tap gain coefficient signal H(K) . To this end, raw tap gain coefficient signal D(K) from gain unit 120 is an updating component which is for example, a correlated signal generated by a delayed replica of input signal X(K) (for adjustment network 116-0 the delay is zero) being multiplied with error signal E(K) via multiplier 117 and adjusting its value by gain G. Update component D(K) is supplied to summer 121 and to leakage generator and control 122. Also supplied to summer 121 is tap coefficient signal H(K) from delay 123. The output of summer 121 is an updated version of the tap coefficient signal and is supplied to leakage generator and control 122. Output PBE from partial band-whole band energy disc iminator 104 is also supplied to leakage generator and control 122 as is tap coefficient signal H(K) . Leakage generator and control 122 is responsive to raw signal D(K) and the most recent modified signal H(K) , as well as being under the control of discriminator signal PBE. FIG. 2 shows in simplified block diagram form a functional diagram of an embodiment of leakage generator and control 122, in accordance with an aspect of the invention. Accordingly, shown there is summer 201 to which are supplied the updated tap coefficient signal from summer 121, namely, D (K) + H(K) , and leakage signal (K) via switch 202, which is under the joint control of signals PBE, D(K) and H(K) . Updating component D (K) is supplied to control 203 while tap coefficient signal H(K) is supplied to leakage generator 204 and to control 203. Partial band energy signal PBE is supplied to one input of OR gate 205 while an output from control 203 is supplied to a second input of OR gate 205. An output from OR gate 205 is supplied to control operation of switch 202. Leakage generator and control 122 except for the addition of OR gate 205 and signal PBE is essentially identical to that described in U. S. Patent 4,243,959 noted above. In that arrangement a so-called "weak" leakage signal [L(K)] is introduced by control 203 controlling switch 202 to supply leakage signal L(K) generated from leakage generator 204 to summer 201 at a periodic rate, for example, for one out of 64 consecutive sample intervals. Additionally, control 203 is responsive to signals D(K) and H(K) to further control the strength of leakage signal L(K) . Specifically, switch 202 is further controlled to supply leakage signal L(K) to summer 201 only when updating component signal D (K) and tap coefficient signal H(K) are of opposite algebraic signs. Leakage generator 204 responds to tap coefficient signal H(K) to generate a positive leakage signal or a negative leakage signal when H(K) is negative or positive, respectively. Again, see U. S. Patent 4,243,959 noted above. OR gate 205 is operative in response to partial band energy signal PBE, in accordance with an aspect of the invention, to control switch 202 for supplying leakage signal L(K) from generator 204 to summer 201 continuously during intervals that partial band energy is present in incoming signal X(K) . In this manner, the average magnitude value of leakage signal L(K) introduced into the tap coefficient signal is significantly increased, in accordance with an aspect of the invention, during intervals that partial band energy is incoming to the filter. Leakage generator 204 is operative to generate leakage signal L(K)=α signum [H(K)] where α is the tap leakage component. In this example, α is a predetermined constant, and signum [H(K)] is either +1 or -1 corresponding to the algebraic sign or signum of H(K) . Assuming by way of example, that = -1, then the tap coefficient signal is driven slightly toward zero during each sample interval K that L(K) is supplied to summer 201. A positive "nudge" toward zero is obtained for negative valued coefficients while a negative nudge toward zero is obtained for positive valued coefficients. Thus, it is seen that the updated tap coefficient H(K+1) is H(K+1) = H(K) + D(K) + L(K) (1) FIG. 3 depicts in simplified block diagram form another embodiment of leakage generator and control 122. Leakage generator and control 122 shown in FIG. 3 is similar to that shown in FIG. 2. Accordingly, elements which have the same function as those in FIG. 2 have been similarly numbered and will not be described again. The difference between the embodiments of FIG. 2 and FIG. 3 is that the embodiment shown in FIG. 3 does not include OR gate 205, but instead leakage generator 122 includes controllable gain unit 301 for generating L(K) = α signum [H(K)j . To this end, gain unit 301 is responsive to partial band energy signal PBE to adjust the value of α and, hence, leakage signal L(K) . Specifically, gain unit 301 responds to a logical 1 PBE signal to increase the value of α by a predetermined value during intervals that partial band energy is included in the filter incoming signal. In one example, α is increased from 2 —18 to 2—17. FIG. 4 shows in simplified block diagram form details of integrator 119 of FIG. 1 including one embodiment of the invention. Accordingly, updating component D (K) is supplied in two's complement form to one's complement converter 401. The sign bit Ds(K) of D (K) is supplied to input A of selector 402. As is known, one's complement binary form is identical to two's complement binary form except that the one's complement form of a negative number is one less than its two's complement form. Thus, one's complement converter 401 generates one's complement version D' (K) of updating component D(K) . Signal D' (K) is supplied to a first summing input of adder 403 while tap coefficient signal H(K) is supplied to a second summing input and sign bit Hs(K) of H(K) is supplied to input B of selector 402. Signal C is supplied from selector 402 to a so-called carry in input of adder 403. Adder 403 is operative to generate H(K+1) = H(K) + D' (K) + C (2) . H(K+1) is in two's complement form and is supplied to delay 123 to generate H(K) the desired tap coefficient modified by leakage signal L(K) . Clock 404, counter 405 and divider 406 are employed to generate a periodic enable signal, for example, at a one out of 64 rate which is supplied via a first input of OR gate 407 to a select B input of selector 402. Clock 404 generates a 8kHz clock signal. Partial band energy signal PBE is supplied to a second input of OR gate 407 and, hence, to the select B input of selector 402. Again, signal PBE controls selector 402 to select the B input continuously during intervals that partial band energy incoming to the filter, thereby controllably increasing the value of - 9 - leakage introduced into the tap coefficient signal, in accordance with an aspect of the invention, as will become apparent from the following discussion. Integrator 119 operates to generate the desired updated tap coefficient H(K+1) * ■ * ■ H(K) + D(K) + L(K) (3) Briefly, it is noted that H(K) and D(K) both assume positive and negative values and, since, both H(K) and D(K) are represented in binary form, two's complement form is the most convenient for adding H(K) and D(K) to generate H(K+1) . As indicated above, the one's complement form of D(K) , namely, D' (K) is the same as the two's complement form when Ds(K) is positive but one less than the two's complement form when Ds(K) is negative. Operation of adder 403 when selector 402 is supplying input A, i.e., Ds(K) via C to the carry in input, is to add one to D' (K) when Ds(K) is negative and to add zero when Ds(K) is positive thereby obtaining the appropriate two's complement form of D(K) . Leakage is obtained by selector 402 supplying Hs(K) via C to the carry-in input of adder 403. Again, it is important to remember that D' (K) is one less, i.e., D' (K) = D(K) -1 when Ds (K) is negative (Ds (K) = 1) and D' (K) = D(K) , when D(K) is positive (Ds(K) = 0) . Then, letting H without (K+l) equal the two's complement addition of D(K) and H(K) without leakage, the introduce of leakage when D(K) and H(K) are of opposite algebraic signs is apparent from the following table. K! H(K) Ds (K) Hs (Kl - H(K+1) > 0 > 0 0 0 H without (K+l) < <00 > >00 1 1 0 0 H without (K+D-l >0 <0 0 1 H without (K+l) +1 <0 < 0 1 1 H without (K+l) Therefore, when Ds (K) =Hs (K) no leakage is added and when [ RE Ds(K)τ*-Ηs(K) a leakage of one (1) is added or subtracted, i.e., when H(K) is positive a negative leakage is introduced and when H(K) is negative a positive leakage is introduced. Clock 404, counter 405 and divider 406 further operate to control introduction of leakage at a fixed rate. As indicated above, signal PBE being a logical 1, thereby indicating partial band energy incoming to the filter, controls selector 402 via OR gate 407 to supply Hs(K) continuously to adder 402 and, hence, increasing the effective value of leakage introduced, in accordance with an aspect of the invention. FIG. 5 depicts in simplified block diagram form details of integrator 119 including another embodiment of the invention. Integrator 119 shown in FIG. 5 is similar to that shown in FIG. 4. Accordingly, elements which have the same function as those in FIG. 4 have been similarly numbered and will not be described again. The difference between the embodiments of FIG. 4 and FIG. 5 is that the embodiment of FIG. 5 does not include OR gate 407 and divider 406. Included, however, is programmable divider 501 which is responsive to partial band energy signal PBE to control the value of leakage introduced. For example, programmable divider 501 can be set to supply a periodic signal to the select B input of selector 402 for controlling the introduction of leakage as described above in relation to FIG. 4, at a first prescribed ratio of sampling intervals during intervals when PBE equals a logical 0 and no partial band energy is incoming, and at a second prescribed ratio of sampling intervals during intervals when PBE equals a logical 1 and partial band energy is incoming. In one example, introduction of leakage is enabled every fourth sampling interval when PBE=0 and every other sampling interval when PBE * =1 / thereby significantly increasing the leakage value introduced, in accordance with an aspect of the invention, when partial band energy is incoming. OMF The above arrangements are only examples of embodiments of the invention and it will be apparent to those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention. The embodiments of the invention described operate to detect partial band energy incoming to the filter and to increase the value of leakage introduced to the tap coefficients. It would be equally applicable to set the leakage value at a desired increased value and reduce the leakage during intervals when the filter incoming signal includes other than partial band energy, for example, during intervals that whole band energy is incoming to the filter. " B U i _ O PI

Claims: Claims 1. An adaptive filter (100) of the transversal type having a plurality of tap gain adjustment signals for incrementally delayed samples of signals being shaped including a plurality of means (119) for generating a leakage compensation component, a like plurality of means (118) for combining such leakage compensation component with such tap gain adjustment signals, and means (104) for discriminating between whole band and narrow-band energy in signals being shaped CHARACTERIZED IN THAT means (122) for combining such leakage compensation component to counter-balance an excess of tap gain adjustment signals are biased under the control of such discriminating means (104) in accordance with whether or not narrow-band energy dominates over whole band energy in the signal to be shaped. 2. The adaptive filter (Fig. 2 ) set forth in claim 1 further CHARACTERIZED IN THAT the polarities of the outputs of generating means (119) correspond to those of the most recent tap gain adjustment signal, and the leakage compensation components from generating means (119) are effective in combining means (118) in the alternative when either the polarities of the most recently modified and the raw tap gain adjustment signals are opposite in polarity or the narrow-band energy exceeds the whole band energy in the signal being shaped. 3. The adaptive filter (Fig. 3) set forth in claim 1 further CHARACTERIZED IN THAT the polarities of the outputs of generating means (119) correspond to those of the most recently modified tap gain adjustment signals, and the magnitudes of the leakage compensation components from generating means (119) are proportioned in accordance with the degree of dominance of the narrow-band energy over the whole band energy in the signal being shaped. . JRE

Inventors: GRITTON CHARLES WILLIAM KEVIN, GRITTON, CHARLES, WILLIAM, KEVIN
Applicants: WESTERN ELECTRIC CO, WESTERN ELECTRIC COMPANY, INC.
Application year: 1983
Main classification: G06F15
IPC codes: H03H15, H03H21, H04B3