SlideShare a Scribd company logo
1 of 60
VEERMATA JIJABAI TECHNOLOGICAL
INSTITUTE
Estimation of Respiration Rate from EDR signal
and
Automatic discrimination between NSR, VT and
VF signals
M.Tech Thesis Presentation
Date : 02-07-2014
Guided by :
Dr. A. N. Cheeran
Presented by :
Nidhi Sharma
122151021
In collaboration with :
A3 RMT
2
Estimation of Respiration Rate
from ECG Derived Respiration
(EDR) signal
Automatic discrimination between Normal
Sinus Rhythm (NSR), Ventricular Tachycardia
(VT) and Ventricular Fibrillation (VF) signals
This presentation is divided into 2 parts
Respiration information is very important in
heart diagnosis
Monitoring respiration rate is needed in Post-operative Care,
Understanding several arrhythmias and synchronisation of MRI
scans of Heart and Thorax
Obtaining respiratory signal needs extra
sensors in addition to those needed for ECG
This can interfere with natural breathing process and also
cannot be used for ambulatory or long-term monitoring
Respiration mainly manifests itself on ECG
in three ways
Respiratory Sinus Arrhythmia
R-S Amplitude Modulation
Baseline Wander
EDR is derivation of a patient’s respiratory signal
(non-calibrated) by digitally processing the ECG
Changes the electrical
impedance, which
modifies the ECG
Movement of electrodes with
respect to the heart during
respiration
ECG Signal Processing
R peak Detection
RR interval calculation
and EDR signal
Peak detection
Band Pass
Filter
Differentiator
Squarer
Moving Window
Integration
Baseline Wander
Filter
Wavelet
based
denoising
Smoothing using S-Golay
filter
Overview of the Algorithm:
Calculate the
distances between
consecutive R
peaks
Plot these values
using cubic
spline
interpoation
Find the peaks
above
threshold t
Check if the no
of peaks > 30
If yes, check if
distance
between
successive
peaks > 1211
If yes,
discard
invalid
peaks
If no of peaks <
30, find the
peaks above
threshold 2t
Discard the peaks which are
at a distance < 1500
Different data are used during the training and
testing phase of the algorithm
Training Phase
Testing Phase
Fantasia Database provides both the ECG and
simultaneously recorded respiration signal
Recording of ECG and
noting the breath count at
A3 RMT and VJTI
Input Raw Signal
Input Raw Signal
Pre process the ECG
Input Raw Signal
Pre process the ECG
Input Raw Signal
Pre process the ECG
R-peak Detection
Input Raw Signal
Pre process the ECG
R-peak Detection
Input Raw Signal
Pre process the ECG
R-peak Detection
RR-interval calculation and EDR Signal
Input Raw Signal
Pre process the ECG
R-peak Detection
RR-interval calculation and EDR Signal
Input Raw Signal
Pre process the ECG
R-peak Detection
RR-interval calculation and EDR Signal
Peak Detection
Input Raw Signal
Pre process the ECG
R-peak Detection
RR-interval calculation and EDR Signal
Peak Detection
Reference during training is the respiratory
waveform from the database
Respiration rate calculated on database waveform = 17
Respiration rate calculated from the algorithm = 17
Reference during testing is the breath counts
reported by the subjects
20
The proposed algorithm shows a tolerance
limit of ± 2 and takes very less execution time
Thus, proposed algorithm is computationally inexpensive and
fast implying its usage in real time
Tolerance
Limit
± 2
Total
samples
50
Within
tolerance
limit
45
Outside
tolerance
limit
5
Automatic discrimination between Normal Sinus Rhythm
(NSR), Ventricular Tachycardia (VT) and Ventricular
Fibrillation (VF) signals
Doctors have to take a life-saving decision of
delivering an electric counter-shock to the
patient
Ventricular Tachycardia (VT) originates from
a single site within the ventricles at a rate
greater than 100 bpm
Ventricles do not have the opportunity to completely
empty and refill. Hence, cardiac output is decreased
Ventricular Tachycardia (VT) originates from
a single site within the ventricles at a rate
greater than 100 bpm
The QRS complex is wide, bizarre and >0.12 seconds
No P wave
Ventricular Tachycardia (VT) originates from
a single site within the ventricles at a rate
greater than 100 bpm
26
Heart’s electrical activity becomes disordered
In Ventricular Fibrillation(VF) many impulses
are initiated from many locations in
ventricles
Cardiac output is non-existent
In Ventricular Fibrillation(VF) many impulses
are initiated from many locations in
ventricles
Bizarre, irregular and random waveform
No identifiable QRS complexes or P wave
28
Stochastic components lead to
deviations and variation in shape
ECG signal has both regular and stochastic
aspects which needs to be modeled by
stochastically driven model
Two different cycles of same ECG signal are aligned
29
Delay reconstruction method reveals both
regular and stochastic components of ECG
Delay reconstruction method takes nearby point information
and preserves most of the wave information
Maps time series to phase space trajectory using time
delay method
Delineates the nonlinear behavior
30
Trajectories are drawn with a time delay of
0.2 seconds
NSR Signal and its trajectory
31
Trajectories are drawn with a time delay of
0.2 seconds
VT Signal and its trajectory
32
Trajectories are drawn with a time delay of
0.2 seconds
VF Signal and its trajectory
To remove common information and extract
discriminative information several masks are
designed
Width of each mask is 5 blocks
Only masks fail to recognize VT from VF
Negative peak detection exploits the characteristic of VT signals
Only masks fail to recognize VT from VF
Negative peak detection exploits the characteristic of VT signals
Only masks fail to recognize VT from VF
Negative peak detection exploits the characteristic of VT signals
ECG Signal Pre-Processing
Peak Detection to
check for VT
Application of masks
on trajectory plots
Counting the no. of
flagged boxes to
classify
Input Raw Signal
Input Raw Signal
Pre process the ECG
Input Raw Signal
Pre process the ECG
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Plot the trajectory and convert it into image
Divide this image into 40x40 boxes
Calculate the no. of boxes traced by trajectory (n1)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Plot the trajectory and convert it into image
Divide this image into 40x40 boxes
Calculate the no. of boxes traced by trajectory (n1)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Plot the trajectory and convert it into image
Divide this image into 40x40 boxes
Calculate the no. of boxes traced by trajectory (n1)
Multiply the input image with three masks
Calculate the resulting no. of boxes (n45,n135,nT)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Plot the trajectory and convert it into image
Divide this image into 40x40 boxes
Calculate the no. of boxes traced by trajectory (n1)
Multiply the input image with three masks
Calculate the resulting no. of boxes (n45,n135,nT)
Input Raw Signal
Pre process the ECG
Calculate the 2nd difference of negative peaks (T)
Plot the trajectory and convert it into image
Divide this image into 40x40 boxes
Calculate the no. of boxes traced by trajectory (n1)
Multiply the input image with three masks
Calculate the resulting no. of boxes (n45,n135,nT)
A
A
Is T within
limit of 30
points ?
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
The signal is
VT
Yes
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
The signal is
VT
Yes
No
Other
Abnormality
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
The signal is
VT
Yes
No
Other
Abnormality
No
Is n1 > 500
or
(n135 +n45 )
> 200 ?
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
The signal is
VT
Yes
No
Other
Abnormality
No
Is n1 > 500
or
(n135 +n45 )
> 200 ?
Yes
The signal is VF
A
Is T within
limit of 30
points ?
Yes
Is nT >
100?
The signal is
VT
Yes
No
Other
Abnormality
No
Is n1 > 500
or
(n135 +n45 )
> 200 ?
Yes
The signal is VF
No
The signal is NSR
The proposed algorithm shows an overall
accuracy of 97%
Actual
Signal
Classified As
NSR VT VF Other
abnormality
Sensitivity
80 NSR 78 0 2 0 97.5%
25 VT 0 23 0 2 92%
70 VF 0 2 68 0 97.14%
Confusion Matrix
57
Phase space reconstruction
phenomenon along with
masks and combined with
peak detection algorithm can
classify NSR, VT and VF much
more efficiently
In summary, this is an efficient, fast and simple
discrimination algorithm which can be useful at the time of
manual defibrillation
 Combination of parameters
