You are on page 1of 5

Proceedings of the 2005 IEEE

Engineering in Medicine and Biology 27th Annual Conference


Shanghai, China, September 1-4, 2005

A Simple Cycle-Averaged Model for Cardiovascular Dynamics


Tushar A. Parlikar and George C. Verghese
Laboratory for Electromagnetic and Electronic Systems
Massachusetts Institute of Technology, Room 10-015, Cambridge, Massachusetts 02139
Telephone: (617) 2530207; Fax: (617) 2586774; Email: parlikar@mit.edu

Abstract Lumped-parameter time-varying electrical circuit


150

Pressure (mm Hg)


analogs for cardiovascular systems are frequently used in com-
putational models for simulating and analyzing hemodynamics. 100
These pulsatile models provide details of the beat-by-beat or ABP
50
intracycle dynamics. In other settings, however, such as when CycleAverage ABP

tracking a hospital patients hemodynamic state over time, it is 0


2 4 6 8 10 12 14
more useful to track trends in the intercycle dynamics. In this LVP
paper, we apply a cycle-averaging method to a simple pulsatile CycleAverage LVP
150

Pressure (mm Hg)


cardiovascular model to derive a cycle-averaged model for
cardiovascular dynamics. The resulting cycle-averaged model 100

captures the intercycle dynamics with relatively small approxi- 50


mation errors for a large range of perturbations in parameters
such as systemic vascular resistance. 0
2 4 6 8 10 12 14
Time (s)

I. I NTRODUCTION
Fig. 1. Response of a pulsatile cardiovascular model to a step change in
The goal of this paper is to study a cycle-averaged model systemic vascular resistance.
for cardiovascular dynamics, derived from a simple pulsatile
cardiovascular model. Pulsatile models of the cardiovascular
system have been used since the 1960s in both teaching and for the simple pulsatile cardiovascular model in Section IV.
research, and capture the temporal features of the hearts Simulation results obtained using this cycle-averaged model
pumping action during the cardiac cycle. are presented and evaluated in Section V.
Cycle-averaged models, on the other hand, are effective in
representing dynamics that occur over longer time scales, and II. C ARDIOVASCULAR C IRCUIT M ODELS
are much used in fields such as power electronics [1]. In these One particularly convenient method of representing the
models, only the short-term cycle-averages (i.e., averages cardiovascular system is to use lumped-parameter electrical
over one cycle) of the relevant variables are tracked, instead circuit analogs for the different vascular segments. The elec-
of their intracycle variations. Such models are normally more tric circuit analogs for cardiovascular variables are: current
computationally efficient than their pulsatile counterparts I for flow, voltage V for pressure, ideal diodes D for heart
because the details of the waveforms within each cycle are valves, resistance R for valvular or vascular resistance to
ignored. flow, charge Q for volume, inductance L for inertia, and
Figure 1 shows the pulsatile arterial blood pressure (ABP) capacitance C for compliance. Elastance, E, is defined as
and left ventricular pressure (LVP) waveforms, along with the inverse of capacitance or compliance. Circuit analogs for
their calculated cycle-averages from a simulation of a pul- the ventricles in the heart and peripheral circulation compart-
satile model of the cardiovascular system. In order to capture ments can easily be combined to create lumped-parameter
the transient changes in ABP or LVP, it would for many cardiovascular circuit models, such as the cardiovascular
purposes suffice to capture their cycle-averages, and in order simulator [3]. In this paper, we ignore the effects of inertia
to represent these cycle-averages dynamically, we need a in the blood flow.
cycle-averaged model. The model we propose here, the simple pulsatile car-
Previous work on cycle-averaged cardiovascular models diovascular model or the pulsatile model as we refer to it
(see [2]) used a piecewise constant ventricular elastance, hereafter, has a single ventricular compartment. This model
which led to unrealistic waveforms in the pulsatile model. is justified for use mainly in simulating systemic vascular
Furthermore, the cycle-averaged model was derived there in disease conditions such as hemorrhaging in the peripheral
a less general way. circulation. Figure 2 illustrates the circuit representation for
The outline of this paper is as follows. In Section II, the pulsatile model, where Ca is the arterial compliance,
we describe the simple pulsatile cardiovascular model to Cv is the venous compliance, Ch (t) is the time-varying
which we apply the cycle-averaging methodology. After ventricular compliance, R1 is the inflow resistance to the
giving some background on cycle-averaging methodology ventricle, R2 is the outflow resistance from the ventricle, and
in Section III, we derive a cycle-averaged representation R3 is the total peripheral resistance. The voltage Vh is the

