Research and Implementation of Automatic Gain Control Algorithm in VoIP
- Author
- LiZuoZuo
- 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
- 111
- Citations
- 0
Abstract
With the rapid development of Internet, Internet voice communications applications become increasingly popular.Comparing with traditional telephone, IP telephone has been widely used because of its advantages of high utilization ratio of network bandwidth, low talking cost and multiple bearing services. IP telephone network is different from the traditional one for its packing the voice into IP packets and sending them to the end through IP address. Thus, it causes some problems such as time-delay, jitter and echo. To eliminate these influences, the speech signals should be preprocessed, and it can greatly improve the system performance under the condition of outside environment interference and the speech quality.Practical voice preprocess system mainly includes noise reduction system, echo control system, voice activity detection module and automatic gain control module and so on. The automatic gain control module can make signal transmission level stable.Through the process of signal gain control,it can adjust level variation according to input signal level and specified output level,and can make no influence to transmission signal, and make sure that the intelligibility of controlled speech will not fluctuate.The main research content of this thesis is automatic gain control module in the voice preprocess system.The focuses are VAD-based AGC algorithm and energy comparison-based AGC algorithm, and the main work is to implement the AGC algorithm used in Speex speech code algorithm on the DSP chip, and then apply it to the telephone terminal in VoIP system. In this thesis, the 24-bit AR1688 chip is used. The fixed-point digital signal processor chip has the advantages of practical application because of the little power consumption, inexpensive price and shorter operation time than the float-point one, and it is more suitable for realtime voice transmission application and large scale production, so the fixed-point DSP chip is adopted. The implementation in this thesis is in two steps, first make the floating point to fixed-point conversion in C with optimization. Then translate the C to DSP assembly codes. After the AGC algorithm passing the testing sequence, the next work is the optimization of the AGC algorithm using the hardware features and instruction characteristics of AR1688 chip, in order to reduce the complexity of algorithm and adapt the requirements of processor. Eventually, we successfully achieved the requirements of automatic gain control on equipment of which the core element is AR1688 chip.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter Introduction 10-20
the
1.1 The VoIP proposed is background 10-11
1.2 VoIP Technology Overview 11-13
1.2.1 VoIP system composed 11-12
1.2.2 VoIP transmission 12-13
technical issues need to be addressed in the 1.2.3 VoIP system 13
1.3 VoIP in the speech signal preprocessing 13-18
1.3.1 voice signal Overview 13-15
1.3.2 voice analysis methods 15-16
1.3.3 speech signal preprocessing 16-18
1.4 workflow thesis structure 18-20
the second chapter of the algorithm principle 20-29
2.1 AGC method 20
2.2 several common AGC algorithm 20-23
2.2.1 audio AGC algorithm 20-22
2.2.2 G.169 agreement AGC algorithm 22-23
2.3 this topic using automatic gain control algorithm 23-29
2.3.1-based the VAD detection of the AGC algorithm 23-26
2.3.2 Improved AGC algorithm based on energy compared 26-29
fixed point theory and computation to achieve 29-38
3.1 sentinel of theoretical overview 29-33
3.1.1 Fixed Points Q value method 30-31
3.1.2 fixed-point algorithms 31-32
3.1.3 sentinel of the principles and methods 32-33
3.2 fixed point library implementation 33-38
3.2.1 extended precision division implementations 34-35
3.2.2 nonlinear function realization method 35-38
development platform and DSP chip architecture 38-48
4.1 PA1688 introduced 38-41
4.1.1 PA1688 chip features and hardware structure 38-39
4.1.2 PA1688 chip controller system structure 39-40
4.1.3 PA1688 the DSP subsystem structures and peripherals 40-41
4.2 AR1688 introduced 41-45
4.2.1 AR1688 phone system structure 41-44
4.2.2 AR1688 and PA1688 comparison 44-45
4.3 AR1688 software design and implementation 45-48
4.3.1 AR1688 software structure 45-46
4.3.2 AR1688 program software development applications and tools 46-47
4.3.3 program simulation debugging environment 47-48
Chapter AGC algorithm DSP implementation and optimization are found; 48-74
5.1 AGC algorithm code floating point C to point C implementation 48-56
5.1.1 module decomposition 48-49
5.1.2 fixed point C code implementations 49-56
5.2 AGC algorithm fixed-point C code to the realization of the DSP assembly 56-63
5.2.1 settings file structure 56
5.2.2 issues programming rules 56-58
5.2.3 General subfunction write 58-59
5.2.4 module design 59-63
5.2.5 DSP code compile and link 63
5.3 DSP code debugging 63-66
5.3.1 consistent authentication method 63-65
5.3.2 conform to debug 65-66
5.4 code optimization 66-70
5.4.1 program optimization of the organizational structure 67
5.4.2 based on the optimization of DSP instructions 67-69
5.4.3 code optimization effect 69-70
5.5 AGC algorithm effects test 70-72
5.5.1 AGC algorithm results based VAD test 70-71
5.5.2 Improved AGC algorithm is effective test 71-72
5.6 the AGC actual effect evaluation 72-74
Chapter Summary and Outlook 74-76
6.1 This work summarizes 74-75
6.2 the next step of the work 75
6.3 technology foresight 75-76
the
References 76-78
Acknowledgements 78-79
the
period of study for a degree of academic papers published directory 79
Related dissertations
- Research and Implementation of Speech Enhancement Algorithm in VoIP
- Research of TRM-OFDM Underwater Acoustic Voice Communication under Time-varying Channels
- The DS signal blind parameter estimation, demodulation and DSP
- Research and Implement RF Front-end of UHF BNR Receiver
- The Design and Implementation of AGC Applied in RFID CHIP
- Algorithm research and Realization of DSP camera calibration image tracking system
- Research on Broadband Digital Radio Frequency Memory System
- Research on the Key Techniques of OFDMA Physical of WiMAX System
- Downlink MU-MIMO Precoding Technology Research and Link Level DSP Implementation of LTE-A System
- Research and Dsp Implementation of TDD_LTE_Advanced Coordinated Multiple Points Joint Processing Precoding
- Modeling and DSP Implementation of TD-LTE Home Enodeb Downlink Physical Layer
- Research on the detection and parameter estimation of direct sequence spread spectrum signal
- Implementation Technique and Method of Blind Speech Separation for Convolutive Mixtures
- Research and Implementation on Parameters Estimation Algorithm of Communication Signals Based on Cyclic-Spectrum
- Researches on Simulation and Dsp Implementation of Unitary-Space Time Modulation System in Fast Fading Channel
- The Design of the Large Range AGC Control Circuit in the Front-end of Short-wave Receiver
- Automatic gain control research and design of RF receiver
- The Research of Multifunctional EDFA
- Design and Study of AGC Based on SoC of the Internet of Things
- Research on Wideband Digital Receiver and System Implementation