like R wave amplitude
modulation and area under the
QRS curve
Developing a respiratory
signal from a database of
exercise and heart rate
recovery ECGs, a study
can be performed to identify
the types of respiratory
abnormalities that correlate to
different kinds of autonomic
dysfunction
FUTURE SCOPE….
 Combination of spatial filling
index along with the current
algorithm
 Further work can be done to
develop simple indices based
on phase space reconstruction
method for classification of
other cardiac disorders
References
Journal Papers:
•Othman M A., et al., (2012), "Characterization of Ventricular Tachycardia and Fibrillation Using
Semantic Mining." Computer & Information Science 5, no. 5.
•Sarvestani R., et al., (2009),"VT and VF classification using trajectory analysis." Nonlinear Analysis:
Theory, Methods & Applications71.12: e55-e61.
•Mane R., et al., (2013),"Cardiac Arrhythmia Detection By ECG Feature Extraction." International Journal
of Engineering Research and Applications 3, no. 2: 327-332.
•Anton A., et al., (2007) "Detecting ventricular fibrillation by time-delay methods." IEEE Trans. Biomed.
Eng. 54 (1) 174_177.
Proceedings Papers:
•Rocha, T., et al., (2008),"Phase space reconstruction approach for ventricular arrhythmias
characterization." In Engineering in Medicine and Biology Society, 2008. EMBS 2008. 30th Annual
International Conference of the IEEE, pp. 5470-5473. IEEE.
Websites:
•CU Database, Massachusetts Institute of Technology, [online] available :
http://www.physionet.org/physiobank/database/cudb
•The MIT-BIH Normal Sinus Rhythm Database, [online] available :
http://www.physionet.org/physiobank/database/nsrdb
•The MIT-BIH Malignant Ventricular Arrhythmia Database, [online] available :
http://www.physionet.org/physiobank/database/vfdb
THANK
YOU

