Professional Documents
Culture Documents
Mathematical Modelling of Ventilation Mechanics Ute Morgenstem & Siegfried Kaiser 2
Mathematical Modelling of Ventilation Mechanics Ute Morgenstem & Siegfried Kaiser 2
105
9 1995KtuwerAcademicPublishers. Printedin the Netherlands.
Tutorial article
M a t h e m a t i c a l modelling o f ventilation m e c h a n i c s
Key words: modelling, parameter estimation, simulation, ventilation mechanics, data acquisition
Abstract
Routine application of 'rule of thumb' parameter sets in clinical practice pushes model visions to the background,
including the complete framework of assumptions, simplifications, suppositions and conditions. But: models can
be a very strong tool, when applied selectively - that means, with a clear idea of destination, definition, parameter
selection and verification.
This article discusses universal issues of modelling - based on ventilation mechanics models in intensive care
medicine.
Abbreviations: AIC - A K A I K E ' s information theoretic criterion, ARX - auto regressive model with external input,
C - compliance, E - elastance, EX - expiratory, FPE - final prediction error, IN - inspiratory, LMS - least mean
squares method, R - resistance, s 2 - dispersion, P, V, V ' - pressure, volume and flow at airway opening, PCV -
pressure controlled ventilation
9 [ 1
PHYSICIAN
/
i
P~
!'
P: /\J \\
// PHYSICIST INFORMATICS
Engineer
d~~ '-i-
'~- "~"-"-~-~-~L
/
MATHEMATICIAN
Ps(t)-Pp,(t)-k~V(t)+k2V(t)
PATIENT
MEASURINGTECHNIQUES
Engineer ?
2
\\
\
k
\" ~162....c;pv )~
/ \
/' \
SYSTEMCONTROLEngineer ELECTRICALEngineer
I
[
data storage 1
(--~ tp.r"~ signal i~ datarepre- e'7~ )
/mZA" kS)acq uisition sentation~ 2k~)~ - ~ putting a
# ; \ and processing output i / Q ~ ~ diagnosis,
therapy
vital planning,
functions decision
\ biological technicalpart I biological/~ making
at:t '
~pa . ~ substanceand/or Pa#7
Q -" energyapplicatio-n @ ~
I I
I I
I I I
I I I
; ~
biological system part technical system part
I_ ----" L
critical care environment. That means, they have to be integrated into the ventilator and monitoring subsys-
reduced to a minimum ('managable') set of interface tems (see Fig. 3).
parameters. Smart models will describe this ventilation pro-
Which is the way out of that 'state of the art'? May cess complexity with homogeneous tools. Ventilators
we design equipment, both sophisticated and man- with valves, tubes, humidifier, Y-piece, same as the
agable? We say YES - and doing so, we have to answer patient's respiratory system are networks of gas filled
some questions. tubes with branchings, junctions and bends, driving
flow and resisting against a flow of gas of variable
properties (temperature, humidity, concentrations).
What is the system/process to be described? Obviously the engineer knows the 'anatomy and
physiology' of technical parts designed by himseIf bet-
Every application of technical devices on patients ter than the seemingly very noisy biological part, dif-
forms a biological - technical system of interacting ficult to be isolated and obstinate against attempts to
components. We have to consider four interfaces (Fig. reveal its design secrets (Grodins [1 ]).
2) which stand for an interaction between biologi- A possible approach, separating features of the
cal subjects (patient/physician) and technical objects technical part, may be the mathematical description
(devices). Depending on the direction of flow of infor- of tube characteristics [2]. This allows to compensate
mation, substance or energy we distinguish between additional resistance during pressure assisted sponta-
diagnostical and therapeutical activities and corre- neous breathing [3]. At the same time all the other
sponding device functions. technical components are assumed to be ideal.
For mechanical ventilation of intensive care
patients, diagnostical and therapeutical functions are
108
=+eVh :'.G:',',"
)9/?;;',!
:/.:., ?;:
~i.';: EI+Ea
'2:(?d
In terms of the 'black box' model, they try to light the clinical use, equipment has to be applied economical-
inner of the box. Thus model 5 from Table 1 may be ly. Device characteristics and sensor location influence
interpreted as follows: parameter estimation too, Fig. 7, Table 2.
Viscoelastical tissue properties are described Especially V'(t)-measurings are influenced by the
together with gas dynamics by P-V-relations. Differ- sensor error (up to 15% relative error already under
ences in behaviour result from different time constants. static conditions).
Such highly parametric models could be a good basis Consequently, a trend analysis gives more useful
for simulation, but elements R,,, Cm are hardly to be results than comparing absolute measurement results
calculated from model coefficients a/, by. to normative values.
For a chosen model structure parameters vary cor-
responding to the estimation algorithm. Figure 6 shows
R I N , REx, C, calculated by a method of isolated val- Which phenomenons may be investigated by
ues (useful only with volume controlled ventilation and which models?
inspiratory pause) [4] in comparison to R, C estimated
by least squares method for ARX model (usable with Models may be of practical use in either of two
every ventilation signal form/ventilation pattern). Both ways:
2-parameter-models seem to be insufficiently exact in - After defining one fixed application oriented mod-
describing the ventilation process, Fig. 6. Hess [10] el structure, model parameters are estimated and
tested six methods of calculating airway resistance. normative values are established: i.e. classify-
Notice: unfortunately, in this case values estimated by ing patient characteristics under determined condi-
different methods should not be simply compared to tions - model parameters are compared to norma-
each other: Mathematical model structure and param- tive (including pathological) values. Traditionally,
eter estimation procedures influence the model accura- since 1915 (Rohrer) the simpliest RC-model has
cy, and input/output data is measured incorrectly. been in use!
Model accuracy is indicated by validation criteria
-Model structure may be varied until a model
like dispersion s2, information theoretic criterion AIC,
behaves like the reflected system: i.e. comparing
final prediction error FPE.
behaviour. Consider that the nature of parameters
Research institutes provide an environment for
of differently structured models varies with the type
highly accurate measurings under stable conditions. In
of model. Sets of parameters of different models
~10
measure~ and simuialed pressure patterns
20 T ~ "r-- i i
-- measured / /
18 f [
..... simulated (ARX model) / t.
16
-~ simulated (R,C-model, /~'J~ ~/ i
14 oa,ou,.ted ..o=so.. '/; I 4
method) /I, ~ {
O
~:12'
--- simuiated(ARMAX /' t', !
E
o
model} /f/ k,t '
~m 1 0
8
&
\ ~ l \ x. t 9
4
[
0
03
I
1
64
- -
65
' i
66
A
67 68
~ I
69
"-~'~'~-1
I
70
/
71
time / s
0.5-
~@sden
t3.25-
Durchf~hrung:
I 12.5- Kost, Horg, Hart
Oerbtekonfiguration:
o ?.5- Capnomac-VeoI ar
; 5- Patient:
2.s-
I Bemerkungen:
8
124 {Rbtast
t
= 58 Hz
time Es]
i Oa|enselz:J3PSZSko
are not comparable to each other. There is no infor- Effectiveness of ventilation forms and patterns
mation with respect to normatives. (also spontaneous activities) can be studied under
Various model structures give room to flexible and varying patient's characteristics. Model structure has
resultative simulations: to be adjusted to the context examined: inhomo-
11I
R cmH20/1/s 10.02
RIN cmH20/l/s 3.57 2.22 3.62 2.04 5.05
RBX cmHzO/l/s 20.46 9.53 20.10 9.62 10.02
C I/cmH20 0.036 0.049 0.041 0.050 0.060
CIN 1/cmH20 0.030
CEX l/cmH20 0.060
Example
y-StUck
1500
Flow 1000
ml/s 500
0
-500
-1000
LKI 600 L
Flow
ml/s
-2oo-I--
- 4 0 0 .I_
LK2 200
Flow I O0"
m113 0-
-I00-
-200
9~ 10 sec
S i m u l a t i o n is driven forward b y two impulses: I. Grodins FS. Models. In: Hombein TF, editor. Regulation of
Breathing. New York: Marcel Dekker, 1981.
(1) Strong universal engineering tools for identifica-
2. Lofaso E Louis B, Haft A, Brochard L, Isabey D. Use of
tion and simulation are at hand for u s i n g them in ,.he Blasius resistance formula to estimate in situ the effective
c o m b i n a t i o n with data acquisition hardware and diameter of endotxacheal tubes. New Orleans: 82nd annual
software [11, 8]. meeting of the FASEB, 1989.
3. Fabry B, Guttmann J, Eberhard L, WolffG. Automatic compen-
(2) There is an urgent need for s i m u l a t i o n software sation of endotracheal tube resistance in spontaneously breath-
for spontaneous and artificial ventilation and inter- ing patients. Technology and Health Care 1994; 1: 281-91.
action b e t w e e n them [12-14], easy to h a n d l e for 4. Jonson B, Nordstrtm L, Olsson SG, Akerback D. Monitoring
intensivists. of ventilation and lung mechanics during automatic ventilation.
Bull Physiopath Resp 1975; 11: 729-43.
Theoretically founded ventilation m e c h a n i c m o d e l s 5. Isermann R. Identifikadon dynamischerSysteme. Berlin, Hei-
and processing tools wait for application, Let us think delberg, New York: Springer-Verlag, 1988.
the usually calculated indices over and provide for bet- 6. Ljung L. System identification: Theory for the user. New Jer-
ter l u n g function analysis under mechanical ventila- sey: Prentice-Hall, 1987.
7. Tawfik B, Chang HK. A nonlinear model of respiratory
tion. mechanicsin emphysematous lungs. Ann Biomed Engin I988;
16: 159-74.
8. Simulink. A program for simulating dynamic systems. Natick,
Massachusetts: The Mathworks Inc., 1992.
Acknowledgements 9. Similowski T, Bates JHT. Two-compartment modelling of re-
spiratory system mechanics at low frequencies: gas redistribu-
Specified examples here are based on m e a s u r e d data tion or tissue rheology? Eur Respir J 1991; 4: 353-8.
from critical care patients in I C U of the Friedrich 10. Hess D, Tabor T. Comparison of six methods to calculate air-
way resistance in adult mechanically ventilated patients. Crit
Schiller University in Jena and the Medical Depart-
Care Med 1992; 20(4): 27.
m e n t of the University of Technology in D r e s d e n as 11. Lender C, Morgenstern U. PC-gestfitztes Beatmungsmonitor-
our research partners. hag - arztgerechte Software fiat die Forschung. Wiss Zeitsehr
TU Dresden 1992; 5: 91-3.
12. Krause A.EntwurfundRealisierung einer grafischenBenutzer-
oberfl~tcheffirein Computerprogramm zur Simulation der Res-
piration beim intubierten Patienten. Diplomarbeit. Dresden:
Techniscbe Universit~t, 1992.
!3. Winkler T. Entwurf und Realisiemng eines mathematischen
Mehrkompartirnentmodells zur Beschreibung yon Lungen-
mechanik, Gasaustauseh und Metabolismus intubierter Patien-
ten: Diplomarbeit. Dresden: Technische Universifftt,1992.
14. Winkler T. ReSiMo - Ein respiratorisches Simulationsmodell.
Bi0med Technik 1993; 38: 373-4.