Next Article in Journal
Neuromorphic Technologies for Neuroengineering: From Adaptive Stimulation to SNN-Based Inference and Deployable Biointerfaces
Next Article in Special Issue
Wearable-Measured Physical Activity Goal Adherence and Body Composition Change in a 12-Month mHealth Weight Loss Trial
Previous Article in Journal
Mechanical Property Evolution and Load Monitoring Method of Laminated Elastomeric Bridge Bearings Under Temperature Effects
Previous Article in Special Issue
Ergo4Workers: A User-Centred App for Tracking Posture and Workload in Healthcare Professionals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Denoising Respiratory Sinus Arrhythmia of Pulse-to-Pulse Interval Signals Extracted from Photoplethysmogram with an Autoregressive Moving Average Model

by
Shing-Hong Liu
1,
Chien-Kai Lin
1,
Xin Zhu
2,
Jia-Jung Wang
3,*,
Yu-Lun Hsu
4 and
Kuo-Li Pan
5,6,7
1
Department of Computer Science and Information Engineering, Chaoyang University of Technology, Taichung City 41349, Taiwan
2
Department of AI Technology Development, M&D Data Science Center, Institute of Integrated Research, Institute of Science Tokyo, Tokyo 101-0062, Japan
3
Department of Biomedical Engineering, I-Shou University, Kaohsiung City 84001, Taiwan
4
Bachelor’s Program of Sports and Health Promotion, Fo Guang University, Jiaoxi 26247, Yilan County, Taiwan
5
Division of Cardiology, Department of Internal Medicine, Chang Gung Memorial Hospital, Chiayi Branch, Chiayi City 613, Taiwan
6
College of Medicine, Chang Gung University, Taoyuan City 333, Taiwan
7
Heart Failure Center, Chang Gung Memorial Hospital, Chiayi Branch, Chiayi City 613, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(10), 3048; https://doi.org/10.3390/s26103048
Submission received: 17 March 2026 / Revised: 2 May 2026 / Accepted: 8 May 2026 / Published: 12 May 2026

Highlights

What are the main findings?
  • Evaluating the performance of individual subject models and a general model.
  • Selecting appropriate model orders for different individual subject models and the general model.
  • Evaluating whether different control breathing rates (CBRs) generated the respiratory sinus arrhythmia (RSA) energies coupled in the PPI signals.
  • Evaluating whether the proposed individual subject ARMA model and the general ARMA model significantly attenuate RSA energy in the frequency-domain parameters of PRV analysis.
What are the implications of the main findings?
  • The performance of individual subject models does not significantly differ from that of the general model for removing the RSA energy coupled in the raw PPI signals.
  • The general model could be embedded in an edge computing system in the future.

Abstract

Background: Pulse rate variability (PRV), a critical biomarker of autonomic nervous system (ANS) function, is typically evaluated using the pulse-to-pulse interval (PPI) signal extracted from a photoplethysmogram (PPG). Although PPGs have been widely used in wearable devices, the PPI signal is easily affected by motion artifacts or respiratory sinus arrhythmias (RSAs). These disturbances affect the accuracy of PRV for evaluating ANS function. The aim of this study was to remove the respiratory signals from raw PPI signals with an autoregressive moving average (ARMA) model. Methods: An R-wave to R-wave interval (RRI) sequence was extracted from the electrocardiogram (ECG). A self-made measurement system was used to record PPG, ECG, and respiratory signals. Nineteen healthy adults were recruited and requested to breathe with a spontaneous breathing rate (SBR) and control breathing rates (CBRs) (6, 18, and 30 breathing rate per minute, BRPM). Their ECG, PPG, and breathing signals were recorded for 6 min under different CBRs. The measurement was performed twice, i.e., eight measurements were performed. The raw RRI(t) and PPI(t) signals of 4 Hz were segmented into samples of one minute and shifted by 30 s. Thus, a subject had 80 samples, and there were 10 samples for each BRPM. RSA-free RRI signals were generated by a spectral method to filter RSA from raw RRI(t) to produce the target RRI(t). We proposed the individual subject ARMA models trained by samples with the maximum mean absolute errors between the target RRI(t) and raw PPI(t) (MAERAWs) of each subject, and the general model trained by samples with all maximum MAERAWs of all 19 subjects. Results: The mean absolute errors between the target RRI(t) and P P I ~ ( t ) predicted by the individual subject ARMA models (MAESubject-Models) and general ARMA model (MAEGeneral-Model) were used to evaluate the performance of the two models. The results for the MAESubject-Models and MAEGeneral-Model were 132.5 ± 59.1 ms and 137.8 ± 67.8 ms, respectively, with no significant difference. MAESubject-Models and MAEGeneral-Model were compared with MAERAWs, whose attenuations (ATTs) were 28.5 ± 13.1% and 27.8 ± 12.6%, respectively. Conclusions: The two proposed models are capable of removing the RSA energy coupled in the raw PPI signals.

1. Introduction

Photoplethysmography (PPG) has gained considerable attention as a practical alternative for heart rate (HR) monitoring, particularly in wearable applications. The heart rate variability (HRV) is a crucial indicator of autonomic nervous system (ANS) function, reflecting the dynamic interplay between sympathetic and parasympathetic modulation regarding cardiac activity [1]. It refers to the physiological phenomenon of variation in the time interval between consecutive heartbeats, approximately equivalent to the R-wave to R-wave interval (RRI) in an electrocardiogram (ECG). Sympathetic nerve activity increases HR, while parasympathetic nerve activity slows HR, and the withdrawal of parasympathetic activity leads to an increase in HR.
The sympathetic nerves intensify cardiac activity by increasing the HR and decreasing HRV. Contrary to sympathetic nerves, the parasympathetic nerves decrease the HR and increase HRV. The ANS responses are commonly assessed through time- and frequency-domain parameters of HRV [2]. HRV has become a valuable biomarker in clinical and research settings for evaluating stress, fitness, and disease prognosis [3]. While HRV indices are widely used as noninvasive markers of ANS activity, they do not provide a direct or exclusive measure of sympathetic and parasympathetic balance. Frequency-domain components such as LF and HF are influenced not only by autonomic modulation but also by respiration, baroreflex mechanisms, and other physiological factors, which can confound their interpretation. Moreover, the assumption that LF reflects sympathetic activity and HF reflects parasympathetic activity has been debated, limiting the reliability of HRV indices as precise indicators of ANS function [4,5].
PPG measures peripheral blood-volume changes using optical sensors and is widely integrated into wristbands, rings, and smartwatches [6,7,8]. The pulse-to-pulse interval (PPI) is extracted from PPG signals, and its sequence is very close to its RRI counterpart. Thus, pulse rate variability (PRV) has been replaced with HRV to describe ANS functions [9,10]. However, PPG waveforms are easily affected by vascular compliance, peripheral vascular resistance, sensor displacement, skin tone, ambient light variations [11,12], and motion artifacts [13]. Peralta et al. evaluated the precision of PRV with HRV derived from ECG as a reference. They evaluated the five different points of the PPG waveform and found that the middle-amplitude point, apex point of the first differentiation, and tangent intersection point were the most suitable fiducial points for the HR monitor, resulting in the lowest relative errors between the PR and HR indices [14]. However, the respiratory sinus arrhythmia (RSA) is modulated in the PPI or RRI sequences. This may affect the accuracy of PRV or HRV parameters. Moreover, this noise usually cannot be removed by infinite impulse response (IIR) or finite impulse response (FIR) filters. To address these challenges, traditional signal processing techniques have been applied to RRI signals, such as the adaptive filter method [15,16], principal component analysis (PCA) [17], and empirical model decomposition (EMD) [18,19]. For the adaptive filter and PCA methods, the least mean squares (LMS) loss function was used to train the model. In these approaches, the synchronous respiratory signal served as the reference and had to be measured simultaneously, which is a major limitation of both methods. EMD was used to decompose RRI signals, where the respiratory component is expected to appear in one of the intrinsic mode functions (IMFs). Therefore, the EMD method also requires a synchronous respiratory signal as the reference. Moreover, because the RRI signal is non-stationary, this method requires additional post-selection of components to identify which IMF contains the largest respiratory energy. Based on the above discussion of previous studies, developing a method to remove RSA energy coupled in the RRI signal without requiring a synchronous respiratory signal or post-selection of components remains a challenge for realizing PRV applications in real-world settings. State-space models have been applied for modeling or denoising the dynamic physiological signals, such as for forecasting sleep apnea by HRV [20,21] and denoising neural data [22].
PRV or HRV measurement involves several parameters categorized into time- and frequency-domain analyses, each providing unique insights into autonomic nervous system function. Time-domain parameters analyze variations in successive PPI or RRI signals, with common metrics including the standard deviation of NN intervals (SDNN) and the root mean square of successive differences (RMSSD) [1,2]. Frequency-domain analysis decomposes PPI or RRI signals into different frequency bands, such as very low frequency (VLF, 0.003–0.04 Hz), low frequency (LF, 0.04–0.15 Hz), and high frequency (HF, 0.15–0.40 Hz), which reflect sympathetic and parasympathetic activity, respectively [2]. Heart rate (HR) is influenced by various physiological, psychological, and environmental factors, all of which contribute to its dynamic regulation. Respiration and HR are closely linked through a phenomenon known as respiratory sinus arrhythmia (RSA), in which HR increases during inhalation and decreases during exhalation [21]. Thus, Tan et al. used RRI signals to forecast whether the sleep apnea is happened [23]. This synchronization is primarily mediated by the autonomic nervous system, which adjusts HR in response to respiratory cycles to optimize gas exchange and circulatory efficiency. The RSA energy is influenced by factors such as breathing rate and tidal volume; for example, slower and deeper breathing tends to enhance RSA, whereas rapid breathing may attenuate it.
During conditions such as exercise or obstructive sleep apnea, respiratory rate changes are accompanied by corresponding variations in RRI. Both the RRI sequence and the R-wave amplitude sequence have been used to predict sleep apnea [22]. Consequently, HRV analysis is typically limited to resting RRI signals. Many wearable devices, such as the Apple Watch and Galaxy Watch, measure the PRV function under a spontaneous breathing rate (SBR) at resting state. However, after exercise, users typically sit down and perform controlled breathing (CBR) to quickly recover. During this period, RSA energy becomes coupled with the PPI signal, which may reduce the accuracy of PRV analysis. Therefore, developing methods to remove respiratory influences from PPI or RRI signals remains an important research direction. To address the impact of RSA energy on PPI and RRI signals, this study employed an autoregressive moving average (ARMA) time-series model to remove the RSA energy coupled in the raw PPI signal, thereby predicting the intrinsic PPI signal.
However, ARMA models face significant limitations, primarily centered on the requirement for stationary, linear data, and challenges in model identification. Common issues include sensitivity to outliers, poor performance with nonlinear or non-stationary data, error accumulation in long-term forecasting, and the difficulty of selecting appropriate orders. In this study, we proposed the individual subject ARMA models (ARMAindividual_models) and the general ARMA model (ARMAgeneral_model). To support model development and evaluation, a self-made multi-channel measurement system was used to synchronously measure ECG and PPG and respiratory signals under controlled and normal breathing. Data were collected from 19 participants to ensure subject-level variability. The key contributions of this study are as follows: (1) The proposed method does not require synchronous respiratory signals. (2) The CRB energy coupled in raw RRI signals was filtered by the spectral method. The filtered RRI signals were used as the target output of ARMA models. (3) Both ARMAindividual_models and ARMAgeneral_model were developed and their performances were compared. (3) Appropriate model orders were selected for both ARMA models. (4) The performance of the proposed models was evaluated under different CBRs. (5) The accuracy of three frequency-domain parameters extracted from the predicted PPI signals was evaluated.

