Real-time Implementation of the AMR Speech Coder Using $OakDSPCore^{\circledR}$

$OakDSPCore^{\circledR}$를 이용한 적응형 다중 비트 (AMR) 음성 부호화기의 실시간 구현

  • 이남일 (한양대학교 전자전기제어계측공학과) ;
  • 손창용 (한양대학교 전자전기제어계측공학과) ;
  • 이동원 (한양대학교 전자전기제어계측공학과) ;
  • 강상원 (한양대학교 전자전기제어계측공학과)
  • Published : 2001.08.01

Abstract

An adaptive multi-rate (AMR) speech coder was adopted as a standard of W-CDMA by 3GPP and ETSI. The AMR coder is based on the CELP algorithm operating at rates ranging from 12.2 kbps down to 4.75 kbps, and it is a source controlled codec according to the channel error conditions and the traffic loading. In this paper, we implement the DSP S/W of the AMR coder using OakDSPCore. The implementation is based on the CSD17C00A chip developed by C&S Technology, and it is tested using test vectors, for the AMR speech codec, provided by ETSI for the bit exact implementation. The DSP B/W requires 20.6 MIPS for the encoder and 2.7 MIPS for the decoder. Memories required by the Am coder were 21.97 kwords, 6.64 kwords and 15.1 kwords for code, data sections and data ROM, respectively. Also, actual sound input/output test using microphone and speaker demonstrates its proper real-time operation without distortions or delays.

적응형 다중 비트 (AMR: adaptive multi-rate)은 ETSI (European Telecommunications Standards Institute)에서 채택한 광대역 코드분할 다중화(W-CDMA: wideband cadedivision multiple access)용 음성 부호화표준방식으로서 채널 상태의 변화에 따라 가변적인 전송률을 가진다. 본 논문에서는 적응형 다중 비트 음성 부호화 알고리즘을 분석하고 C프로그램 최적화 과정을 거친 후OakDSPCore/sup R/를 기반으로 설계된 C&S Technology사의 CSD17C00A칩을 이용하여 전과정을 어셈블리어로 실시간 구현하였다. 구현된 코덱은 최대의 계산량을 요구하는6.7 kbps 모드일때 인코더부분이 최대 20.6MIPS이며 디코더부분은 약2.7MIPS의 복잡도를 나타낸다. 사용된 메모리는 약 21.33 kwords, 데이터 RAM메모리는 약 4.25 kwords를 가지며 데이터 ROM메모리는 약 15.1kwords 이다. 구현된 코덱은 최대 약 23.29MIPS의 복잡도를 가지고 있으므로 40MIPS의 성능을 가지는 CSD17C00A를 이용한 보드상에서 실시간 동작이 가능함을 확인하였다. 구현된 프로그램은 ETSI에서 제공하는 21개의 테스트 (test) 벡터를 통하여 bit-exact함을 확인하였다. 그리고 마이크와 스피커를 이용한 실시간 음성 입출력이 음질의 왜곡이나 지연없이 실시간으로 동작함을 확인하였다.

Keywords

References

  1. Digital cellular telecomm-unication system (Phase 2+) Adaptive Multi-Rate(AMR) Speech; Speech Processing functions; General description ETSI Draft EN 301 703
  2. Digital cellular telecomm-unication system (Phase 2+) Adaptive Multi-Rate(AMR) Speech transcoding ETSI Draft EN 301 704
  3. Digital cellular telecomm-unication system (Phase 2+) Adaptive Multi-Rate(AMR) Speech; ANSI-C code for the AMR speech codec ETSI Draft EN 301 712
  4. Digital cellular telecomm-unication system (Phase 2+) Test sequences for the Adaptive Multi-Rate(AMR) speech codec ETSI Draft EN 301 712
  5. Digital cellular telecomm-unication system (Phase 2+) Voice Activity Detector(VAD) for Adaptive Multi-Rate(AMR) speech traffic channels ETSI Draft EN 301 708
  6. 3G TS 26.093, Mandatory Speech Codec speech processing functions AMR speech Codec; Source Controlled Rate operation 3GPP
  7. Digital cellular telecomm-unication system (Phase 2+) Subsitution and muting of lost frames for Adaptive Multi-Rate(AMR) speech traffic channels ETSI Draft EN 301 705
  8. Proc. ICASSP85 Code-Excited Linear Prediction (CELP): High quality speech at very low bit rates M.R. Schoroeder;B.S. Atal
  9. SSP1820 $OakDSPCore^?$ Architecture Specification Samsung Electronics Co. Ltd
  10. DSP Group Assemblers & Linker Users maual DSP Group Inc.