Open access

Real-Time Noise Cancelling Approach on Innovations-Based Whitening Application to Adaptive FIR RLS in Beamforming Structure

Written By

Jinsoo Jeong

Submitted: 08 October 2010 Published: 06 September 2011

DOI: 10.5772/16296

From the Edited Volume

Adaptive Filtering

Edited by Lino Garcia

Chapter metrics overview

3,114 Chapter Downloads

View Full Metrics

1. Introduction

The techniques for noise cancellation have been developed with applications in signal processing, such as homomorphic signal processing, sensor array signal processing and statistical signal processing. Some exemplar applications may be found from kepstrum (also known as complex ceptstrum) method, beamforming and ANC (adaptive noise cancelling) respectively as shown in Fig. 1.

Figure 1.

Signal processing techniques and the application of methods for noise cancellation

Based on the two-microphone approach, the applications are characterized as three methods, which are based on identification of unknown system in acoustic channels, adaptive speech beamforming and adaptive noise cancellation. It can be described as generalized three sub-block diagram as shown in Fig. 2, where it is shown as three processing stages of

  1. kepstrum (complex cepstrum),

  2. beamforming and

  3. ANC and also two structures of beamforming and ANC.

Figure 2.

Generalized diagram for the typical two-microphone approach

  • Kepstrum - estimation of acoustic path transfer functions ( H 1 and H 2 )

From the output of sensor array, the acoustic transfer functions ( H 1 and H 2 ) are estimated from the acoustic channels as noise statistics during the noise period and it is applied to speech and noise period for noise cancellation. It can be applied as preprocessor to second processing stage, beamforming or directly to third processing stage, ANC. The application can be found from (Moir & Barrett, 2003; Jeong & Moir, 2008), where the unknown system has been estimated as the ratio ( H 1 / H 2 ) of two acoustic transfer functions between each microphones and noise source. Kepstrum filter is used as estimate of unknown system and it is applied in front of SS (sum and subtract) functions in beamforming structure (Jeong & Moir, 2008).

  • Beamforming - adaptive filter ( W 1 ), delay filter ( D 1 ) and SS functions

The beamforming structure contains SS functions, where it is used as signal separator and enhancer by summing and subtracting the signals of the each microphones input (Griffiths & Jim, 1982). An adaptive filter 1 is placed in front of SS functions and used as speech beamforming filter (Compernolle, 1990). It is used as a beam steering input and hence DS (delay and sum) beamformer in primary input during speech period using VAD (voice activity detector) and its output is then applied to third stage, ANC as an enhanced primary input. Both output signals from the SS functions are divided by a number of microphones used (in the case of two microphone, it should be 0.5). Alternatively, adaptive filter 1 can be used as a first adaptive noise canceller. For this application, its output is a noise reference input to next cascading adaptive filter 2 during noise period in VAD (Wallace & Goubran, 1992). Based on a same structure, two-stage adaptive filtering scheme is introduced (Berghe and Wouters, 1998). As a speech directivity function, GCC (genenalized cross-correlation) based TDOA (time difference of arrival) function may alternatively be used instead of adaptive filter 1 in beamforming structure (Knapp & Carter, 1976).

  • ANC - adaptive filter ( W 2 ) and delay filter ( D 2 )

The last part of block diagram shows ANC method (Widrow et al., 1975), where it consists of adaptive filter 2 and delay filter 2. The adaptive filter generally uses FIR (finite impulse response) LMS (least mean square) algorithm in signal processing or IIR (infinite impulse response) RLS (recursive least square) algorithm in adaptive control for the noise cancellation in MMSE (minimize mean square error) sense. According to the application, both algorithms show compromised effects between performance and computational complexity. It shows that RLS gives, on average, two-tenths of a decibel SNR (signal to noise ratio) improvement over the LMS algorithm (Harrison et al., 1986) but it requires a high demand of computational complexity for the processing. Delay filter 2 is used as noncausality filter to maintain a causality.