2. Materials and Methods

Figure 1 depicts the flowchart of this study for removing the RSA energy coupled in the raw PPI signals using the 19 ARMAindividual_models and ARMAgeneral_model. Figure 1a shows the flowchart for generating the training and testing samples from the ECG and PPG signals. Nineteen subjects were recruited in this study. A self-made measurement system was used to measure the ECG, PPG, and respiratory signals. Then, the R-waves of the ECG and main peaks of PPG were detected to generate the raw RRI(n) and PPI(n) sequences, which were coupled with respiratory information. Both synchronous sequences were affected by the same RSA and were subsequently resampled at 4 Hz to generate the raw RRI(t) and PPI(t) signals. A spectral method was then applied to remove the respiratory component coupled in the raw RRI(t) signals. The resulting filtered RRI(t) signals and the raw PPI(t) signals were used as the target output and input, respectively. Both signals were segmented into samples of one minute and shifted by 30 s. The subjects were seated in a resting state under spontaneous breathing (SBR) and three controlled breathing rates (CBRs), with each condition lasting 6 min. Physiological signals were recorded throughout each phase. The experiment was repeated twice with a one-week interval, resulting in eight measurements per subject. Each measurement comprised 10 samples collected under different breathing conditions. Subsequently, the mean absolute error (MAERAW) between the target RRI(t) and the original PPI(t) was computed for all samples. For each subject, the measurement comprising 10 samples with the highest average MAERAW was selected for training the individual subject ARMA model, whereas the remaining 70 samples were used for testing. For the general ARMA model, 190 samples from nineteen measurements were used for training, while the remaining 1330 samples were used for testing. Thus, the resulting training-to-testing ratio was 1:7.
Figure 1b shows the flowchart for training and testing the two models, the ARMAindividual_model and ARMAgeneral_model. For the ARMAindividual_model, each model was first trained using the 10 samples with the maximum MAERAW for that subject, with model orders ranging from 1 to 20. The model was then tested using the remaining 70 samples. The optimal order of each model was determined using a grid search over this range. The order that yielded the minimum MAE between the target RRI(t) and the predicted P P I ~ ( t ) , denoted as the minimum MAESubject-Model, was selected as the order of the ARMAindividual_model. The testing MAESubject_Models under the optimal order were compared with the ARMAgeneral_model.
For the ARMAgeneral_model, all the MAESubject_Models of the same order were accumulated. A histogram was used to determine the order of the ARMAgeneral_model. If an order yielded the smallest accumulated MAESubject-Model, it was selected as the order of the ARMAgeneral_model. Subsequently, the samples with the maximum MAERAW for each subject (totaling 190 samples) were used to train the ARMAgeneral_model, while the remaining 1330 samples were used for testing.

2.1. Experiment Protocol

Nineteen subjects (11 males and 8 females) were recruited for this study. Their ages, weights, and heights were 20.9 ± 1.4 years (19–24 years), 60.2 ± 13.8 kg (43–89 kg), and 164.3 ± 7.9 cm (150–178 cm), respectively. This experiment was approved by the Institutional Review Board (IRB) of the E-DA Hospital, Kaohsiung, Taiwan (No. EMRP-111-013). The IRB is organized and operates in accordance with Good Clinical Practice and the applicable laws and regulations. Figure 2 shows a real photo of the experiment. The experiment procedure is described as follows:
  • The subjects were attached to three electrodes for ECG measurement: the red electrode (negative input) was placed on the right wrist, the yellow electrode (positive input) on the left wrist, and the green electrode (ground) below the right rib.
  • A MAX30102 sensor was placed on the tip of the left index finger to measure the PPG.
  • The subjects wore an oxygen mask, and the respiratory signals were recorded.
  • The subjects sat down on a chair at resting state at an SBR for 6 min. Then, subjects were requested to breathe at CBRs, including six breathing rate per minute (6 BRPM), eighteen breathing rate per minute (18 BRPM), and thirty breathing rate per minute (30 BRPM). In each phase, signals were recorded for 6 min.
  • After completing the above procedures, the entire experiment was repeated twice with a one-week interval. Thus, each subject performed 8 measurements.

2.2. Self-Made Measurement System

Figure 3a illustrates the self-made measurement system. A Zener diode (DO-35, Comchip Technology Co., Ltd., Yingge District of New Taipei City, Tai-wan) was used to detect the respiratory signal, with a gain of 101, and the bandwidth was 0.213–10.26 Hz. The ECG was recorded by an AD8232 module (Analog Device, Wilmington city, MA 01887, USA), and the PPG was measured using a MAX30102 module (Maxim Integrated TM, San Jose, CA, USA). The bandwidth of AD8232 was set between 7 and 24 Hz. The gain was 1100. The red LED of MAX30102 was used to detect the PPG, with a current of 51 mA and a resolution of 18 bits. The ECG and respiratory signals were digitized using a 12-bit Analog-to-Digital Converter (ADC) for further processing. The microcontroller unit (MCU) of the multi-channel measurement board [24] was a 16-bit microcontroller (MSP430F5438A, Texas Instruments TM, Dallas, TX, USA), which handles data management and communication through an inter-integrated circuit (I2C) bus with a MAX30102 module. The MCU interfaces with a graphical user interface (GUI) for real-time visualization, as shown in Figure 3b; the upper row illustrates the ECG, the middle row the PPG, and the lower row the respiratory signal. The data was further analyzed using MATLAB R2021a (MathWorks Corp., USA). The sampling rate of this system was 500 Hz.

2.3. Digital Signal Processing

