Background {#Sec1}
==========

Breathing frequency (BF) is a vital biomarker utilized for diagnostics, and sport physiology applications. However, measuring BF using respiratory sensors over long-term monitoring sessions can be uncomfortable. Indirect monitoring of respiratory frequency can be conducted in different modalities, including video-based \[[@CR1]\], electrical impedance pneumography-based \[[@CR2]\] or wearable accelerometer-based respiration reconstruction \[[@CR3]\]. Single or multiple channel electrocardiography (ECG) is one of the well-established modalities explored for BF and respiratory pattern reconstruction, known as ECG-derived respiration (EDR).

EDR was introduced during the 80s in \[[@CR4], [@CR5]\]. The idea was based on the fact that respiratory sinus arrhythmia (RSA)---which is obtainable from heart rate variability (HRV)---correlates with the respiratory pattern. Additionally, the beat-to-beat morphological variation of ECG signal, e.g. modulation of R-peak amplitudes or areas under R-wave, is largely a result of inhale and exhale. Thus, it is feasible to derive respiratory information such as the BF indirectly by analyzing a single-channel ECG signal.

The development of wearable devices has made it practical and inexpensive to monitor the biosignals of subjects who can benefit from continuous monitoring, including patients suffering from sleep apnea \[[@CR6]--[@CR8]\], and professional athletes managing their exercise regimes according to the biosignal feedback \[[@CR9]\]. Consequently, there is an increasing demand on the biosignal processing algorithm development to enhance the capabilities of wearables and/or to introduce new features.

In order to rely on BF reconstruction from single-channel wearable ECG signal, the algorithm employed and its performance should be validated across a variety of daily activities. We found a few studies about BF estimation during physical activities using single-channel ECG signals. However, most of the research in this discipline has contributed to the resting state EDR \[[@CR10]--[@CR12]\]. What is more, severe challenges are introduced to ECG processing in physical activity contexts, including variable mean heart rate (HR), high level of movement artifacts and introduction of cardio--locomotion coupling (CLC) components \[[@CR13], [@CR14]\].

In this paper, we hypothesize that the combined information taken from different existing sources of respiratory signal in ECG indices yields a more accurate and reliable BF estimation. To this end, we tested two frequency-domain data fusion techniques on two respiratorily modulated indices. Namely, we apply cross-power spectral density (CPSD) estimation and power spectrum multiplication (PSM) on R--R interval variability (RRI) and morphological scale variation of QRS complexes (MSV). We tested our hypothesis on a data set collected from 67 subjects in real-life activities such as office, households and sports.

Methods {#Sec2}
=======

Preprocessing {#Sec3}
-------------

The first step is to preprocess the raw ECG and extract the RRI and MSV indices. Initially, we detect the R-peak locations using the conventional Pan-Tompkins method \[[@CR15]\]. Then, RRI is simply obtained by computing the intra-beat intervals and MSV is constructed by the procedure introduced in \[[@CR16]\], following the R-peak delineation. MSV at each candidate R-time instant is the morphological shape difference of the candidate QRS complex with the mean shape of QRS-complexes. According to the literature, these signals potentially contain respiratory components within their spectrum \[[@CR4], [@CR16]\]. Figure [1](#Fig1){ref-type="fig"} exemplifies the constructed signals as well as the original ECG for a short time window.Fig. 1Derived signals from ECG, potentially containing respiratory frequency information. The first row is a 30-s ECG signal and in the next rows corresponding RRI and MSV signals are depicted, respectively

This preprocessing step is followed by signal conditioning wherein anomalies from RRI are detected and replaced with linear interpolation to keep the number of beats unaltered. This ectopic beat detection and editing is explained in more details in the following subsection.

Ectopic beat detection and editing {#Sec4}
----------------------------------

In practice, the RRI signal derivation must be followed by ectopic and anomaly beat detection and editing \[[@CR17], [@CR18]\]. Especially when the data is recorded during physical activities via wearables, the signal quality of ECG is generally lower, which can cause problems in the R-peak detection. During such activities, motion artifacts and ectopic beats are also more abundant. Hence, ectopic beat detection and editing is an important preprocessing step in HRV analysis.

Let's assume that RRI signal consists of *n* samples, and every sample can be expressed as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$RR_i.$$\end{document}$ The following steps illustrate the proposed procedure of anomaly detection and editing:Detect the evident outliers and edit them using linear interpolation. Although the HR ranges from 60 beats/min (bpm) to 200(bpm) in our dataset, we define a wider range for healthy intervals between 250 and 1500 ms. This is to ensure that healthy controlled beats are not discarded and to make the outlier detector more general for any dataset.Construct an n-by-three dimensional feature matrix describing local HRV around each beat. More precisely, the following three descriptors are calculated for each beat:$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$RR_i,$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid RR_i-RR_{i-1}\mid +\mid RR_i-RR_{i-2}\mid$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid RR_i-RR_{i+1}\mid +\mid RR_i-RR_{i+2}\mid$$\end{document}$At the borders, use symmetric padding by mirroring the samples.($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{RR_1, RR_2, RR_3,\ldots , RR_{n-2}, RR_{n-1}, RR_n\} \Longrightarrow$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{RR_3, RR_2, RR_1, RR_2, RR_3,\ldots , RR_{n-2}, RR_{n-1}, RR_n, RR_{n-1}, RR_{n-2}\}$$\end{document}$).Duration unit of millisecond is used.Normalize the feature matrix column-wise for zero-mean and unit-standard deviation.A multivariate Gaussian distribution is fitted on the feature matrix using $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mu \in \mathrm{I\!R}^3$$\end{document}$ and the covariance matrix of features $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma \in \mathrm{I\!R}^{3\times 3}$$\end{document}$. Given the feature set $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{ x^{(1)}, x^{(2)},\ldots , x^{(n)} \}$$\end{document}$, where every $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x^{(i)} \in \mathrm{I\!R}^3$$\end{document}$, $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} p(x;\mu ,\sigma ) = \frac{1}{(2\pi )^{\frac{n}{2}}\mid \sigma \mid ^{\frac{n}{2}}}e^{-\frac{1}{2}(x-\mu )^T\sigma ^{-1}(x-\mu )}. \end{aligned}$$\end{document}$$ The model can be fitted by computing $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mu = \frac{1}{n}\sum ^n_{i=1}x^{(i)} \end{aligned}$$\end{document}$$ and $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \sigma =\frac{1}{n}\sum ^n_{i=1}(x^{(i)}-\mu )(x^{(i)}-\mu )^T \end{aligned}$$\end{document}$$Detect as anomalous beats those with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p(x^{(i)})\le \epsilon$$\end{document}$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon$$\end{document}$ is a threshold value. The value of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon$$\end{document}$ tunes the strictness of the anomaly detection and is adjusted according to the HR level. In this work $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon$$\end{document}$ is set in the range of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[10^{-11},10^{-5}]$$\end{document}$, where lower range was used for high exercise intensity data, and upper range for non-physical context.Edit the detected anomalies using linear interpolation by nearby controlled beats to keep the same number of beats. Linear interpolation is selected because it is a widely used method.Steps (b) to (f) are iterated as long as there is a newly detected anomaly, otherwise the procedure is terminated.After a few iterations---the number of which depending on the quality of the signal, number of ectopic beats and the value of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon$$\end{document}$---the RRI signal is prepared for further steps. All the ectopic beats are replaced with the interpolated values in the MSV signal as well. Interpolation is made using a linear model over the MSV controlled beats.

Spectral analysis {#Sec5}
-----------------

Naturally, the heart is beating irregularly. Hence, the constructed signals (RRI and MSV) are not evenly sampled. Therefore, we resample the signals to make them equidistant which also prepares them for spectral analysis, as suggested in \[[@CR19]\]. We interpolate the signals by 8 Hz sampling frequency and compute their baseline using a 5-s window moving average smoothing function. We apply the standardization procedure in \[[@CR20]\] for correction of mean HR, induced by physical activities as follows: The baseline is subtracted from the signal and divided up by the baseline, i.e. (signal-baseline)/baseline.

The HRV spectral components during physical activities differs from those of resting condition \[[@CR14]\]. During steady state resting condition, high frequency (HF) components of HRV spans the range of \[0.15 Hz 0.4 Hz\] \[[@CR21]\], but during exercise this range is redefined to be \[0.15 Hz $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{HR_m}{2}],$$\end{document}$ in which $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{HR_m}{2}$$\end{document}$ is the half of local mean HR[1](#Fn1){ref-type="fn"} in Hertz.

Considering the heart as a natural signal sampler with the sampling frequency of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$HR_m,$$\end{document}$ $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{HR_m}{2}$$\end{document}$ is the intrinsic Nyquist frequency of HRV signal, meaning that interpretable physiological components should fall within the range of HF. Aliasing phenomenon of the components over this intrinsic Nyquist frequency of HRV signal might lead to misinterpretation of autonomic nervous system (ANS) activity. For instance, let's assume an abnormal BF just a bit over the intrinsic Nyquist frequency, e.g. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{HR_m}{2}+\Delta F$$\end{document}$. Due to the sampling theorem, it will fold back into the HF range of interest at the frequency of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{HR_m}{2}-\Delta F$$\end{document}$. In the spectral analysis this could lead into misguided detection of BF at this lower frequency, instead of the higher actual one. Speaking of which, a prevalent factor that might influence the spectral interpretation of HRV signal is CLC components that arise from cadence during walking or running; or pedaling frequency during cycling \[[@CR13], [@CR14]\]. Because of the mentioned aliasing phenomenon, these components will fold back to the HF range when they exceed the Nyquist frequency. The folded components might possess significant energy level compared to the energy at BF at some time instants. Our proposed fusion models aim to highlight the joint BF components in both signals and attenuate the influence of existing disturbances exclusively in either of those signals.

For spectral analysis, smoothed pseudo Wigner--Ville distribution (SPWVD) is preferred as the time--frequency representation model in this study. It is a nonparametric quadratic model and offers high time and frequency resolution \[[@CR22]\]. According to \[[@CR22]\], we define the SPWVD of *x*(*n*) as Eq. ([4](#Equ4){ref-type=""})$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} X(n,m)=2\sum ^ {N-1} _ {k=-N+1} \mid f(k)^2 \mid \sum ^ {M-1} _ {p=-M+1} t(p)r_x(n+p,k)e^{-\frac{2\pi jkm}{N}} \end{aligned}$$\end{document}$$where *x*(*n*) is a discrete signal, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_x(n,k)$$\end{document}$ is instantaneous autocorrelation function, *n* and *m* are the time and frequency indices. *f*(*k*) and *t*(*p*) are the frequency and time smoothing normed window, sized $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$2N-1$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$2M-1$$\end{document}$, respectively. The first four top sub-figures of Fig. [2](#Fig2){ref-type="fig"} shows the two time series (RRI and MSV) as well as their normalized SPWVD time--frequency representations.

Spectral fusion {#Sec6}
---------------

The existence of energy around the BF range in HRV and morphologically-derived signals is justified in the literature as noted in the Introduction. Moreover, some of the possible challenges related to these signals were also described in the previous subsection.

To enhance the estimation of BF particularly during a non-stationary recording situation (e.g. physical activities), we propose to combine the spectral information of BF components of RSA and morphological variation (situated in RRI and MSV signals, respectively). We address the spectral fusion in two different ways: by PSM and CPSD estimation of MSV and RRI signals. The key point is that potentially there are mutual joint energies in the spectrum of these two signals, supposedly greater than the background energy and corresponding to the BF at each time instant. Thus, attempting to find the significant joint energy content present in both signals at each time instant makes sense, since the influence of unwanted distortions (e.g. CLC components) between those two sources might vary.

Element-wise PSM basically enhances the shared joint energy bands and diminishes the unshared ones \[[@CR23]\]. This technique is advantageous in strengthening shared energy bands, potentially also the BF component. Assume the time--frequency representation of RRI and MSV respectively as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xx}(t_i,f_j)$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{yy}(t_i,f_j)$$\end{document}$, where *i* and *j* represent the time and frequency indices. The spectral multiplication at each time and frequency index can be computed by element-wise multiplication of the amplitude spectrum ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xx}(t_i,f_j) \times S_{yy}(t_i,f_j)$$\end{document}$) and is expressed as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xx} \cdot S_{yy}\mid$$\end{document}$.

The other fusion method CPSD, quantifies the local synchrony among non-stationary signals and provides information about the shared power among two time series in a given frequency. There are high magnitude values surrounding the correlated components of two time series and low magnitude values nearby uncorrelated components. Let's assume *x*(*t*) and *y*(*t*) as two zero-mean stationary time series, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xy}(t,f)$$\end{document}$ as the CPSD can be defined as ([5](#Equ5){ref-type=""}), where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {F}\{.\}$$\end{document}$ and *E*\[.\] indicate Fourier transform and expectation operator \[[@CR24], [@CR25]\].$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} S_{xy}(t,f)=\mathcal {F}_{\tau \rightarrow f}\{E[x(t)y^\star (t-\tau )]\} \end{aligned}$$\end{document}$$Having said that, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xy}(t,f)$$\end{document}$ for non-stationary processes can have different definitions and therefore variety of methods exist for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xy}(t,f)$$\end{document}$ estimation of non-stationary signals in the literature. In this study we used SPWVD estimator for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xy}(t,f)$$\end{document}$, proposed in \[[@CR25]\], since it has been used on biosignals.Fig. 2Preprocessed signals plus the representation of them and their fusions. This figure shows an epoch of the time series, RRI and MSV after preprocessing in the first and second top sub-figures. Assuming RRI and MSV signals as *x* and *y*, time--frequency representations of *x* and *y* are depicted in the third and fourth sub-figures ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}_{Z-score}\{S_{xx}\}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}_{Z-score}\{S_{yy}\}$$\end{document}$, respectively). Normalized squared magnitude of CPSD ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}_{Z-score}\{\mid S_{xy}\mid ^2\}$$\end{document}$) is represented in the second last sub-figure. The last spectrogram is the normalized spectral multiplication of MSV and RRI ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}_{Z-score}\{\mid S_{xx} \cdot S_{yy}\mid \}$$\end{document}$ ). $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}_{Z-score}\{.\}$$\end{document}$ states as *Z*-score column-wise normalization. The dashed lines over the time--frequency representations are the reference BF

We quantify the coupling between RRI and MSV signals using squared magnitude of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xy}(t,f)$$\end{document}$, assuming that BF is a joint frequency component among those signals. The second last sub-figure of Fig. [2](#Fig2){ref-type="fig"} exemplifies the normalized (column-wise *Z*-score normalization) squared CSPD magnitude for sample sets of RRI and MSV depicted in the first and second sub-figures. Similarly, the normalized spectral multiplication is depicted in the last sub-figure. The coupling of the time series in the spectrums (high energy narrow band) is closely aligned with the reference BF (depicted as dashed lines) in the last two sub-figures. We derive the frequency which owns the maximum power at each time instant as the BF estimation.

Results {#Sec7}
=======

Data {#Sec8}
----

Since our goal is to evaluate the proposed method in real-life context, data was collected from measurements in different activity protocols. In total, there are 67 subjects (30 female and 37 male) aged from 18 to 60 years who participated in eight different protocol phases, including office, household and sport activities. General physical characteristics of the participants are summarized in Table [1](#Tab1){ref-type="table"}.

In the protocol, 4 min of office work (working with computer) and 4 min of emotional stress (video-induced emotion) comprise the office setting. The household activities consist of floor sweeping, tidying up and table cleaning, each of which lasts for 4 min. The sport setting includes walking, cycling and running that each similarly last for 4 min each. The intensity level of each task is noted in Table [2](#Tab2){ref-type="table"} as a percentage of maximal HR ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$HR_{max}$$\end{document}$). A commercially available spirometer, MetaMax 3B (Cortex Biophysik GmbH, Leipzig, Germany) and a Polar H10-based (Polar Electro, Kempele, Finland) prototype which was modified to produce one-lead ECG were used to record the reference respiration and ECG, respectively. The ECG signal voltage resolution was approximately 2.44 μV and it was up-sampled to 1 kHz, and spirometer data was re-sampled to the rate of 1 sample/s.Table 1General characteristics of participantsCharacteristicMeanMinMaxHeight (cm)175160195Weight (kg)75.445.6122.8Age (years)37.91860BMI (kg/m^2^)24.5114.7235.5 Table 2Table of exercise intensityActivity protocolMeanMinMaxOffice work452866Emotional stress432673Floor sweeping523573Tidying up543875Table cleaning503477Walking523674Cycling664883Running754891Mean intensity of activity protocols as a percentage of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$HR_{max}$$\end{document}$

Evaluation metrics {#Sec9}
------------------

The constructed series of estimated BF ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\hat{R}=\{\hat{r_1}, \hat{r_2},\hat{r_3},\ldots \}$$\end{document}$) possesses the same frequency (number of samples) as the reference BF ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$R=\{r_1, r_2, r_3,\ldots \}$$\end{document}$) recorded by the spirometer. Thus, we can construct pairs of samples and compute the error between those. Two metrics are computed for the performance evaluation. Percentage error ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$) computed in [6](#Equ6){ref-type=""}, basically penalizes more for equal error in lower reference BF range.$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \%E=\frac{100}{N} \sum _{i=1}^{N} {\left| {\frac{{\widehat{{r_{i} }} - r_{i} }}{{r_{i} }}} \right|} \end{aligned}$$\end{document}$$Additionally, using Bland--Altman plot, the mean deviation is defined as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\overline{R-\hat{R}}$$\end{document}$, where the bar denotes the averaging operator. The percentage of pairs of samples differing more than the range of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\overline{R-\hat{R}} \pm 2\sigma (R)$$\end{document}$, expressed as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$ are reported, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma (x)$$\end{document}$ is the standard deviation of *x*. In Fig. [3](#Fig3){ref-type="fig"} Bland--Altman plot is depicted for a sample set of BF estimation. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$ is the percentage of samples beyond the solid line boundaries.Fig. 3Bland--Altman plot of a sample estimation. The BF estimation performance of a sample time series illustrated as Bland--Altman plot. The thick dashed line indicates the mean deviation value ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\overline{R-\hat{R}}$$\end{document}$) and the solid lines represent $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\overline{R-\hat{R}} \pm 2\sigma (R)$$\end{document}$. In this sample, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }=14.81$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E = 5.97$$\end{document}$ Table 3Table of resultsActivity protocol$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xy}\mid ^2$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xx} \cdot S_{yy}\mid$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xx}$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{yy}$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$Office work13.097.82*8.655.61*16.4811.5614.0812.21Emotional stress13.6210.98*9.038.68*16.4711.6716.7014.42Floor sweeping13.4311.08*10.749.03*22.1715.7718.7511.57Tidying up17.9613.74*14.0511.50*25.3717.9421.2514.18Table cleaning16.9113.01*9.939.05*22.2115.8218.5112.33Walking11.3111.31*8.518.74*17.3515.9923.0016.95Cycling8.109.44*5.406.96*21.3516.9710.1011.71Running15.5919.17*12.5816.05*28.2024.0625.1625.30Average13.7512.06*9.869.45*21.2016.2218.4414.83The performance of RRI spectral-based ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{xx}$$\end{document}$) and MSV spectral-based ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S_{yy}$$\end{document}$) BF estimation as well as fusion methods, including CPSD-based ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xy}(t,f)\mid ^2$$\end{document}$) and spectral multiplication ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xx} \cdot S_{yy}\mid$$\end{document}$ ) BF estimation over the protocols. For each method, average $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%D^{2\sigma }$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\%E$$\end{document}$ is reported and the lowest error in each protocol is written in italics

Quantitative results {#Sec10}
--------------------

In this subsection, we evaluate the performance of estimated BF by the proposed method. The fusion methods, including squared magnitude of CPSD and the PSM-based BF estimation were compared with the BF estimation from either of RRI or MSV spectrograms \[[@CR10], [@CR11]\], using the metrics introduced in the previous subsection. All the software implementation and processing are done in MATLAB R2017a.

Table [3](#Tab3){ref-type="table"} summarizes the average figures computed for different BF estimation methods. The numbers show that both of the fusion methods outperform the BF estimation from either of the RRI or MSV spectrums exclusively. Among the two fusion methods, the PSM-based BF estimation ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mid S_{xx} \cdot S_{yy}\mid$$\end{document}$) outperforms the other one. Among all the protocol phases, cycling acquires the lowest BF estimation error in the chosen metrics. In contrast, the running and tidying up phases are the most erroneous BF estimation.

Discussion and conclusion {#Sec11}
=========================

Computationally efficient methods to boost the performance of BF estimation via ECG surrogate signal processing could enlarge the scope of BF monitoring applications, increase user-acceptance, and provide the users more accurate data. Single-channel ECG-derived BF estimation was investigated in this paper. Unlike many studies in the literature of this discipline, the purpose of our practical approach was to examine the performance of methods in a real-life like context. Thus, our database was comprised accordingly of different real-life settings, including office, households and sport activities.

The existence of breathing component in ECG and feasibility of deriving BF from the RSA and morphological variation of the signal is well-recognized in the literature. Nevertheless, the examination of BF estimation during daily activities measured by a single-channel wearable ECG recorder has not been largely studied. This is most likely due to the challenges involved in such a context such as noteworthy movement artifacts, variable and non-stationary HR, and CLC component's introduction to ECG.

We proposed to fuse two sources of existing respiratory components in ECG, since those sources might be differently influenced by noise, movements, physiological factors such as age and health, as well as aliasing artifacts. Spectral-domain fusion methods, including CPSD and PSM were applied on RRI and MSV signals, constructed and derived from ECG. Table [3](#Tab3){ref-type="table"} shows that the performance of fusion methods in all the activity protocols in a daily-life situation is superior to the BF estimation derived from a single source, whether RRI- or MSV-derived BF.

Among the fusion methods, the PSM offers more accurate estimation, compared to the CPSD-based estimation. Both fusion methods are computationally efficient, while relatively PSM technique is slightly more demanding than the CPSD as two separate spectrograms are computed, and then BF is estimated from the multiplied spectrum. In CPSD, the computational cost is reduced by avoiding another transform computation and then the subsequent multiplication of the spectrograms. Quantitatively in a non-optimized implementation, for two time series with 130 s of data, the elapsed time for computation of PSM fusion is 0.61 s versus 0.19 s for CPSD fusion. These numbers were acquired with an Intel(R) Core(TM)i5-3570 processor @ 3.40 GHz and 8 GB of RAM on a 64-bit operating Windows 7.

It should also be noted that whereas the PSM only requires sufficient energies to exist at the same time for a high reading, the CPSD requires also phase difference stability between the two signals \[[@CR26]\]. Based on our results provided in Table [3](#Tab3){ref-type="table"}, the superiority of spectral multiplication could hence be explained by phase dispersion between the two derived time series.

In this study, local mean HR is derived from the computed baseline of RRI using a 5-s window moving average smoothing function.

IA implemented the algorithms and analyzed the data with close supervision of KN and TS in designing the research procedure and physiological advice of AH. RH was responsible for the experiments and data collection. IA,KN and TS were interpreting the performance of the methods. IA and KN were the major contributers in writing the manuscript. All authors read and approved the final manuscript.

Acknowledgements {#d29e3797}
================

Not applicable.

Competing interests {#d29e3802}
===================

The authors declare that they have no competing interests.

Availability of data and materials {#d29e3807}
==================================

The datasets analyzed during the current study are not publicly available and it was used under license of the owner for the current study. Data are however available from the authors upon reasonable request and with permission of the owner.

Funding {#d29e3812}
=======

There is no funding source for this study.

Statement of human rights {#d29e3817}
=========================

All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards. Informed consent was obtained from all individual participants included in the study.

Publisher's Note {#d29e3822}
================

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
