Top Banner
Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department : Electrical Engineering Supervisor : Raden Supriyanto SSi., SKom., MSc.
21

Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Jan 02, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation

Name : Arum Tri Iswari Purwanti

NPM : 10407165

Department : Electrical Engineering

Supervisor : Raden Supriyanto SSi., SKom., MSc.

Page 2: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

2

CONTENTS

INTRODUCTION

DESIGN AND IMPLEMENTATION

RESULT AND ANALYSIS

CONCLUSION

Page 3: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

INTRODUCTION

Echo from the environment automatically added to the signal. In the real world application like hand-free communication, the echo can make the conversation impossible in the extreme condition.

3

Page 4: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

INTRODUCTION

Acoustic echo occur when an audio signal is reverberated in a real environment, resulting in the original intended signal plus attenuated and delay time.

4

Figure 1.1 Reverberation of the signal

Page 5: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

INTRODUCTION

When the signal is received by a system, its output will come out through the loudspeaker to the free environment.

The signal is reverberated in the environment and back into the system via microphone input.

5

Page 6: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

The method used to cancel the echo signal is known as

6

ADAPTIVE FILTERING

Least Mean Square (LMS)

Algorithm

Normalized Least Mean Square (NLMS) Algorithm

Page 7: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Least Mean Square (LMS) Algorithm

Each iteration of the LMS algorithm requires 3 distinct steps in this order:

Output of the FIR filter, y(n) is calculated using

The value of the error estimation is calculated using

7

Page 8: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Least Mean Square (LMS) Algorithm

The tap weights of the FIR vector are updated in preparation for the next iteration, by

8

Page 9: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Normalized Least Mean Square (NLMS) Algorithm

Each iteration of the NLMS algorithm requires these steps in the following order:

Output of the adaptive filter is calculated.

An error signal is calculated as the difference between the desired signal and the filter output.

9

Page 10: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

Normalized Least Mean Square (NLMS) Algorithm

The step size value for the input vector is calculated.

The filter tap weights are updated in preparation for the next iteration.

10

Page 11: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

The parameters are :

Error Estimation

Mean Square Error (MSE)

Echo Return Loss Enhancement (ERLE)

Attenuation

Accuracy Percentage

11

Page 12: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

The configuration of an Acoustic Echo Cancellation

12

Page 13: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

H(n) the impulse response between loudspeaker and microphone

d(n) the desired signal which is obtained by convolving the input signal with the impulse response of acoustic environment

y(n) the echo replica which is created at the output of the adaptive filter

e(n) error from the different between desired signal and the echo replica, e(n)=d(n)-y(n)

13

Page 14: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

14Figure 1.2 Overall system

Page 15: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

DESIGN AND IMPLEMENTATION

To generate the desired signal, it can be done by convolving between the wav file input and the manipulation of the real impulse response.

To filter the echo, two algorithms (LMS and NLMS) will be compared each other based on their steps.

Each parameter will be calculated to know the better the algorithm between the LMS algorithm and the NLMS algorithm.

15

Page 16: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

RESULT AND ANALYSIS

Based on the parameters :

Error Estimation

16

Page 17: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

RESULT AND ANALYSIS

Mean Square Error (MSE)

17

Page 18: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

RESULT AND ANALYSIS

ERLE, Attenuation, Accuracy Percentage, and Complexity

18

Page 19: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

CONCLUSION

Both algorithms can cancel the echo with its own algorithm.

The NLMS algorithm has so many advantages than the LMS algorithm such as the smaller values of error estimation, MSE, and attenuation and the higher values of ERLE and accuracy percentage.

19

Page 20: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

CONCLUSION

The LMS algorithm also has the advantages such as the smaller value of complexity and better stability.

To implement the algorithm of adaptive filter for echo cancellation, the NLMS algorithm is better than the LMS algorithm

20

Page 21: Design Simulation of adaptive filter algorithm (LMS and NLMS) for acoustic echo cancellation Name : Arum Tri Iswari Purwanti NPM : 10407165 Department.

THANK YOU FOR YOUR ATTENTION

21