This study employed a third-order Butterworth band-pass filter to preprocess ECG signals. The passband frequency was 5–50 Hz. This bandwidth could enhance the R waves. A third-order Butterworth band-pass filter was used to preprocess the PPG signals. The passband frequency was 0.4–5 Hz. This bandwidth could smooth the dicrotic notch of the PPG. The R waves of the ECG were detected using the Pan–Tompkins method [25]. Then, the maximum slope of the PPG waveform was detected from the differential PPG [14]. The RRI was calculated as the temporal difference between consecutive R waves, as shown in Equation (1).
R R I i = t R ( i + 1 ) t R ( i ) ,
where tR(i+1) and tR(i) are the times of i + 1th and ith R waves. If RRIi is not in [0.5 s, 1.0 s], the RRIi is considered an abnormal beat and replaced with 0.5*(RRIi−1 + RRIi+1). In breathing-controlled experiments, respiratory components were controlled to 6, 18, and 30 BRPM (approximately 0.1 Hz, 0.3 Hz, and 0.5 Hz), respectively.
A single fiducial point per pulse was used as the maximum-slope detection method. For each pulse cycle bounded by two adjacent troughs ( n F i , n F i + 1 ) , the fiducial point n A i * was defined as the time index on the rising edge where the first derivative of the signal reached its maximum value, as expressed in Equation (2). This approach identifies the point of maximum upward slope corresponding to the onset of the systolic upstroke, providing high temporal precision and robustness against the amplitude variation of PPI sequences.
n A i * = arg m a x   n [ n F i , n F i + 1 ] d x P P G ( n ) d n .
The raw PPI was obtained as the temporal difference between two consecutive fiducial points as shown in Equation (3).
P P I i = t P ( i + 1 ) t P ( i ) ,
where tP(i+1) and tP(i) are the times of the (i+1)th and ith fiducial points. If PPIi is not in [0.5 s, 1.0 s], the PPIi is considered an abnormal beat and placed with 0.5*(PPIi−1+PPIi+1). The raw PPI sequence was synchronized with the raw RRI sequence for comparative analysis and subsequent model training.

2.4. Raw and Target RRI and Raw PPI Signals

Raw RRI or PPI sequences are typically represented as RRI(n) or PPI(n). The independent variable “n” of two sequences was transferred to a time variable “t”. Then, the raw RRI(t) and PPI(t) sequences were resampled to a uniform frequency of 4 Hz using a commonly used second-order polynomial interpolation method. This method fits a quadratic function to raw RRI(t) and PPI(t) signals, ensuring a smooth and accurate interpolation of values at the desired sampling rate. Figure 4a shows the raw RRI(t) (blue line) and respiratory signal (red line) within 10 s under a CBR of 6 BRPM. The left and right vertical axes represent the amplitude of the respiratory signal and the time of the RRI signal, respectively. The raw RRI(t) signal coupling with RSA energy shows the respiratory rhythms. Figure 4b shows the spectrum (PSDRaw−RRI(f), blue line) of the raw RRI(t) signal, which exhibits a spike at 0.1 Hz. The spectrum (PSDFiltered−RRI(f), red dot line) was obtained by replacing PSDRaw–RRI(f) within the range of 0.1 Hz ± 0.05 Hz with the average of PSDRaw–RRI (0.05) and PSDRaw–RRI (0.15). Then, the inverse discrete-time Fourier transform was used to obtain the denoised RRI signals as the target RRI signal. For 18 BRPM, the spectrum (PSDFiltered−RRI(f)) was obtained by replacing PSDRaw–RRI(f) within the range of 0.3 Hz ± 0.05 Hz with the average of PSDRaw–RRI (0.25) and PSDRaw–RRI (0.35). For 30 BRPM, the spectrum (PSDFiltered−RRI(f)) was obtained by replacing PSDRaw–RRI(f) within the range of 0.5 Hz ± 0.05 Hz with the average of PSDRaw–RRI (0.45) and PSDRaw–RRI (0.55).
Figure 5 shows the raw and target RRI(t) signals under (a) 6 BRPM, (b) 18 BRPM, and (c) 30 BRPM, respectively. We can observe that the RSA energies of the RRI signals under 6 BRPM and 18 BRPM have significant attenuations. However, the raw and target RRI signals under 30 BRPM are very close.

2.5. Data Segmentation

In this study, both ECG and PPG signals were recorded continuously for 6 min under an SBR and the different CBRs of 6, 18, and 30 BRPM. To enhance the dataset robustness and support ARMA training, a segmentation strategy was applied. Specifically, each recording was divided into 1 min segments with forward–backward overlapping with a 30 s sliding window, preserving temporal continuity while increasing the sample count. Each measurement comprised 10 samples; each sample contained 240 data points for RRI(t) and PPI(t). Each subject contributed to 8 measurements, which are mentioned in Section 2.1 (Experimental Protocol). In such measurements, a subject yielded a total of 80 samples, and 1520 samples overall (10 samples × 8 measurements × 19 subjects). The segmentation approach thus significantly augmented the dataset without compromising the physiological signal integrity, enabling the improved modeling of the temporal dynamics between the PPI(t) and RRI(t) signals.

2.6. ARMA Model

We used an ARMA model to predict the PPI ( P P I ~ ( t ) ) signal. Equation (4) is the ARMA model, y(t) the target RRI(t), and u(t) the raw PPI(t).
y t + a 1 y t 1 + + a n a   y t n a = b 1 u t n k + + b n b u t n k n b + 1 ,  
where na and nb are the orders of the autoregressive model and moving average model, and nk is the delay time of the input signal. In this study, nk is defined as 0, and na and nb are the same. We designed the individual subject and general models to analyze the performance of ARMA time-series models. For each ARMAindividual_model, the training samples were the maximum MAERAWs, totaling 10 samples. The remaining 70 samples were used for testing. Table 1 and Table 2 present the MAERAWs (in milliseconds) for subjects 1–10 and 11–19 under an SBR and different CBRs. For subjects 1–4, 6, 8, 11, 12, 14, 15, 17, and 18, the maximum MAERAWs occurred at 6 BRPM during the first measurement. In contrast, for subjects 5, 7, 9, 10, 13, 16, and 19, the maximum MAERAWs occurred at 6 BRPM during the second measurement.
To determine the optimal order for each ARMAindividual_model, the model orders were scanned from 1 to 20. Table 3 and Table 4 present the mean absolute errors between the target RRI(t) and the predicted P P I ~ ( t ) , denoted as MAESubject-Models. For each ARMAindividual_model under different orders, if P P I ~ ( t ) did not converge, the corresponding MAESubject-Model is indicated by “--”. The order that yielded the minimum MAESubject-Model was selected as the optimal order of this ARMAindividual_model to predict the PPI(t) for that subject. Thus, there were 19 ARMAindividual_models.
For the ARMAgeneral_model, a histogram method was used to compute the accumulated MAESubject-Models across different orders, as shown in Table 3 and Table 4. The order with the smallest accumulated MAESubject-Model was defined as the optimal order of the ARMAgeneral_model. Subsequently, a total of 190 samples with the maximum MAERAWs from the 19 subjects were used to train the ARMAgeneral_model, while the remaining 1330 samples were used for testing.

3. Results

3.1. Individual Subject ARMA Models

In Table 1, for subjects 1–4, 6, 8, 11, 12, 14, 15, 17, and 18, the maximum MAERAWs were obtained at 6 BRPM in the first measurement. In Table 2, for subjects 5, 7, 9, 10, 13, 16, and 19, the maximum MAERAWs were found at 6 BRPM in the second measurement. Thus, these 10 samples of the subject at 6 BRPM were used to train their ARMAindividual_model, and the remaining 70 samples of the subject were used to test the model. To determine the optimal order of each ARMAindividual_model, we scanned orders from 1 to 20. Their MAESubject-Models under different orders are shown in Table 3 and Table 4. When the order had the minimum MAESubject-Model, the model of this order would be used to predict the PPI(t). Subjects 1–19 used the 20th, 12th 19th, 16th, 19th, 15th, 3rd, 9th, 12th, 11th, 11th, 20th, 4th, 3rd, 15th, 15th, 3rd, 4th, and 19th order models, respectively. Table 5 and Table 6 show the MAESubject-Models of ARMAindividual_models for subjects 1 to 10, and subjects 11 to 19, respectively. For subjects 1 to 10, the MAESubject-Models are compared with MAERAWs in Table 1, whose attenuations (ATTs) are from 9.5% to 42.3%. For subjects 11 to 19, except subject 18, the MAESubject-Models are compared with MAERAWs in Table 2, whose ATTs are from 6.7% to 46.7%. The ATT is defined in Equation (5).
A T T   % = P a r a m e t e r D e n o i s i n g   b e f o r e P a r a m e t e r D e n o i s i n g   a f t e r P a r a m e t e r D e n o i s i n g   b e f o r e × 100 .
Figure 6a shows the target RRI (red) and the predicted P P I ~ ( t ) (blue) of subject 9 under an SBR, where the MAESubject-Model is 12.65 ms. Figure 6b shows the target RRI (red) and the predicted P P I ~ ( t ) (blue) of subject 9 under a CBR of 30 BRPM, where the MAESubject-Model is 3.45 ms.

3.2. General ARMA Model

