Research and Implementation of VoIP Voice Gateway Base on a Low-Cost DSP
- Author
- NanNan
- Advisor
- HuangXiaoJian
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TN916 Phone
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 109
- Citations
- 0
- Voice over IP
- voice gateway
- digital sigal processor
- AR1688
- real-time voice processing
- SIP protocol stack
Abstract
The rapid development of computer networks has witnessed an increasing appearance of real-time multimedia services based on the IP package network in recent years. Owning to the abundance of service platforms as well as the low price advantage, VoIP technologies are able to provide strong and valid guarantees for voice communications over a long distance, thus becoming a hotspot in nowaday’s technique researches.The core equiment in the VoIP system is IP Gateway, in which digital signal processors (DSP) are widely used in order to guarantee voice communications. The signaling technique also plays a crucial part in the development of VoIP and among them two most widely used are H.323 and SIP. The SIP protocol is designed to meet with the evolving direction of VoIP and future networks and is believed to have a good market propect due to its embodiments of Internet system structure and the simplicity, extensibility and realizability of its text-based signals.The paper outlines a plan in which a VoIP voice gateway is developed based on a low-cost DSP chip-AR1688. AR1688, provided by Palm Micro Co., Ltd for VoIP solutions, is a SOC that highly integrates a Micro Control Unit (MCU) and a high performance Digital Sigal Processor (DSP) with the advantages of small size, low power consuming and low cost. The AR1688-based VoIP Ethernet voice gateway designed in this paper will enable small enterprises and home users to make their IP calls with plain old telephone service (POTS) by means of LAN accessing rather than PSTN.The paper illustrates VoIP theory basis that has things to do with product design and analyzes voice coding and decoding technologies, communication protocols, VoIP system formation and what a VoIP gateway demands. Then priorities are given to the AR1688-based VoIP Ethernet voice gateway developing process which includes hardware and software design. Circuit schematic plotting and Printed Circuit Board (PCB) plotting are described in the hardware design part while the software design part includes the status definition of AR1688 main control flow, the design of DSP-drived real-time voice processing module, the pick and transplantation of the SIP protocol stack and the design of Soft Gateway. Finally results are given showing that such designed VoIP gateway is able to work steady, successfully achieving what was expected after circuit tests, module function tests and integrated tests.
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-17
1.1 Thesis background 11-12 < br /> 1.2 VoIP proposed background 12-13
1.2.1 commercial considerations 12
1.2.2 IP ubiquity 12-13 <br / > 1.2.3 technology matures 13
1.2.4 to the data network transfer 13
1.3 VoIP Overview 13-15
1.3.1 VoIP communication theory outlined 13-14
1.3.2 VoIP implementations 14-15
1.4 sources and articles structural issues 15-17
Chapter VoIP technology infrastructure 17-35
2.1 VoIP and PSTN comparison 17-20
2.1.1 works Compare 17
2.1 .2 exchange compare 17-18
2.1.3 Signalling compare 18-19
2.1.4 addressing the Comparison 19-20 <br / > 2.1.5 routing compare 20
2.1.6 delay comparison 20
2.2 VoIP voice codec technology 20-23
2.2.1 ADPCM: adaptive differential pulse Code Modulation 21
2.2.2 CELP: code Excited Linear Prediction 21-22
2.2.3 VoIP voice quality evaluation criteria 22-23
2.3 VoIP communication protocols in 23-28
2.3.1 ITU-T H.323 standard 23-24
2.3.2 SIP agreement 24-25
2.3.3 real-time transport Protocol RTP 25-26
2.3.4 real-time Transport control Protocol RTCP 26-27
2.3 .5 session description protocol SDP 27-28
2.4 VoIP system components 28-29
2.5 VoIP gateways analysis 29-35
2.5.1 gateway introduces 29-30
2.5.2 Fundamentals 30
2.5.3 gateway components and functions 30-31
2.5.4 gateway Technical 31-33
2.5.5 FXS and FXO PSTN-based analysis of the gateway type 33-35
Chapter VoIP voice Gateway ethernet design architecture 35-39
3.1 issues raised 35
3.2 using schematic 35-36
3.3 requirements Analysis 36-37 <br / > 3.4 performance requirements 37-38
3.4.1 call setup time 37
3.4.2 voice transmission delay 37-38
3.4 .3 delay jitter 38
3.4.4 packet loss rate requirements 38
3.4.5 voice quality requirements 38
3.5 overall design philosophy 38-39
Chapter VoIP voice Gateway ethernet hardware design 39-61
4.1 hardware design flow 39-40
4.2 circuit schematics drawing design 40-51
4.2.1 overall design 40-41
4.2.2 processor chip AR1688 41-44
4.2.3 memory Design 44-45
4.2.4 ethernet module 45-46
4.2.5 Subscriber Line Interface Circuit 46-49
4.2. 6 DTMF 49
4.2.7 power Module 49-50
4.2.8 reset circuit 50-51
4.3 PCB design 51-59
4.3.1 electronic components of the package design 51-52
4.3.2 layout conditionality 52-53
4.3.3 PCB functional division 53-54
4.3.4 PCB traces design 54-55
4.3.5 ECO 55-56
4.3. 6 PCB design commonly used in the choice of components 56-57
4.3.7 anti-jamming design 57-58
4.3.8 PCB design related documents 58 - 59
4.4 software used in the design of presentation 59-61
4.4.1 OrCAD 59
4.4.2 PowerPCB 59-61 <br / > Chapter VoIP gateway software design 61-77
5.1 gateway system software development environment 61
5.2 system software architecture 61-62 < br /> 5.3 AR1688 master module development 62-63
5.3.1 AR1688 processes introduced 62
5.3.2 program Structure 62-63 < br /> 5.4 voice processing module design 63-68
5.4.1 voice processing module structure 64-65
5.4.2 voice processing module workflow 65
5.4.3 voice Codec program design 65-67
5.4.4 voice codec DSP fixed-point implementation 67-68
5.5 SIP protocol stack module design 68-74
5.5.1 SIP protocol stack to achieve the overall structure 68-69
5.5.2 SIP protocol stack design category 69-70
5.5.3 SIP protocol stack select 70-71
5.5.4 SIP UA design ideas 71-72
5.5.5 eXosip / Osip2 UA protocol stack structure 72
5.5.6 eXosip function classified 72-74
5.5.7 design Tasks function 74
5.6 SoftGateway design 74-77
Chapter gateway debug and test 77-85
6.1 update introduces 77-78
6.1. 1 Flash programming mode 77
6.1.2 TFTP mode 77-78
6.1.3 Web page configuration 78
6.2 hardware debugging 78-80
6.2.1 circuit Debugging 78-79
6.2.2 module function debug 79
6.2.3 integrated debugging 79-80
6.3 product Testing 80-83
6.3.1 test environment 80-81
6.3.2 network speed test 81 <br / > 6.3.3 gateway function test 81-82
6.3.4 voice performance Test 82-83
6.4 test Summary 83-85
Chapter VII of the work summary and outlook 85-87
7.1 work Summary 85-86
7.2 further work 86-87
References 87-89
Thanks 89-90
papers published during the study for a degree 90
Related dissertations
- Enterprise Distributed VoIP System
- Platform of Centralized VoIP System
- The Design of Voice Gateway Based on AC494
- Research and Implementation on User Equipment of Light-Weighted Voip System
- Research and implementation of VoIP based on Hi3110E set top box
- Research on Robust Voice Transmission over the Internet
- Design and Implementation of the Module H.323 and Its Extension on Voice Gateway
- AudioCodes voice gateway based on chip -driven design and implementation
- VOIP technology research and enterprise applications
- Studying for Voice Gateway Based on New HFC Networks
- Research on the Quality Evaluation for Voice over MANET
- The Research of VOIP Voice Gateway and the Implementation and the Design of Its Hardware
- Research and Implementation of the QoS Mechanism for VoIP System Based on SIP
- Research on Wide-Band Speech of Wireless VoIP System
- Golden Shield Network System Integrationand Application
- Application and Optimal Design of Digit Voice Processor in the Next Generation Network
- Study and Design of SIP Stack
- The Design and Realization of VoIP GateWay Based on SIP
- Research of Effective Transmitting for IP Telephony on Internet
- The design and implementation of the voice gateway based on SIP protocol