NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
hgurji
Posts: 6
0 Kudos

ecg baseline wander

Hello,

I am acquiring ECG data and have noticed significant baseline shift associated with each respiratory cycle.  After the signal has been acquired, my VI uses peak detection to find the R wave of each waveform, but because of the baseline wander, I get many false positive and false negative peaks.  Additionally, because I am trying to measure precise P wave time measurements and heart rate variability, applying FIR or IIR filtering techniques seem not to be the method of choice (secondarily to their manipulation of the basic ECG waveform itself).  I have read about Labview 8.6 signal processing toolkit, and have seen the detrend vi's.  Unfortunately, I only have access to labview 7.1.  With all this said, can anyone help me with this particular problem?  I know I am asking for a lot (baseline removal without distortion of ECG signal characteristics), but any help is greatly appreciated.  Thanks.

 

-hgurji 

Member
Steve.J
Posts: 195
0 Kudos

Re: ecg baseline wander

How are you acquiring the ECG signal (with what type of amplfier and electrodes, etc.)?  Is this animal or human research?

 

You almost certainly have some kind of AC coupling already (high-pass filter) - it just sounds like the time-constant is too long (filter setting is too low), leading to the wandering baseline (low frequency drift) due to movement artifact.  Most ECG is acquired with a 0.5Hz to 40Hz bandpass filter (though 100Hz is preferred to minimize attenuation of high-frequency features when possible).

 

I'm not clear on why you don't want to simply apply a FIR or IIR high-pass filter to remove the baseline drift.  It will slightly change the shape of the waveform, but it will not significantly affect the higher-frequency components that you are interested in measuring.  The intervals that you are measuring should not be affected (each beat complex will be affected in the same way, so the interbeat intervals will be unaffected).

 

If you absolutely cannot tolerate any further filtering, then you either have to use a more sophisticated detrending (wavelet based) and/or peak detection (there are many algorithms out there - just do a search) or minimize the baseline drift by recording from different sites or using different electrode technology.

 

For ECG signal processing ideas, refer to this great article on ni.com:  http://zone.ni.com/devzone/cda/tut/p/id/6349

 

Steve

National Instruments

 

 

Visit the NI Biomedical User Group at:
www.ni.com/biomedusers
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page