SlideShare a Scribd company logo
1 of 23
1
QRS Detection
Section 6.2 - 6.2.5
18.11.2004
Linda Henriksson
BRU/LTL
2
QRS Complex
P wave: depolarization of right and
left atrium
QRS complex: right and left
ventricular depolarization
ST-T wave: ventricular
repolarization
3
QRS Detection
• QRS detection is important in all kinds of ECG signal
processing
• QRS detector must be able to detect a large number of
different QRS morphologies
• QRS detector must not lock onto certain types of rhythms
but treat next possible detection as if it could occur almost
anywhere
4
QRS Detection
• Bandpass characteristics to preserve essential spectral content (e.g. enhance
QRS, suppress P and T wave), typical center frequency 10 - 25 Hz and
bandwidth 5 - 10 Hz
• Enhance QRS complex from background noise, transform each QRS complex
into single positive peak
• Test whether a QRS complex is present or not (e.g. a simple amplitude
threshold)
5
Signal and Noise Problems
1) Changes in QRS morphology
i. of physiological origin
ii. due to technical problems
2) Occurrence of noise with
i. large P or T waves
ii. myopotentials
iii. transient artifacts (e.g. electrode problems)
6
Signal and Noise Problems
http://medstat.med.utah.edu/kw/ecg/image_index/index.html
7
Estimation Problem
• Maximum likelihood (ML) estimation technique to derive
detector structure
• Starting point: same signal model as for derivation of
Woody method for alignment of evoked responses with
varying latencies
8
QRS Detection
Unknown time of occurrence 
9
QRS Detection
10
QRS Detection
Unknown time of occurrence and amplitude a
11
QRS Detection
Unknown time of occurrence, amplitude and width
12
QRS Detection
13
QRS Detection
Peak-and-valley picking strategy
• Use of local extreme values as basis for QRS detection
• Base of several QRS detectors
• Distance between two extreme values must be within certain limits to
qualify as a cardiac waveform
• Also used in data compression of ECG signals
14
Linear Filtering
• To enhance QRS from background noise
• Examples of linear, time-invariant filters for QRS
detection:
– Filter that emphasizes segments of signal containing rapid
transients (i.e. QRS complexes)
• Only suitable for resting ECG and good SNR
– Filter that emphasizes rapid transients + lowpass filter
15
Linear Filtering
– Family of filters, which allow large variability in signal and noise
properties
• Suitable for long-term ECG recordings (because no multipliers)
• Filter matched to a certain waveform not possible in practice
 Optimize linear filter parameters (e.g. L1 and L2)
– Filter with impulse response defined from detected QRS complexes
16
Nonlinear Transformations
• To produce a single, positive-valued peak for each QRS
complex
– Smoothed squarer
• Only large-amplitude events of sufficient duration (QRS complexes)
are preserved in output signal z(n).
– Envelope techniques
– Several others
17
Decision Rule
• To determine whether or not a QRS complex has occurred
• Fixed threshold 
• Adaptive threshold
– QRS amplitude and morphology may change drastically during a
course of just a few seconds
• Here only amplitude-related decision rules
• Noise measurements
18
Decision Rule
• Interval-dependent QRS detection threshold
– Threshold updated once for every new detection and is then held
fixed during following interval until threshold is exceeded and a
new detection is found
• Time-dependent QRS detection threshold
 Improves rejection of large-
amplitude T waves
 Detects low-amplitude
ectopic beats
 Eye-closing period
19
Performance Evaluation
• Before a QRS detector can be implemented in a clinical
setup
– Determine suitable parameter values
– Evaluate the performance for the set of chosen parameters
• Performance evaluation
– Calculated theoretically or
– Estimated from database of ECG recordings containing large
variety of QRS morphologies and noise types
20
Performance Evaluation
Estimate performance from ECG recordings database
21
Performance Evaluation
22
Performance Evaluation
Receiver operating
characteristics (ROC)
– Study behaviour of
detector for different
parameter values
– Choose parameter with
acceptable trade-off
between PD and PF
23
Summary
• QRS detection important in all kinds of ECG signal
processing
• Typical structure of QRS detector algorithm: preprocessing
(linear filter, nonlinear transformation) and decision rule
• For different purposes (e.g. stress testing or intensive care
monitoring), different kinds of filtering, transformations
and thresholding are needed
• Multi-lead QRS detectors

