摘要
针对现有音频信号重采样算法普遍具有的计算开销大的缺点,提出一种基于级联积分器与梳状(CIC)滤波器原理的音频信号快速重采样算法,应用于计算资源有限的嵌入式系统中。构造同时包含内插和抽取环节的三级CIC重采样滤波器,并根据其工作过程提出一种基本的音频信号重采样算法。推导由积分器寄存器值计算重采样值的公式,替代基本重采样算法中耗时的内插循环操作,从而得到音频信号快速重采样算法。该快速算法不需要存储滤波器系数,计算开销极小,在满足奈奎斯特采样定理的前提下可实现任意采样率转换,极大地提高了嵌入式音频重采样系统的性价比。
Aiming at the shortcoming that the existing audio signal resampling algorithm has great computational overhead, a fast resampling algorithm of audio signal based on the principle of Cascade Integrator and Comb(CIC) filter is proposed. We applied it to the embedded system with limited computing resources. We constructed a three-stage CIC resampling filter containing both interpolation and decimation links, and proposed a basic audio signal-resampling algorithm according to its working process. Then, the formula for calculating the resampling value from the integrator register value was deduced, which replaced the time-consuming interpolation loop operation in the basic resampling algorithm, and the fast resampling algorithm of the audio signal was obtained. The fast algorithm does not need the storage filter coefficient, and has very small calculation overhead. It can realize arbitrary sampling rate conversion under the premise of satisfying the Nyquist sampling theorem, and greatly improves the performance price ratio of the embedded audio resampling system.
引文
[1] 奥本海姆,谢弗.离散时间信号处理[M].北京:电子工业出版社,2015.
[2] Bregovic R,Yu Y J,Saramaki T,et al.Implementation of Linear-Phase FIR Filters for a Rational Sampling-Rate Conversion Utilizing the Coefficient Symmetry[J].IEEE Transactions on Circuits and Systems,2011,58(3):548-561.
[3] Kumar A,Yadav S,Purohit N.Generalized Rational Sampling Rate Conversion Polyphase FIR Filter[J].IEEE Signal Processing Letters,2017,24(11):1591-1595.
[4] Rajamani K,Lai Y S,Farrow C W.An Efficient Algorithm for Sample Rate Conversion from CD to DAT[J].IEEE Signal Processing Letters,2000,7(10):288-290.
[5] Chinaev A,Enzner G,Schmalenstroeer J.Fast and Accurate Audio Resampling for Acoustic Sensor Networks by Polyphase-Farrow Filters with FFT Realization[C]//Proceedings of ITG Fachtagung Sprachkommunikation(Speech Communications),Germany,Oldenburg,Oct.2018:96-100.
[6] Chinaev A,Thune P,Enzner G.Low-Rate Farrow Structure with Discrete-Lowpass and Polynomial Support for Audio Resampling [C]// 2018 26th European Signal Processing Conference(EUSIPCO),2018:475-479.
[7] Abbas M,Gustafsson O,Johansson H.On the Fixed-Point Implementation of Fractional-Delay Filters Based on the Farrow Structure[J].IEEE Transactions on Circuits and Systems,2013,60(4):926-937.
[8] Matthew P D.CIC filter introduction[EB/OL].2010-3-23.http://home.mit.bme.hu/~kollar/papers/cic.pdf.
[9] 李凯勇.CIC滤波器改进及其FPGA实现[J].现代电子技术,2013,36(1):61-63.
[10] Stosic B P,Pavlovic V D.Design of New Selective CIC Filter Functions with Passband-Droop Compensation[J].Electronics Letters,2016,52(2):115-117.
[11] Romero D E T.Efficient CIC-Based Architecture with Improved Aliasing Rejection and Reduced Computational Complexity[J].Electronics Letters,2016,52(15):1294-1295.
[12] 于进强,陶小鱼,欧斌.基于CIC滤波的重采样技术[J].信息技术,2008(12):65-67.