Abstract
Non-invasive assessment of ventilatory control stability or loop gain (which is a key contributor in a number of sleep-related breathing disorders) has proven to be cumbersome. We present a novel multivariate autoregressive model that we hypothesize will enable us to make time-varying measurements of loop gain using nothing more than spontaneous fluctuations in ventilation and CO2. The model is adaptive to changes in the feedback control loop and therefore can account for system non-stationarities (e.g. changes in sleep state) and it is resistant to artifacts by using a signal quality measure. We tested this method by assessing its ability to detect a known increase in loop gain induced by proportional assist ventilation (PAV). Subjects were studied during sleep while breathing on continuous positive airway pressure (CPAP) alone (to stabilize the airway) or on CPAP + PAV. We show that the method tracked the PAV-induced increase in loop gain, demonstrating its time-varying capabilities, and it remained accurate in the face of measurement related artifacts. The model was able to detect a statistically significant increase in loop gain from 0.14 ± 10 on CPAP alone to 0.21 ± 0.13 on CPAP + PAV (p < 0.05). Furthermore, our method correctly detected that the PAV-induced increase in loop gain was predominantly driven by an increase in controller gain. Taken together, these data provide compelling evidence for the validity of this technique.
Keywords: Periodic breathing, Apnea, Chemoreflex, Loop gain
1. Introduction
Ventilatory control instability or high loop gain (LG) is a key factor in the pathogenesis of a variety of sleep-related breathing disorders, including Cheyne–Stokes respiration (Bradley and Floras, 2003; Javaheri, 1999; Xie et al., 2002), sleep at altitude in adults (Berssenbrugge et al., 1983; Burgess et al., 2004, 2008; Salvaggio et al., 1998), periodic breathing in neonates (Rigatto and Brady, 1972a,b; von Czettritz et al., 1996; Wilkinson et al., 2007), and obstructive sleep apnea (OSA) (Wellman et al., 2004; Younes et al., 2001). In general, LG is a measure of the stability of a system (e.g. an electrical or a physiological system) controlled by negativefeedback loops. In the case of respiration, LG represents the sensitivity of the negative feedback loop that controls ventilation. LG is defined as the ratio of a corrective response (e.g., hyperpnea) to a disturbance (e.g., apnea). A high LG (large ventilatory response to a disturbance) may develop into self-sustaining oscillations i.e. instability. On the other hand, a low LG (small ventilatory response to a disturbance) is more likely to exhibit stable breathing. The two key components of LG are controller gain and plant gain (see Fig. 1). Controller gain reflects chemoresponsiveness, or the hypoxic and hypercapnic ventilatory responses. Plant gain reflects the effectiveness of ventilation at eliminating CO2. LG is a frequency dependent variable and therefore increases as a function of the circulatory delay and other time dependent variables. A non-invasive method for measuring LG could allow diagnose the contribution of LG to disordered breathing and then potentially treat the condition by using for example, oxygen or acetazolamide (Edwards et al., 2012; Wellman et al., 2008) to lower LG. However, such clinical utility of LG has been limited thus far by the fact that measurements from spontaneous breathing have proven inaccurate, and invasive measurements are impractical clinically (Francis et al., 2000).
Existing invasive measures for LG include proportional assist ventilation (PAV) (Meza and Younes, 1996), pressure support ventilation (for controller gain) (Dempsey et al., 2004), and pseudo-random binary CO2 stimulation (Ghazanshahi and Khoo, 1997). All of these techniques are labor intensive and could only be performed by an experienced investigator in a research laboratory. In contrast, the technique proposed in this paper could be used by anyone with access to ventilation and CO2 time series collected during spontaneous breathing, albeit with continuous positive airway pressure (CPAP) to stabilize the upper airway.
Previous autoregressive models for estimating LG have been proposed (Asyali et al., 2002; Ghazanshahi and Khoo, 1997; Khoo et al., 1995; Modarreszadeh et al., 1995; Nemati et al., 2011). However, they are confounded by artifacts in the signal and only provide a single value of LG for the entire block of data analyzed. Therefore, the presence of changing physiological states that occur naturally during sleep (e.g. sleep-wake transitions, arousals from sleep, changes in controller sensitivities with changes in sleep-state) cannot be evaluated. The first iteration of the multivariate autoregressive model proposed in this paper was validated in an anesthetized, upper-airway bypassed animal preparation (Nemati et al., 2011). The primary goal of this study was to expand on our previous model to provide a continuous method for the measurement of LG and its components (controller and plant gain) during sleep in humans as well as to make the method more resistant to artifact noise. In the current study, we aimed to validate this technique in human subjects by testing its ability to detect a directional change in LG produced by PAV.
2. Methods
2.1. Subjects
Thirteen CPAP treated OSA subjects (age: 45 ± 10 yrs) were recruited from the sleep laboratory at Brigham and Women’s Hospital. All OSA subjects had an apnea/hypopnea index >10 events/h during supine non-rapid eye movement (NREM) sleep and a documented CPAP use of >5 h per night for at least two months prior to the study. Eight healthy controls (age: 35 ± 10 yrs) were also recruited from the community. Subjects were excluded if they were taking any medication known to influence breathing, sleep/arousal or muscle physiology. Additionally, subjects were excluded if they had a history of renal failure, neuromuscular disease or other major neurological disorders, uncontrolled diabetes, heart failure, central sleep apnea/Cheyne–Stokes respiration, uncontrolled hypertension, thyroid disease, or any other unstable medical condition. Female subjects were screened to ensure that they were not pregnant. All subjects gave written, informed consent before participation in this study, which was approved by the Partners Healthcare Human Research Committee.
2.2. Experimental setup and protocol
Subjects underwent a clinical polysomnogram (PSG) to confirm the presence or absence of OSA and a research PSG to validate the proposed LG estimation algorithm.
2.2.1. Clinical PSG
Subjects were asked to sleep supine for the majority of the night with the standard clinical montage of electroencephalography (EEG; C3/A2, O2/A1), electrooculography, and submental and anterior tibialis electromyography. Oxygen saturation was monitored by using a pulse oximeter attached to the index finger. Airflow was measured using nasal pressure and a thermistor. Piezo-electric bands around chest and abdomen monitored respiratory movements. Data were collected and stored using the Alice digital PSG system (Philips Respironics, Murrysville, PA). Sleep state, arousals, and respiratory events were scored according to standard AASM Criteria (Iber, 2007).
2.2.2. Research PSG
Sleep electrodes were attached similar to the clinical PSG. In addition, subjects were also fitted with a nasal mask (Gel Mask; Respironics, Murrysville, PA) attached to a pneumotachometer (model 3700A; Hans-Rudolph, Kansas City, MO) and pressure transducer for measuring airflow (Validyne, Northridge, CA). CO2 was continuously recorded from a catheter placed inside the nostril with (Vacumed capnograph, Ventura, CA). The mask was connected to a BiPAP Vision mechanical ventilator (Philips Respironics) which is capable of delivering CPAP alone or in combination with PAV. After the monitoring equipment was placed on the subjects, they lay down in the supine position and breathed on their prescribed level of CPAP (for OSA subjects) or 4 cmH2O for controls. Once asleep, PAV was slowly increased as high as possible until the patient awoke. Several PAV increases were performed during the night. We estimated LG from 5 to 10 min segments of spontaneous breathing during NREM sleep while subjects breathed on CPAP alone or on CPAP + PAV. A paired t-test was used to compare the LG on CPAP alone to the LG on CPAP + PAV. LG is known to be elevated on PAV (Meza and Younes, 1996) and thus if our algorithm detected a significantly higher LG on PAV, this would be interpreted as confirmation that our technique is capable of detecting a directional change in LG, thereby lending validity to the technique.
2.3. Preprocessing and signal quality index
Working with physiological measurements usually involves dealing with common problems such as movement artifact or measurement error. For example, PETCO2 can sometimes be inaccurate due to low expiratory volume or mask leak, which would confound the estimation of LG. We proposed a framework for including measures of the quality of the experimentally recorded signals, thus mitigating the influence of such artifacts on the estimation of LG. Signals for flow and PCO2 were processed according to the steps described previously (Nemati et al., 2011) to extract the breath-by-breath time series data for minute ventilation (V˙E) and end-tidal PCO2 (PETCO2). Briefly, V˙E was calculated for each breath as VT/Ttot, where VT is the tidal volume and Ttot is the duration of the breath (see Fig. 2). A breath-by-breath signal quality index for PETCO2 (SQICO2) was created by fitting a line to the expiratory (end-tidal) portion of the PCO2 waveform, as shown in Fig. 3 (also see Fig. 2 panel E). A flat line (i.e., slope = 0) indicates that the measured end-tidal CO2 is of high quality, while non-zero slopes correspond to end-tidal CO2 estimates with low signal quality. Moreover, since it is physiologically unlikely to see more than 5 mmHg change in end-tidal CO2 in consecutive breaths, such observations with greater than 5 mmHg change were assigned a lower signal quality (see Appendix B for details). The resulting breath-to-breath V˙E and PETCO2time-series, representing deviations from a steady-state baseline during spontaneous breathing, and the corresponding SQICO2, were used for estimating LG as described below.
2.4. Calculations of controller, plant, and loop gain
Along with signal quality index, we also developed an adaptive LG estimation technique that accounts for nonstationarity in chemoreflex system characteristics (e.g., as a result of changes in sleep stages, body position, etc.). A non-stationary time series is one in which the statistics of the underlying random process (e.g., mean, variance) change over time. This notion is relevant to the current study in which PAV, and therefore LG, was slowly increased over time, which induced non-stationarity into the ventilatory control system. These PAV data therefore, represent an ideal dataset in which to test the ability of our algirithm to deal with non-stationarities.
Our autoregressive model includes two main variables, V˙E and PETCO2, as a linear function of their previous values and random fluctuations. The model with maximal memory (lag) of p breaths that reflects the interaction between V˙E and PETCO2 can be represented as follows
(1) |
where
The vector y(n) includes V˙E and PETCO2 at breath n; y(n − k) lists the values of these two variables at the kth previous breath; w(n) represents the variations in V˙E and PETCO2 that are not explained by the chemical control system properties, and are therefore considered to be the result of external noise; and the matrices an(k) for k = 1, …, p represent the model coefficients that can vary over time and relate y(n − k) to y(n); As an example, when p = 1, Eq. (1) reduces to the following system of equations:
(2) |
It was shown in our previous work (Nemati et al., 2011) that the parameters characterizing the autoregressive model of breathing (the autoregressive coefficients) can be used to derive controller gain, plant gain, and loop gain at different frequencies (or cycle-durations) of interest. For example, identification of the controller gain was accomplished by considering the effects of PCO2 fluctuations on ventilation over time and adjusting the relevant coefficients to achieve the most accurate prediction of ventilation. Here, similar to the model order in our previous work, V˙E depends on the past four values of V˙E and PETCO2, and PETCO2 depends only on the previous value of PETCO2 and V˙E. The details of our autoregressive model are given in Appendix A. When dealing with frequency-dependent quantities (controller, plant, and loop gains) we considered the average value of these quantities in the medium frequency range of 5–15 breaths/cycle. Since the medium frequency band spans the range of cycle-durations of periodic breathing commonly observed experimentally in human subjects (Ghazanshahi and Khoo, 1997; Nemati et al., 2011), we focused on the controller, plant, and loop gain values measured in this band.
A Kalman smoother algorithm was used for the estimation of LG. The Kalman smoother algorithm (Tarvainen et al., 2006) consists of a Kalman filter and a fixed-interval smoother that uses both the preceding and succeeding recorded values in the time series to obtain a more accurate and refined parameter estimation (see Appendix A). The model fitting procedure involved tweaking the model parameters to achieve the lowest discrepancy between the model prediction and the actual observed values of ventilation and blood gasses (i.e., a penalty term was imposed proportional to the magnitude of the discrepancy, and the parameter fitting objective was to minimize the penalty term). In order to minimize the deleterious effects of artifacts, we used our breath-by-breath indices of signal quality for PCO2 to lower the contribution of poor signal quality breaths to the penalty function (Nemati et al., 2010). Fig. 4 shows an example PAV trial (panel A), breath-by-breath signal CO2 signal quality time series (panel B), and the corresponding adaptive estimates of controller, plant and loop gain, before (panel C) and after (panel D) including signal quality indices.
2.5. Statistical analysis
Paired t-tests were used to compare the LG on and off PAV. As a secondary analysis, unpaired t-tests were used to compare LG between healthy controls and OSA subjects, as previous studies have shown that OSA patients tend to have a higher LG. A p value of less than 0.05 was considered significant. Values are presented as means ± standard deviation.
3. Results
3.1. Respiratory variables and experimentally derived system properties
The average respiratory variables for the baseline (CPAP only) and the PAV (CPAP + PAV) conditions are shown in Table 1. As expected, PAV induced a small increase in VT and TTOT, with the net effect of a slight increase in V˙E and decrease in PETCO2. Table 1 shows a breakdown of the respiratory variables according to the patient population (control versus OSA). OSA subjects exhibited a small but significantly higher V˙E both during baseline and on PAV.
Table 1.
Subject | Baseline
|
PAV
|
||||
---|---|---|---|---|---|---|
Control (N = 8) | OSA (N = 13) | Overall (N = 21) | Control (N = 8) | OSA (N = 13) | Overall (N = 21) | |
VT (L) | 0.39 ± 0.07 | 0.43 ± 0.09 | 0.42 ± 0.08 | 0.42 ± 0.08 | 0.47 ± 0.09 | 0.45 ± 0.09† |
TI (s) | 1.77 ± 0.20 | 1.77 ± 0.31 | 1.77 ± 0.27 | 1.82 ± 0.28 | 1.73 ± 0.31 | 1.76 ± 0.29 |
TTOT (s) | 4.30 ± 0.53 | 4.20 ± 0.72 | 4.24 ± 0.64 | 4.37 ± 0.65 | 4.30 ± 0.71 | 4.33 ± 0.67† |
V˙E (L min−1) | 5.43 ± 0.59 | 6.27 ± 1.03* | 5.96 ± 0.96 | 5.77 ± 0.74 | 6.71 ± 1.22* | 6.35 ± 1.14† |
PETCO2 (mmHg) | 40 ± 4 | 41 ± 3 | 40 ± 3 | 39 ± 4 | 39 ± 3 | 39 ± 3† |
p < 0.05 between OSA and controls.
p < 0.05 between baseline and PAV.
3.2. Effect of PAV on controller, plant, and loop gain
Fig. 5 provides a comparison of LG (panel A), controller gain (panel B) and plant gain (panel C), for the individual subjects between baseline and PAV. The autoregressive technique was able to detect the PAV-induced increase in LG (p < 0.05). Moreover, it detected that the increase was predominantly driven by an increase in controller gain (p < 0.005) which is what one would expect when breathing on PAV.
3.3. Baseline controller, plant, and loop gain in OSA versus controls
Compared to controls, OSA subjects had an elevated controller gain (control 0.24 ± 0.04 versus OSA 0.36 ± 0.15; p < 0.05) and a higher LG (control 0.07 ± 0.04 versus OSA 0.14 ± 0.10; p < 0.05). No significant differences between plant gains were observed (control 0.28 ± 0.12 versus OSA 0.35 ± 0.13) (Fig. 6).
4. Discussion
The major contribution of the current study is the introduction of a parameter estimation technique capable of adapting to the changes in LG. The estimation technique successfully tracked changes in LG induced by PAV which is an established technique for raising LG. Furthermore, the proposed framework is also non-invasive (i.e., based on spontaneous breathing) and, through the use of signal quality indices, mitigates the deleterious effects of recording artifacts on the parameter estimation procedure. This is the first time that a technique has been shown to successfully estimate LG from spontaneous, unobstructed breathing in humans.
There have been several previous attempts to estimate LG from spontaneous breathing. For example, breath-to-breath variability in ventilation has been studied extensively (Bruce, 1996; Khoo, 2000), with the periodic component of variability generally attributed to the chemoreflex feedback mechanism, and the non-periodic component ascribed to neural, vagal, behavioral, and other factors external to the chemoreflex feedback loop. Furthermore, several authors have employed system identification techniques based on autoregressive models that make use of the breath-to-breath dependence of ventilation on arterial blood gas tensions (via chemoreceptors) as well as dependence of O2/CO2 on ventilation (due to gas exchange) (Khoo and Marmarelis, 1989; Mitsis et al., 2009; Nemati et al., 2011). Lastly, many researchers have used autoregressive modeling in the presence of exogenous stimulations (e.g., pseudorandom binary sequences of inhaled CO2) in an attempt to estimate LG during sleep (Ghazanshahi and Khoo, 1997; Modarreszadeh and Bruce, 1994; Modarreszadeh et al., 1995). However, none of these techniques has emerged as a useful and reliable tool for noninvasively estimating LG, possibly because recordings of respiratory variables are noisy and non-stationary. Therefore, estimation algorithms must be appropriately tailored to deal with these issues. The proposed technique overcomes these obstacles and makes it possible to track LG over time and in the presence of state changes or measurement artifacts.
4.1. OSA and ventilatory stability
Further validation of our LG estimation algorithm comes from the fact that our findings agree with previous LG studies in OSA patients. Our technique determined that OSA subjects have elevated controller gain compared to healthy controls with no difference in plant gain and overall, the LG was found to be higher in OSA subjects. These findings are consistent with studies by Younes et al. (2001) and Wellman et al. (2004) which underscores the potential value of this technique in managing OSA patients with drugs to lower LG.
In a study previously published by our group (Jordan et al., 2005), the LG values for OSA subjects were found to be slightly higher than the LG values estimated from our autoregressive method. The difference may in part be the result of slightly different LG definitions used in the two studies; the LG determined with PAV is the LG at the 180° phase angle, whereas with the current technique it is the average LG within a frequency band. While the 180° phase angle likely lies somewhere within this frequency band, it could nevertheless produce a slightly different LG value than the autoregressive technique presented here. Furthermore, in the paper by Jordan et al. (2005), PAV failed to produce periodic breathing in several individuals and LG had to be quantified as a “less than” value, which generally tends to be higher than the “equal to” values. Therefore, the LG values presented in their work are slightly higher than the ones presented here.
4.2. Methodological considerations
The credibility of LG measurement on the basis of PAV, and the effects of CPAP/PAV on the ventilatory control variables have been reviewed extensively before (Younes et al., 2001). This makes the PAV data used in this study ideal for validating our proposed method, both because there is no other gold standard with which to validate our method and because PAV produces a time-varying increase in LG, allowing the adaptiveness of our algorithm to be tested.
Although we selected periods of stable NREM sleep without evidence of clinical arousals, we cannot discount the influence of more subtle EEG changes. Future works should either model the influence of arousals on ventilation or include signal quality indices that minimize the contribution of large arousal-related ventilation on the estimation procedure.
Our technique would need to be modified if there were frequent large breaths or long pauses. Our patients did not have these variations in their breathing pattern. The technique could be modified to deal with pauses (e.g. central apneas) by inserting breaths with zero tidal volume. We believe that variations in the breathing rate (e.g. small fluctuations in expiratory time) will not affect our method and in fact is one way that the ventilation could physiologically decrease/increase (by varying respiratory rate). Therefore, if the inspiratory volume is scaled up or down when it is divided by the breath duration, this is the true ventilation that we want the model to capture.
5. Conclusions
Our results demonstrate that the proposed autoregressive model is able to track small changes in LG during sleep without using invasive methods. It could therefore be used clinically for the identification of patients with ventilatory control abnormalities. In particular, selection of patients for interventions that lower LG (e.g., supplemental oxygen or acetazolamide) may provide patients with attractive treatment alternatives.
Acknowledgments
Grants
This work was supported by the American Heart Association (AHA) (grant 0840159N) and the National Institutes of Health (NIH) (through grant numbers R01 HL102321, HL73146, HL085188-01A2, HL090897-01A2, K24 HL093218-01A1, and the training grant T32-HL07901). Elnaz Gederi acknowledges the support of the RCUK Digital Economy Programme grant number EP/G036861/1 (Oxford Centre for Doctoral Training in Healthcare Innovation). Dr. Edwards is supported by the National Health and Medical Research Council of Australia’s C.J. Martin Overseas Biomedical Fellowship (1035115). The content of this document is solely the responsibility of the authors and does not necessarily represent the official views of the AHA or NIH.
The authors gratefully acknowledge James P Butler for the constructive discussions.
Appendix A
A.1. System non-stationarity and adaptive estimation
To accommodate non-stationarity, we allow the autoregressive coefficients to vary gradually over time, yielding estimates of controller, plant, and loop gain that change smoothly over time. The adaptive analog of our autoregressive model is given by the following matrix equation:
(A1) |
where the subscript n in term an(k) signifies that the model coefficients can vary over time. One may cast the problem of estimating the set of parameters , where N is the length of time series (or the total number of available breaths), into a general Kalman filter state-space framework by defining the following system of equations:
(A2) |
(A3) |
where An is a vector of autoregressive coefficients (of dimension m × m × p) at the n-th breath, yn is a vector of respiratory variables as defined in Eq. (A1), Hn is a matrix of previous values of y (yn−1, …, yn−p) structured such that the multiplication of Hn by An is equivalent to the summation term in Eq. (A1), and the noise terms dn and wn are zero-mean, uncorrelated random variables with covariance matrices Qn and Rn. Eq. (A1) imposes a smoothness constraint on the An coefficients, where the degree of deviation depends directly on the size of Qn. The solution to the problem of finding the sequence of (latent state) variables A1, ···, An given all the observations up to and including time n is given by the Kalman filter (Arnold et al., 1998). In this work, we use the Kalman Smoother algorithm as described in reference (Tarvainen et al., 2006). The Kalman Smoother provides a solution to the problem of inferring the entire sequence of state variables A1, ···, AN given all the N observations y1, …, yN. This is achieved by performing a forward Kalman filter, followed by a backward smoothing step based on the RTS algorithm (Rauch et al., 1965).
A.2. Calculation of loop, controller, and plant gains from transfer path functions
Eq. (A1) is a discrete convolution and it becomes multiplicative in the frequency domain. Define the Fourier transform of a signal in the time domain by where k indexes the time domain and f indexes the frequency domain. The Fourier transform of Eq. (A1) is therefore
(A4) |
Here we present the time domain variables in lower case and frequency domain variables in upper case and the dependence on frequency f will be omitted for notational simplicity. Note that the summation over time defining only includes the previous P points where P is the maximal lag in the model of Eq. (A1). Eq. (A4) for each individual component of Y can be written as
(A5) |
where Tj→i are the transfer path functions (TPF) from the jth signal to the ith signal and are defined as
(A6) |
TPFs represent the effect of one variable on another in the control system and therefore correspond to the controller and plant gains.
A.3. Measurement noise and signal quality index
The Kalman estimator for the model coefficients is given by the following equation:
(A7) |
where Ȃn is a vector of all estimated model coefficients at the n-th breath, rn = yn − HnȂn−1 is an error term capturing the discrepancy between our model prediction for the ventilatory variables and the actual observed values, and Kn is a weighting factor, also known as the Kalman gain. Intuitively, Eq. (A7) states that our best estimate of An is a weighted combination of our previous estimate Ȃn−1 (the first term of the sum) and a second term related to the discrepancy between our model prediction and our actual measurements (that is, the model residual, rn).
In this work, we made the weighting factor Kn to be directly (although nonlinearly) proportional to the signal quality associated with the n-th measurement. This form of penalty creates a nonlinear function for the noise covariance to ensure that noisy signals are not trusted and has been previously shown to work well in practice (Nemati et al., 2010; Li et al., 2008). Algorithmically, this is achieved by defining a modified covariance matrix, denoted by , which is a monotonically decreasing function of the signal quality (the higher the signal quality, the smaller ):
(A8) |
where SQIn is the signal quality of the ventilatory variables at the n-th breath, and may be replaced by various measures of the underlying signal quality, such as the SQICO2 described in Section B1. This nonlinear weighting function therefore tends to one as the value of SQIn tends to one, at which point the modified covariance matrix will be equal to Rn. Note that, if separate signal quality measures are available for each measurement then the diagonal elements of the Rn are individually modified.
To illustrate the benefits of this weighting scheme, consider the two cases presented in Fig. A1. Fig. A1A shows a time series that for the first three samples stays at its baseline value, where our “static” (non-adaptive) model prediction yields residuals of zeros. Substituting zeros for r1, …, r3 in Eq. (A7) yields the previous model parameters. However, starting at the fourth sample the time series changes its baseline and therefore the model prediction no longer corresponds to the actual values of the time series, resulting in a non-zero residual. Substituting a non-zero value for r4 in Eq. (A7) results in a new estimate of model parameters, in a manner that depends on the value of the weighting factor K4. Now, consider the case presented in Fig. A1B, where the variations in the values of the time series are due to measurement errors, as reflected by a reduced signal quality (0.5 versus 1). In this case, although a nonzero residual (say at the second sample) favors a change in model parameters, the reduction in the weighting factor K2 (due to a reduced signal quality) pushes the balance of Eq. (A7) towards accepting the previous estimates of the model parameters. In particular, the weighting scheme allows us to minimize the influence of artifacts, related to possible mismatch between PETCO2 and alveolar PCO2, on parameter estimation through assignment of an appropriate SQICO2 as discussed in Section B.
For the sake of completeness, the modified Kalman smoother algorithm which additionally incorporates the proposed signal quality indices is summarized in Table A1. We initialized the state vector Ȃ0, the a priori covariance matrix , and the autoregressive noise covariance matrix R0 by fitting (static) autoregressive models to the first 50 breaths from all the subjects and the resulting parameters were averaged (the same initial values were used for all the subjects). The forgetting factor λ was set equal to 4/60~0.0667, which roughly corresponds to a 60 s time constant (assuming a breath-to-breath interval of 4 s). Note that, our implementation of the adaptive autoregressive algorithm accommodates “structured” autoregressive modeling (i.e., when different orders are used for different variables). The above two-pass algorithm has been coded in MATLAB™ and is available online at the Physionet website.
Given the smoothed state estimates ( ) at each data sample n, we derived estimates of controller, plant, and loop gain using the method we described in our previous work (Nemati et al., 2011). Furthermore, we took the associated uncertainty to be equal to the summation of the diagonal elements of the smoothed state covariance estimate ( ).
Table A1.
Initialization | |
Initialize Ȃ0 and , λ, R0 | |
Forward pass | |
1. For n from 1 to N | |
2. Construct the data history matrix Hn | |
3. Compute: one step prediction of observation: | |
4. Compute residuals: rn = xn − x̑n | |
5. Update the covariance matrix: , and compute according to Eq. (A8) | |
6. Compute Kalman Gain: | |
7. Compute state estimate: Ȃn = Ȃn−1 + Knen | |
8. Compute estimated state covariance: | |
9. Update state noise covariance: Wn = λPn | |
10. Calculate a priori estimated state covariance: | |
END | |
Backward pass | |
For n from N − 1 to 1 | |
Let | |
1. Compute smoothed estimated state covariance:
| |
2. Compute smoothed state estimate: | |
END | |
Note, the initial smoothed estimate at step N for the backward pass is the final state estimate for the forward pass: | |
Similarly, |
Appendix B
B.1. Signal quality for CO2
Because PCO2 can sometimes be inaccurate due to low expiratory volume and mask leak, a breath-by-breath signal quality index (SQICO2) was defined as follows (see Fig. 3). First, we fit a line through the end-tidal portion of the PCO2 waveform for each breath, and the slope of the line was recorded (S). A flat line (i.e., S = 0) indicates that the measured end-tidal CO2 is of high quality, while non-zero slopes correspond to end-tidal CO2 estimates with low signal quality. Next, since it is physiologically not possible to see more than 5 mmHg change in PCO2 from one breath to the next, if the corresponding PCO2 was different by more than 5 mmHg from the preceding PCO2, a penalty of 0.2 points was imposed. Similarly, if the corresponding PCO2 was different by more than 10 mmHg from the preceding PCO2, a larger penalty of 0.4 points was imposed. The final value of the SQICO2 was set equal to max (0.5, 1-S-penalty). For example, a slope of S = 0.15, and a 6 mmHg change in PCO2 (penalty = 0.2), results in an SQICO2 of 1–0.15–0.2 = 0.65.
Footnotes
Conflict of interest
A.M. received consulting and/or research income from Philips Respironics, Pfizer, SHC, SGS, Apnex, and Apnicure but has relinquished all personal outside income since May 2012. A.W. has received consulting income from Apnex, Apnicure, Philips Respironics, Galleon, and Sova. A.W.’s interests were reviewed and are managed by Brigham and Women’s Hospital and Partners Healthcare in accordance with their conflict of interest policies.
References
- Arnold M, Miltner WH, Witte H, Bauer R, Braun C. Adaptive AR modeling of nonstationary time series by means of Kalman filtering. IEEE Trans Biomed Eng. 1998;45:553–562. doi: 10.1109/10.668741. [DOI] [PubMed] [Google Scholar]
- Asyali MH, Berry RB, Khoo MCK. Assessment of closed-loop ventilatory stability in obstructive sleep apnea. IEEE J BME. 2002;49:206–216. doi: 10.1109/10.983454. [DOI] [PubMed] [Google Scholar]
- Berssenbrugge A, Dempsey J, Iber C, Skatrud J, Wilson P. Mechanisms of hypoxia-induced periodic breathing during sleep in humans. J Physiol. 1983;343:507–524. doi: 10.1113/jphysiol.1983.sp014906. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bradley TD, Floras JS. Sleep apnea and heart failure: Part II: Central sleep apnea. Circulation. 2003;107:1822–1826. doi: 10.1161/01.CIR.0000061758.05044.64. [DOI] [PubMed] [Google Scholar]
- Bruce EN. Temporal variations in the pattern of breathing. J Appl Physiol. 1996;80:1079–1087. doi: 10.1152/jappl.1996.80.4.1079. [DOI] [PubMed] [Google Scholar]
- Burgess K, Burgess K, Subedi P, Ainslie P, Topor Z, Whitelaw W. Prediction of periodic breathing at altitude. Adv Exp Med Biol. 2008;605:442–446. doi: 10.1007/978-0-387-73693-8_77. [DOI] [PubMed] [Google Scholar]
- Burgess KR, Johnson PL, Edwards N. Central and obstructive sleep apnoea during ascent to high altitude. Respirology. 2004;9:222–229. doi: 10.1111/j.1440-1843.2004.00576.x. [DOI] [PubMed] [Google Scholar]
- Dempsey JA, Smith CA, Przybylowski T, Chenuel B, Xie A, Nakayama H, Skatrud JB. The ventilatory responsiveness to CO(2) below eupnoea as a determinant of ventilatory stability in sleep. J Physiol. 2004;560:1–11. doi: 10.1113/jphysiol.2004.072371. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Edwards BA, Sands SA, Eckert DJ, White DP, Butler JP, Owens RL, Malhotra A, Wellman A. Acetazolamide improves loop gain but not the other physiological traits causing obstructive sleep apnoea. J Physiol. 2012;590:1199–1211. doi: 10.1113/jphysiol.2011.223925. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Francis DP, Willson K, Davies LC, Coats AJ, Piepoli M. Quantitative general theory for periodic breathing in chronic heart failure and its clinical implications. Circulation. 2000;102:2214–2221. doi: 10.1161/01.cir.102.18.2214. [DOI] [PubMed] [Google Scholar]
- Ghazanshahi SD, Khoo MC. Estimation of chemoreflex loop gain using pseudorandom binary CO2 stimulation. IEEE Trans Biomed Eng. 1997;44:357–366. doi: 10.1109/10.568911. [DOI] [PubMed] [Google Scholar]
- Iber C. The AASM manual for the scoring of sleep and associated events: rules, terminology and technical specifications. Am Acad Sleep Med 2007 [Google Scholar]
- Javaheri S. A mechanism of central sleep apnea in patients with heart failure. N Engl J Med. 1999;341:949–954. doi: 10.1056/NEJM199909233411304. [DOI] [PubMed] [Google Scholar]
- Jordan AS, Wellman A, Edwards JK, Schory K, Dover L, MacDonald M, Patel SR, Fogel RB, Malhotra A, White DP. Respiratory control stability and upper airway collapsibility in men and women with obstructive sleep apnea. J Appl Physiol (1985) 2005;99:2020–2027. doi: 10.1152/japplphysiol.00410.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Khoo MC. Determinants of ventilatory instability and variability. Respir Physiol. 2000;122:167–182. doi: 10.1016/s0034-5687(00)00157-2. [DOI] [PubMed] [Google Scholar]
- Khoo MC, Marmarelis VZ. Estimation of peripheral chemoreflex gain from spontaneous sigh responses. Ann Biomed Eng. 1989;17:557–570. doi: 10.1007/BF02367463. [DOI] [PubMed] [Google Scholar]
- Khoo MC, Yang F, Shin JJ, Westbrook PR. Estimation of dynamic chemoresponsiveness in wakefulness and non-rapid-eye-movement sleep. J Appl Physiol. 1995;78:1052–1064. doi: 10.1152/jappl.1995.78.3.1052. [DOI] [PubMed] [Google Scholar]
- Li Q, Mark RG, Clifford GD. Robust heart rate estimation from multiple asynchronous noisy sources using signal quality indices and a Kalman filter. Physiol Meas. 2008;29:15–32. doi: 10.1088/0967-3334/29/1/002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Meza S, Younes M. Ventilatory stability during sleep studied with proportional assist ventilation (PAV) Sleep. 1996;19:S164–S166. doi: 10.1093/sleep/19.suppl_10.164. [DOI] [PubMed] [Google Scholar]
- Mitsis GD, Governo RJM, Rogers R, Pattinson KTS. The effect of remifentanil on respiratory variability, evaluated with dynamic modeling. J Appl Physiol. 2009;106:1038–1049. doi: 10.1152/japplphysiol.90769.2008. [DOI] [PubMed] [Google Scholar]
- Modarreszadeh M, Bruce EN. Ventilatory variability induced by spontaneous variations of PaCO2 in humans. J Appl Physiol. 1994;76:2765–2775. doi: 10.1152/jappl.1994.76.6.2765. [DOI] [PubMed] [Google Scholar]
- Modarreszadeh M, Bruce EN, Hamilton H, Hudgel DW. Ventilatory stability to CO2 disturbances in wakefulness and quiet sleep. J Appl Physiol. 1995;79:1071–1081. doi: 10.1152/jappl.1995.79.4.1071. [DOI] [PubMed] [Google Scholar]
- Nemati S, Edwards BA, Sands SA, Berger PJ, Wellman A, Verghese GC, Malhotra A, Butler JP. Model-based characterization of ventilatory stability using spontaneous breathing. J Appl Physiol. 2011;111:55–67. doi: 10.1152/japplphysiol.01358.2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nemati S, Malhotra A, Clifford GD. Data fusion for improved respiration rate estimation. EURASIP J Adv Signal Process. 2010;2010:926305. doi: 10.1155/2010/926305. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rigatto H, Brady JP. Periodic breathing and apnea in preterm infants. I. Evidence for hypoventilation possibly due to central respiratory depression. Pediatrics. 1972a;50:202–218. [PubMed] [Google Scholar]
- Rigatto H, Brady JP. Periodic breathing and apnea in preterm infants. II. Hypoxia as a primary event. Pediatrics. 1972b;50:219–228. [PubMed] [Google Scholar]
- Salvaggio A, Insalaco G, Marrone O, Romano S, Braghiroli A, Lanfranchi P, Patruno V, Donner CF, Bonsignore G. Effects of high-altitude periodic breathing on sleep and arterial oxyhaemoglobin saturation. Eur Respir J. 1998;12:408–413. doi: 10.1183/09031936.98.12020408. [DOI] [PubMed] [Google Scholar]
- Tarvainen MP, Georgiadis SD, Ranta-Aho PO, Karjalainen PA. Time-varying analysis of heart rate variability signals with a Kalman smoother algorithm. Physiol Meas. 2006;27:225–239. doi: 10.1088/0967-3334/27/3/002. [DOI] [PubMed] [Google Scholar]
- von Czettritz G, Bax RT, Eckardt T, Springer S, Emmrich P. Periodic breathing with periodic oxygen variation in infancy. Wien Med Wochenschr. 1996;146:317–319. [PubMed] [Google Scholar]
- Wellman A, Jordan AS, Malhotra A, Fogel RB, Katz ES, Schory K, Edwards JK, White DP. Ventilatory control and airway anatomy in obstructive sleep apnea. Am J Respir Crit Care Med. 2004;170:1225–1232. doi: 10.1164/rccm.200404-510OC. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wellman A, Malhotra A, Jordan AS, Stevenson KE, Gautam S, White DP. Effect of oxygen in obstructive sleep apnea: role of loop gain. Respir Physiol Neurobiol. 2008;162:144–151. doi: 10.1016/j.resp.2008.05.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wilkinson MH, Skuza EM, Rennie GC, Sands SA, Yiallourou SR, Horne RSC, Berger PJ. Postnatal development of periodic breathing cycle duration in term and preterm infants. Pediatr Res. 2007;62:331–336. doi: 10.1203/PDR.0b013e3180db29e5. [DOI] [PubMed] [Google Scholar]
- Xie A, Skatrud JB, Puleo DS, Rahko PS, Dempsey JA. Apnea–hypopnea threshold for CO2 in patients with congestive heart failure. Am J Respir Crit Care Med. 2002;165:1245–1250. doi: 10.1164/rccm.200110-022OC. [DOI] [PubMed] [Google Scholar]
- Younes M, Ostrowski M, Thompson W, Leslie C, Shewchuk W. Chemical control stability in patients with obstructive sleep apnea. Am J Respir Crit Care Med. 2001;163:1181–1190. doi: 10.1164/ajrccm.163.5.2007013. [DOI] [PubMed] [Google Scholar]