SciELO - Scientific Electronic Library Online

 
vol.14 número4Algoritmos de Fusión de Imágenes de Contraste de Fase y su Mapa de Perturbaciones de FaseRepresentación basada en imágenes para el reconocimiento patrones mioeléctricos ante variabilidad inter-sesiones índice de autoresíndice de materiabúsqueda de artículos
Home Pagelista alfabética de revistas  

Servicios Personalizados

Articulo

Indicadores

  • No hay articulos citadosCitado por SciELO

Links relacionados

  • No hay articulos similaresSimilares en SciELO

Compartir


Revista Cubana de Ciencias Informáticas

versión On-line ISSN 2227-1899

Rev cuba cienc informat vol.14 no.4 La Habana oct.-dic. 2020  Epub 01-Dic-2020

 

Original paper

Algorithms to estimate the instantaneous-frequency of a respiratory time-varying sequence

Algoritmos para estimar la frecuencia instantánea de una secuencia respiratoria variable en el tiempo

0000-0002-7797-1441Alberto Taboada-Crispi1  *  , 0000-0001-9384-4509Lizmary Rivera2  , 0000-0001-6001-6563Maikol Barber Pérez3 

1 Centro de Investigaciones de la Informática, Universidad Central “Marta Abreu” de Las Villas. Carretera a Camajuaní, km 5 ½, Santa Clara, VC, Cuba, CP 54830. ataboada@uclv.edu.cu

2 Facultad de Matemática, Física y Computación, Universidad Central “Marta Abreu” de Las Villas. Carretera a Camajuaní, km 5 ½, Santa Clara, VC, Cuba, CP 54830. lizmaryrcruz@gmail.com

3 Facultad de Matemática, Física y Computación, Universidad Central “Marta Abreu” de Las Villas. Carretera a Camajuaní, km 5 ½, Santa Clara, VC, Cuba, CP 54830. barbermaikol5@gmail.com

ABSTRACT

On various occasions, algorithms to estimate instantaneous-frequency from a cyclic (seasonal) sequence to detect slow changes are needed. That is the case of the estimation of the variations of the respiratory rate for diagnostic purposes. There are a few possible procedures to estimate such an instantaneous-frequency, but without a thorough assessment to compute the respiration rate from a volumetric surrogate signal. This paper discusses the implementation of some algorithms for instantaneous-frequency estimation in MATLAB, comparing their performance from known synthetic signals, which resemble real-world respiratory signals, by using the goodness of fit parameters. We used a method based on the first conditional spectral moment of the time-frequency distribution of the input signal x, and other using the derivative of the phase of the analytic signal of x (found using the Hilbert transform). We also used methods based on second-order auto-regressive models. We computed the goodness of fit (maximum absolute and mean-squared errors) between the estimated and the expected ideal instantaneous-frequencies. The root MUSIC algorithm outperforms the others under assessment, showing its superiority for instantaneous-respiratory frequency estimation from a volumetric surrogate signal.

Key words: Respiratory signals; Instantaneous-frequency estimation; Time-frequency distributions; Hilbert transform; Auto-regressive models; root MUSIC

RESUMEN

En varias ocasiones se necesitan algoritmos para estimar la frecuencia instantánea a partir de una secuencia cíclica (estacional) para detectar cambios lentos. Ese es el caso de la estimación de las variaciones de la frecuencia respiratoria con fines de diagnóstico. Hay unos pocos procedimientos posibles para estimar esa frecuencia instantánea, pero sin una evaluación exhaustiva para calcular la frecuencia respiratoria a partir de una señal sustitutiva volumétrica. En este documento se analiza la aplicación de algunos algoritmos para la estimación de la frecuencia instantánea en MATLAB, comparando su rendimiento a partir de señales sintéticas conocidas, que se asemejan a las señales respiratorias del mundo real, mediante el uso de la bondad de los parámetros de ajuste. Utilizamos un método basado en el primer momento espectral condicional de la distribución tiempo-frecuencia de la señal de entrada x, y otro utilizando la derivada de la fase de la señal analítica de x (que se encuentra utilizando la transformada de Hilbert). También utilizamos métodos basados en modelos autorregresivos de segundo orden. Calculamos la bondad del ajuste (errores máximos absolutos y cuadrados medios) entre las frecuencias instantáneas estimadas y las ideales esperadas. El algoritmo de la raíz MUSIC supera a los otros que se están evaluando, mostrando su superioridad para la estimación de la frecuencia respiratoria instantánea a partir de una señal sustitutiva volumétrica.

Palabras-clave: Señales respiratorias; Estimación de la frecuencia instantánea; Distribuciones tiempo-frecuencia; Transformada de Hilbert; Modelos autorregresivos; raíz MUSIC

INTRODUCTION

On various occasions, algorithms to estimate instantaneous-frequency from a cyclic (seasonal) sequence to detect slow changes are needed. Examples of this kind of situations comprise the estimation of the variations of the respiratory rate or the pitch variation during a sustained vowel phonation for diagnostic purposes; or the estimate of the angular velocity of an engine for speed control or fault detection; as well as the assessment of seasonal component variations in time series of financial/economic or environmental/climatic events.

Respiratory movement signals and respiration rate

The time-varying respiration rate (RR) or instantaneous-respiratory frequency is an important variable to characterize the physiological condition of a subject in clinical and fitness applications. Numerous measurement methods can acquire the respiration information from which to estimate the instantaneous-frequency. For instance, spirometry directly measures the flow rate of the breathing air but estimating certain parameters of the breathing airflow (for example, temperature, pressure, humidity, and CO2 concentration) can also provide alternative procedures (Al‐Khalidi et al., 2011). Nasal or oral/nasal thermistors (Verginis et al., 2010) or infrared thermography (Abbas et al., 2011) can measure the temperature of the inhaling (cooler) and exhaling (warmer) air, as well as mouthpieces or facemasks can be used for monitoring the associated pressures (Thurnheer et al., 2001). Electrical impedance pneumography (Freundlich and Erickson, 1974), (Jeyhani et al., 2017), (Wang et al., 2015), inductance pneumography (Hill et al., 1982), and capnography (Von Schéele and Von Schéele, 1999) have been extensively used, along with signals as ECG (Lee and Kim, 2018), (Mirmohamadsadeghi and Vesin, 2014), and PPG (Leonard et al., 2006), (Mirmohamadsadeghi et al., 2016) from which respiration movement can be also derived. More recently, volumetric surrogate signals have been acquired using radars (Nejadgholi et al., 2016), (Ren et al., 2015), or videocams (Reyes et al., 2017), (Vázquez-Segura et al., 2018). The correlation indexes between respiratory movement signals obtained by the different monitoring methods should be high.

Fig.1 Respiratory movement signal (sampled at 25 samples/s) obtained with a temperature sensor (apparently, a thermistor) around the mouth and the nose of a subject (plot on top) and the instantaneous-respiratory frequency (respiration rate) estimated from it (plot on the bottom) (Vázquez-Segura et al., 2018). 

This respiratory movement signal oscillates at around 12 breath cycles per minute (0.2 Hz), continuously varying following several conditions. The upper plot of Figure 1 shows that slow-drifts or trends can affect this signal, here obtained with a temperature sensor, and distort the waveform. However, the instantaneous-frequency successfully shows the evolution of the frequency content of this mono-component respiratory movement signal with time. From that signal, a proper method can estimate the instantaneous-respiratory frequency or respiration rate (lower plot in Figure 1), showing the variations in time.

Although the instantaneous-frequency estimation problem has been studied in general (Boashash, 1992a), (Boashash, 1992b), (O’Shea, 2002), or some other specific contexts even nowadays (Kowalski et al., 2018), it has not been sufficiently addressed regarding respiration rate estimation except for electrical impedance pneumography signals (Jeyhani et al., 2017). This work tries to select ‘the best’ approach for estimating the instantaneous-respiratory frequency from a volumetric surrogate signal.

METHODOLOGY

