SIMULTANEOUS ESTIMATION OF RESPIRATORY PARAMETERS BY REGIONAL FITTING OF RESPIRATORY PARAMETERS
20180001041 · 2018-01-04
Inventors
- ANTONIO ALBANESE (NEW YORK, NY, US)
- FRANCESCO VICARIO (BOSTON, MA, US)
- DONG WANG (CAMBRIDGE, MA, US)
- NIKOLAOS KARAMOLEGKOS (NEW YORK, NY, US)
- NICOLAS WADIH CHBAT (WHITE PLAINS, NY, US)
Cpc classification
A61B5/085
HUMAN NECESSITIES
G16H20/40
PHYSICS
A61M16/026
HUMAN NECESSITIES
A61M2016/0036
HUMAN NECESSITIES
A61M16/024
HUMAN NECESSITIES
A61B5/4836
HUMAN NECESSITIES
International classification
A61M16/00
HUMAN NECESSITIES
A61B5/085
HUMAN NECESSITIES
Abstract
A medical ventilator (10) performs a method including: receiving measurements of pressure of air inspired by or expired from a ventilated patient (12) operatively connected with the medical ventilator; receiving measurements of air flow into or out of the ventilated patient operatively connected with the medical ventilator; dividing a breath time interval into a plurality of fitting regions (60); and simultaneously estimating respiratory system's resistance and compliance or elastance, and respiratory muscle pressure in each fitting region by fitting to a time series of pressure and air flow samples in that fitting region. In one approach, the fitting includes parameterizing the respiratory muscle pressure by a continuous differentiable function, such as a polynomial function, over the fitting region. In another approach, the fitting is to an equation of motion of the lungs in each fitting region, while monotonicity constraints and inequalities bounding at least the respiratory muscle pressure P.sub.mus(t) and respiratory system's resistence R and compliance C are applied to the respiratory muscle pressure in each region.
Claims
1. A medical ventilator system comprising: a ventilator configured to deliver an air flow at positive pressure to a ventilated patient; a pressure sensor configured to measure pressure P.sub.y(t) of air inspired by or expired from ventilated patient; a flowmeter configured to measure air flow {dot over (V)}(t) into or out of the ventilated patient; and a ventilator monitor comprising a microprocessor programmed to estimate respiratory muscle pressure during breathing by dividing the breath time interval into a plurality of fitting regions and simultaneously estimating respiratory system's resistance R and compliance C or elastance E, and respiratory muscle pressure P.sub.mus(t) in each region by fitting to a time series of P.sub.y(t) and {dot over (V)}(t) samples in that region.
2. The medical ventilator system of claim 1 wherein the ventilator monitor is programmed to simultaneously estimate respiratory system's resistance and compliance or elastance, and respiratory muscle pressure in each fitting region by operations including: fitting respiratory muscle pressure P.sub.mus(t) parameterized by a continuous differentiable function over the fitting region.
3. The medical ventilator system of claim 2 wherein the continuous differentiable function is a polynomial or spline function.
4. The medical ventilator system of claim 2 wherein the continuous differentiable function is a polynomial function of the form:
P.sub.mus(t)=a.sub.0+a.sub.1t+ . . . +a.sub.nt.sup.n and the simultaneous fitting includes estimating the parameters a.sub.0, a.sub.1 . . . , a.sub.n.
5. The medical ventilator system of claim 1 wherein the ventilator monitor is programmed to simultaneously estimate respiratory system's resistance and compliance or elastance, and respiratory muscle pressure in each fitting region by operations including: fitting an equation of motion of the lungs in each fitting region with monotonicity constraints applied to the respiratory muscle pressure P.sub.mus(t) in each region.
6. The medical ventilator system of claim 5 wherein the fitting regions include a first region within which a monotonically decreasing constraint of the respiratory muscle pressure P.sub.mus(t) is applied and a second region after the first region in time within which a monotonically increasing constraint is applied.
7.-9. (canceled)
10. The medical ventilator system of claim 1 wherein the simultaneous estimation of respiratory system's resistance R and compliance C or elastance E, and respiratory muscle pressure P.sub.mus(t) in each fitting region by fitting to a time series of P.sub.y(t) and {dot over (V)}(t) samples comprises solving an equation of motion of the lungs in each fitting region given by:
11. The medical ventilator system of claim 1 wherein the simultaneous estimation of respiratory system's resistance R and compliance C or elastance E, and respiratory muscle pressure P.sub.mus(t) in each fitting region by fitting to a time series of P.sub.y(t) and {dot over (V)}(t) samples comprises solving an equation of motion of the lungs in each fitting region given by:
12. A non-transitory storage medium storing instructions readable and executable by one or more microprocessors of a medical ventilator to cause the medical ventilator to perform a method comprising: receiving measurements of pressure P.sub.y(t) of air inspired by or expired from a ventilated patient operatively connected with the medical ventilator; receiving measurements of air flow {dot over (V)}(t) into or out of the ventilated patient operatively connected with the medical ventilator; dividing a breath time interval into a plurality of fitting regions; and simultaneously estimating respiratory system's resistance R and compliance C or elastance E, and respiratory muscle pressure P.sub.mus(t) in each fitting region by fitting to a time series of P.sub.y(t) and {dot over (V)}(t) samples in that fitting region.
13. The non-transitory storage medium of claim 12 wherein the simultaneous fitting comprises: fitting respiratory muscle pressure P.sub.mus(t) parameterized by a continuous differentiable function over the fitting region.
14. The non-transitory storage medium of claim 12 wherein the simultaneous fitting comprises: fitting parameters a.sub.0, a.sub.1, . . . , a.sub.n of respiratory muscle pressure P.sub.mus(t) parameterized according to the polynomial approximation:
P.sub.mus(t)=a.sub.0+a.sub.1t+ . . . +a.sub.nt.sup.n.
15. The non-transitory storage medium of claim 14 where n is two or three.
16. The non-transitory storage medium of claim 12 wherein the simultaneous fitting comprises: fitting an equation of motion of the lungs in each fitting region with monotonicity constraints applied to the respiratory muscle pressure P.sub.mus(t) in each region.
17. The non-transitory storage medium of claim 12 wherein the fitting regions include a first region within which a monotonically decreasing constraint is applied to the respiratory muscle pressure P.sub.mus(t) and a second region after the first region in time within which a monotonically increasing constraint is applied to the respiratory muscle pressure P.sub.mus(t).
18. The non-transitory storage medium of claim 16 wherein the fitting with monotonicity constraints comprises solving a quadratic program including an objective function representing the equation of motion of the lungs and a set of inequalities relating samples of the respiratory muscle pressure P.sub.mus(t) so as to define the monotonicity constraints.
19. A method comprising: receiving measurements of pressure P.sub.y(t) of air inspired by or expired from a ventilated patient; receiving measurements of air flow {dot over (V)}(t) into or out of the ventilated patient; dividing a breath time interval into a plurality of fitting regions; and in each fitting region, solving the equation:
20. The method of claim 19 wherein: respiratory system's resistance R=R.sub.0+R.sub.1.Math.|{dot over (V)}(t)| and respiratory system's compliance
21. The method of claim 19 wherein the solving includes parameterizing respiratory muscle pressure P.sub.mus(t) by a continuous differentiable function over the fitting region.
22. The method of claim 21 wherein the continuous differentiable function over the fitting region is P.sub.mus(t)=a.sub.0+a.sub.1t+ . . . +a.sub.nt.sup.n to and the solving includes simultaneously estimating respiratory system's resistance R and compliance C or elastance E, and parameters a.sub.0,a.sub.1, . . . ,a.sub.n in each fitting region by fitting to a time series of P.sub.y(t) and {dot over (V)}(t) samples in that fitting region.
23. The method of claim 19 herein the solving includes: applying monotonicity constraints to the respiratory muscle pressure P.sub.mus(t) in each region wherein the monotonicity constraints are defined by a set of inequalities relating samples of the respiratory muscle pressure P.sub.mus(t) in the fitting region.
Description
[0014] The invention may take form in various components and arrangements of components, and in various steps and arrangements of steps. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention.
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024] With reference to
[0025] With continuing reference to
[0026] The PSV controller 30 outputs a desired pressure control signal as a function of time, which is used to control a ventilator compressor 32 (e.g. a pneumatic pump, turbopump, or so forth) that generates air flow at the controlled positive pressure that is applied to the Y-piece 20 via the inlet air hose 14. Depending upon the respiratory therapy to be provided, an oxygen regulator 34 may add a controlled fraction of oxygen to the air flow to achieve a Fraction of Inspired Oxygen (FiO.sub.2) set by the physician, respiratory specialist, or other medical personnel who sets the configuration of the ventilator 10 for the patient 12. The pressure of the ventilatory pattern may vary during the breathing cycle to provide pressure-driven or pressure-assisted inhalation and to reduce pressure to facilitate exhalation.
[0027] The ventilator system typically further includes physiological monitoring sensors, such as an illustrative pressure sensor 40 and an illustrative flowmeter 42. The pressure sensor 40 measures the pressure at the Y-piece 20 (also known as pressure at the mouth of the patient), which is denoted here as P.sub.y(t). The flowmeter 42 measures the air flow rate into and out of the Y-piece 20, denoted herein as {dot over (V)}(t). The flowmeter 42 also directly or indirectly provides the net volume of air delivered to the patient, denoted herein as V(t), which may be directly measured or may be derived by integrating the flow rate {dot over (V)}(t) over time. These measured values P.sub.y(t), {dot over (V)}(t), V(t), optionally along with other information such as the ventilator settings (e.g. FiO.sub.2, the pressure profile delivered by the PSV control, et cetera) may be variously used by a ventilator monitor 44 to efficacy of the mechanical ventilation, to detect any deterioration of the state of the patient 12, to detect any malfunction of the ventilator 10, or so forth. As with the ventilator controller 30, the ventilator monitor 44 is implemented as a microprocessor with ancillary electronics, and may be updateable by updating the software or firmware. In some embodiments, the ventilator controller 30 and the ventilator monitor 44 may be implemented by a common microprocessor, and the controller and monitor functions may be integrated at various levels for example, it is contemplated to provide feedback-based ventilation control based on the measured values P.sub.y(t), {dot over (V)}(t), V(t) or parameters derived therefrom. Such software or firmware may be provided in the form of a non-transitory storage medium storing instructions readable and executable by the microprocessor of the ventilator monitor 44 to perform the monitoring functionality. The non-transitory storage medium may, for example, comprise a flash memory, optical disk, hard disk drive, or other storage medium.
[0028] Of salient interest here is assessment of the Work of Breathing (WoB), or of its derivative, the respiratory muscle pressure P.sub.mus(t). In general, WoB can be computed by integrating P.sub.mus(t) over the inhaled volume. In approaches disclosed herein, the assessment leverages the Equation of Motion of the Lungs given in Equation (1) herein, and hence the respiratory system's resistance R and compliance C are also salient parameters of interest. Equation (1) is evaluated with respect to a dataset of N data points measured over one or more breath cycles. Formally, the problem can be stated as follows:
Y=Xθ (2)
where:
Y=[P.sub.y(1) P.sub.y(2) . . . P.sub.y(N)].sup.T Pressure at Y-piece at times 1, . . . ,N
{dot over (V)}=[{dot over (V)}(1) {dot over (V)}(2) . . . {dot over (V)}(N)].sup.T Flow rate at times 1, . . . ,N
V=[V(1) V(2) . . . V(N)].sup.T Net air volume at times 1, . . . ,N
θ=[R 1/C P.sub.mus(1) P.sub.mus(2) . . . P.sub.mus(N)].sup.T Parameters to be determined
and matrix X is an (N+2)×N matrix given by X=[{dot over (V)} V I.sub.N], where I.sub.N is an N×N identity matrix. By solving the system of equations Y=Xθ for the parameter vector θ, the resistance R, compliance C, and respiratory muscle pressure P.sub.mus(t) can be obtained. However, the system of equations represented by Equation (2) has more unknowns (N+2 unknowns) than equations (N equations), and hence is an underdetermined problem that cannot be solved because it has an infinite number of solutions, only one of which is the true “physical” solution.
[0029] Due to being underdetermined, the set of equations represented by matrix Equation (2) is very sensitive to measurement noise, unknown disturbances and unmodeled dynamics. Problematically, the noise is on the same time scale as the variations in the measured signals P.sub.y(t), {dot over (V)}(t), V(t) and in the fitted respiratory muscle pressure P.sub.mus(t). Thus, even if the underdetermined nature of the simultaneous estimation problem is somehow overcome, the resulting parameter values tend to be noisy and hence of limited clinical value.
[0030] With continuing reference to
[0031] With continuing reference to
[0032] In one embodiment, as disclosed herein, P.sub.mus(t) is approximated locally (that is, over a small number of samples s<N) by a n.sup.th-order polynomial function suitably written as P.sub.mus(t)=a.sub.0+a.sub.1t+ . . . +a.sub.nt.sup.n. This approximation is used to construct a least squares (LS) problem over a time window of s samples (where s<N) in which the unknowns are R, C, and a.sub.0, . . . , a.sub.n. By keeping n+3<s (and in some embodiments n<<s), the underdeterminacy is overcome. The local approximation of P.sub.mus(t) by a polynomial is supported by the physiological intuition that P.sub.mus(t) is a smooth signal, with no abrupt discontinuities.
[0033] In another embodiment, the time interval covered by the N samples is divided into fitting regions in which P.sub.mus(t) is monotonically increasing, monotonically decreasing, or being flat over the entire fitting region. Within each region, a quadratic program can be constructed leveraging the known monotonicity in the region. This ensures efficient determination of a unique solution.
[0034] With reference now to
Y=χφ (2a)
where:
[0035] Y=[P.sub.y(1) P.sub.y(2) . . . P.sub.y(s)].sup.T For window of s samples
[0036] {dot over (V)}=[{dot over (V)}(1) {dot over (V)}(2) . . . {dot over (V)}(s)].sup.T For window of s samples
[0037] V=[V(1) V(2) . . . V(s)].sup.T For window of s samples
[0038] φ=[R 1/C a.sub.0 a.sub.1 . . . a.sub.n].sup.T Reduced to n+3 unknowns
and matrix χ is an s×(n+3) matrix given by:
In the above notation, the first sample in the window of width s is designated without loss of generality as sample t=1, so that the last sample in the window is designated as sample t=s. Matrix Equation (2a) thus represents a set of s equations with n+3 unknowns, and is overdetermined so long as s>(n+3). More typically, s>>n. For example, in one illustrative example n=2 (quadratic approximation for P.sub.mus(t)), the sampling rate is 100 Hz, and the window is 0.6 sec long corresponding to s=60.
[0039] Assuming an overdetermined set of equations, the matrix Equation (2a) can be solved in the least squares sense according to:
φ=(χ.sup.Tχ).sup.−1χ.sup.TY (3)
Alternatively, an iterative least squares approximation approach such as gradient descent or Levenberg-Marquardt can be used to solve Equation (3) for the parameters φ.
[0040] The illustrative approach employs a polynomial approximation of order n of P.sub.mus(t) over the time window of width s. The order n is chosen to be n≧2. Choosing a higher order provides the polynomial approximation with greater flexibility to represent changes in P.sub.mus(t) over the time window of width s; however, it also adds additional parameters (the total number of parameters is n+3) which makes the least squares fitting less robust. It is expected that n=2, n=3, or n=4 will be sufficient in most instances, although n>4 is also contemplated. Moreover, it will be appreciated that the approach can be generalized to approximating P.sub.mus(t) over the time window of width s by any continuous function that is smooth over the window of width s (i.e. that is differentiable over the window of width s). Other contemplated continuous and smooth approximation functions include spline functions, e.g. cubic spline functions.
[0041] With reference to
[0042] The approach of fitting P.sub.mus(t) to a smooth, continuous function (e.g. a polynomial of order n≧2) as described with reference to
Equation (4) is characterized by a flow-dependent resistance R.sub.0+R.sub.1.Math.|{dot over (V)}(t)| and a volume-dependent elastance
The parameters to be estimated are now R.sub.0, R.sub.1, C.sub.0, C.sub.1, and P.sub.mus(t). The least squares (LS) problem to be solved (with polynomial approximation of P.sub.mus(t), i.e. corresponding to Equation (2a)) becomes:
Y=χ.sub.NLφ.sub.NL (5)
where:
[0043] Y=[P.sub.y(1) P.sub.y(2) . . . P.sub.y(s)].sup.T
[0044] {dot over (V)}.sub.0=[{dot over (V)}(1) {dot over (V)}(2) . . . {dot over (V)}(s)].sup.T
[0045] {dot over (V)}.sub.1=[{dot over (V)}(1)|{dot over (V)}(1)| {dot over (V)}(2)|{dot over (V)}(2)| . . . {dot over (V)}(s)|{dot over (V)}(s)|].sup.T
[0046] V.sub.0=[V(1) V(2) . . . V(s)].sup.T
[0047] V.sub.1=[V.sup.2(1) V.sup.2(2) . . . V.sup.2(s)].sup.T
[0048] φ[R.sub.0 R.sub.1 1/C.sub.0 1/C.sub.1 a.sub.0, a.sub.1 . . . a.sub.n].sup.T
and matrix χ is an s×(n+5) matrix given by:
Assuming an overdetermined set of equations, the matrix Equation (5) can be solved in the least squares sense according to:
φ.sub.NL=(χ.sub.NL.sup.Tχ.sub.NL).sup.−1χ.sub.NL.sup.TY (6)
Alternatively, an iterative least squares approximation approach such as gradient descent or Levenberg-Marquardt can be used to solve Equation (5) for the parameters φ.sub.NL.
[0049] In the following, the second illustrative approach for overcoming the underdeterminancy of matrix Equation (2) is described in additional detail. In this approach each fitting region 60 is chosen so that P.sub.mus(t) is monotonic (either monotonically increasing, or monotonically decreasing) in the entire fitting region. In this approach, inequality constraints on the possible values of P.sub.mus(t), and domain constraints that R and C can take are introduced based on physiological considerations, such that the least squares (LS) solution becomes unique. In a suitable approach, the constraints are cast in linear form and define an objective function to be minimized of LS type, so that the mathematical formulation of the optimization problem to be solved falls into the category of quadratic programming. Not only is the uniqueness of solution now guaranteed, but also the routine to solve the program can be very efficient since quadratic programming is a mature mathematical technology.
[0050] Optionally, robustness of the resulting method to estimate R, C, and P.sub.mus(t) is further improved by the introduction of equality constraints. Robustness is advantageous for practical applications due to uncertainties and non-ideal factors that can affect the application (measurement noise, unknown disturbances, nonlinearities, unmodeled dynamics). Equality constraints on the values of P.sub.mus(t) are used to reduce the number of unknowns to describe P.sub.mus(t), hence making the overall estimation more robust.
[0051] With reference to
[0052] In view of these observations, the approach involves defining a monotonically decreasing region and a monotonically increasing region, and translating the monotonicity into mathematical inequalities to constrain the least squares optimization. The objective function to be minimized, denoted herein as J, is readily derived from Equation (1):
J=Σ.sub.t=1.sup.N(P.sub.y(t)−R{dot over (V)}(t)−EV(t)−P.sub.mus(t)).sup.2 (7)
In the objective J of Equation (7), the respiratory system's compliance C is replaced by the elastance E according to the relationship
The objective function J is minimized with respect to the parameters R, C (or E), and P.sub.mus(1), . . . , P.sub.mus(N), subject to inequality constraints capturing the known monotonic regions of P.sub.mus(t). This problem can be cast as a quadradic program by minimizing J subject to the following inequality constraints:
where the time t=m is the “turning point”, that is, the point at which P.sub.mus(t) goes from being monotonically decreasing (for t=1, . . . , m) to being monotonically increasing (for t=m+1, . . . ,N). Said another way, P.sub.mus(m) is the time at which P.sub.mus(t) reaches its minimum value. Optionally, the quadratic program can include additional constraints based on physiological knowledge. For example, if there is some known minimum respiratory muscle pressure P.sub.min and/or some known maximum respiratory muscle pressure P.sub.max (for example, it may in some instances be assumed that P.sub.max=0 as the diaphragm and chest muscles cannot act to apply positive pressure to the lungs), then the following inequalities can be added:
Similar limit (domain) constraints may optionally be placed on R and C:
R.sub.min≦R≦R.sub.max (10)
E.sub.min≦E≦E.sub.max
[0053] Eigenvalue decomposition of the quadratic matrix that can be constructed from the objective function using real data demonstrates that the problem is fully determined under Constraints (8)-(10). All the eigenvalues are negative but two, which are zero. For the quadratic problem to have a unique solution all the eigenvalues should be strictly negative. The eigenvectors associated with the zero eigenvalues are, however, minimizing directions forbidden by the given constraints, so that the underdeterminacy of the LS simultaneous estimation of R, C, and P.sub.mus(t) is overcome.
[0054] The foregoing formulation assumes that the time t=m at which the monotonicity of P.sub.mus(t) switches is known. However, this is not the case in real applications. To determine switch time m, a search of the optimal monotonicity switch time can be performed, by solving the quadratic program defined by objective J (Equation (7)) and Constraints (8)-(10) for each candidate minimum time and choosing the candidate minimum time that yields the smallest value for J as the minimum time m.
[0055] Constraints in addition to, or instead of, the Constraints (8)-(10) are contemplated. The input to the algorithm is the set of measured P.sub.y(t), {dot over (V)}(t), and V(t) over a complete breath, where again V(t) is suitably obtained by integration of {dot over (V)}(t). The output includes a value for each of R, C (or E), and the waveform P.sub.mus(t) for the entire breath.
[0056] With reference to
[0057] To provide even further improvement, the disclosed techniques can be combined, e.g. the quadratic program (Equation (7) with Constraints (8)-(10)) can be performed in conjunction with a parameterization of P.sub.mus(t), for example as described with reference to
[0058] With reference to
[0059] The invention has been described with reference to the preferred embodiments. Modifications and alterations may occur to others upon reading and understanding the preceding detailed description. It is intended that the invention be construed as including all such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.