More Related Content

Similar to QRS detection is important in all kinds of ECG signal processing

Intelligent Heart Disease Recognition using Neural Networks
Intelligent Heart Disease Recognition using Neural NetworksIntelligent Heart Disease Recognition using Neural Networks
Intelligent Heart Disease Recognition using Neural Networks
IEEEP Karachi
 
心臟植入性電子儀器(CIED)的基本原理及設定
心臟植入性電子儀器(CIED)的基本原理及設定心臟植入性電子儀器(CIED)的基本原理及設定
心臟植入性電子儀器(CIED)的基本原理及設定
Taiwan Heart Rhythm Society
 
New Technology: 核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
New Technology:  核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區New Technology:  核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
New Technology: 核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
Taiwan Heart Rhythm Society
 
Principles of nuclear cardiology
Principles of nuclear cardiologyPrinciples of nuclear cardiology
Principles of nuclear cardiology
Hiralal Pawar
 
Guided Waves PPM Encoded System Using AWG12 Cables V2.0
Guided Waves PPM Encoded System Using AWG12 Cables V2.0Guided Waves PPM Encoded System Using AWG12 Cables V2.0
Guided Waves PPM Encoded System Using AWG12 Cables V2.0
Gianpiero Campos
 

Similar to QRS detection is important in all kinds of ECG signal processing (20)

Electronic instrumentation in NMT
Electronic instrumentation in NMTElectronic instrumentation in NMT
Electronic instrumentation in NMT
 
3. ecg basics waveforms, segments, intervals
3. ecg basics   waveforms, segments, intervals3. ecg basics   waveforms, segments, intervals
3. ecg basics waveforms, segments, intervals
 
Intelligent Heart Disease Recognition using Neural Networks
Intelligent Heart Disease Recognition using Neural NetworksIntelligent Heart Disease Recognition using Neural Networks
Intelligent Heart Disease Recognition using Neural Networks
 
心臟植入性電子儀器(CIED)的基本原理及設定
心臟植入性電子儀器(CIED)的基本原理及設定心臟植入性電子儀器(CIED)的基本原理及設定
心臟植入性電子儀器(CIED)的基本原理及設定
 
New Technology: 核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
New Technology:  核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區New Technology:  核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
New Technology: 核磁共振相容節律器 - ”MRI Standard of Care for Pacemaker”)_20130907北區
 
Islamic University Sample Question Solution 2019 (Biomedical Signal Processing)
Islamic University Sample Question Solution 2019 (Biomedical Signal Processing)Islamic University Sample Question Solution 2019 (Biomedical Signal Processing)
Islamic University Sample Question Solution 2019 (Biomedical Signal Processing)
 
Understanding pacemakers
Understanding pacemakersUnderstanding pacemakers
Understanding pacemakers
 
Ei unit 2
Ei unit 2Ei unit 2
Ei unit 2
 
Basic of ecg_dr nazmun
Basic of ecg_dr nazmunBasic of ecg_dr nazmun
Basic of ecg_dr nazmun
 
Amplifiers, filters and digital recording systems
Amplifiers, filters and digital recording systemsAmplifiers, filters and digital recording systems
Amplifiers, filters and digital recording systems
 
electrocardiography
electrocardiographyelectrocardiography
electrocardiography
 
Normal ecg interpretation
Normal ecg interpretationNormal ecg interpretation
Normal ecg interpretation
 
Principles of nuclear cardiology
Principles of nuclear cardiologyPrinciples of nuclear cardiology
Principles of nuclear cardiology
 
