<< Chapter < Page Chapter >> Page >
Background information necessary to build an ECG that automatically detects heart arrhythmias and abnormalities. This includes the physiologic background of the ECG, how it works and the ECG characteristics of two heart abnormalities that our system can detect.

Introduction: building an electrocardiogram (ecg) based diagnostic system

Our goal is to build an Electrocardiogram (ECG) that not only calculates the heart rate automatically, but can also detect other heart abnormalities as well. This requires more advanced analysis of the ECG Signal. There are several steps that need to be accomplished in order to achieve this goal, as outlined in the flowchart below.

Overall data flowchart for an automatic ecg

Breaks down the different steps which need to be accomplished in order to accomplish ECG signal analysis

Data acquisition and signal conditioning are covered in Collecting and Filtering Live ECG Signal . The remaining phases, which are all related to signal analysis are covered in Algorithms for ECG Signal Analysis .

Before we go into more detail about how to build an ECG, it is helpful to understand how the ECG works and how to interpret the data you receive.

Physiological background of the ecg

An ECG is a non-invasive diagnostic device to monitor the condition of the heart through its electrical activity. This signal is acquired through externally located electrodes that adhere to the skin. A simple, clinical lead placement uses three leads: left arm, right arm and left leg (Figure 2). The electrical activity versus time forms an electrograph and can be used to determine and diagnose heart abnormalities and arrhythmias. This principle is based on Einthoven’s law.

Electrode placement for three-lead ecg

Lead 1 is attached to the right wrist, Lead 2 to the left wrist and Lead 3 is attached to the right ankle as a ground electrode.

All recorded electrical activity of the electrocardiogram corresponds to the net electrical current in the heart over time, depolarizing parts of the heart in sequence. The electrical impulse is initiated by the sinoatrial (SA) node. This causes the atria to contract and is evident on the ECG as the P wave . Next, there is a delay caused by the conduction of the impulse to the atrioventricular (AV) node such that the physical contraction of the atria have time to complete before the contraction of the ventricles. The QRS complex on the ECG is due to the depolarization of the ventricles, and occurs when the ventricles contract. Finally, the T wave on the ECG is due to the repolarization of the ventricles ( Pflanzer, 2004 ). Therefore, each heartbeat corresponds to a pulse on the ECG beginning with each P wave and the ending with each T wave. The heart rate can be determined by determining the time it takes to complete one beat and is typically reported in beats per minute. Figure 3 demonstrates the characteristic shape of the waveform in a healthy patient.

Typical ecg signal

An example of the typical shape and location of the various components of an ECG signal.

Background information on monitored heart conditions

To perform automatic detection of an ECG signal, there needs to be something that clearly delineates a certain abnormality from other signals. Therefore, the signal processing selected is to detect ventricular hypertrophy and old myocardial infarctions. Luckily, these types of abnormalities are both very useful for doctors to diagnose a patient and have distinguishable ECG features.

Ventricular hypertrophy is the enlargement of either of the ventricles. Left ventricular hypertrophy is particularly common in athletes as well as an indicator of hypertension. It is also used in the Framingham risk equation to predict future cardiac problems the patient may face ( ECG Abnormalities, 2006 ). One of its characteristic ECG patterns is the inverted T wave (Figure 4).

An example of an ecg signal with an inverted t-wave

A myocardial infarction (a.k.a. heart attack) is caused by the complete blockage of one of the coronary arteries. The coronary artery is what supplies the heart muscle with blood. A blockage prevents blood from reaching the surrounding muscular tissue resulting in necrosis. This damage is permanent so the resulting ECG characteristic will remain with the patient. Therefore, the doctor can easily tell if a patient has had a heart attack in the past. The ECG of an old myocardial infarction is characterized by a significant Q wave (Figure 5). This means that the Q peak is unusually deep, usually with amplitude of about one-third that of the R peak ( Dubin, 2000 ).

An example of an ecg signal with a significant q-wave

By building an ECG that can automatically detect these and potentially other heart abnormalities, it will be easier for doctors to monitor multiple patients. This is especially important in third world countries where there are often far too many patients in one clinic than one doctor or nurse can adequately care for.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Building an electrocardiogram (ecg) diagnostic system. OpenStax CNX. Dec 19, 2008 Download for free at http://cnx.org/content/col10620/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Building an electrocardiogram (ecg) diagnostic system' conversation and receive update notifications?

Ask