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

Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and InterpolationFernando Ojeda
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellationChaitanya S
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)asadkhan1327
 
Concepts of & cell sectoring and micro cell
Concepts of & cell sectoring and micro cellConcepts of & cell sectoring and micro cell
Concepts of & cell sectoring and micro cellKundan Kumar
 
Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationSahar Foroughi
 
Lossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image ProcessingLossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image Processingpriyadharshini murugan
 
Lecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D SignalLecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D SignalVARUN KUMAR
 
Diversity techniques presentation material
Diversity techniques presentation materialDiversity techniques presentation material
Diversity techniques presentation materialNini Lashari
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizerSayahnarahul
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGSnehal Hedau
 

What's hot (20)

Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
 
Dsp lecture vol 7 adaptive filter
Dsp lecture vol 7 adaptive filterDsp lecture vol 7 adaptive filter
Dsp lecture vol 7 adaptive filter
 
SPEECH CODING
SPEECH CODINGSPEECH CODING
SPEECH CODING
 
03 image transform
03 image transform03 image transform
03 image transform
 
Multirate DSP
Multirate DSPMultirate DSP
Multirate DSP
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellation
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)
 
Equalization
EqualizationEqualization
Equalization
 
Concepts of & cell sectoring and micro cell
Concepts of & cell sectoring and micro cellConcepts of & cell sectoring and micro cell
Concepts of & cell sectoring and micro cell
 
Linear Predictive Coding
Linear Predictive CodingLinear Predictive Coding
Linear Predictive Coding
 
Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless Communication
 
FILTER BANKS
FILTER BANKSFILTER BANKS
FILTER BANKS
 
linear codes and cyclic codes
linear codes and cyclic codeslinear codes and cyclic codes
linear codes and cyclic codes
 
Lossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image ProcessingLossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image Processing
 
Lecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D SignalLecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D Signal
 
Diversity techniques presentation material
Diversity techniques presentation materialDiversity techniques presentation material
Diversity techniques presentation material
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizer
 
MINIMUM SHIFT KEYING(MSK)
MINIMUM SHIFT KEYING(MSK)MINIMUM SHIFT KEYING(MSK)
MINIMUM SHIFT KEYING(MSK)
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSING
 

Similar to Acoustic echo cancellation

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 Rishikesh .
 
Active noise control
Active noise controlActive noise control
Active noise controlRishikesh .
 
Channel Equalisation
Channel EqualisationChannel Equalisation
Channel EqualisationPoonan Sahoo
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersNelson Anand
 
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 compressionForward2025
 
"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 BucharestStefan Adam
 
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.pptdebeshidutta2
 
Lecture_1 (1).pptx
Lecture_1 (1).pptxLecture_1 (1).pptx
Lecture_1 (1).pptxDavidHamxa
 
Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPCDisha Modi
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxKIRUTHIKAAR2
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxKIRUTHIKAAR2
 
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 systemsADEDAMOLA ADEDAPO
 
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.pptStefan Oprea
 
Speaker Dependent WaveNet Vocoder
Speaker Dependent WaveNet VocoderSpeaker Dependent WaveNet Vocoder
Speaker Dependent WaveNet VocoderAkira Tamamori
 
SignalDecompositionTheory.pptx
SignalDecompositionTheory.pptxSignalDecompositionTheory.pptx
SignalDecompositionTheory.pptxPriyankaDarshana
 

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
 
Channel Equalisation
Channel EqualisationChannel Equalisation
Channel Equalisation
 
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
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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.pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 

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