Anda di halaman 1dari 7

Reprinted with permission from

PACING AND CLINICAL ELECTROPHYSIOLOGY, Volume 17, NO. 8, August 1994


Copyright O 1994 by Futura Publishing Company, Inc., Armonk, NY 10504-0418

Digital Signal Processing Chip Implementation


for Detection and Analysis of Intracardiac
Electrograms
CHIH-MING JAMES CHIANG, JANICE M. FNKINS,
and LORENZO A. DICARLO
From the Department of Electrical Engineering and Computer Science, College of Engineering,
University of Michigan, and The Michigan Heart and Vascular Institute and Cardiac
Electrophysiology Laboratory, St. Joseph Mercy Hospital, Ann Arbor, Michigan

CHIANG, C.-M.J., ET AL.: Digital Signal Processing Chip Implementation for Detection and Analysis of
Intracardiac Electrograms. The adoption of digital signal processing (DSP) microchips for detection and
analysis of electrocardiographic signals offers a means for increased computational speed and the oppor-
tunity for design of customized architecture to address real-time requirements. A system using the Moto-
rola 56001 DSP chip has been designed to realize cycle-by-cycle detection (triggering) and waveform
analysis using a time-domain template matching technique, correlation waveform analysis (CWA). The
system digitally samples an electrocardiographic signal at 1000 Hz, incorporates an adaptive trigger for
detection of cardiac events, and classifies each waveform as normal or abnormal. Ten paired sets of
single-chamber bipolar intracardiac electrograms (1-500 Hz) were processed with each pair containing
a sinus rhythm (SR) passage and a corresponding arrhythmia segment from the same patient. Four of ten
paired sets contained in traatrial electrograms that exhibited retrograde atrial conduction during ventricu-
lar pacing; the remaining six paired sets of intraventricular electrograms consisted of either ventricular
tachycardia (4) or paced ventricular rhythm (2). Of 2,978 depolarizations in the test set, the adaptive
trigger failed to detect 6 (99.8% detection sensitivity) and had 11false triggers (90.6% specificity). Using
patient dependent thresholds for CWA to classify waveforms, the program correctly identified 1,175 of
1,I 97 (98.2% specificity) sin us rhythm depolarizations and 1,771 of 1,781 (99.4 % sensitivity) abnormal
depolarizations. From the results, the algorithm appears to hold potential for applications such as real-
time monitoring of electrophysiology studies or detection and classification of tachycardias in implantable
antitachycardia devices. (PACE 1994; 17:1373-1379)

arrhythmia, intracardiac electrogram, antitachycardia device, implantable defibrillator

Introduction amplitude, area under the curve) were advanced


for diagnostic electrocardiograms (ECGs).' As
Mor~hological Of cardiac waveforms computer techniques became more
has long been a in
better methods were used, particularly in the clas-
diOgra~h~. measures sification of and abnormal depolarizations
for such applications as mal-time coronary care
monitorine" and fast-time scanning of ambulatory
This work was partially supported by National Science Foun- (Halter) monitoring. The method choice in these
dation Grants BCS-8909042 and EID-9023514.
applications converged in the late 1970s to a point-
Address for reprints: Chih-ming J Chiang. Ph.D.. Telectmnics
Pacing Systems, 7400 S. Tucson Way, Englewood, CO 80112. bypoint comparison of each digitized waveform
Fax: (303) 799-2213. with a previously extracted template of a normal
Received June 25, 1993; revision January 10, 1994; accepted d e p ~ l ~ i z a t i oThis
n . ~ technique
~~ used the classic
February 2, 1994. statistical correlation coefficient? and later be-

PACE, Vol. 17 August 1994 1373


CHIANG, ET AL.

came known as the correlation waveform analysis Adjustable Threshold Trigger


