This presentation summarizes a student project on detecting P-QRS-T peaks in an electrocardiogram (ECG) signal using MATLAB. The project aims to analyze ECG records and simulate the heart's electrical activity as represented by the P-wave, QRS complex, and T-wave. The presentation discusses why ECG is important, how ECG works, and the steps used to detect the peaks, including loading an ECG file into MATLAB, filtering the signal, and detecting peaks with functions like findpeaks. The goal is to help identify cardiovascular conditions by measuring peak intervals and comparing signals to databases of abnormalities.
3. Course Code : EEE-400
Course Title : Project/Thesis
Presentation is submitted by-
Dipta Roy
Student ID : 1402264
Kingsuk Kumar Roy
Student ID : 1402266
Most. Sadika Afrin
Student ID : 1402260
Under the supervision of
Md. Safiqul Islam
Assistant Professor
Dept. of EEE, HSTU
&
Co-supervision of
Md. Ferdous Wahid
Lecturer
Dept. of EEE, HSTU
5. Summary
Why we worked on ECG ?
How ECG works ?
How we detect P-QRS-T peak ?
6. Why we worked on ECG ?
From this statistics we can see that
25% deaths in Bangladesh are
caused by Cardiovascular diseases.
Stroke, Hypertension, Coronary
heart disease, Congenital heart
disease are some kind of
Cardiovascular disease.
We are working here for giving
earlier information to someone
who is affected by cardiovascular
disease.
7. Objectives
Discuss about the electrical activity of heart.
Describe the Electrocardiogram (ECG or EKG) system of human heart.
To know about proper placement of electrodes based on ECG mechanics.
Analyze different types of Electrocardiogram (ECG or EKG) records using
MATLAB R2017a Software.
Study and simulate the actions of the heart represented by the P-wave, QRS
complex and T-wave.
Detect the P wave, QRS complex and T-wave from the ECG records.
8. Application or Medical Uses
Suspected myocardial infarction (heart attack) or new chest pain
Suspected pulmonary embolism or new shortness of breath
Perceived cardiac dysrhythmias either by pulse or palpitations
Monitoring of known cardiac dysrhythmias
Fainting or collapse
Seizures
Monitoring the effects of a heart medication
9. ECG Introduction
Electrocardiogram is a diagnostic tool
that measures and records the electrical
activity of the heart in exquisite detail.
The heart muscles contract and expand
to generate signals that is recorded as
ECG.
Electrocardiogram is the measured
electrical activity of the heart.
10. ECG Introduction
An Ideal ECG looks like this and it
keeps repeating itself.
An ideal ECG consists of a P-wave,
QRS-complex and a T-wave.
13. Process of taking ECG signal using Electrodes
Electrical activity can be
measured by placing electrodes
at specific points on the skin.
14. Why we do Electrocardiogram ?
Check the heart's electrical activity.
Find the cause of unexplained chest pain or pressure. This could be caused
by a heart attack.
Find the cause of symptoms of heart disease. Symptoms include shortness
of breath and heartbeats that are rapid and irregular.
Check how well mechanical devices are working that are implanted in the
heart such as pacemakers. These devices help to control the heartbeat.
Check the health of the heart when other diseases or conditions are
present. These include high blood pressure, high cholesterol, diabetes etc.
15. Why We need Peak detection ?
To measure the interval of P-Q , R-R, Q-T and S-T .
To compare with 73 abnormalities of cardiovascular disease
Without peak detection we can’t find the similarities of abnormal
signal from data base easily
17. Steps for detection
Step-1: 16272m.mat file is loaded to most familiar and multipurpose MATLAB
software “MATLAB R2017a’’.
Step-2: This loaded file is plotted which represents the raw signal.
Step-3: This raw signal must be detrended to get the perfect peak.
Step-4: The raw signal is filtered and signal noise is removed by “sgolayfilt”
filter.
Step-5: From this filtered signal R peak is detected by using findpeaks function.
Step-6: By using R peak as reference S peak is detected.
Step-7: Then T peaks are detected.
Step-8: Finally P peak and Q peak are detected.
18. P-QRS-T peak detection using MATLAB
The ECG signal we
are going to work
with looks like this.
22. R-peak, S-peak and T-wave detection
R-peak, S-peak and
T-wave detection.
23. Final P-QRS-T peak detection
P-wave, QRS-complex
and T-wave detection.
24. Future Works
Remote cardiac monitoring system can be developed by using smart phone,
Bluetooth devices etc.
Pocket ECG analyzer can be developed.
Home diagnosis facilities can be provided.
The computer based methods for ECG signal Analysis.
Medication system can be provided by comparing the abnormalities by using
smart phone.