e-περιοδικό Επιστήμης & Τεχνολογίας e-journal of Science & Technology (e-jst) Design and Construction of a Prototype ECG Simulator



Similar documents
Understanding the Electrocardiogram. David C. Kasarda M.D. FAAEM St. Luke s Hospital, Bethlehem

Efficient Heart Rate Monitoring

Hands On ECG. Sean Hubber and Crystal Lu

Conversion Between Analog and Digital Signals

510 / 511 Cardiorespiratory Monitor Preventative Maintenance Test Procedure

The Electrocardiogram (ECG)

Controlling a Dot Matrix LED Display with a Microcontroller

Electrophysiology Introduction, Basics. The Myocardial Cell. Chapter 1- Thaler

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

NEONATAL & PEDIATRIC ECG BASICS RHYTHM INTERPRETATION

Series AMLDL-Z Up to 1000mA LED Driver

ECG Signal Analysis Using Wavelet Transforms

Cardiac Conduction System (1) ECG (Electrocardiogram) Cardiac Conduction System (2) The ECG (1) The ECG (1) The ECG (1) Achmad Rizal BioSPIN

SIMPLE HEART RATE MONITOR FOR ANALOG ENTHUSIASTS

Lancashire Teaching Hospitals Cardio-Respiratory Department. Lead systems. Paula Hignett

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

ECG SIGNAL PROCESSING AND HEART RATE FREQUENCY DETECTION METHODS

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

BIPOLAR LIMB LEADS UNIPOLAR LIMB LEADS PRECORDIAL (UNIPOLAR) LEADS VIEW OF EACH LEAD INDICATIVE ECG CHANGES

A Digital Timer Implementation using 7 Segment Displays

Features. Applications

Feature Vector Selection for Automatic Classification of ECG Arrhythmias

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

How to Read a Datasheet

Little LFO. Little LFO. User Manual. by Little IO Co.

ELECTROCARDIOGRAPHY (I) THE GENESIS OF THE ELECTROCARDIOGRAM

Pulse Width Modulation

Adding Heart to Your Technology

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Deriving the 12-lead Electrocardiogram From Four Standard Leads Based on the Frank Torso Model

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Biology 347 General Physiology Lab Advanced Cardiac Functions ECG Leads and Einthoven s Triangle

Welcome to this presentation on Switch Mode Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we will look at:

LAB4: Audio Synthesizer

POCKET SCOPE 2. The idea 2. Design criteria 3

Bipolar Transistor Amplifiers

#AS148 - Automated ECG Analysis

POWER SUPPLY MODEL XP-15. Instruction Manual ELENCO

Transistor Amplifiers

Diode Applications. by Kenneth A. Kuhn Sept. 1, This note illustrates some common applications of diodes.

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

AVR Butterfly Training. Atmel Norway, AVR Applications Group

CONSTRUCTING A VARIABLE POWER SUPPLY UNIT

Evaluation copy. Analyzing the Heart with EKG. Computer

Interfacing Analog to Digital Data Converters

the basics Perfect Heart Institue, Piyavate Hospital

Digital Electronics Detailed Outline

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

Power Supplies. 1.0 Power Supply Basics. Module

TEA1024/ TEA1124. Zero Voltage Switch with Fixed Ramp. Description. Features. Block Diagram

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

Design of Medical Information Storage System ECG Signal

Experiment 8 : Pulse Width Modulation

Pacers use a 5-letter code: first 3 letters most important

The full wave rectifier consists of two diodes and a resister as shown in Figure

Electrocardiogram (ECG) Monitoring System using Bluetooth technology

Chapter 6: From Digital-to-Analog and Back Again

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

AXE033 SERIAL/I2C LCD

Android based Alcohol detection system using Bluetooth technology

The Programming Interface

Operational Amplifiers

GLOLAB Universal Telephone Hold

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating

Introduction to Electrocardiography. The Genesis and Conduction of Cardiac Rhythm

Microtronics technologies Mobile:

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP

Laboratory 4: Feedback and Compensation

Properties of electrical signals

Application Note AN- 1118

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

AP-1 Application Note on Remote Control of UltraVolt HVPS

ANADOLU UNIVERSITY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

3-Digit Counter and Display

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

Fundamentals of Signature Analysis

Digital to Analog Converter. Raghu Tumati

