Heart Rate Variability Preparing Data for Analysis Using AcqKnowledge

Similar documents
Pseudorandom Stimuli Following Stimulus Presentation

Overview. Signal Averaged ECG

#PS168 - Analysis of Intraventricular Pressure Wave Data (LVP Analysis)

Lesson 14 BIOFEEDBACK Relaxation and Arousal

Lesson 10 Manual Revision BIOPAC Systems, Inc.

Lesson 1 EMG 1 Electromyography: Motor Unit Recruitment

VivoSense. User Manual Galvanic Skin Response (GSR) Analysis Module. VivoSense, Inc. Newport Beach, CA, USA Tel. (858) , Fax.

Spectrum Analyser Basics

Appendix D. UW DigiScope User s Manual. Willis J. Tompkins and Annie Foong

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Introduction: Overview. EECE 2510 Circuits and Signals: Biomedical Applications. ECG Circuit 2 Analog Filtering and A/D Conversion

Biopac Student Lab Lesson 9 ELECTRODERMAL ACTIVITY & POLYGRAPH Analysis Procedure. Rev

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

BioGraph Infiniti Physiology Suite

BASIC TUTORIAL. Jocelyn Mariah Kremer, Mike Mullins Documentation BIOPAC Systems, Inc. William McMullen Vice President BIOPAC Systems, Inc.

Thought Technology Ltd Belgrave Avenue, Montreal, QC H4A 2L8 Canada

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

Getting started with Spike Recorder on PC/Mac/Linux

Preparation of the participant. EOG, ECG, HPI coils : what, why and how

PRODUCT SHEET TRANSDUCER MODULE GSR100C

The Measurement Tools and What They Do

Chapter 1. Introduction to Digital Signal Processing

NOTICE: This document is for use only at UNSW. No copies can be made of this document without the permission of the authors.

PRODUCT SHEET

Pre-Processing of ERP Data. Peter J. Molfese, Ph.D. Yale University

Lab experience 1: Introduction to LabView

Benefits of the R&S RTO Oscilloscope's Digital Trigger. <Application Note> Products: R&S RTO Digital Oscilloscope

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

BitWise (V2.1 and later) includes features for determining AP240 settings and measuring the Single Ion Area.

User Guide EMG. This user guide has been created to educate and inform the reader about doing EMG measurements

Brain-Computer Interface (BCI)

ISCEV SINGLE CHANNEL ERG PROTOCOL DESIGN

The BAT WAVE ANALYZER project

Realizing Waveform Characteristics up to a Digitizer s Full Bandwidth Increasing the effective sampling rate when measuring repetitive signals

SEM- EDS Instruction Manual

DETECTING ENVIRONMENTAL NOISE WITH BASIC TOOLS

An Introduction to the Spectral Dynamics Rotating Machinery Analysis (RMA) package For PUMA and COUGAR

BTV Tuesday 21 November 2006

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

DATA! NOW WHAT? Preparing your ERP data for analysis

Advanced Techniques for Spurious Measurements with R&S FSW-K50 White Paper

Pitch. The perceptual correlate of frequency: the perceptual dimension along which sounds can be ordered from low to high.

User Guide. qeeg NeXus-32. This user guide has been created to educate and inform the reader about doing qeeg measurements with the NeXus-32

iworx Sample Lab Experiment HM-3: The Electrogastrogram (EGG) and the Growling Stomach

Digital Storage Oscilloscopes 2550 Series

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Biopac Student Lab PRO Manual. Professional Version 3.7.7

PROCESSING YOUR EEG DATA

Simple Harmonic Motion: What is a Sound Spectrum?

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

MestReNova A quick Guide. Adjust signal intensity Use scroll wheel. Zoomen Z

Introduction to the oscilloscope and digital data acquisition

Achieving More Efficient Data Review with OpenLAB CDS

HBI Database. Version 2 (User Manual)

Quick Reference Manual

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

Audacity Tips and Tricks for Podcasters

Introduction To LabVIEW and the DSP Board

Experiment HM-8: The Electrogastrogram (EGG) and the Growling Stomach

FOTS100 User Manual. BIOPAC Systems, Inc. Opsens Inc. 42 Aero Camino, Goleta, CA Tel (805) , Fax (805)

PS User Guide Series Seismic-Data Display

Standard Operating Procedure of nanoir2-s

Interface Practices Subcommittee SCTE STANDARD SCTE Measurement Procedure for Noise Power Ratio

A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

Working with a Tektronix TDS 3012B Oscilloscope EE 310: ELECTRONIC CIRCUIT DESIGN I

Activity P32: Variation of Light Intensity (Light Sensor)

