SlideShare a Scribd company logo
1 of 26
Special Assignment- 3EC2102 Adaptive Signal Processing




                                              Chintan A. Joshi
Index
• Echo
• Acoustic Echo
   – Seriousness
   – Acoustic Room Impulse Response
• Acoustic Echo Cancellation
   – Block diagram
   – General procedure
• Adaptive Echo Cancellation Algorithms
   –   LMS
   –   NLMS
   –   RLS
   –   APA
   –   FAP
   –   VSS-APA
Echo
• Velocity of sound is approximately 343 m/s at
  25°C
• Echo occur if
  – Any reflecting object placed more than 11.3 m far
    from the sound source produce echo
  – Delay is more then 32.94 msec
• Reverberation.
Acoustic Echo
• Sound from a loudspeaker is picked up by the
  microphone in the same room

• Problem exists in any communications where
  there is a speaker and a microphone

• Examples:
  – Hands-free car phone systems
  – A standard telephone or cellphone in speakerphone
  – Physical coupling (vibrations of the loudspeaker
    transfer to the microphone via the handset casing)
Acoustic Echo

 Loudspeaker




                       Reflections

 Direct
Coupling




 Microphone
Seriousness of AE compared to
      network echo in telephony

• Long delay

• The echo path may change according
  movement of microphone

• The background noise can be strong and non-
  stationary
Acoustic Room Impulse Response

                                               Direct Sound




                                                                                   Reflections




                           Figure: Impulse Response of Room *
*http://upload.wikimedia.org/wikipedia/commons/thumb/42/b45/Acoustic_room_imp_resp.svg/
Acoustic Echo Canceller



                   System

Adaptive
                           y(n)
Algorithm
                   -
                       Σ
            e(n)                  d(n)
                              +
General AEC procedure
• A far-end signal is delivered to acoustic feedback
  synthesizer.
• The far-end signal is reproduced by the speaker
• A microphone picks up the sound
• The far-end signal is filtered and delayed.
• The filtered far-end signal is subtracted from the
  near-end signal.
• The resultant signal should not contain any direct
  or reverberated sound produced by the speaker.
Requirements
• Fast convergence of adaptive filter

• Stable convergence

• No performance degradation for the real
  speech signal
Echo Cancellation Algorithms
•   LMS
•   NLMS
•   RLS
•   APA (Affine Projection Algorithm)
•   FAP (Fast Affine Projection)
•   VSS-APA(Variable Step Size APA)
LMS Algorithm
• Most popular adaptation algorithm is LMS
  – Define cost function as mean-squared error
• Simple, no matrices calculation involved in the
  adaptation
• Based on the method of steepest descent
• Move towards the minimum on the error
  surface to get to minimum gradient of the error
  surface estimated at every iteration
LMS Algorithm cont..

                                    d(n)

                             Y(n)
Wk(n)   Transversal Filter



                                    e(n)

              C(n)


             LMS
           Algorithm
LMS Algorithm cont..

                                    M 1
                                                    *
• Filter output =          yn             un     k wk n
                                    k 0

• Estimation error =           en       dn     yn

• Tap-weight adaptation =
   wk n         1       wk n               un         k e* n

upda tev a lue      o ld v a lue          le a rning
                                                   -    ta p
                                                                   e rro r
o f ta p- we igth   o f ta p- we ight     ra te         input
                                                                   s igna l
v e c to r          v e c to r            pa ra me te r v e c to r
LMS Algorithm cont..
Affine Projection Algorithm(APA)
• Affine:
  – Type of geometric transformation:
     • A geometric transformation that maps points and
       parallel lines to points and parallel lines


• Derived From NLMS
• Using lagrange multipliers with multiple
  weighting factors
Affine Projection Algorithm cont..




    S=linear subspace       s’=affine subspace


                                     Figure : Affine Projection*

*http://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Affine_subspace.svg/500px-Affine_subspace.svg.png
Affine Projection Algorithm cont..
Affine Projection Algorithm cont..
• Fast Convergence compared to NLMS in
  acoustic environment
