Real-time Implementation of G.723.1 on TMS320C5402
- Author
- NingJing
- Advisor
- DaiJuFeng
- School
- Tianjin University
- Major
- Communication and Information System
- Classification
- TN912.3 Speech Signal Processing
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 133
- Citations
- 2
Abstract
The speech compression module designed in this paper is used in the railway communication. Recently, with the train speed increased, train will run in a longer time after started .During the running time the driver has to report the situation to the control center. When this operation task is over, the control center will decode the audio data saved within the running time. The audio data saved within the running time will be decoded. If the train had an accident during running time, these decoded data can be used to identify the reason and the time of accident. If we don’t compress the audio sampled data, and now, we calculate the storage space for saving the audio data. In the paper, the sampled frequency is 8K Hz, supposed the train will run 12 hour, then, we will collect 12*3600*8000 data. Each of the PCM data coding is 16 bits, so we need about 6Gbit space to memorize these data. This waste lots of storage space. And, with Railway traffic increased, the resource of band-width is more precious, so it is necessary to adopt low-rate speech coding algorithm. And, with the development of digital signal processing a VLSI, we can realize the real-time speech coding on DSP chip. In this paper, the principles and algorithms assumed in the G723.1 codec standard are systematically reviewed. Then a brief introduction to the real-time DSP simulator & emulator and the flow-chart of the DSP algorithms realizing and the primary program optimization techniques according to the given DSP hardware and instruction set are thoroughly discussed, and some tests of the optimization effects are carried out. Experimental results show that the work discussed in this paper well realized the speech codec’s optimization and the implementation is done in real-time on DSK. Further research and development directions are suggested for possible improvements of the current thesis work.
Table of contents
Abstract 3-4
ABSTRACT 4-7
The first chapter 7-14
1.1 voice coding the development 7-8
1.2 DSP development history 8-9
1.3 DSP basic structure 9
1.4 DSP and general-purpose processor (GPP) Comparison 9-14
Chapter voice codec principle 14-27
2.1 voice signal generation model 14
2.2 Classification of speech signal coding and the basic principles 14-23
2.2.1 linear prediction coefficients extraction and line spectrum analysis 16-17
2.2.2 open-loop pitch value estimate 17-18
2.2.3 Joint filter formed 18-20
2.2.4 Closed-loop pitch extraction 20-21
2.2.5 excitation codebook search 21-23
2.3 decoding process 23-25
2.3.1 stream decoding 24
2.3.2 Closed-loop pitch extraction 24
2.3.3 pitch and formant postfilter 24-25
2.4 silent compression technology (VAD) 25-26
2.5 Summary 26-27
Chapter codec algorithm optimization 27-50
3.1 before optimization of the source code analysis 27-28
3.2 code debugging development environment CCS 28-30
3.3 code optimization priority setting 30-31
3.4 optimization process 31-43
3.4.1 Use inline assembly language 31
3.4.2 using the internal function 31-33
3.4.3 using the TMS320C5402 special bit 33-34
3.4.4 C54x provided internally with a special instruction and special hardware to optimize the structure 34-38
3.4.5 conducted on the body of the loop expansion 38-40
3.4.6 filter assembly operations optimization 40-43
3.5 hybrid programming 43-45
3.6 memory allocation optimization 45-49
3.7 Summary 49-50
Chapter 4 System Software Design 50-59
4.1 using MC145480 chip A / D and D / A conversion 52-53
4.2 using McBSP ( multichannel buffered serial port ) 53-54
4.2.1 McBSP introduction 53
4.2.2 McBSP programming 53-54
4.3 using DMA for data transmission 54-56
4.3.1 DMA Overview and DMA registers in sub- addressing operation introduced 54-55
4.3.2 DMA involved in four registers 55
4.3.3 DMA specific programming 55-56
4.4 DMA interrupt 56-57
4.5 Debugging algorithm 57-58
4.6 voice compression data storage 58-59
Chapter entire system and algorithm performance evaluation 59-62
5.1 Algorithm Performance Evaluation 59-62
5.1.1 objective evaluation method 60-61
5.1.2 Subjective evaluation methods 61-62
Conclusion 62-63
References 63-65
participate in research Fact 65-66
Thanks 66
Related dissertations
- Porting and Optimization of G.723.1Algorithm for ARM Platform
- Speech Compressing Code G.723.1Standard Research and the DSP Implementation Design
- Voice secure transmission system research and design development
- Real-time Implementation of Multi-channel G.723.1 Speech Coder and Decoder Based on PNX1300
- The Fix-Point Real Implementation of G.728 by DSP
- Research and Realization on Low Speed Digital Voice Coding and Decoding
- G.723.1 voice compression coding to achieve real-time on the TMS320VC5501
- Study and Implementation of Low Bit-rate Speech Coding and Decoding Based on Embedded System
- Research and Application of Dual Bit Rate Speech Coding Algorithm
- Real-time Implementation of G.729A on VPM642
- Network Planning and Optimization for WCDMA System of Zigong Unicom
- The Hardware Circuit and Logical Design of Digital Voice Communication System
- The Research and FPGA Implementation of MELP Vocoder
- Application of low rate speech coding AMBE algorithm and AMBE-2000TM chip in the encryption in a telephone system
- Front and Back Ends Signal Processing for Speech Codecs
- Research on Ultra-Low Bit Rate Speech Coding Algorithms
- Research on Ultra Low Bit Rate Speech Coding
- The Research and Optimization of Digital Speech Codec Based on C55DSP
- Research and Simulation of a Novel Coding Strategy on Cochlear Implants
- Research and Design of Mine Rescue Command Broadcast Talkback System