Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

128 IEEE TRANSACTIONS ON BIO-MEDICAL ENGINEERING, APRIL 1968

Short Communications
AZTEC, Preprocessing Program for
a description of the processing algorithm) sets initial con-
Real-Time ECG Rhythm Analysis ditions on tWo Iimits: Vmax=Vmin=VO. Samples obtained
at subsequent interrupts are compared to these limits.
Abstract-A preprocessing program developed for real-time
monitoring of the electrocardiogram by digital computer has proved If exceeded, a limit is replaced by the voltage just
useful for rhythm analysis. The program suppresses low amplitude samlpled. As long as the difference betweein the limiiits,
signals, reduces the data rate by a factor of about 10, and codes the (V,m,ax - Viin), does not exceed an experimentally deter-
result in a form convenient for analysis. mined threshold, the fluctuating voltage is considered
to be adequately represented by a constant voltage, or
Digital computers are able to provide the biological "line,'" midway between the limnits. When finally a sam-
scientist witlh extensive comlputational capacity. How- ple would necessitate separating the limits by more than
ever, a common difficulty that biologists encounter is the threshold, the preceding average of the two limits is
the transformation of the observed analog signals into stored in the miiemory of the computer and called the
a form that can be easily processed by a digital com- value of the line. The time since the limits were initial-
puter. This poses a significant problem for those who ized is stored as the duration of the line. In order to
wish to use a small computer for on-line or real-time avoid long delays in the presentation of data to the
interaction with their experiments. Our problem is the ECG analysis program, a long line is terminated after
real-time analysis of electrocardiographic rhythm and 126 nis. In our program, the duration of a line occupies
we have developed a scheme to assist this analysis called six bits of the first of a pair of twelve-bit wvords and its
AZTEC (amplitude-zone-timie-epoch-coding). value occupies the second word.
The electrocardiogram is composed of low frequency When the difference between the voltage limits ex-
components (P and T waves, ST segments) and medium ceeds the threshold and a pair of data words is recorded,
frequency components (QRS complexes). We have the process is restarted by setting Vrnax and Vmin equal to
chosen to ignore higher frequency components in the the latest sample voltage. When a signal of higher fre-
QRS.1 The signal amplitude is 0.1 to 1 mV, and fre- quency and amplitude such as the QRS begins, the
quently contains undesired signals of similar amplitude voltage samples will change rapidly, and lines of short
ranging from very lowA frequencies (respiration at about duration will be formed. A series of lines, each containing
0.2 Hz) to high frequencies (muscle noise up to about four samples or less, is considered to be adequately rep-
200 Hz). Power line interference at 60 Hz is also corn- resented by a constant rate of voltage change, or slope,
mon. For accurate quantification of the duration and as long as the voltage difference between adjacent lines
amlplitude of the rapidly changing QRS we have chosen does not change sign. The slope is terminated by a line
to sample the electrocardiogram at a rate of 500 samples longer than four samples or a change in signs. The slope
per second.2 For anything but a trivial continuous real- duration and the voltage betweein the lines bounding
time analysis, this data rate would overwxhelm most the slope are then stored as the next pair of data words.
computers. The memory size of the LINC3 employed in In order that this pair may be recognized subsequently
this work, 2048 twelve-bit words, made the need for as a slope, the duration wvord is marked by setting its
data reduction even greater. In addition, some form of sign bit.
preprocessing was desirable to filter unavoidable noise Fig. 1 illustrates an ECG signal and its resulting
recorded with the ECG signal. AZTEC representation. The data reduction is from a rate
Our AZTEC preprocessing program is activated by a of 500 samples per second to an average of 25 word pairs
real-time interrupt that converts a sample of the input (50 words) per second, or about 10 to 1. The high fre-
voltage to digital form every 2 milliseconds. The first quency but low amplitude noise is interpreted simply as
sample v0 (see Appendix for notation and a compact a line as long as the peak-to-peak amplitude does not
exceed the threshold. The QRS consists of seven AZTEC
word pairs, four of which are slopes.
Manuscript received September 25, 1967; revised November 5,
1967. This work was supported by the Division of Research Facilities The AZTEC algorithm can be easily followed by addi-
and Resources, National Institutes of Health, Bethesda, Md., under tional digital processing, since the calculation time per
Grant FR-00161.
I P. H. Langer, Jr., D. B. Geselowitz, and F. T. Mansure, "High- sample is considerably less than the time between sanm-
frequency components in the electrocardiograms of normal subjects ples for most digital nmachines. For example, we are cLr-
and of patients with coronary heart disease," Am. Heart J., vol. 62,
pp. 746-755, July-December 1961. rently using it as input to a program that evaluates the
2 C. A. Steinberg and L. WV. Paine, "Methods and techniques of signal noise level and, where possible, detects QRS comi1-
data conversion," Ann. N. Y. A cad. Sci., vol. 115, pp. 614-626, July
31, 1967. plexes, measures their width, and codes their shape in
3 V. A. Clark and C. E. Molnar, "A description of the LINC," in terms of their sloping segments. Our implementation of
Computers in Biomedical Research, vol. 2, Stacy and Waxman, Eds.
New York: Academic Press, 1965, pp. 35-66. this detection algorithm is quite fast and can identify
SHORT COMMUNICATIONS 129

line Li is said to be a 'plateau" if r(Li)> T. We call Li


an "extremum" if { (Li+i) -v(Li) } {V(Li) -P(Li1) } <0.
The line Li is a "bound" if Li is a plateau or an ex-
tremum. A set of AZTEC lines fLi}7`is said to be a
"slope" S if no Li is a bound and Lo and Lm are bounds.
The slope S is completely specified by its value, v(S)
=V(Lm)-(Lo), and its duration,
m-1
r(S) = E T(Li).
i=1

The complete AZTEC transformation then consists of an


ordered set of bounds and slopes.
J. R. Cox
F. MI. NOLLE
Biomiedical Computer Lab.
Fig. 1. ECG sampled at 500 samples per second (top) and resulting
AZTEC representation (bottom) as reproduced by a digital plotter. Washington University
The horizontal line at the upper left indicates 100 ms and the St. Louis, Mol. 63110
vertical line indicates one eighth of full scale, in this case 400 ,V.
HI. A. FOZZARD
Dept. of Medicine
QRS complexes of widely varying shape. The AZTEC University of Chicago
algorithm itself could probably be implemented with a Chicago, Ill. 60637
comiplex analog system but our plans call for a series of G. C. OLIVER, JR.
digital data reduction steps of which AZTEC iS the first. Dept. of Medicine
Observation of the AZTEC representation of a wide Washington University
variety of pathological ECG signals has shown that St. Louis, Mo. 63110
AZTEC may be a useful preprocessing procedure for real-
time ECG rhythm analysis, as required for continuous
monitoring of patients in intensive care units. The
AZTEC procedure offers the advantages of on-line smooth- Depth Gauge for Microelectrodes
ing, data reduction, and coding. In this monitoring
application noise is relatively low in amplitude and In single-unit studies of the nervous system, design
is therefore smoothed, whereas signal elements are rela- of the microelectrode drive is one of the engineering
tively larger in amiplitude and are retained. Since after problems encountered. A hydraulic drive system is ap-
such processing the bulk of the ECG consists of steady propriate in auditory neurophysiology since it allows
voltages, considerable data reduction is achieved by remiote, smootlh mlovemiient of the microelectrode from
storage of onlyN a pair of numbers (duration and value) a position external to the soundproof experimental
for a steady voltage up to 126 ms in duration. In addi- chamber. In the system described here, a micrometer
tion, the line-slope coding permits rapid searching of the drive is used to exert either positive or negative force on
stored data to locate the higher frequency QRS event. a piston electrode drive with an assisting spring return.
That portion of the system which is immediatelyr re-
APPENDIX lated to the electrode is shown in Fig. 1. The major
The AZTEC transformation may be described as fol- problems with this system are dead zone and hysteresis,
lows. Let v, be the ith sample following an initial samii- due to expansion of the tubing and friction in the piston
ple vO. Let Vriiax and v.in be the maximum and minimum drive. Since these nonlinearities depend on when and
values, respectively, of the set vi } o' where i ranges from how fast the electrode was last moved, accurate knowl-
0 to m. If Vin5ax-Vnin.K for the set (v}il" and edge of electrode position cannot be obtained by read-
ing the micrometer drive.
f
Vmax-Vmin>K for the set v}i then the set
said to form an AZTEC "line" L. The line L is completely
is {v,}In To solve these problems we have developed a method
specified by its value, v(L) -(Vn,+Vrnmin), and its dura- to accurately measure the electrode position, indepen-
tion, r(L) = n times the sampling interval. Let v,, now be dent of the hydraulic drive. The basic component of our
the new v0 and repeat the process. This much of the system is a linear variable differential transformer.'
transformation is called a zero-order linear interpolator
with aperture K/2.4 It has the property that, if L con- Manuscript received April 28, 1967; revised November 19, 1967.
tains the sample vi, then v(L) -v| <.K/2. This work was supported in part by the National Institutes of Health
under Grant NB-05143, and by the U. S. Air Force Office of Scientific
Let Li be the ith AZTEC line following a line Lo. The Research under Contract AF-49(638)-1386.
I Transformers were chosen on the basis of weight, size,
operating
frequency, and linearity. Those used here were manufactured by
I C. M. Kortmani, "Redundancy reduction-a practical method Schaevitz Engineering Co., Model 100 M-L, and Sanborn Co.,
of data compression," Proc. IEEE, vol. 55, pp. 253-263, March 1967. Model 595T-100.

You might also like