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)
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':
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
Table I.
Result for Real-Time lm~lementationof the Triaaer
1
2
3
4
5
6
7
8
9
10
Total
Grand Total
- - -- -- -
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
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
Ventricular Electrogram
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
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.
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.