0-7803-8740-6/05/$20.00 2005 IEEE. 5490


I3
1

s1(t)
R3 0.5
I1 I2 0
1 3 2 D 0 0.2 0.4 0.6 0.8 1
Vv Va
R1 1
R2

s2(t)
Vh 0.5
Vi Vo
Cv Iv Ch(t) Ih Ia Ca 0
0 0.2 0.4 0.6 0.8 1
1

s3(t)
0.5
0
Fig. 2. The simple pulsatile cardiovascular model uses a 3-way switch 0 0.2 0.4 0.6 0.8 1
which allows for simpler analysis of the circuit. Vi and Vo are defined here 1

sD(t)
for future reference. 0.5
0
0 0.2 0.4 0.6 0.8 1
Parameter Value in pulsatile model t Time (s)
R1 0.01 mmHg/(ml/s) D

R2 0.03 mmHg/(ml/s)
R3 1 mmHg/(ml/s) Fig. 3. Switching functions for the 3-way switch and diode in the pulsatile
Ca 2 mmHg/ml model for T =1 s.
Cv 100 mmHg/ml
Ed 0.1 ml/mmHg
150
Es 2.5 ml/mmHg III IV V

Pressure (mm Hg) or Elastance (mm Hg/ml)


II
Va (0) 91.2281 mm Hg
h
I
Vv
Vv (0) 15.0337 mm Hg
Va
Qh (0) 127.383 mm Hg
100
T 1s Eh*20

TABLE I
S UMMARY OF PARAMETERS FOR THE PULSATILE MODEL .
50

ventricular pressure (VP), Vv is the central venous pressure 0


0 0.2 0.4 0.6 0.8 1
(CVP), and Va is the arterial blood pressure (ABP). The Time (s)

ventricular volume is Qh .
Fig. 4. Waveforms generated over a single cycle of the pulsatile model
The elastance function Eh (t)=1/Ch (t) for the ventricle is for T =1 s. This circuit has four regions of operation.
represented as a piecewise linear function given by:
3(Es Ed ) Region Switch Position Diode State

t + Ed for 0 t T3 I (contraction) 2 Off


T
II (ejection) 2 On
III (expansion) 3 Off
Eh (t) = 6(Es Ed ) T
( 3 t) + Es for 3 t 2
T T
IV (filling) 1 Off

T


TABLE II
2 tT
T
Ed for D EFINITION OF THE 4 REGIONS IN THE PULSATILE MODEL .
(1)
where T is the duration of the cardiac cycle, Es is the end-
systolic elastance, and Ed ( Es ) is the end-diastolic elas-
tance. Such a time-varying elastance function approximates sponding directly with the four periods of the cardiac cycle:
human data quite well [4]. contraction (I), ejection (II), expansion (III), and filling (IV),
The parameters used in the pulsatile model, including the as shown in Fig. 4. The four regions are determined by the
initial conditions for our simulations, are shown in Table I. position of the switch and the state of the diode, as shown
These parameters represent typical values for a 70 kg male in Table II.
human [5], and when used with (1), result in reasonable With the switching functions described above, and with
approximations of the pressure waveforms during the cardiac Qh (=Vh /Eh ), Va and Vv as state variables1 , we have a
cycle. state-space description for the pulsatile model given by:
We can define switching functions for the switch and dQh s1 (Vv Eh Qh ) sD (Va Eh Qh )
diode in the pulsatile model. Figure 3 shows these switching = + (2)
dt R1 R2
functions for T =1 s, where: s1 (t) equals 1 when the switch dVa sD (Eh Qh Va ) (Vv Va )
is in position 1, and 0 otherwise; s2 (t) equals 1 when the Ca = + (3)
dt R2 R3
switch is in position 2, and 0 otherwise; s3 (t) equals 1 when
dVv s1 (Eh Qh Vv ) (Va Vv )
the switch is in position 3, and 0 otherwise; and sD (t) equals Cv = + (4)
1 when the diode D is conducting (between t=tD and t= T3 dt R1 R3
), and 0 otherwise. 1 Q is used as a state variable instead of V because it ensures smaller
h h
The pulsatile model has four regions of operation, corre- numerical errors as the term dC
dt
h
does not appear in the state-space model.

5491
where the parameters p={R1 , R2 , R3 , Ca , Cv } are fixed, and discrete convolution formula for the product of two polyno-
we have dropped the time argument t for notational simplic- mials [7]:

ity. More compactly, we can write:
xyk = Xkm Ym (10)
d
x = A(s1 , sD , p)x (5) m=
dt
where we have dropped the time argument t from the
where x is the vector of state variables. expression for notational simplicity. If x(t) or y(t) can be
For realistic simulations involving many heart cycles, one approximated well by its index-0 cycle-average only (which
would also have to wrap around this model the various is the case if it has low relative ripple2 ), (10) simply reduces
feedback control mechanisms that regulate blood pressure, as to:
done in [5]. However, since these mechanisms act on time
xy0 X0 Y0 . (11)
scales of a heart cycle or longer, and since they typically
use cycle-averaged, rather than instantaneous (or pulsatile), The index-k cycle-average of the product of three signals,
quantities as their inputs, it is not necessary to model them x(t), y(t), and z(t), can be obtained by applying the discrete
for purposes of deriving a cycle-averaged model. Instead, convolution relationship (10) to (x(t)y(t))(z(t)). To write
once a cycle-averaged model has been obtained, the various real-valued expressions for the complex-valued expressions
control loops can be wrapped around it. that result from using (10), we can use the fact that for any
signal x(t), Xk and Xk are complex conjugates. Therefore:
III. C YCLE -AVERAGING T ECHNIQUES

In this section, we give some background on cycle- Xk = XkR + jXkI = Xk = (XkR jXkI ) (12)
averaging techniques [6]. A signal x() has a complex Fourier
series representation [7] on the interval [t T, t] that can be where R and I denote real and imaginary parts, and denotes
written as complex conjugation.

 In our application, we can neglect many of the Fourier
2
x( ) = Xk (t)ejk T (6) series coefficients, making both (10) and its extension to the
k= product of three signals much simpler to apply. For example,
for [t T, t]. The Xk (t) are the complex Fourier series assuming only the index-0 and index-1 cycle-averages are
coefficients, also referred to as the index-k averages and thus significant, we have that:
denoted by xk (t). These complex coefficients are given by:
xy0 = X0 Y0 + 2(X1R Y1R + X1I Y1I ) . (13)

1 t 2 xyR = X 0 Y1 + X1 Y0 .
R R
(14)
Xk (t) = xk (t) = x( )ejk T d (7) 1
T tT xyI1 = X0 Y1 + X1 Y0 .
I I
(15)
thanks to the orthogonality properties of the basis functions xyz0 = X0 yz0 + 2(X1 yz1 + X1 yzI ) .
R R I I
2
{ejk T } on an interval of length T . If x() were actually (16)
periodic with period T , then the Xk (t) would be constants,
xyzR
1 = X0 yz1 + X1 yz0 + X1 (X1 Y1
R R R R R
independent of t. For waveforms that deviate only slowly
and/or slightly from such periodicity, the Xk (t) will have X1I Y1I ) X1I (X1R Y1I + X1I Y1R ) . (17)
only slow and/or slight departures from constant values, and xyzI1 = X0 yzI1 + X1I yz0 + X1I (X1R Y1R
this fact can be exploited when making modeling approxi- X1I Y1I ) + X1R (X1R Y1I + X1I Y1R ) . (18)
mations.
From (7), with k=0, we obtain the standard formula for To obtain a cycle-averaged model, one can simply apply
the cycle-average of the variable x(t), namely: the formulae derived in this section to a state-space model.
 Note that linear and time-invariant circuit elements, such as
1 t
X0 (t) = x( ) d. (8) Ca and Cv , are not affected by the cycle-average operator.
T tT If we represent circuit variables by their index-0 and index-1
This index-0 cycle-average is simply the dc term in the cycle-averages, but keep the index-1 cycle-averages constant,
Fourier series (6). It is also the short-term average of the we end up with what we shall call an index-0 cycle-averaged
variable x(t) that we wish to track in our cycle-averaged model.
models. In the cardiovascular circuit models where we apply
these expressions, T is simply the length of the cardiac cycle. IV. T HE I NDEX -0 C YCLE -AVERAGED M ODEL
By differentiating (7), we easily obtain an expression for To obtain an index-0 cycle-averaged model from the
the derivative of the index-k cycle-average: pulsatile model, we first need to approximately express the
d dx 2 index-0 cycle-average SD 0 of the switching function sD for
Xk (t) = jk Xk (t) . (9) the diode D in terms of cycle-averages of Va , Qh , and Vv .
dt dt k T
The index-k cycle-average of the product of two signals, 2 Relative ripple is defined as the maximum peak-to-peak variation of a
x(t) and y(t), is given by the well-known and easily verified waveform divided by its average value.