User manual. English. Perception CSI Extension Harmonic Analysis Sheet. A en

CHAPTER 3 ECG SIGNAL RECORDING USING LABVIEW

Analysis of AP/axon classes and PSP on the basis of AP amplitude

Agilent PN Time-Capture Capabilities of the Agilent Series Vector Signal Analyzers Product Note

Getting Started with the LabVIEW Sound and Vibration Toolkit

Analyzing and Saving a Signal

Identification of Motion Artifact in Ambulatory ECG Signal Using Wavelet Techniques

Tutorial FITMASTER Tutorial

Automatic LP Digitalization Spring Group 6: Michael Sibley, Alexander Su, Daphne Tsatsoulis {msibley, ahs1,

1 Ver.mob Brief guide

Mastering Phase Noise Measurements (Part 3)

Object selectivity of local field potentials and spikes in the macaque inferior temporal cortex

Processing data with Mestrelab Mnova

Linrad On-Screen Controls K1JT

BeneHeart R3. Electrocardiograph

Analyze Frequency Response (Bode Plots) with R&S Oscilloscopes Application Note

Topic: Instructional David G. Thomas December 23, 2015

Tech Note: How to measure additive phase noise of amplifiers using the 7000 Series

medlab One Channel ECG OEM Module EG 01000

COMPOSITE VIDEO LUMINANCE METER MODEL VLM-40 LUMINANCE MODEL VLM-40 NTSC TECHNICAL INSTRUCTION MANUAL

Activity P27: Speed of Sound in Air (Sound Sensor)

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

Assessing and Measuring VCR Playback Image Quality, Part 1. Leo Backman/DigiOmmel & Co.

Advanced Test Equipment Rentals ATEC (2832)

Real-Time Spectrogram (RTS tm )

Analyzing Modulated Signals with the V93000 Signal Analyzer Tool. Joe Kelly, Verigy, Inc.

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Tutorial 3 Normalize step-cycles, average waveform amplitude and the Layout program

USB Mini Spectrum Analyzer User s Guide TSA5G35

A low noise multi electrode array system for in vitro electrophysiology. Mobius Tutorial AMPLIFIER TYPE SU-MED640

Dynamic re-referencing Microvolt-level measurements with the R&S RTO oscilloscopes

MachineryMate 800 operating guide Handheld vibration meter

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

Transcription:

APPLICATION NOTE 42 Aero Camino, Goleta, CA 93117 Tel (805) 685-0066 Fax (805) 685-0067 info@biopac.com www.biopac.com 01.06.2016 Application Note 233 Heart Rate Variability Preparing Data for Analysis Using AcqKnowledge This Application Note explains how to optimize ECG R-R interval data for Heart Rate Variability studies by using a template matching approach. It also explains how to identify erroneous R-R interval values caused by signal artifact and shows methods for correcting the errors by using the tools in the AcqKnowledge software. The note explains how to: A. Record good ECG data B. Prepare data for the tachogram 1. Filter the ECG data 2. Transform the data using Template Correlation function C. Create a tachogram D. Identify problems with the tachogram data E. Correct tachogram data Recording good data is essential for performing HRV analysis. The following protocol for data acquisition, filtering, artifact detection and correction results in great improvements in HRV analysis. Results reveal that even a single heart period artifact, occurring within a 2-min recording epoch, can lead to errors of estimate heart period variability that are considerably larger than typical effect sizes in psychophysiological studies. Berntson & Stowell, 1998 A. Record good ECG data 1. Hardware Setup ECG100C amplifier settings: i. Gain:1000 ii. Mode: NORM iii. LPN Filter: 35Hz LPN ON iv. HP Filter: 0.5Hz HP ON 2. Software Setup i. Set the acquisition sample rate to 1000 Hz (MP menu > Set Up Data Acquisition > Length/Rate) 3. Subject Preparation The sampling rate must be properly chosen. A low sampling rate may produce a jitter in the estimation of the R-wave fiducial point, which alters the spectrum considerably. The optimal range is 250 to 500 Hz or perhaps even higher Guidelines: HRV i. If the subject has to move to perform a task, place the electrodes away from the limbs being used. The cleanest ECG signals will come from the chest, but this might not always be convenient for subjects. ii. Always prepare the electrode site by removing dead skin using an ELPAD and cotton swabs with water. iii. Apply gel to the electrodes (even for disposable ones, when they look dry) but not so much as to spread and prevent it from sticking well. iv. To help prevent movement artifacts, use tape to attach the electrode leads to the skin as well. Making a loop with the electrode lead cable under the tape will reduce the chance of dislodging the electrode due to a sudden pull. v. Wait at least 5 minutes before recording so that the gel can be absorbed into the skin. This will reduce the impedance. Page 1 of 8

If all of these guidelines are followed and subject movement is minimized, it is reasonable to expect virtually no artifacts in the data. The following screenshot is taken from a 9 min ECG recording where the subject sneezed, moved in the chair, twisted his body, stood up and sat down, moved his hands, etc., all with no artifact (observe the consistent R-R interval waveform on the bottom). B. Prepare the data for the tachogram Good ECG and R-R tachogram data with subject activity marked This process is only required if the raw ECG data has artifacts that the tachogram is unable to interpret correctly. If the ECG data looks good, this step can be skipped and the HRV tachogram can be created from the raw ECG data. If the ECG signal has artifacts and the interval tachogram is displaying erroneous values it is possible to clean the data using the following techniques. Filter the data and use template matching to identify QRS complexes (hint: to guarantee that all transformations are applied on the entire waveform, select all the data from Edit > Select all before running any given transformation. Even though all the data will be highlighted, only the selected channel will be affected by the transformation). Template matching is one of the recommended techniques for obtaining the R-R tachogram. The fiducial point recognized on the ECG tracing that identifies a QRS complex may be based on the maximum or baricentrum of the complex, on the determination of the maximum of an interpolating curve, or found by matching with a template or other event markers. Guidelines: HRV. 1) Filter the ECG data a) Select the ECG waveform and then select Edit > Duplicate waveform (this preserves the original ECG). b) This step is optional; if the data is already quite clean this step can be skipped. Select Transform > Digital filters > FIR > Band Pass and apply a filter between 0.5 and 35 Hz, using 8000 coefficients. Page 2 of 8