As desribed above, the techniques have been developed on the basis of above described methods and the structures. From the above analysis, kepstrum noise cancelling technique has been studied, where the kepstrum has been used for the identification of acoustic transfer functions between two microphones and the kepstrum coefficients from the ratio of two acoustic transfer functions have been applied in front of adaptive beamforming structure for noise cancellation and speech enhancement (Jeong & Moir, 2008). Furthermore, by using the fact that the random signal plus noise may be represented as output of normalized minimum phase spectral factor from the innovations white-noise input (Kalman & Bucy, 1961), the application of an innovations-based whitened form (here we call it as inverse kepstrum) has been investigated in a simulation test, where front-end inverse kepstrum has been analyzed with application of cascaded FIR LMS algorithm (Jeong, 2009) and also FIR RLS algorithm (Jeong, 2010a; 2010b), both in ANC structure for noise cancellation.

In this paper, for a practical real-time processing using RLS algorithm, analysis of innovations-based whitening filter (inverse kepstrum) has been extended to beamforming structure and it has been tested for the application in a realistic environment. From the simulation test, it will be shown that overall estimate from front-end inverse kepstrum processing with cascaded FIR RLS approximates with estimate of IIR RLS algorithm in ANC structure. This provides alternative solution from computational complexity on ANC application using pole-zero IIR RLS filter, which is mostly not acceptable to practical applications. For the application in realistic environment, it has been applied to beamforming structure for an effective noise cancelling application and it will be shown that the front-end kepstrum application with zero-model FIR RLS provides even better performance than pole-zero model IIR RLS algorithm in ANC structure.

Advertisement

2. Analysis of optimum IIR Wiener filtering and the application to two-microphone noise cancelling approach

For the IIR Wiener filtering approach, the z- transform of optimum LS (least squares) filter is constrained to be causal but is potentially of infinite duration, hence it has been defined by (Kailath, 1968) as

H o p t = 1 H + ( z ) [ Φ x d ( z ) H ( z ) ] + = A ( z ) B ( z ) E1

From the equation (1), it may be regarded as a cascaded form of transfer functions A(z) and B(z), where Φ x d ( z ) is the double-sided z-transform of the cross-correlation function between the desired signal and the reference signal. H + ( z ) and H ( z ) are the spectral factors of the double-sided z-transform, Φ x x ( z ) from the auto-correlation of reference signal. These spectral factors have the property that the inverse z-transform of H + ( z ) is entirely causal and minimum phase, on the other hand, the inverse z- transform of H ( z ) is non causal. The notation of + in outside bracket indicates that the z- transform of the causal part of the inverse z- transform of B(z) is being taken.

From the optimum Wiener filtering structure, the innovations process ε n can be obtained by the inverse of spectral factor A(z) from the input signal of desired signal plus noise as shown in Fig. 3. Therefore, the optimal Wiener filter can be regarded as combination of two cascaded filters, a front-end whitening filter A(z), which generates the white innovations process and a cascaded shaping filter B(z), which provides a spectral shaping function for the input signal.

Figure 3.

Analysis of innovations-based optimal Wiener filter: A(z): whitening filter and B(z): spectral shaping filter

It can be applied to two-microphone noise cancelling structure as optimum IIR Wiener filtering approach as shown in Fig. 4.

Figure 4.

Optimum IIR Wiener filtering application to two-microphone noise cancelling approach

Advertisement

3. Front-end whitening filter and cascaded adaptive FIR RLS filter

To obtain the innovations-based whitened sequence, inverse kepstrum filter is used as whitening filter. This section describes a whitening procedure by kepstrum processing as front-end application and overview of FIR RLS filter as rear-end application to beamforming structure (Jeong, 2010b).

3.1. The innovations-based whitening filter

Fig. 5 shows that the generating input model may be whitened as innovations white-noise by the inverse of minimum phase spectral factor from input signal of signal plus noise.

Figure 5.

A): The generating input model for signal plus noise ( x n ) (B): whitening model for innovations-based white noise input ( ε n )

To obtain the innovations white noise, the processing procedure is described as:

  1. Take periodogram (P) from FFTs (fast Fourier transforms) of the input signal x n .

P = 1 N | X i | 2 E2

where N is frame size and i = 0, 1, 2,….,N-1.

  1. Get the kepstrum coefficients from the inverse FFT (IFFT) of the logarithm of the periodogram.

k n = { I F F T ( log P + γ ) } E3

where K ( z ) = log P + γ ( γ is Euler constant, 0.577215 is added to be unbiased).

  1. Negate it from the obtained kepstrum coefficients because the logarithmic function of inverse minimum phase transfer function can be obtained by a negated sign from the kepstrum coefficients.

