Welcome
To
Our
Presentation
Welcome
To
Our
Presentation
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
P-QRS-T
peak
detection
of ECG
signal by
MATLAB
Summary
 Why we worked on ECG ?
 How ECG works ?
 How we detect P-QRS-T peak ?
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.
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.
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
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.
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.
Cardiac Conduction System
Cardiac Conduction System
Process of taking ECG signal using Electrodes
 Electrical activity can be
measured by placing electrodes
at specific points on the skin.
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.
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
Peak
Detection
Process
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.
P-QRS-T peak detection using MATLAB
 The ECG signal we
are going to work
with looks like this.
Detrended ECG Signal
 After detrending
the raw ECG signal.
Filtering the raw ECG signal
 Filtering the
detrended ECG
signal by using
“sgolayfilt” filter.
R-peak detection using MATLAB
 R peak detection of
the filtered signal.
R-peak, S-peak and T-wave detection
 R-peak, S-peak and
T-wave detection.
Final P-QRS-T peak detection
 P-wave, QRS-complex
and T-wave detection.
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.
Thanks to all…
Questions???

P-QRS-T peak detection of ECG signal by MATLAB

  • 1.
  • 2.
  • 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
  • 4.
  • 5.
    Summary  Why weworked on ECG ?  How ECG works ?  How we detect P-QRS-T peak ?
  • 6.
    Why we workedon 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 theelectrical 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 MedicalUses 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  Electrocardiogramis 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  AnIdeal ECG looks like this and it keeps repeating itself.  An ideal ECG consists of a P-wave, QRS-complex and a T-wave.
  • 11.
  • 12.
  • 13.
    Process of takingECG signal using Electrodes  Electrical activity can be measured by placing electrodes at specific points on the skin.
  • 14.
    Why we doElectrocardiogram ? 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 needPeak 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
  • 16.
  • 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 detectionusing MATLAB  The ECG signal we are going to work with looks like this.
  • 19.
    Detrended ECG Signal After detrending the raw ECG signal.
  • 20.
    Filtering the rawECG signal  Filtering the detrended ECG signal by using “sgolayfilt” filter.
  • 21.
    R-peak detection usingMATLAB  R peak detection of the filtered signal.
  • 22.
    R-peak, S-peak andT-wave detection  R-peak, S-peak and T-wave detection.
  • 23.
    Final P-QRS-T peakdetection  P-wave, QRS-complex and T-wave detection.
  • 24.
    Future Works Remote cardiacmonitoring 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.
  • 25.
  • 26.