For data recorded at 1000 Hz; the optimal number of coefficients is 4 times (sample rate/lowest frequency), as illustrated here: 4*(1000/0.5) = 8000). This will remove baseline drift and highfrequency noise. Note This filter is computationally intensive. Effect of the filter on the data: Heart rate detection with 1 msec accuracy is obtainable with an analog band pass filter at 0.5-35 Hz (Ruha et al, 1997) and the filter recommended here is a digital filter with optimized frequency response. A 1 Hz or 2 Hz frequency is suggested because then the number of coefficients used will be 4000 and 2000 respectively (which will cause the filter to compute faster), and this should not affect the QRS detection significantly. Note that Hejjel and Kellenyi, (2005) claim that high-pass filtering at 0.5 Hz does not cause significant changes in the shape of the ECG; at 1 Hz and 2 Hz cutoffs, considerable alterations can be seen in the ST segment and the T-wave, but not the QRS. Not enough information was found in the literature at the time of this application note release for the effect of 1 Hz and 2 Hz FIR high-pass filtering. The researcher should test the effect of these filters on good data (data for which the R-R tachogram shows no abnormalities) by running HRV analysis before and after filtering. 2) Transform data using the Template Correlation function a) Transform the data using the Template Correlation function by following these steps. b) Highlight a representative ECG cycle from the recording. Highlighting a representative ECG cycle c) Select Transform > Template Functions > Set Template. d) Select Edit > Select All. e) Select Transform > Template Functions > Correlation. Transformed data This operation will take some time if the file is long. The transformed waveform should resemble the graph shown above right (observe the waveform on the bottom; note the time scale when comparing to the data) f) Rename the new channel Template (double-click the channel label on the left edge for label dialog). C. Create a tachogram 1. Select the Correlation Template channel. 2. Select Edit > Select All. 3. Select Analysis > HRV and RSA > Single-epoch HRV-Spectral. a. Enable (check) the Show raw tachogram Output option and click OK. b. Click OK to close the dialog that is generated to display the results of the HRV analysis. Page 3 of 8

