Implementation and Optimization of Echo Cancel Algorithm in VoIP
- Author
- LiLi
- Advisor
- HuangXiaoJian
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TN916.2 Telephone lines, telephone network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 118
- Citations
- 0
Abstract
With the advent of IP voice technology, VoIP (Voice over IP) receives more and more application in recent years. Compared with the traditional telephone, IP phones are widely used because its high network bandwidth utilization, low-cost and flexibility to provide value-added features. However, the quality of voice can not be guaranteed because Internet is the best-effort model. If IP phone wants to compete with traditional telephone, it must improve its voice quality. One of key technologies is echo cancellation in video conference.There are two types of echo in telephone network, the first type, line echo can be generated because of the mismatch between the subscriber loop and switch office where two wires and four wires are connected. The second type, acoustic echo arises with the invention of hand-free phones, in which the microphone and loudspeaker are coupled. Acoustic echo is characterized with long delay and complex and unstable environment, and need more genius algorithms.The core of echo cancellation is adaptive filter theory, according to which residual echo is got by subtracting the echo replica from the actual echo and is further used to adapt the coefficients of the filter dynamically. Traditional adaptive filter algorithm has achieved good performance in dealing with line echo which has short delay. To handle acoustic echo, large-taps filters in frequency domain are often used, which make good use of FFT’s efficiency to meet the real time requirements.This thesis is to investigate the line echo cancellation and acoustic echo cancellation algorithm, multidelay block frequency domain adaptive filter (MDF) and expects to implement and optimization their codec on AR1688, a fixed-point digital signal processor. It is meaningful to realize the AEC codec in AR1688 because of the low cost and high precision. The implementation was in two steps:first, make the float point to fixed-point conversion in C with optimization. Then translate the C codecs to DSP assembly codes, which is compatible with ADSP2181, debug the echo cancellation codec, the next work is the optimization of the echo cancellation codec according to the hardware features and instruction characteristic of AR1688 chip in order to reduce the complexity of algorithm, improve the speed of program, adapt the requirements of processor, and reduce the power of equipment. Eventually, we successfully achieved the requirements of real-time AEC on IP phone which the core element is AR1688 chip.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter Introduction 9-13
1.1 topics background
1.2 echo cancellation principle 9-11
1.2.1 line echo 10-11
1.2.2 Acoustic Echo 11
1.3 workflow thesis structure 11-13
1.3.1 thesis ideas and work 11-12
1.3.2 thesis chapters arranged 12-13
echo cancellation algorithm 13-42
2.1 adaptive filter algorithm Overview 13-21
2.1.1 adaptive filter algorithm principle 14-18
2.1.2 two kinds of batch adaptive filtering algorithm and compare 18-21
2.2 line echo cancellation time domain algorithm 21-31
2.2.1 Algorithms 21-24
2.2.2 echo cancellation algorithm performance indicators and measurement methods 24-28
2.2.3 algorithm simulation test results analysis 28-31
2.3 with several delays frequency domain block adaptive filtering algorithm 31-42
2.3.1 Algorithms 31-35
2.3.2 algorithm performance simulation analysis 35-42
third MDF algorithm in the FFT / IFFT improvement and research 42-49
3.1 mixed radix FFT algorithm briefly 42-44
the 3.2 variable points FFT nested structure implementation 44-47
3.3 improved FFT algorithm advantages and the amount of computation 47-49
Chapter development platform and DSP chip architecture introduced 49-58
4.1 PA1688 chip introduced 49-53
4.1.1 PA1688 chip features and hardware structure 49-50
4.1.2 PA1688 chip controller system structure 50-51
4.1.3 PA1688DSP subsystem structure and its peripherals 51-53
4.2 AR1688 introduced its improved 53-55
4.3 AR1688 software design and implementation 55-58
4.3.1 AR1688 software structure 55-56
4.3.2 AR1688 program software development applications and tools 56-57
4.3.3 program simulation debugging environment 57-58
the
fifth chapter echo cancellation algorithm engineering and optimization 58-67
5.1 C language level program optimization 58-59
5.2 fixed-point C code to fixed point to the implementation of DSP assembly 59-61
5.2.1 settings file structure 59-60
5.2.2 issues programming rules 60-61
5.2.3 DSP program compile and link 61
5.3 DSP code debugging 61-63
5.3.1 DSP code debugging methods 61-62
5.3.2 debugging common errors and processing 62-63
5.4 code optimization 63-65
5.5 echo cancellation effects test 65-67
Chapter Summary and Outlook 67-69
6.1 This work summarizes 67
6.2 the next step of the work 67-68
6.3 technology foresight 68-69
Reference 69-72
Acknowledgements 72-73
the
period of study for a degree of academic papers published directory 73
Related dissertations
- Research and Design of Harmonic Detecting Device Based on ARM9
- The Application of GPU Acceleration in Digital Image Processing
- Research of3PCF Parallel Algorithm Based on MPI
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- Design and Verification of CORDIC-based FFT Processor
- Research and Implementation of Fast Fourier Transform by Using Custom Instruction Based NiosⅡ Processor
- Research and Implementation of Navigation Signals
- Research on Design and Implementation Technology of Embedded Multiprocessor
- Research of the Range Finding Algorithm on Tracking Radar
- The design and implementation of FPGA phased array radar signal processor
- Research on a Doppler Weather Radar Signal Processing
- The Research and Implementation of Signal Processing Technology for FMCW Radar Ranging
- Research on Estimation Technology of QPSK Frequency Offset in Digital Satellite Communication System
- Design and Implementation of a Kind of COFDM Wireless Video Transmission System
- Research and Relization on Fast Acquisition Algorithm of High Dynamic DSSS Based on PMF-FFT
- The Application and Research on Multi Party Call Technology in Rescue Communication
- Adaptive Echo Cancellation Algorithms Towards Real-time Communication System
- Research and Realization of Speech Quality Objective Evaluation System
- Study on the Acoustics Methods for Detecting Insect Damaged Wheat Kernels
- Research and Implementation of Android Based Music Recognition and MIDI Output