log 1 H + ( z ) K + ( z ) E4
  1. Normalize the negated kepstrum coefficients.

  2. Truncate it less than half frame size and then make first zeroth coefficient to half from their previous value.

  3. Convert it to impulse response by the recursive formula (Silvia & Robinson, 1978) as:

( n + 1 ) h n + 1 = m = 0 n ( n + 1 m ) h m ( k n + 1 m ) , 0 n l 1 E5
  1. Finally, convolve the impulse response (5) with input signal x n to obtain the innovations whitened sequence.

3.2. The FIR RLS algorithm

The RLS algorithm is to estimate the inverse of the autocorrelation matrix of the input vector and it requires information from all the previous input data used (Haykins, 1996).

The recursive method of least squares is to minimize the residual sum of squares of the error signal ( e n ) and find immediate search for the minimum of cost function, such as:

h ( J n ) = h ( k = 1 n β n k e k 2 ) = 0 E6

where e k = d k y k , β is exponentially weighted forgetting factor, 0 β 1 .

The resulting equation for the optimum filter weights at time n is described as normal equation:

w n R n = p n E7

where autocorrelation matrix, R n = k = 1 n β n k x k x k T = X T Λ X , cross-correlation vector, p n = k = 1 n β n k d k x k T = X T Λ d with Λ = d i a g [ β n 1 β n 2 ....1 ]

Both R n and p n can be computed recursively:

R n = β R n 1 + x n x n H , p n = β p n 1 + d n x n E8

To find the weight vector w n from (7), we need the inverse matrix R n 1 from R n . Using a matrix inversion lemma (Haykins, 1996), a recursive update equation for R n 1 is found as:

R n 1 = β 1 R n 1 1 β 1 μ n ' x n T R n 1 1 E9

where gain vector, μ n ' = β 1 R n 1 1 x n 1 + β 1 x n T R n 1 1 x n

The equation (9) is known as ordinary RLS algorithm and it is valid for FIR filters because no assumption is made about the input data x n . We can then find the weights update equation as:

w n = w n 1 + μ n ' ( d n x n w n 1 ) E10
Advertisement

4. Application to noise cancelling

Adaptive filter, such as FIR LMS filter (Widrow & Hoff, 1960) or IIR RLS filter (Ljung & Sodestrom, 1987) is used to estimate two acoustic path transfer functions ( H 1 ( z ) and H 2 ( z ) ) between each mirophone input and noise source. It is represented as the ratio of H 1 ( z ) / H 2 ( z ) in the two-microphone ANC approach as shown in Fig. 6 (A). Front-end whitening application is used to estimate the inverse of acoustic path transfer function H 2 ( z ) in the reference input shown in Fig. 6 (B), where the cascaded adaptive filter is used to estimate acoustic path transfer function, H 1 ( z ) in the primary microphone input.

In this paper, the inverse kepstrum filter is used to estimate 1 / H 2 ( z ) as whitening filter in front of SS functions and FIR RLS algorithm is used as rear-end spectral shaping adaptive filter in two-microphone beamforming structure as shown in Fig. 7. As an alternative approach, the system identification based kepstrum method has been studied in beamforming structure (Jeong & Moir, 2008).

Figure 6.

A) typical ANC method (B) front-end innovations based inverse kepstrum method, where both are applied to ANC structure

Figure 7.

Whitening application to beamforming structure: application of inverse kepstrum method

Advertisement

5. Experiment

The objective is to analyze the operation of the front-end innovations based whitening method and the rear-end FIR RLS filter between ANC and beamforming structure. For the simulation test, 2 kepsturm coefficients and first order of zero model RLS have been used, which will be compared with pole-zero model IIR RLS with first order of numerator polynomial and first order of denominator polynomial in ANC structure. Based on this, it will be tested in beamforming structrue for real-time processing in a realistic room environment, where noise cancelling performance will be compared with typical IIR RLS method in ANC structure. For the application of signal plus noise, a simple sine waveform (consisting of 500Hz, 550Hz and 700Hz) has been selected as a desired signal, which considered as a desired signal of speech signal with real data in noise signal. For the processing, two FFT points (2048 in simulation test and 4096 in real test) frame sizes have been used, and sampling frequency of 22050Hz and Nyquist frequency of around 11000Hz have been chosen. For the precise test, programmed operation is made to stop the estimate to freeze both kepstrum coefficients and adaptive (FIR and IIR RLS) filter weights when the signal is applied as desired speech signal (Jeong, 2010a; 2010b). The frozen coefficients and weights are then applied to desired signal and noise periods. For the test in a real environment, two unidirectional microphones (5cm distance apart) with broadside configuration have been set up and tested in a corner of room (3.8m(d)x3m(w)x2.8m(h)) with moderate reverberant status.

5.1. Simulation test in ANC structure

The noise characteristic between two microphones is estimated as the ratio of two acoustic path transfer functions, where the front-end innovations kepstrum estimates minimum phase term of a denominator polynomial and also zero-model FIR RLS algorithm of the cascaded adaptive filter estimates the remaining numerator polynomial as shown in Fig. 8. Both coefficients and weights are continously updated during the noise periods only and frozen during the signal plus noise periods.

Figure 8.

Identification of unknown system in ANC structure based on estimates of innovations-based inverse kepstrum whitening filter and cascaded FIR RLS filter

5.2. Operation of innovations-based whitening filter and cascaded zero-model FIR RLS filter in ANC structure

To verify the operation of inverse kepstrum whitening filter with a nonminimum phase term from numerator polynomial and a minimum phase term from denominator polynomial, H ( z ) = H 1 ( z ) / H 2 ( z ) has been used as a simple example of unknown system, where each acoustic transfer functions are

H 1 ( z ) = 1 + 1.5 z 1 H 2 ( z ) = 1 + 0.4 z 1 E11

Hence H ( z ) = ( 1 + 1.5 z 1 ) / ( 1 + 0.4 z 1 ) , which is illustrated as zero ( z = 1.5 ) and pole ( p = 0.4 ) in Fig. 9 (A).

Therefore, it can be described as a polynomial of:

H ( z ) = 1 + 1.1 z 1 0.44 z 2 + ...... E12

Figure 9.

Comparison of pole-zero placement: (A): ordinary IIR RLS (B): front-end inverse kepstrum method and cascaded FIR RLS

As shown in Fig. 9 (B), the front-end inverse kepstrum estimates minimum phase term (13) in denominator polynomial and cascaded zero-model RLS estimates remaining nonminimum phase term (14) in numerator polynomial,

K I ( z ) = 1 / ( 1 + 0.4 z 1 ) E13
L ( z ) = ( 1 + 1.5 z 1 ) E14

It is also compared in terms of overall estimate, where overall estimate (III) from (C) is obtained from the convolution of estimate (I) and estimate (II). Table 1 shows that (A) is the ordinary IIR RLS with one pole ( p = 0.4 ) and one zero ( z = 1.5 ) model, (B) is its estimates, and (C) is estimates of front-end inverse kepstrum and cascaded FIR RLS as listed in Table 1. From the observation, it can be found that innovations based inverse kepstrum gives approximation to the ordinary IIR RLS, where it is also be verified in Fig. 9.

Table 1.

Comparison of overall estimate in vector weights: (A) IIR RLS in theory (B) IIR RLS in estimate (C) front-end innovations based inverse kepstrum and cascaded FIR RLS in estimate

5.3. Simulation test in beamforming structure

Based on the analysis in Fig. 2, whitening filter is applied to beamforming structure as front-end application as shown in Fig. 7, where it comprised of three parts, such as

  1. whitening filter,

  2. SS functions in beamforming structure and

  3. adaptive filter in ANC structure as shown in Fig. 10.

Figure 10.

Application of front-end whitening filter and rear-end adaptive filter to beamforming structure

Without application of whitening filter, acoustic path transfer function is estimated by adaptive filter L(z) as the ratio of combined transfer functions, H ( z ) = ( H 1 ( z ) + H 2 ( z ) ) / ( H 1 ( z ) H 2 ( z ) ) in beamforming structure. With application of whitening filter 1 / H 2 ( z ) , the rear end adaptive filter estimates L ( z ) = ( H 1 ( z ) + 1 ) / ( H 1 ( z ) 1 ) in beamforming structure as shown in Fig. 11 (A), where it is shown that adpative filter is only related with estimates of H 1 ( z ) . From the analysis on the last ANC structure, adaptive filter now estimates only numerator polynomial part ( H 1 ( z ) + 1 ) with one sample delay filter D 1 as shown in Fig. 11 (B). Both whitening coefficients and adaptive filter weights are continously updated during the noise period only, and then stopped and frozen during the signal plus noise period.

