Design and Analysis of Interval Adaptive Filter Applied to Active Noise Cancellation

DOI : 10.17577/IJERTV9IS120193
Download Full-Text PDF Cite this Publication

Text Only Version

 

Design and Analysis of Interval Adaptive Filter Applied to Active Noise Cancellation

Soumya S. Patil

Jain college of rngineering and technology, Hubballi

Rajshekar B. Shettar

KLE Technological University, Hubballi

Abstract This paper proposes a unique approach to active noise cancellation system, which provides an efficient and effective non-intrusive solution for reducing the disturbing snore signal in the room. An interval analysis based adaptive algorithm is developed which is optimized for the different kinds of snore signals. In this work, we are replacing the input-signals auto-correlation matrix with an approximate estimate, by assuming of input-signal matrix is Toeplitz. In the proposed work, the multiplication of R 1x is replaced with the update of its matrix in the frequency domain. The stability of the algorithm is increased as interval matrices handle the bounded values. The main objective of this work is to increase stability by reducing the mean square error. The results obtained prove to show that the implementation with interval arithmetic is more accurate ruling out the rounding errors which are unavoidable in the traditional floating point approach. On the other hand, as there are two values (infimum, supremum) in interval analysis, the computational complexity increases.

Index TermsKeywords ANC (active noise cancellation), ALMS (Least Mean Square), snore signal, interval arithmetic, quasi-Newton adaptive algorithm.

I. INTRODUCTION

Snoring, is directly related to quality and quantity of sleep, especially with a person sleeping with snorer [1][3]. Night deprived snoring can cause substantial physical, emotional, and economic problems. It is necessary to find the solution for snore signal suppression using non-intrusive methods. The least mean square algorithm and its improved versions are applied in several applications which has single or multiple input/output. When the input signal has a higher degree of correlation and is band-limited, the LMS and steepest decent family converge very slowly. Such algorithms are not able to track non-stationaries, and performance deteriorates. In such cases, it is required to use more sophisticated algorithms such as extended interval analysis based analysis [4]-[5]. In an adaptive filter, the inverse of the input-signal auto-correlation matrix is required in order to update the weights. In quasi-Newton method, the algorithm avoids the calculation of the auto-correlation matrix by directly updating the inverse of the auto-correlation matrix, which has high computational complexity. In such algorithms, the approximate update of the inverse matrix is calculated. But when the input is uncertain because of sensor limitations and noise, more accurate weights are needed. In such cases, interval analysis can be used [4], [6], [7]. Interval analysis consists of two values, i.e. lower and upper bound [8]. IA gives the guaranteed results, irrespective of rounding of floating point numbers, approximation and uncertainties in the data because of sensor limitations. Interval analysis based

algorithms produce sharp bounds on the solution to a computational problem[9][11]. Extended interval arithmetic is proposed in [5] when there is a zero included in the interval bounds. In [12] the discussion is on the accuracy and precision of the filter co-efficient and effects on the frequency response. The Interval size approach is used to analyse the order of the filter and frequency response. In [13], [14], an extended interval Kalman filters used to estimate the values related to localization and mapping. Interval Kalman filter obtains the bounds on the estimated value. The actual estimates are computed at each time step, which is the weighted average. The system instability can be controlled by this trained method and can be used for tracking missions [15], [16]. Interval analysis based global optimization methods are also used to determine the coefficients of McClellan transformation and 1-D filter [17], [18]. The feasibility of interval analysis method is used to verify 2-D fan filters correctness. In [19], the IIR filter is designed by using interval optimization methods, which will increase the accuracy of the design of higher-order filters. The optimally bounded Kalman filter is designed in [20], and is used in the uncertainties of sensor inputs in terms of observations and noises. System identification for unmanned marine vehicles is designed by using IA, so that the problem of accurate estimation is solved by intervals instead if real values [21], [22]. The system is bounded under parameter uncertainties so that the gain matrix and its co-variance matrix is optimized to give minimal error boundary [23], [24]. The state estimation problems are solved by using interval analysis based optimization algorithms. It is observed that the bound of IA encloses all types of solutions, with respect to the primitive Kalman filter. In [25], [26], the constrained optimization method is used to solve uncertain matrices. The differential evolution algorithm is used in this method. It is used to solve the uncertainties in structural optimization problems. The effectiveness of the method is pre-sented in mechanical engineering applications. In [18], [27], the drawback of extended Kalman filter, applied to nonlinear GPS/IMU system with huge uncertainties is resolved by using interval Kalman filter. In [28], [29], the calculations related to interval matrices, such as, inverse of a interval matrix, symmetric interval matrix, eigenvalue, eigenvalue bounds is discussed. The filtering method is proposed, which iteratively improves the approximation. The article [30], an appropriate dynamic filter for computational geometry is discussed. Many floating point based adaptive filters are also proposed and are applied to active noise cancellation of indoor acoustics, snore signal cancellation, wireless telephony and hand held telephony etc. Speech signal analysis and synthesis model for full-band

harmonic model is proposed in [31]. II. ACTIVE NOISE CANCELLATION OF SNORE SIGNALIn order to suppress the snore signal, active noise cancellation (ANC) system can be used. This is an effective way to reduce the low frequency snoring noise by using destructive interference (i.e. by superimposing 1800 phase shifted signal) as shown in Figure 1.

Figure.1 Principal of operation for a ANC system.

In order to develop an algorithm for snore cancellation, it is important to examine the power spectrum of the snoring signals and also the frequency domain characteristics of all kinds of snore signals. In the literature [39], the power spectrum of the snoring signal is studied. Snore signals of men, women and kids are analyzed. It is observed that the major power content is below 2500Hz and the main frequency band lies from 150Hz to 1500Hz. In [1], [3] the snore signals of men, women and children of all age groups are collected. These samples are used for experimentation. A typical snore signal is as shown in Figure 2, which includes inspiration and expiration. Figure 3 shows the 3D view of snore signal spectrum, which shows non stationary characteristic.

Figure. 2. Typical snore signal showing inspiration and expiration

Figure. 3. 3D View of snore spectra as a function of time and frequency showing non-stationary characteristics

  1. CONVENTIONAL FLOATING POINT FILTERS TO INTERVAL ADAPTIVE FILTERSBasically IA deals with intervals (inmum, supremum) of real number instead of real number themselves [40]. The real number number [x]=[xl, xu] is dened in the closed subset of real number R where x represents the lower bound (inmum), x repesents the upper bound (supremum). The center or the mid-point is dened by mid([x])=[xl+xu]/2 and the width of an interval is dened by wid([x])=[xl – xu]/2. For any interval numbers, the basic elementary operations (+,-, *, /) is denoted by [x] [y] = {} The basic operations

    of interval arithmetic are, for two intervals a = [al, au] and bI

    = [bl, bu] that are subsets of the real line ( -, ).

    1. [al, au] + [bl, bu] = [al+ bl, al + bu]
    2. [al, au] [bl, bu] = [al bu, au bl]
    3. [al, au] [bl, bu] = [min(al bl, al bu, ai bu, al bu), max(al bu, al bu, al bu, al bu)]
    4. [al, au]/[bl, bu] = (al ÷ bu, al ÷ bu) when 0 / [b, b]
  2. PROBLEM FORMULATIONFigure 4. System model of IAF used for masking snore signalThe system model of multi-channel (J*M*K) adaptive lter is as shown in Figure 4 [33]. J denotes reference microphones, K denotes secondary sources and M denotes error microphones for picking error signals. The signal from the microphone J can be shown as,

    where xj(n)T is the jth reference signal of length L. The secondary microphones have K channels,

    y(n) = [y1 (n), y2 (n), …yK (n L + 1)]T ,—– (2)

    where yk (n) is the signal of kth output channel at n. The error signals have M channels and can be represented as

    e(n) = [e1 (n), e2 (n), …eM (n L + 1)]T , ——(3)

    The nonlinear function used in interval adaptive lter is given as shown in figure 5.

    Figure. 5. Non-linear function used in interval adaptive lters

    where d is the threshold value. The samples below this value can be neglected, which reduces the computational complexity. This can be adjusted according to the variance of input signal. The interval weights are updated by using the equation, Updated weight co coefcients are calculated using equation 9. In this algorithm with a interval step size the optimal weights of the system are identied which reduces the MSE. The proposed algorithm is compared with existing algorithms, like VSS-LMS, NLMS, FxLMS etc. The pseducode of interval adaptive lter is shown in algorithm 2.

      1. Comparison of computational complexity and performance parameters:

    In the IAF algorithm, the computational complexity is very high as summarized in table I. The memory requirement per

    iteration is also doubled as interval analysis consists of two values.

    TABLE I COMPARISON OF COMPLEXITY OF

    Algorithm mul/div add/sub memory consumption
    LMS 3N + 2 2N 4N
    NLMS 3N + 2 3N 6N
    V SSLMS 4N + 2 3N + 4 8N
    IAF 4(N 2 + 4N + 1) 6(2N 2 + N ) 32N
    Algorithm mul/div add/sub memory consumption
    LMS 3N + 2 2N 4N
    NLMS 3N + 2 3N 6N
    V SSLMS 4N + 2 3N + 4 8N
    IAF 4(N 2 + 4N + 1) 6(2N 2 + N ) 32N

     

    LMS, NLMS, VSS LMS AND IAF ALGORITHMS

  3. RESULT AND DISCUSSIONIn order to test the performance of the algorithm the test database is taken from [1], [3]. The different types of snore signals of a child, men and women of different variance are selected. The comparison is done with the least mean square, normalized least mean square and variable step size LMS algorithm. The dimension of ANC system was assumed to be 1*2*2. The output signal y0 (n) and the masked snore signal (error) e(n), are plotted in time and frequency domain, as shown in figure 6 and 7. Mid values are used to plot the graphs. is set to 103 , lter tap weight=128, and µI = [0.1, 0.4]. It is observed that when active noise cancellation is on, the system effectively reduces the snore signal. Also the algorithm was simulated for single tone frequency sine wave and combination of frequencies as input signals. The different types sine wave and its combinations are generated. The µI is also varied to test the convergence speed. In the table II, the average snore signal reduction is given for frequencies ranging from 50Hz to 1500Hz. It is observed that average input power is 26.16dB and in the secondary path average power is 24.87dB is achieved. Finally it is noted that, output at the error microphone was 1.8dB. The reduction in power depends on the location of the primary and secondary microphones in real time applications.TABLE II

    NOISE POWER REDUCTION IN DB FOR SINGLE TONE FREQUENCIES

    Power in dB
    Frequency (Hz) Input signal power Secondary path Y(n) Error
    50 9 8 1
    100 20 18.2 1.8
    200 42 39 3
    300 51 48 3
    400 45 43 2
    500 31 29 2
    600 28 26.5 1.5
    700 15 12.4 2.6
    800 10 9.6 0.4
    900 6 5 1
    1000 27 25 2
    1500 30 28 2
    26.1666 24.8 1.8

    Later, with several real time snore signals the algorithm was tested. The spectra of error signal with ANC on and off are plotted in Figure 8. It is observed that average noise reduction of 15dB to 13dB is achieved. The variation error in time and the spectra of sample test signal is plotted in Figure 6. In the table III, the average reduction of snore signals (men, women, kid) for various algorithms is given. It is observed that IAF

    Figure 6. Snore signal cancellation of IAF algorithm: (upper) Time domain waveform of input snore signal and the output error. (Lower) The spectrum of input and the error signal

    Figure. 7. Snore signal cancellation of IAF algorithm: (upper) Time domain waveform of input snore signal and the output error. (Lower) The spectrum of input and the error signal

    TABLE III

    COMPARISON OF AVERAGE MSE WHEN ANC IS ON, FOR DIFFERENT ALGORITHMS

    Average MSE (dB) when ANC is on
    LMS 4.6
    NLMS 3.9
    V SS/LMS 2.8
    IAF 1.38

    gives better performance compared to other algorithms. The weight vectors are calculated using different algorithms and variation of error is plotted in Figure 9. It is illustrated that the IAF gives the minimum error by choosing the optimal weights. The average mean square error for twenty different snore signals of men, women and kid versus different µ values are plotted in Figure 10. It is observed that the optimal

    µ value can be selected depending on the MSE threshold value.

    Fig. 9. Figure 8 :Frequency domain plot of snore signal with ANC on and ANC off

    Figure 9. The weight vectorscalculated using LMS, IAF, VSS LMS, NLMS

    the IAF gives the minimum error by choosing the optimal weights. The average mean square error for twenty different snore signals of men, women and kid versus different µ values are plotted in Figure 11. It is observed that the optimal µ value can be selected depending on the MSE threshold value.

    Figure 10. Plot of average (20 test signals) MSE and µ for different types of snoring signals

  4. CONCLUSION

