Home Efficient design of FIR filter based low-pass differentiators for biomedical signal processing
Article Open Access

Efficient design of FIR filter based low-pass differentiators for biomedical signal processing

  • Michael Wulf EMAIL logo , Gerhard Staude , Andreas Knopp and Thomas Felderhoff
Published/Copyright: September 30, 2016

Abstract

This paper describes an alternative design of linear phase low-pass differentiators with a finite impulse response (type III FIR filter). To reduce the number of necessary filter coefficients, the differentiator’s transfer function is approximated by a Fourier series of a triangle function. Thereby the filter’s transition steepness towards the stopband is intentionally reduced. It can be shown that the proposed design of low-pass differentiators yields to similar results as other published design recommendations, while the filter order can be significantly reduced.

1 Introduction

When processing different types of biomedical signals one is often interested in extracting information about rapid transient characteristics in the signal like local extrema or inflection points. For example common methods for the determination of foot points in arterial pulse waves are based on calculating the first and second derivatives [1]. If the signal is disturbed by broadband noise or short time interferences classical numerical differentiators for calculating first or higher order derivatives are difficult to use because all differentiators have an inherent high-pass characteristic and amplify higher frequency components in the signal.The frequency response of an ideal n-th order continuous-time differentiator is given by

(1)HD,n(jω)=(jω)n.

As it can be seen in (1), an ideal first order differentiator has a pure imaginary transfer function with a linear slope. To compensate the high-pass characteristics, a low-pass filter can be used to suppress the amplification of high frequency disturbances in the signal. This combination yields to a low-pass differentiator. The frequency response of an ideal first order low-pass differentiator is given by (2), where Ωc denotes the cut-off frequency of the low-pass filter. Figure 1 illustrates the frequency responses of an ideal differentiator and an ideal low-pass differentiator.

Figure 1 Amplitude responses of an ideal differentiator and an ideal low-pass differentiator (both first order).
Figure 1

Amplitude responses of an ideal differentiator and an ideal low-pass differentiator (both first order).