Guided Waves PPM Encoded System Using AWG12 Cables V2.0
Guided Waves PPM Encoded System Using AWG12 Cables V2.0Guided Waves PPM Encoded System Using AWG12 Cables V2.0
Guided Waves PPM Encoded System Using AWG12 Cables V2.0
 
Basic of ecg interpretation
Basic of ecg interpretationBasic of ecg interpretation
Basic of ecg interpretation
 
temporary pacemaker easy to learn for PICU
temporary pacemaker easy to learn for PICUtemporary pacemaker easy to learn for PICU
temporary pacemaker easy to learn for PICU
 
UNIT-1 PSK -Radar Engineering.pptx
UNIT-1 PSK -Radar Engineering.pptxUNIT-1 PSK -Radar Engineering.pptx
UNIT-1 PSK -Radar Engineering.pptx
 
Cardiac Arrest Rhythm.pdf
Cardiac Arrest Rhythm.pdfCardiac Arrest Rhythm.pdf
Cardiac Arrest Rhythm.pdf
 
Wide QRS Tacycardia
Wide QRS TacycardiaWide QRS Tacycardia
Wide QRS Tacycardia
 
Basic EP Study
Basic EP StudyBasic EP Study
Basic EP Study
 

More from shohel rana (13)

Single Positron Emission Computed Tomography (SPECT)
Single Positron Emission Computed Tomography (SPECT)Single Positron Emission Computed Tomography (SPECT)
Single Positron Emission Computed Tomography (SPECT)
 
EEG Artifacts & How to Resolve (Lalit Bansal M.D.)
EEG Artifacts & How to Resolve (Lalit Bansal M.D.)EEG Artifacts & How to Resolve (Lalit Bansal M.D.)
EEG Artifacts & How to Resolve (Lalit Bansal M.D.)
 
ECG Rhythm Interpretation (ECG Rhythm Analysis)
ECG Rhythm Interpretation (ECG Rhythm Analysis)ECG Rhythm Interpretation (ECG Rhythm Analysis)
ECG Rhythm Interpretation (ECG Rhythm Analysis)
 
Power_Electronics_-__Converters__Applications__and_Design-_3rd_edition.pdf
Power_Electronics_-__Converters__Applications__and_Design-_3rd_edition.pdfPower_Electronics_-__Converters__Applications__and_Design-_3rd_edition.pdf
Power_Electronics_-__Converters__Applications__and_Design-_3rd_edition.pdf
 
An angle modulated signal: Different Example
An angle modulated signal: Different ExampleAn angle modulated signal: Different Example
An angle modulated signal: Different Example
 
Calculate the bandwidth of the composite channel
Calculate the bandwidth of the composite channelCalculate the bandwidth of the composite channel
Calculate the bandwidth of the composite channel
 
AC circuits description with different signal
AC circuits description with different signalAC circuits description with different signal
AC circuits description with different signal
 
Machine-Learning-and-Robotics.pptx
Machine-Learning-and-Robotics.pptxMachine-Learning-and-Robotics.pptx
Machine-Learning-and-Robotics.pptx
 
16355694.ppt
16355694.ppt16355694.ppt
16355694.ppt
 
2.-Line-Following-Robot.pptx
2.-Line-Following-Robot.pptx2.-Line-Following-Robot.pptx
2.-Line-Following-Robot.pptx
 
10833762.ppt
10833762.ppt10833762.ppt
10833762.ppt
 
Intro+Imaging.ppt
Intro+Imaging.pptIntro+Imaging.ppt
Intro+Imaging.ppt
 
Robot path planning, navigation and localization.pptx
Robot path planning, navigation and localization.pptxRobot path planning, navigation and localization.pptx
Robot path planning, navigation and localization.pptx
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

