ecg feature extraction based on joint application of
play

ECG Feature Extraction based on Joint Application of Teager Energy - PowerPoint PPT Presentation

ECG Feature Extraction based on Joint Application of Teager Energy Operator and Level-Crossing Sampling Alexander Borodin Petrozavodsk State University Institute of Mathematics and Information Technologies Computer Science Department This


  1. ECG Feature Extraction based on Joint Application of Teager Energy Operator and Level-Crossing Sampling Alexander Borodin Petrozavodsk State University Institute of Mathematics and Information Technologies Computer Science Department This research is financially supported by the Ministry of Education and Science of Russia within project no. 2.5124.2017 of the basic part of state research assignment for 2017–2019. The reported study was funded by RFBR according to research project # 16-07-01289. 1 / 21

  2. Agenda • Continuous health monitoring • Study of arrhythmia detection algorithms within a CardiaCare project • Arrhythmia detection algorithms are heavily rely on features extracted from electrocardiogram recordings • Teager energy operator is an easy-to-compute tool for peak emphasizing • Level-crossing resampling allows to detect peak areas • Joint application of Teager energy operator and level crossing sampling resulted in high QRS detection performance 2 / 21

  3. Motivation • 31% of all global deaths in 2012 1 • Can be prevented by addressing behavioural risk factors (tobacco • Contribution of CVDs to mortality use, unhealthy diet, obesity, in CIS (percents) physical inactivity, etc.) Georgia 67 • Need early detection and Ukraine 64 management Azerbaijan 60 Russia 57 • Can be done based on ECG Moldova 56 analysis Belorussia 53 Kazakhstan 50 R R Armenia 50 Kyrgyzstan 49 T T P P Tajikistan 39 Q Q S S 1 Source: WHO 3 / 21

  4. Arrhythmia detection based on continuous monitoring ECG Recording Preprocessing Feature extraction Feedback Arrythmia classi cation Emergency alarm 4 / 21

  5. ECG Morphology We are interested in R peaks and QRS complexes. 5 / 21

  6. Significance of confident R peak detection • Normal sinus rhythm • Sinoatrial block • Atrial flutter • Sinus tachycardia • Wolff-Parkinson-White syndrome • Sinus bradycardia Source: Medical Training and Simulation LLC http://www.practicalclinicalskills.com 6 / 21

  7. Teager-Kaiser energy operator based approach From Hooke’s law the second order differential equation can be deduced by means of Newton’s second law to describe the simple harmonic motion as F = d 2 x dt 2 + k mx = 0 (1) The solution to equation is given by x ( t ) = A cos( ωt + φ ) (2) where x ( t ) is the position of the object at time t , A is the amplitude, ω is the frequency, and φ is the initial phase. The total energy of the object is given as the sum of kinetic energy of the object and the potential energy of the spring, given by E = 1 2 kx 2 + 1 x 2 2 m ˙ (3) By substituting x ( t ) = A cos( ωt + φ ) , we get the following expression for the energy: E = 1 2 mA 2 ω 2 (4) 7 / 21

  8. Teager-Kaiser energy operator based approach (cont.) Now we consider the continuous-time form of Teager energy operator defined to be x ( t )) 2 − x ( t )¨ Ψ c [ x ( t )] = ( ˙ x ( t ) (5) Substituting x ( t ) = A cos( ωt + φ ) , we obtain Ψ c [ x ( t )] = A 2 ω 2 (6) Thus, the operator defined by 5 is the amplitude and frequency product squared. But from 4 the total energy is proportional to the amplitude and frequency product squared. The discrete-time form of the Teager energy operator is defined by Ψ d [ x n ] = x 2 n − x n − 1 x n +1 (7) 8 / 21

  9. Level-crossing sampling Non-uniform sampling a) uniform sampling b) level-crossing sampling Can be applied to digital signals as well! 9 / 21

  10. Notation Let x ( t ) bethesignal . Select the levels { L 1 , . . . , L m } ( ∆ L = q ). Applying the method, we obtain the sequence { x 1 , . . . , x n } and time moments { t 1 , . . . , t n } . Denote the intervals [ t i − 1 , t i ] as dt i . 10 / 21

  11. Level-crossing for peak areas detection 11 / 21

  12. Level-crossing with denoising • Assume, we have M bits for a sample, then there are 2 M − 1 levels. • The input signal is between N less significant bit value q . q = 2 A/ 2 M . а) N = 1 б) N = 2 12 / 21

  13. Crossings detection Input: ecg — digital ecg recording as the collection of pairs: 1 t — sample time 2 v — voltage 3 procedure getCrossings ( ecg ) 4 voltage ← ecg [0] .v 5 level ← ⌊ ( A + voltage ) / (2 × A ) × (2 M )) ⌋ 6 lower = q × level − A 7 upper = q × ( level + 1) − A 8 for i ∈ 1 . . . ecg.size () − 1 do 9 voltage ← ecg [ i ] .v 10 level ← ⌊ ( A + voltage ) / (2 × A ) × (2 M )) ⌋ 11 if voltage > upper then 12 lower ← q × ( level − N + 1) − A 13 upper = q × ( level + 1) − A 14 yield ecg [ i ] .t 15 else if voltage < lower then 16 lower = LSB × level − A 17 upper = LSB × ( level + N ) − A 18 yield ecg [ i ] .t 19 13 / 21

  14. Level crossings detection with no noise suppression Crossings Cr time, s 14 / 21

  15. Level crossings detection with noise suppression Crossings time, s 15 / 21

  16. Interval lengths calculation We search R-peaks among crossings t k . Define the sliding window of W consecutive crossings t k + ⌈ W 2 ⌉− N � D ( t k ) = dt i . i = t k −⌊ W 2 ⌋ If D ( t k ) is lesser than T , then consider t k as a peak. We adopt the heuristics: the QRS width-to-height ratio should be less than one tenth. 16 / 21

  17. Interval lengths example Crossings Intervals time, s 17 / 21

  18. QRS detection algorithm Input: seqs — sequences as the collection of triples: 1 d — sequence duration 2 t — time moment of base crossing 3 v — voltage at the base crossing 4 Thresholding values: 5 T QRS — maximum QRS 6 T V — the most allowed distance between crossings 7 T R — the threshold of width-to-height ratio 8 procedure getQRS ( seqs ) 9 for i ∈ 1 . . . seqs.size () − 2 do 10 if seqs [ i ] .d < T QRS and seqs [ i − 1] .d ≥ T QRS then 11 l = i − 1 12 while l ≥ 0 and seqs [ l + 1] .t − seqs [ l + 1] .t < T V do 13 l ← l − 1 14 r = i + 1 15 while r < seqs.size () − 1 and seqs [ r ] .t − seqs [ r − 1] .t < T V do 16 r ← r + 1 17 mx = max( seqs [ i ] .v ∀ i ∈ [ l . . . r ]) 18 mn = max( seqs [ i ] .v ∀ i ∈ [ l . . . r ]) 19 if ( mx − mn ) / ( seqs [ r ] .t − seqs [ l ] .t ) > T R then 20 yield ( l, r ) 21 18 / 21

  19. QRS detection example Crossin Crossings QRS-complexes time, s 19 / 21

  20. QRS detection performance With the heuristics: Precision = 94 , 6 % Recall = 90 , 6 % F − measure = 92 , 3 % With the Teager energy operator support: Precision = 97 , 4 % Recall = 94 , 8 % F − measure = 96 , 1 % 20 / 21

  21. Conclusion The proposed method has the following advantages: • extremely low computational complexity; • high performance have been proven on MIT-BIH database. Disadvantages: • considerable performance decrease on very noisy signals. 21 / 21

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend