Next Article in Journal
Study of Effectiveness of Prior Knowledge for Smart Home Kit Installation
Next Article in Special Issue
Special Issue: ECG Monitoring System
Previous Article in Journal
Advanced Modulation Format of Probabilistic Shaping Bit Loading for 450-nm GaN Laser Diode based Visible Light Communication
Previous Article in Special Issue
How to Use Heart Rate Variability: Quantification of Vagal Activity in Toddlers and Adults in Long-Term ECG
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Adaptive Median Filter Based on Sampling Rate for R-Peak Detection and Major-Arrhythmia Analysis

1
Daegu-Gyeongbuk Research Center, Electronics and Telecommunications Research Institute, Daegu 42994, Korea
2
TriBell Labs, Kyungpuk 38541, Korea
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(21), 6144; https://doi.org/10.3390/s20216144
Submission received: 23 September 2020 / Revised: 22 October 2020 / Accepted: 26 October 2020 / Published: 29 October 2020
(This article belongs to the Special Issue ECG Monitoring System)

Abstract

:
With the advancement of the Internet of Medical Things technology, many vital sign-sensing devices are being developed. Among the diverse healthcare devices, portable electrocardiogram (ECG) measuring devices are being developed most actively with the recent development of sensor technology. These ECG measuring devices use different sampling rates according to the hardware conditions, which is the first variable to consider in the development of ECG analysis technology. Herein, we propose an R-point detection method using an adaptive median filter based on the sampling rate and analyze major arrhythmias using the signal characteristics. First, the sliding window and median filter size are determined according to the set sampling rate, and a wider median filter is applied to the QRS section with high variance within the sliding window. Then, the R point is detected by subtracting the filtered signal from the original signal. Methods for detecting major arrhythmias using the detected R point are proposed. Different types of ECG signals were used for a simulation, including ECG signals from the MIT-BIH arrhythmia database and MIT-BIH atrial fibrillation database, signals generated by a simulator, and actual measured signals with different sampling rates. The experimental results indicated the effectiveness of the proposed R-point detection method and arrhythmia analysis technique.

1. Introduction

The development of wearable medical devices has accelerated with the advancement of sensor technology. Among the various biometric parameters, the electrocardiogram (ECG) is the most important biosignal. To date, diverse wearable and portable ECG devices have been commercialized. The Seers Tech. Biopatch is a wearable ambulatory cardiac monitoring device with a single lead and a sampling rate of 256 samples/s [1]. KardiaMobile from AliveCor is a finger-contact mini ECG measurement tool with a sampling rate of 300 samples/s [2]. The recently developed TLC5000 made by Contect is a 12-lead ECG system with a sampling rate of 10,000 samples/s [3]. The currently available ECG devices have different sampling rates, which is an important variable to be considered when developing an ECG analysis algorithm.
Likewise, public databases were created at various sampling rates, e.g., the MIT-BIH arrhythmia database (MITDB) at 360 Hz [4], MIT-BIH atrial fibrillation database (AFDB) at 250 Hz [5], QT database [6], and Long Term AF database at 128 Hz [7]. The Contec MS400—an ECG multiparameter simulator—was used to obtain reference arrhythmia signals at 250 Hz [8].
In previous works, R-point detection methods using the sampling frequency-based Hilbert transform [9] and the sampling period-based difference equation [10,11] were proposed. However, several R-point detection studies have been performed at specific sampling rates. The linear adaptive filter [12], three-point center derivative [13], morphology and differential filter [14], max–median–min filter [15], generic algorithm [16], wavelet transform [17], wavelet denoising [18], multiscale mathematical morphology (3M) [19], and derivative-max filter [20] use predefined sizes for filter or window selection without considering the sampling rate. And recently, QRS detection [21] and T-wave detection [22] using adaptive filters have been proposed.
Typically, ECGs are used for arrhythmia detection and prediction or in emergency care situations. Recently, ECG measuring devices and telemedicine systems have been actively studied. Using Bluetooth, communication mobile telephony network, and wireless local area network technologies, recent telemedicine systems measure and transmit ECG data in real-time to protect heart-disease patients [23,24,25]. Occlusion in one of the coronary arteries of the heart leads to cardiac ailment and myocardial infarction (MI). The localization of MI based on the investigation of the morphology of the multi-lead ECG is the initial task for the diagnosis of this ailment [26]. These telemedicine systems for constant observation of coronary heart disease patients provide the possibility for specialists to interpret ECGs on mobile devices, bridging the gap between patients and specialists [27]. The automated external defibrillator, which is used urgently in the event of a heart attack, analyzes the patient’s heart rhythm by measuring ECG signals to perform accurate defibrillation before the defibrillation. Additionally, after cardiac resynchronization therapy, ECG signals are measured to analyze the patient’s ECG pattern [28,29]. The sampling rate has a significant influence on the filter design or preprocessing for R-point detection. If the sampling rate is low, the calculation speed is high, but it is difficult to obtain detailed information, such as the fragmented R peak and the degree of noise. Conversely, when the sampling rate is high, the processing speed is low because of the large filter size, but it is easy to extract accurate information for each ECG wave. Thus, different ECG devices have different sampling rates, and the R-point detection algorithm must cope with various sampling rates.
The detected R points are important for detecting cardiac arrhythmia. To date, arrhythmia studies have been conducted with a bias toward specific arrhythmias, e.g., atrial fibrillation (AF) or ischemia. Although bigeminy and trigeminy with different R periods due to ectopic beats or premature ventricular contraction (PVC) may progress to dangerous arrhythmia, few related studies have been performed [30,31]. Although PVCs caused by ventricular extra heartbeats are dangerous when they exceed 20% of the total heartbeat, only detection studies based on signal processing have been performed; no studies have involved heartrate variability (HRV) analysis of ventricular tachycardia (VT) with PVCs [32,33]. Supraventricular tachycardia (SVT)—an abnormally fast heartbeat—may be a precursor to ventricular fibrillation, but studies on this topic are not actively performed [34,35]. Therefore, there is a need for continued research on the aforementioned cardiac arrhythmias as well as the well-known AF.
For the foregoing reasons, it is necessary to develop a universal ECG analysis algorithm to analyze ECG signals having different sampling rates obtained from various ECG measuring devices. This paper proposes an R-point detection method using an adaptive median filter in which the sliding window and filter size are automatically adjusted according to the sampling rate of the measuring device. Additionally, this paper introduces HRV analysis of not only AF, which is widely studied, but also bigeminy, trigeminy, PVC, VT, and SVT, which are not actively studied, based on the signal characteristics.

2. Materials and Methods

2.1. ECG Data Used