QRS detection is important in all kinds of ECG signal processing

  • 1. 1 QRS Detection Section 6.2 - 6.2.5 18.11.2004 Linda Henriksson BRU/LTL
  • 2. 2 QRS Complex P wave: depolarization of right and left atrium QRS complex: right and left ventricular depolarization ST-T wave: ventricular repolarization
  • 3. 3 QRS Detection • QRS detection is important in all kinds of ECG signal processing • QRS detector must be able to detect a large number of different QRS morphologies • QRS detector must not lock onto certain types of rhythms but treat next possible detection as if it could occur almost anywhere
  • 4. 4 QRS Detection • Bandpass characteristics to preserve essential spectral content (e.g. enhance QRS, suppress P and T wave), typical center frequency 10 - 25 Hz and bandwidth 5 - 10 Hz • Enhance QRS complex from background noise, transform each QRS complex into single positive peak • Test whether a QRS complex is present or not (e.g. a simple amplitude threshold)
  • 5. 5 Signal and Noise Problems 1) Changes in QRS morphology i. of physiological origin ii. due to technical problems 2) Occurrence of noise with i. large P or T waves ii. myopotentials iii. transient artifacts (e.g. electrode problems)
  • 6. 6 Signal and Noise Problems http://medstat.med.utah.edu/kw/ecg/image_index/index.html
  • 7. 7 Estimation Problem • Maximum likelihood (ML) estimation technique to derive detector structure • Starting point: same signal model as for derivation of Woody method for alignment of evoked responses with varying latencies
  • 8. 8 QRS Detection Unknown time of occurrence 
  • 10. 10 QRS Detection Unknown time of occurrence and amplitude a
  • 11. 11 QRS Detection Unknown time of occurrence, amplitude and width
  • 13. 13 QRS Detection Peak-and-valley picking strategy • Use of local extreme values as basis for QRS detection • Base of several QRS detectors • Distance between two extreme values must be within certain limits to qualify as a cardiac waveform • Also used in data compression of ECG signals
  • 14. 14 Linear Filtering • To enhance QRS from background noise • Examples of linear, time-invariant filters for QRS detection: – Filter that emphasizes segments of signal containing rapid transients (i.e. QRS complexes) • Only suitable for resting ECG and good SNR – Filter that emphasizes rapid transients + lowpass filter
  • 15. 15 Linear Filtering – Family of filters, which allow large variability in signal and noise properties • Suitable for long-term ECG recordings (because no multipliers) • Filter matched to a certain waveform not possible in practice  Optimize linear filter parameters (e.g. L1 and L2) – Filter with impulse response defined from detected QRS complexes
  • 16. 16 Nonlinear Transformations • To produce a single, positive-valued peak for each QRS complex – Smoothed squarer • Only large-amplitude events of sufficient duration (QRS complexes) are preserved in output signal z(n). – Envelope techniques – Several others
  • 17. 17 Decision Rule • To determine whether or not a QRS complex has occurred • Fixed threshold  • Adaptive threshold – QRS amplitude and morphology may change drastically during a course of just a few seconds • Here only amplitude-related decision rules • Noise measurements
  • 18. 18 Decision Rule • Interval-dependent QRS detection threshold – Threshold updated once for every new detection and is then held fixed during following interval until threshold is exceeded and a new detection is found • Time-dependent QRS detection threshold  Improves rejection of large- amplitude T waves  Detects low-amplitude ectopic beats  Eye-closing period
  • 19. 19 Performance Evaluation • Before a QRS detector can be implemented in a clinical setup – Determine suitable parameter values – Evaluate the performance for the set of chosen parameters • Performance evaluation – Calculated theoretically or – Estimated from database of ECG recordings containing large variety of QRS morphologies and noise types
  • 20. 20 Performance Evaluation Estimate performance from ECG recordings database
  • 22. 22 Performance Evaluation Receiver operating characteristics (ROC) – Study behaviour of detector for different parameter values – Choose parameter with acceptable trade-off between PD and PF
  • 23. 23 Summary • QRS detection important in all kinds of ECG signal processing • Typical structure of QRS detector algorithm: preprocessing (linear filter, nonlinear transformation) and decision rule • For different purposes (e.g. stress testing or intensive care monitoring), different kinds of filtering, transformations and thresholding are needed • Multi-lead QRS detectors