(CWA].5-7CWA is a robust measure; it is imper- An accurate triggering mechanism is essen-
vious to the DC offset of the ECG and to amplitude tial for rate and morphological analysis of intra-
variations of the waveforms. More recently, CWA cardiac electrograms. A previously developed
has been applied to morphological analysis of in- multistage software depolarization detector using
tracardiac electrograms for recognition of abnor- adjustable thresholds has been shown to be ro-
mal activation recorded by catheter electrode^.^ It bust in detecting intracardiac electrogramsl' and
has been shown to be equally robust in this setting, is the basis for the trigger implemented on the
given that appropriate bandwidths of the recorded DSP chip.
signal be o b ~ e r v e d Due
. ~ to the heavy computa- ' The scheme contains a second order IIR But-
tional demands of CWA, however, its only real- terworth band-pass filter that suppresses unde-
time application has been limited to coronary care sired frequency components and eliminates base-
monitoring systems. line shift. The trigger has an adaptable threshold
One application that would benefit from in-
with exponential time decay to allow for variabil-
corporation of morphological methods are anti- ity in waveform amplitude. A blanking period is
tachycardia devices such as pacing and nonpacing imposed to prevent multiple event detection on a
implantable cardioverter defibrillators. These de-
single depolarization.
vices are designed to terminate potentially life- Figure 1 shows a comprehensive diagram of
threatening tachyarrhythmias such as ventricular the trigger. The first stage of the filter is a digital
tachycardia (VT) and ventricular fibrillation [VF)
band-pass IIR filter H(z) derived from the bilinear
and have been shown to perform well in prevent-
ing sudden cardiac death.' However, these-devices
utilize simple detection schemes based upon rate
and yield a high incidence of false delivery of ther-
apy due to the one-channel nature of detection,
which frequently confuses supraventricular ar-
rhythmias with VT and VF. It has been suggested Bandpass
2060 Hz
that morphological analysis is the key to alleviate
this p r ~ b l e m .To
~ ?date,
~ however, the only real-
time programs using CWA for intracardiac elec-
trogram waveform a n a l y s i ~are ~ ~implemented
~~
on the PC-based 386 computer (Intel P700, Intel
Corp., Beaverton, OR, USA) or coronary care moni-
toring machines.
The goal of this study was to demonstrate the
feasability of implementing CWA on a digital sig-
nal processing (DSP) chip (Motorola 56001 DSP,
Motorola Communications & Electronics, Inc.,
Schaumburg, IL, USA). This would represent a
first step towards specialized architecture incor-
porating CWA that would be utilized in future gen-
eration implantable antitachycardia devices.
Trigger
a d
Blank tor
next 150mS
Methods
The DSP program contains main Figure 1. The block diagram for the trigger. x = input,
subsections, the first a depolarization detection w
= outputfromthe bandpassfilter, = the magnitude
scheme described in the "Adjustable Threshold ,fy, = fraction to multiply with W, d = fraction to
Trigger" subsection, and the second the CWA de- multiply with previous vvalue, v = value from Equation
scribed in the CWA subsection. 2, Max = maximum.

1374 August 1994 PACE,Vol. 17


DSP CHIP IMPLEMENTATION OF CORRELATION WAVEFORM ANALYSIS

transform of a second order analog filter H(s) with Hz, fH = 60 Hz, d = 2-1'1000,and r = 0.5 based
s = (1 - z- l)I(l + zF1)ll: upon empirical results.ll

CWA
The CWA performmce measure p, indepen-
dent of amplitude fluatuations and baseline
changes, yields an output between - 1 and + 1
where + 1 indicates a perfect match. Mathemati-
and ao, a,, a, are derived as follow^'^: cally, p is defined as1':

where N = the number of points in the template;


ti = the template points; si = the signal points to
be processed; t = the template average; and = s
the signal average.
To further reduce computation, we eliminate
where WL, W H are: the square root calculation, and rename the met-
ric C3 = sign(p)$ where sign is f 1 depending
on the sign of p. If normalization of the template
points has been calculated (such as by an external
programmer) in advance such that i = 0 and
with f~ the lower cut-off frequency, fH the higher y t i = 1,then the on-line calculation of newly
cut-off frequency, and f, the sampling frequency introduced depolarizationg becomes12:
of the system. The resulting difference equation is:

Yi = 00 (xi - xi-,) - alyj-1 - a~yi-, (I) [ZjIy (ti)(si))2