More Related Content

What's hot

Distortion annalyser
Distortion annalyserDistortion annalyser
Distortion annalysermks mk
 
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...Rohde & Schwarz North America
 
Sampling tutorial
Sampling tutorialSampling tutorial
Sampling tutorialCut Lilis
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processingshivamverma394
 
Updated! Debugging EMI Problems Using a Digital Oscilloscope
Updated! Debugging EMI Problems Using a Digital OscilloscopeUpdated! Debugging EMI Problems Using a Digital Oscilloscope
Updated! Debugging EMI Problems Using a Digital OscilloscopeRohde & Schwarz North America
 
CRO and functional generator physics
CRO and functional generator physicsCRO and functional generator physics
CRO and functional generator physicsAbdul Wahab Raza
 
RF Circuit Design - [Ch1-2] Transmission Line Theory
RF Circuit Design - [Ch1-2] Transmission Line TheoryRF Circuit Design - [Ch1-2] Transmission Line Theory
RF Circuit Design - [Ch1-2] Transmission Line TheorySimen Li
 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingAmr E. Mohamed
 
Synchronous Time and Frequency Domain Analysis of Embedded Systems
Synchronous Time and Frequency Domain Analysis of Embedded SystemsSynchronous Time and Frequency Domain Analysis of Embedded Systems
Synchronous Time and Frequency Domain Analysis of Embedded SystemsRohde & Schwarz North America
 
Active Filter Design Using PSpice
Active Filter Design Using PSpiceActive Filter Design Using PSpice
Active Filter Design Using PSpiceTsuyoshi Horigome
 
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsDDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsAmr E. Mohamed
 
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRT
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRTIRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRT
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRTIRJET Journal
 

What's hot (16)

Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
Distortion annalyser
Distortion annalyserDistortion annalyser
Distortion annalyser
 
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...
Synchronous Time / Frequency Domain Measurements Using a Digital Oscilloscope...
 
Sampling tutorial
Sampling tutorialSampling tutorial
Sampling tutorial
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
B tech
B techB tech
B tech
 
Updated! Debugging EMI Problems Using a Digital Oscilloscope
Updated! Debugging EMI Problems Using a Digital OscilloscopeUpdated! Debugging EMI Problems Using a Digital Oscilloscope
Updated! Debugging EMI Problems Using a Digital Oscilloscope
 
CRO and functional generator physics
CRO and functional generator physicsCRO and functional generator physics
CRO and functional generator physics
 
Active filters
Active filtersActive filters
Active filters
 
RF Circuit Design - [Ch1-2] Transmission Line Theory
RF Circuit Design - [Ch1-2] Transmission Line TheoryRF Circuit Design - [Ch1-2] Transmission Line Theory
RF Circuit Design - [Ch1-2] Transmission Line Theory
 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
 
Ea3
Ea3Ea3
Ea3
 
Synchronous Time and Frequency Domain Analysis of Embedded Systems
Synchronous Time and Frequency Domain Analysis of Embedded SystemsSynchronous Time and Frequency Domain Analysis of Embedded Systems
Synchronous Time and Frequency Domain Analysis of Embedded Systems
 