5492
<I3>0
Such an approximation can be obtained on examination of
the relevant waveforms, and is given by: R3
  <I1>0 <I2>0
T Ed Va0 <Vv>0 <Va>0
SD 0 = 1 . (19) R1 <Ih>0 R2
3 3(Es Ed ) Vv 0 Cv <Iv>0 C h,eff <Ia>0 Ca
<Vi>0 <I2>0 <Vo>0
To derive an index-0 cycle-averaged model, one needs <I1>0
Vv,off Vh,off Va,off
to find nominal values at which to fix the index-1 cycle
averages, and justify that the index-2 and higher cycle-
averages can be neglected. From simulations of the pul-
satile model, we have justified the latter assumption. We Fig. 5. Index-0 Cycle-Averaged Model with two-voltage dependent voltage
then numerically calculated these index-1 cycle-averages sources and two current-dependent voltage sources.
using steady-state Fourier series representations of all the
hemodynamic waveforms and switching functions from our
simulations. The steady-state pulsatile model waveforms we cycle-averaged circuit is the same as the total charge in the
used were obtained from simulations with the parameters in pulsatile model circuit.
Table I. The results of this exercise are shown in Table III. Initially, the parameters p in C and d are set to the values
Since s1 (t) is half-wave symmetric, it has no index-m cycle- that appear in Table I, which we shall call the parameter
averages for m even (m 2). set pnom . To start the cycle-averaged model in steady state,
the initial conditions X0 (0) for the index-0 cycle-averaged
Variable 0 R
1 I1 R
2 I2 model are set equal to the calculated cycle-averages of the
Vv 15.23 0.0866 0.0333 0.0179 0.0085 steady-state (ss) simulated waveforms, xss , of the pulsatile
Va 100.54 4.908 3.594 1.912 0.8346
Qh 88.12 18.477 10.518 2.033 2.524
model using the parameters pnom .
Eh 0.7000 0.0912 0.4738 0.2052 0.1185 Due to truncation error in the Fourier series approxima-
s1 0.5000 0.0001 0.3183 tions leading to (21), however, setting X0 (0)=xss in the
sD 0.2511 0.0592 0.2180 0.1373 0.0805
index-0 cycle-averaged model leads to a non-zero value
TABLE III for C(S10 , SD 0 (0), pnom )xss + d(S11 , SD 1 , X1 , pnom ) in the
VALUES FOR THE CYCLE - AVERAGES IN STEADY STATE . index-0 cycle-averaged model. This violates the assumption
that the circuit starts in steady state. To correct for this
truncation error, we can subtract a fixed correction term:
Using the values listed in Table III and applying the cycle-
average operators from the previous section to (2-4), we e = C(S10 , SD 0 (0), pnom )xss + d(S11 , SD 1 , X1 , pnom )
obtain an index-0 cycle-averaged model: (22)
from the right side of (21). The index-0 cycle-averaged
Q (t)
d d h0 model we propose is then given by:
X0 (t) = Va0 (t)
dt dt d
Vv 0 (t) X0 (t) = C(S10 , SD 0 (t), p)X0 (t)+d(S11 , SD 1 , X1 , p)e.
s E Q  dt
(23)
1 Rh1 h 0 sD ERh2Qh 0 + sDRV2a 0 + s1RV1v 0
sD Eh Qh 0 We can also construct a circuit model that captures the
= R1 Ca (RR2 +R 3 )Va 0
2 R3 Ca
+ RV3vC0a (20) dynamics of the index-0 cycle-averaged model using voltage-
s1 Eh Qh 0 Va 0 s1 Vv 0 Vv 0
R1 Cv + R3 Cv R1 Cv R3 Cv dependent voltage sources and current-dependent current
sources. Such an index-0 cycle-averaged circuit is shown in
where the time argument t has again been dropped from the
Fig. 5. In this circuit, the average compliance for the left
last matrix for notational simplicity. Assuming that the index-
ventricle, Ch,ef f , is equal to 1/Eh0 (see [2] for a derivation),
0 cycle-averages are dynamic, that the index-1 cycle-averages
and the sources Vv,of f , Vh,of f , and Va,of f are introduced to
are static, and that the index-2 or higher cycle-averages are
take the correction term e in (23) into account. Using Vi and
negligible, we can rewrite (20), using (13)-(18), as:
Vo from the circuit in Fig. 2, we can write:
d
X0 (t) C(S10 , SD 0 (t), p)X0 (t) + d(S11 , SD 1 , X1 , p) Vi0 = S10 Vh0 + (1 S10 )Vv 0 + Ki (24)
dt
(21)
Vo0 = SD 0 Vh0 + (1 SD 0 )Va0 + Ko (25)
where C(S10 , SD 0 (t), p) is dependent on the index-0 cycle-
averages of the switching functions and the parameters p, where Ki and Ko are constants that are introduced from the
and where d(S11 , SD 1 , X1 , p) is dependent on the index-1 (fixed) index-1 cycle-averages of sD , Vh , Va , and Vv .
cycle-averages of the switching functions, the index-1 cycle-
averages X1 , and the parameters p. V. R ESULTS AND D ISCUSSION
Note that for fixed values of period T and parameters p, Using the index-0 cycle-averaged model (23), we obtained
d is constant. Furthermore, the state variables in this cycle- simulation results from a typical transient response to step
averaged model are the index-0 cycle-averages of the state changes in R3 , the systemic vascular resistance. Figure 6
variables in the pulsatile model. The total charge in this shows the transient responses of the index-0 cycle-averaged
5493
[2] T. Heldt, J. L. Chang, J. J. S. Chen, G. C. Verghese, and R. G. Mark,
150
Cycle-averaged dynamics of a periodically driven, closed loop circu-
lation model, Control Engineering Practice vol. 13, no. 9: pp. 1163
125
1171, 2005.
[3] T. L. Davis and R. G. Mark, Teaching physiology through interactive
simulation of hemodynamics, in Proceedings of the IEEE Computers
100
in Cardiology, pp. 649652, September 1990.
[4] H. Senzaki, C. H. Chen, and D. A. Kass, Single-beat estimation of
Pressure (mm Hg)

