Professional Documents
Culture Documents
Modeling and Simulation of Respiratory Response in Mechanical Ventilation
Modeling and Simulation of Respiratory Response in Mechanical Ventilation
Abstract. This paper presents the modeling and simulation of a patient under mechanical
ventilation as a base to simulate an automatic closed system of endotracheal aspiration. The
mathematical model of the respiration biomechanics during mechanical ventilation presented
makes it possible to simulate artificial ventilation controlled by volume allowing the
parameters determination of the regime for each particular patient. This model showed
variability and reproducibility capacity against changes on inspired volumes and respiratory
frequencies that mimics the equipment and patient changes with small changes on the input
airflow. On the other hand the model allows simulating different degrees of endothracheal tube
obstruction characterizing the physical changes that occurs in the different ventilator-patient
system. The overall result suggests that this model can be used to improve ventilator’s control
system design including the simulation of the automatic closed system of endotracheal
aspiration. It is important to note that the use of the proposed mathematical model makes it
possible to solve the problem of optimizing the mechanical ventilation process completely only
in combination with other parts of a general mathematical model describing gas exchange,
geodynamics, and other necessary subsystems.
Dánely Velázquez and Rubén D. Rojas
1 INTRODUCTION
The act to breathe is synonymous to live, no other physiological function has been so
closely related to the life, the disease and the death as breathing, from which the necessity
arises from the use of mechanical respirators that are created devices to imitate the respiratory
function when this is it risk [1]. For this reason the importance for the improvement and the
optimization in the operation of these devices are evident. This work presents modeling and
simulation of patients under mechanical ventilation included in a proposal directed towards the
improvement of the systems of control of the mechanical ventilator and the incorporation of
Endotracheal Aspirator Automatic Closed System (SCAAE).
2 BASIC CONCEPTS
The study of the breathing mechanics is fundamental aspect for the elaboration of the
model: understanding of breathing mechanics, the resulting forces that maintain and move the
lung and the chest wall and of the resistance that must surpass the flow [2]. The respiratory
system exhibits properties of resistance, compliance and inertance, analogs to the electrical
properties of resistance, capacitance and inductance [3]:
2.1 Compliance
The elasticity or elastance is defined as the index of ability of a substance to resist to the
deformation by stress. In terms of pressure and volume the elasticity is defined as the
proportion of the change of pressure with respect to the change in volume. Compliance is the
opposed of elasticity; compliance is the ratio of change in volume to the change of pressure. In
pulmonary physiology, compliance is used to describe to the elastic properties of the lungs and
the chest wall. In the form of an equation it is defined by [4]:
V
C (1)
P
Where V = change in volume in liters
P = change in pressure in cm H2O
C = compliance in L/ cm H2O
The normal value for compliance is 0.1 L/ cm H2O for a spontaneously breathing.
Compliance used to represent standard conditions for a patient on controlled ventilation is 0.05
L/ cm H2O [4].
2
Dánely Velázquez and Rubén D. Rojas
PM PA
RAW (2)
Q
3
Dánely Velázquez and Rubén D. Rojas
Pc Ec (Qp QL)dt (4)
The endotracheal tube links flow between patient circuit, Y piece and the patient’s upper
airway [5]. The diameter of this tube is smaller than the diameter of the airway, reason to the
positioning of this tube increases the resistance throughout the airway, and a standard value of
resistance of airway in mechanical ventilation of 6 cm H2O/L/s is assumed [4]. The size of the
diameter of the tubes goes of 2,5 up to 9 mm, according to the age of the patient. Considering a
nonlinear relation and that the flow through endotrácheal tube is bidirectional [5] (eq. 5):
The dynamics of the operating device and/or the flow feedback loop should be included.
This is most often a DC motor stepper motor. The equation describing a flow supply valve (eq.
6) [5]:
Qv KvHi(s) (6)
For this valve the model can be written using a parabolic relationship between differential
pressure and flow. Assuming atmospheric pressure is constant the expression for the exhalation
valve can be written as a function of pressure circuit. As in the flow supply valve the dynamics
of the operating device are expressed in equation 7 [5]:
QE Ao ( ) Pc .He( s) (7)
3.6 Lungs
The lungs are in a compartment with flexible walls that expand significantly when a
volume is introduced, the lungs follow a nonlinear relationship, showing to this relationship
between pressure and volume an “s” curve form. The lungs are locked up in a cavity between
the parietal and visceral pleura. The operating diaphragm and its muscles cause that the
pressure inside de chest falls below the atmospheric pressure, producing a pulmonary
expansion and the low air through the trachea until arriving at the alveoli. The degree of
elasticity of the lungs with respect to the stretching of muscles of the diaphragm makes the
ability effective of the patient to drag a suitable volume of gas. For linear pulmonary
compliance the equation can be written [5]:
4
Dánely Velázquez and Rubén D. Rojas
PL EL QLdt PM (8)
The pressures system detection was constructed based to the equation of motion for the
respiratory system:
Vol
presión flow * raw (9)
compliance
5
Dánely Velázquez and Rubén D. Rojas
4 METHODOLOGY
In this stage, firstly a mechanical ventilator of the existing ones in the Hospital
Universitario de Los Andes (HULA) was chosen that satisfied criteria imposed for their
selection (operated by microprocessor, clinical versatility, uses, etc.) Soon as analyzed
literature models existing to adapt them to our case of study.
The obtained model was implemented using Matlab/Simulink® and considering the
dynamic equations of each component of the model, varying the parameters to value its
capacity to simulate pathological situations.
For the model validation additionally to data reported in literature and 20 adult patients
were evaluated from both sexes, without pulmonary pathology, connected to mechanical
ventilation with a ventilator of the type previously chosen, in mode controlled volume, under
this operation mode, the patient does not have any control on the ventilatory process is the
mechanical ventilator which assume this function and the change of inspiratory to exhalatory
phase is made when it reaches the volume that the operator indicated to device [4]. The data
was collected provided by the ventilator every 4 minutes until completing 30 observations by
patient for later confrontation and comparison with the generated by the model.
It was made based to Poiseuille equation, who demonstrates, if the radius is reduced to half,
the fall of pressure throughout the tube is 16 times greater than the initial.
8 L
R (10)
r 4
5 RESULTS
a) After bibliographical revision of models and selection of the ventilator (Servo 900C), the
model was constituted by 6 elements finally (bellows, flow supply valve, exhalation valve,
patient circuit, endotracheal tube, lungs, pressures system detection: peak inspiratory
pressure, plateau pressure, mean airway pressure.
b) The obtained model was implemented in Simulink® and as simulations was made to
verify their capacity to reproduce situations whose physiological response is well-known,
as comparing their response with the obtained experimentally.
6
Dánely Velázquez and Rubén D. Rojas
c) The model turned out valued to simulate the normal response of a patient under
mechanical ventilation as being varied the parameters and valuing its physiological
repercussion according to data of literature. In order to make the validation with patients
introduced the real data collected of respiratory rate and tidal volume, as well as the
parameters as work pressure of the ventilator, in each case, the model was implemented for
a equal time to the collecting data. (116 minutes). The results was introduced in a table
then were compared by means of ANOVA with the real data for each one of the patients,
accepting themselves that significant differences between the two populations of values do
not exist. In figure 1 it is possible to be observed as the response of peak inspiratory
pressure, plateau pressure, mean airway pressure for the SVMP reproduce the normal
physiological response.
(a) (b)
(c) (d)
Figure 1 Graphs of a) Pressure into patient circuit, b) Pulmonary flow c) pulmonary pressure. D). peak
inspiratory pressure, plateau pressure
d) Simulation airway obstruction: Based on equation 10, it was added in the mean airway
pressure subsystems, the equation of Poiseuille to demonstrate the effect of diameter
reduction, in this case, the shown data correspond to a reduction of 55% of the diameter of
the airway and its repercussion in the rest of the system. (Fig 2 and 3)
7
Dánely Velázquez and Rubén D. Rojas
(a) (b)
(c) (d)
Figure 3 Graphs of a) peak inspiratory pressure, plateau pressure, b) Pulmonary flow c. pulmonary
pressure d. patient circuit pressure. In case of radius obstruction of 55% the endotracheal tube.
6 CONCLUSIONS
The obtained mathematical modeling showed to be been worth to simulate the respiratory
response in a connected patient to mechanical ventilation. Which allows knowing the changes
and their repercussions physiological when the parameters of the ventilator are modified, in
addition that allows studying parameters that are not shown in a ventilator of the available ones
commercially; being an essential tool in the design and simulation of the SCAAE when it
happens an obstruction of the airway.
The present model has the limitation of which single it predicts the conduct of patients who
perform the criteria of inclusion in the work (adult, without pulmonary pathology, connected to
mechanical ventilation with a Servo ventilator 900C, in way controlled volume), this limitation
this related to the own characteristics of the mechanical devices of each ventilator, which
causes that the dynamic equations vary in each case.
REFERENCES
[1] Caminal P. (2004) La ingeniería de sistemas y automática en la Bioingeniería. UPC
Universidad Politécnica de Cataluña. España
[2] Best y Taylor. Bases Fisiológicas de la Práctica Médica. Editorial Panamericana. Argentina.
Décimo Primera Edición. 16: 379 – 382. 1986.
[3] Bronzino Joseph. Principles of engineer biomedical. New York, CPR Press. 1995
[4] Dupis Yvon. Ventilators. Mosby Year book, St. Lois. 1992
[5] Borrello M. (1997). Biomedical systems: modeling and simulation of lung mechanics and
ventilator controls design. VisSim, tutorial series. Boston.
[6] Kerner Daniel. Solving Windkessel Models with MLAB http://www.civilized.com/
(acceso Enero 2005)