Active Filter Design Using PSpice
Active Filter Design Using PSpiceActive Filter Design Using PSpice
Active Filter Design Using PSpice
 
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsDDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
 
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRT
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRTIRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRT
IRJET-Weather Radar Range Velocity Ambiguity Analysis using Staggered PRT
 

Similar to final ppt

Biomedical signal processing
Biomedical signal processingBiomedical signal processing
Biomedical signal processingAbdul Kader
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMIJEEE
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...IRJET Journal
 
A Simple and Robust Algorithm for the Detection of QRS Complexes
A Simple and Robust Algorithm for the Detection of QRS ComplexesA Simple and Robust Algorithm for the Detection of QRS Complexes
A Simple and Robust Algorithm for the Detection of QRS ComplexesIJRES Journal
 
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
 
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
 
Iaetsd a review on ecg arrhythmia detection
Iaetsd a review on ecg arrhythmia detectionIaetsd a review on ecg arrhythmia detection
Iaetsd a review on ecg arrhythmia detectionIaetsd Iaetsd
 
Wavelet transform based on qrs detection using diodic algorithm
Wavelet transform based on qrs detection using diodic algorithmWavelet transform based on qrs detection using diodic algorithm
Wavelet transform based on qrs detection using diodic algorithmeSAT Publishing House
 
Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...eSAT Journals
 
J041215358
J041215358J041215358
J041215358IOSR-JEN
 
ECG Signal Analysis for Myocardial Infarction Detection
ECG Signal Analysis for Myocardial Infarction DetectionECG Signal Analysis for Myocardial Infarction Detection
ECG Signal Analysis for Myocardial Infarction DetectionUzair Akbar
 
ECG Signal Analysis for MI Detection
ECG Signal Analysis for MI DetectionECG Signal Analysis for MI Detection
ECG Signal Analysis for MI DetectionUzair Akbar
 
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural Network
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural NetworkIRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural Network
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural NetworkIRJET Journal
 
Noise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryNoise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryIJECEIAES
 

Similar to final ppt (20)

Biomedical signal processing
Biomedical signal processingBiomedical signal processing
Biomedical signal processing
 
Jq3516631668
Jq3516631668Jq3516631668
Jq3516631668
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
 
7. 60 69
7. 60 697. 60 69
7. 60 69
 
A Simple and Robust Algorithm for the Detection of QRS Complexes
A Simple and Robust Algorithm for the Detection of QRS ComplexesA Simple and Robust Algorithm for the Detection of QRS Complexes
A Simple and Robust Algorithm for the Detection of QRS Complexes
 
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
 
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
 
Iaetsd a review on ecg arrhythmia detection
Iaetsd a review on ecg arrhythmia detectionIaetsd a review on ecg arrhythmia detection
Iaetsd a review on ecg arrhythmia detection
 
Wavelet transform based on qrs detection using diodic algorithm
Wavelet transform based on qrs detection using diodic algorithmWavelet transform based on qrs detection using diodic algorithm
Wavelet transform based on qrs detection using diodic algorithm
 
Ecg
EcgEcg
Ecg
 
Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...
 
J041215358
J041215358J041215358
J041215358
 
Ax32327332
Ax32327332Ax32327332
Ax32327332
 
Fo3610221025
Fo3610221025Fo3610221025
Fo3610221025
 
ECG Signal Analysis for Myocardial Infarction Detection
ECG Signal Analysis for Myocardial Infarction DetectionECG Signal Analysis for Myocardial Infarction Detection
ECG Signal Analysis for Myocardial Infarction Detection
 
ECG Signal Analysis for MI Detection
ECG Signal Analysis for MI DetectionECG Signal Analysis for MI Detection
ECG Signal Analysis for MI Detection
 
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural Network
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural NetworkIRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural Network
IRJET - ECG based Cardiac Arrhythmia Detection using a Deep Neural Network
 
Noise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetryNoise reduction in ECG signals for bio-telemetry
Noise reduction in ECG signals for bio-telemetry
 
Saecg
SaecgSaecg
Saecg
 

