Professional Documents
Culture Documents
Abstract-Cardiac signal simulator is a device that generate electric signal looks like cardiac bioelectric signal
that scanned on human skin. Cardiac signal simulator used as an object (input signal) of ECG recorder in order
functional test or a device to support ECG recorder user training. Normal human cardiac signal displayed on the
ECGSIM software. Potential value that displayed on ECGSIM software can be extracted manually and assembled
as a flash program of microcontroller, so this microcontroller will generate some digital code by each parallel
port. This digital code then converted as analog signal by DAC. The cardiac signal simulator output is an analog
signal that identical with each leads according to recording method of bipolar, unipolar and precordial of ECG.
These analog signal was tested using a standard ECG recorder and is proven to generate an electrical signal in
accordance with the characteristics of the human cardiac signal displayed on ECGSIM software.
1
Because ofvery important, it needs to build a low
cost human cardiac signal simulator to meet the needs Every AT89S52 microcontroller have 4 parallel
the hospital and health faculty. This human cardiac ports. Every port can be programmed as input/output
simulator can generate analog signal that looks like (I/O) to generate digital condition on any 8 bits pin.
cardiac signal that appears on the ECGSIM software ECG recording requires 9 measurement points on
but it may set the BPM 30 to 120 and choose an standard recording method, so itsmay requires 3
irregular signalon it. microcontroller to generate 9 analog signal. To setting
the BPM, adding one more microcontrolleras user
interface is necessary to connect it with push button
II. METHOD and LCD monitor as Figure 3. The total number of
A. Hardware Design microcontroller are 4 pieces.
ECGSIM is an interactive simulation program that
enables one to study the relationship between the
electric activity of the heart and the resulting potentials
on the thorax.ECGSIM is also used as a research tool
IC AT89S52
for those that are interested to test any hypothesis they as Signal Generator
1,2,3
may have regarding the manifestation of cardiac LCD
malfunctioning in the electrocardiographic wave forms
on the thorax. Using measurement tools, user can
2
On the program of AT89S52 microcontroller’s IC, shown on ECGSIM software, the maximal amplitude
the code that including digital code (binary) of cardiac of cardiac signal are 1,3 mV, this signal measured at
signal injected. This code then drive the parallel port of V5. The minimal voltage of cardiac signal show at V2,
microcontroller to change the logic condition each pin. -3,2 mV. The range from maximal and minimal signal
The DAC will convert the digital code that generate by are 4,5 mV. To meet the value, attenuator must divide
microcontroller to analog signal. Figure 4 show the the maximal value of DAC output equal to 1/91837.
circuit of microcontroller and DAC.
DAC 0808 is monolithic 8 bit DAC IC’s. Needs 9 B. Software design
number of DAC 0808 to convert digital code from Figure 6a.show the flow chart of microcontroller as
parallel port of each AT89S52 microcontroller to user interface. BPM value can be read at 16x2 LCD
generate 9 analog cardiac signalthat similar with monitor. BPM Value decoded from 02to 92represent the
human cardiac signal. The circuit of AT89S52 IC’s and 30 to 120 BPM. The 102 decode the irregular pattern.
DAC show at Figure 5. Biner code generate by port.0 of AT89S52 IC’s as user
Output of DAC 0808 is electrical current, need a interface that give information to another AT89S52
converter to convert as electric voltage. Current to IC’s as signal generator to control the delay of signal
voltage (I/V convert) is the appropriate circuit. Using generation that indicate BPM.
attenuator circuit to divide the voltage so meet the
characteristic amplitude of human cardiac signal.
Figure 5 show the block diagram of human cardiac Start Start
signal generator. The AT89S52 IC’s connected to
DAC. Each 3 port of microcontroller will connected to
3 DAC. The electrical current output of DAC will
converted to analog voltage by I/V converter. The Show the initial BPM
Logic condition of
output of DAC can calculate by Equation (1) and Port.0 controlling
value
the BPM
Equation (2). Equation (3) can calculate the operation
of electrical current (Iin) to electrical voltage (Vout) by
LM741 IC’s usingfeed back resistor R3.
Drive parallel port
1,2,3 to generate
BPM setting
I/V converter digital condition
DAC 0808
IC LM 741
Attenuator selected
corresponding with
signal database
Bioelectric signal
I/V converter
IC AT89S52
As signal generator
DAC 0808 IC LM 741 Attenuator BPMvalue increase
Stop
or decrease
(b)
I/V converter
DAC 0808 Attenuator Show the target
IC LM 741
BPM value
𝐴1 𝐴2 𝐴3 𝐴4 𝐴5 𝐴6 𝐴7 𝐴8
𝐼𝑜 = 𝐾 2
+ 4
+ 8
+ 16 + 31 + 64 + 128 + 256 (1)
Stop
𝑉𝑟𝑒𝑓𝑓
𝐾 = 𝑅2 (2)
(a)
𝑉𝑜𝑢𝑡 = 𝐼𝑖𝑛 𝑥 𝑅3(3)
3
Leads ECGSIM standard
Testing result
Figure 6b. represent the flow chart of signal
microcontroller as signal generator. Binary output of
microcontroller as signal generator connected to port.0
that controlling the BPM. The amplitude of signal that I
generated depended of signal database that saved on
the flash program.
C. The Result II
The result of design of human cardiac simulator are
an equipment that generate electric signal that meet the
spesification with human bioelectric cardiac signal, so
if the output of simulator connected to the ECG will III
produce recording paper that looks like human ECG
signal. Utilize Innomedtm12 leads 3 channel ECG to
test the human cardiac simulator signal. Testing consist
of BPM suitability and the pattern of recorded ECG aVR
signal output from simulator. This human cardiac
signal simulator testing show at Figure 7.
Testing the signal pattern of simulator implemented
with recording the signal output of cardiac signal aVL
simulator using ECG recorder. Recording result consist
of 3 standard method there are, bipolar consist of lead
I, lead II and lead III, unipolar there are aVR, aVL and
aVF, precordial methode consist of V1, V2, V3, V4, aVF
V5 and V6. Figure 8 showing recording result of
human cardiac simulator and compare it with ECGSIM
standard signal pattern. Figure 9 show the result of
human cardiac signal simulator with irregular pattern. V1
Testing the BPM output of human cardiac simulator
using ECG recorder can be show at Figure 10. All of
BPM each signal has show the same value with the
setting exept 110 BPM that shown 111 BPM output V2
value.
ECG Innomedtm V3
(Testing tools)
V4
V5
4
III. CONCLUTION
The output signal of human cardiac simulator has been
recorded and compared with ECGSIM output signal.
All of 3 recording method taken to produce 12 ECG
pattern. The comparison tell that the pattern has meet
the specification of ECGSIM signal. The BPM has
been measured and indicate that the output BPM same
as the BPM setting. The human cardiac simulator also
generating irregular signal as an abnormal signal.
BIBLIOGRAPHY