Real-Time Implementation of Acoustic Echo Canceller for Mobile Handset Using TeakLite DSP Core

Teaklite DSP Core 를 이용한 이동통신 단말기용 음향반향제거기의 실시간 구현

  • Gwon, Hong-Seok (School of Electronic & Electrical Engineering, Kyungpook National University) ;
  • Kim, Si-Ho (School of Electronic & Electrical Engineering, Kyungpook National University) ;
  • Jang, Byeong-Uk (School of Electronic & Electrical Engineering, Kyungpook National University) ;
  • Bae, Geon-Seong (School of Electronic & Electrical Engineering, Kyungpook National University)
  • 권홍석 (경북대학교 전자전기공학부) ;
  • 김시호 (경북대학교 전자전기공학부) ;
  • 장병욱 (경북대학교 전자전기공학부) ;
  • 배건성 (경북대학교 전자전기공학부)
  • Published : 2002.03.01

Abstract

In this paper, we developed an acoustic echo canceller in real-time using TeakLite DSP Core, which will be placed in the vocoder chip of a mobile handset. Considering the limited computational capacity given to the acoustic echo canceller in a vocoder chip, we employed a FIR-type adaptive filter using a conventional NLMS algorithm. To begin with, we designed and implemented an acoustic echo canceller with floating-point format C-source code, and then converted it into fixed-point format through integer simulation. Then we programmed and optimized it in the assembler level to make it run ill real-time. After optimization procedure, the implemented echo canceller has approximately 624 words of program memory and 811 words of data memory. With 8 KHz sampling rate and 256 filter taps in the echo canceller that corresponds to 32 msec of echo delay, it requires 14.12 MIPS of computational capacity. For coverage of 16 msec echo delay, i.e., 128 filter taps, 9 MIPS is requited.

본 논문에서는 이동통신 단말기의 음성부호화기에 탑재할 수 있도록 TeakLite DSP Core를 이용한 음향반향제거기(Acoustic Echo Canceller)를 실시간으로 구현하였다. 음성부호화기에서 음향반향제거기가 사용할 수 있는 연산량의 제한때문에 적응필터는 NLMS(Normalized Least Mean Square) 알고리즘을 이용한 FIR 필터를 사용하였다. 먼저 음향반향제거기를 부동소수점 C-언어로 구현한 다음 고정소수점 시뮬레이션을 통하여 고정소수점 연산으로 바꾸었다. 그리고 고정소수점 연산 결과를 기반으로 어셈블리 언어로 프로그램을 작성하고 최적화 과정을 거쳐 실시간으로 동작하도록 하였다. 최종적으로 구현된 반향제거기는 프로그램 메모리가 624 words이고 데이터 메모리는 811 words이었다. 샘플링 주파수를 8 ㎑로 하였을 때, 32 msec의 반향경로 지연시간에 해당되는 256 차수의 필터를 이용한 경우에는 14.12 MIPS의 연산량을, 16 msec의 반향경로 지연시간에 해당되는 128 차수의 필터를 이용한 경우에는 9.00 MIPS의 연산량을 필요로 하였다.

Keywords

References

  1. David G. Messershmitt, 'Echo Cancellation in Speech and Data Transmission,' IEEE J. Selected Areas in Comm., vol. SAC-2, no. 2, pp. 283-297, 1982
  2. http://www.coherent.com
  3. Bernard Widrow, Samuel D. Stearns, Adaptive Signal Processing, Prentice Hall Inc., pp. 99-140, 1985
  4. Simon Haykin, Adaptive Filter Theory, Prentice Hall Inc., pp. 339-444, 1991
  5. Sundar G. Sankaran, 'Implementation and Evaluation of Echo Cancellation Algorithm,' Thesis of Master of the Bradley Department of Electrical Engineering, Virginia Polytechnic Institute and State University, 1996
  6. ITU-T Recommendation G.165, Echo Cancellers, 1993
  7. Hua Ye and Bo-Xiu Wu, 'A New Double-Talk Detection Algorithm Based on the Orthogonality Theorem,' IEEE Transactions on Communica-tions, Vol. 39, No. 11, pp. 1542-1545, 1991 https://doi.org/10.1109/26.111430
  8. 유재하, 윤대희, 조성호, '효율적인 동시통화 검출을 위한 새로운 알고리듬,' 한국통신학회논문집, Vol. 20, No. 7, pp. 1814-1821, 1995
  9. 김시호, 권홍석, 배건성, '음향반향제거기의 동시통화 검출 알고리즘의 성능 개선,' 제9회 한국음성과학회 학술발표대회 논문집, Vol. 1, No. 1, pp. 81-86, 2000
  10. TeakLiteTM Architecture Specification, DSPG Inc. Publication, Revision 4.2.1, 1999
  11. TeakLiteTM Assemblers and Linker Users Manual, DSPG Inc. Publication, Revision 7.2, 1998