Alarcon G, Guy C N, Binnie C D
Physics Department (Biophysics), Imperial College, Prince Consort Road, SW7 2BZ, London, UK.
J Neurosci Methods. 2000 Dec 15;104(1):35-44. doi: 10.1016/s0165-0270(00)00324-1.
Algorithms for low-pass and high-pass three-pole recursive Butterworth filters of a given cut-off frequency have been developed. A band-pass filter can be implemented by sequential application of algorithms for low- and high-pass filters. The algorithms correspond to infinite impulse-response filters that have been designed by applying the bilinear transformation to the transfer functions of the corresponding analog filters, resulting in a recursive digital filter with seven real coefficients. Expressions for filter coefficients as a function of the cut-off frequency and the sampling period are derived. Filter performance is evaluated and discussed. As in the case of their analog counterparts, their transfer function shows marked flattening over the pass band and gradually higher attenuation can be seen at frequencies above or below the cut-off frequency, with a slope of around 60 dB/decade. There is a 3 dB attenuation at the cut-off frequency and a gradual increase in phase shift over one decade above or below the cut-off frequency. Low-pass filters show a maximum overshoot of 8% and high-pass filters show a maximum downwards overshoot of approximately 35%. The filter is mildly under-damped, with a damping factor of 0.5. On an IBM 300GL personal computer at 600 MH with 128 MB RAM, filtering time with MATLAB 5.2 running under Windows 98 is of the order of 50 ms for 60000 samples. This will be adequate for on-line electroencephalography (EEG) applications. The simplicity of the algorithm to calculate filter coefficients for an arbitrary cut-off frequency can be useful to modern EEG laboratories and software designers for electrophysiological applications.
已开发出给定截止频率的低通和高通三极递归巴特沃斯滤波器算法。带通滤波器可通过依次应用低通和高通滤波器算法来实现。这些算法对应于无限冲激响应滤波器,它们是通过将双线性变换应用于相应模拟滤波器的传递函数而设计的,从而得到一个具有七个实系数的递归数字滤波器。推导了作为截止频率和采样周期函数的滤波器系数表达式。对滤波器性能进行了评估和讨论。与它们的模拟对应物一样,其传递函数在通带内显示出明显的平坦度,在截止频率以上或以下的频率处可以看到逐渐增加的衰减,斜率约为60 dB/十倍频程。在截止频率处有3 dB的衰减,在截止频率以上或以下的一个十倍频程内相移逐渐增加。低通滤波器的最大过冲为8%,高通滤波器的最大下冲约为35%。该滤波器的阻尼较小,阻尼因子为0.5。在一台配备128 MB内存、运行速度为600 MHz的IBM 300GL个人计算机上,在Windows 98系统下运行MATLAB 5.2时,对60000个样本进行滤波的时间约为50 ms。这对于在线脑电图(EEG)应用来说是足够的。该算法计算任意截止频率滤波器系数的简单性,对于现代EEG实验室和电生理应用的软件设计师可能会很有用。