Related Experiment Video
Updated: Mar 7, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Real time QRS complex detection using DFA and regular grammar
Salah Hamdi1, Asma Ben Abdallah2, Mohamed Hedi Bedoui2
1Laboratory of Technology and Medical Imaging (LTIM), Faculty of Medicine of Monastir (FMM), University of Monastir, Monastir, Tunisia. salahxhamdi@gmail.com.
Background:
The sequence of Q, R, and S peaks (QRS) complex detection is a crucial procedure in electrocardiogram (ECG) processing and analysis. We propose a novel approach for QRS complex detection based on the deterministic finite automata with the addition of some constraints. This paper confirms that regular grammar is useful for extracting QRS complexes and interpreting normalized ECG signals. A QRS is assimilated to a pair of adjacent peaks which meet certain criteria of standard deviation and duration.
Results:
The proposed method was applied on several kinds of ECG signals issued from the standard MIT-BIH arrhythmia database. A total of 48 signals were used. For an input signal, several parameters were determined, such as QRS durations, RR distances, and the peaks' amplitudes. σRR and σQRS parameters were added to quantify the regularity of RR distances and QRS durations, respectively. The sensitivity rate of the suggested method was 99.74% and the specificity rate was 99.86%. Moreover, the sensitivity and the specificity rates variations according to the Signal-to-Noise Ratio were performed.
Conclusions:
Regular grammar with the addition of some constraints and deterministic automata proved functional for ECG signals diagnosis. Compared to statistical methods, the use of grammar provides satisfactory and competitive results and indices that are comparable to or even better than those cited in the literature.
Related Concept Videos
Detection of Gross Error: The Q Test
Phasor Arithmetics
When the derivative of a sinusoid is taken in the time domain, it transforms into its corresponding phasor multiplied by j-omega (jω) in the phasor domain, where j is the imaginary unit, and ω is the angular...
Real Time RT-PCR
The real-time quantification of the number of amplified products is...
Rationalizing Substitutions
Dysrhythmias V: Evaluating Dysrhythmias
Block Diagram Reduction
The first step in this process is the identification and relocation of a branch point. A branch point, where a...