• But computational complexity also increases
• Inverse of correlation matrix is required
• Fast Affine Projection (FAP) has been
  proposed by S. L. gay and tavathia in 1995
Fast Affine Projection * (FAP) cont..

     – LMS like low complexity and memory
       requirements
     – RLS like fast convergence
     – Computationally efficient then APA
• uses a sliding windowed FRLS to assist in a
  recursive calculation of the solution.


*S. L. Gay and S. Tavathia, “The fast affine projection algorithm,” in Proc. 1995 IEEE Int. Conf. Acoust.,
Speech, Signal Process. (ICASSP), Detroit, MI, May 1995, vol. 5, pp. 3023–3026.
Fast Affine Projection (FAP) cont..
• When input is speech signals, FAP converges
  rapidly compared to other algorithms




Figure : Comparison of FAP for different orders of projection, N, with speech excitation
Variable Step Size APA*




                             Figure: AEC Configuration

* Constantin Paleologu,, Jacob Benesty at al. ” A Variable Step-Size Affine Projection Algorithm Designed for
Acoustic Echo Cancellation”, IEEE Transactions on audio, speech, and language processing, vol. 16, no. 8,
november 2008
Variable Step Size APA cont..
• Different step size for three different scenario
  – Single talk
     • Background noise only w(n)
  – Double talk
     • Background noise w(n) and near end speech u(n)
  – Under-Modeling
     • Echo caused by the part of the system that cannot be
       modeled
Variable Step Size APA cont..




simulation result: comparison between APA, the robust proportionate APA(R-PAPA ) and
                                      VSS-APA
Conclusion
• Acoustic Echo is a type of interference in
  voice communication
• To eliminate it, best method is Adaptive filters
• Different kinds of algorithms
  – Fast = RLS, FAP
  – More efficient = VSS-APA
  – Choose according to requirements
Thank You

More Related Content

What's hot

Channel Equalisation
Channel EqualisationChannel Equalisation
Channel Equalisation
Poonan Sahoo
 

What's hot (20)

Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless Communication
 
SMART TRAFFIC CONTROL
SMART TRAFFIC CONTROLSMART TRAFFIC CONTROL
SMART TRAFFIC CONTROL
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Ec 2401 wireless communication unit 2
Ec 2401 wireless communication   unit 2Ec 2401 wireless communication   unit 2
Ec 2401 wireless communication unit 2
 
2.6 cellular concepts - frequency reusing, channel assignment
2.6   cellular concepts - frequency reusing, channel assignment2.6   cellular concepts - frequency reusing, channel assignment
2.6 cellular concepts - frequency reusing, channel assignment
 
IBOC Technology for HD Radio
IBOC Technology for HD RadioIBOC Technology for HD Radio
IBOC Technology for HD Radio
 
Microwave Phase shifter
Microwave Phase shifterMicrowave Phase shifter
Microwave Phase shifter
 
Helical antenna
Helical antennaHelical antenna
Helical antenna
 
Channel Equalisation
Channel EqualisationChannel Equalisation
Channel Equalisation
 
FUNDAMENTAL PARAMETERS OF ANTENNA
FUNDAMENTAL PARAMETERS OF ANTENNAFUNDAMENTAL PARAMETERS OF ANTENNA
FUNDAMENTAL PARAMETERS OF ANTENNA
 
Photo detector noise
Photo detector noisePhoto detector noise
Photo detector noise
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital Receiver
 
Spread spectrum
Spread spectrumSpread spectrum
Spread spectrum
 
IOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGIOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORING
 
Propagation mechanisms
Propagation mechanismsPropagation mechanisms
Propagation mechanisms
 
Cognitive Radio
Cognitive RadioCognitive Radio
Cognitive Radio
 
Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalization
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Presentation on CDMA
Presentation on CDMAPresentation on CDMA
Presentation on CDMA
 
Software defined radio
Software defined radioSoftware defined radio
Software defined radio
 