We used a histogram to illustrate the accumulated MAESubject-Models at different orders according to Table 3 and Table 4. The third order has the smallest MAESubject-Model, 79 ms, as shown in Figure 7. Thus, the order of the general model is 3. The training samples were the measurements for each subject with the maximum MAERAWs, and the number of training samples was 190. The other 1330 samples were used to test the ARMAgeneral_model. Table 7 and Table 8 show the MAEs between the target RRI(t) and the predicted P P I ~ ( t ) (MAEGeneral Models) for subjects 1 to 10 at SBR and the different CBRs, and for subjects 11 to 19. For subjects 1 to 10 except subject 2, the MAEGeneral Models are compared with MEARAWs in Table 1, whose ATTs are from 11.8% to 39.2%. For subjects 11 to 19, except subject 18, the MAEGeneral Models are compared with MEARAWs in Table 2, whose ATTs are from 2.3% to 47.1%.

3.3. ARMAindividual_models Compared with ARMAgeneral_model

We proposed 19 individual subject models and a general model to remove the RSA energy coupled in the raw PPI signals. A t-test was used to compare the performance of individual subject models and the general model. Table 9 shows the summarized performance of the individual subject models and the general model. The means ± standard deviations of the MAESubject-Models and MAEGeneral-Model by the individual subject models and the general model for 19 subjects are 132.5 ± 59.1 ms and 137.8 ± 67.8 ms, respectively. Moreover, the means ± standard deviations of the ATT of the two models are 28.5% ± 13.1% and 27.8% ± 12.6%, respectively. The p-values of the MAEs and attenuations of the two models are 0.1827 and 0.6204, respectively. Thus, the performance of the two methods shows no significant difference.
In this study, CBRs were defined at 6 BRPM, 18 BRPM, and 30 BRPM, approximately 0.1 HZ, 0.3 Hz, and 0.5 Hz. The VLF, LF, and HF are the frequency-domain parameters of PRV, and their bandwidths are 0.003–0.04 Hz, 0.04–0.15 Hz, and 0.15–0.4 Hz, respectively. Thus, only the LF and HF parameters are affected by the designed CBRs of 6 BRPM and 18 BRPM. Table 10 shows that the mean absolute percentage errors (MAPEs) of the three frequency-domain parameters of PRV extracted from the raw PPI(t) and P P I ~ ( t ) predicted by ARMAindividual_models under eight measurements are represented by V L F ¯ , L F ¯ , and H F ¯ , and V L F ~ , L F ~ , and H F ~ . The MAPE is defined in Equation (5). Then, a t-test was used to compare the differences in the three frequency-domain parameters in two models. The results are shown in Table 10, where the MAPE of V L F ¯ is significantly smaller than that of V L F ~ , the p-value being below 0.0001. This can be attributed to two issues. First, the VLF is not disturbed by RSA. In Table 1 and Table 2, the MAERAWs at SBR are lower than 6.58 ms. Thus, the V L F ¯ extracted from the raw PPI(t) is very close to the truthful energy of the VLF extracted from the target RRI(t). Second, in Table 5 and Table 6, the maximum MAESubject-Models were obtained at SBR, and they were larger than 4.25 ms. Thus, the MAPEs of the V L F ¯ and V L F ~ are 1.53 ± 0.99% and 8.80 ± 10.59%, and the p-value between the MAPEs of the V L F ¯ and V L F ~ is lower than 0.0001. The V L F ~ is significantly worse than the V L F ¯ . This result indicates that, when the proposed ARMAindividual_models removed RSA energy from the raw PPI signals, it may also have removed or distorted the true VLF energy. Moreover, the MAPE of the L F ¯ is significantly larger than that of the L F ~ , with the p-value being below 0.0001. The reason is that the RSA of 6 BRPM interfered with the raw PPI(t), and P P I ~ ( t ) was removed from the respiratory signal by the ARMAindividual_models. In Table 11, the total MAERAWs under RSA of 6 BRPM is significantly larger than MAESubject-Models, with a p-value of 0.000. This result shows that the proposed ARMAindividual_models could remove the RSA energy of raw PPI signals. ATT approaches 85.4% ± 15.1%. However, the MAPEs of H F ¯ and H F ~ are not significantly different, with a p-value of 0.5377. The reason is that HF parameters would be disturbed by RSA at 18 BRPM. In Table 11, the MAERAWs under RSA at 18 BRPM are not significantly different from the MAESubject-Models, with a p-value of 0.2409. However, the ATT approached 16.5% ± 33.2%.
M A P E =   1     8   i = 1 8 R a w   o r   P r e d i c t   P a r a m e t e r T a r g e t   P a r a m e t e r a c t u a l 100 .

4. Discussion

RSA is heart rate variability in synchrony with respiration, affecting the accuracy of HRV for evaluating the balance of ANS. The RRI(n) derived from an ECG is shortened and prolonged during inspiration and expiration, respectively [26]. Some studies have proposed methods for extracting respiratory rates (RRs) from RRI and R-wave amplitude signals [27,28]. Thus, when the PPI(t) or RRI(t) extracted from wearable devices is used for the long-term monitoring of PRV or HRV, RSA must be moved from raw PPI(t) or RRI(t) to increase the accuracy and stability of the parameters of PRV or HRV. However, because the raw PPI(t) or RRI(t) is modulated by RSA, it cannot be filtered using the traditional linear IIR or FIR filter. In this study, we used the spectrum identification method to remove RSA from the raw RRI(t). However, this method cannot be implemented in a wearable device for denoising RSA of PPI(t) because the real respiratory rate is unknown. Thus, we proposed 19 ARMAindividual_models and an ARMAgeneral_model for removing the RSA energy coupled in the raw PPI(t) signals for real-time PRV analysis.
The waveforms of PPG are easily affected by vascular compliance, peripheral vascular resistance, sensor displacement, skin tone, ambient light variations, and motion artifacts [11,29]. Peralta et al. evaluated the precision of PRV with HRV derived from ECG as the reference. PRV derived from PPI(n) was extracted from the five different points of the PPG waveform. It was found that the middle-amplitude point, apex point of the first differentiation, and tangent intersection point were the most suitable fiducial points for PRV analysis, resulting in the lowest relative errors between the PRV and HRV parameters and higher correlation coefficients and reliability indices [14]. Thus, we used the maximum-slope point of the PPG waveform to detect PPI(n).
PPI signals are very close to RRI signals in stationary subjects. As shown in Table 1 and Table 2, the MAERAW for subject 2 is 13.29 ms and that for subject 17 is 1.87 ms under an SBR. Thus, spontaneous respiratory signals could be extracted from RRI and/or R-wave amplitude (RWA) signals. However, the ANS regulates both heart rate (HR) and breathing rate (BR) [5]. Therefore, the VLF and LF bands also contain components related to BR. For HRV analysis, the BR-related energy is typically not removed from RRI signals. In contrast, under the CBRs, RSA energy may distort HRV analysis; therefore, it should be removed from the raw RRI signals prior to HRV analysis. This is because the bandwidths of SBR and HR are significantly different, allowing simpler approaches, such as high-pass filtering, to effectively remove SBR energy. However, when CBR overlaps (aliases) with HR, removing the coupled CBR energy from the RRI signal becomes challenging. According to previous studies, methods such as adaptive filtering [15,16], PCA [17], and EMD [18,19] require respiratory signals as reference inputs. In this study, we propose 19 ARMAindividual_models and an ARMAgeneral_model to remove RSA energy coupled in the PPI signal. This method does not require respiratory signal measurements and demonstrates generalization across subjects, making it more practical for real-world applications. Finally, because the CBRs were predefined in our experiment, a spectral method could be used to remove the corresponding RSA energy. However, in real-world applications, the actual CBRs are typically unknown. Therefore, spectral methods cannot be reliably used to remove unknown RSA energy.
Previous studies used adaptive filtering, PCA, and EMD to remove the energy of RSA from raw RRI signals. Table 12 shows the results, advantages, and limitations of these studies as the benchmark of our study. The same limitation of these previous studies [15,16,17,18,19] was that the synchronous respiratory signal had to be measured. Thus, these methods are difficult to apply in the real world. Cassani et al. [15] used an adaptive filter for removal. However, their method eliminated RSA energy from the raw RRI signal under a CBR of 15 BRPM (0.25 Hz), where the coupling occurs only within the HF band. The ATT of the HF band approached 40.3%, but the energy of the LF band increased from 12.7 ms2 to 47.8 ms2. Thus, this method would also remove or disturb the true energy of the LF band, like our proposed method. The energy of the VLF band increased from 1.53 ± 0.99 ms2 to 8.80 ± 10.59 ms2. However, under CBRs of 6 BRPM and 18 BRPM, the ATTs of the LF and HF bands approach 85.4% ± 15.1% and 16.5% ± 33.2%. Thus, our method performs better than the method of Cassani et al. [15]. Tiinanen et al. [16] also used adaptive filtering to remove RSA energy from RRI signals. However, the ATTs of the LF and HF bands only approached 15.4% and 6.9%, which are worse than those obtained with our method, which approached 85.4% ± 15.1% and 16.5% ± 33.2%. Balocchi et al. [18] used the EMD method to decompose the RRI signal and search the respiratory signal from the first intrinsic model function (IMF 1). This method required the post-selection of components, and needed the respiratory signal as a reference. The ATT of LF/HF only approached 3.7%. Tiinanen et al. [17] used PCA and adaptive filtering to remove SBR energy from the raw RRI signal. Both the LF and HF bands showed significant differences compared with the raw RRI signal. In our method, only the LF band extracted from the ARMAindividual_model is significantly different from that of the raw RRI signals. A major advantage of the proposed method is that it does not require synchronous respiratory measurements. Therefore, it can be more easily implemented in real-world applications.
A critical aspect of validating the performance of removing the RSA energy coupled in the raw PPI(t) using the individual subject models is to understand how timing errors propagate into the VLF, LF, and HF metrics of PRV in Table 10. Small perturbations of MAERAWs can disproportionately affect frequency-domain parameters, particularly the HF parameter, which represents parasympathetic modulation. Our studies showed that, while the RSA energy under lower BRPM severely distorts PRV spectra, the ARMAindividual_models maintain spectral errors within physiologically acceptable limits, with most deviations being below 10–12%. The individual subject models significantly reduce the MAPEs of L F ¯ from 1066.19 ± 875.90 (%) to 88.45 ± 49.21 (%) of L F ~ . In Table 9, the results indicate that the performance of the general model is close to that of the individual subject models. Its advantage is not only correcting individual intervals but also preserving the temporal variability structure required for reliable PRV spectral estimation. We used the maximum-slope point of the PPG waveform to define the pulse position as the PPI(n) for reducing onset-detection ambiguity. These mechanical and peripheral delays [30] cannot be fully eliminated, meaning that ARMA models can substantially reduce but not completely remove RSA interference, causing timing errors in P P I ~ ( t ) .
In this study, ECG and PPG signals were measured in an ideal laboratory environment, where conventional methods can reliably extract the internal beat interval (IBI) from ECG and PPG signals. In real-world wearable settings, PPG signals contain motion artifacts, baseline drift, and pulse-shape distortions that make accurate IBI extraction more challenging—conditions that motivate the use of maximum likelihood estimation or least squares estimation. Thus, the limitations of this study are as follows. First, although the study incorporated three breathing rates (6, 18, and 30 BRPM), all recordings were still collected under controlled laboratory conditions in healthy adults. However, in real practice, users breathe irregularly, their postures change, and the PPG signal couples with substantial motion artifacts. These problems will reduce the performance for denoising RSA of raw PPI(t). Second, the models were validated only on internally collected data, and no external independent dataset was used, which limits generalizability to other populations, devices, and recording environments. Third, the study did not include participants with cardiovascular or autonomic dysfunction, who often exhibit altered pulse morphology and greater signal variability; performance in these groups remains unknown. Finally, although the models significantly denoised RSA obstruction from raw PPI(t), the P P I ~ ( t ) preserved PRV spectral content (VLF, LF, and HF) which remained sensitive to residual timing errors, indicating the need for further refinement. Future work will expand the dataset to include diverse populations, such as elderly subjects or patients with known cardiovascular conditions. Moreover, measurements should be taken in different contexts, such as ambulatory recordings, pathological cohorts, multi-center datasets, and diverse wearable sensor platforms, to establish broader applicability beyond controlled laboratory conditions.