Heartbeat Monitoring Alert via SMS

Copyright is owned by the Author of the thesis. Permission is given for a copy to be downloaded by an individual for the purpose of research and

The components. E3: Digital electronics. Goals:

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Building the AMP Amplifier

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Annex: VISIR Remote Laboratory

Bi-directional Power System for Laptop Computers

High voltage power supply (1 to 20 KV)

Glolab Talking Phone Dial Monitor

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Oscillators. 2.0 RF Sine Wave Oscillators. Module. RF Oscillators

Op Amp Circuit Collection

A MOBILE-PHONE ECG DETECTION KIT AND CLOUD MANAGEMENT SYSTEM

Transcription:

Design and Construction of a Prototype ECG Simulator I. Valais 1, G. Koulouras 2, G. Fountos 1, C. Michail 1, D. Kandris 2 and S. Athinaios 2 1 Department of Biomedical Engineeiring, Technological Educational Institution of Athens, 12210 Egaleo, Athens, Greece 2 Department of Electronic Engineering, Technological Educational Institute of Athens, 12210 Egaleo Athens, Greece valais@teiath.gr Abstract Electrocardiographs (ECG) are medical devices that record the rhythm of the heart, particularly abnormal rhythms caused by damage to the conductive tissue that carries electrical signals, or abnormal rhythms caused by electrolyte imbalance. ElectroCardioGraph Simulators (ECGS) are devices that generate electrical signals that emulate human heart electrical signals so that the ECG recorders or monitors can be tested for reliability and important diagnostic capabilities. Modern ECG instruments with automatic wave recognition, measurement and interpretation would need for testing, a carefully selected set of test signals. The main objective of this project is to design a practical ECGS device which can be used to perform the calibration and testing of ECG recorders. Various beat-rate or ECG rhythm (60, 80, 120,150 and 180 bit/min) of normal ECG waveforms produced by analog electronics simulate the standard 10 electrode ECG record. Additionally a state of arrhythmia (random selection of preset ECG rhythm) is also incorporated in order to simulate abnormal ECG rhythms, which in turn should be detected accurately by the ECG recorder. The output of ECGS is monitored by an Atmel ATmega8515 microcontroller as far as the rhythm selection and the display of it, is concerned. An audible signal triggered by the R wave is also produced for easy monitoring of the pace. The produced ECG signals have been compared to human ECG recordings and the device has been calibrated accordingly in various ECG rhythms. In conclusion this ECGS device can be used as a testing device for 12 lead ECG recorders. Key words: ECG Simulator, ECG recorder tester Introduction Electrocardiographs (ECGs) are medical devices that record the rhythm of the heart, particularly abnormal rhythms caused by damage to the conductive tissue that carries electrical signals, or abnormal rhythms caused by electrolyte imbalance. Physicians record ECGs easily and non-invasively by attaching small electrodes to the human body. ECGs are a standard tool used to diagnose heart disease [1]. The typical ECG waveform is shown in Figure 1. The signal is characterized by five peaks and valleys labelled with the successive letters P-Q-R-S-T [2]. Waves and complexes in the normal sinus rhythm are the P wave, PR Interval, PR Segment, QRS Complex, ST Segment, QT Interval and T wave. The P wave duration is normally less than 0.12 second and the amplitude is normally less than 0.25 mv. The duration of the QRS complex is normally 0.06 to 0.1 seconds. It is measured from the beginning of the Q wave to the end of the S wave. The QRS voltage is as small as 0.5-0.7mV. The duration of the T wave is measured from the beginning of the wave to the end. The http://e-jst.teiath.gr 11