Figure 11.

Identification of unknown system in Beamforming structure of (A) estimates of innovations-based inverse kepstrum whitening filter and IIR RLS filter in front and rear of SS functions (B) estimate for adaptive FIR RLS filter with delay filter (one sample delayed) in the last ANC structure

5.4. Operation of front-end innovations-based whitening filter and rear-end zero-model FIR RLS filter in beamforming structure

With the use of same unknown system (11) as in ANC structure, the operation of inverse kepstrum whitening filter in front of SS functions in beamforming structure is same as one (13) in ANC structure.

Figure 12.

Locations of pole-zero placement: (A) H 1 ( z ) = 1 + 0.2 z 1 (B) H 1 ( z ) = 1 + 1 z 1 (C) H 1 ( z ) = 1 + 1.5 z 1 (D) H 1 ( z ) = 1 + 2 z 1 : H 2 ( z ) is commonly applied as H 2 ( z ) = 1 + 0.4 z 1

The FIR RLS filter is then estimated on ( H 1 ( z ) + 1 ) , which gives that L ( z ) = 1 + 0.75 z 1 , where a 0 =0.75. It shows that weight value is half in size from the orignal weight value, 1.5 in H 1 ( z ) . Fig. 12 shows pole-zero locations according to different weight value in H 1 ( z ) , where a 0 values are (A) 0.2 (B) 1 (C) 1.5 and (D) 2. With the use of three inverse kepstrum coefficients as shown in Fig. 12, it shows that adaptive FIR RLS is approximated to the half values, which are (A) 0.1 (B) 0.5 (C) 0.75 and (D) 1, respectively.

Figure 13.

Noise cancelling performance comparison in beamforming structure on (A) microphone ouput at x n (B) whitening output x n ' (C) overall output e n with inverse kepstrum filter only (wthout FIR RLS flter) and (D) overall output e n with inverse kepstrum filter and FIR RLS filter

5.5. Test of noise cancellation on signal plus noise for real-time processing in a realistic environment

For real-time processing in a realistic room environment, it has been tested for the comparison of

  1. the noise cancelling performance at each step in beamforming structure, and

  2. the performance on front-end whitening application between ANC structure and beamforming structure, and finally

  3. the noise cancelling performance in noise and signal plus noise between ordinary ANC approach using IIR RLS in ANC structure and front-end whitening approach with FIR RLS in beamforming structure.

Firstly, as shown in Fig. 13, the noise cancelling perfomance has been found from each processing stage, of

  1. microphone output x n ,

  2. inverse kepstrum filter output x n '

  3. overall output e n with application of inverse kepstrum filter only and

  4. overall output e n with application of inverse kepstrum filter and FIR RLS filter from the each points in Fig. 10. For this test, 32 inverse kepstrum coefficients have been processed with FFT frame size 4096.

Based on this, it is found that inverse kepstrum filter works well in beamforming structrure. Secondly, with the sole application by inverse kepstrum filter only, its noise cancelling performance has been tested in (A) ANC structure and it has been compared in (B) beamforming structure as shown in Fig. 14. From the test, it has been found that inverse kepsrum is more effective in beamforming structure than its application in ANC structure.

Thirdly, it has also been compared in average power spectrum between IIR RLS in ANC structure and inverse kepstrum filter in front with rear-end FIR RLS in beamforming structure. From the test result, it shows that inverse kepstrum provides better noise cancelling performance in frequency range over 1000 Hz for noise alone period as well as signal plus noise period as shown in Fig. 15.

Figure 14.

A) Comparison in ANC structure: between (i) whitening filter application only and (ii) no-processing, (B) comparison in beamforming structure: between (i) whitening filter application only and (ii) no-processing

Figure 15.

Average power spectrum showing noise cancelling performance: comparison between (i) IIR RLS in ANC structure and (ii) whitening filter with FIR RLS in beamforming structure during the period of (A) noise and (B) signal and noise

