Related Experiment Video
Updated: Apr 28, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Detection of premature ventricular contractions using the RR-interval signal: a simple algorithm for mobile devices
Pedro Cuesta1, María J Lado1, Xosé A Vila1
1Department of Computer Science, ESEI, University of Vigo, Ourense, Spain.
Background:
Premature ventricular contractions (PVCs) are cardiac abnormalities that may occur in subjects with/without cardiovascular disorder. Detection is usually performed from electrocardiograms (ECGs); heart activity for a long period of time must be recorded at hospital or with ambulatory electrocardiography. An alternative with a common mobile device would be very interesting, because a simple heart rate sensor should be sufficient.
Objective:
To develop an algorithm to detect PVCs using the RR-interval (distance between consecutive beats) extracted from ECGs or from the heart rate signal captured by mobile devices.
Methods:
Feature extraction and classification techniques were included: 1) two timing interval features (prematurity and compensatory pause) were extracted. 2) A linear classifier was applied. To validate the method, the MIT-BIH Arrhythmia Database was used. Considering the existence of unbalanced classes (normal beats and PVCs) at different decision costs, validation was performed with receiver operating characteristic (ROC) analysis.
Results:
A sensitivity of 90.13% and a specificity percentage of 82.52% were achieved. The area under the ROC curve (AUC) was 0.928.
Conclusions:
The method is advantageous since it only uses the RR-interval signal for PVC detection, and results compare well with more complex methods that use ECG recording.
Related Concept Videos
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
Dysrhythmias V: Evaluating Dysrhythmias
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...