Similar to Acoustic echo cancellation

Active noise control
Active noise controlActive noise control
Active noise control
Rishikesh .
 
Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPC
Disha Modi
 

Similar to Acoustic echo cancellation (20)

Laboratory Duct Active noise control using Adaptive Filters
Laboratory Duct Active noise control using Adaptive Filters Laboratory Duct Active noise control using Adaptive Filters
Laboratory Duct Active noise control using Adaptive Filters
 
Active noise control
Active noise controlActive noise control
Active noise control
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital Filters
 
Radar 2009 a 11 waveforms and pulse compression
Radar 2009 a 11 waveforms and pulse compressionRadar 2009 a 11 waveforms and pulse compression
Radar 2009 a 11 waveforms and pulse compression
 
"Speech recognition" - Hidden Markov Models @ Papers We Love Bucharest
"Speech recognition" - Hidden Markov Models @ Papers We Love Bucharest"Speech recognition" - Hidden Markov Models @ Papers We Love Bucharest
"Speech recognition" - Hidden Markov Models @ Papers We Love Bucharest
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.ppt
 
frogcelsat
frogcelsatfrogcelsat
frogcelsat
 
Lecture_1 (1).pptx
Lecture_1 (1).pptxLecture_1 (1).pptx
Lecture_1 (1).pptx
 
Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPC
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptx
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptx
 
Compressed Sensing - Achuta Kadambi
Compressed Sensing - Achuta KadambiCompressed Sensing - Achuta Kadambi
Compressed Sensing - Achuta Kadambi
 
Howling noise control in public address systems
Howling noise control in public address systemsHowling noise control in public address systems
Howling noise control in public address systems
 
Comparison of Single Carrier and Multi-carrier.ppt
Comparison of Single Carrier and Multi-carrier.pptComparison of Single Carrier and Multi-carrier.ppt
Comparison of Single Carrier and Multi-carrier.ppt
 
Speaker Dependent WaveNet Vocoder
Speaker Dependent WaveNet VocoderSpeaker Dependent WaveNet Vocoder
Speaker Dependent WaveNet Vocoder
 
Lec11.ppt
Lec11.pptLec11.ppt
Lec11.ppt
 
SignalDecompositionTheory.pptx
SignalDecompositionTheory.pptxSignalDecompositionTheory.pptx
SignalDecompositionTheory.pptx
 
Sampling
SamplingSampling
Sampling
 
Speech Signal Processing
Speech Signal ProcessingSpeech Signal Processing
Speech Signal Processing
 
