Академический Документы
Профессиональный Документы
Культура Документы
SYSTEM
J.J.Segura-Jucirez,D.Cuesta-Frau and LSamblas-Pena
ABSTRACT
The ambulatory acquisition and monitorization of electro-
cardiograms (ECG) under not controlled conditions, is a
practice of paramount importance in cardilogy diagnosis
nowadays. The ECGs are acquired while patients develop
their normal life, using a portable device. The storage ca-
pacity of such devices usually ranges from 24 to 48 hours.
The systems used to perform this task are the so-called
Holter systems. In this paper we describe a low cost sin-
gle channel Holter system, based on a microcontroller,
to register the ECG signal continuosly during up to 48 Figure 1. Main blocks of the system. For the sake of sim-
hours. This microcontroller system runs off batteries, and plicity, some block interconnections have been omitted.
includes many peripherals such as a display, keyboard, se-
rial interface, solid-state memory, and some electronic cir-
cuits. plex and time consuming tasks are usually carried out off-
line, in a personal computer. Moreover, the sampling fre-
quency required to obtain a good quality ECG is fairly low,
1. INTRODUCTION of some 100Hz. Therefore, the microcontrollercan devote
more time to the rest of tasks, such as error generation,
Electrocardiography is a non-invasive technique to ascer-
memory card operations, etc.
tain the state of the heart, based on the electrical potential
generated by it and measured on the body surface using, in The organization of this paper is as follows. In the next
section, Methodology, all the stages of the process will be
its basic configuration, two electrodes and a galvanome-
ter. This technique is widely known and nearly a cen- described Acquisition, probe, amplifier, analog to digital
tury old already. Nevertheless, in the last decades mainly, conversion, processing, storage, visualization, serial inter-
due to the availability of powerful and low cost comput- face, and power source. In the last section, Conclusion,
ers, electrocardiography has witnessed the development of we will summarize the main points of this paper and the
new systems and applications, such as the ambulatory ac- future work.
quisition of ECGs using the so-called Holter systems [l].
These systems are used to register the signal during a long
2. METHODOLOGY
period of time, between 24 and 48 hours, in order to detect
some heart malfunctions difficult to find using a simple
The system description will he performed according to the
electrocardiogram.
logical order of the stages. We will first address the ac-
In this paper we present the development of a com-
quisition stage, follow the signal path through the probe,
plete Holler system based on microcontroller. ?he cir-
amplifier and analog to digital converter, and finish with
cuit uses standard integrated circuits and components, and
the data storage in memory and the power source. Fig. 1
therefore, it is a low cost set easy to build. It can be used
is a schematic diagram of the system main blocks.
in clinical practice, since it fulfils all the required speci-
fications, and in microcontroller and electronics teaching
purposes, as it covers a wide range of topics related to mi- 2.1. Acquisition
crocontrollers and signal conditioning. Many other similar
circuits have been repotted so far in the technical litera- The ECG signal acquisition is obviously the first stage of
ture, as those described in [Z],[31, and [41, hut, as far as the process. Three electrodes are used, placed at different
we know, none of them describes a portable and affordable points on the patient’s body surface. The exact position
device with the performance of a commercial Holter. depends on the type of analysis required or the lead de-
Computational power of a simple microcontroller is sired. Two of the electrodes are the differential input, and
enough to implement a Holter system, since the most com- the third is used to reduce the noise due to the power line
2.2. Probe
The probe is the electrical connection between the elec-
trodes and the amplifier, the system input. It consists of
three wires, which are shielded and twined in order to re- ..
duce as much as possible the induced electrical noise. In
the amplifier end, the probe has a shielded tripolar connec- Figure 2. Differential instrumentation amplifier.
tor and a fastening system to prevent the accidental uncou-
ple due to sudden jerks or patient movement during their
usual activities. environment. The last stage with the OA(U1D) is an in-
The probe shield is connected to the common mode verter amplifier. The third electrode impedance is reduced
voltage of the differential amplifier through a voltage fo- using this configuration, and a high impedance is applied
llower, which derives the interference currents induced in to prevent the ground-fault h,uard. Nevertheless, electri-
the wire towards ground. This connection allows us to cal shock is very unlikely since the system only mns off
reduce the parasitic capacitance that appears between the batteries.
wires and the ground when it is connected to ground, and
therefore avoids input impedance reduction. 2.4. A/D Conversion
Once the ECG signal has been amplified and filtered, it
2.3. Amplifier
must be digitized. The analog to digital converter utilised
The first block of the system is the differential instrumen- is the AD7888 [SI. This converter has 12 bits of resolu-
tation amplifier. Since the level of the electrocardiograph tion, and 8 input ports, although in this application only
signal is only of some p V , it is necessary to amplify it to two are used. The amplifier is software controlled and the
match the levels of the analog to digital converter, avoi- conversion takes place during the error calculation of each
ding saturation either in the amplifier or the converter. A memory sector. Each sample converted is stored in the cor-
precise amplifier has been designed with very low pola- responding memory area, which, after completing a whole
risation currents and small offset voltages to fulfil these data page, will be written in memory alongside error cal-
requirements. A high common mode rejection of around culations computed in parallel with the analog to digital
120dB is also achieved. conversion.
This amplifier includes a high pass filter, formed by a The AD7888 is capable of a 125KSPS rate. The input
quadruple precision operational amplifier, to filter out the track and hold acquires a signal in 50011sand this circuit
base line wandering. The amplifier also creates a virtual operates with a power supply voltage from 2.7 V to 5.25
ground, applies the common mode voltage to the probe V. CMOS construction ensures low power dissipation, tipi-
shield, and reduces the third electrode impedance to mini- cally 2mW for normal operation and 3pW in power-down
mize the power line interference. This amplifier satisfies mode. The DC accuracy of th,: AD7888 is tipicaly 1 LSB
the American Heart Association specifications about the of integral nonlinearity, -U+] .5 LSB differential nonlin-
bandwidth of the amplifier, O.lHz-Il"z, in order not to earity, and an offset error of & 6 LSB.
lose i m p o m t information of the signal. This margin is Communication with the AD converter is perfomed
the minimum required to avoid a distortion greater than through the SPI port of the microcontroller, and by means
10% in the signals. of an enable signal also controlled by the processor. Am
In Fig. 2, the different electrocardiographic amplifier other converter input is used to measure the power source
stages are shown. It is basicaly composed of a first stage voltage and thus monitorize the battery charge level. This
of an instrumentation amplifier and four more stages based level can also be checked by the user using the interac-
on different configurations using operational amplifiers. tive menu shown on the display. All its features regarding
Following the probe connected to the human body surface, the low power consumption, power source voltage require-
it can be noticed that the derivation enters directly to the ments, control, and communications, make it a very suit-
instrumentation amplifier, and then the baseline wander is able choice for this application.
filtered out using an operational amplifier with adjustable
gain. The rest of the stages are support stages for the previ- 2.5. Processing
ous ones with the following rationale: the operational am-
plifier AO(U1C) is used to create a virtual ground with This is the most important stage of the system. On one
a voltage level half that of the power supply. The stage hand, it is devoted to interact with the user through a nav-
with the OA(U1A) is a voltage follower whose ouput is igating menu shown on the I.CD display. On the other
connected to the probe shield. Therefore, the loses due hand, it stores the data obtained from the analog to digital
to parasitic capacitances are reduced, and moreover, the converter in memory, using a suitahle format in order to
lead is protected against the electrical noise of the circuit be read by the operating system properly. It also has the
923
serial port control through which data can be transmitted
in real time if desired. The LCD control where the interac-
tive menu is shown is included. The display contrast level
can be adjusted by means of a microcontroller pin. It also
controls the calendar and power failure protection circuit
which will be described in section 2.9. The user can also
interact with the system using a simple keyboard.
The CPU of the system is the ATMEL microcontroller
T89C51RC2 [IO], compatible with the Intel family of mi-
crocontrollers MCS5 l . This microcontroller has embed-
.>rn"/.UC
*S"CUI
-
F-rlP#
1
p,*r
f
924
Acknowledgment
The authors would like to thank the department of cardiol-
ogy of the Verge dels Lliris :Hospital of Alcoi (Spain) for
their clinical tests and advice. The authors also wish to
acknowledge the support of the INNOVA project, of the
Polytechnic University of Valencia (Spain).
4. REFERENCES
925