where yi and xi are the ith filter output and input,
respectively. (4)
The second stage is a threshold comparison of
the magnitude of the filtered signal with an adjust- This represents a streamlined version of CWA
able threshold. The threshold v is the maximum (using an N point template), which requires 2N +
of two components, the first a fraction (r) of the 2 multiplications, 1 division, and 3N + 1 addi-
rectified signal and the second a decay factor (d tions per waveform. This is the equation that is
with d < 1) multiplied with the previous thresh- implemented on the DSP chip.
old. The update function for the threshold is:
Motorola 56001 System
The Motorola 56001 DSP chip was designed to
perform fast multiply and accumulate operations
The two factors, r a n d d, control the sensitivity of appropriate for DSP procedures, such as filtering
the trigger to allow for detection of waveforms and Fast Fourier Transforms (FFT).13.14The chip
with varying amplitudes. Making r small and d is based on a modified Harvwd architecture13with
small will increase sensitivity of detection at the a 512 word dynamic random access program mem-
expense of increased false triggering probability. ory (DRAM) and two on-chip X and Y data read-
The third stage is a blanking interval that prevents only-memory (ROM)as well as data random access
multiple triggering during a single depolarization. memory (RAM) (256 in X and 256 in Y for both
For this study, values were set as follows: fL = 20 RAM and ROM).13.14It has a 24-bit data register

PACE, Vol. 1 7 August 1994


CHIANG, ET AL.

and two accumulators of 56-bit precision. It exe- were made in the high right atrium and right ven-
cutes in fixed point arithmetic with a computa- tricular apex on FM magnetic tape (Hewlett-Pack-
tional speed of 10.25 million instructions per sec- ard Model 3968A, San Dieglo, CA, USA) at 3:
ond (MIPS).13.14The system contains a 16-bit ana- inches per second during prov~cativeelectrophys-
log to digital (AID) converter with a maximum iology studies with patients lying supine. For pro-
sampling rate of 44 ~ H z . ' ~ , ' ~ cessing, data were digitized through the DSP AID
The implemented DSP program contains three at 1,000 Hz and subjected to analysis on the DSP
main components, the analog to digital interface, chip.
the triggering section, and the CWA section. Essen-
tially, the algorithm remains in a wait state until
an interrupt occurs indicating that data have been Results
received from the AID. Upon this event, the pro- Of the 2,978 total depolaL.izationsfrom the 10
gram stores the data and enters the triggering sec- pairs studied, the adaptive trigger missed only 6
tion. If a depolarization occurs, CWA is activated. (99.8% sensitivity of depolmization detection)
CWA is implemented using Equation 4 to reduce while giving 11false-positives (99.6% specificity).
computational load. Template values are normal- Results are shown in Table I. For the performance
ized prior to utilization and a 64 point CWA (64 of CWA with patient dependent thresholds and
msec at a 1,000Hz sampling rate) was chosen since shifting window calculations (see Motorola 56001
most intracardiac waveforms fall within this dura- System), the program correctly identified 1,171 of
tion and since 64 is a power of 2 (z6). To align the 1,197 (97.8% specificity) sinus rhythm (normal)
template with the waveform being analyzed, the depolarizations and 1,771 of 1,781 (99.4% sensi-
window centered around the trigger for CWA cal- tivity) abnormal depolarizations. The overall re-
culation was shifted by n points, with n varying sult was 2,943 of 2,978 (98.8%) (Table 11).
from - 10 to + 10, creating 2 1 separate windows. Figure 2 contains intraventricular electrogram
CWA was performed for each of the windows and
results from patient 4. The lleft side of the figure
the maximum value of the 2 1 taken as the true
CWA performance measure. If this measure was depicts a sinus rhythm passge along with the di-
greater than a patient dependent threshold of 0.9 agnostic signals and the right side has a VT seg-
or 0.81 (since signal amplitudes and variabilities ment with its correspondin$ program diagnosis.
were patient dependent, the threshold were cho- As can be seen from the sinus rhythm passage, trig-
sen individually for each pair of passages), the DSP ger and CWA sections functioned properly with
chip output a positive pulse for a normal depolari- the periodic positive pulse outputs indicating nor-
zation, otherwise it gave a negative pulse indicat- mal waveform diagnosis. For the VT passage, the
ing an abnormal waveform. trigger works equally well and the negative pulse
reflects abnormal waveform diagnoses.
Figure 3 contains intraatrial electrogram re-
Materials sults from a sinus rhythm passage followed by a
Ten pairs of single channel bipolar intracar- ventricular pacing section (yielding retrograde
diac electrograms (1-500 Hz) from seven patients atrial activation) with its corresponding diagnostic
were processed with each pair consisting of one pulses. There are no false trliggers and all normal
sinus rhythm (normal) passage and one corre- depolarizations are indicated in the event marker
sponding arrhythmia segment. Four of the pairs by positive pulses and abnormal ones by negative
were intraatrial electrograms containing retro- pulses. The black blotches represent discontinu-
grade conduction during ventricular pacing. The ities during the taping process and their corre-
other six pairs were intraventricular electrograms sponding results are disregwded when tabulating
containing ventricular tachycardia (4) or ventricu- system performance.
lar pacing (2). Figure 4 contains an intraatrial electrogram
Data used for analysis were recorded from 6- passage that revealed triggering failures. The be-
French quadrapolar electrode catheters (USCI Di- ginning of the trace shows d n u s rhythm followed
vision, C.R. Bard Inc., Billerica, MA, USA) with by ventricular pacing. Note the false-positive trig-
an interelectrode distance of 1cm. The recordings gering in the pacing segment due to a wandering