23 Sampling.pdf
23 Sampling.pdf23 Sampling.pdf
23 Sampling.pdf
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Acoustic echo cancellation

  • 1. Special Assignment- 3EC2102 Adaptive Signal Processing Chintan A. Joshi
  • 2. Index • Echo • Acoustic Echo – Seriousness – Acoustic Room Impulse Response • Acoustic Echo Cancellation – Block diagram – General procedure • Adaptive Echo Cancellation Algorithms – LMS – NLMS – RLS – APA – FAP – VSS-APA
  • 3. Echo • Velocity of sound is approximately 343 m/s at 25°C • Echo occur if – Any reflecting object placed more than 11.3 m far from the sound source produce echo – Delay is more then 32.94 msec • Reverberation.
  • 4. Acoustic Echo • Sound from a loudspeaker is picked up by the microphone in the same room • Problem exists in any communications where there is a speaker and a microphone • Examples: – Hands-free car phone systems – A standard telephone or cellphone in speakerphone – Physical coupling (vibrations of the loudspeaker transfer to the microphone via the handset casing)
  • 5. Acoustic Echo Loudspeaker Reflections Direct Coupling Microphone
  • 6. Seriousness of AE compared to network echo in telephony • Long delay • The echo path may change according movement of microphone • The background noise can be strong and non- stationary
  • 7. Acoustic Room Impulse Response Direct Sound Reflections Figure: Impulse Response of Room * *http://upload.wikimedia.org/wikipedia/commons/thumb/42/b45/Acoustic_room_imp_resp.svg/
  • 8. Acoustic Echo Canceller System Adaptive y(n) Algorithm - Σ e(n) d(n) +
  • 9. General AEC procedure • A far-end signal is delivered to acoustic feedback synthesizer. • The far-end signal is reproduced by the speaker • A microphone picks up the sound • The far-end signal is filtered and delayed. • The filtered far-end signal is subtracted from the near-end signal. • The resultant signal should not contain any direct or reverberated sound produced by the speaker.
  • 10. Requirements • Fast convergence of adaptive filter • Stable convergence • No performance degradation for the real speech signal
  • 11. Echo Cancellation Algorithms • LMS • NLMS • RLS • APA (Affine Projection Algorithm) • FAP (Fast Affine Projection) • VSS-APA(Variable Step Size APA)
  • 12. LMS Algorithm • Most popular adaptation algorithm is LMS – Define cost function as mean-squared error • Simple, no matrices calculation involved in the adaptation • Based on the method of steepest descent • Move towards the minimum on the error surface to get to minimum gradient of the error surface estimated at every iteration
  • 13. LMS Algorithm cont.. d(n) Y(n) Wk(n) Transversal Filter e(n) C(n) LMS Algorithm
  • 14. LMS Algorithm cont.. M 1 * • Filter output = yn un k wk n k 0 • Estimation error = en dn yn • Tap-weight adaptation = wk n 1 wk n un k e* n upda tev a lue o ld v a lue le a rning - ta p e rro r o f ta p- we igth o f ta p- we ight ra te input s igna l v e c to r v e c to r pa ra me te r v e c to r
  • 16. Affine Projection Algorithm(APA) • Affine: – Type of geometric transformation: • A geometric transformation that maps points and parallel lines to points and parallel lines • Derived From NLMS • Using lagrange multipliers with multiple weighting factors
  • 17. Affine Projection Algorithm cont.. S=linear subspace s’=affine subspace Figure : Affine Projection* *http://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Affine_subspace.svg/500px-Affine_subspace.svg.png
  • 19. Affine Projection Algorithm cont.. • Fast Convergence compared to NLMS in acoustic environment • But computational complexity also increases • Inverse of correlation matrix is required • Fast Affine Projection (FAP) has been proposed by S. L. gay and tavathia in 1995
  • 20. Fast Affine Projection * (FAP) cont.. – LMS like low complexity and memory requirements – RLS like fast convergence – Computationally efficient then APA • uses a sliding windowed FRLS to assist in a recursive calculation of the solution. *S. L. Gay and S. Tavathia, “The fast affine projection algorithm,” in Proc. 1995 IEEE Int. Conf. Acoust., Speech, Signal Process. (ICASSP), Detroit, MI, May 1995, vol. 5, pp. 3023–3026.
  • 21. Fast Affine Projection (FAP) cont.. • When input is speech signals, FAP converges rapidly compared to other algorithms Figure : Comparison of FAP for different orders of projection, N, with speech excitation
  • 22. Variable Step Size APA* Figure: AEC Configuration * Constantin Paleologu,, Jacob Benesty at al. ” A Variable Step-Size Affine Projection Algorithm Designed for Acoustic Echo Cancellation”, IEEE Transactions on audio, speech, and language processing, vol. 16, no. 8, november 2008
  • 23. Variable Step Size APA cont.. • Different step size for three different scenario – Single talk • Background noise only w(n) – Double talk • Background noise w(n) and near end speech u(n) – Under-Modeling • Echo caused by the part of the system that cannot be modeled
  • 24. Variable Step Size APA cont.. simulation result: comparison between APA, the robust proportionate APA(R-PAPA ) and VSS-APA
  • 25. Conclusion • Acoustic Echo is a type of interference in voice communication • To eliminate it, best method is Adaptive filters • Different kinds of algorithms – Fast = RLS, FAP – More efficient = VSS-APA – Choose according to requirements