eecs0712 adaptive signal processing 2 introduction to ...€¦ · eecs0712 adaptive signal...
TRANSCRIPT
EECS0712 Adaptive Signal Processing
2
Introduction to Adaptive Signal Processing (II)
Assoc. Prof. Dr. Peerapol Yuvapoositanon
Dept. of Electronic Engineering
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-1
Content
• Digital Filters
• Overview of Adaptive Signal Processing Applications
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-2
Digital Filters
• Digital Filters is a digital device adjusting frequency and magnitude
• There are two types of Finite Impulse Response (FIR) and Infinite Impulse Response (IIR)
– FIR has no feedback
– IIR has feedback
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-3
• An FIR filter has no feedback
Finite Impulse Response (FIR)
DelayDelay
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-4
Infinite Impulse Response (IIR)
• An IIR filter has feedback
FeedbackFeedback
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-5
Transfer Function I
• Transfer function= A ratio of z-transform
• Z-Transform
z -Transform
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-6
Transfer Function
• Transfer function
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-7
Use z-Transform to find Frequency Response
• Replace z with ,
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-8
Frequency Response from Poles and Zeros
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-9
Zk= Zeros
Pk= Poles
Magni tude of
response at omega
Example
Example for Frequency Response
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-10
Example for Frequency Response
• Put together
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-11
To Summarise…
The coefficients of a Digital Filter determine the desired
frequency response.
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-12
Overview of Adaptive
Signal Processing
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-13
Why we need adaptive?
• Because environment is always changing.
• System needs to be adaptable.
• In electrical engineering, the environment is systems defined by transfer function.
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-14
Multipath in Wireless Communications
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-15
• Signal from transmitter may reach receiver with multipath signals
Multipath
Channel Equalisation
11 00 11 00
11 00 11..33
..66
Without multipath
With multipath
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon 16
Channel
Loss of Info.
Frequency fading channel
• Multipath Channel is also called Frequency fading channel
ff tt
Fourier Transform
ff tt
H(f)=1
H(f)
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-17
Without multipath
With multipath
Fading
Channel Equalization
11 00 11 00
11 00
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon 18
Channel
ff
ff
H(z)=1
H(z) 11..33
..66
Basic Equalization II
• If we knew the channel H(z), we put a filter W(z) at the receiver
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon 19
Channel Digital
Filter
H(z)
xx 11 00 11 00
11..33
..66
W(z)
H(z) x W(z) = 1
Basic Equalization III
• Equaliser is an inverse channel estimation
Channel Equalizer
H(z) W(z)=1/H(z)
xx
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-20
11 00 11 00
11..33
..66
W(z)= H-1(z)
Basic Equalization II
• Adaptive Equaliser finds H-1(z) automatically
Channel Adaptive
Equalizer
H(z)
xx
++ ee
dd
yy ++
-- xx
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-21
11 00 ..66
11..33
LMS Adaptive Algorithm
• error= d-y New value = Old Value + Step * Error* Input
w(n)=w(n-1) + mu*e(n)*x(n)
For n=1:N
end
e(n)= d(n)-y(n)
AlgorithmAlgorithm
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-22
To Summarise…
The coefficients of Adaptive Equaliser are adapted to the
inverse channel H-1(z).
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-23
LMS Algorithm Block
• บล็อก LMS
Normalization
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-24
Example of Adaptive Equalization
• Least Mean Square (LMS) for Adaptive Equalizer
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-25
Signal+Noise, Signal and Error2
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-26
Trend of Error2
Equalizer Response
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-27
Final Tap weights
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-28
• Anti phase =Cancellation
Basic of Noise Cancellation
FeedbackFeedback ANCANC
NoiseNoise Pilot MicPilot Mic
LoudspeakerLoudspeaker
Quiet zone Quiet zone
nn
nn --nn
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-29
Active Noise Cancellation Headphones
• ANC Headphones
LXLX--18 18 Active Noise Cancelling HeadphonesActive Noise Cancelling Headphones
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-30
Diagram of Active Noise Cancellation Headphones
H(z)H(z)
nn nn
yy
11 22
33
H(z) =Acoustic Transfer Function
Ext.MicExt.Mic
Pilot Mic Quiet Zone
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon 31
Speaker
DSP Adaptive Algorithm
ANC
LoudspeakerLoudspeaker
AlgorithmAlgorithm
++
Exterior MicExterior Mic
ee
yy nn
Pilot MicPilot Mic
nn
ANCANC
FIRFIR
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-32
ANC Simulink Model
• Dspanc_win32.mdl
EECS0712 Adaptive Signal Processing http://embedsigproc.wordpress.com/eecs0712
Assoc. Prof. Dr. P.Yuvapoositanon ASP2-33