1376 August 1994 PACE, Vol. 17


DSP CHIP IMPLEMENTATION OF CORRELATION WAVEFORM ANALYSIS

Table I.
Result for Real-Time lm~lementationof the Triaaer

Sinus Rhythm Arrhythmia

Patient Channel Num FP FN Num FP FN

1
2
3
4
5
6
7
8
9
10
Total
Grand Total
- - -- -- -

Num = number; FP = false-positive; FN = false-negative.

baseline. CWA also failed in one depolarization intracardiac electrograms, The trigger obtained an
during sinus rhythm when a normal waveform accuracy of 99.4%. The few cases of missed trig-
was declared abnormal. gering (612,968)resulted from a sequence in which
a large amplitude waveform was followed by one
of small amplitude, such that the threshold re-
Discussion and Conclusion mained too high for the second depolarization to
As shown previously, the DSP system per- be detected. ~aise-positivetriggers occurred due to
formed well in waveform detection and CWA on wandering baseline coupled with small amplitude
-

Table 11.
Result for Real-Time lm~lementationof CWA

Normal Abnormal

Patient Channel Num Wrong Num Wrong

1 V 170 13 105 0
2 V 84 2 89 0
3 V 191 1 271 6
4 V 137 0 214 0
5 A 146 7 249 0
6 A 70 0 229 0
7 A 59 0 143 0
8 V 50 1 134 0
9 A 164 0 156 4
10 v 126 -
2 191 -0
Total 1,197 26 1.781 -
10
Grand Total 2,978 36

CWA = correlation waveform analysis; Num = number.

PACE, Vol. 1 7 August 1994


CHIANG,ET AL.

Ventricular Electrogram

SINUS RHYTHM VENTRICULAR TACHYCARDIA

DSP Output
Figure 2. Patient 4 intraventricular electrograms are shown. The left side of the figure contains
a sinus rhythm passage with accompanying diagnostic signals and the right side has a ventricular
tachycardia passage along with the diagnosis.

signals. The small incidence of these events does distinguish between normal and abnormal wave-
not warrant modification of the triggering mecha- forms with at least 98% accuracy using patient de-
nism. A previous study examining the perfor- pendent thresholds. Most errors were normal
mance of this depolarization detection scheme waveformsclassified as abnormal due to low CWA
showed that the trigger performed well." The values and these were mainly due to inaccuracy
Medtronic PCD (Medtronic, Inc., Minneapolis, of the trigger location. The 21-window CWA calcu-
MN,USA) detection scheme is also similar to the lation alleviates most of the problem of inexact-
trigger presented in this study. ness of depolarization detection.
For CWA measures, the program was able to In conclusion, a real-time program has been

Atrial Electrogram

SINUS RHYTHM VENTRICULAR PACING

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 l l l l l l l l l l l l ~ l l l l

DSP Output
Figure 3. Intmatrial electrogram results. Sinus rhythm is followed by pacing.

August 1994 PACE, Vol. 17


DSP CHIP IMPLEMENTATION OF CORRELATION WAVEFORM ANALYSIS

Atrial Electrogram

VENTRICULAR PACING

/ ' I l l 1 I L L l l l l l
1111I I ~ I I I I I I I . I ~ ~ ~ I I I I I ~ I
AA AAAAA
DSP Output False Positives (FP)
Figure 4. An intraatrial passage with sinus rhythm followed by ventricular pacing. This shows
how the wandering baseline corrupts the trigger peqormance with false-positive (FP) detection
of waveforms. Notice also the incorrect digital signal processing (DSP) output of negative pulse
on sinus rhythm passage due to low correlation value.

implemented on the Motorola 56001 DSP chip that miniaturization that would make incorporation of
detects cardiac activation and performs CWA on CWA possible in real-time applications such as
intracardiac electrograms. The program performs next-generation implantable antitachycardia de-
well and represents an important first step towards vices.

References
Jenkins J. Automated electrocardiography and ar- dioverter defibrillator proarrhythmia: Case report
rhythmia monitoring. Prog Cardiovasc Dis 1983; and review of the literature. PACE 1991; 14:
25:367-408. 1326-1329.
Arzbaecher R, Biancalana P, Stibolt T, et al. Com- 9. Chiang CJ, Jenkins JM, DiCarlo LA. An innovative
puter technique for detection of cardiac arrhyth- two-channel rate and morphology method for
mias. (abstract) J Assoc Advance Med Instrument complex arrhythmia diagnosis in implantable de-
1971; 5:104. vices. 14th Annual International Conference of the
Feldman C, Arnazeen P, Klein M, et al. Computer IEEE Engineering in Medicine and Biology Soci-
detection of ventricular ectopic beats. Comput Bio- ety, 1992;496-497.
med Res 1971; 4:666-674. 10. Chiang CJ, Jenkins JM, DiCarlo LA. Real-time ar-
Kennedy JB, Neville AM. Basic statistical methods rhythmia identification from automated analysis
for engineers and scientists. Harpers & Row, Pub- of intraatrial and intraventricular electrograms.
lishers, New York, NY, 1986, pp. 410-411. PACE 1993; 16(1):223-227.
Lin D, DiCarlo L, Jenkins J. Identification of ven- 11. McDonald R, Jenkins J, Arzbaecher R, et al. A soft-
tricular tachycardia using intracavitary ventricular ware trigger for intracardiac waveform detection
electrograms: Analysis of time and frequency do- with automatic threshold adjustment. IEEE Com-
main patterns. PACE 1988; 11:1592-1605. puters in Cardiology, IEEE Press, New York, NY,
DiCarlo L, Throne R, Jenkins J. A time-domain 1989, pp. 167-170.
analysis of intracardiac electrograms for arrhyth- 12. Throne RD.Analysis of template matching meth-
mia detection. PACE 1991; 14:329-336. ods for intracardiac electrogram analysis. Ph.D.
Throne R, Jenkins J, Winston S, et al. Discrimina- Thesis, University of Michigan, 1990.
tion of retrograde from anterograde atrial activa- 13. Lee E. Programmable DSP Architectures: Part I.
tion using intracardiac electrogram waveform IEEE ASSP Magazine 1988; 5(4):4-19.
analysis. PACE 1989; 12:1622-1630. 14. Lee E. Programmable DSP Architectures: Part 11.
Cohen T, Chien W, Lurie K, et al. Implantable car- IEEE ASSP Magazine 1989; 6(1):4-14.

PACE, Vol. 17 August 1994 1379

Anda mungkin juga menyukai