area encompassed by the T wave may be a little smaller or larger than that encompassed by the QRS complex [2]. Figure 1. Basic ECG wave Modern ECG instruments with automatic wave recognition, measurement and interpretation would need for testing, a carefully selected set of test signals [3, 4]. ElectroCardioGraph Simulators (ECGS) are devices that generate electrical signals that emulate human heart electrical signals so that the ECG recorders or monitors can be tested for reliability and important diagnostic capabilities [5]. The main objective of this project is to design a practical ECGS device which can be used to perform the calibration and testing of ECG recorders. Various beatrates or ECG rhythm (60, 80, 120,150 and 180 bit/min) of normal ECG waveforms produced by analogue electronics simulate the standard 10 electrode ECG record which corresponds to a 12 Lead ECG. Additionally, a state of arrhythmia (random selection of the preset ECG rhythms) is also incorporated in order to simulate abnormal ECG rhythm, which in turn should be detected accurately by the ECG recorder. The output of ECGS is monitored by an Atmel ATmega8515 microcontroller which detects the produced ECG rhythm and displays it. An audible signal triggered by the R wave is also produced for easy monitoring of the pace. The produced ECG signals have been compared to human ECG recordings and the device has been calibrated accordingly in various ECG rhythms Circuit Design Materials and Methods The ECG simulator circuit design is based on an Atmel ATmega8515 microcontroller (Atmel corporation) [6]. The microcontroller main functions are a) to select the pace or rhythm of the ECG signal, b) to drive to a 2x16 LCD display, the user ECG rhythm selection and the actual ECG output rhythm and c) to trigger an audible signal of the ECG rhythm. Figure 2 shows the three basic oscillation circuits that produce the ECG signal. The beat rate (expressed in beats per minute, bpm) is produced by the circuit shown in the bottom left corner of Figure 2. The microcontroller activates the amplifier circuit resulting to creation of a reference voltage at its output. This is driven into two selftriggered oscillation circuits (transistors TR-1 and TR-3). The voltage from the collector of the TR-1 transistor (BC327) is sent to the capacitor C6 to polarize (3), 9, 2014 12

