<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">ABB</journal-id><journal-title-group><journal-title>Advances in Bioscience and Biotechnology</journal-title></journal-title-group><issn pub-type="epub">2156-8456</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/abb.2012.34047</article-id><article-id pub-id-type="publisher-id">ABB-21866</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  Adaptive removal of power-line interference from high resolution ECG
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>smail</surname><given-names>Sadiq</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Adil</surname><given-names>M. Zuberi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Idrees</surname><given-names>Zaman</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ammad</surname><given-names>Hassan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Tahir</surname><given-names>Zaidi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Centre for Advanced Research in Engineering, Pakistan</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>ismail_sadiq_ee@yahoo.com(SS)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>23</day><month>08</month><year>2012</year></pub-date><volume>03</volume><issue>04</issue><fpage>324</fpage><lpage>326</lpage><history><date date-type="received"><day>1</day>	<month>May</month>	<year>2012</year></date><date date-type="rev-recd"><day>12</day>	<month>June</month>	<year>2012</year>	</date><date date-type="accepted"><day>6</day>	<month>July</month>	<year>2012</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The paper presents a novel approach to adaptive removal of power-line interference, taken to be at 50 Hz, from high resolution ECG sampled at 1 KHz. ECG data consists of 12 lead data. Each of the 12 leads contains power line interference at the time of acquisition. So power line interference needs to be removed from each lead. An approach that uses the power spectral density over the range of interest is used to determine the exact frequency of the interfering component and filter coefficients for the desired notch filter are determined using an interpolation technique.
 
</p></abstract><kwd-group><kwd>Notch Filter; Power Spectrum; Linear Interpolation; Adaptive Noise Removal</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. INTRODUCTION</title><p>Power-line interference is a common source of noise encountered during ECG acquisition. It happens due to the frequency component of the AC mains that occurs at 50/60 Hz (depending on the region). The problem is that this frequency component does not occur exactly at 50 Hz. So a fixed notch filter of 50 Hz will notch effectively remove the noise component effectively even if it occurs at 49 or 51 Hz. The paper proposes a technique which first locates the peak that occurs in the region of interest and estimates the coefficients of the filter required to remove the detected noise component. The technique is not just limited to noise detect at 50 Hz it can be used to detect and remove noise at any frequency adaptively. The algorithm is also efficient as it only calculated the frequency spectrum over the region of interest and hence it is not computationally intensive.</p></sec><sec id="s2"><title>2. METHOD</title><p>10 second data of ECG sampled at 1 KHz is used as an input. The DFT is evaluated over these 10,000 points for the frequency range of 45 to 55 Hz. A fewer number of points can also be used while calculating the DFT (but at a slight expense of accuracy). The formula for the DFT (given in [<xref ref-type="bibr" rid="scirp.21866-ref1">1</xref>]) is given below:</p><disp-formula id="scirp.21866-formula124793"><label>(1)</label><graphic position="anchor" xlink:href="6-7300276\084c94ce-7c98-4459-b7af-dd8d5dc59d13.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="6-7300276\a68f3b1a-3cb7-4711-b361-77a484641a99.jpg" /> corresponds to the input signal of ECG data, N corresponds to the total number of points (10,000 in our case),</p><disp-formula id="scirp.21866-formula124794"><label>(2)</label><graphic position="anchor" xlink:href="6-7300276\6d155172-2a37-4549-8c0d-dda707bcfc72.jpg"  xlink:type="simple"/></disp-formula><p>And k corresponds to the component of the DFT. It ranges from the value corresponding to 45 Hz to the value corresponding to 55 Hz. It can be calculated from the following formula:</p><disp-formula id="scirp.21866-formula124795"><label>(3)</label><graphic position="anchor" xlink:href="6-7300276\4213bad4-73d1-401d-8094-ea306ac2e0de.jpg"  xlink:type="simple"/></disp-formula><p>“Fs” is the sampling frequency, “N” is the number of points In the DFT and f the frequency for which k is to be calculated.</p><p>From the calculated DFT, the max point in the range of 45 - 55 Hz and the corresponding frequency is determined. The coefficients for a notch filter with that frequency are determined using an interpolation technique. The notch filter is a 2<sup>nd</sup> order IIR filter with numerator and denominator polynomials going up to 2<sup>nd</sup> order. All the coefficients are the same for notch filters in the range of 45 to 55 Hz except for the 1<sup>st</sup> order, corresponding to (n – 1), denominator and numerator coefficient (which are identical) but vary linearly as the frequency of the notch is increased. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows a plot of the 1<sup>st</sup> order coefficient as the frequency increases from 45 to 55 Hz.</p><p>The trend followed by the coefficients is almost linear; hence linear interpolation can be used to estimate the 1<sup>st</sup> order coefficient for a frequency that lies within this range.</p><p>The formula used for Fs = 1 KHz and a bandwidth of 1 Hz is given in (4):</p><disp-formula id="scirp.21866-formula124796"><label>(4)</label><graphic position="anchor" xlink:href="6-7300276\4c25ce76-e24b-49bd-ad49-86f438303497.jpg"  xlink:type="simple"/></disp-formula><p>where f is the detected frequency and −1.86388191743263 and −1.90233884591712 are the first order coefficients for the notch filter at frequencies of 55 and 45 Hz respectively.</p></sec><sec id="s3"><title>3. RESULTS</title><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows the FFT for an ECG data sample over the range of 45 to 55 Hz. The spike exists exactly at 49.13 Hz. The adaptive algorithm we implemented estimated the spike at 49.1333 Hz and removes this noise, after estimating the coefficients for the notch filter, as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p></sec><sec id="s4"><title>4. CONCLUSION</title><p>A technique for removing noise at specific frequencies through notch filters has been implemented. A high</p><p>number of points while calculating the DFT leads to an accurate estimation of the frequency of the noise. The technique does not require a desired signal as is required in traditional adaptive techniques [2-4] and hence can be implemented on any sort of data.</p></sec><sec id="s5"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.21866-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Proakis, J.G. and Manolakis, D.G. (1996) Digital signal processing. 3rd Edition, Prentice Hall, Upper Saddle River, 343-345.</mixed-citation></ref><ref id="scirp.21866-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Olguín, D.O., Bouchereau, F. and Martínez, S. (2005) Adaptive notch filter for EEG signals based on the LMS algorithm with variable step-size parameter. Conference on Information Sciences and Systems, Baltimore, 16-18 March 2005.</mixed-citation></ref><ref id="scirp.21866-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Mihov, G. (2011) Subtraction procedure for removing powerline interference from ECG: Dynamic threshold linearity criterion for interference suppression. The 4th International Conference on Biomedical Engineering and Informatics (BMEI), Sofia, 15-17 October 2011.</mixed-citation></ref><ref id="scirp.21866-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Malindi, P. (2002) Cancelling power line interference in electrophy-siological signals. ECT Research Journal, 2.</mixed-citation></ref></ref-list></back></article>