Research on G.729 Speech Codec Based on TMS320-VC5402

Author
WuTao
Advisor
YiKeChu , ZhangQingWen
School
Xi'an University of Electronic Science and Technology
Major
Electronics and Communication Engineering
Classification
TN912.3 Speech Signal Processing
Degree
Master's thesis
Year
2009
Downloads
52
Citations
1

Request the full text

Abstract

During the past more than 20 years, speech compression coding has made great progress of breakthrough with the flourishing development of moden communications. Moreover, a series of international standards has been generated, and has found wide applications, among which the G.729 speech coding scheme is a recommendation promoted by ITU (i.e. International Telecommunications Union) in 1996.The G.729 recommedation is based on conjunction structural Algebra code exciting linear prediction, which has a bit-rate of 8Kbps, rather low delay and comparably high quality of reproduced speech. Therefore, it has found wide applications in many areas such as mobile communications, multi-media, voice over IP and ISDN, etc.. However, its computational complexity appears to be rather high, so that it is a very important issue to make its algorithm realized effectively and relieblly in practical communication systems. This thesis mainly researches on implementation of the G.729 based on a DSP of TMS320C5402.This thesis reviews the standard of the convensional speech coding; after analyzing the principle of speech generating model, linear prediction, vector quantization, perceptual weight filtering, speech coding based on analysis-synthesis, the thesis anatomises the G.729 speech codic, and proposes a scheme of hardware implementation and software optimization of the G729 algorithm. The author has succeeded in developing A G.729 speech codec and has it applied to a communication command and scheduling system, i.e. the Type JTG03, which is a commercial product produced by the 10-th Telecommunication Research Institute. The author’s main contributions are as follows.1) The thesis discusses in depth about the reasonability and superiority of that the speech codec in the JTG03 product employs the G.729 standard.2) According to the requirement of G.729 standard algorithm and considering the cost as low as possible, the author has selected a suitable DSP chip, and built up a hardware platform for implementation of a G.729 speech codec.3) Through studying in depth to the G.729 standard algorithm, the thesis estimates its peak computational requirement, and gives some efficient optimizing approaches in C-language level, assemble-language level and algorithm level. Testing results show that the optimizing efficiency of the Assemble-language and algorithm levels appears to be quite remarkable. 4) The developed speech codec has been applied to a switching equipment of the the 10-th Telecommunication Research Institute, which means it has been commercialized.

Table of contents

Abstract 3-4 Abstract 4-13 first chapter 13-41 1.1 speech signal coding technology base 13 -22 1.1.1 speech signal characteristics 13-15 1.1.2 classification of voice compression coding method 15-16 1.1.3 speech coding technological development 16-17 1.1.4 voice compression coding international standards 17-20 1.1.5 speech coder performance metrics 20-22 1.2 mathematical model of speech signals and related theories 22-33 1.2.1 voice signal mathematical model 22-25 1.2.2 speech signal linearity prediction 25-28 1.2.3 speech signal vector quantization 28-30 1.2.4 perceptual weighting filter 30-31 1.2.5 code Excited linear Predictive Coding 31-33 1.3 digital Signal processor Overview 33-37 1.3.1 Overview of the development of digital signal processors 33-35 1.3.2 digital signal processor applications 35-36 1.3.3 digital signal processor development process 36-37 1.4 topics sources and the value of work 37-41 1.4.1 source topics 37 1.4.2 select G.729 algorithm based 37-38 <br / > 1.4.3 select the DSP architecture to achieve a basis 38-41 Chapter G.729 voice codec principle analysis 41-71 2.1 G.729 standards outlined 41-44 2.1.1 encoder Overview 41-43 2.1.2 decoder Overview 43-44 2.1.3 on delay 44 2.2 G.729 encoder algorithm analysis 44-63 2.2.1 pretreatment 44 2.2.2 linear prediction analysis and quantification 44-51 2.2.3 perceptual weighting 51-52 2.2.4 open-loop pitch analysis 52-53 2.2.5 impulse Response calculation 53 2.2.6 calculation of the target signal 53 2.2.7 adaptive codebook search 53-57 2.2.8 fixed code the structure and search 57-60 2.2.9 codebook gain quantization 60-62 2.2.10 memory update 62-63 2.3 G.729 decoder algorithm analysis 63-71 2.3.1 parameter decoding process 64-65 2.3.2 postprocessing 65-68 < br /> 2.3.3 transmission error compensation 68-71 Chapter G.729 codec processor module design 71-87 3.1 JTG03 type exchange system overview 71-72 3.2 TMS320VC5402 processors 72-77 3.2.1 TMS320C54x series DSP Features 72-73 3.2.2 bus Structure 73-74 3.2.3 pipeline 74 3.2.4 central Processing Unit (CPU) 74-75 3.2.5 memory 75 3.2.6 on-chip peripheral circuits 75-76 3.2.7 McBSP McBSP 76-77 3.3 digital voice board hardware design 77-81 3.3.1 module Hardware design Description 77-78 3.3.2 system HW and multi- buffered serial bus design 78-79 <br / > 3.3.3 TMS320VC5402 peripheral device design 79-81 3.4 DSP system development tools introduced 81-85 3.5 G.729 module software simulation development process 85-87 Chapter G.729 algorithm and optimization 87-119 4.1 G.729 standard C language source code analysis 87-91 4.1.1 General program part 87-88 4.1.2 coding part 88-90 4.1.3 decoding part 90-91 4.1 .4 other parts 91 4.2 G.729 algorithm optimization program 91-96 4.2.1 G.729 standard C language program simulation 91-92 4.2.2 software development language of choice 92-93 4.2.3 G.729 algorithm optimization steps 93 4.2.4 fixed-point arithmetic on DSP realization 93-96 4.3 G.729 algorithm optimized implementation 96-114 4.3.1 use the CCS C compiler optimization 96-98 4.3.2 C-based code optimization studies 98-99 4.3.3 G.729 algorithm C language level optimization 99-103 4.3. 4 G.729 algorithm assembly language level optimization 103-109 4.3.5 mixed assembly language and C language programming elements 109-112 4.3.6 G.729 algorithm -level optimization algorithm 112-114 4.4 G.729 algorithm optimized implementation 114-119 4.4.1 main process design 114-115 < br /> 4.4.2 encoder programming 115-116 4.4.3 decoder program design 116 4.4.4 serial interrupt service routine 116 - 119 Chapter G.729 codec module optimized algorithm performance comparison 119-121 5.1 algorithm complexity compared 119 5.2 compression ratio CR (Comprssion Ratio) Compare 119-120 5.3 digital Voice version of the system performance test 120-121 Chapter Summary and Outlook 121-123 6.1 gained experience in the development of 121 6.2 Prospects 121-123 Thanks 123-125 References 125-127

Related dissertations

  1. The Research and Implementation on DSP of the Low Code Rate Speech Codec Algorithm
    ZuoFeng ·Harbin Engineering University ·2007 ·Master's thesis
  2. Research of G.729 Speech Coder Implementation Based on DSP
    ChenZuo ·Wuhan University of Technology ·2005 ·Master's thesis
  3. Research and Realization of G.729Speech Codec Algorithm Based on ZSP500
  4. Research on Anti Packet Loss Algorithm of G.729Codec and Its Implementation on ARM Platform
  5. G.729 Optimization and Its Application
  6. G.729 speech codec algorithm optimization and its implementation on S3C2440
    XuDaXin ·Jilin University ·2008 ·Master's thesis
  7. The Algorithm Study, Simulation and Realization of G.729 Protocol
    TianMengZhou ·Hebei University ·2003 ·Master's thesis
  8. Research on CS-ACELP Speech Coding Algorithm and Implementation
    MengZuo ·Taiyuan University of Technology ·2003 ·Master's thesis
  9. Research on Key Technologies of VoIP and the Implement of Endpoint Model
    LvHaiBo ·Northwestern Polytechnical University ·2007 ·Master's thesis
  10. Optimization of G.729 Annex B Speech Coder and Its DSP Implementation
  11. Research and Realization on Low Speed Digital Voice Coding and Decoding
    LiQiang ·Beijing Jiaotong University ·2007 ·Master's thesis
  12. Research on Improving MBE Coding Algorithm Based on DSP
    GaoHao ·Jiangnan University ·2006 ·Master's thesis
  13. Based on DSP G.729 voice coding
  14. Research on Key Points for Achieving Fast Search of Fixed Codebook in G.729
  15. The Analysis of the Performance of G.729D and the Implement
  16. The Design and Implementation of a Sampling and Processing Speech DSP System Based on ITU-T G.729A
    XueBingLei ·Donghua University ·2006 ·Master's thesis
  17. G.729 Speech Co-decoding Algorithm Implementation and Optimization Based on Generic DSP
    HuangTao ·Tianjin University ·2005 ·Master's thesis
  18. Research on G.729 Speech Codec Algorithm and Implementation on DSP
  19. The Research and Development of the Embedded Speech System Based on MC68HC12
  20. ITU-T G.729A protocol and its implementation
    XuZhengWei ·Chongqing University ·2002 ·Master's thesis