forward the base of the transistor TR-3 (BC327) in order to be conductive. In this way, the collector voltage of the TR-3 transistor decreases. Consequently, TR-1 is driven to cut-off through the capacitor C7. The red LED D7 lights up whenever the TR-3 transistor conducts, producing a visual signal of the ECG rhythm. This pulse sequence is then driven to the oscillation circuit comprising the transistor TR-2 and the inductor L1, shown in the right of Figure 2. This circuitry produces the P-QRS component of the ECG wave. The heart rate pulse is driven through C2 capacitor to the base of TR-2 transistor, whereas at its collector is forming a sharp pulse. This pulse is then shaped to form the P-QRS wave using the capacitor C3 and the variable resistor (trimmer) RV1. The latter adjusts the height of the QRS peak. The output from the TR-2 collector is also driven to a self-triggered oscillation circuitry (transistors TR-5 and TR-6) shown in the top left corner of Figure 2. In this stage the T wave of the ECG waveform is created. Resistors R18 and R19 control the amplitude of the T-wave, whereas the capacitor C9 is adjusting its width. The three signals namely P, QRS and T are then summed through the diodes D2, D3, and D4 (1N4148) in the base of the transistor TR-4 (Figure 2 centre) where the ECG waveform is synthesized. The collector of the TR-4 is then driven through a resistor network (R24-R29) to the ECG simulator leads (RA, LA, LL, RL). The precordial leads V1-V6 can be taken at the anode of the diode D5, since these leads are considered to be unipolar (Wilson's central terminal is used for the negative electrode). Figure 2. Schematic diagram of the ECG Simulator circuit The TR-3 output (collector) pulse is driven to the ATmega8515 microcontroller as a TRIGGER pulse in one of its input ports (PB3) as shown in Figure 3. The pulse per http://e-jst.teiath.gr 13

minute or heart-bits per minute are selected through the microcontroller using appropriate resistors (RES0-RES4) in five of its output ports, namely PA0-PA4. Seven output ports were used for driving the 2x16 LCD Display and one output port for driving the audible signal to a buzzer. Three push-button switches were used, two for the selection of the ECG rhythm (UP and DOWN) and one for resetting its operation and start over again. There are five rate settings, namely 60, 90, 120, 150 and 180 bpm and a setting of Arrhythmia, which is the random playback of each of the aforementioned heart rates, for two seconds. Since the resistors used for the heart rate selection are subjected to temperature drift or inaccuracies of their value, the pulse in the input port PB3 is also displayed in the LCD display, as an indication of the beat rate accuracy achieved. The microcontroller was programmed by making use of C-programming language, CodeVision AVR compiler (CodeVisionAVR v3.06 Evaluation, HP InfoTech SRL) and STK-500 (AtmelAVR STK500, Atmel Corporation) development system. The apparatus is operated on a 9V battery in order to avoid any interference created by AC/DC power supply. Since the microcontroller operates in 5 Volts, a 5V voltage regulator was used for this purpose as shown in Figure 3. Evaluation Figure 3. Schematic diagram of the Microcontroller ATmega8515 circuit Results and Discussion The ECG Simulator prototype construction is shown in Figure 4. For the evaluation of the device an ENVITEC CardiQuantWin BT3/6 ECG recorder (ENVITEC, Wismar GmbH) was used. Initially a 25 year old male human volunteer undergone ECG recording using four electrodes, namely RA, LA, LL and RL. Figure 5 shows the ECG recording for Leads I, II, III, avr, avl and avf of the human volunteer. (3), 9, 2014 14

Figure 5. ECG recordings using three electrodes RA, LA and RL. The ECG Simulator is then connected to the ECG recorder and selections of six different heart rate recordings were performed. Figure 6a and 6b show the recordings of the simulator at heart rates of 60 and 90 bpm. (a) (b) Figure 6. ECG recordings using the ECG Simulator set at 60 and 90 bpm. In portions (a) and (b) of Figure 7 the recordings of the simulator at heart rates of 120 and 150 bpm are correspondingly depicted. The observation of these two http://e-jst.teiath.gr 15

illustrations makes evident that as the heart rate increases the interval between the R- R waves decreases. This makes more difficult to detect short arrhythmias in high heart rates. (a) (b) Figure 7. ECG recording using the ECG Simulator set at 120 and 150 bpm. In portions (a) and (b) of Figure 8 the simulator recordings for heart rate 180 bpm and Arrhythmia are correspondingly illustrated. In our design, arrhythmia is implemented by randomly changing the heart rate. The microcontroller is programmed to randomly select one of the predefined heart rates for duration of two seconds and then changing randomly again. This can be seen in Figure 8(b) where the recording changes rate from 60 to 90 and then to 150 bpm. (3), 9, 2014 16

Figure 8. ECG recording using the ECG Simulator set at 180 bpm and Arrhythmia. By comparing the human ECG recordings with the corresponding ones provided by the Simulator, as shown in Figures 5, 6, 7 and 8, a general comment can be drawn. This is that lead III and lead avf have reverse polarity between the two recordings. This may be attributed to the polarity of either RL or LL electrodes. A further investigation on the polarity issue might correct the problem of reverse lead (III and avf). Another finding which should be pointed out based on the recordings of the Simulator is that T-wave is much suppressed and thus difficult to be distinguished. This may be attributed to the amplification of T-wave by resistors R18 and R19. A solution to this issue might be the replacement of either of these two resistors with a variable resistor (trimmer). Conclusion In our study we tried to simulate human ECG waveforms of variable heart rate in order to produce a ECG recorder tester. In order to achieve this objective, analogue ECG waveform circuitry was developed, controlled by a microcontroller in order to increase the reproducibility and the stability of its output. Preliminary results indicate that our design can be used for testing ECG recorders or ECG monitors as far as their waveform detection efficiency is concerned. Moreover the built-in function of Arrhythmia gives the clinicians and the biomedical engineers the ability to test the temporal sensitivity of ECG recorders or even ECG monitors, being equipped with detection algorithms for arrhythmia prognosis. References 1. Morris F., Edhouse J., Brady W.J., Camm J., ABC of Clinical Electrocardiography, BMJ Publishing Group, 2003 http://e-jst.teiath.gr 17

2. Zalis E.G., Conover M.H., Understanding Electrocardiography: Physiological and Interpretive Concepts, Mosby 1972. 3. Daskalov I.K, Dotsinsky I.A, Christov I.I. Developments in ECG acquisition, preprocessing, parameter measurement and recording. IEEE Eng in Med and Biol 1998;17:50 8. 4. Willems J.L, Arnaud P, Van Bemmel J.H, Degani R, Macfarlane P.W, Zywietz C. Common standards for quantitative electrocardiography: goals and main results. Methods of Information in Medicine 1990;29:263 71. 5. Webster J. G., Medical Instrumentation Application and Design, Third ed., John Wiley & Sons, 1998 6. ATMEGA8515 Datasheet (PDF) - ATMEL Corporation - 8-bit AVR Microcontroller with 8K Bytes In-System Programmable Flash, available in: http://www.atmel.com/devices/atmega8515.aspx (3), 9, 2014 18