5. Conclusions

This study used 19 ARMAindividual_models and the ARMAgeneral_model to remove the RSA energy coupled in raw PPI(t) signals. Their performance did not significantly differ. For the raw RRI(t) signals, the spectral method was used to remove the coupling RSA energy. The filtered RRI(t) signals were the target RRI(t). The results showed that MAESubject-Models and MAEGeneral-Model showed significant decreases compared with MAERAWs. The MAPEs of L F ~ were also significantly lower than those of L F ¯ . The MAPEs of H F ~ also decreased compared with those of H F ¯ but not significantly. Finally, the proposed ARMAgeneral_model can be implemented in wearable devices for PRV applications in the future.

Author Contributions

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

Funding

This research was funded by the National Science and Technology Council, Taiwan; grant numbers: NSTC 113-2923-E-324-001-MY3 and NSTC 114-2221-E-214-001.

Institutional Review Board Statement

The study was conducted in accordance with the guidelines of the Declaration of Helsinki and approved by the Research Ethics Committee of Chang Gung Medical Foundation (No. 201902013B0C601), Taoyuan City, Taiwan.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors would like to acknowledge Chaoyang University of Technology for the administrative support and thank Ming-Yao Tsai for his processing in the study.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PPIPulse-to-Pulse Interval
RRIR-wave to R-wave Interval
PRVPulse Rate Variability
HRVHeart Rate Variability
ARMAAutoregressive Moving Average
MAEMean Absolute Error
BRPMBreathing Rate Per Minute

References

  1. Shaffer, F.; Ginsberg, J.P. An overview of heart rate variability metrics and norms. Front. Public Health 2017, 5, 258. [Google Scholar]
  2. Rajendra Acwatchharya, U.; Paul Joseph, K.; Kannathal, N.; Lim, C.M.; Suri, J.S. Heart rate variability: A review. Med. Biol. Eng. Comput. 2006, 44, 1031–1051. [Google Scholar] [CrossRef]
  3. Thayer, J.F.; Yamamoto, S.S.; Brosschot, J.F. The relationship of autonomic imbalance, heart rate variability, and cardiovascular disease risk factors. Int. J. Cardiol. 2010, 141, 122–131. [Google Scholar] [CrossRef] [PubMed]
  4. Berntson, G.G.; Cacioppo, J.T.; Quigley, K.S. Respiratory sinus arrhythmia: Autonomic origins, physiological mechanisms, and psychophysiological implications. Psychophysiology 1993, 30, 183–196. [Google Scholar] [CrossRef]
  5. Goldstein, D.S.; Bentho, O.; Park, M.-Y.; Sharabi, Y. Low-frequency power of heart rate variability is not a measure of cardiac sympathetic tone but may be a measure of modulation of cardiac autonomic outflows by baroreflexes. Exp. Physiol. 2011, 96, 1255–1261. [Google Scholar] [CrossRef]
  6. Yang, C.; Veiga, C.; Rodriguez-Andina, J.J.; Farina, J.; Iniguez, A.; Yin, S. Using PPG signals and wearable devices for atrial fibrillation screening. IEEE Trans. Ind. Electron. 2019, 66, 8832–8842. [Google Scholar] [CrossRef]
  7. Rodriguez-Labra, J.I.; Kosik, C.; Maddipatla, D.; Narakathu, B.B.; Atashbar, M.Z. Development of a PPG sensor array as a wearable device for monitoring cardiovascular metrics. IEEE Sens. J. 2021, 21, 26320–26327. [Google Scholar]
  8. Kim, K.B.; Baek, H.J. Photoplethysmography in wearable devices: A comprehensive review of technological advances, current challenges, and future directions. Electronics 2023, 12, 2923. [Google Scholar] [CrossRef]
  9. Mejía-Mejía, E.; May, J.M.; Torres, R.; Kyriacou, P.A. Pulse rate variability in cardiovascular health: A review on its applications and relationship with heart rate variability. Physiol. Meas. 2020, 41, 07TR01. [Google Scholar] [CrossRef] [PubMed]
  10. Schäfer, A.; Vagedes, J. How accurate is pulse rate variability as an estimate of heart rate variability?: A review on studies comparing photoplethysmographic technology with an electrocardiogram. Int. J. Cardiol. 2013, 166, 15–29. [Google Scholar] [CrossRef]
  11. Bharati, S.; Gidveer, G. Waveform analysis of pulse wave detected in the fingertip with PPG. Int. J. Adv. Eng. Technol. 2012, 3, 92. [Google Scholar]
  12. Fischer, C.; Dömer, B.; Wibmer, T.; Penzel, T. An algorithm for real-time pulse waveform segmentation and artifact detection in photoplethysmogram. IEEE J. Biomed. Health Inform. 2016, 21, 372–381. [Google Scholar] [CrossRef] [PubMed]
  13. Pollreisz, D.; TaheriNejad, N. Detection and removal of motion artifacts in PPG signals. Mob. Netw. Appl. 2022, 27, 728–738. [Google Scholar] [CrossRef]
  14. Peralta, E.; Lazaro, J.; Bailon, R.; Marozas, V.; Gil, E. Optimal fiducial points for pulse rate variability analysis from forehead and finger photoplethysmographic signals. Physiol. Meas. 2019, 40, 025007. [Google Scholar] [CrossRef]
  15. Cassani, R.; Mejia, P.; Tavares, J.A.; Sanchez, J.C.; Martinez, R. Adaptive filtering for respiration influence reduction on heart rate variability. In Proceedings of the IEEE 8th International Conference on Electrical Engineering, Computing Science and Automatic Control, Merida City, Mexico, 26–28 October 2011; pp. 1–5. [Google Scholar]
  16. Tiinanen, S.; Tulppo, M.; Seppanen, T. Reducing the effect of respiration in baroreflex sensitivity estimation with adaptive filtering. IEEE Trans. Biomed. Eng. 2008, 55, 51–59. [Google Scholar] [CrossRef]
  17. Tiinanen, S.; Kiviniemi, A.; Tulppo, M.; Seppänen, T. RSA component extraction from cardiovascular signals by combining adaptive filtering and PCA derived respiration. In IEEE Computing in Cardiology; IEEE: New York, NY, USA, 2010; pp. 73–76. [Google Scholar]
  18. Balocchi, R.; Menicucci, D.; Santarcangelo, E.; Sebastiani, L.; Gemignani, A.; Ghelarducci, B.; Varanini, M. Deriving the respiratory sinus arrhythmia from the heartbeat time series using empirical mode decomposition. Chaos Solitons Fractals 2004, 20, 171–177. [Google Scholar] [CrossRef]
  19. Garde, A.; Karlen, W.; Dehkordi, P.; Ansermino, J.; Dumont, G. Empirical mode decomposition for respiratory and heart rate estimation from the photoplethysmogram. In IEEE Computing in Cardiology; IEEE: New York, NY, USA, 2013; pp. 799–802. [Google Scholar]
  20. Faal, M.; Almasganj, F. ECG signal modeling using volatility properties: Its application in sleep apnea syndrome. J. Healthc. Eng. 2021, 2021, 4894501. [Google Scholar] [CrossRef]
  21. Nalatore, H.; Ding, M.; Rangarajan, G. Denoising neural data with state-space smoothing: Method and application. J. Neurosci. Methods 2009, 179, 131–141. [Google Scholar] [CrossRef]
  22. Scarciglia, A.; Bonanno, C.; Valenza, G. Physiological denoising method for unbiased analysis of biomedical signals: Application on heartbeat dynamics. IEEE Trans. Biomed. Eng. 2026, 73, 756–765. [Google Scholar] [CrossRef]
  23. Tan, T.H.; Chen, G.H.; Liu, S.H.; Chen, W. Prediction of sleep apnea occurrence from a single-lead electrocardiogram using stacking hybrid architecture with gated recurrent neural network architectures and logistic regression. Technologies 2026, 14, 92. [Google Scholar] [CrossRef]
  24. Liu, S.H.; Wang, J.J.; Tan, T.H. A portable and wireless multi-channel acquisition system for physiological signal measurements. Sensors 2019, 19, 5314. [Google Scholar] [CrossRef]
  25. Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
  26. Yasuma, F.; Hayano, J. Respiratory sinus arrhythmia: Why does the heartbeat synchronize with respiratory rhythm? Chest 2004, 125, 683–690. [Google Scholar] [CrossRef]
  27. Sarkar, S.; Bhattacherjee, S.; Pal, S. Extraction of respiration signal from ECG for respiratory rate estimation. In Proceedings of the Michael Faraday IET International Summit, Kolkata, India, 12–13 September 2015; pp. 336–340. [Google Scholar]
  28. Helfenbein, E.; Firoozabadi, R.; Chien, S.; Carlson, E.; Babaeizadeh, S. Development of three methods for extracting respiration from the surface ECG: A review. J. Electrocardiol. 2014, 47, 819–825. [Google Scholar] [CrossRef] [PubMed]
  29. Liu, S.H.; Li, R.X.; Wang, J.J.; Chen, W.; Su, C.H. Classification of photoplethysmographic signal quality with deep convolution neural networks for accurate measurement of cardiac stroke volume. Appl. Sci. 2020, 10, 4612. [Google Scholar] [CrossRef]
  30. Patlar Akbulut, F.; Ikitimur, B.; Akan, A. Wearable sensor-based evaluation of psychosocial stress in patients with metabolic syndrome. Artif. Intell. Med. 2020, 104, 101824. [Google Scholar] [CrossRef] [PubMed]