Advertisement

6. Conclusion

It has been shown in simulation test that the application of front-end innovations-based whitening application (inverse kepstrum method) to cascaded zero model FIR RLS algorithm in ANC structure could perform almost same performance on convergence compared with pole-zero model IIR RLS in ANC structure. For the more effective performance in realistic environment, the front-end whitening application with rear-end FIR RLS to beamforming structure has shown better noise cancelling performance than the ordinary approach using pole-zero model IIR RLS in ANC structure. Therefore, when it is processed in real-time, it is claimed that the front-end whitening application could provide an effective solution due to a reduced computational complexity in inverse kepstrum processing using FFT/IFFT, which could be a benefit over sole application of IIR RLS algorithm.

Advertisement

Acknowledgments

This work was supported in part by the UTM Institutional Grant vote number 77523.

References

  1. 1. Berghe J. V. Wouters J. 1998An adaptive noise canceller for hearing aids using two nearby microphones, Journal of the Acoustical Society of America, 103 (6), 3621 3626
  2. 2. Compernolle D. V. 1990Switching adaptive filters for enhancing noisy and reverberant speech from microphone array recordings, International conference on acoustics, speech, and signal processing (ICASSP), 833 836Albuquerque,
  3. 3. Griffiths L. J. Jim C. W. 1982An alternative approach to linearly constrained adaptive beamforming, IEEE transactions on antennas and propagation, AP-30 27 34
  4. 4. Haykin S. 1996 Adaptive filter theory, third ed., Prentice-Hall Inc., Upper Saddle River, NJ,.
  5. 5. Jeong J. Moir T. J. 2008A real-time kepstrum approach to speech enhancement and noise cancellation, Neurocomputing 71(13-15), 2635 2649
  6. 6. Jeong, J. (2009). Analysis of inverse kepstrum and innovations-based applicaion to noise cancellation, proceedings of the IEEE international symposium on industrial electronics (ISIE), 890 896
  7. 7. Jeong, J. (2010a). Inverse kepstrum approach to FIR RLS algorithm and application to adaptive noise canceling, proceedings of IEEE international conference on industrial technologies (ICIT), Vina del mar, Chile, 203 208
  8. 8. Jeong, J. (2010b). Real-time acoustic noise canceling technique on innovations-based inverse kepstrum and FIR RLS, proceedings of IEEE international symposium on intelligent control (ISIC), Yokohama, Japan, 2444 2449
  9. 9. Kailath T. 1968An innovations approach to least-squares estimation-part I: linear filtering in additive white noise, IEEE transactions on automatic control, 13 6 646 655
  10. 10. Kalman, R.E. & Bucy, R. S. (1961). New results in linear filtering and prediction theory, Transactions of the ASME- Journal of basic engineering, 83: (1961): 95 107
  11. 11. Knapp C. Carter G. C. 1976The generalized correlation method for estimation of time delay, IEEE transaction on acoustics, speech and signal processing, ASSP-24(4), 320 327
  12. 12. Ljung L. Sodestrom T. 1987 Theory and practice of recursive estimation: MIT Press
  13. 13. Moir, T. J. & Barrett, J. F. (2003). A kepstrum approach to filtering, smoothing and prediction with application to speech enhancement, Proc. R. Soc. Lond. A 2003(459): 2957 2976
  14. 14. Silvia, M. T. & Robinson, E. A. (1978). Use of the kepstrum in signal analysis, Geoexploration, 16(1978), 55 73
  15. 15. Wallace R. B. Goubran R. A. 1992Noise cancellation using parallel adaptive filters, IEEE transaction on circuits and systems-II: Analog and digital signal processing, 39 (4): 239 243
  16. 16. Widrow B. Glover J. R. Jr Mc Cool J. M. Kaunitz J. Williams C. S. Hearn R. H. Zeidler J. R. Dong E. Jr Goodlin R. C. 1975Adaptive noise cancelling: principles and applications, Proceedings of the IEEE, 63 (12), 1692 1716
  17. 17. Widrow B. Hoff M. E. (1960). Adaptive switching circuits, IRE Wescon Convention Record, 96 104

Written By

Jinsoo Jeong

Submitted: 08 October 2010 Published: 06 September 2011