Note Heart Rate Variability dialog and R-R tachogram data c. A new graph window will open to display the R-R interval tachogram. The HRV analysis QRS detector uses a modified Pan and Tompkins algorithm. The algorithm normalizes the ECG data to 1 whereby the peak amplitude of the highest R-wave represents 1. The default threshold level of.5 should place the threshold in the middle of the R-wave. If the R- wave amplitude varies a lot, it might be necessary to adjust the threshold level. D. Identify problems with the tachogram data Apart from visually checking the R-R tachogram, it may be helpful to define a set of rules to determine what R-R intervals will be considered artifacts. Become comfortable visually inspecting a data record for artifacts as no set of rules or algorithms will be perfect. Below, see an example R-R tachogram that is artifact-free and an R-R tachogram with some possible artifacts (marked with a starburst). Good (artifact free) tachogram data Tachogram data with artifacts marked The tachogram is displayed with the beat # along the horizontal axis and R-R time interval on the vertical scale. A good R-R interval will have variability within a physiological range. In the preceding left screen shot, all of the results fall somewhere between ~.7 and.9 seconds (700-900 msec).that means the subject s heart rate range was ~60-90 BPM, which is quite normal for a human subject. However, in the preceding right screen shot, there are some values that are significantly higher. In the case of the higher spike, the subject s heart rate would have dropped rapidly from ~60 BPM to ~20 BPM before settling back to ~60 BPM. 1. Inspect the R-R tachogram for artifacts. 2. If an artifact is identified: a. Highlight all the data from the beginning of the tachogram to the artifact R-R interval. b. Set a measurement to Integral in the tachogram graph; the Integral result will indicate the time in the ECG and Template graph where the artifact occurred (72.19 in this example). Page 4 of 8

c. Set a Time measurement on the template channel in the ECG and Template graph. Use the cursor to locate the time value in the template data that matches the integral result. Click once in the data and then use the right and left arrow keys to move the cursor location. E. Correct tachogram data Raw ECG data with artifact Tachogram artifact After identifying the time of the artifact in the tachogram, go to the data file and zoom in on the appropriate time period of the template data. Typically, a problem will be immediately apparent and one of the following examples can be used to correct the problem. Repeat the above process for all artifacts and check the data manipulations by producing a new R-R tachogram. Run the HRV analysis on the corrected R-wave waveform. Example 1: Template peak too low or too high for threshold (page 6) Example 2: Artifact between cycles (see page 7) If artifact prevents identification of the ECG cycle, these additional guidelines might be useful. There are several approaches to the resolution of missed beats. In order of preference, these are (a) measuring the actual R-R intervals, if identifiable, from the ECG record; (b) interpolating the missing R-waves from surrounding beats; and (c) splitting the spuriously long beat into two (or more) equivalent R-R intervals such approaches should be expected to introduce minimal distortion in estimates of heart rate variability, although validation studies are needed to formulate specific guidelines Berntson et al, 1997 p.631 If there are ectopic beats in the data it is better to avoid using that portion of the file for the analysis. The Task Force Guidelines: HRV paper suggests that in case the researcher decides to use only epochs that contain no ectopic beats, the ECG or the tachogram could be modified using interpolation techniques (which are not currently a part of the AcqKnowledge software) to guard against the introduction of a bias in the signal. For example, see Solem et al (2006). Page 5 of 8

Example 1: In the following example, the peak of the template data is too low for the tachogram threshold. Use the Waveform Math feature to add a value to the waveform and increase the value. Use Waveform Math (Transform > Waveform Math) to add a value to the waveform: Too low: add a value to increase the waveform Too high: subtract a value (negative constant) Page 6 of 8

Example 2: The following example shows artifact between two cycles. The Expression transformation can be used to set the artifact to zero and eliminate the artifact from the record. To do this a) Highlight the artifact in the data: b) Select Transform > Expression, enter 0, and click OK: c) The software will convert all of the selected data to 0 and eliminate the artifact. Page 7 of 8

References Berntson G. G., Stowell JR, ECG artifacts and heart period variability: Don't miss a beat! Psychophysiology, 35 (1998), 127 132. Cambridge University Press. Berntson G. G., Bigger T. J., Eckberg D. L., Grossman P., Kaufmann P. G., Malik M., et al., Heart rate variability: Origins, methods, and interpretive caveats. Psychophysiology, 34 (1997), 623 648. Berntson G. G., Quigley K. S., Jang J., and Boysen S. T., An approach to artifact identification: Application to heart period data. Psychophysiology, 27 (1990), 586 598. Hejjel L. and Kellenyi L., The corner frequencies of the ECG amplifier for heart rate variability analysis. Physiol. Meas. 26 (2005) 39-47. Ruha A, Sallinen S and Nissil a S, A real-time microprocessor QRS detector system with a 1-ms timing accuracy for the measurement of ambulatory HRV. IEEE Trans. Biomed. Eng. 44 (1997) 159 67. Solem, K.; Laguna P.; and Sörnmo, L., An Efficient Method for Handling Ectopic Beats Using the Heart Timing Signal. IEEE Transactions on Biomedical Engineering, Vol. 53, no. 1, January 2006 13. Task Force of the European Society of Cardiology and The North American Society of Pacing and Electrophysiology, Guidelines Heart rate variability: Standards of measurement, physiological interpretation, and clinical use. European Heart Journal (1996) 17, 354 381. Page 8 of 8