final ppt

  • 1. VEERMATA JIJABAI TECHNOLOGICAL INSTITUTE Estimation of Respiration Rate from EDR signal and Automatic discrimination between NSR, VT and VF signals M.Tech Thesis Presentation Date : 02-07-2014 Guided by : Dr. A. N. Cheeran Presented by : Nidhi Sharma 122151021 In collaboration with : A3 RMT
  • 2. 2 Estimation of Respiration Rate from ECG Derived Respiration (EDR) signal Automatic discrimination between Normal Sinus Rhythm (NSR), Ventricular Tachycardia (VT) and Ventricular Fibrillation (VF) signals This presentation is divided into 2 parts
  • 3. Respiration information is very important in heart diagnosis Monitoring respiration rate is needed in Post-operative Care, Understanding several arrhythmias and synchronisation of MRI scans of Heart and Thorax
  • 4. Obtaining respiratory signal needs extra sensors in addition to those needed for ECG This can interfere with natural breathing process and also cannot be used for ambulatory or long-term monitoring
  • 5. Respiration mainly manifests itself on ECG in three ways Respiratory Sinus Arrhythmia R-S Amplitude Modulation Baseline Wander
  • 6. EDR is derivation of a patient’s respiratory signal (non-calibrated) by digitally processing the ECG Changes the electrical impedance, which modifies the ECG Movement of electrodes with respect to the heart during respiration
  • 7. ECG Signal Processing R peak Detection RR interval calculation and EDR signal Peak detection Band Pass Filter Differentiator Squarer Moving Window Integration Baseline Wander Filter Wavelet based denoising Smoothing using S-Golay filter Overview of the Algorithm: Calculate the distances between consecutive R peaks Plot these values using cubic spline interpoation Find the peaks above threshold t Check if the no of peaks > 30 If yes, check if distance between successive peaks > 1211 If yes, discard invalid peaks If no of peaks < 30, find the peaks above threshold 2t Discard the peaks which are at a distance < 1500
  • 8. Different data are used during the training and testing phase of the algorithm Training Phase Testing Phase Fantasia Database provides both the ECG and simultaneously recorded respiration signal Recording of ECG and noting the breath count at A3 RMT and VJTI
  • 10. Input Raw Signal Pre process the ECG
  • 11. Input Raw Signal Pre process the ECG
  • 12. Input Raw Signal Pre process the ECG R-peak Detection
  • 13. Input Raw Signal Pre process the ECG R-peak Detection
  • 14. Input Raw Signal Pre process the ECG R-peak Detection RR-interval calculation and EDR Signal
  • 15. Input Raw Signal Pre process the ECG R-peak Detection RR-interval calculation and EDR Signal
  • 16. Input Raw Signal Pre process the ECG R-peak Detection RR-interval calculation and EDR Signal Peak Detection
  • 17. Input Raw Signal Pre process the ECG R-peak Detection RR-interval calculation and EDR Signal Peak Detection
  • 18. Reference during training is the respiratory waveform from the database Respiration rate calculated on database waveform = 17 Respiration rate calculated from the algorithm = 17
  • 19. Reference during testing is the breath counts reported by the subjects
  • 20. 20 The proposed algorithm shows a tolerance limit of ± 2 and takes very less execution time Thus, proposed algorithm is computationally inexpensive and fast implying its usage in real time Tolerance Limit ± 2 Total samples 50 Within tolerance limit 45 Outside tolerance limit 5
  • 21. Automatic discrimination between Normal Sinus Rhythm (NSR), Ventricular Tachycardia (VT) and Ventricular Fibrillation (VF) signals
  • 22. Doctors have to take a life-saving decision of delivering an electric counter-shock to the patient
  • 23. Ventricular Tachycardia (VT) originates from a single site within the ventricles at a rate greater than 100 bpm Ventricles do not have the opportunity to completely empty and refill. Hence, cardiac output is decreased
  • 24. Ventricular Tachycardia (VT) originates from a single site within the ventricles at a rate greater than 100 bpm The QRS complex is wide, bizarre and >0.12 seconds No P wave
  • 25. Ventricular Tachycardia (VT) originates from a single site within the ventricles at a rate greater than 100 bpm
  • 26. 26 Heart’s electrical activity becomes disordered In Ventricular Fibrillation(VF) many impulses are initiated from many locations in ventricles Cardiac output is non-existent
  • 27. In Ventricular Fibrillation(VF) many impulses are initiated from many locations in ventricles Bizarre, irregular and random waveform No identifiable QRS complexes or P wave
  • 28. 28 Stochastic components lead to deviations and variation in shape ECG signal has both regular and stochastic aspects which needs to be modeled by stochastically driven model Two different cycles of same ECG signal are aligned
  • 29. 29 Delay reconstruction method reveals both regular and stochastic components of ECG Delay reconstruction method takes nearby point information and preserves most of the wave information Maps time series to phase space trajectory using time delay method Delineates the nonlinear behavior
  • 30. 30 Trajectories are drawn with a time delay of 0.2 seconds NSR Signal and its trajectory
  • 31. 31 Trajectories are drawn with a time delay of 0.2 seconds VT Signal and its trajectory
  • 32. 32 Trajectories are drawn with a time delay of 0.2 seconds VF Signal and its trajectory
  • 33. To remove common information and extract discriminative information several masks are designed Width of each mask is 5 blocks
  • 34. Only masks fail to recognize VT from VF Negative peak detection exploits the characteristic of VT signals
  • 35. Only masks fail to recognize VT from VF Negative peak detection exploits the characteristic of VT signals
  • 36. Only masks fail to recognize VT from VF Negative peak detection exploits the characteristic of VT signals
  • 37. ECG Signal Pre-Processing Peak Detection to check for VT Application of masks on trajectory plots Counting the no. of flagged boxes to classify
  • 39. Input Raw Signal Pre process the ECG
  • 40. Input Raw Signal Pre process the ECG
  • 41. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T)
  • 42. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T)
  • 43. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T) Plot the trajectory and convert it into image Divide this image into 40x40 boxes Calculate the no. of boxes traced by trajectory (n1)
  • 44. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T) Plot the trajectory and convert it into image Divide this image into 40x40 boxes Calculate the no. of boxes traced by trajectory (n1)
  • 45. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T) Plot the trajectory and convert it into image Divide this image into 40x40 boxes Calculate the no. of boxes traced by trajectory (n1) Multiply the input image with three masks Calculate the resulting no. of boxes (n45,n135,nT)
  • 46. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T) Plot the trajectory and convert it into image Divide this image into 40x40 boxes Calculate the no. of boxes traced by trajectory (n1) Multiply the input image with three masks Calculate the resulting no. of boxes (n45,n135,nT)
  • 47. Input Raw Signal Pre process the ECG Calculate the 2nd difference of negative peaks (T) Plot the trajectory and convert it into image Divide this image into 40x40 boxes Calculate the no. of boxes traced by trajectory (n1) Multiply the input image with three masks Calculate the resulting no. of boxes (n45,n135,nT) A
  • 48. A Is T within limit of 30 points ?
  • 49. A Is T within limit of 30 points ? Yes Is nT > 100?
  • 50. A Is T within limit of 30 points ? Yes Is nT > 100? The signal is VT Yes
  • 51. A Is T within limit of 30 points ? Yes Is nT > 100? The signal is VT Yes No Other Abnormality
  • 52. A Is T within limit of 30 points ? Yes Is nT > 100? The signal is VT Yes No Other Abnormality No Is n1 > 500 or (n135 +n45 ) > 200 ?
  • 53. A Is T within limit of 30 points ? Yes Is nT > 100? The signal is VT Yes No Other Abnormality No Is n1 > 500 or (n135 +n45 ) > 200 ? Yes The signal is VF
  • 54. A Is T within limit of 30 points ? Yes Is nT > 100? The signal is VT Yes No Other Abnormality No Is n1 > 500 or (n135 +n45 ) > 200 ? Yes The signal is VF No The signal is NSR
  • 55.
  • 56. The proposed algorithm shows an overall accuracy of 97% Actual Signal Classified As NSR VT VF Other abnormality Sensitivity 80 NSR 78 0 2 0 97.5% 25 VT 0 23 0 2 92% 70 VF 0 2 68 0 97.14% Confusion Matrix
  • 57. 57 Phase space reconstruction phenomenon along with masks and combined with peak detection algorithm can classify NSR, VT and VF much more efficiently In summary, this is an efficient, fast and simple discrimination algorithm which can be useful at the time of manual defibrillation
  • 58.  Combination of parameters like R wave amplitude modulation and area under the QRS curve Developing a respiratory signal from a database of exercise and heart rate recovery ECGs, a study can be performed to identify the types of respiratory abnormalities that correlate to different kinds of autonomic dysfunction FUTURE SCOPE….  Combination of spatial filling index along with the current algorithm  Further work can be done to develop simple indices based on phase space reconstruction method for classification of other cardiac disorders
  • 59. References Journal Papers: •Othman M A., et al., (2012), "Characterization of Ventricular Tachycardia and Fibrillation Using Semantic Mining." Computer & Information Science 5, no. 5. •Sarvestani R., et al., (2009),"VT and VF classification using trajectory analysis." Nonlinear Analysis: Theory, Methods & Applications71.12: e55-e61. •Mane R., et al., (2013),"Cardiac Arrhythmia Detection By ECG Feature Extraction." International Journal of Engineering Research and Applications 3, no. 2: 327-332. •Anton A., et al., (2007) "Detecting ventricular fibrillation by time-delay methods." IEEE Trans. Biomed. Eng. 54 (1) 174_177. Proceedings Papers: •Rocha, T., et al., (2008),"Phase space reconstruction approach for ventricular arrhythmias characterization." In Engineering in Medicine and Biology Society, 2008. EMBS 2008. 30th Annual International Conference of the IEEE, pp. 5470-5473. IEEE. Websites: •CU Database, Massachusetts Institute of Technology, [online] available : http://www.physionet.org/physiobank/database/cudb •The MIT-BIH Normal Sinus Rhythm Database, [online] available : http://www.physionet.org/physiobank/database/nsrdb •The MIT-BIH Malignant Ventricular Arrhythmia Database, [online] available : http://www.physionet.org/physiobank/database/vfdb

Editor's Notes

  1. 2
  2. 3
  3. 4
  4. 5
  5. 6
  6. Book RPEAK DETECTION : ECG signal is passed through Band-pass filter which has been implemented as cascaded low-pass filter and high-pass filter to achieve a 3dB passband from 5 – 12 Hz. After filtering the signal is differentiated to provide the QRS complex slope information. The five point differentiator is used to get approximately linear region of operation between DC and 30 Hz. The signal is then squared point by point. This makes all data points positive and does non linear amplification of higher frequencies. This is to determine the maximum amplitudes in the ECG signal those can be termed as R peaks. The purpose of moving window integration is to obtain waveform feature information in addition to the slope of R. RR INTERVAL CALCULATION: The RR-Interval is defined as the time period between subsequent R-Peaks. After proper detection of R peaks, the interval between consecutive R peaks is calculated. Values for the intervals were calculated by finding the time difference between each neighbouring pair of points. PEAK DETECTION Peak detection is one of the most commonly encountered problems in the digital processing of biological signals. The main difficulty lies in distinguishing between artefactual peaks (caused for example, by patient movement) and authentic peaks. To overcome this problem it is often suggested that arbitrary thresholds be set to eliminate spurious peaks. Here, I have applied a threshold to the amplitude of the EDR signal to detect a valid respiration peak. This threshold has been decided based on the various testing carried out on the different data sets. If the no of these peaks are above a certain limit, then the distance between consecutive peaks is checked. Peaks which are closer to each other than that distance (which is calculated heuristically) are taken as false and rejected. If the peaks count is less than the limit, it means the waveform is free of spurious peaks and the old threshold for peak detection can be used.
  7. 8
  8. 18
  9. 19
  10. 20
  11. Moving ahead to the next part of this ppt
  12. 22
  13. 23
  14. 24
  15. 25
  16. 26
  17. 27
  18. 28
  19. 29
  20. 30
  21. 31
  22. 32
  23. 33
  24. 34
  25. 35
  26. 36
  27. 37
  28. 38
  29. 39
  30. 40
  31. 41
  32. 42
  33. 43
  34. 44
  35. 45
  36. 46
  37. 47
  38. 48
  39. 49
  40. 50
  41. 51
  42. 52
  43. 53
  44. 54
  45. 55
  46. 56
  47. 57
  48. Your autonomic nervous system is made up of nerves that control those “automatic”things you need to do to survive. A few of those necessary things include blood pressure, heart rate, sweating, and digestion of your food. Autonomic dysfunction or dysautonomia refers to problems with this autonomic nervous system. The abnormalities in respiratory modulation are an indication of autonomic dysfunction [34]. The remaining classes are named according to the diagnosed cardiac abnormality, premature ventricular contraction (PVC), Complete Heart Block (CHB), Sick Sinus Syndrome (SSS), Congestive heart failure (CHF), Ishemic/Dilated cardiomyoapathy (ISCDIL), Atrial Fibrillation (AF), and ventricular fibrillation (VF)
  49. 59