SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
http://e-jst.teiath.gr 11 
Design and Construction of a Prototype ECG Simulator 
I. Valais1, G. Koulouras2, G. Fountos1, C. Michail1, D. Kandris2 and S. Athinaios2 
1 Department of Biomedical Engineeiring, Technological Educational Institution of Athens, 12210 Egaleo, Athens, Greece 
2Department 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
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
(3), 9, 2014 12 
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 beat- rates 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 
Materials and Methods 
Circuit Design 
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 self- triggered 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
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
http://e-jst.teiath.gr 13 
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
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
(3), 9, 2014 14 
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. 
Figure 3. Schematic diagram of the Microcontroller ATmega8515 circuit 
Results and Discussion 
Evaluation 
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.
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
http://e-jst.teiath.gr 15 
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. 
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 
(a) 
(b)
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
(3), 9, 2014 16 
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. 
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. 
(a) (b)
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
http://e-jst.teiath.gr 17 
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
e-Περιοδικό Επιστήμης & Τεχνολογίας 
e-Journal of Science & Technology (e-JST) 
(3), 9, 2014 18 
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

Mais conteúdo relacionado

Mais procurados

Heart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorHeart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorVedavyas PBurli
 
Digital signal processing appliations ecg
Digital signal processing appliations   ecgDigital signal processing appliations   ecg
Digital signal processing appliations ecgAbhiramAnne
 
Electrical mapping of the heart
Electrical mapping of the heartElectrical mapping of the heart
Electrical mapping of the heartFelix Obi
 
Voltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdVoltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdHariKishore Karanapu
 
Medical Instrumentation- body parameters measurement
Medical Instrumentation- body parameters measurementMedical Instrumentation- body parameters measurement
Medical Instrumentation- body parameters measurementPoornima D
 
Heart rate monitoring system using 8051
 Heart rate monitoring system using 8051 Heart rate monitoring system using 8051
Heart rate monitoring system using 8051Eldhose George
 
Arm cortex ( lpc 2148 ) based motor speed control
Arm cortex ( lpc 2148 ) based motor speed control Arm cortex ( lpc 2148 ) based motor speed control
Arm cortex ( lpc 2148 ) based motor speed control Uday Wankar
 
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring  Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring bioejjournal
 
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORING
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORINGDESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORING
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORINGbioejjournal
 
Unit 3 biomedical
Unit 3 biomedicalUnit 3 biomedical
Unit 3 biomedicalAnu Antony
 
Automated water head controller for domestic application
Automated water head controller for domestic applicationAutomated water head controller for domestic application
Automated water head controller for domestic applicationeSAT Journals
 
Automated water head controller for domestic application
Automated water head controller for domestic applicationAutomated water head controller for domestic application
Automated water head controller for domestic applicationeSAT Publishing House
 
an advance approach to divert trafiic at busy signals using rfid technolgy
an advance approach to divert trafiic at busy signals using rfid technolgyan advance approach to divert trafiic at busy signals using rfid technolgy
an advance approach to divert trafiic at busy signals using rfid technolgyChitrachedu Dada Kalandar
 
Microcontroller lec 2
Microcontroller  lec 2Microcontroller  lec 2
Microcontroller lec 2Ibrahim Reda
 
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Manu Mitra
 
ACD-instrumentation amplifier & peaking amplifier
ACD-instrumentation amplifier & peaking amplifier  ACD-instrumentation amplifier & peaking amplifier
ACD-instrumentation amplifier & peaking amplifier Ðîgëñ Tàìlør
 
Wireless heartattack detector
Wireless heartattack detectorWireless heartattack detector
Wireless heartattack detectorManoj Chidambaram
 

Mais procurados (20)

Heart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorHeart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensor
 
Digital signal processing appliations ecg
Digital signal processing appliations   ecgDigital signal processing appliations   ecg
Digital signal processing appliations ecg
 
Electrical mapping of the heart
Electrical mapping of the heartElectrical mapping of the heart
Electrical mapping of the heart
 
Voltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdVoltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcd
 
Mini project
Mini projectMini project
Mini project
 
Medical Instrumentation- body parameters measurement
Medical Instrumentation- body parameters measurementMedical Instrumentation- body parameters measurement
Medical Instrumentation- body parameters measurement
 
Heart rate monitoring system using 8051
 Heart rate monitoring system using 8051 Heart rate monitoring system using 8051
Heart rate monitoring system using 8051
 
Arm cortex ( lpc 2148 ) based motor speed control
Arm cortex ( lpc 2148 ) based motor speed control Arm cortex ( lpc 2148 ) based motor speed control
Arm cortex ( lpc 2148 ) based motor speed control
 
HEART RATE MONITOR
HEART RATE MONITORHEART RATE MONITOR
HEART RATE MONITOR
 
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring  Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring
Designing a 3-Lead Cost Effective ECG Recording Glove for Home Monitoring
 
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORING
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORINGDESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORING
DESIGNING A 3-LEAD COST EFFECTIVE ECG RECORDING GLOVE FOR HOME MONITORING
 
Unit 3 biomedical
Unit 3 biomedicalUnit 3 biomedical
Unit 3 biomedical
 
report
reportreport
report
 
Automated water head controller for domestic application
Automated water head controller for domestic applicationAutomated water head controller for domestic application
Automated water head controller for domestic application
 
Automated water head controller for domestic application
Automated water head controller for domestic applicationAutomated water head controller for domestic application
Automated water head controller for domestic application
 
an advance approach to divert trafiic at busy signals using rfid technolgy
an advance approach to divert trafiic at busy signals using rfid technolgyan advance approach to divert trafiic at busy signals using rfid technolgy
an advance approach to divert trafiic at busy signals using rfid technolgy
 
Microcontroller lec 2
Microcontroller  lec 2Microcontroller  lec 2
Microcontroller lec 2
 
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
 
ACD-instrumentation amplifier & peaking amplifier
ACD-instrumentation amplifier & peaking amplifier  ACD-instrumentation amplifier & peaking amplifier
ACD-instrumentation amplifier & peaking amplifier
 
Wireless heartattack detector
Wireless heartattack detectorWireless heartattack detector
Wireless heartattack detector
 

Semelhante a Valais 36

B0333008011
B0333008011B0333008011
B0333008011theijes
 
Ijaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xIjaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xsalborunda
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGtheijes
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGtheijes
 
Identification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIdentification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIJERA Editor
 
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End Kit
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End KitStudy and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End Kit
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End KitIRJET Journal
 
D032021027
D032021027D032021027
D032021027inventy
 
IRJET- R–Peak Detection of ECG Signal using Thresholding Method
IRJET- R–Peak Detection of ECG Signal using Thresholding MethodIRJET- R–Peak Detection of ECG Signal using Thresholding Method
IRJET- R–Peak Detection of ECG Signal using Thresholding MethodIRJET Journal
 
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...IRJET Journal
 
Acquiring Ecg Signals And Analysing For Different Heart Ailments
Acquiring Ecg Signals And Analysing For Different Heart AilmentsAcquiring Ecg Signals And Analysing For Different Heart Ailments
Acquiring Ecg Signals And Analysing For Different Heart AilmentsIJERA Editor
 
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTS
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTSCARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTS
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTSIRJET Journal
 
A Survey on Ambulatory ECG and Identification of Motion Artifact
A Survey on Ambulatory ECG and Identification of Motion ArtifactA Survey on Ambulatory ECG and Identification of Motion Artifact
A Survey on Ambulatory ECG and Identification of Motion ArtifactIJERD Editor
 
FPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection AlgorithmFPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection AlgorithmIDES Editor
 

Semelhante a Valais 36 (20)

B0333008011
B0333008011B0333008011
B0333008011
 
Ijaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xIjaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195x
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
 
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECGAnalyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
Analyzing of an ECG Signal Mathematically By Generating Synthetic-ECG
 
Identification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIdentification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signal
 
ECG
ECGECG
ECG
 
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End Kit
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End KitStudy and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End Kit
Study and Analysis of ECG Signal using ADS1298RECG-FE Analog Front End Kit
 
C04611318
C04611318C04611318
C04611318
 
D032021027
D032021027D032021027
D032021027
 
11
1111
11
 
IRJET- R–Peak Detection of ECG Signal using Thresholding Method
IRJET- R–Peak Detection of ECG Signal using Thresholding MethodIRJET- R–Peak Detection of ECG Signal using Thresholding Method
IRJET- R–Peak Detection of ECG Signal using Thresholding Method
 
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...
IRJET- Detection of Atrial Fibrillation by Analyzing the Position of ECG Sign...
 
Acquiring Ecg Signals And Analysing For Different Heart Ailments
Acquiring Ecg Signals And Analysing For Different Heart AilmentsAcquiring Ecg Signals And Analysing For Different Heart Ailments
Acquiring Ecg Signals And Analysing For Different Heart Ailments
 
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTS
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTSCARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTS
CARDIO VASCULAR ALERTING SYSTEM FOR POST – OP CABG PATIENTS
 
Eg24842846
Eg24842846Eg24842846
Eg24842846
 
A Survey on Ambulatory ECG and Identification of Motion Artifact
A Survey on Ambulatory ECG and Identification of Motion ArtifactA Survey on Ambulatory ECG and Identification of Motion Artifact
A Survey on Ambulatory ECG and Identification of Motion Artifact
 
FPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection AlgorithmFPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection Algorithm
 
40120140501001
4012014050100140120140501001
40120140501001
 
Jq3516631668
Jq3516631668Jq3516631668
Jq3516631668
 
7. 60 69
7. 60 697. 60 69
7. 60 69
 

Valais 36

  • 1. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) http://e-jst.teiath.gr 11 Design and Construction of a Prototype ECG Simulator I. Valais1, G. Koulouras2, G. Fountos1, C. Michail1, D. Kandris2 and S. Athinaios2 1 Department of Biomedical Engineeiring, Technological Educational Institution of Athens, 12210 Egaleo, Athens, Greece 2Department 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
  • 2. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) (3), 9, 2014 12 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 beat- rates 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 Materials and Methods Circuit Design 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 self- triggered 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. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) http://e-jst.teiath.gr 13 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
  • 4. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) (3), 9, 2014 14 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. Figure 3. Schematic diagram of the Microcontroller ATmega8515 circuit Results and Discussion Evaluation 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.
  • 5. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) http://e-jst.teiath.gr 15 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. 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 (a) (b)
  • 6. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) (3), 9, 2014 16 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. 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. (a) (b)
  • 7. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) http://e-jst.teiath.gr 17 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
  • 8. e-Περιοδικό Επιστήμης & Τεχνολογίας e-Journal of Science & Technology (e-JST) (3), 9, 2014 18 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