Four types of ECG data (MITDB [4], AFDB [5], actually measured ECG signals, and signals generated by an MS400 multiparameter simulator [8]) were used, as shown in Figure 1. The MITDB contained 48 half-hour excerpts of two-channel ambulatory ECG recordings obtained from 47 subjects studied by the BIH Arrhythmia Laboratory between 1975 and 1979. The recordings were digitized at 360 samples per second per channel with an 11-bit resolution over a 10-mV range. MITDB is used to evaluate the R point detection method proposed in this paper. The AFDB included 25 long-term ECG recordings of human subjects with AF (mostly paroxysmal). The individual recordings each had a duration of 10 h and contained two ECG signals (sampled at 250 samples/s) with 12-bit resolution over a range of ±10 mV. AFDB is used to test the AF detection technique proposed in this paper and visualize the severity of the test AF signals. Actual ECG data were measured using a VP-100 (ECG measurement patch), which was developed by TriBell-Lab [36] and ETRI (Electronics and Telecommunications Research Institute), at 250 samples/s. The bigeminy signal used in this paper was measured by the developed ECG patch. Arrhythmias that were difficult to measure were generated by the MS400 simulator.

2.2. R-Peak Detection

The filtered signal preserving P or T waves while restraining the R wave for an original signal S is obtained by applying the following median filter [37]:
M i , n = median r W ( S i + r , n )
where the subscript (i,n) denotes the ith sample point location of the nth sliding window, and W represents the filter window. In the proposed method, a median filter with a variable filter size is used to improve the performance of a general median filter [38,39]. Figure 2 shows the relationship between the variance at the sample point and the median-filter size for AFDB of 250 samples/s. A median filter with a large filter size is applied to QRS interval having a high variance, while a median filter with a small filter size is applied to flat region (or weak wave region) among non-QRS interval having a low variance. Also, a median filter with a basic size is applied to the P or T wave region among the non-qrs region corresponding to the moderate variance.
The adaptive filter size r is determined by the variance of the current sample point, as follows:
{ r = L C , v m i n ( S n ) v ( S i + r , n ) < D v ( S n ) / 3 r = L , D v ( S n ) / 3 v ( S i + r , n ) < D v ( S n ) × 2 / 3 r = L + C , D v ( S n ) × 2 / 3 v ( S i + r , n ) v m a x ( S n ) where   L = F / 60 , C = F / ( 60 × 2 )
where L represents the basic size of the filter window, which is determined by the sampling rate F. D v ( S n ) represents the difference of v m a x ( S n ) and v m i n ( S n ) , max, and min variance of the nth sliding window. The adaptive size of the median filter for a sampling rate of 250 Hz is shown in Figure 2. Additionally, the variance is obtained for the basic filter size. The variance section that determines the variable filter size is empirically divided into three uniform sections. The difference signal for the nth sliding window is given as follows:
D n = | S n M n |
The effectiveness of the adaptive median filter is shown in Figure 3, and the difference between the original and filtered signals was normalized. The adaptive median is compared with the normal median and exhibits a higher difference result, helping to accurately detect the R peak. A max filter with a filter size of F/8 is applied to the difference to obtain candidate intervals, including the R peak. The adaptive threshold for detecting the R peak in the candidate intervals is applied to the difference signal and is defined as the average of the top 50% of the maximum filter result.
Due to the absolute value characteristic of the difference signal in Equation (3), the R peak detected from the difference signal should be distinguished into a normal and abnormal R peak as follows:
{ Normal   ( Positive )   R if   detected   R > mean ( S n ) Abnormal   ( Negative   R   or   PVC ) else
If the detected R peak is greater than the average of the ECG signal of the current nth sliding window, it means a normal (positive) R, otherwise it is recognized as an abnormal R (negative R or PVC).

2.3. Detection of Important Arrhythmias

The processing units for various arrhythmias are presented in Table 1. It is possible to determine which beat is normal R or PVC with only one beat. However, bigeminy and trigeminy can be detected by multiple beats or 1 min long. Additionally, the identification of bradycardia, tachycardia, VT, SVT, and AF requires at least 1 min.
In the proposed method, the size of the sliding window is set according to the sampling rate at which the ECG signal is measured. By setting the sampling rate, the number of sliding windows per minute, the number of particle times constituting the sliding window, the time length of the particle time, the step size (movement length of sliding window), and the time length of the sliding window are automatically determined, as shown in Figure 4. The real-time processing of the proposed method involves a sliding window of 12 s, a step size of 8 s, an overlapped interval of 4 s, and seven sliding windows of 1 min:
The above sliding-window structure was derived manually to detect the arrhythmia presented in Table 1 in 1-min increments (every minute). Another sliding-window structure for detecting arrhythmia in units of 1 min may consist of Tp = 6 s, N_Tp = 4, and NSB = 3. Naturally, if the detection of arrhythmia in 1-min increments is ignored, various sliding-widget structures can be generated.
For a continuous ECG stream, the pseudocode for the detection of various arrhythmias is shown in Figure 5. According to the R peaks detected in a sliding window, Q onset, S offset, P peak, and T peak are searched for PVC, AF, VT, and SVT. The detection methods for various arrhythmias are introduced in the following sections.

2.3.1. Bradycardia and Tachycardia

Bradycardia is a very low heartrate (HR) of <60 beats per minute (BPM), and tachycardia is a very high HR of >100 BPM [40]. If tachycardia begins in the ventricles, it is called VT. Bradycardia and tachycardia can be easily detected by measuring the BPM.

2.3.2. Bigeminy and Trigeminy

Bigeminy is a heart-rhythm condition involving repeated heartbeats of short and long cycles [41]. Trigeminy refers to a three-heartbeat pattern in which one or two beats are irregular [42]. In bigeminy, every other beat is a PVC. In trigeminy, every third beat is a PVC. Two consecutive PVCs are called couplets [43].
Figure 6 shows the beat-to-beat (RR) interval features of bigeminy and trigeminy. RR S ¯ , RR M ¯ , and RR L ¯ represent the average length of the short, middle, and long periods in observatin time, 1 min in this paper. While bigeminy has the feature that ( N ( RR L ) N ( RR S ) ) N ( RR M ) , trigeminy exhibits a characteristic that N ( RR L ) N ( RR S ) N ( RR M ) . The average of the difference between the sums of the long and short periods RR LS ¯ is given as follows:
RR LS ¯ = ( t t + T RR L t t + T RR S ) / ( N ( RR L ) + N ( RR S ) 2 ) ,
where T represents the observation time (in seconds). The formula for determining the bigeminy and trigeminy using Equation (4) is as follows:
IF   Th BG _ min < RR LS ¯ < Th BG _ max   and   | N ( RR L ) N ( RR S ) | < Diff LS , ECG = Bigeminy IF   RR S ¯ < RR M ¯   and   RR M ¯ < RR L ¯   and   | N ( RR M ) N ( RR S ) | < Diff MS , ECG = Trigeminy END END
where Th BG _ min and Th BG _ max represent the minimum and maximum values among the differences between the long and short periods for determining bigeminy.

2.3.3. PVC, VT, and SVT

Figure 7 shows the features of PVCs, VT, and SVT. PVCs represent extra heartbeats that begin in one of two ventricles [44]. A PVC typically has a wide QRS interval (QRS width > 120 ms). In VT, the number of continuous PVCs is 3, 9, or greater, and typically the HR is ≥100 bpm. SVT includes many forms of heart arrhythmias that originate above the ventricles (or supraventricular) in the atria or AV node [45]. SVT is characterized by a very high HR between 150 and 250 bpm, as well as merged P and T waves, as shown in Figure 7. A PVC can be determined with just one beat, but the identification of VT and SVT requires at least 1 min of the signal. PVC, VT, and SVT can be detected by applying the aforementioned arrhythmia characteristics.

2.3.4. AF

AF represents an arrhythmia characterized by fast and irregular beating of atrial chambers [46]. It often starts as short periods of abnormal beating, which increases over time. It begins as an atrial flutter, which then transforms into AF. AF is associated with an increased risk of heart failure, dementia, and stroke and is a type of SVT. It can be characterized by an irregular rhythm, the absence of a P wave and isoelectric baseline, and a variable ventricular rate. Its QRS complex is usually <120 ms, except in cases of a preexisting bundle branch block, an accessory pathway, or rate-related aberrant conduction [47]. Fibrillatory waves may be present and can be either fine (amplitude < 0.5 mm) or coarse (amplitude > 0.5 mm). Additionally, fibrillatory waves may mimic P waves, leading to misdiagnosis.
Figure 8 shows the five features used for AF detection. The proposed AF detection method is applied to an ECG signal length of ≥1 min to avoid the degradation of the feature detection accuracy due to noise and signal distortion. Because AF is characterized by no P wave or a very small P wave, it can be used as a feature for AF detection. The first feature for AF detection is the atrial activity (AA), which is measured as the P-wave area (PA). The P wave is defined by three points, i.e., the P-onset, P-peak, and P-offset, and the AA is measured according to the PA using the three P-wave related points. The second feature is the BPM, as AF has a high HR or BPM. Because the RR intervals of AF are irregular, the multiplication of SD1 (standard deviation of long axis) and SD2 (standard deviation of short axis) is used as the third feature in the poincaré plot. Additionally, irregular RR intervals reduce the probability of the highest bin (PHB) in the RR histogram. The PHB can be calculated as the reciprocal of the HRV triangular index (HTI). To simplify the calculations, the complement of 1 for the PHB (CPHB) is obtained as (1–PHB) and is used as the fourth feature. The fifth feature is the high-frequency amplitude of the fibrillatory wave. AF has a strong high-frequency component, because fibrillatory waves are normally included in the non-QRS complex of AF. The high-frequency component of the fibrillatory wave can be detected using Short-time Fourier Transform. In the spectrogram of Figure 7, the horizontal and vertical axes represent the time and frequency, respectively, and the pseudo-color represents the power. If the fibrillatory wave is severe, the power value increases. Lower values of the AA and PHB and higher values of the BPM, the multiplication of the two standard deviations (MSD), and the frequency of the fibrillatory wave correspond to more severe AF.
According to the foregoing explanation, the five normalized features for AF detection are calculated as follows:
{ AA = ( P A max P A avg ) / ( P A max P A min ) HR = ( BPM avg BPM min ) / ( BPM max BPM min ) SD = ( MSD avg MSD min ) / ( MSD max MSD min ) CPHB = ( CPHB avg CPHB min ) / ( CPHB max CPHB min ) OSC = ( OSC avg OSC min ) / ( OSC max OSC min ) ,
where OSC represents the average power of the spectrogram, and the subscript ‘avg’ denotes the average of each feature obtained over a given time period. The minimum and maximum values for normalizing each feature are as follows: PA max = β 1 × ( 3 α × F ) ( 2 α × F ) / 2 , β = 10 , α ( = 0.4 ) , PA min = 0 , BPM max = 100 , BPM min = 0 , MSD max = 0.01, MSD min = 0 , CPHB max = 1 , CPHB min = 0, OSC max = 15 , and OSC min = 0 . α represents the time (in seconds) of one grid in the ECG graph paper. In PA max , the first and second parentheses indicate the base and height of a typical P wave, respectively [48]. Half of the product of these values corresponds to the area of the P wave. β represents the ratio control factor of the PA. The max of the BPM is set based on tachycardia, which means more than 100 beats per minute. One standard deviation value of 0.1 was determined assuming that the difference between the current and next RR intervals for a stable heart rate was 0.1 or less. As a result, the max of the MSD was set at 0.01. Since the PHB is a probability between 0 and 1, the CPHB also has a value in the same range. And the fibrillatory waves have the atrial rate from 300 to 600 waves per minute with varying morphology and high frequency [49]. The limit of the high waves of the fibrillation wave is occasionally set up to 650 [50]. Taking into account the waves per minute of the fibrillation wave, the min and max values of the OSC were set.

3. Results

3.1. R-Peak Detection Performance Using MITDB

Figure 9 shows the R-point detection result, difference, max filter, and adaptive threshold for various MITDB records. R peaks were detected normally for the normal sinus rhythm (N) of Record 100. Certain parts of Record 104 consisted of Paced (/) and a fusion of paced and normal (f). The “ ‘/’ rhythm exhibited a wide and high T wave, and the ‘f’ rhythm exhibited a spiked R peak. Examining the difference between the original signal and the filtered signal reveals that the S and T waves of the ” ‘/’ rhythm and the additional R wave of the ‘f’ rhythm were suppressed, while the R peak was improved. An isolated QRS-like artifact (|) occurred between the 9th and 10th normal sinus rhythms of Record 105, but the proposed method successfully suppressed the artifact. Additionally, Record 108 contained baseline wander (motion artifact), but R peaks were detected normally. The experimental results confirmed that the proposed method is robust to artifacts such as deformation of S and T waves and baseline wander.
To evaluate the performance of the detection algorithm, several indices were introduced, including the number of true positives (TP, QRS complexes detected as QRS complexes), the number of false negatives (FN, QRS complexes not detected as QRS complexes, number of incorrectly rejected QRS complexes), number of false positives (FP, non-QRS complexes detected as QRS complexes, number of incorrect QRS predictions). The sensitivity (Se = TP/(TP + FN)) is the percentage of true beats that were correctly detected by the algorithm. The positive prediction (+P = TP/(TP + FP)) is the percentage of beat detections that were true beats. The detection error (DER = (FP + FN)/(TP + FN)) is the ratio of the number of false detections to the total number of detected heartbeats. The detection performance for MITDB is shown in Table 2. An average QRS detection rate of 99.62%, a sensitivity of 99.82% and a positive prediction of 99.80% are obtained against all recordings of MITDB.
Record 105 is a tape that makes it difficult to detect the R peak owing to heavy noise and is widely used for comparison and verification of algorithms. Table 3 presents a comparison of the existing algorithms and the proposed method using Record 105. The proposed method ranks second among the published results of other algorithms, confirming its excellent performance.
The time cost of the proposed method was analyzed for several records from the MITDB (360 Hz) using MATLAB R2020B in Windows 10 with an Intel i9 4-core central processing unit and 128 GB. Figure 10 shows the calculation time per 1000 iterations over 11 s of Records 100, 104, 105, and 108. The respective average processing time was 22.36 ms for Record 100, 22.05 ms for Record 104, 22.36 ms for Record 105, and 21.71 ms for Record 108. The total processing average time for an 11-s period was approximately 22.12 ms, indicating that the proposed method is suitable for real-time ECG signal processing.

3.2. Arrhythmic Feature Detection Using Various ECG Data

Various ECG data were used to detect arrhythmic features. Bigeminy is the signal measured by VP-100, while trigeminy, VT, and SVT were generated by the MS 400 simulator. Additionally, Record 114 containing PVC was used for the PVC detection experiment. Figure 11 shows the R-peak detection results for these arrhythmias. In the case of Bigeminy, RR intervals of 0.6 s and approximately 0.9 s were repeated, whereas in trigeminy, RR intervals of 0.55, 0.78, and 0.90 s were repeated. Bigeminy and trigeminy contain PVCs, which have very low negative R peaks.
The normal R peak in these signals is difficult to detect because it has a smaller difference value than the PVC in the difference signal. Nevertheless, the normal R is also detected owing to the lower R-peak detection threshold via the adaptive threshold method of the proposed technique. The normal R of Record 114 containing PVCs was not difficult to detect, in contrast to the cases of bigeminy and trigeminy. In VT and SVT, the R-peak detection threshold was increased owing to the high HR, and the R peak was normally detected. The merged P-T waves in SVT were normally detected, whereas fragmented P-T waves were not detected.
Table 4 shows the performance evaluation of the arrhythmias tested in Figure 11. The evaluation of MITDB 114 was excluded because it is already indicated in Table 2. There was no false R detection for all arrhythmias (FP = 0). While there were R peaks that were not detected in bigeminy and trigeminy, the R peaks of VT and SVT were almost completely detected. This is due to the non-detection of the weakly negative R peak at bigeminy and the lower two R peaks at trigeminy in one sliding window. It can be seen that the R peaks of bigeminy and trigeminy are not easy to detect completely due to R peaks of various heights.

3.3. HRV Analysis of Various ECG Signals

The HRV can be measured via time- and frequency-domain methods for evaluating the sympathovagal balance [51]. Table 5 presents the variables related to time- and frequency-domain HRV measurements. The HRV is measured by the variation in the RR interval. This variation is controlled by a primitive part of the nervous system called the autonomic nervous system [52]. RMSSD, NN50, and pNN50 represent the short-term cardiac variability, indicate parasympathetic nerve activity, and are closely associated with sudden death and AF in epilepsy [53]. In frequency analysis, the low- and high-frequency components represent the activity of the sympathetic and parasympathetic nerves, respectively. Low sympathetic nerve activity indicates increases in the blood pressure and HR, and low parasympathetic activity indicates reductions in the blood pressure and HR.
The HRV results for MITDB and various arrhythmias are presented in Figure 12 and Table 6 The ECG signals used in the experiment were MITDB (each 10 min long), bigeminy (approximately 56 s), trigeminy (approximately 56 s), PVC (9 min 30 s, MITDB 114), VT (1 min), and SVT (1 min) signals. In Table 4, the bold blue numbers indicate abnormal values that must be examined carefully. Compared with arrhythmias, the records used in the MITDB exhibited relatively normal behavior in HRV visualization. For example, in the case of Record 100, owing to the constant RR intervals, points corresponding to the RR intervals were concentrated in one place in the histogram and poincaré plot. However, overall, Record 104 with partial tachycardia and Record 108 with bradycardia exhibited higher RMSSD, NN50, and pNN50 values than the other MITDB records used in the experiment. Record 108 exhibited the highest HTI and TINN among the MITDB records, indicating that the RR intervals were highly irregular compared with the other signals.
In contrast to the aforementioned MITDB, the arrhythmias exhibited abnormal distribution characteristics in the HRV visualization. First, in bigeminy, a short RR interval of 0.6 s and a long RR interval of 0.9 s (on average) were repeated. In the RR interval trend, the short periods were constant, and the long periods changed irregularly. In trigeminy, a short period of 0.55 s, an intermediate period of 0.78 s, and a long period of 0.90 s were repeated. For bigeminy and trigeminy, there were two or three independent groups of RR interval points on the histogram and poincaré plot, owing to their periodicity. MITDB Record 114 was a bradycardia signal with 47 PVCs out of a total of 1879 beats, and these PVCs were responsible for scattered RR interval points on the histogram and poincaré plot [54]. Because the VT and SVT signals were generated by simulators with very short periods, they yielded very small RR intervals that were concentrated at one point on the poincaré plot. In particular, SVT exhibited a very high mean HR. Among the arrhythmias, bigeminy and trigeminy exhibited the highest pNN50. Record 114 exhibited the highest NN50 but a low pNN50, because the number of NN50 was low compared with the overall signal length.
On the PSD, arrhythmias excluding Record 114 exhibited a higher HF power and very low LF and HF percentages compared with the other MITDB records. This indicates that these arrhythmias reflect very low activity of the sympathetic and parasympathetic nerves. The LF/HF ratios for Trigemini, PVC, and VT were <0.4, indicating that the degree of balance of autonomic nerves is low.

3.4. AF Detection

Excluding records with problems with data length and data loading, the partial records of AFDB were used to extract the AF features. In these signals, the normal beat period and the AF period were alternately repeated. In the AF signal used in the experiment, a length of 24 min after 46 s was used, and Figure 13 shows the beginning 12 s of these AF signals. Figure 14 presents the normalized feature values of the AF signals in polar coordinates. Figure 14 shows the visualization of VT and SVT using AF detection technology. It can be seen that arrhythmias other than AF do not show a large area in AF visualization. Also, the normal signal will have a very small area in its visualization. As shown, more severe AF corresponded to larger AF feature values in the polar coordinates. The severity of the AF is visually displayed. Records 04126 and 06995 exhibited better HRs. Record 06426 and 07161 show the concentrations of the RR intervals in the poincaré plot than the other signals. Record 06426 and 08378 were considered to be the most severe AF visually. For Records 07162, the high-frequency component in the spectrogram was small. Record 08405 exhibited better AA than the other signals.
Table 7 presents the five normalized feature values for the AF signals. Among the AF signals used in the experiment, Record 04043 for HR, Record 04746, 06995, 07162, 07910, and 08215 for AA, Record 06426 and 07162 for CPHB and SD, and Record 06426 and 08378 for OSC exhibited the highest (worst) feature values. An AF analysis revealed that the AF severity was in the following order: Records 06426, 08378, 06995, 05121, 04126, 04043, 07162, 05261, 08405, 05091, 07910, 07879, 04746, and 08215. The test AF signals used in the experiment show high average values from 0.61 to 0.91 in normalized AF features. In addition, each normalized AF feature value for test AF signals shows a range of 0.63 to 0.94. It can be inferred that the proposed features can be used for AF detection through these experiments.

4. Discussion

Recently, ECG measuring devices having various sampling rates from smart bands to 12-channel ECG measuring devices have been developed. One type of ECG measuring device is connected to a database server of a hospital for storing and analyzing biological signals. However, heart-disease patients may use different measuring devices according to their symptoms, disease names, and measurement periods. Additionally, various ECG compression techniques [55,56,57] are being developed to increase the transmission efficiency of the measured ECG signals. During the compression process, the sampling rate of the original ECG signal may change. In this ECG measurement and transmission environment, the ECG processing and analysis algorithm must respond to various sampling rates, for which the proposed method offers a solution.
The proposed R detection and HRV analysis technology can be directly utilized for real-time heart rate monitoring through a wearable ECG measuring device [58]. In addition, HRV parameters related to autonomic and non-autonomous nervous systems can be used as additional parameters for blood pressure estimation using photoplethysmography [59].
Previous arrhythmia studies have been limited to the field of detection, and HRV analysis for arrhythmia has been insufficient. The HRV analysis results for the arrhythmias discussed in this paper can be used to increase the accuracy of arrhythmia detection. Currently, the HRV is analyzed in the time and frequency domains according to the time difference in the time domain of the detected R peak. However, the height information of the R peak is also an important parameter. Therefore, research on a new HRV based on the height difference in the range domain of the detected R peak must be performed.
In this study, AF was visualized using polar coordinates. The visualization of major arrhythmias can be useful for the early detection of arrhythmias and is an efficient method for analyzing the heart conditions of heart-disease patients. According to the results of present study, other major arrhythmias can also be visualized using their own features. Visualization studies involving arrhythmia can significantly affect the development of applications for heart-condition analysis of arrhythmia patients.

5. Conclusions

This paper proposes an R-peak detection method for processing ECG signals measured by ECG measuring devices with different sampling rates. Additionally, a method for detecting major arrhythmia was presented, and an HRV analysis was performed. A visualization method for AF was suggested according to its characteristics. In the future, various measurement devices may be connected to one hospital database server for efficiently measuring biometric signals. In this case, the proposed method can be universally employed regardless of the connected measuring device. Furthermore, the visualization of arrhythmia will be accelerated in the development of applications for heart-disease patients in the future.

Author Contributions

Conceptualization, T.W.B. and K.K.K.; methodology, T.W.B.; software, T.W.B.; validation, T.W.B. and K.K.K.; formal analysis, T.W.B.; investigation, T.W.B. and S.H.L.; resources, T.W.B. and S.H.L.; data curation, T.W.B. and S.H.L.; writing—original draft preparation, T.W.B.; writing—review and editing, T.W.B.; visualization, T.W.B.; supervision, K.K.K.; project administration, K.K.K.; funding acquisition, K.K.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Electronics and Telecommunications Research Institute (ETRI) grant funded by the Korean government. [20ZD1100, Development of ICT Convergence Technology for Daegu-Gyeongbuk Regional Industry].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Product Overview of Wearable Bio Patch MC100. Available online: https://www.seerstech.com/wearable-bio-patch (accessed on 23 September 2020).
  2. KardiaMobile. Available online: https://store.alivecor.com/products/kardiamobile (accessed on 23 September 2020).
  3. TLC5000 Dynamic ECG Systems. Available online: http://www.contecmed.com/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=88&category_id=11&option=com_virtuemart&Itemid=605 (accessed on 23 September 2020).
  4. MIT-BIH Arrhythmia Database. Available online: https://physionet.org/content/mitdb/1.0.0 (accessed on 23 September 2020).
  5. MIT-BIH Atrial Fibrillation Database. Available online: https://physionet.org/content/afdb/1.0.0 (accessed on 23 September 2020).
  6. QT Database. Available online: https://physionet.org/content/qtdb/1.0.0 (accessed on 23 September 2020).
  7. Long Term AF Database. Available online: https://physionet.org/content/ltafdb/1.0.0 (accessed on 23 September 2020).
  8. MS400 Multiparameter Simulator. Available online: http://www.contecmed.com/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=102&category_id=18&option=com_virtuemart&Itemid=601 (accessed on 23 September 2020).
  9. Benitez, D.S.; Gaydecki, P.A.; Zaidi, A.; Fitzpatrick, A.P. A new QRS detection algorithm based on the hilbert transform. In Proceedings of the Computers in Cardiology, Cambridge, MA, USA, 24–27 September 2000; pp. 379–382. [Google Scholar]
  10. Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
  11. Hamilton, P.S.; Tompkins, W.J. Quantitative investigation of QRS detection rules using the MIT/BIH arrhythmia database. IEEE Trans. Biomed. Eng. 1986, 33, 1157–1165. [Google Scholar] [CrossRef]
  12. Xue, Q.; Hu, Y.H.; Tompkins, W.J. Neural-network-based adaptive filtering for QRS detection. IEEE Trans. Biomed. Eng. 1992, 39, 315–329. [Google Scholar] [CrossRef] [Green Version]
  13. Arzeno, N.M.; Deng, Z.D.; Poon, C.S. Analysis of first-derivative based QRS detection algorithms. IEEE Trans. Biomed. Eng. 2008, 55, 478–484. [Google Scholar] [CrossRef] [Green Version]
  14. Zhang, F.; Tan, J.; Lian, Y. An effective QRS detection algorithm for wearable ECG in body area network. In Proceedings of the IEEE Biomedical Circuits and Systems Conference, Montreal, QC, Canada, 27–30 November 2007; pp. 195–198. [Google Scholar]
  15. Castells-Rufas, D.; Carrabina, J. Simple real-time QRS detector with the MaMeMi filter. Biomed. Signal Process. Control 2015, 21, 137–145. [Google Scholar] [CrossRef] [Green Version]
  16. Poli, R.; Cagnoni, S.; Valli, G. Genetic design of optimum linear and nonlinear QRS detectors. IEEE Trans. Biomed. Eng. 1995, 42, 1137–1141. [Google Scholar] [CrossRef]
  17. Alvarado, C.; Arregui, J.; Pallas-Areny, R. Automatic detection of ECG ventricular activity waves using continuous spline wavelet transform. In Proceedings of the 2nd International Conference on Electrical and Electronics Engineering 2005, Mexico City, Mexico, 9 September 2005; pp. 189–192. [Google Scholar]
  18. Chen, S.; Chen, H.; Chan, H. A real time QRS detection method based on moving-averaging incorporating with wavelet denosing. Comput. Methods Programs Biomed. 2006, 82, 187–195. [Google Scholar] [CrossRef]
  19. Zhang, F.; Lian, Y. QRS detection based on multi-scale mathematical morphology for wearable ECG device in body area networks. IEEE Trans. Biomed. Circuits Syst. 2009, 3, 220–228. [Google Scholar] [CrossRef]
  20. Bae, T.W.; Kwon, K.K. Efficient real-time R and QRS detection method using a pair of derivative filters and max filter for portable ECG device. Appl. Sci. 2019, 9, 4128. [Google Scholar] [CrossRef] [Green Version]
  21. Hossain, M.B.; Bashar, S.K.; Walkey, A.J.; McManus, D.D.; Chon, K.H. An accurate QRS complex and P wave detection in ECG signals using complete ensemble empirical mode decomposition with adaptive noise approach. IEEE Access 2019, 7, 128869–128880. [Google Scholar] [CrossRef]
  22. Rahul, J.; Sora, M. A novel adaptive window based technique for T wave detection and delineation in the ECG. Bio Algorithms Med. Syst. 2020, 16, 1–10. [Google Scholar] [CrossRef] [Green Version]
  23. Heartline ECG Monitoring. Available online: https://www.aerotel.com/index.php/en/products-and-solutions/heartline-ecg-monitoring (accessed on 9 October 2020).
  24. Serhani, M.A.; El Kassabi, H.T.; Ismail, H.; Nujum Navaz, A. ECG monitoring systems: Review, architecture, processes, and key challenges. Sensors 2020, 20, 1796. [Google Scholar] [CrossRef] [Green Version]
  25. Abo-Zahhad, M.; Ahmed, S.M.; Elnahas, O. A wireless emergency telemedicine system for patients monitoring and diagnosis. Int. J. Telemed. Appl. 2014, 2014, 1–11. [Google Scholar] [CrossRef] [Green Version]
  26. Tripathy, R.K.; Bhattacharyya, A.; Pachori, R.B. Localization of myocardial infarction from multi-lead ECG signals using multiscale analysis and convolutional neural network. IEEE Sens. 2019, 19, 11437–11448. [Google Scholar] [CrossRef]
  27. Mobile ECG with Web-Based Telemedicine Platform. Available online: https://www.who.int/medical_devices/innovation/compendium_med_dev2012_9.pdf?ua=1 (accessed on 9 October 2020).
  28. Fantoni, C.; Raffa, S.; Regoli, F.; Giraldi, F.; La Rovere, M.T.; Prentice, J.; Pastori, F.; Fratini, S.; Salerno-Uriarte, J.A.; Klein, H.U.; et al. Cardiac resynchronization therapy improves heart rate profile and heart rate variability of patients with moderate to severe heart failure. J. Am. Coll. Cardiol. 2005, 46, 1875–1882. [Google Scholar] [CrossRef] [Green Version]
  29. Stipdonk, A.; Wijers, S.; Meine, M.; Vernooy, K. ECG patterns in cardiac resynchronization therapy. J. Atr. Fibrillation 2015, 7, 1–6. [Google Scholar]
  30. Shelly, I.L. Algorithm for Premature Ventricular Contraction Detection from a Subcutaneous Electrocardiogram Signal. Master’s Thesis, Portland State University, Portland, OR, USA, 2016. [Google Scholar]
  31. Tropeano, F. Arrhythmia detection and classification through the analysis of human ECG signal. Master’s Thesis, Sapienza—University of Rome, Rome, Italy, 2019. [Google Scholar]
  32. Malek, A.S.; Elnahrawy, A.; Anwar, H.; Naeem, M. Automated detection of premature ventricular contraction in ECG signals using enhanced template matching algorithm. Biomed. Phys. Eng. Express 2020, 6, 015024. [Google Scholar] [CrossRef]
  33. Zarei, R.; He, J.; Huang, G.; Zhang, Y. Effective and efficient detection of premature ventricular contractions based on variation of principal directions. Digit. Signal Process. 2016, 50, 93–102. [Google Scholar] [CrossRef]
  34. Thachil, A.; Chennapragada, S.; Calambur, N. Inappropriate detection of a supraventricular tachycardia as dual tachycardia by the PR logic algorithm. Indian Pacing Electrophysiol. J. 2014, 14, 161–164. [Google Scholar] [CrossRef] [Green Version]
  35. Li, Z.; Derksen, H.; Gryak, J.; Hooshmand, M.; Wood, A. Supraventricular tachycardia detection via machine learning algorithms. In Proceedings of the IEEE International Conference on Bioinformatics and Biomedicine (BIBM), Madrid, Spain, 3–6 December 2018; pp. 2419–2422. [Google Scholar]
  36. VP-100. Available online: http://www.tribell-lab.com/product/view.html?pid=17&cate1=53&cate2=81&no=81 (accessed on 23 September 2020).
  37. Verma, K.; Singh, B.K.; Thoke, A.S. An enhancement in adaptive median filter for edge preservation. Procedia Comput. Sci. 2015, 48, 29–36. [Google Scholar] [CrossRef] [Green Version]
  38. Lin, H.M.; Willson, A.N. Median filters with adaptive length. IEEE Trans. Circuits Syst. 1988, 35, 675–690. [Google Scholar] [CrossRef]
  39. Suoranta, R.; Estola, K.-P. Robust median filter with adaptive window length. In Proceedings of the IEEE International Symposium on Circuits and Systems, Singapore, 11–14 June 1991; pp. 108–111. [Google Scholar]
  40. Categories of Arrhythmias. Available online: https://www.texasheart.org/heart-health/heart-information-center/topics/categories-of-arrhythmias/#:~:text=Ventricular%20arrhythmias%20occur%20in%20the,or%20too%20fast%20(tachycardia) (accessed on 23 September 2020).
  41. What Is Bigeminy? Available online: https://www.webmd.com/heart-disease/atrial-fibrillation/bigeminy-arrhythmia (accessed on 23 September 2020).
  42. What Is Trigeminy and How Is It Treated? Available online: https://www.healthline.com/health/trigeminy (accessed on 23 September 2020).
  43. Premature Ventricular Complex. Available online: https://litfl.com/premature-ventricular-complex-pvc-ecg-library (accessed on 23 September 2020).
  44. Premature Ventricular Contractions. Available online: https://www.mayoclinic.org/diseases-conditions/premature-ventricular-contractions/symptoms-causes/syc-20376757#:~:text=Premature%20ventricular%20contractions%20(PVCs)%20are,skipped%20beat%20in%20your%20chest (accessed on 23 September 2020).
  45. Supraventricular Tachycardia. Available online: https://www.mayoclinic.org/diseases-conditions/supraventricular-tachycardia/symptoms-causes/syc-20355243#:~:text=Overview,the%20atria%20or%20AV%20node (accessed on 23 September 2020).
  46. What is Atrial Fibrillation? Available online: https://www.healthline.com/health/living-with-atrial-fibrillation (accessed on 23 September 2020).
  47. Mechanism of Atrial Fibrillation. Available online: https://litfl.com/atrial-fibrillation-ecg-library (accessed on 23 September 2020).
  48. The P Wave. Available online: http://platosnous.com/main-blog/2015/11/2/the-p-wave#:~:text=Figure%2013.,mm%20and%20a%20pointed%20tip (accessed on 23 September 2020).
  49. Atrial Fibrillation. Available online: https://ecgwaves.com/topic/atrial-fibrillation-ecg-ekg-causes-classification-management (accessed on 14 October 2020).
  50. Gertsch, M. Atrial fibrillation. In The ECG Manual; Springer: London, UK, 2009; pp. 223–224. [Google Scholar]
  51. Shaffer, F.; Ginsberg, J.P. An overview of heart rate variability metrics and norms. Front. Public Health 2017, 5, 1–17. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  52. Heart Rate Variability. Available online: https://www.firstbeat.com/en/science-and-physiology/heart-rate-variability (accessed on 23 September 2020).
  53. Heart Rate Variability: A New Way to Track Well-Being. Available online: https://www.health.harvard.edu/blog/heart-rate-variability-new-way-track-well-2017112212789 (accessed on 23 September 2020).
  54. Records in the MIT-BIH Arrhythmia Database. Available online: https://archive.physionet.org/physiobank/database/html/mitdbdir/records.htm#114 (accessed on 23 September 2020).
  55. Elgendi, M.; Mohamed, A.; Ward, R. Efficient ECG compression and QRS detection for E-Health applications. Sci. Rep. 2017, 7, 1–16. [Google Scholar] [CrossRef] [PubMed]
  56. Rebollo-Neira, L. Effective high compression of ECG signals at low level distortion. Sci. Rep. 2019, 9, 1–12. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  57. Elena, M.M.; Quero, J.M.; Borrego, I. Optimal selection of wavelet coefficients for electrocardiograph compression. ETRI J. 2007, 29, 530–532. [Google Scholar] [CrossRef] [Green Version]
  58. Xiao, N.; Yu, W.; Han, X. Wearable heart rate monitoring intelligent sports bracelet based on Internet of things. Measurement 2020, 164, 108102. [Google Scholar] [CrossRef]
  59. Lazazzera, R.; Belhaj, Y.; Carrault, G. A new wearable device for blood pressure estimation using photoplethysmogram. Sensors 2019, 19, 2557. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Simulation environment.
Figure 1. Simulation environment.
Sensors 20 06144 g001
Figure 2. Relationship of variance and filter size: an example of 250 samples/s.
Figure 2. Relationship of variance and filter size: an example of 250 samples/s.
Sensors 20 06144 g002
Figure 3. Difference comparison of the original signal and the filter result using (a) the normal median filter and (b) the adaptive median filter.
Figure 3. Difference comparison of the original signal and the filter result using (a) the normal median filter and (b) the adaptive median filter.
Sensors 20 06144 g003
Figure 4. Sampling rate-based sliding-window structure; (a) variable configuration of the sliding window based on the sampling rate and (b) detection structure for various arrhythmias.
Figure 4. Sampling rate-based sliding-window structure; (a) variable configuration of the sliding window based on the sampling rate and (b) detection structure for various arrhythmias.
Sensors 20 06144 g004
Figure 5. Pseudocode for the detection of various arrhythmias.
Figure 5. Pseudocode for the detection of various arrhythmias.
Sensors 20 06144 g005
Figure 6. Features of (a) bigeminy and (b) trigeminy.
Figure 6. Features of (a) bigeminy and (b) trigeminy.
Sensors 20 06144 g006
Figure 7. Features of (a) PVC, (b) VT, and (c) SVT.
Figure 7. Features of (a) PVC, (b) VT, and (c) SVT.
Sensors 20 06144 g007
Figure 8. Five features for AF detection.
Figure 8. Five features for AF detection.
Sensors 20 06144 g008
Figure 9. Detected R peaks for MITDB Records (a) 100, (b) 104, (c) 105, and (d) 108.
Figure 9. Detected R peaks for MITDB Records (a) 100, (b) 104, (c) 105, and (d) 108.
Sensors 20 06144 g009
Figure 10. Computation time per 1000 iterations for 11 s of Records (a) 100N112, (b) 104/328, (c) 105N364, and (d) 108N270.
Figure 10. Computation time per 1000 iterations for 11 s of Records (a) 100N112, (b) 104/328, (c) 105N364, and (d) 108N270.
Sensors 20 06144 g010
Figure 11. R-peak detection results for (a) bigeminy, (b) trigeminy, (c) MITDB 114 including PVC, (d) VT, and (e) SVT.
Figure 11. R-peak detection results for (a) bigeminy, (b) trigeminy, (c) MITDB 114 including PVC, (d) VT, and (e) SVT.
Sensors 20 06144 g011
Figure 12. Comparison of BPM, RR interval, RR histogram, PSD, and poincaré plot for MITDB Records (100, 104, 105, and 108), bigeminy, trigeminy, mitdb 114 including PVC, VT, and SVT.
Figure 12. Comparison of BPM, RR interval, RR histogram, PSD, and poincaré plot for MITDB Records (100, 104, 105, and 108), bigeminy, trigeminy, mitdb 114 including PVC, VT, and SVT.
Sensors 20 06144 g012
Figure 13. Test signals of AFDB used for AF detection.
Figure 13. Test signals of AFDB used for AF detection.
Sensors 20 06144 g013aSensors 20 06144 g013b
Figure 14. Visualization of test AF signals in in AFDB.
Figure 14. Visualization of test AF signals in in AFDB.
Sensors 20 06144 g014
Table 1. Processing unit for various arrhythmias.
Table 1. Processing unit for various arrhythmias.
Processing Unit (per)Kinds of Arrhythmia
One beatPremature ventricular contraction (PVC)
Multiple beat (or one minute)Bigeminy, trigeminy
At least one minuteBradycardia, tachycardia, ventricular tachycardia (VT), supraventricular tachycardia (SVT), atrial fibrillation (AF)
Table 2. Performance evaluation of the proposed method using the MITDB.
Table 2. Performance evaluation of the proposed method using the MITDB.
TapeTotalFNFPSe [%]+P [%]DER [%]TapeTotalFNFPSe [%]+P [%]DER [%]
100227300100100020119637399.6499.850.51
10118652599.8999.730.3820221364599.8199.770.42
10221871199.9599.950.092032980182199.4099.301.31
10320840110099.950.0520526567399.7499.890.38
104222931299.8799.460.6720718629799.5299.620.86
1052572111899.5799.301.13208295513599.5699.830.61
10620275699.7599.700.5420930044599.8799.830.30
10721372599.9199.770.33210265014699.4799.770.75
108177472799.6198.491.9221227483599.8999.820.29
10925323499.8899.840.2821332512599.9499.850.22
11121244399.8199.860.3321422652299.9199.910.18
11225390110099.960.0421533631399.9799.910.12
11317952499.8999.780.3321722095299.7799.910.32
11418792599.8999.730.3721921542599.9199.770.32
11519530110099.950.0522020481199.9599.950.10
11624129599.6399.790.5822124275299.7999.920.29
11715352399.8799.800.3322224837299.7299.920.36
11822780110099.960.0422326055199.8199.960.23
11919871399.9599.850.2022820536899.7199.610.68
12118634299.7999.890.3223022563299.8799.910.22
12224760110099.960.0423115711299.9499.870.19
12315183199.8099.930.2623217803499.8399.780.39
12416192199.8899.940.1923330795199.8499.970.19
20026011799.9699.730.3123427533299.8999.930.18
Total10951019421999.8299.800.38
Table 3. Performance comparison with other algorithms using Record 105.
Table 3. Performance comparison with other algorithms using Record 105.
MethodFPFNDER (%)Ref
Linear adaptive filter40222.41[12]
Bandpass filter67223.46[10]
Generic algorithm8653.54[16]
Wavelet transform31131.17[17]
Wavelet denoising5783[18]
3M method1971.01[19]
Derivative-max filter20131.28[20]
Proposed method18111.13
Table 4. Performance evaluation of test arrhythmias.
Table 4. Performance evaluation of test arrhythmias.
ArrhythmiasLengthNo. of BeatsFNFPSe(%)+P(%)DER(%)
Bigeminy56 sec727090.281009.72
Trigeminy56 sec7910087.3410012.66
VT59 sec1491099.331000.67
SVT59 sec1912098.951001.05
Table 5. Variables related to time- and frequency domain- HRV measurements.
Table 5. Variables related to time- and frequency domain- HRV measurements.
VariablesUnitsMeaning
Time domainMean HR[s]-
HR std.[s]-
RR mean[s]Average RR interval in the window of measurement
NN50[count]Number of adjacent RR intervals that varied by more than 50 ms
pNN50[%]Percentage of adjacent RR intervals that varied by more than 50 ms
RMSSD[s]Root mean square of difference between coupling intervals of adjacent RR intervals
HTI-Reciprocal of probability of the highest bin of histogram of RR intervals
TINN-The baseline width of the distribution measured as a base of a triangle
Frequency domainVLF power[ms2]Power from very low frequency (0 Hz~0.04 Hz)
LF power[ms2]Power from low frequency (0.04 Hz~0.15 Hz)
HF power[ms2]Power from high frequency (0.15 Hz~0.40 Hz)
VLF[%](VLF Power/Total Power) × 100
LF[%](LF Power/Total Power) × 100
HF[%](HF Power/Total Power) × 100
LF/HF-Sympathovagal balance
Table 6. HRV results for MITDB records and various arrhythmias.
Table 6. HRV results for MITDB records and various arrhythmias.
HRVMITDBArrhythmias
100104105108BigeminyTrigeminy (gen.*)PVC (mitdb114)VT (gen. *)SVT (gen. *)
RR mean0.790.730.701.030.790.741.040.400.32
RR std.0.050.170.110.170.170.150.18--
Heart rate mean75.8682.4386.1758.89656958148189
Heart rate
std.
1.953.652.712.37--3.64--
RMSSD0.050.190.150.200.330.250.250.010.00
NN5023118491423145144--
pNN503.9620.318.4324.4448.4466.1826.23--
HTI7.668.56611.643.422.8812.501.021
TINN0.210.250.110.390.060.030.310.060.03
LF power22.9129.3325.0832.4137.1210.3916.2515.4327.34
HF power77.0970.6774.9267.5962.8889.6183.7384.5772.66
LF2.935.184.125.340.610.082.910.250.20
HF9.8412.4812.2911.131.030.6614.981.350.52
LF/HF0.300.420.330.480.590.120.190.180.38
gen. *: generated.
Table 7. Five normalized feature values for various AF signals in AFDB.
Table 7. Five normalized feature values for various AF signals in AFDB.
RecordsHRCPHBSDAAOSCAverage
0404310.680.260.980.960.78
041260.900.900.730.970.460.79
047460.610.880.4810.320.66
050910.610.850.330.990.780.71
051210.640.860.730.990.850.81
052610.770.840.500.910.640.73
064260.700.9510.9110.91
069950.920.940.9910.640.90
071620.570.95110.170.74
078790.790.790.340.990.430.67
079100.570.800.7710.420.71
082150.820.550.4110.300.61
083780.740.900.960.9610.91
084050.670.790.810.490.920.73
Average0.740.830.670.940.63
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bae, T.W.; Lee, S.H.; Kwon, K.K. An Adaptive Median Filter Based on Sampling Rate for R-Peak Detection and Major-Arrhythmia Analysis. Sensors 2020, 20, 6144. https://doi.org/10.3390/s20216144

AMA Style

Bae TW, Lee SH, Kwon KK. An Adaptive Median Filter Based on Sampling Rate for R-Peak Detection and Major-Arrhythmia Analysis. Sensors. 2020; 20(21):6144. https://doi.org/10.3390/s20216144

Chicago/Turabian Style

Bae, Tae Wuk, Sang Hag Lee, and Kee Koo Kwon. 2020. "An Adaptive Median Filter Based on Sampling Rate for R-Peak Detection and Major-Arrhythmia Analysis" Sensors 20, no. 21: 6144. https://doi.org/10.3390/s20216144

APA Style

Bae, T. W., Lee, S. H., & Kwon, K. K. (2020). An Adaptive Median Filter Based on Sampling Rate for R-Peak Detection and Major-Arrhythmia Analysis. Sensors, 20(21), 6144. https://doi.org/10.3390/s20216144

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop