跳到主要內容

臺灣博碩士論文加值系統

(216.73.216.54) 您好!臺灣時間:2026/01/10 11:26
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:何俊逸
研究生(外文):Jiunn-Yih Ho
論文名稱:利用TMS320C6201數位信號處理器實現即時CELP編碼器
論文名稱(外文):Implementation of Real-Time CELP Coder with TMS320C6201 DSP
指導教授:徐偉智徐偉智引用關係
指導教授(外文):Wei-Chih Hsu
學位類別:碩士
校院名稱:國立高雄第一科技大學
系所名稱:電腦與通訊工程系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2000
畢業學年度:88
語文別:中文
論文頁數:67
中文關鍵詞:碼本激發線性預估語音編碼碼本數位信號處理器乒乓效應
外文關鍵詞:CELPspeech codercodebookDSPping-pong effectTMS320C6201
相關次數:
  • 被引用被引用:1
  • 點閱點閱:286
  • 評分評分:
  • 下載下載:28
  • 收藏至我的研究室書目清單書目收藏:0
在目前盛行的網際網路與個人通訊系統中,所傳遞的資料包含了影像、聲音、電子郵件等等,如何在有限頻寬的通道中傳遞大量的資料,這就需要利用資料壓縮的技術。在語音資料壓縮技術中,選擇一低傳輸率又具合理音質的編碼器是重要考量之一。碼本激發線性預估(CELP)編碼器便是符合此兩項條件的語音壓縮技術,它的架構包含了線性預估模型、音高週期搜尋與隨機碼本搜尋三個主要模組,線性預估模型是用來模擬人類聲道發聲的變化,音高週期的搜尋是用以找出類似語音訊號的週期性,而隨機碼本搜尋則是找出代表人類語音信號中雜亂的非週期性信號。本篇論文先用Matlab程式模擬標準CELP演算法,使其位元率在6.9 kbps,經過主觀的聆聽和客觀的數據判斷下得到合理的語音品質,並試著找出減低演算法複雜度的方法,然後利用C語言實現演算法於德州儀器公司所發展的C6201定點數數位信號處理器模擬板(EVM)上,選用定點數數位信號理器雖然有低耗電量、低成本的優點,但在發展軟體的過程卻必須花更多的注意力在溢位問題及大小的調整。而即時實現編解碼的技巧是在中央處理單元不干涉的情況下利用兩個直接記憶體存取(DMA)通道控制資料的接收及傳送,並使用雙緩衝區作乒乓效應(ping-pong effect)的處理,經由實際量測編碼速度得知,數位信號處理器在DMA存取完ping緩衝區之前,就已處理完pong緩衝區,反之亦然。如此一來兩個緩衝區可輪流接收語音資料,符合即時的要求。
Recently, in popular internet and personal communication system, it transmits information including image, voice and E-mail data etc.. How can we transmit these large information in channels of limited bandwidth? It needs to use of techniques of data compression. Therefore, in the speech data compression aspects, it is important to choose the coder with low transmission bit rate and reasonable speech quality. CELP coder just matches these two conditions. There are three components in the CELP architecture. One is linear predictive module, it is used to simulate the variants of human vocal tract. Two is the procedure of searching pitch lag, it is used to find the quasi-periodicity of speech signal. Three is procedure of searching random codebook, it is used to find the close white noise of speech signal. In this thesis, we simulate the standard CELP algorithm with Matlab program and let bit rates in 6.9 kbps. We get resonable speech quality according to listen subjectively and measure SNR objectively. Then we try to find the method of reducing complexity of algorithm. Aterward, we implement the algorithm to TI C6201 DSP evaluation module board with C language. Indeed it has advantage of low power consumption and cost. But we must take lots of time to concentrate the problem of overflow or size scaling. For encoding in real time, we use two DMA channels to control data receive from and transmit to without CPU intervention. Then we use dual buffers as processing of ping-pong effect. By measuring the speed of encoding and decoding, it appears that DSP has already finished pong buffer processing before DMA finished ping buffer saving. It is the same otherwise. So two buffers can receive speech data in turn and fullfill requirements in real time.
Chap.1 緒論................................................1
1.1 研究背景............................................1
1.2 研究動機............................................4
1.3 研究方法............................................5
1.4 章節概要............................................5
Chap.2 數位語音編碼之原理與技術............................6
2.1 前言................................................6
2.2 語音模型的建立......................................6
2.3 線性預估編碼(Linear Predictive Coding)..............7
2.3.1 LPC參數的求解...................................9
2.3.2 LPC參數的量化...................................11
2.4 音高週期的預測(Pitch Prediction)....................12
2.5 碼激式線性預估(CELP)編碼器介紹......................15
2.5.1 經由合成分析法(Analysis-by-Synthesis)...........15
2.5.2 標準CELP演算法..................................17
2.5.3 碼本搜尋的方法..................................18
Chap.3 Matlab 模擬標準CELP演算法...........................20
3.1 前言................................................20
3.2 CELP演算法架構......................................20
3.2.1 LPC的分析.......................................22
3.2.2 音高週期的預測與加速運算的方法..................27
3.2.3 隨機碼本的設計..................................28
3.2.4 位元配置........................................29
3.2.5 解碼端架構......................................30
3.3 客觀性音質評估......................................30
3.3.1 聽覺信號雜訊比之量測評估........................31
3.3.2 實驗結果........................................32
Chap.4 TMS320 C6201 EVM板 介紹.............................36
4.1 前言................................................36
4.2 TMS320C6201 處理器架構..............................36
4.2.1 中央處理單元....................................37
4.2.2 記憶體配置......................................38
4.2.3 內部周邊裝置....................................40
4.3 C6201模擬板之硬體架構...............................46
4.3.1 初始設定........................................46
4.3.2 外部記憶體......................................47
4.3.3 聲音輸出入介面..................................49
4.4 軟體發展環境........................................49
Chap.5 用EVM板實現即時CELP語音編解碼.......................52
5.1 前言................................................52
5.2 CELP演算法定點化分析................................52
5.2.1 資料格式定位處理................................52
5.2.2 線性預估分析....................................54
5.2.3 全極點濾波器分析................................56
5.3 程式架構與最佳化的方法..............................56
5.3.1 利用DMA模式抓取資料.............................56
5.3.2 雙緩衝器互換處理................................57
5.3.3 建立固定表格代替計算............................57
5.3.4 利用C6201兩組運算單元...........................60
5.4 效能量測............................................61
Chap.6 結論與未來展望......................................64
參考文獻...................................................65
[1]A. M. Kondoz, “Digital Speech Coding for Low Bit Rate Communications Systems”, John Wiley & Sons Ltd., England, June 1995.
[2]Thomas P.Barnwell III, Kambiz Nayebi, and Craig H. Richardson, “Speech Coding: A Computer Laboratory Textbook”, John Wiley & Sons Ltd., 1996.
[3]L.R. Rabiner and R.W. Schafer, “Digital Processing of Speech Signals”, Prentice-Hall, Inc., 1978 by Bell Laboratories.
[4]Vijay K. Garg, Joseph E. Wilkes, “Principles & Application of GSM”, Prentice-Hall, Inc., Chap.8, 1999.
[5]I. Gerson and M. A. Jasiuk, “Vector sum excited linear prediction(VESLP) speech coding at 8 kbps”, Proc. IEEE ICASSP, pp.461-464, April 1990.
[6]Redwan Salami, Claude Laflamme, Jean-Pierre Adoul, Akitoshi Kataoka, Shinji Hayashi, Takehiro Moriya, Claude Lamblin, and Yair Shoham, “Design and Description of CS-ACELP A Toll Quality 8 kb/s Speech Coder”, IEEE Trans. on Speech and Audio Processing, Vol.6, No.2, pp.116-130, March 1998.
[7]Jaewon Kim, Hyungjung Kim, Songin Choi, and Younggap You, “The Implementation of G.729 Speech Coder on a 16-Bit DSP Chip for the CDMA IMT-2000 System”, IEEE Trans. on Consumer Electronics, Vol.45, No.2, pp.443-448, May 1999.
[8]B.Atal. “Predictive coding of speech at low bit rates”, IEEE Trans. On Comm. pp.600-614, April 1982.
[9]B.Rabbun, A. Perkis, K.K. Paliwal and T. Ramstad, “Performance study of Stochastic Speech Coders”, speech Comm., Vol.10, No.3, pp.277-301, August 1991.
[10]Chung-Hsien Wu and Jau-Hung Chen, “A Novel Two-Level Method for the Computation of the LSP Frequencies Using a Decimation-in-Degree Algorithm”, IEEE Trans. On speech and audio processing, Vol.5, No.2, pp.106-115, March 1997.
[11]Details to Assist in Implementation of Federal Standard 1016 CELP, National Communications System, Office of Technology and Standards, Washington, VA 22204-2198, pp.1-35, January 1992.
[12]N.S. Jayant and P. Noll, “Digital Coding of Waveforms, Prentice-Hall Publishers, pp131-132, 1984.
[13]ITU-T, Recommendatoin P.80 Methods of Subjective Determination of Transmission Quality, ITU, 1993.
[14]M. Schroeder, B. Atal and J. Hall, “Optimizing digital speech coders by exploiting masking properties of the human ear”,J.Acoust. Soc. Am., pp.1647-1651, December 1979.
[15]Ravi P. Ramachandran and Peter Kabal, “Pitch Prediction Filters in Speech Coding”, IEEE Trans. on Acoustics, Speech, and Signal Processing, Vol.37, No.4, pp.467-478, April 1989.
[16]Texas Instruments, Inc., TMS320 DSP Development Support Reference Guide. January.1997.
[17]Texas Instruments, Inc., TMS320C6x Evaluation Module Reference Guide. Mar.1998.
[18]Texas Instruments, Inc., TMS320C62x/C67x Programmer’s Guide. Feb.1998.
[19]Texas Instruments, Inc., TMS320C6x Optimizing C Compiler User’s Guide. Feb.1998.
[20]Texas Instruments, Inc., TMS320C6201/6701 Peripherals Reference Guide. Mar.1998.
[21]Texas Instruments, Inc., TMS320C6000 Assembly Language Tools User’s Guide. Feb.1999
[22]Texas Instruments, Inc., TMS320C62x/C67x CPU and Instruction Set Reference Guide. Mar.1998.
[23]Texas Instruments, Inc., TMS320C6000 Code Composer Studio Tutorial. May.1999
[24]孫宗瀛、謝鴻琳編著, “TMS320C5x DSP原理設計與應用”,全華科技圖書公司,民國88年8月.
[25]胡竹生、陳界全編著, “原理與實作TMS320C5x”, 全華科技圖書公司, 民國88年9月.
[26]Akitoshi Kataoka, Takehiro Moriya, and Shinji Hayashi, “An 8-kb/s Conjugate Structure CELP (CS-CELP) Speech Coder”, IEEE Trans. on Speech and Audio Processing, Vol.4, No.6, pp.401-411, November 1996.
[27]Redwan Salami, Claude Laflamme, Jean-Pierre Adoul, and Dominique Massaloux, “A Toll Quality 8 Kb/s Speech Codec for the Personal Communications System (PCS)”, IEEE Trans. on Vehicular Technology, Vol.43, No.3, pp.808-816, August 1994.
[28]Jinho Choi, “A Fast Determination of Stochastic Excitation without Codebook Search in CELP Coder”, IEEE Trans. on Speech and Audio Processing,Vol.3, No.6, pp.473-480, November 1995.
[29]S. Kwong and P. T. Nui, “Design and Implementation of a Parametric Speech Coder”, IEEE Trans. on Consumer Electronics, Vol.44, No.1, pp.163-169 February 1998.
[30]B.H. Juang, “The Past, Present, and Future of Speech Processing”, IEEE Signal Processing Magazine, pp.24-45, May 1998.
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top