Figure 1. (a) The flowchart for generating the training and testing samples from the ECG and PPG signals. (b) The flowchart for training and testing the two models, the ARMAindividual_models and ARMAgeneral_model.
Figure 1. (a) The flowchart for generating the training and testing samples from the ECG and PPG signals. (b) The flowchart for training and testing the two models, the ARMAindividual_models and ARMAgeneral_model.
Sensors 26 03048 g001
Figure 2. A real photo of the experiment.
Figure 2. A real photo of the experiment.
Sensors 26 03048 g002
Figure 3. (a) The diagram of the self-made measurement system, including a self-made circuit for respiratory measurement, an ECG module (AD8232), and a PPG module (MAX30102). The MCU is MSP430F5438A. The sampling rate is 500 Hz. (b) The GUI of the self-made measurement system. The upper row illustrates the ECG, the middle row the PPG, and the lower row the respiratory signal.
Figure 3. (a) The diagram of the self-made measurement system, including a self-made circuit for respiratory measurement, an ECG module (AD8232), and a PPG module (MAX30102). The MCU is MSP430F5438A. The sampling rate is 500 Hz. (b) The GUI of the self-made measurement system. The upper row illustrates the ECG, the middle row the PPG, and the lower row the respiratory signal.
Sensors 26 03048 g003
Figure 4. (a) The raw RRI signal (blue) coupling with the CBR signal (red); (b) the spectrum of the raw RRI signal (blue line) and the spectrum of the RRI signal upon removing the RSA energy (red dotted line).
Figure 4. (a) The raw RRI signal (blue) coupling with the CBR signal (red); (b) the spectrum of the raw RRI signal (blue line) and the spectrum of the RRI signal upon removing the RSA energy (red dotted line).
Sensors 26 03048 g004
Figure 5. Raw RRI signals (blue line) and target RRI signals (red line) under different CBRs: (a) 6 BRPM, (b) 18 BRPM, and (c) 30 BRPM.
Figure 5. Raw RRI signals (blue line) and target RRI signals (red line) under different CBRs: (a) 6 BRPM, (b) 18 BRPM, and (c) 30 BRPM.
Sensors 26 03048 g005
Figure 6. The target RRI(t) and P P I ~ ( t ) of subject 9: (a) an SBR; (b) the CBR of 30 BRPM.
Figure 6. The target RRI(t) and P P I ~ ( t ) of subject 9: (a) an SBR; (b) the CBR of 30 BRPM.
Sensors 26 03048 g006
Figure 7. A histogram to illustrate the accumulated MAESubject-Models at different orders according to Table 3 and Table 4.
Figure 7. A histogram to illustrate the accumulated MAESubject-Models at different orders according to Table 3 and Table 4.
Sensors 26 03048 g007
Table 1. MAERAWs (ms) of subjects 1 to 10 under an SBR and different CBRs.
Table 1. MAERAWs (ms) of subjects 1 to 10 under an SBR and different CBRs.
Sub. 1Sub. 2Sub. 3Sub. 4Sub. 5Sub. 6Sub. 7Sub. 8Sub. 9Sub. 10
First Meas.SBR2.6813.295.235.545.992.952.412.494.553.84
6 BRPM45.7266.7882.3749.1960.7918.8969.0635.4610.1158.11
18 BRPM13.6933.4124.3513.3937.2411.2312.699.348.3720.98
30 BRPM8.03122.0611.42515.3929.687.508.108.492.4713.04
Second Meas.SBR3.034.4353.981.986.582.432.611.922.443.65
6 BRPM45.2460.9776.4016.4868.8613.8294.2632.3323.4861.81
18 BRPM12.3328.6424.826.8934.468.5914.1211.816.1621.72
30 BRPM9.22517.3411.506.1021.025.367.117.605.1113.94
Total 139.95246.93240.07114.97264.6270.80210.37109.4562.70197.09
Mean
±SD
17.5
±16.6
30.8
±20.8
30.0
±29.4
14.3
±14.0
33.0
±21.3
8.9 ± 5.326.3 ± 32.813.7 ± 12.17.8 ± 6.424.6 ± 21.3
SD: standard deviation.
Table 2. MAERAWs (ms) of subjects 11 to 19 under an SBR and different CBRs.
Table 2. MAERAWs (ms) of subjects 11 to 19 under an SBR and different CBRs.
Sub. 11Sub. 12Sub. 13Sub. 14Sub. 15Sub. 16Sub. 17Sub. 18Sub. 19
First Meas.SBR2.523.222.074.885.685.971.875.393.45
6 BRPM71.9440.2950.09101.1372.7771.5129.7488.1341.63
18 BRPM12.9313.0018.7426.3316.6249.9414.6631.4420.94
30 BRPM6.858.718.0521.2510.1218.0912.2116.378.62
Second Meas.SBR2.822.614.265.173.584.064.064.845.65
6 BRPM34.7535.2996.2865.5569.9181.2117.0546.4180.50
18 BRPM8.0611.1616.1428.1017.3225.3311.7928.1825.73
30 BRPM10.497.807.6417.3811.8420.115.8821.6111.17
Total 150.39122.08203.27269.78207.84276.2397.27242.37197.68
Mean
±SD
18.8 ± 22.2415.3 ± 13.525.4 ± 30.433.7 ± 31.125.9 ± 26.634.5 ± 27.612.2 ± 8.2930.3 ± 25.424.7 ± 24.2
SD: standard deviation.
Table 3. MAESubject-Models (ms) of subjects 1 to 10 under different orders. The orders with the minimum MAESubject-Models are the 20th order for subject 1, 12th order for subject 2, 19th order for subject 3, 16th order for subject 4, 19th order for subject 5, 15th order for subject 6, 3rd order for subject 7, 9th order for subject 8, 12th order for subject 9, and 11th order for subject 10.
Table 3. MAESubject-Models (ms) of subjects 1 to 10 under different orders. The orders with the minimum MAESubject-Models are the 20th order for subject 1, 12th order for subject 2, 19th order for subject 3, 16th order for subject 4, 19th order for subject 5, 15th order for subject 6, 3rd order for subject 7, 9th order for subject 8, 12th order for subject 9, and 11th order for subject 10.
Order of ModelSub. 1Sub. 2Sub. 3Sub. 4Sub. 5Sub. 6Sub. 7Sub. 8Sub. 9Sub. 10
1100.154.3460.6434.0761.1936.3893.7035.5737.3854.57
2--39.60109.7054.4595.39--61.66----41.58
38.6932.8325.2023.8418.398.0717.3310.217.0315.48
414.4140.6031.57--32.10---24.5120.7687.01--
5--46.50----17.10------8.0315.99
6--45.91--28.5812.68------8.4929.81
7--33.9534.6027.0511.37--9.496.3725.98
8--28.3830.84--11.25--------18.64
99.2230.90--26.68------8.65--23.54
108.5228.93--27.5512.71----9.64----
117.5226.62--27.7710.539.33------15.07
12--25.10--29.05------10.525.81--
13--30.6223.24--10.39----------
14--35.6826.1125.25--8.3217.76------
1510.2734.08--23.10--6.35--------
1623.8230.69--21.42--6.7617.83------
177.7644.53--21.69----18.43------
1811.0739.27--21.49--8.7118.37------
19--40.1019.43911.4910.33198.3520.21------
207.48149.18534.8322.0310.71--18.8612.40----
“--” indicates that the ARMA model did not converge.
Table 4. MAESubject-Models (ms) of subjects 11 to 19 under different orders. The orders with the minimum MAESubject-Models are the 11th order for subject 11, 20th order for subject 12, 4th order for subject 13, 3rd order for subject 14, 15th order for subject 15, 15th order for subject 16, 3rd order for subject 17, 4th order for subject 18, and 9th order for subject 19.
Table 4. MAESubject-Models (ms) of subjects 11 to 19 under different orders. The orders with the minimum MAESubject-Models are the 11th order for subject 11, 20th order for subject 12, 4th order for subject 13, 3rd order for subject 14, 15th order for subject 15, 15th order for subject 16, 3rd order for subject 17, 4th order for subject 18, and 9th order for subject 19.
Order of ModelSub. 11Sub. 12Sub. 13Sub. 14Sub. 15Sub. 16Sub. 17Sub. 18Sub. 19
1384.5924.165173.0848.9683.2757.1023.7160.10--
292.2434.05136.7399.4995.29109.5728.8657.0258.54
313.318.4714.3224.0815.8328.6011.7353.3821.56
414.8923.4313.97------15.9153.0226.64
5----14.5455.38--44.8016.0753.7018.84
6--9.30----------55.1319.70
7--10.02----18.97--14.6656.8331.31
814.499.1815.32--19.1224.3913.4756.9517.29
912.4910.58-102.41------56.6216.99
1017.14----768.88----14.1658.13--
1111.27--------21.27--56.7519.05
1213.58--------20.50--60.9629.79
13--10.62-----20.42--58.36--
1419.47------14.83--18.0359.96--
15--16.67----14.8219.41--58.7617.02
16--------15.7219.46--61.3825.23
17--9.83----18.4419.77--71.5921.08
18--9.76----18.34--14.3862.5419.25
19--6.55-----------57.40--
20--6.14------19.96--58.70--
“--” indicates that the ARMA model did not converge.
Table 5. MAESubject-Models (ms) by ARMAindividual_models for subjects 1 to 10 under an SBR and different CBRs.
Table 5. MAESubject-Models (ms) by ARMAindividual_models for subjects 1 to 10 under an SBR and different CBRs.
Sub. 1Sub. 2Sub. 3Sub. 4Sub. 5Sub. 6Sub. 7Sub. 8Sub. 9Sub. 10
First Meas.SBR7.3943.3713.4014.1013.708.0515.3019.9912.656.19
6 BRPM7.4825.2919.4421.4212.166.3423.688.585.0614.64
18 BRPM14.5526.8324.6913.0932.2411.1819.229.537.8719.46
30 BRPM9.9226.5017.2419.0425.1910.3118.729.313.4614.65
Second Meas.SBR10.7534.6218.825.1212.275.4414.6113.236.347.84
6 BRPM10.9527.3421.379.829.906.3417.257.275.8315.03
18 BRPM12.7227.9225.727.8030.629.5219.6011.966.4519.94
30 BRPM12.0821.0318.828.8216.506.8916.278.146.4016.52
Total 85.83232.90159.5199.22 152.5864.07144.6488.0154.06114.28
ATT (%) 38.7 xx 33.6 13.7 42.3 9.5 31.2 19.6 13.8 42.0
Mean
±SD
10.7 ± 2.329.1 ± 6.419.9 ± 3.7212.4 ± 5.319.1 ± 8.48.0 ± 1.918.1 ± 2.711.0 ± 3.86.8 ± 2.514.3 ± 4.6
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 6. MAESubject-Models (ms) by ARMAindividual_models for subjects 11 to 19 under an SBR and different CBRs.
Table 6. MAESubject-Models (ms) by ARMAindividual_models for subjects 11 to 19 under an SBR and different CBRs.
Sub. 11Sub. 12Sub. 13Sub. 14Sub. 15Sub. 16Sub. 17Sub. 18Sub. 19
First Meas.SBR20.758.7412.3314.1310.3412.987.6678.3528.09
6 BRPM11.296.079.8624.1014.8226.2311.7052.9716.86
18 BRPM12.2612.6920.2933.0519.3845.8016.9549.0617.63
30 BRPM10.2810.1413.1931.7018.6824.1213.5820.3219.65
Second Meas.SBR17.687.968.0919.008.7914.044.2527.5734.32
6 BRPM10.176.3413.8322.3812.2719.417.8127.8716.84
18 BRPM8.3510.6018.4733.0118.5626.0012.6529.2025.64
30 BRPM12.799.2012.1126.6714.8825.407.1622.7825.27
Total 103.5771.75108.18204.03117.73193.9981.76309.18184.32
ATT (%) 31.1 41.2 46.8 24.4 43.4 29.8 15.9 xx 6.8
Mean
±SD
12.9 ± 3.99.0 ± 2.113.5 ± 3.825.5 ± 6.514.7 ± 3.724.3 ± 9.510.2 ± 3.938.6 ± 18.723.0 ± 5.9
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 7. MAEGeneral _Model (ms) for subjects 1 to 10 under an SBR and different CBRs.
Table 7. MAEGeneral _Model (ms) for subjects 1 to 10 under an SBR and different CBRs.
Sub. 1Sub. 2Sub. 3Sub. 4Sub. 5Sub. 6Sub. 7Sub. 8Sub. 9Sub. 10
First Meas.SBR6.6349.248.8216.4932.956.1615.3017.6212.396.53
6 BRPM8.6832.7125.2823.8419.998.0923.6810.164.4613.88
18 BRPM14.0733.6525.2613.3325.2810.2219.229.298.0922.21
30 BRPM9.8333.8012.6317.3329.108.8918.729.403.0014.19
Second Meas.SBR9.5942.6012.375.0428.204.0514.6011.725.669.11
6 BRPM12.1534.3221.5910.1018.297.2117.258.537.0415.48
18 BRPM12.6334.5026.217.5224.928.4419.6011.706.1322.81
30 BRPM11.5426.3414.547.7019.145.9716.278.256.0016.30
Total 85.13287.18146.68101.35197.8759.03144.6486.6652.77120.42
ATT (%) 39.2 xx 38.9 11.8 25.2 16.6 31.2 20.8 15.8 38.9
Mean
±SD
10.6 ± 2.335.9 ± 6.518.3 ± 6.512.7 ± 5.924.7 ± 4.97.4 ± 1.818.1 ± 2.710.8 ± 2.86.6 ± 2.615.1 ± 5.3
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 8. MAEGeneral_Model (ms) for subjects 11 to 19 under an SBR and different CBRs.
Table 8. MAEGeneral_Model (ms) for subjects 11 to 19 under an SBR and different CBRs.
Sub. 11Sub. 12Sub. 13Sub. 14Sub. 15Sub. 16Sub. 17Sub. 18Sub. 19
First Meas.SBR15.768.7412.1314.139.6511.147.6678.3531.35
6 BRPM13.368.5110.1324.1015.8331.1411.7053.3516.70
18 BRPM12.1213.0820.1333.0519.5649.2516.9549.1016.11
30 BRPM9.479.8912.9431.7017.7920.9813.5820.5718.18
Second Meas.SBR13.567.717.7419.008.0410.794.2527.7041.12
6 BRPM12.537.7714.2122.3813.5128.607.8127.9621.19
18 BRPM7.6810.9018.3833.0118.8226.5312.6529.2824.74
30 BRPM12.268.7411.7626.6714.4822.247.1622.8723.66
Total 96.7575.3107.43204.03117.67200.6781.76309.18193.06
ATT (%) 35.7 38.3 47.1 24.4 43.4 27.4 15.9 xx 2.3
Mean
±SD
12.1 ± 2.39.4 ± 1.713.4 ± 3.825.5 ± 6.514.7 ± 3.925.1 ± 11.510.2 ± 3.938.6 ± 18.724.1 ± 7.9
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 9. The performance of ARMAindividual_models and ARMAgeneral_model for 19 subjects.
Table 9. The performance of ARMAindividual_models and ARMAgeneral_model for 19 subjects.
ARMAindividual_models
(Baseline)
ARMAgeneral_model
MAESubject-Models (ms)ATT (%)MAEGeneral-Model (ms)ATT (%)
Sub. 185.8338.7 85.1339.2
Sub. 2232.90xx287.18xx
Sub. 3159.5133.6146.6838.9
Sub. 499.2213.7101.3511.8
Sub. 5152.5842.3197.8725.2
Sub. 664.079.559.0316.6
Sub. 7144.6431.2144.6431.2
Sub. 888.0119.686.6620.8
Sub. 954.0613.852.7715.8
Sub. 10114.2842.0120.4238.9
Sub. 11103.5731.196.7535.7
Sub. 1271.7541.275.338.3
Sub. 13108.1846.8107.4347.1
Sub. 14204.0324.4204.0324.4
Sub. 15117.7343.4117.6743.4
Sub. 16193.9929.8200.6727.4
Sub. 1781.7615.981.7615.9
Sub. 18257.54xx259.19xx
Sub. 19184.326.8193.062.3
Mean ± SD132.5 ± 59.128. 5 ± 13.1137.8 ± 67.827.8 ± 12.6
p-value0.1827033140.620455165
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 10. MAPEs of V L F ¯ , L F ¯ , and H F ¯ extracted from the raw PPI signals, and V L F ~ , L F ~ , and H F ~ extracted from the predicted P P I ~ t signals by ARMAindividual_models of subjects 1 to 19.
Table 10. MAPEs of V L F ¯ , L F ¯ , and H F ¯ extracted from the raw PPI signals, and V L F ~ , L F ~ , and H F ~ extracted from the predicted P P I ~ t signals by ARMAindividual_models of subjects 1 to 19.
Subject MAPEs   of   V L F ¯ (%)
(Baseline)
MAPEs   of   V L F ~ (%) MAPEs   of   L F ¯ (%)
(Baseline)
MAPEs   of   L F ~ (%) MAPEs   of   H F ¯ (%)
(Baseline)
MAPEs   of   H F ~ (%)
11.0681.536920.66636.115106.00091.824
22.04044.498833.22750.425237.07470.548
30.7387.1421515.260141.083123.86791.647
40.5381.374654.108163.986144.087112.497
50.9153.5501199.02157.546275.117200.126
61.0568.11481.83650.469175.102123.424
71.5113.692679.55365.81681.42494.821
80.6095.782976.20671.691322.287274.138
91.64818.058299.11071.048248.45988.086
101.8732.0751086.75268.856203.209152.156
113.32310.116395.48442.898284.672197.311
121.1654.5861092.35557.736231.961182.100
130.7132.3462420.39085.396132.993134.229
142.8513.5572594.116224.310117.494158.694
150.8643.6623570.882148.342226.550194.095
161.3381.944554.21545.179167.506135.355
171.5162.066729.854137.573219.869225.023
180.91424.619464.18180.39557.08797.438
194.42918.529190.53681.590164.98265.364
Mean ± SD1.53 ± 0.998.80 ± 10.591066.19 ± 875.9088.45 ± 49.21185.25 ± 71.06141.52 ± 56.18
ATT (%)xx85.4% ± 15.1%16.5% ± 33.2%
p-value0.0009513750.0001455770.537672806
SD: standard deviation. ATT: attenuation. xx represents no ATT.
Table 11. MAERAWs (ms) and MAESubject-Models (ms) under SBR and different CBRs.
Table 11. MAERAWs (ms) and MAESubject-Models (ms) under SBR and different CBRs.
MAERAWs (ms) (Baseline)MAESubject-Models (ms)
Breath RateSBR6 BRPM18 BRPM30 BRPMSBR6 BRPM18 BRPM30 BRPM
Total154.132084.31730.64454.68618.25586.01760.50603.73
Mean ± SD4.1 ± 2.054.9 ± 24.919.2 ± 9.912.06 ± 6.316.3 ± 13.615.4 ± 9.320.0 ± 10.115.9 ± 6.9
p-value0.0000.0000.24090.000
SD: standard deviation.
Table 12. The proposed method compared with previous studies.
Table 12. The proposed method compared with previous studies.
Ref.MethodSourceSub.Data of 1 minAdvantagesLimitations
[18]EMDECG and breathing signal13ATT of average frequency ratio is 3.7%Works for nonlinear signals Requires post-selection of components
[19]EMD and frequency peak found in the breathing and PPI signals reflect RR and HRPPG and Capnogram42 RMSE of BR is 3.5 BRPMWorks for nonlinear signals Requires post-selection of components
[17]PCAECG and breathing signal23Group 1 (SBR < 0.15 Hz):
LF and HF have significant differences from baseline
Group 2 (SBR > 0.15 Hz):
LF and HF have significant differences from baseline
Dynamically tracks respiration Needs respiratory measurement
[15] Adaptive filteringECG and breathing signal1CBR = 15 BRPM;
LF increased from 12.7 ms2 to 47.8 ms2;
HF decreased from 87.3 ms2 to 52.1 ms2;
ATT of 40.3%
CBR = 36.96 BRPM;
LF changed from 79.3 to 79.1 ms2;
HF changed from 20.6 ms2 to 20.9 ms2
Dynamically tracks respirationNeeds respiratory measurement
[16] Adaptive filteringECG and breathing signal24ATTs of LF and HF bands are 15.4% and 6.9%Dynamically tracks respirationNeeds respiratory measurement
Proposed methodARMAindividual_modelsPPG19MAPEs of L F ¯ and L F ~ have significant differences; ATT is 85.4% ± 15.1%.MAPEs of H F ¯ and H F ~ do not have significant differences; ATT is 16.5% ± 33.2%.1. Exhibits superior generalization performance under both SBR and CBRs of 6, 18, and 30 BRPM
2. Eliminates the need for synchronized respiratory measurements
1. Lower sensitivity for denoising RSA of 18 BRPM
2. When the ARMAindividual_models removed RSA energy from raw PPI signals, they may also have removed or distorted the true VLF energy
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, S.-H.; Lin, C.-K.; Zhu, X.; Wang, J.-J.; Hsu, Y.-L.; Pan, K.-L. Denoising Respiratory Sinus Arrhythmia of Pulse-to-Pulse Interval Signals Extracted from Photoplethysmogram with an Autoregressive Moving Average Model. Sensors 2026, 26, 3048. https://doi.org/10.3390/s26103048

AMA Style

Liu S-H, Lin C-K, Zhu X, Wang J-J, Hsu Y-L, Pan K-L. Denoising Respiratory Sinus Arrhythmia of Pulse-to-Pulse Interval Signals Extracted from Photoplethysmogram with an Autoregressive Moving Average Model. Sensors. 2026; 26(10):3048. https://doi.org/10.3390/s26103048

Chicago/Turabian Style

Liu, Shing-Hong, Chien-Kai Lin, Xin Zhu, Jia-Jung Wang, Yu-Lun Hsu, and Kuo-Li Pan. 2026. "Denoising Respiratory Sinus Arrhythmia of Pulse-to-Pulse Interval Signals Extracted from Photoplethysmogram with an Autoregressive Moving Average Model" Sensors 26, no. 10: 3048. https://doi.org/10.3390/s26103048

APA Style

Liu, S.-H., Lin, C.-K., Zhu, X., Wang, J.-J., Hsu, Y.-L., & Pan, K.-L. (2026). Denoising Respiratory Sinus Arrhythmia of Pulse-to-Pulse Interval Signals Extracted from Photoplethysmogram with an Autoregressive Moving Average Model. Sensors, 26(10), 3048. https://doi.org/10.3390/s26103048

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