1. Noise Cancellation
LMS Adaptive Filter
Ashish Kumar Meshram
Roll No. mt1402102002
M.Tech. Communication & Signal Processing
Department of Electrical Engineering
IIT – Indore | EE641 | Advance Signal Processing
2. IIT – Indore | EE641 | Advance Signal Processing 1
Content
Introduction
Noise Cancellation
Adaptive Signal Processing
Least Mean Square Algorithm
Implementation
Results
Conclusion
5. IIT – Indore | EE641 | Advance Signal Processing 4
MATLAB Implementation
function [v1 v2] = corrnoise(g,a,b)Correlated Noise Generator
function [e] = anc(x,mu,M,w)Adaptive Noise Cancellation Using LMS
function [W,e] = aflms(d,u,mu,M,w)LMS Adaptive Filter
𝑣1 𝑛 = 𝑎1 𝑣1 𝑛 − 1 + 𝑏1 𝑔(𝑛)
𝑣2 𝑛 = 𝑎2 𝑣2 𝑛 − 1 + 𝑏2 𝑔(𝑛)
𝑔 𝑛 = 𝑁(0,1)
x
Mu
M
w
Signal to be processed
Step Size
Number of tap weight
Initial tap weight
INPUT:
e Noise Cancelled Signal
OUTPUT:
d
u
Mu
M
w
Signal to be processed
Reference Signal
Step Size
Number of tap weight
Initial tap weight
INPUT:
e
W
Noise Cancelled Signal
Weight Matrix
OUTPUT:
6. IIT – Indore | EE641 | Advance Signal Processing 5
Results
M = 32, mu = 0.05 M = 32, mu = 0.005
[E] = anc(sin(linspace(0,4*pi,100)),0.05,32,[]); [E] = anc(sin(linspace(0,4*pi,100)),0.005,32,[]);
7. IIT – Indore | EE641 | Advance Signal Processing 6
References
Simon Haykin, Adaptive Filter Theory, 3e
Monson H Hayes, Statistical Digital Signal Processing and Modeling
Ali H. Sayed, Adaptive Filters