There are several approaches that have been used to estimate the instantaneous-frequency in different environments (Boashash, 1992a), (O’Shea, 2002), (Kowalski et al., 2018), including respiratory rate (Jeyhani et al., 2017), (Wang et al., 2015), (Lee and Kim, 2018), (Mirmohamadsadeghi and Vesin, 2014), (Leonard et al., 2006), (Mirmohamadsadeghi et al., 2016), (Reyes et al., 2017). We can easily implement and use most of those algorithms in MATLAB. That includes an analytic signal-based algorithm, and one which estimates the instantaneous-frequency as the first conditional spectral moment of the time-frequency distribution of the input signal, within the instfreq.m function of MATLAB. For this work, some other functions were implemented in MATLAB, comprising: one based on peaks detection in the time domain, several ones based on auto-regressive (AR) models, and on the Eigenvectors and the root MUltiple SIgnal Classification (MUSIC) algorithm.

We generated some synthetic signals resembling the real-world respiratory volume surrogated signals, from which to estimate the known respiration rates, to compare the algorithms for instantaneous-respiratory frequency estimation. The measures for assessment were the maximum absolute and mean-squared errors.

The algorithm based on the analytic signal (Hilbert)

Despite certain criticism (Boashash, 1992a), (Huang et al., 2009), the analytic signal via the Hilbert transform is still used to compute the instantaneous-frequency. For any real-valued signal, x(t), an analytical signal, xa(t), is associated as a complex-valued signal defined as

(1)

where HT(x) is the Hilbert transform of x. In the frequency domain, X a , which is the Fourier transform of x a , is a single-sided Fourier transform, that is, with the negative frequency values removed, doubling the strictly positive ones, and the DC component unchanged:

(2)

Therefore, the analytic signal, x a , can be obtained from the real signal, x(t), by forcing to zero its spectrum for the negative frequencies, without altering the information content since, for a real signal, X(-() = X * (().

It is then possible to uniquely define the concept of instantaneous-frequency, f inst (t), by the first derivative of the argument or phase of the analytic signal as:

(3)

This method is inside the MATLAB function instfreq.m, as ‘Hilbert’ ‘Method’, and within a function of similar name in the Time-Frequency Toolbox (Auger et al., 1996).

The algorithm based on the moment of the time-frequency distribution

The ‘tfmoment’ ‘Method’ in the instfreq.m MATLAB function estimates the instantaneous-frequency as the first conditional spectral moment of the time-frequency distribution of the input signal. This method computes the spectrogram power spectrum, P(t,f), of the input using the pspectrum.m function, which uses the spectrum as a time-frequency distribution and estimates the instantaneous-frequency as

(4)

Remember that the spectrogram is defined as the squared modulus of the Short-Time Fourier Transform (STFT) and interpreted as a measure of the energy signal contained in the t-f domain, centered on (t,f). The Short-Time Fourier Transform is:

(5)

where x(t) is the input signal in the time domain, X(f) is its equivalent representation in the frequency domain, and w(t) is the short-time analysis window around t=0 and f=0 (W(f) is its version in the frequency domain). The STFT is a local spectrum of the signal x(() around t.

For a sampled signal, x[n], as in this case of the respiratory movement sequence, we can efficiently implement the STFT by using the FFT algorithm as

(6)

where k is a multiple of the sampling period step to displace w for windowing the data.

Algorithms based on peaks detection in the time domain

An intuitive way of estimating the instantaneous-frequency consists of counting the number of peaks of the respiration movement signal in a known time interval and computing how many may occur in a 1-min window, assuming that the frequency is constant in that period. We measure the time interval between two consecutive peaks (for example, t 1 between the 1st and the 2nd peaks in Figura 2) and compute the frequency as its inverse (multiplied by 60 to express it in breaths per minute, bpm):

(7)

Fig. 2 Intervals between consecutive peaks in the respiratory movement signal. 

The original estimated instantaneous-frequencies coincide with the positions right between the peaks. We need some interpolation to assign values of instantaneous-frequency to other regions. We solved this by using interp1.m MATLAB function with several interpolation methods:

  1. Linear interpolation ('linear') of the values at neighboring grid points in each respective dimension obtains the value at a query point.

  2. Nearest neighbor interpolation (‘nearest') is the value at a query point.

  3. Next neighbor interpolation ('next') is the value at a query point.

  4. Previous neighbor interpolation ('previous') is the value at a query point.

  5. Modified Akima cubic Hermite interpolation (‘makima'), a piecewise function of polynomials with a degree at most three, obtains the value at a query point.

  6. Spline interpolation using not-a-knot end conditions (‘spline’), where a cubic interpolation of the values at neighboring grid points in each respective dimension obtains the value at a query point.

  7. Shape-preserving piecewise cubic interpolation (‘pchip') of the values at neighboring grid points obtains the value at a query point. That is used as default here.

Algorithms based on Auto-Regressive (AR) models

The respiratory movement sequence exhibits serial autocorrelation, that is, a linear association between lagged observations. The autoregressive (AR), or process models the conditional mean ofx(t) as a function of past observations,x(t-1), x(t-2),…, x(t-p). An AR model of degreep, AR(p), depends onppast observations. The AR equation may model spectra with narrow peaks by placing zeroes of the A polynomial (A(w)=1+a 1 e -jw +…+a p e -jpw ) in

(8)

close to the unit circle.

We could consider the respiration movement signal as a mono-component signal and, therefore, we can model it with an AR(2). We solve a system of linear equations to estimate the parameters of the AR signal models, guarantying the stability of the AR polynomial. In this work, we implemented in MATLAB:

  1. Burg’s lattice-based method (‘burg’), which solves the lattice filter equations using the harmonic mean of forward- and backward- squared prediction errors.

  2. The geometric lattice approach (‘gl’), which is similar to Burg’s method, but uses the geometric mean instead of the harmonic mean during minimization.

  3. The least-squares approach (‘ls’) minimizes the standard sum of squared forward-prediction errors.

  4. The Yule-Walker approach (‘yw’) solves the Yule-Walker equations, formed from sample covariances.

  5. The forward-backward approach (‘fb’) minimizes the sum of a least-squares criterion for a forward model and the analogous criterion for a time-reversed model. We used this algorithm by default.

We specified the information about the data outside the measured time interval (past and future values) as:

  1. Post-windowing (‘pow’), where zeros replace missing end values, and the summation extends to time N+n(Nis the number of observations).

  2. Pre-windowing (‘prw’), where zeros replace missing past values and, therefore, the summation in the criteria can start at a time equal to zero.

  3. Pre- and post-windowing (‘ppw’), which the Yule-Walker approach uses.

  4. No windowing (‘now’), where the regression vectors formation uses only measured data. The summation in the criteria starts at the sample index equal ton+1. That is the default value, except for ‘yw’.

For this AR(2) model,

(9)

With this method, we compute the instantaneous-frequency for an interval of T samples every dt samples. The length of the analysis window (T) is not critical here. We suggest a number-of-samples close to the expected period of the respiration cycle, that is, T = 128, which is around 5 s at f s = 25 sps (one period of the common 12-bpm breathing). The updating interval should be around 1 s, assuring an overlapping of about 80 % of two consecutive analysis windows. After this step, we use an interpolation method similar to those in the algorithm based on peaks.

First of all, an optional decimation process, which includes low-pass filtering (FIR window method with a Hamming window of length 30), could reduce the number of samples in the analysis-window to better catch the dynamics of the signal with the AR(2) model.

The approach based on the root MUSIC algorithm

The root MUSIC algorithm, which is an improvement to Pisarenko’s method, can estimate the instantaneous-frequency of a mono-component signal as the respiration movement using an eigenspace. That assumes that the signal comprises p = 2 complex exponentials (one for positive frequency and one for negative frequency) in the presence of Gaussian white noise. We sort the eigenvalues in decreasing order. Therefore, the eigenvectors corresponding to the two largest eigenvalues span the signal subspace while the rest is considered only noise. The frequency estimation function here is:

(10)

where p is the number of complex exponentials (2 here), M is the order of the autocorrelation matrix of the signal (M × M autocorrelation matrix of the respiration movement signal, R rm ), the v i are the eigenvectors of noise, while e is the steering vector,

(11)

By locating the highest peaks of the estimation function 𝑃 , sometimes called the pseudo spectrum, we find the frequency estimates for the p components. In this case, we keep the positive frequency and ignore the negative one.

Pisarenko’s method uses only a single eigenvector. It takes a set of autoregressive coefficients to analytically find its zeros or by polynomial root-finding algorithms. Root MUSIC, however, assumes that zeros may not be present. It locates local minima instead by searching the estimation function for peaks, which can evaluate any frequency, not just those of DFT bins. That estimates instantaneous-frequencies with an accuracy higher than one sample, being a super-resolution method.

For this implementation, similar to that of the AR models, we used an analysis window of T length (around 5 s), an updating period of dt length (approximately 1 s), and an interpolation stage to get an instantaneous-respiratory frequency signal at the same sampling frequency as the respiration movement signal (f s = 25 sps in this experiments). We could use a previous decimation stage as well.

Evaluation of the algorithms

For the evaluation of the implemented algorithms for instantaneous-respiration frequency estimation, we used sets of 1000 runs with synthetic signals from the simplest to the completest realistic model. First, we generated segments of 2 min, 0.2-Hz sinusoids (12 bpm), sampled at 25 sps, and with low-level noise (with high signal-to-noise ratio, around 10:1, though) and with a random original phase.

Then, we reran experiments, all the implemented algorithms competing to estimate the instantaneous-frequency in more realistic scenarios, including:

different signal-to-noise ratios (SNR around 100:1 and 10:1),

baseline wandering (15 times slower than the center frequency of 0.2 Hz),

along with several levels of (amplitude and frequency) modulations at known variation laws:

sinusoids about 0.02 Hz, producing variations of ( six bpm by frequency modulation,

and amplitude changes of around 30 %.

We compared all the estimated instantaneous-frequency signals (obtained by the different algorithms) with the known generating law of the instantaneous-frequency by using the maximum absolute and the mean-squared errors (MAE and MSE, respectively) according to:

(12)

And

(13)

where x(t) is the ideal (known) instantaneous-frequency signal, 𝑥 𝑡 is the estimated instantaneous-frequency signal by the algorithm under assessment, and N is the number of samples in the 2-min segment (around 3 000 samples at 25 Hz).

In the end, we used the best algorithms to find the instantaneous-frequency signals from real-world respiratory movement signals acquired from two subjects (one male and one female). Volunteers were performing three different respiratory maneuvers: with controlled respiration at a fixed rate of 12 breaths per minute (that is, 0.2 Hz, following a metronome), still and moving back and forth, and with spontaneous frequency respiration as well.

RESULTS AND DISCUSSION

In this section, we discuss the results of the instantaneous-frequency estimators under assessment with ideal sinusoidal signals, more realistic signals resembling the respiratory volume surrogated signals, and real-life signals.

Instantaneous frequency estimators in the presence of ideal sinusoidal signals

For the ideally clean sinusoid of constant instantaneous-frequency (f o = 0.2019 Hz, that is, 12.114 bpm), sampled at a much higher sampling frequency (f s = 25 Hz), several approaches reach a perfect estimation of the instantaneous-frequency during the whole 2-min sequence. In this experiment, with 1 000 repetitions of the random initial phase, the forward-backward auto-regressive (AR) approach and the least-square AR, with no windowing, as well as the root MUSIC algorithm, got zero mean-squared and maximum absolute errors.

Most of the algorithms under assessment acceptably estimate the instantaneous-frequency. However, even for this easy signal, some well-established methods had some troubles.

The method based on the first conditional spectral moment of the time-frequency distribution (TF moment) and the one based on the derivative of the phase of the analytic signal using Hilbert transform (Hilbert) show a kind of oscillatory behavior around the perfect estimation value during the 2-min sequence. The instantaneous-frequency estimated by the spectrogram (based on the Short-Time Fourier Transform) depends on the specific segment of the signal analyzed (not time-invariant). Similar behavior, but even more pronounced, exhibits the method that computes the derivative of the phase of the analytic signal. The maximum absolute error of the TF moment method is above 1.9 bpm, with a mean squared error in the order of 0.9 bpm2. The maximum absolute error of the Hilbert method is 0.6 bpm, with a mean squared error of 0.01 bpm2. Recall that for this simple signal, the forward-backward AR approach with no windowing, the least-square AR with no windowing, and the root MUSIC algorithm performed impeccably.

Instantaneous frequency estimators in the presence of more realistic signals

The AR methods are seriously affected by more realistic respiratory sequences that could contain combinations of additive slow-drifts or trends, some amplitude modulation, and frequency modulation, as well as some additive noise. Before the instantaneous-frequency estimation, we attenuate the ‘high-frequency’ additive noise and the ‘low-frequency’ drift by using proper bandpass filtering or using detrending techniques as the empirical mode decomposition (Wang et al., 2015), (Reyes et al., 2017). The frequency band was approximately 0.1 to 0.6 Hz, where the respiration rate appears (that is, between 6 and 36 bpm). However, certain levels of them will remain, affecting the estimation. We can see the amplitude modulation as a multiplicative effect, almost impossible to get rid of it. The frequency modulation carries the useful information of the time-varying instantaneous-frequency.

Different experiments, with 1 000 runs each, were performed at different SNR and different levels of (amplitude and frequency) modulations, in which, consistently, three algorithms under test outperform the rest. These algorithms were Hilbert, TF moment, and root MUSIC ranked in that same order, being the root MUSIC the best of all.

Actually, for these realistic signals, with a combination of effects (baseline wandering, amplitude modulation, frequency modulation, etc.), but with high SNR (around 100:1), the best performing algorithms were again, as in the case of the perfect sinusoids, the forward-backward AR approach with no windowing, the least-square AR with no windowing, the eigenvector-based method and the root MUSIC algorithm. However, for SNR in the order of 10:1 and lower, the AR estimators deteriorate and are no longer among the best-performing ones, and then Hilbert, TF moment, and root MUSIC ranked the best.

Fig.3 Synthetic realistic respiration movement signal (top panel) and the instantaneous frequency signals estimated by the best-performing algorithms, along with the known reference signal. 

Figure 3 illustrates an example (one run) of the respiration movement signal generated with effects resembling the real-world signal (upper plot) and the resulting instantaneous-frequency signals estimated by the best performing methods: Hilbert, TF moment, and root MUSIC. Observe that root MUSIC (yellow) estimated a respiration rate signal looking like the ideal reference (magenta) in the lower plot of Figure 3 .

Figure 4 shows that even when the root MUSIC algorithm implementation has an execution time longer than TF moment and Hilbert, this is not that critical, taking less than 200 ms to execute a run. That is, the estimation of the 2-min instantaneous-respiration frequency takes less than 200 ms, although the TF moment and the Hilbert implementations ran faster. The maximum absolute error, which is the maximum one in the whole length estimated signal, of the root MUSIC algorithm, however, is much lower than the other two (that is, TF moment and Hilbert). That is, less than two bpm as an average, for root MUSIC, versus estimates of 5 bpm and more than 14 bpm, for TF moment and Hilbert, respectively. The mean-squared error (MSE) of the root MUSIC algorithm (less than 0.5 bpm2 as an average) is also much lower than the MSE of the TF moment algorithm (4 bpm2 as an average) and the Hilbert algorithm (~ 10.5 bpm2).

Fig.4 Box-plots comparing the best-performing algorithms according to the execution time, the maximum absolute, and the mean-squared errors after 1000-run simulation. 

The box plots obtained for 1 000 runs (Figure 4) suggest that the differences between the root MUSIC algorithm and the others under assessment here, according to MAE and MSE, are statistically significant. We corroborated that by different statistical tests obtaining all p-values of 0 or very close to 0. Therefore, after this experimentation, we can recommend the root MUSIC algorithm for estimating the instantaneous-respiration frequency from respiratory volume surrogated signals.

Instantaneous-frequency estimators in the presence of real-world signals

We, finally, estimated the respiration rate signals from real-world respiratory movement signals (by using a thermistor close to the mouth and the nose) provided for the CLAIB 2019 Scientific Challenge held in Cancun, Mexico, in October 2019 (Paz Reyes et al., 2019). This dataset comprises six respiratory-movement (reference) signals and six related instantaneous-frequency (inst_freq) signals for two subjects (s11 and s34) and three conditions (resting and moving, with a metronome guiding a 0.2-Hz respiration rate, and spontaneous breathing at rest). Then, we computed the mean-squared error of the estimated instantaneous-frequency signals from the reference signals, assuming the inst_freq signals as references. Table 1 shows the results.

Table 1 Mean-Squared Error of the implemented estimators of instantaneous respiratory frequency, using the data provided for the CLAIB 2019 Scientific Challenge, Cancun, Mexico, Oct. 3-5, 2019. 

We can see from Table 1 that there are several here implemented estimators of the instantaneous-frequency signals reaching comparable results to the inst_freq provided with the dataset. Among the estimators, the auto-regressive based approaches (Burg, Geometric Lattice, Least-Squares, and Forward-backward), the eigenvectors, and the root MUSIC got the best performances, assuming the inst_freq signals provided as gold standards. Root MUSIC is always ranked among the best-performing algorithms, reinforcing the idea of the previous results with the simulated signals.

CONCLUSIONS

Different algorithms for instantaneous-frequency estimation, or even the same algorithms with other input parameters, may obtain very different results.

Most algorithms have limited frequency resolution and are shift-variant. However, the AR-like methods, based on the roots of the time-varying polynomials (for example, AR, eigenvectors, root MUSIC), are better in this regard. However, the AR estimators fail in the presence of a certain level of noise (SNR<10) because it is almost impossible to obtain acceptably instantaneous-covariance estimations.

AR, eigenvectors, and root MUSIC algorithms are not as seriously affected by the values of the length of the analysis window (T) and the updating period (dt) as some other algorithms as the TF moment.

Some algorithms, as TF moment and Hilbert, exhibit oscillatory behavior, generating peaks and oscillations not due to the nature of the signals from which we estimated the instantaneous-frequency but because of the estimation process itself.

The root MUSIC algorithm outperforms the others under assessment, showing its superiority for instantaneous-respiratory frequency estimation from a volumetric surrogate signal. Therefore, root MUSIC is the algorithm of choice to estimate the time-varying respiration rate.

In future researches, we should implement and assess some other more recent high-resolution techniques, as the Iterative Sparse Asymptotic Minimum Variance Based Approach, and extend their use beyond the mono-component signals. We need this study for several applications, for example, for estimating the time-varying instantaneous-frequency of the alpha peak in the electroencephalography power spectrum.

REFERENCES

Abbas, a. K., Heimann, k., Jergus, k., Orlikowsky, t., Leonhardt, S. Neonatal non-contact respiratory monitoring based on real-time infrared thermography. Biomedical engineering online, 2011, 10(1): 93. [ Links ]

AL‐Khalidi, F. Q., Saatchi, R., Burke, D., Elphick, H., Tan, S. Respiration rate monitoring methods: A review. Pediatric pulmonology, 2011, 46(6): 523-529. [ Links ]

Auger, F., Flandrin, P., Gonçalvès, P., Lemoine, O. Time-frequency toolbox. CNRS France-Rice University, 1996, 46. [ Links ]

Boashash, B. Estimating and interpreting the instantaneous frequency of a signal - Part 1: Fundamentals. Proc. Ieee, 1992, 80(4): 520-538. [ Links ]

Boashash, B. Estimating and interpreting the instantaneous frequency of a signal - Part 2: Algorithms and applications. Proc. IEEE, 1992, 80(4): 540-568. [ Links ]

Freundlich, J. J., Erickson, J. C. Electrical impedance pneumography for simple nonrestrictive continuous monitoring of respiratory rate, rhythm and tidal volume for surgical patients. Chest, 1974, 65(2): 181-184. [ Links ]

Hill, S. L., Blackburn, J. P., Williams, T. R. Measurement of respiratory flow by inductance pneumography. Medical and Biological Engineering and Computing, 1982, 20(4): 517-518. [ Links ]

Huang, N. E., Wu, Z., Long, S. R., Arnold, K. C., Chen, X., Blank, K. On instantaneous frequency. Advances in adaptive data analysis, 2009, 1(02): 177-229. [ Links ]

Jeyhani, V., Vuorinen, T., Mäntysalo, M., Vehkaoja, A. Comparison of simple algorithms for estimating respiration rate from electrical impedance pneumography signals in wearable devices. Health and Technology, 2017, 7(1): 21-31. [ Links ]

Kowalski, m., meynard, a., wu, h. T. Convex optimization approach to signals with fast varying instantaneous frequency. Applied and computational harmonic analysis, 2018, 44(1): 89-122. [ Links ]

Lee, S., Kim, S. Y. Respiratory Rate Estimation Based on Spectrum Decomposition. Preprints, 2018, 2018030243 (doi: 10.20944/preprints201803.0243.v1). [ Links ]

Leonard, P. A., Douglas, J. G., Grubb, N. R., Clifton, D., Addison, P. S., Watson, J. N. A fully automated algorithm for the determination of respiratory rate from the photoplethysmogram. Journal of clinical monitoring and computing, 2006, 20(1): 33-36. [ Links ]

Mirmohamadsadeghi, L., Vesin, J. M. Respiratory rate estimation from the ECG using an instantaneous frequency tracking algorithm. Biomedical Signal Processing and Control, 2014, 14: 66-72. [ Links ]

Mirmohamadsadeghi, L., Fallet, S., Moser, V., Braun, F., Vesin, J. M. Real-time respiratory rate estimation using imaging photoplethysmography inter-beat intervals. In 2016 Computing in Cardiology Conference (CinC): IEEE, 2016, pp. 861-864. [ Links ]

Nejadgholi, I., Rajan, S., Bolic, M. Time-frequency based contactless estimation of vital signs of human while walking using PMCW radar. In 2016 IEEE 18th International Conference on e-Health Networking, Applications and Services (Healthcom), IEEE, 2016, pp. 1-6. [ Links ]

O’shea, P. A new technique for instantaneous frequency rate estimation. IEEE Signal Processing Letters, 2002, 9(8): 251-252. [ Links ]

Paz Reyes, M. E., Dorta_Palmero, J., Leon Diaz, J., Aragon, E., Taboada-Crispi, A. Computer Vision-Based Estimation of Respiration Signals. IFMBE Proceedings, 2019, 75(1): 252-261. [ Links ]

Ren, L., Wang, H., Naishadham, K., LIU, Q., Fathy, A. E. Non-invasive detection of cardiac and respiratory rates from stepped frequency continuous wave radar measurements using the state space method. In 2015 Ieee MTT-S International Microwave Symposium, 2015, pp. 1-4. IEEE. [ Links ]

Reyes, B. A., Reljin, N., Kong, Y., Nam, Y., Chon, K. H. Tidal volume and instantaneous respiration rate estimation using a volumetric surrogate signal acquired via a smartphone camera. IEEE journal of biomedical and health informatics, 2017, 21(3): 764-777. [ Links ]

Thurnheer, R., Xie, X., bloch, k. E. Accuracy of nasal cannula pressure recordings for assessment of ventilation during sleep. American journal of respiratory and critical care medicine, 2001, 164(10): 1914-1919. [ Links ]

Vázquez-Segura, J. A., Mejía-Rodríguez, A. R., Reyes, B. A. Estimación Óptica Remota de la Actividad y Frecuencia Respiratoria durante Diversas Maniobras Respiratorias. In Memorias del Congreso Nacional de Ingeniería Biomédica, Mexico, 2018, 5(1): 114-117. [ Links ]

Verginis, N., Davey, M. J., Horne, R. S. Scoring respiratory events in paediatric patients: Evaluation of nasal pressure and thermistor recordings separately and in combination. Sleep medicine, 2010, 11(4): 400-405. [ Links ]

Von Schéele, B. H. C., Von Schéele, I. A. M. The measurement of respiratory and metabolic parameters of patients and controls before and after incremental exercise on bicycle: supporting the effort syndrome hypothesis?. Applied Psychophysiology and Biofeedback, 1999, 24(3): 167-177. [ Links ]

Wang, F. T., Chan, H. L., Wang, C. L., JIAN, H. M., LIN, S. H. Instantaneous respiratory estimation from thoracic impedance by empirical mode decomposition. Sensors, 2015, 15(7): 16372-16387. [ Links ]

Received: September 01, 2020; Accepted: November 20, 2020

*Corresponding author. (ataboada@uclv.edu.cu)

The authors authorize the distribution and use of their paper.

Alberto Taboada-Crispi: Concept, Formal analysis, Acquisition of funds, Investigation, Methodology, Administration of the project, Resources, Software, Supervision, Visualization, Writing - original draft, Writing - revision and edition

Lizmary Rivera-Cruz: Curation of data, Formal analysis, Investigation, Software, Validation, Visualization, Writing - original draft, Writing - revision and edition

Maikol Barber-Perez: Curation of data, Formal analysis, Investigation, Software, Validation, Visualization, Writing - original draft, Writing - revision and edition

Creative Commons License