(2)HLPD(jω)={jωif |ω|Ωc0otherwise

Under the constraints of linear and time-invariant system behavior, low-pass differentiators can be implemented either as a cascade of a low-pass filter and a differentiator [2], [3] or as a combination in one filter [4], [5]. The proposed design in this paper leads to a single linear phase FIR filter. Its characteristics are compared to the design of maximally flat low-pass differentiators by Selesnick [5].

2 Methods

To avoid filters with higher orders because of the sharp transition between pass- and stopband, the proposed design approximates the transfer function by a Fourier series expansion of a triangle function. Thereby the reduced transition steepness towards the stopband is chosen on purpose as a tradeoff for the smaller filter order required. Let T denote the sampling interval of a discrete-time system, the angular sampling frequency is given by

(3)Ω=2πT.

The ideal approximation of the proposed filter as a discrete-time system can be formulated piecewise as follows:

(4)HΔ(jω)={0Ω2<ω<2Ωcj(ω+2Ωc)2Ωcω<ΩcjωΩcω<Ωcj(ω2Ωc)Ωcω2Ωc02Ωc<ω<Ω2Ω-periodicotherwise

Figure 2 illustrates the ideal approximation of an Ω-periodic triangle function. Because of the periodicity in Ω, the triangle function defined in (4) can be approximated by a Fourier series with

(5)HΔ(jω)=HΔ(jω+jΩ)=n=hnejnωT.
Figure 2 Ideal approximation of an Ω-periodic triangle function as a transfer function of a discrete-time, first order low-pass differentiator.
Figure 2

Ideal approximation of an Ω-periodic triangle function as a transfer function of a discrete-time, first order low-pass differentiator.

The calculation of the Fourier coefficients hn is given by

(6)hn=1ΩΩ/2Ω/2HΔ(jω)ejnωTdω.

Inserting the piecewise definition from (4) into (6) yields to the final definition of the coefficients for the Fourier series as an approximation of the triangle function.

(7)hn={0if n=02πTn2sin(nΩcT)[1cos(nΩcT)]if n0

From (7) follows that the Fourier coefficients converge by 1/n2 to zero. Taking into account that the cut-off frequency Ωc must be in the range of 0<ΩcΩ/4, a factor γ can be defined.

(8)0<ΩcΩ4Ωc=γΩ4 with 0<γ1

Using γ in (7) and considering the definition of Ω from (3) yields to a definition of the Fourier coefficients, where the arguments of the trigonometric functions become independent of the sampling interval:

(9)hn={0if n=02πTn2sin(γnπ2)[1cos(γnπ2)]if n0

From (7) and (9) it can be seen that the coefficients have an odd symmetry (hn=hn). To realize a filter with an finite impulse response (FIR filter), the Fourier series has to be truncated after a finite number of elements. Considering the symmetry, the series can be truncated after 2L + 1 elements for LnL. This results in an approximation by

(10)H^Δ(jω)=n=LLhnejnωT.

Figure 3 illustrates the Fourier series based approximation of the triangle function from Figure 2 with γ=2/3 and 9 coefficients. Due to the truncation of the Fourier series expansion, ripples in the pass- and stopband of the proposed filter’s transfer function are present. The amplitude of these ripples decreases with increasing number of coefficients. To finish the filter design process the complex exponentials in (10) have to be substituted by z=ejωT. Furthermore, the resulting impulse response has to be shifted by L sampling intervals to realize a causal system. This leads to the z-transform of the system

(11)H~Δ(z)=n=0N=2Lh~nznwith z=ejωT.
Figure 3 Approximation of the triangle function from Figure 2 by a Fourier series with 9 coefficients.
Figure 3

Approximation of the triangle function from Figure 2 by a Fourier series with 9 coefficients.

The filter coefficients h~n can directly be computed via the Fourier coefficients by

h~n=hnL   with n=0..N and N=2L.

3 Results

The proposed design of triangle approximated low-pass differentiators (Δ-LPD) creates type III FIR filters (even filter order, odd symmetry). This implies that the frequency response has a bandpass characteristic with linear phase and a constant group delay of N/2 samples. Figure 4A shows the amplitude responses of six implementations of the proposed design with identical filter order (N=14) but varying cut-off frequencies. The truncation of the Fourier series yields to obvious ripples in the shape of the amplitude responses. These ripples lead to regions where the slope in the each filter’s passband is larger than one. Compared to the ideal differentiator this means an amplification of the corresponding frequency components. To avoid these amplifications, the coefficients have to be scaled to the maximum slope of the amplitude response as shown in Figure 4B.

Figure 4 (A) Amplitude responses of the proposed filter design (varying cut-off frequencies, identical filter order); (B) same amplitude responses scaled to the maximum slope in the passband.
Figure 4

(A) Amplitude responses of the proposed filter design (varying cut-off frequencies, identical filter order); (B) same amplitude responses scaled to the maximum slope in the passband.

Compared to the well published design of maximally-flat low-pass differentiators by Selesnick [5], the filter order can significantly be reduced even if a similar bandwidth of the filter has to be realized. Figure 5 illustrates a comparison between the proposed design and two implementations of Selesnick’s design. It can be seen that in this case the filter order can be reduced by approximately 36% while bandwidths and cut-off frequencies are similar.

Figure 5 Amplitude response of the proposed filter design compared to the maximally-flat design by Selesnick [5].
Figure 5

Amplitude response of the proposed filter design compared to the maximally-flat design by Selesnick [5].

To verify that the proposed design provides an efficient way to calculate the derivative of a signal, Figure 6 illustrates the exemplary usage for processing pulse pressure signals. Figure 6A shows a synthesized waveform of an arterial blood pressure signal. A single blood pressure wave is generated by superimposing three Gaussian functions as shown in (13). The parameters are obtained by minimizing the least squared errors to a real waveform from a clinical dataset of a healthy person (sampling frequency fs = 128 Hz). The single pressure wave is repeated several times while the transition between two adjacent waves is smoothed by a spline interpolation over six samples.

Figure 6 (A) Synthesized waveform of an arterial blood pressure signal; (B) exact mathematical derivative; (C) comparison between exact derivative (blue) and result of Δ-LPD (orange, N=14, γ=0.289$\gamma=0.289$); (D) comparison between exact derivative (blue) and result of Selesnick-LPD (green, N = 22, K = 21).
Figure 6

(A) Synthesized waveform of an arterial blood pressure signal; (B) exact mathematical derivative; (C) comparison between exact derivative (blue) and result of Δ-LPD (orange, N=14, γ=0.289); (D) comparison between exact derivative (blue) and result of Selesnick-LPD (green, N = 22, K = 21).

(12)x(t)=a0+m=13amebm(tcm)2
(13)dx(t)dt=x˙(t)=m=132ambm(tcm)ebm(tcm)2

The exact mathematical derivative of the signal is given by (14) and also shown in Figure 6B. Figure 6C illustrates a comparison between this derivative and the output of an implementation of the proposed filter design. The filter order was chosen to N = 14 and the cut-off frequency was Ωc=0.2894Ω. The results of filtering the same signal by an implementation of Selesnick’s design is illustrated in Figure 6D where the filter order was set to N = 22. The shapes of both filtering results are quite similar, as it can be seen by the zero crossings in Figure 6C and D. The sum of squared errors of the proposed design is about 7.1% larger than for the Selesnick design which can be attributed to the slightly smaller cut-off frequency and bandwidth as well as the greater attenuation of the Δ-LPD filter. As a consequence the deviation of the ideal differentiator’s amplitude response begins at smaller frequencies compared to Selesnick’s design. Furthermore the minor ripples in the passband lead to somewhat greater deviation in the waveform of the filter’s output.

The results of using the same two filters to detect extreme values and inflection points in noise disturbed signals are shown in Table 2. Almost all present extreme values in the signal are robustly found by both filters. The advantage of the proposed design is the reduction of falsely detected additional extreme and inflection points (~9.5% and 14.2% at 40 dB AWGN) compared to the Selesnick design (~13.5% and 18.4% at 40 dB AWGN) with increasing noise.

Table 1

Parameters for the synthesized blood pressure signal.

mam (mmHg)bm (s−2)cm (s)
076.25
133.64351.960.0851
221.0475.2050.1783
314.7858.5690.4196
Table 2

Detection of extreme values and inflection points in the synthesized waveform with different levels of additive noise (AWGN).

Characteristic40 dB AWGN60 dB AWGN80 dB AWGN
Δ-LPDSel.-LPDΔ-LPDSel.-LPDΔ-LPDSel.-LPD
Maxima
 Detection rate1.0001.0001.0001.0001.0001.000
 False detection rate0.0950.1350000
 Mean deviation [samples]–0.623–0.648–0.499–0.499–0.5–0.5
Minima
 Detection rate0.9990.9991111
 False detection rate0.0960.1360000
 Mean deviation [samples]–1.309–1.274–1.111–1.242–1–1
I.-points
 Detection rate0.8730.8870.9160.95111
 False detection rate0.1420.1840000
 Mean deviation [samples]0.2160.2040.1520.170.0030.041

4 Conclusion

The proposed design for low-pass differentiators shows similar performance as published designs but considerably reduces the number of filter coefficients. Because of the triangle approximation, the coefficients converge by 1/n2 to zero and additional windowing of the coefficients as known in standard FIR filter designs is not necessary. Analysis of synthesized waveforms indicates that the slightly greater deviation from the ideal differentiator in the passband has no considerable impact on the reliability and accuracy of detected events. The reduced filter order allows for a memory-efficient implementation with small filter delay which makes the method particularly attractive for real-time operations in mobile applications.

Author’s Statement

Research funding: The author state no funding involved. Conflict of interest: Authors state no conflict of interest. Informed consent: Informed consent has been obtained from all individuals included in this study. Ethical approval: The research related to human use complieds with all the relevant national regulations, institutional policies and in accordance was performed in accordance with the tenets of the Helsinki Declaration, and has been approved by the authors’ institutional review board or equivalent committee.

References

[1] Kazanavicius E, Gircys R, Vrubliauskas A. Mathematical methods for determining the foot point of the arterial pulse wave and evaluation of proposed methods. Inform Technol Cont. 2005;34:29–36.Search in Google Scholar

[2] Pan J, Tompkins WJ. A real-time QRS detection algorithm. IEEE Trans Biomed Eng. 1985;32:230–6.10.1109/TBME.1985.325532Search in Google Scholar PubMed

[3] Al-Alaoui MA. Linear phase low-pass IIR digital differentiators. IEEE Trans Signal Proc. 2007;55:697–706.10.1109/TSP.2006.885741Search in Google Scholar

[4] Kumar B, Dutta Roy SC. Design of digital differentiators for low frequencies. Proc IEEE. 1988;76:287–9.10.1109/5.4408Search in Google Scholar

[5] Selesnick IW. Maximally flat low-pass digital differentiators. IEEE Trans Circuits Syst II Analog Digit Signal Proc. 2002;49:219–23.10.1109/TCSII.2002.1013869Search in Google Scholar

Published Online: 2016-9-30
Published in Print: 2016-9-1

©2016 Michael Wulf et al., licensee De Gruyter.

This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.

Articles in the same Issue

  1. Synthesis and characterization of PIL/pNIPAAm hybrid hydrogels
  2. Novel blood protein based scaffolds for cardiovascular tissue engineering
  3. Cell adhesion and viability of human endothelial cells on electrospun polymer scaffolds
  4. Effects of heat treatment and welding process on superelastic behaviour and microstructure of micro electron beam welded NiTi
  5. Long-term stable modifications of silicone elastomer for improved hemocompatibility
  6. The effect of thermal treatment on the mechanical properties of PLLA tubular specimens
  7. Biocompatible wear-resistant thick ceramic coating
  8. Protection of active implant electronics with organosilicon open air plasma coating for plastic overmolding
  9. Examination of dielectric strength of thin Parylene C films under various conditions
  10. Open air plasma deposited antimicrobial SiOx/TiOx composite films for biomedical applications
  11. Systemic analysis about residual chloroform in PLLA films
  12. A macrophage model of osseointegration
  13. Towards in silico prognosis using big data
  14. Technical concept and evaluation of a novel shoulder simulator with adaptive muscle force generation and free motion
  15. Usability evaluation of a locomotor therapy device considering different strategies
  16. Hypoxia-on-a-chip
  17. Integration of a semi-automatic in-vitro RFA procedure into an experimental setup
  18. Fabrication of MEMS-based 3D-μECoG-MEAs
  19. High speed digital interfacing for a neural data acquisition system
  20. Bionic forceps for the handling of sensitive tissue
  21. Experimental studies on 3D printing of barium titanate ceramics for medical applications
  22. Patient specific root-analogue dental implants – additive manufacturing and finite element analysis
  23. 3D printing – a key technology for tailored biomedical cell culture lab ware
  24. 3D printing of hydrogels in a temperature controlled environment with high spatial resolution
  25. Biocompatibility of photopolymers for additive manufacturing
  26. Biochemical piezoresistive sensors based on pH- and glucose-sensitive hydrogels for medical applications
  27. Novel wireless measurement system of pressure dedicated to in vivo studies
  28. Portable auricular device for real-time swallow and chew detection
  29. Detection of miRNA using a surface plasmon resonance biosensor and antibody amplification
  30. Simulation and evaluation of stimulation scenarios for targeted vestibular nerve excitation
  31. Deep brain stimulation: increasing efficiency by alternative waveforms
  32. Prediction of immediately occurring microsleep events from brain electric signals
  33. Determining cardiac vagal threshold from short term heart rate complexity
  34. Classification of cardiac excitation patterns during atrial fibrillation
  35. An algorithm to automatically determine the cycle length coverage to identify rotational activity during atrial fibrillation – a simulation study
  36. Deriving respiration from high resolution 12-channel-ECG during cycling exercise
  37. Reducing of gradient induced artifacts on the ECG signal during MRI examinations using Wilcoxon filter
  38. Automatic detection and mapping of double potentials in intracardiac electrograms
  39. Modeling the pelvic region for non-invasive pelvic intraoperative neuromonitoring
  40. Postprocessing algorithm for automated analysis of pelvic intraoperative neuromonitoring signals
  41. Best practice: surgeon driven application in pelvic operations
  42. Vasomotor assessment by camera-based photoplethysmography
  43. Classification of morphologic changes in photoplethysmographic waveforms
  44. Novel computation of pulse transit time from multi-channel PPG signals by wavelet transform
  45. Efficient design of FIR filter based low-pass differentiators for biomedical signal processing
  46. Nonlinear causal influences assessed by mutual compression entropy
  47. Comparative study of methods for solving the correspondence problem in EMD applications
  48. fNIRS for future use in auditory diagnostics
  49. Semi-automated detection of fractional shortening in zebrafish embryo heart videos
  50. Blood pressure measurement on the cheek
  51. Derivation of the respiratory rate from directly and indirectly measured respiratory signals using autocorrelation
  52. Left cardiac atrioventricular delay and inter-ventricular delay in cardiac resynchronization therapy responder and non-responder
  53. An automatic systolic peak detector of blood pressure waveforms using 4th order cumulants
  54. Real-time QRS detection using integrated variance for ECG gated cardiac MRI
  55. Preprocessing of unipolar signals acquired by a novel intracardiac mapping system
  56. In-vitro experiments to characterize ventricular electromechanics
  57. Continuous non-invasive monitoring of blood pressure in the operating room: a cuffless optical technology at the fingertip
  58. Application of microwave sensor technology in cardiovascular disease for plaque detection
  59. Artificial blood circulatory and special Ultrasound Doppler probes for detecting and sizing gaseous embolism
  60. Detection of microsleep events in a car driving simulation study using electrocardiographic features
  61. A method to determine the kink resistance of stents and stent delivery systems according to international standards
  62. Comparison of stented bifurcation and straight vessel 3D-simulation with a prior simulated velocity profile inlet
  63. Transient Euler-Lagrange/DEM simulation of stent thrombosis
  64. Automated control of the laser welding process of heart valve scaffolds
  65. Automation of a test bench for accessing the bendability of electrospun vascular grafts
  66. Influence of storage conditions on the release of growth factors in platelet-rich blood derivatives
  67. Cryopreservation of cells using defined serum-free cryoprotective agents
  68. New bioreactor vessel for tissue engineering of human nasal septal chondrocytes
  69. Determination of the membrane hydraulic permeability of MSCs
  70. Climate retainment in carbon dioxide incubators
  71. Multiple factors influencing OR ventilation system effectiveness
  72. Evaluation of an app-based stress protocol
  73. Medication process in Styrian hospitals
  74. Control tower to surgical theater
  75. Development of a skull phantom for the assessment of implant X-ray visibility
  76. Surgical navigation with QR codes
  77. Investigation of the pressure gradient of embolic protection devices
  78. Computer assistance in femoral derotation osteotomy: a bottom-up approach
  79. Automatic depth scanning system for 3D infrared thermography
  80. A service for monitoring the quality of intraoperative cone beam CT images
  81. Resectoscope with an easy to use twist mechanism for improved handling
  82. In vitro simulation of distribution processes following intramuscular injection
  83. Adjusting inkjet printhead parameters to deposit drugs into micro-sized reservoirs
  84. A flexible standalone system with integrated sensor feedback for multi-pad electrode FES of the hand
  85. Smart control for functional electrical stimulation with optimal pulse intensity
  86. Tactile display on the remaining hand for unilateral hand amputees
  87. Effects of sustained electrical stimulation on spasticity assessed by the pendulum test
  88. An improved tracking framework for ultrasound probe localization in image-guided radiosurgery
  89. Improvement of a subviral particle tracker by the use of a LAP-Kalman-algorithm
  90. Learning discriminative classification models for grading anal intraepithelial neoplasia
  91. Regularization of EIT reconstruction based on multi-scales wavelet transforms
  92. Assessing MRI susceptibility artefact through an indicator of image distortion
  93. EyeGuidance – a computer controlled system to guide eye movements
  94. A framework for feedback-based segmentation of 3D image stacks
  95. Doppler optical coherence tomography as a promising tool for detecting fluid in the human middle ear
  96. 3D Local in vivo Environment (LivE) imaging for single cell protein analysis of bone tissue
  97. Inside-Out access strategy using new trans-vascular catheter approach
  98. US/MRI fusion with new optical tracking and marker approach for interventional procedures inside the MRI suite
  99. Impact of different registration methods in MEG source analysis
  100. 3D segmentation of thyroid ultrasound images using active contours
  101. Designing a compact MRI motion phantom
  102. Cerebral cortex classification by conditional random fields applied to intraoperative thermal imaging
  103. Classification of indirect immunofluorescence images using thresholded local binary count features
  104. Analysis of muscle fatigue conditions using time-frequency images and GLCM features
  105. Numerical evaluation of image parameters of ETR-1
  106. Fabrication of a compliant phantom of the human aortic arch for use in Particle Image Velocimetry (PIV) experimentation
  107. Effect of the number of electrodes on the reconstructed lung shape in electrical impedance tomography
  108. Hardware dependencies of GPU-accelerated beamformer performances for microwave breast cancer detection
  109. Computer assisted assessment of progressing osteoradionecrosis of the jaw for clinical diagnosis and treatment
  110. Evaluation of reconstruction parameters of electrical impedance tomography on aorta detection during saline bolus injection
  111. Evaluation of open-source software for the lung segmentation
  112. Automatic determination of lung features of CF patients in CT scans
  113. Image analysis of self-organized multicellular patterns
  114. Effect of key parameters on synthesis of superparamagnetic nanoparticles (SPIONs)
  115. Radiopacity assessment of neurovascular implants
  116. Development of a desiccant based dielectric for monitoring humidity conditions in miniaturized hermetic implantable packages
  117. Development of an artifact-free aneurysm clip
  118. Enhancing the regeneration of bone defects by alkalizing the peri-implant zone – an in vitro approach
  119. Rapid prototyping of replica knee implants for in vitro testing
  120. Protecting ultra- and hyperhydrophilic implant surfaces in dry state from loss of wettability
  121. Advanced wettability analysis of implant surfaces
  122. Patient-specific hip prostheses designed by surgeons
  123. Plasma treatment on novel carbon fiber reinforced PEEK cages to enhance bioactivity
  124. Wear of a total intervertebral disc prosthesis
  125. Digital health and digital biomarkers – enabling value chains on health data
  126. Usability in the lifecycle of medical software development
  127. Influence of different test gases in a non-destructive 100% quality control system for medical devices
  128. Device development guided by user satisfaction survey on auricular vagus nerve stimulation
  129. Empirical assessment of the time course of innovation in biomedical engineering: first results of a comparative approach
  130. Effect of left atrial hypertrophy on P-wave morphology in a computational model
  131. Simulation of intracardiac electrograms around acute ablation lesions
  132. Parametrization of activation based cardiac electrophysiology models using bidomain model simulations
  133. Assessment of nasal resistance using computational fluid dynamics
  134. Resistance in a non-linear autoregressive model of pulmonary mechanics
  135. Inspiratory and expiratory elastance in a non-linear autoregressive model of pulmonary mechanics
  136. Determination of regional lung function in cystic fibrosis using electrical impedance tomography
  137. Development of parietal bone surrogates for parietal graft lift training
  138. Numerical simulation of mechanically stimulated bone remodelling
  139. Conversion of engineering stresses to Cauchy stresses in tensile and compression tests of thermoplastic polymers
  140. Numerical examinations of simplified spondylodesis models concerning energy absorption in magnetic resonance imaging
  141. Principle study on the signal connection at transabdominal fetal pulse oximetry
  142. Influence of Siluron® insertion on model drug distribution in the simulated vitreous body
  143. Evaluating different approaches to identify a three parameter gas exchange model
  144. Effects of fibrosis on the extracellular potential based on 3D reconstructions from histological sections of heart tissue
  145. From imaging to hemodynamics – how reconstruction kernels influence the blood flow predictions in intracranial aneurysms
  146. Flow optimised design of a novel point-of-care diagnostic device for the detection of disease specific biomarkers
  147. Improved FPGA controlled artificial vascular system for plethysmographic measurements
  148. Minimally spaced electrode positions for multi-functional chest sensors: ECG and respiratory signal estimation
  149. Automated detection of alveolar arches for nasoalveolar molding in cleft lip and palate treatment
  150. Control scheme selection in human-machine- interfaces by analysis of activity signals
  151. Event-based sampling for reducing communication load in realtime human motion analysis by wireless inertial sensor networks
  152. Automatic pairing of inertial sensors to lower limb segments – a plug-and-play approach
  153. Contactless respiratory monitoring system for magnetic resonance imaging applications using a laser range sensor
  154. Interactive monitoring system for visual respiratory biofeedback
  155. Development of a low-cost senor based aid for visually impaired people
  156. Patient assistive system for the shoulder joint
  157. A passive beating heart setup for interventional cardiology training
Downloaded on 17.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/cdbme-2016-0048/html
Scroll to top button