Abstract
Respiratory rate is one of the most important vital signs. It affects ventilation which relates to oxygen inhalation and carbon dioxide elimination. Currently, only a handful of prototypes are available for estimating the respiratory rate under the condition that users remain completely still. This research focuses on the development of a respiratory rate monitoring system that can detect human respiratory signals using force sensitive resistors (FSRs). The FSR sensors measure the forces from respiratory motion and then signal processing techniques are employed to minimize background noise and artifacts. Respiratory data are processed by a microcontroller and transmitted via Bluetooth to a mobile device for further processing and visualization. The system performance was evaluated in three stages. Firstly, for the proof by simulation, a mean absolute error (MAE), root mean square error (RMSE), and Pearson correlation coefficient (PCC) of 0.26, 0.37 breaths per minute (bpm), and 0.9998 are achieved, respectively, even when the noise level is very high, i.e., power signal-to-noise ratio is 0.25 or −6.02 decibel. Secondly, for the test on a robot, the MAEs are 0.25, 0.53, and 0.75 bpm; the RMSEs are 0.28, 0.64, and 0.92 bpm; the PCCs are approximately 1, 0.9993, and 0.9986, respectively, under sitting, walking, and jogging conditions. The system is further deployed on 14 human subjects yielding MAEs of 0.51, 1.24, and 1.92 bpm; RMSEs of 0.65, 1.63, and 2.22 bpm; and PCCs of 0.9893, 0.9831, and 0.9655, for human sitting, walking, and jogging, respectively. In the future, this respiratory rate monitoring system could be applied to patients, elderly individuals, or the general population who experience movement or locomotion during monitoring.
1. Introduction
Vital signs, which indicate the presence of life, are important indicators used to estimate health status and homeostasis [1]. Respiratory rate is one of the most important vital signs because it directly affects ventilation, including oxygen inhalation and carbon dioxide elimination [2]. Proper ventilation is essential for maintaining effective gas exchange and supporting normal cellular metabolism throughout the body. Changes in ventilation can lead to homeostatic imbalance and may indicate early health abnormalities or clinical deterioration [3].
Human inhalation is the process of taking air into the lungs. It requires a group of inspiratory muscles to work in harmony, i.e., the diaphragm contracts to increase the chest volume; the external intercostal muscles elevate the rib cage forward and upward; the sternocleidomastoid muscle, which is the muscle in the neck, elevates the sternum; the scalene muscles, also located in the neck, elevate the first two ribs; and the serratus anterior muscle or the boxer’s muscle surrounding the ribs elevates the rib cage forward and sideward. On the other hand, human exhalation is the process to force the air out of the lungs. The process also requires a group of expiratory muscles to work synchronously, i.e., the internal intercostal muscles pull the rib cage backward and downward; the rectus abdominis muscle pushes the organs in the abdomen upward to increase the pressure in the abdomen [4]. In summary, inhalation and exhalation are driven by upward and downward movement of the rib cage. Both of them affect the force in the chest area, and this provides an important idea for this work.
The U.S. Centers for Disease Control and Prevention (CDC) summarized the human respiratory rates for different age ranges as shown in Table 1 [5]. Meanwhile, the American Lung Association stated that the respiratory rate under resting conditions for healthy adults is 12 to 20 breaths per minute (bpm) on average. A respiratory rate under 12 bpm or over 25 bpm may be the sign of an abnormal health condition [6]. Compared with other vital sign monitoring devices such as the electrocardiogram (ECG) and electroencephalogram (EEG), respiratory rate monitors have been developed much less and are often limited in practical use. The standard bedside capnography which is normally available in critical clinical setups, e.g., an ICU, is used to measure the respiratory rate of a patient on the bed [7]. In typical setups, the respiratory rate is subjectively estimated based on visual counting of chest movements [8]. Counting in a 15 s timeframe and multiplying the count by 4 in practice even amplified the estimation error [8]. So, a continuous and longer measurement is highly preferable.
Table 1.
Respiratory rates of humans in different age ranges [5].
Nowadays, there are a handful of prototypes of respiratory monitor that have been proposed. There is a system for educational use named Go Direct Respiration Belt that uses a force sensor connected to a nylon strap around the chest to measure respiration rate [9]. To use the system, the force applied to the chest has to be enough to generate the sensor output and enough to differentiate the inhalation and exhalation cycles. The force is measured from the pulling of the strap during the inhalation and less pulling during the exhalation. So, with enough force surrounding the chest to produce the proper signals, the sensor signals are rather clean and not too difficult to process. A 60 cm piezoelectric film sensor was also used to estimate the respiratory rate [10] by wrapping it around the chest using an elastic band. The main function of this RespyBelt was to detect when respiratory pauses exceed a preset time and to record the respiratory signal in children. The measurement mechanism is similar to that in the first belt, i.e., the measured force is mainly along the length of the belts. On the other hand, our proposed system uses FSR-based sensors that are flexible and measure the force directly on the surface. This enables the sensors to be closely attached to the body with not much force. The force difference on the body surface during inhalation and exhalation is used to determine the respiration cycle. Even though the sensor signals are rather noisy, we propose an algorithm to suppress noise and artifacts and achieve good respiratory rate estimation.
Many wearable devices exploit the photoplethysmography (PPG) time series signal collected from the wrist or the finger [11]. Power spectral density of the PPG was used to estimate the respiratory rate and yielded MAE of 0.46 bpm and RMSE of 0.648 bpm in sleeping human subjects [12]. Cernat et al. applied the infrared and green PPG along with a fusion method and achieved RMSE of up to 1.41 bpm for a normal respiration rate, while the RMSE was up to 17.34 bpm when the actual respiration rate was high, i.e., 43 bpm [13]. The length of PPG time segments is an important factor in the respiratory rate estimation from the PPG. The information from extracted frequency, intensity, and amplitude from the PPG were fused to come up with the estimated respiratory rates [14]. The comparison of the estimated rates and capnometry measurements yielded an RMSE of 3 bpm. RMSEs of 2.57 bpm and 1.20 bpm were achieved using different machine learning models [15] and a spectral kurtosis-based method [16], respectively. Deep learning approaches were also applied and achieved an MAE of 2.50 bpm [17]. PPG signals from smart watches during small motions like working in front of a computer and resting were considered in [18] and achieved an MAE of 2.10 bpm using a hybrid method between signal processing and deep learning.
Some research works were also proposed based on a contactless basis, i.e., sensors were not attached to the users’ bodies. There was an attempt to apply seismosomnography (SSG) to pick up vibrations under the bedposts to estimate the respiratory rate of sleeping human subjects [19]. The mean difference was 0.65 bpm (with differences ranging from −0.93 to 2.6 bpm), but it should be noted that the mean difference is totally different from the MAE or mean absolute difference because the difference could be positive or negative. Therefore, differences with opposite signs could cancel out, even when the magnitudes of the differences are high. Electromagnetic (EM) waves using different antennas were exploited to estimate respiratory activity without contact and achieved an average error of 7% [20]. Radar was also applied to estimate the respiratory rate of drivers in their seats [21]. An overall RMSE of 2.91 bpm was achieved under the condition that the subjects could not move much. Furthermore, a camera-based system was proposed as a noncontact system. Image processing was applied to estimate the respiratory rate by considering the users’ head movements and an MAE of 2.46 bpm and RMSE of 3.54 bpm were achieved [22].
In these previously proposed systems, including capnography, the best scenario is when the users sleep or move as little as possible during the measurement. Even with this still body constraint, these systems still yield high measurement errors. Movements such as body locomotion, walking, or patient transportation in an ambulance will result in an inaccurate measurement. The solution provided in this work is to create a respiratory rate monitoring system which is robust to the user’s motion. This monitoring system can detect the respiratory signals while subjects are engaged in other activities, using two force sensitive resistors (FSRs). Each FSR sensor measures the forces generated by respiratory motion, particularly from chest expansion and contraction during breathing, and then our AI system based on signal processing techniques is employed to minimize noise from electronic parts/sensors and artifacts from forces generated by locomotion. Respiratory data are processed by an ESP32 microcontroller, which analyzes and converts the signals into respiratory rate values in real time. The recorded data are transmitted via Bluetooth for wireless monitoring and can be displayed on external devices for further analysis and continuous observation.
This paper is organized as follows. The next section describes materials and methods used in this work including the system development descriptions and descriptions of the method in system testing. In Section 3, the results from the simulations and experiments are shown. The discussion on the results is presented in Section 4, and finally Section 5 concludes the paper.
2. Materials and Methods
2.1. System Development
The main idea of this system is that human respiration can be observed from chest movement resulting from the expansion and contraction of the rib cage and diaphragm. The rate of movement can be measured by using force sensitive sensors. The overview of our proposed system is shown in Figure 1. For the actual system, the sensors are installed in a compression tank top to ensure that the sensors are closely attached to the body as shown in Figure 2. They are placed on the front chest, at the left and right inframammary folds. The sensors convert the force from chest movement into electrical signals. To be more specific, 2 force sensitive resistor (FSR)-based sensors and an ESP32-WROOM-32D (XXSR69) microcontroller (Espressif Systems, Shanghai, China) are integrated via hardware and software to measure force from chest movement and transmit the data to a mobile phone or a computer through Bluetooth technology. The FSRs used in this research are the FSR 406 from the Interlink Electronics FSR 400 series (Interlink Electronics, Shenzhen, China). Each sensor has dimensions of 43.69 mm by 43.69 mm with 38.10 mm by 38.10 mm sensing area and a thickness of 0.45 mm. They can sense applied force in the range of 0.1 to 100 Newtons with continuous force resolution. However, in the proposed system, when the analog signal from the force is converted to a digital signal by a 12-bit analog-to-digital converter in the microcontroller module, the force resolution is 0.024 Newtons. It is worth noting that the value of 0.024 Newtons represents the theoretical analog-to-digital-conversion-limited quantization step rather than the actual force resolution in practical utilization. In practice, the achievable resolution is mainly influenced by noise during signal transmission. For respiratory rate estimation, the system only requires sufficient sensitivity to capture the force variations caused by chest movement during respiration, which was successfully demonstrated in the experimental results. The rise time of this FSR is less than 3 microseconds. A 10 Ampere-hour (Ah), 3.7 Volt battery is used as the power source. This battery can continuously supply the power to the system for more than 50 h which should be well applicable to many respiratory rate monitoring situations.
Figure 1.
Overview of the proposed respiratory rate monitoring system.
Figure 2.
The actual use of the proposed respiratory rate monitoring system. The 2 sensors are installed in the compression sports tank top at the positions indicated by the 2 red circles.
In the proposed algorithm, we process the sum of signals from both FSR-based sensors to make sure that the force is properly captured. Then, peaks are detected from noise/artifact-suppressed signals to identify breathing cycles. The detected peaks are then used to estimate the respiratory rate. The package of the prototype is designed using 3D software (Onshape Version 1.215) so that all parts perfectly fit in it. The package is printed by an Elegoo Neptune 4 Max 3D printer (Elegoo Technology, Shenzhen, China) to ensure its shape and size are the same as what are designed in the software. Digital signal processing techniques are used to reduce noise and artifacts from locomotion including digital Butterworth filters, signal smoothing (moving average), mean adjustment, and the respiratory rate calculation. The details are elaborated next.
Figure 3 illustrates the workflow of the proposed respiratory rate estimation algorithm. The Raw signal is the sum of the signals from both sensors to ensure that the chest movements are properly captured by the sensors. In Noise & Artifacts Reduction, the raw signal is filtered to reduce noise and artifacts using a sequence of fifth-order digital Butterworth filters. The first one is a fifth-order digital Butterworth highpass filter with a digital angular cutoff frequency of 0.012π radians per sample. The second one is a fifth-order digital Butterworth lowpass filter with a cutoff frequency of 0.001π radians per sample. The idea is to preserve very low frequency components. In Smoothing, the signal is smoothed for the final time using a simple moving average filter, i.e.,
where and are the raw and smoothed signals, respectively. is the filter length which is set to a half of the sampling frequency to cover half a second. The aim is to provide output that is simple for peak detection in the next step. In Peak Detection, the local maximum peaks are detected. In the system, this step is much simpler than previously thought. This is because the first two steps are able to suppress the other signals and mostly keep the signal according to the chest movement. The peaks can be reliably detected, and hence we can apply a simple rule to detect them as follows:
Figure 3.
Workflow of the proposed respiratory rate estimation algorithm.
The idea is that the surrounding samples of a peak would have to be smaller than the peak’s value. In this case, 1, 2, and 10 samples on both sides of the peak are considered. In the last step of Respiratory Rate Estimation, the respiratory rate is calculated from the peak-to-peak interval, i.e.,
where is the sampling rate in Hertz, in our system, and is the peak-to-peak interval in samples between the (i − 1)th and ith peaks.
2.2. System Testing
The workflow of the system testing is shown in Figure 4. To test our proposed algorithm, 3 stages of testing, i.e., proof by simulation, test on the human respiratory model (robot), and test on humans, were performed in that order.
Figure 4.
Workflow of the proposed respiratory rate monitoring system testing.
Firstly, in the proof by simulation stage, we simulated the breathing signal by generating a set of sinusoidal signals with frequencies approximating human respiratory rates, i.e., 10, 15, 20, 25, 30, 35, 40, 45, and 50 cycles per minute. Then, each of the signals had white Gaussian noise added to mimic a noisy signal. The power signal-to-noise ratios (SNRs) were set to 2.00, 1.75, 1.50, 1.25, 1.00, 0.75, 0.50, and 0.25 to investigate the algorithm’s performance at each level of noise and each level of respiratory rate. It should be noted that these SNRs are computed from the ratio of signal power to noise power in a linear scale. They are equivalent to 3.01, 2.43, 1.76, 0.97, 0.00, −1.25, −3.01, and −6.02 in decibels (dB), respectively.
Secondly, after the parameters were fine-tuned in the simulation, we applied the system to a human respiratory model (robot). This life-size robot (Figure 1 and Figure 2) can mimic human respiration by using an air pump, an actuator, and a spring. The respiratory rate can be programmed through a microcontroller. This is why we used this robot. By using software to vary the robot respiratory rates, we could have the ground truth rate of each setup. Hence, we could evaluate the system performance by comparing the estimated rate from the system to the ground truth rate. In the experiment, we set the ground truth respiratory rate to 10.50, 15.75, 21.00, 26.25, 31.50, 36.75, 42.00, 47.25, and 52.50 bpm. Moreover, there were 3 activities, i.e., sitting, walking, and jogging. The sitting activity was directly performed by placing the robot on a table in the upright position. For the walking and jogging activities, the robot was carried by a human who walked or jogged accordingly.
After achieving satisfactory results from the system on the robot, we moved forward to the usability trials on humans. At the final stage, we used humans to test the proposed system. We used the results on the robot to prove the system performance and usefulness to a research ethics committee. At the end, Chiang Mai University Research Ethics Committee (CMUREC) completed the review for the proposed research protocol and granted the ethical approval CMUREC No. 68/493 (COE No. 016/69) based on international guidelines for human research protection including the Declaration of Helsinki, International Conference on Harmonization in Good Clinical Practice (ICH-GCP) and the Belmont Report. After receiving the ethical approval, we started our testing on human subjects accordingly. The number of human subjects to cover in this research is 14 in accordance with the following derivation. The average and the standard deviation of respiratory rate for adult humans are 18–20 bpm and 2–3 bpm, respectively [23]. In another work, it was reported that the average and the standard deviation are 15.4 and 2.35 bpm, respectively [12]. The sample size was calculated by using
where is the number of subjects required, Z is the Z-score according to the confidence level needed, σ is the standard deviation, and e is an acceptable error [24]. When we set the confidence level to 99% (the corresponding Z-score is Z = 2.576), σ = 2.50 bpm, and e = 2 bpm, we got = 10.36 which was rounded up to 11. However, we chose the number of human subjects to be 14, just in case some of the participants withdrew from the research experiments or the collected data were incomplete.
As approved by the CMUREC, 14 healthy human subjects aged 22 to 42 years were recruited. Each subject was asked to perform the following activities during the data collection: (1) sitting for approximately 2 min, then taking a rest for 1 min or up to the subject’s need; (2) walking for approximately 2 min, then taking a rest for 5 min or up to the subject’s need; and (3) jogging for approximately 2 min, then taking a rest for 5 min or up to the subject’s need. So, it took about 17 min to complete all activities for each subject.
In this work, no generative artificial intelligence (GenAI) has been used, either in data collection, algorithm development, data analysis, system development, or writing of this paper. All of the work has been done by our team members.
3. Simulation and Experimental Results
The results of the proposed system are reported in accordance with the workflow of the system development stages, i.e., proof by simulation stage, test on a human respiratory model (robot) stage, and test on human subject stage. Although most of the previous works reported the performance evaluation of respiratory rate estimation problem in terms of the MAE and a handful of them reported it in terms of the RMSE, we also use another evaluation measurement, i.e., the Pearson correlation coefficient (PCC), in this research. The PCC not only measures the correlation between the ground truth rates and the estimated rates but also measures how they are linearly correlated. The estimated rates and the ground truth rates were used to calculate the MAE, RMSE, and PCC to evaluate the system performance. They are defined as follows:
where and are the estimated rates of the ith signal by the algorithm and the ground truth, respectively; and are the sample mean or average of the estimated rates of the ith signal by the algorithm and the ground truth, respectively; and N is the total number of signals. It is worth noting that in the proof by simulation and the test on a robot stages, and are the rates computed from the ith setting corresponding to the ith actual (or setup) rate. This is because, in these two stages, the ground truth rate for each setting can be programmed to be a constant. Hence, the ground truth rate is available for each setting. In contrast, the rate in each human subject for each setting is not a constant, the peaks are not clear in each very noisy signal. The ground truth rate is not available, so human observation is used as the ground truth by estimating the number of cycles from the signals and video records from subjects’ chest area during the data acquisition and computing the corresponding rate in the entire signal of interest. Hence, in the test on human subject stage, and are the rates estimated by the algorithm and by human observation, respectively, from the ith human subject.
3.1. Results for Proof by Simulation Stage
The beginning stage is to investigate the feasibility of respiratory rate estimation from the acquired signals, particularly under noisy environments. Some examples of simulation results are illustrated here to provide a glimpse of how our system performed. In the case of SNR = 0.25 or −6.02 dB which is the highest noise level considered in this work, we show two actual rates, i.e., 15 and 45 cycles per minute, to represent normal and fast rates in Figure 5a,b.
Figure 5.
Signals in the proof by simulation stage with actual rates (a) 15 and (b) 45 cycles per minute, for SNR = 0.25 or −6.02 dB. Each red dot represents a detected peak.
In summary, the estimation results including the estimated respiratory rate, MAE, RMSE, and PCC, from a set of sinusoidal signals with different frequencies, i.e., 10, 15, 20, 25, 30, 35, 40, 45, and 50 cycles per minute (or breaths per minute (bpm)), corrupted by white Gaussian noise are shown in Table 2. The SNRs were varied to 2.00, 1.75, 1.50, 1.25, 1.00, 0.75, 0.50, and 0.25.
Table 2.
Estimated respiratory rate, mean absolute error (MAE), root mean square error (RMSE), and Pearson correlation coefficient (PCC) from sinusoidal signals with different levels of signal-to-noise ratios.
3.2. Results for Test on Human Respiratory Model (Robot) Stage
Figure 6a,b show the sample raw data acquired when the human respiratory model was programmed to generate respiratory rates of 15.75 and 42.00 bpm during three activities, i.e., sitting, walking, and jogging. This is to show the variations of the raw signals for the low and high respiratory rates and also for different movement activities. The signals from sitting, walking, and jogging activities at the same respiratory rate are concatenated in one plot for easier visualization. As we can see in Figure 6a, when the rate is low, i.e., 15.75 bpm, we are able to see the patterns of the chest movements in the raw signals and it is possible for human observers to manually count the peaks and estimate the respiratory rates. In the figure, some examples of the peaks are also indicated by red arrows. When the activities involve more movement the baseline wanders become more visible but the patterns from the chest movements still exist. However, when the respiratory rate is very high, i.e., 42.00 bpm as shown in Figure 6b, the signals become considerably more complex. We can still see some patterns of the chest movement in the sitting activity. However, in walking and jogging activities, it is extremely difficult or impossible for human observers to identify the peaks from chest movement and estimate the respiratory rate. So, it is desirable for the proposed algorithm to extract the respiratory rate from these difficult signals. In addition, we choose to display examples of the signals during the jogging activity which is the most difficult case among the three activities in Figure 7a,b, respectively, for the respiratory rates of 15.75 and 31.50 bpm. The results show that the estimated rates are very close to the ground truth, even in the jogging activity.
Figure 6.
Sample raw data acquired for sitting, walking, and jogging activities when the human respiratory model (robot) was programmed to generate (a) 15.75 bpm and (b) 42.00 bpm respiratory rates. The signals in the 3 activities are concatenated for easier visualization. The red arrows indicate some examples of peaks from chest movement. The 3-red-dot symbol indicates the continuation of similar peaks throughout the time interval of interest.
Figure 7.
Signals in the test on robot stage with ground truth rates (a) 15.75 bpm and (b) 31.50 bpm, during jogging activity. Each red dot represents a detected peak.
The MAE, RMSE, and PCC for the three activities and the ground truth respiratory rates of 10.50, 15.75, 21.00, 26.25, 31.50, 36.75, 42.00, 47.25, and 52.50 bpm are shown in Table 3. The MAEs for sitting, walking, and jogging are 0.25, 0.53, and 0.75 bpm, respectively. The RMSEs for the three activities are 0.28, 0.64, and 0.92 bpm, respectively. Meanwhile, the PCCs are approximately 1, 0.9993, and 0.9986, respectively, for the three activities.
Table 3.
Estimated respiratory rate from human respiratory model (robot), mean absolute error (MAE), root mean square error (RMSE), and Pearson correlation coefficient (PCC).
3.3. Results for Test on Human Subject Stage
Examples of raw signals acquired from two human subjects while sitting, walking, and jogging are shown in Figure 8. We also show an example of the signals during the jogging activity, which is the most difficult scenario considered in this work, in Figure 9. Furthermore, the results on all 14 human subjects including the estimated respiratory rates by the algorithm, absolute difference, MAE, and RMSE, are shown in Table 4. The MAEs are 0.51, 1.24, and 1.92 bpm for sitting, walking, and jogging, respectively. The RMSEs are 0.65, 1.63, and 2.22 bpm for the three situations, respectively. Meanwhile, the PCCs for the three situations are 0.9893, 0.9915, and 0.9655, respectively.
Figure 8.
Sample raw data acquired from human subject A: (a) sitting, (b) walking, (c) jogging, and from human subject B: (d) sitting, (e) walking, and (f) jogging.
Figure 9.
Signals from a human subject during jogging activity. Each red dot represents a detected peak.
Table 4.
Estimated respiratory rate from human subjects, absolute difference and mean absolute error (MAE), root mean square error (RMSE), and Pearson correlation coefficient (PCC).
4. Discussion
The results for the proof by simulation stage, when noise levels are high, SNR = 0.25 or −6.02 dB, from 15 and 45 cycles per minute are shown in Figure 5a,b. The results show that the high level of noise significantly obscures the clean signals. It is observed that the filtered signals are cleaner, and their periodicity can be seen. Peak detection in these filtered signals is possible, and the estimated rates are close to the actual values.
The unique system implementation that enabled the proposed sensors to have high accuracy is the special digital bandpass filter. It is observed that, by applying a sequence of two consecutive digital filters, i.e., the fifth-order digital Butterworth highpass filter with the digital angular cutoff frequency of 0.012π radians per sample followed by the fifth-order digital Butterworth lowpass filter with the cutoff frequency of 0.001π radians per sample, the filtered signals are much cleaner than the raw signals as shown in Figure 5. This proof by simulation provides insight into how this filtering process works because we know how the clean signals look. To investigate these filters in more detail, the frequency responses of both of them are shown in Figure 10a. This special bandpass filter cannot be realized by any standard bandpass filter like Butterworth, Chebyshev, elliptic, etc. The lowpass filter works on the remaining frequency components in the stopband of the prior highpass filter. The resulting frequency response that represents these two filters as a whole is shown in Figure 10b. As we anticipated, the magnitude in the passband drops to about −55 dB. As mentioned earlier, the main idea is to preserve very low-frequency components above 0 Hz, and the magnitude of the filtered signal is not the primary concern. The key information is the cycle of the signal corresponding to the frequency within the respiratory rate range. The selected digital frequencies of 0.001π and 0.012π radians per sample are equivalent to 0.1 and 1.2 Hz for the sampling rate Fs = 200 Hz in our system. These are equivalent to 6 to 72 bpm, respectively, which is the desired range for this study. As shown in Figure 5, after this filtering process, the magnitudes of the filtered signals drop drastically but still preserve the cyclic information of the clean signals. To show that this bandpass filter cannot be realized by a standard filter, let us consider the fifth-order digital Butterworth bandpass filter. The frequency response of this filter is shown in Figure 11. We can see that this is not the bandpass filter we are looking for. The broken plot indicates that there are some frequencies in which the responses approach infinity. This problem is caused by the instability of this filter. When we consider the poles of this bandpass filter, they are 1.0436, 1.0317 ± j0.0345, 1.0029 ± j0.0551, 0.9712 ± j0.0531, 0.9471 ± j0.0316, and 0.9383, where j is . We can see that these poles are very close to the unit circle in the z-plane and therefore may lead to instability.
Figure 10.
(a) Frequency responses of highpass filter (HPF) and lowpass filter (LPF), and (b) Frequency response of the combination of both filters used in this work.
Figure 11.
Frequency response of the fifth-order digital Butterworth bandpass filter with the lower and upper digital angular cutoff frequencies of 0.001π and 0.012π radians per sample, respectively.
From Table 2, the estimated rate at each SNR is very close to the setup rate. To evaluate the performance more clearly, we also show the absolute error between the actual and the estimated rates in the table. The MAE, RMSE, and PCC are calculated for each SNR. It is not surprising that, when the SNR becomes smaller, the MAE and RMSE become larger and the PCC becomes smaller. When the SNR is above 1.50, the MAE and RMSE are approximately 0.02 and 0.03 bpm, respectively. Both MAE and RMSE increase more than 10 times to about 0.26 and 0.37 bpm when the noise level is very high, i.e., SNR = 0.25. Meanwhile, the PCCs are approximately 1 in many cases except when SNR = 0.25, indicating the extremely high positive linear correlation between the ground truth rate and the estimated rate. In fact, each value is not exactly 1 but 0.99999… and when we display up to the fourth decimal place, the value is shown as 1.0000. When SNR = 0.25, the PCC is 0.9998 which is still very high under this high level of noise.
The results from the first stage of testing provide a very convincing confirmation that the proposed system would work in real setups. In the second stage of testing, the results for the test on a human respiratory model (robot) shown in Figure 7 visually demonstrate the good respiratory rate estimation performance by the proposed algorithm. The signals after filtering are much cleaner than the raw signals. The peaks are clearly seen and properly detected. Hence, the estimated rates are very close to the ground truth, even in the jogging activity which is the most difficult case among the three activities.
For the numerical evaluation shown in Table 3, the MAE, RMSE, and PCC for the three activities on the robot compared to the ground truth respiratory rate confirm the good estimation performance by the proposed algorithm. The MAEs for sitting, walking, and jogging are 0.25, 0.53, and 0.75 bpm, respectively. Meanwhile, the RMSEs for the three activities are 0.28, 0.64, and 0.92 bpm, respectively. The PCCs for the same three situations are still very high, i.e., approximately 1, 0.9993, and 0.9986, respectively. The results are expected, the MAE and RMSE are larger, and the PCC is smaller when the robot was carried with more movements, i.e., sitting, walking, and jogging, in this order. As shown in the table, the largest absolute error of 1.84 bpm occurred when the robot was set to generate 52.50 bpm during jogging activity. We show the corresponding signals from this scenario in Figure 12. It can be clearly seen that the raw signal displays very noisy conditions. This is as anticipated, because the robot vibrated very hard and the one who carried it had to jog at the same time. The noise and artifacts were added from many sources. However, even in this difficult setup, the system still yielded relatively nice filtered signals and peaks. The respiration rate of 50.66 bpm was estimated from this situation which is very close to the ground truth rate of 52.50 bpm.
Figure 12.
Signals in the test on robot stage with ground truth rates of 52.50 bpm, during jogging activity. The largest absolute error in this testing stage of 1.84 bpm was obtained in this setup. Each red dot represents a detected peak.
When considering Table 2, we can see larger MAE and RMSE and smaller PCC in the test on robot than those in the simulation. This is indeed what we expected, since the actual rates were perfectly generated in the simulation. On the other hand, even though the actual rates in the robot were perfectly programmed, the robot itself may not generate the chest movement with the exact programmed rates. This is due to some other factors, particularly in the related hardware parts like friction in moving parts, delayed response in the solenoid valve and air pump, etc.
In the final stage of testing, for the examples of raw signals acquired from different human subjects while sitting, walking, and jogging, shown in Figure 8, it is not surprising to see vast variation among human subjects and activities due to variations in individuals’ respiratory rates, individuals’ movements, and force levels in different activities. The examples of the signals during the jogging activity in Figure 9 have similar characteristics to the signals acquired from the robot in the previous testing stage. The signals from the sitting activity are cleaner than the others, and the peaks are clearly seen. The signals are noisier in the walking activity and very noisy in the jogging activity. The filtered signals show that noise and artifacts are suppressed and the peaks due to chest movement are more visible.
The MAE, RMSE, and PCC shown in Table 4 demonstrate the estimation performance on all 14 human subjects. The MAEs are 0.51, 1.24, and 1.92 bpm for sitting, walking, and jogging, respectively. The RMSEs are 0.65, 1.63, and 2.22 bpm for the three situations, respectively. The PCCs for the three situations are 0.9893, 0.9831, and 0.9655, respectively. Like in the test on robot stage, we can see that both MAE and RMSE increase and PCC decreases when the movement increases. This is because the noise and artifacts from locomotion increase with more movements. The sitting setup yields the lowest MAE and RMSE and the highest PCC compared to the other situations. The MAE and RMSE in the jogging activity are the highest and the PCC in the jogging activity is the lowest due to the high-level locomotion. It can be seen that the largest absolute error of 3.85 bpm occurred in subject 2 while jogging. In this case, human observation estimated 30.53 bpm, while the system yielded 26.68 bpm. The corresponding signals are shown in Figure 13. It can be seen that there are very high levels of noise and artifacts in the raw signal, and the cycles are very hard to see. The filtered signals show peaks though. The estimated rate of 26.68 bpm by the system and the absolute error of 3.85 bpm compared to the reference value obtained from human observation demonstrate the promising estimation even under this extremely noisy and artifact-pruned condition which is the most difficult task in our experiments.
Figure 13.
Signals in the test on human stage with the reference value obtained from human observation of 30.53 bpm, during jogging activity. Each red dot represents a detected peak.
For the sensor locations, the two sensors are placed on the front chest, at the left and right inframammary folds or under both sides of the breasts. From an anatomical perspective, the sensors are placed on both sides of the front chest, approximately from ribs 5 to 8. The sensor locations on the front chest correspond to locations of highly flexible costal cartilages that connect the ribs to the sternum. These costal cartilages are stretched and returned to the original shape, causing the rib cage expansion and contraction, during inhalation and exhalation, respectively. So, these highly flexible areas are suitable to track the chest movement during respiration. From the experiments, both from the human respiration model (robot) and human subjects, we found that the locations of both sensors are not necessarily exact. The locations around the designated area can still yield the signals that are useful in the respiratory rate estimation as long as they can capture the chest movement.
It is interesting to discuss an issue regarding the processing of the signals from both sensors. Since the signals of interest from respiration forces are likely to be periodic, the summation of a signal and its time-shifted similar signal could possibly end up canceling out. We consider two possibilities of this matter. Firstly, if we consider the signal sources, both sensors are placed on the left and right sides of the same rib cage, so they measure similar forces. Hence, both signals are not likely to go out of phase and cause signal cancelation in their summation. Secondly, if we consider the signal propagation, this phenomenon is highly possible for the multi-path fading channel in wireless communication in which each signal traverses the air with different paths and they arrive at a receiver with vastly different delays. In the proposed system, both signals traverse solid electrical conductors from both sensors to the microcontroller module. The time shift between them could occur from different lengths of the conductors but would be extremely small because of the signal speed in the conductor. For example, a delay difference of 0.01 s would result from an approximately 2.998 × 106 m length difference of the conductors. Due to the low-frequency nature of the respiration rate, the time delay or phase shift between both signals is not likely to affect the system in this setting.
Table 5 shows the comparison of the proposed system with existing respiratory monitoring systems. The compared aspects include experimental setting and performance, system cost, implementation complexity, wearing comfort, and motion robustness. We can see that all of the considered systems yield promising respiratory rate estimation performance. The proposed system is among the systems with the lowest MAE or RMSE values. While we evaluated our system on different activities, i.e., sitting, walking, and jogging, most of the other systems were evaluated on subjects under relatively low-motion conditions such as sitting still, lying down, or sleeping. Some experiments were even conducted on subjects under general anesthesia or in ICU environments. Contactless approaches, including bedpost SSG, electromagnetic wave sensing, radar-based, and camera-based systems, generally require the users to remain still while lying, sitting, or standing. In addition, the cost of building a system is relatively high in an electromagnetic-wave-based or radar-based system due to the requirements of high-frequency components and radio-frequency modules. The proposed FSR-based system is among the lowest-cost solutions. PPG-based systems are slightly more expensive, while the 60 cm piezoelectric-film-based and SSG-based systems generally involve higher system costs.
Table 5.
Comparison of the proposed system with existing respiratory monitoring systems in terms of experimental setting and performance, system cost, implementation complexity, wearing comfort, and motion robustness.
The proposed system also provides low implementation complexity, similar to other chest-belt-based systems, because the respiratory activity is directly estimated from chest movement. In contrast, PPG-based systems often require more sophisticated algorithms such as the short-time Fourier transform, advanced signal processing techniques, or deep learning approaches to estimate respiratory rate indirectly from PPG signals. Contactless approaches generally exhibit high implementation complexity because they require complicated hardware setups and sophisticated software algorithms. Among them, camera-based systems may require less complicated hardware setups, although advanced image processing algorithms are still necessary to achieve good performance. For wearing comfort, contactless systems naturally provide the highest comfort to users. The proposed system also offers comfortable wearability by using a compression tank top embedded with FSR sensors to measure respiratory-induced compressive force. In contrast, both chest-belt-based systems require relatively tight chest straps because they mainly measure tensile force generated by chest movement. Finally, motion robustness is one of the major strengths of the proposed system. In addition to sitting activity, the proposed system demonstrated good estimation performances during more challenging activities such as walking and jogging. For the chest-strap-based force sensing system, the sensor package positioned in front of the chest may reduce user convenience during activities involving substantial body movement. The piezoelectric-film-based sensor was mainly designed for sleep apnea detection, rather than respiratory rate estimation under motion conditions. Furthermore, most contactless approaches require the users to remain as still as possible. Therefore, their performance under significant body motion remains limited.
5. Conclusions
The proposed respiratory rate monitoring system was able to detect force from chest expansion and properly estimate the respiratory rate from the force signal under very high levels of noise and artifacts. The system was tested on three stages, i.e., proof by simulation, test on a human respiratory model (robot), and test on human subjects. The system achieved a mean absolute error (MAE), root mean square error (RMSE), and Pearson correlation coefficient (PCC) of 0.26, 0.37 breaths per minute (bpm), and 0.9998, respectively, for the proof by simulation. This software simulation provided the proof that the proposed algorithm could estimate respiratory rates properly from noisy signals generated by adding different levels of white Gaussian noise to periodic sinusoids with different frequencies. For the test on a robot, the system achieved MAEs of 0.25, 0.53, and 0.75 bpm, respectively, under sitting, walking, and jogging conditions. RMSEs of 0.28, 0.64, and 0.92 bpm, respectively, were achieved for the three situations. The PCCs for the three situations are approximately 1, 0.9993, and 0.9986, respectively. For the test on human subjects, the system achieved MAEs of 0.51, 1.24, and 1.92 bpm and RMSEs of 0.65, 1.63, and 2.22 bpm, for human sitting, walking, and jogging, respectively. PCCs of 0.9893, 0.9831, and 0.9655 were achieved for the three activities, respectively. The results on the robot and human subjects indicated that the proposed system performed well in all activities by yielding RMSEs well below 2 to 3 bpm which is generally considered acceptable for both clinical and consumer applications [25].
It is important to note a limitation of this system. The system is not designed for toddlers or children because it requires adequate force on the FSRs during inhalation and exhalation. This force is not that high though, just like the force produced by body fit tank tops or sports bras. However, this force may not be comfortable for toddlers or children. So, utilization in these groups of users is not recommended. Also, for a user whose body is smaller than the tank top and for a user who wears a thick top, the signals acquired from the sensors may not represent the chest movement. When the force signals are not actually from the chest movement, the estimated respiratory rate will not be accurate. Utilization under these scenarios is also not recommended.
In summary, the experimental results demonstrated that activities resulting in more movements would generate more noise and artifacts and would result in higher estimation error. So, in real-world settings, this system would work very well when human subjects lie on a bed or sit with little movement. The system still works well when human subjects walk or jog which will open up the opportunity to use the system under other scenarios, e.g., patient transportation in an ambulance, patient mobilization during rehabilitation, or exercises and daily life activities in healthy users. In addition, in the future we will develop a system that can detect abnormalities using the estimated respiratory rates, particularly when the respiratory rate variation with respect to time is taken into account.
6. Patents
An application was filed to the Department of Intellectual Property, Ministry of Commerce, Thailand, through the Technology Licensing Office, Chiang Mai University, for a patent resulting from the invention reported in this manuscript.
Author Contributions
Conceptualization, S.T.-U., J.P., P.S. and N.T.-U.; methodology, S.T.-U., J.P. and N.T.-U.; software, S.T.-U. and N.T.-U.; validation, S.T.-U. and N.T.-U.; formal analysis, S.T.-U. and N.T.-U.; investigation, S.T.-U. and N.T.-U.; resources, P.S. and N.T.-U.; data curation, S.T.-U., J.P. and N.T.-U.; writing—original draft preparation, S.T.-U., J.P., P.S. and N.T.-U.; writing—review and editing, S.T.-U., J.P., P.S. and N.T.-U.; visualization, S.T.-U., J.P. and N.T.-U.; supervision, P.S. and N.T.-U.; project administration, P.S. and N.T.-U.; funding acquisition, P.S. and N.T.-U. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Science Classrooms in University-Affiliated School Project, Ministry of Higher Education, Science, Research and Innovation, Thailand.
Institutional Review Board Statement
The study was conducted in accordance with the Declaration of Helsinki, International Conference on Harmonization in Good Clinical Practice (ICH-GCP), and the Belmont Report and approved by Chiang Mai University Research Ethics Committee (No. 68/493 (COE No. 016/69) on 27 January 2026).
Informed Consent Statement
Informed consent was obtained from all subjects involved in the study.
Data Availability Statement
The data presented in the test on a human respiratory model (robot) stage are available on request from the corresponding author due to privacy.
Acknowledgments
The authors would like to thank Suruk Udomsom and Chakrit Wiboonsunthrangoon, PE, for their valuable technical support and discussions.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Frazier, M.S.; Morgan, C. Clinical Medical Assisting: Foundations and Practice; Pearson: Essex, UK, 2007. [Google Scholar]
- Nicolò, A.; Massaroni, C.; Schena, E.; Sacchetti, M. The Importance of Respiratory Rate Monitoring: From Healthcare to Sport and Exercise. Sensors 2020, 20, 6396. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Aramendi, E.; Alonso, E.; Russell, J.K.; Daya, M.; González-Otero, D.; Ayala, U. Monitoring Respiratory Rate with Capnography During Cardiopulmonary Resuscitation. Resuscitation 2014, 85, S26–S27. [Google Scholar] [CrossRef] [Scilit]
- Martini, F.H.; Nath, J.L.; Bartholomew, E.F. Fundamentals of Anatomy and Physiology, 12th ed.; Pearson: Essex, UK, 2024. [Google Scholar]
- Respiratory Rate. Centers for Disease Control and Prevention. Available online: https://www.cdc.gov/dengue/training/cme/ccm/page57286.html (accessed on 5 January 2025).
- Understanding Vital Signs: The Importance of Your Respiratory Rate. American Lung Association. Available online: https://www.lung.org/blog/respiratory-rate-vital-signs (accessed on 5 January 2025).
- Hernandez-Aguila, M.; Olvera-Cervantes, J.-L.; Perez-Ramos, A.-E.; Corona-Chavez, A. Methodology for the Determination of Human Respiration Rate by Using Doppler Radar and Empirical Modal Decomposition. Sci. Rep. 2022, 12, 8675. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Saatchi, R.; Holloway, A.; Travis, J.; Elphick, H.; Daw, W.; Kingshott, R.N.; Hughes, B.; Burke, D.; Jones, A.; Evans, R.L. Design, Development, and Evaluation of a Contactless Respiration Rate Measurement Device Utilizing a Self-Heating Thermistor. Technologies 2025, 13, 237. [Google Scholar] [CrossRef] [Scilit]
- Go Direct Respiration Belt. Vernier Science Education. Available online: https://www.vernier.com/product/go-direct-respiration-belt/ (accessed on 20 July 2025).
- Saatchi, R.; Elphick, H.; Rowson, J.; Wesseler, M.; Marris, J.; Shortland, S.; Thomas, L. Development of a New Prototype Paediatric Central Sleep Apnoea Monitor. Technologies 2024, 12, 116. [Google Scholar] [CrossRef] [Scilit]
- Allen, J. Photoplethysmography and Its Application in Clinical Physiological Measurement. Physiol. Meas. 2007, 28, R1–R39. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Natarajan, A.; Su, H.W.; Heneghan, C.; Blunt, L.; O’Connor, C.; Niehaus, L. Measurement of Respiratory Rate Using Wearable Devices and Applications to COVID-19 Detection. npj Digit. Med. 2021, 4, 136. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
- Cernat, R.A.; Ungureanu, C.; Aarts, R.M.; Arends, J.B.A.M. Real-Time Extraction of the Respiratory Rate from Photoplethysmographic Signal Using Wearable Devices. In Proceedings of the European Conference on Ambient Intelligence, Eindhoven, The Netherlands, 11–13 November 2014; pp. 1–17. [Google Scholar]
- Karlen, W.; Raman, S.; Ansermino, J.M.; Dumont, G.A. Multiparameter Respiratory Rate Estimation from the Photoplethysmogram. IEEE Trans. Biomed. Eng. 2013, 60, 1946–1953. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shuzan, M.N.I.; Chowdhury, M.H.; Hossain, M.S.; Chowdhury, M.E.H.; Reaz, M.B.I.; Uddin, M.M.; Khandakar, A.; Mahbub, Z.B.; Ali, S.H.M. A Novel Non-Invasive Estimation of Respiration Rate from Photoplethysmograph Signal Using Machine Learning Model. IEEE Access 2021, 9, 96775–96790. [Google Scholar] [CrossRef] [Scilit]
- Dubey, H.; Constant, N.; Mankodiya, K. RESPIRE: A Spectral Kurtosis-based Method to Extract Respiration Rate from Wearable PPG Signals. In Proceedings of the 2017 IEEE/ACM International Conference on Connected Health: Applications, Systems and Engineering Technologies (CHASE), Philadelphia, PA, USA, 17–19 July 2017; pp. 84–89. [Google Scholar] [CrossRef] [Scilit]
- Bian, D.; Mehta, P.; Selvaraj, N. Respiratory Rate Estimation Using PPG: A Deep Learning Approach. In Proceedings of the 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Montreal, QC, Canada, 20–24 July 2020; pp. 5948–5952. [Google Scholar] [CrossRef] [Scilit]
- Dai, R.; Lu, C.; Avidan, M.; Kannampallil, T. RespWatch: Robust Measurement of Respiratory Rate on Smartwatches with Photoplethysmography. In Proceedings of the International Conference on Internet-of-Things Design and Implementation (IoTDI), Charlottesville, VA, USA, 18–21 May 2021; pp. 208–220. [Google Scholar] [CrossRef] [Scilit]
- Brink, M.; Muller, C.H.; Schierz, C. Contact-Free Measurement of Heart Rate, Respiration Rate, and Body Movements During Sleep. Behav. Res. Methods 2006, 38, 511–521. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sharma, M.; Singh, H. Contactless Methods for Respiration Monitoring and Design of SIW-LWA for Real-Time Respiratory Rate Monitoring. IETE J. Res. 2023, 69, 8362–8372. [Google Scholar] [CrossRef] [Scilit]
- Groppo, S.; Guagnano, M.; Serchi, V.; Beltrao, G.; Pugliese, L.; Violante, M. Contactless System for Sleep Prediction in Drivers. IEEE Access 2026, 14, 31671–31684. [Google Scholar] [CrossRef] [Scilit]
- Gwak, M.; Vatanparvar, K.; Zhu, L.; Kuang, J.; Gao, A. Contactless Monitoring of Respiratory Rate and Breathing Absence from Head Movements Using an RGB Camera. In Proceedings of the 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Sydney, Australia, 24–27 July 2023; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
- Lam, T.S.; Mak, P.S.K.; Siu, W.S.; Lam, M.Y.; Cheung, T.F.; Rainer, T.H. Validation of a Modified Early Warning Score (MEWS) in Emergency Department Observation Ward Patients. Hong Kong J. Emerg. Med. 2006, 13, 24–30. [Google Scholar] [CrossRef] [Scilit]
- Kothari, C.R. Research Methodology: Methods and Techniques, 2nd ed.; New Age International: New Delhi, India, 2004. [Google Scholar]
- Weenk, M.; van Goor, H.; van Acht, M.; Engelen, L.J.; van de Belt, T.H.; Bredie, S.J.H. A Smart All-In-One Device to Measure Vital Signs in Admitted Patients. PLoS ONE 2018, 13, e0190138. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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. |
© 2026 by the authors. Published by MDPI on behalf of the International Institute of Knowledge Innovation and Invention. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.