In this paper, the snore signal cancellation using interval ANC is proposed. The algorithm is replacing the calculation of inverse of a matrix with the auto correlation matrix in frequency domain. Using interval analysis the bounds of weight vectors are calculated. The performance of IAF is compared with several other algorithms. The proposed algorithm shows better masking of snore signal with lower mean square error at the ANC output (1.38dB). But the computational complexity and memory consumption is increased four times, as interval values have bounds. The computer simulation shows that this can be used in real time applications for masking sound signals. In future work, The real time experiments can be done using multiple microphone setup. In order to decrease the computational time, GPU processors can be used. Audio integration like river stream and nature sounds can be added so that the residual signal is also masked.

REFERENCES

  1. S. sounds, Available online, 2009 (accessed February 3, 2019). [Online]. Available: https://www.soundsnap.com/tags/snoring
  2. Breathing and S. S. Effects, Available online, 2009 (accessed Januvary 3, 2018). [Online]. Available: https://www.soundsnap.com/tags/snoring
  3. A. S. of a Man Snoring, Available online, 2009 (accessed February 4, 2019). [Online]. Available: https://www.fesliyanstudios. /royalty- free- sound-eects- download/people-snoring- 189
  4. A. Akkas, A combined interval and oating point comparator/selector, Proceedings of the 13th IEEE Conference of Application Specic Architectures and Processors (ASAP), 2002.
  5. T. J. Hickey, Analytic constraint solving and interval arithmetic, Proceedings of the 27th Annual ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, Jan. 2000.
  6. J. Bruguera and T. Lang, Leading one prediction with concurrent position correction, IEEE Trans. Computers, vol. 48, no. 10, 1999.
  7. D. Goldberg, What every computer scientist should know about oating point arithmetic, ACM Computing Surveys, vol. 32, no. 1, 1991.
  8. S. S. V. Gorshtein, A. Grushin, Floating point addition methods and apparatus us patent no. 5808926, Sun Microsystems, 1998.
  9. U. Kulisch, Advanced arithmetic for the digital computers, Springer, 2002.
  10. S. Oberman, Floating point arithmetic unit including an efcient close data path, US Patent No. 6094668,AMD, 2000.
  11. E. H. G. Walster, Termination criteria for the interval version of newtons method for solving systems of non-linear equations, US Patent No.6920472 Sun Microsystems, no. 2005, 2006.
  12. V. Borges, E. G. Nepomuceno, A. V. Tutueva, A. I. Karimov, C. Duque, and T. I. Karimov, Analysis of iir lters by interval response, in 2020 Moscow Workshop on Electronic and Networking Technologies (MWENT), March 2020, pp. 15.
  13. J. Luo and S. Qin, A fast algorithm of slam based on combinatorial interval lters, IEEE Access, vol. 6, pp. 28 17428 192, 2018.
  14. G. Nassreddine, F. Abdallah, and T. Denoux, State estimation using interval analysis and belief-function theory: Application to dynamic vehicle localization, IEEE Transactions on Systems, Man, and Cyber- netics, Part B (Cybernetics), vol. 40, no. 5, pp. 12051218, Oct 2010.
  15. A. Motwani, S. Sharma, R. Sutton, and P. Culverhouse, Computation of stable interval kalman lter bounds for their use in robust state estimation for an uninhabited surface vehicle with bounded indeterminate system dynamics, in 2014 IEEE Intelligent Vehicles Symposium Proceedings, June 2014, pp. 356361.
  16. L. Zhao and Z. He, An in-coordinate interval adaptive kalman ltering algorithm for ins/gps/smns, in IEEE 10th International Conference on Industrial Informatics, July 2012, pp. 4144.
  17. Y. Wang, J. Yue, Y. Su, and H. Liu, Design of two-dimensional zerophase r digital lter by mcclellan transformation and intervalglobal optimization, IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 60, no. 3, pp. 167171, March 2013.
  18. Guanrong Chen, Jianrong Wang, and L. S. Shieh, Interval kalman ltering, IEEE Transactions on Aerospace and Electronic Systems, vol. 33, no. 1, pp. 250259, Jan 1997.
  19. M. Vucic, G. Molnar, and T. Zgaljic, Design of r lters based on interval analysis, in The 33rd International Convention MIPRO, May 2010, pp. 171176.
  20. Q. Lu, S. Fergani, C. Jauberthie, and F. Le Gall, Optimally bounded interval kalman lter, in 2019 IEEE 58th Conference on Decision and Control (CDC), Dec 2019, pp. 379384.
  21. S. K. Das, V. Kumar, D. Pal, K. Banerjee, and C. Mazumdar, System identication for unmanned marine vehicles using interval analysis, in OCEANS 2014 – TAIPEI, April 2014, pp. 18.
  22. X. Long, D. Mao, C. Jiang, F. Wei, and G. Li, Unied uncertainty analysis under probabilistic, evidence, fuzzy and interval uncertainties, Computer Methods in Applied Mechanics and Engineering, vol. 355, pp. 1 26, 2019. [Online]. Available: http://www.sciencedirect.com/ science/article/pii/S0045782519303111
  23. T. A. Tran, C. Jauberthie, F. L. Gall, and L. Trav´ e-Massuyes, Interval kalman lter enhanced by positive denite upper bounds, IFAC-PapersOnLine, vol. 50, no. 1, pp. 1595 1600, 2017, 20th IFAC World Congress. [Online]. Available: http://www.sciencedirect.com/science/article/pii/S240589631730640 7
  24. T. T. Anh, F. L. Gall, C. Jauberthie, and L. Trav´ e-Massuy` es, twostochastic lters and their interval extensions, IFAC-Papers On Line,vol. 49, no. 5, pp. 49 54, 2016, 4th IFAC Conference on IntelligentControl and Automation SciencesICONS 2016. [Online].Available:http://www.sciencedirect.com/science/article/pii/ S2405896316302841
  25. C. Fu, Y. Liu, and Z. Xiao, Interval differential evolution with dimension-reduction interval analysis method for uncertain optimization problems, Applied Mathematical Modelling, vol. 69, pp. 441 452, 2019. [Online]. Available: http://www.sciencedirect.com/science/article/pii/S0307904X183063 58
  26. C. Wang and H. G. Matthies, A comparative study of two interval- random models for hybrid uncertainty propagation analysis, Mechanical Systems and Signal Processing, vol. 136, p. 106531, 2020. [Online]. Available: http://www.sciencedirect.com/science/article/ii/S0888327019307526
  27. X. He, Y. Le, and W. Xiao, Mems imu and two-antenna gps integration navigation system using interval adaptive kalman lter, IEEE Aerospace and Electronic Systems Magazine, vol. 28, no. 10, pp. 2228, Oct 2013.
  28. M. Hladik, D. Daney, and E. Tsigaridas, A ltering method for the interval eigenvalue problem, Applied Mathematics and Computation, vol. 217, no. 12, pp. 5236 5242, 2011. [Online]. Available:http://www.sciencedirect.com/science/article/pii/S009630 0310010702
  29. T. Anh, F. Le Gall, C. Jauberthie, and L. Trave-Massuyes, two stochastic lters and their interval extensions, 06 2016.
  30. H. Bronnimann, C. Burnikel, and S. Pion, Interval arithmetic yields efcient dynamic lters for computational geometry, Discrete Applied Mathematics, vol. 109, pp. 2547, 06 1998.
  31. G. Degottex and Y. Stylianou, Analysis and synthesis of speech using an adaptive full-band harmonic model, IEEE Transactions on Audio, Speech and Language Processing, vol. 21, pp. 20852095, 10 2013.
  32. S. M. Kuo and R. Gireddy, Real-time experiment of snoreactive noise control, in 2007 IEEE International Conference on Control Applications, Oct 2007, pp. 13421346.
  33. L. Liu, K. R. Pottim, and S. M. Kuo, Ear eld adaptive noise control for snoring: an real-time experimental approach, IEEE/CAA Journal of Automatica Sinica, vol. 6, no. 1, pp. 158166, January 2019.
  34. R. K. Yenduri, S. R. Chakravarthy, and S. M. Kuo, Quiet comfort beds with electronic noise reduction system, in 2006 IEEE International Conference on Industrial Technology, Dec 2006, pp. 25932597.
  35. G. Saxena, S. Ganesan, and M. Das, Real time implementation of adaptive noise cancellation, in 2008 IEEE International Conference on Electro/Information Technology, May 2008, pp. 431436.
  36. A. O. A. Noor, S. A. Samad, and A. Hussain, Noise cancellation in speech using optimized subband adaptive ltering, in 2009 IEEE Student Conference on Research and Development (SCOReD), Nov 2009, pp. 266268.
  37. A. N. Untwale and K. S. Degaonkar, Survey on noise cancellation techniques of speech signal by adaptive ltering, in 2015 International Conference on Pervasive Computing (ICPC), Jan 2015, pp. 14.
  38. R. Vijayaraghavan, N. R. Raajan, P. Sowmiya, A. Ragavi, R. Manoorubini, and T. Anbu Selvi, Inhibition of acoustic noise using an adaptive lms lter, in 2014 International Conference on Advances in Electrical Engineering (ICAEE), Jan 2014, pp. 14.
  39. Kamasak, Spectral envelope analysis of snoring signals, Proceedings of the 6th IASTED International Conference on Biomedical Engineering, BioMED 2008, pp. 473477, 02 2008.
  40. Rajashekar B. Shettar Sofiya Kandi, Soumya S. Patil, A Survey of Adaptive Filter Algorithms Used for Noise Cancellation Application International Journal of Engineering and Technology 8, 1.8, 215- 219,2018

Leave a Reply