Calculated CycleAverage ABP


ABP from CycleAveraged Model end-systolic pressure-volume relation in humans, Circulation, vol. 94,
75
Calculated CycleAverage VP pp. 24972506, 1994.
VP from CycleAveraged Model
Calculated CycleAverage CVP
[5] T. Heldt, Modeling of the cardiovascular response to orthostatic stress.
CVP from CycleAveraged model PhD Thesis, Division of Health Sciences and Technology, MIT, Septem-
50 ber 2004.
[6] V. A. Caliskan, G. C. Verghese, and A. M. Stankovic, Multi-frequency
averaging of dc/dc converters, IEEE Transactions on Power Electron-
25 ics, vol. 14, pp. 124133, January 1999.
[7] G. P. Tolstov, Fourier Series. Dover Publications, Inc, 2nd ed., 1976.
Translated by R. A. Silverman.
0
5 10 15 20 25 30 35 40 45 50 55 60
Time (s)

Fig. 6. Transient responses of the index-0 cycle-averaged model for several


step changes in peripheral resistance R3 . At t=15 s, R3 was stepped up to
1.4 units, at t=30 s, R3 was stepped down to 1 unit, and at t=45 s, R3
was stepped down to 0.6 units.

model for T =1, during three step changes in systemic vas-


cular resistance R3 : at t=15 s, R3 was stepped up to 1.4
units; at t=30 s, R3 was stepped down to 1 unit; and at
t=45 s, R3 was stepped down to 0.6 units. These values
of R3 are on the order of 30-40% of the largest deviations
expected in humans. In Fig. 6, the index-0 cycle-averaged
model responses are compared to the calculated index-0
cycle-averages from the pulsatile model. The maximum error
in the steady-state cycle-averaged waveforms for the ABP,
VP, and CVP, was approximately 9%, which is acceptable
for the applications we have envisioned for this model.
VI. C ONCLUSION
In this paper, we applied a cycle-averaging method to
a simple pulsatile cardiovascular model to derive a cycle-
averaged model for cardiovascular dynamics. In ongoing
work, we are applying this cycle-averaging methodology to
more complicated models of cardiovascular dynamics, with
the aim of modularly combining our index-0 cycle-averaged
model with more index-0 cycle-averaged compartments to
form a larger index-0 cycle-averaged model. The inclusion
of feedback control loops around the index-0 cycle-averaged
model will also be tackled.
ACKNOWLEDGMENTS
This publication was made possible by Grant Number 1
RO1 EB001659 from the National Institute of Biomedical
Imaging and Bioengineering. Its contents are solely the
responsibility of the authors and do not necessarily represent
the official views of the NIBIB or the National Institutes of
Health. The authors also wish to thank Dr. Thomas Heldt and
Carlos Renjifo for comments on the work and the paper.
R EFERENCES
[1] G. C. Verghese, Dynamic modeling and control in power electronics,
pp. 14131424. The Control Handbook, Boca Raton: IEEE Press, 1996.

5494

You might also like