 Research
 Open access
 Published:
Particle filterbased robust adaptive control for closedloop administration of sodium nitroprusside
Journal of Computational Surgery volume 1, Article number: 8 (2014)
Abstract
Abstract
Automatic closedloop administration of medicinal drugs has been the subject of intense research for decades due to its undisputed potential benefits in terms of cost savings and improved patient outcomes. However, concerns still exist about the ultimate safety of engineered feedback controllers. Manual methods remain dominant in clinical practice. In this context, we present a novel feedback control architecture, which combines multiple robust controllers with a particle filterbased method for realtime tracking of a patient’s doseresponse characteristic. The proposed method is applied to the case of the drug sodium nitroprusside, a vasodepressor used in the treatment of acute hypertension in intensive care and surgery, which is modelled as having a lineartimevarying doseresponse characteristic. Our design takes into account the uncertainty in the patient response parameters, as well as potential nonzeromean disturbances in the baseline arterial pressure and several possible time trends in the variation of the doseresponse model. The performance and safety of the new approach are evaluated through an extensive computational simulation campaign. The results show that the proposed system can achieve adequate and safe feedback control of mean arterial pressure, thus validating our analysis and design. Our findings also highlight the fundamental  and possibly clinically overlooked  role of system excitation in ensuring that successful simultaneous identification and control of timevarying drug administration systems can be achieved.
Background
In many clinical settings, the administration of suitable medicinal drugs is required to maintain important biological signals within an acceptable range. Unfortunately, significant variability exists in the way different patients respond to the same drug dose (interpatient variability), and variations can even occur in the response of one individual over time (intrapatient variability). Appropriate dosing of drugs characterised by a narrow range of therapeutic concentrations and high variability in the response is therefore a challenging task. In these cases, dose titration protocols are followed, by which clinical operators administer an initial drug amount, generally according to population statistics (e.g. age, gender, height, weight,...), followed by close monitoring and periodic manual adjustment of the dose on the basis of the clinical observations. This manual form of closedloop regulation is prone to human error [1] and can be very timeconsuming in clinical environments where timely intervention and/or staff levels can be an issue. In this context, the successful development of safe and effective automatic control methods could bring the significant benefits of improved patient outcomes and better allocation of clinical resources [2].
Over the last 30 years, much research has been devoted to the development of strategies for closedloop feedback control of drug administration for a variety of applications, including control of haemodynamics, insulin for diabetes management, chemotherapy, anaesthesia and neuromuscular blockade [3–5]. Remarkably, despite promising results in clinical research publications, closedloop methods for automatic drug administration have not yet been embraced by the medical community, and manual control remains, to date, the standard of care in the clinical setting. Indeed, leading scholars in the field have recently acknowledged that “Success in the development of [...] closedloop biomedical devices, will be contingent on the development of robust, verifiable advanced control algorithms”[6]. This suggests that insufficient guarantees of system robustness may be a key reason  in terms of risk assessment considerations  underpinning clinicians’ continued preference for manual methods.
This paper considers the specific problem of intravenous infusion of the drug sodium nitroprusside (SNP). The SNP case study typifies research into closedloop drug administration. SNP is a fastacting vasodepressor used in the treatment of acute hypertension in intensive care and surgery patients. The drug is highly effective in reducing mean arterial pressure (MAP); however, incorrect dosing may lead to undesired hypotensive peaks or metabolic toxicity [7], hence the interest in reliable automatic drug dosing. Following the clinical validation of a doseresponse model by Slate [8], administration of SNP was the subject of intense research during the 1980s and 1990s, and a wide range of control engineering approaches were proposed, including selftuning regulators [9], model reference adaptive control [10], multiple model adaptive control [11, 12], fuzzy control [13] and model predictive control [14] (see [15] for a review). A commercial device (IVAC titrator; IVAC Medical Systems, Inc., San Diego, CA, USA) developed for SNP titration in intensive care applications reported success in clinical trials [16] but was never successfully marketed (as discussed in [17]). To the best of our knowledge, the automatic management of MAP through SNP and other drugs remains to this day an experimental pursuit.
The work herein presents a novel approach to the control of automatic infusion of SNP with a strong focus on robustness. The proposed methodology is an extension of an earlier approach which featured multiple robust feedback controllers designed with μ synthesis [18] and used Kalmanfilterbased estimators [19] to determine controller selection in the context of a robust multiple model adaptive control architecture [20]. While retaining the same robust controllers as the previous work, the new approach uses particle filtering to generate an estimate of the doseresponse characteristic in real time and exploits the estimation result to inform appropriate feedback control. The new method has been named Robust Adaptive Control with Particle Filtering (RACPF) and we have reported on a nonclinical case study featuring this architecture in [21], where we positively compared the performance of RACPF with that of a Kalmanfilterbased approach. We deem particle filters to be better suited to the estimation of systems characterised by timevarying parameters, nonGaussian disturbances and even nonlinearities, such as pharmacokineticpharmacodynamic systems [22]. As a more general estimation tool, particle filtering allows us to remove undesirable ad hoc filter adaptations present in our earlier work. The resulting architecture can be readily transposed to other applications as required. This article provides an overview of the main characteristics of RACPF and reports on an extensive computational simulation campaign designed to assess the viability of the new methodology and its effectiveness in delivering safe automatic feedback control of SNP infusion for a broad range of response characteristics and disturbances.
The manuscript is structured as follows: the Methods Section comprises of three subsections detailing the SNP doseresponse model, the proposed RACPF control architecture, and the characteristics of the computational simulations, respectively; the Results Section reports on the outcomes of the simulation campaign; finally, the Discussion and Conclusion Sections comment on the results and the potential of the proposed approach, and outline future research directions.
Methods
Model and problem description
Doseresponse model
The doseresponse model for a patient receiving SNP is shown in Figure 1. The system, taken from [12], is a variation of the experimentally validated model of [8]. Patient response is modelled as three interconnected firstorder linear, timeinvariant compartments representing the systemic and pulmonary circulation and the drug effect site. In transfer function form, the dynamic behaviour of the system is given by:
and the output is given by the affine transformation
The three system parameters are deemed uncertain and a priori unknown: K, T and α. These represent the sensitivity in the patient’s response, the recirculation fraction and the input time delay, respectively. The allowed ranges for the values and the rates of change of the parameters were chosen so as to render a very general formulation for the problem. Parameter variability has been considered to the best of the knowledge available in the literature, and further details on the assumed parameter ranges and allowable rates of change are discussed in [19]. A summary is provided below (note: the model assumes a drug concentration of 200 µg/ml):
The offset term p_{0} (t) is also treated as potentially timevarying in the interest of generality. As p_{0} (t) represents a patient’s underlying MAP, it is modelled here as a mainly lowfrequency signal, given by the combination of its measurable value at t = 0 and an arbitrarily shaped but frequencydomainbounded component, which we will refer to as baseline disturbance p_{dist}(t):
Thus, p_{0} (t = 0) can be regarded as a known fixed offset at the output, while the disturbance component can be treated as part of the state as shown in the following state space description of the patient response model:
with
where v (t) ∼ N (0,1), w (t) ∼ N (0,2) are normally distributed random noise signals at the input (actuation noise) and the output (measurement noise), respectively. The signal y_{meas} (t) represents the measurable MAP value.
Control performance requirements
The following performance requirements apply [23]:

A settling time of preferably 10 min or less, but no more than 15 min

MAP should be contained within ±10 mmHg of the desired setpoint value at most times

Under no circumstances should the system display resonant (persistent oscillatory) or unstable behaviour or cause MAP to drop below a predetermined dangerous threshold (set at 60 mmHg for the purpose of this work)

To ensure that SNP toxicity is prevented, the infusion rate should not exceed a predetermined value (set here at 200 ml/h)

Highfrequency dynamics in the control signal should be limited since drug delivery is generally provided through mechanically actuated infusion pumps
The control approach
The RACPF architecture is shown in Figure 2. In the proposed approach, multiple controllers are required in order to ensure that a controllerplant pair capable of maintaining closedloop stability and delivering the required level of performance exists for all possible values of the patient parameters. A particle filter tracks the parameters in real time and informs the controller selection algorithm with a probability result, which is in turn used to select the most appropriate controller for insertion in the loop.
Controller design
The controllers are designed using μ synthesis. This is an advanced control engineering method used in the design of linear feedback controllers for applications where stability and performance must be guaranteed in the face of uncertainty in the model of the system to be controlled (robustness). In μ synthesis, a dynamical system is considered along with a model or bounding function of any uncertainty it features, whether structured (e.g. parametric) or unstructured (e.g. arising from the presence of delays and/or nonlinearities). Any performance specifications are also expressed in terms of frequency domain bounds. The technique involves a numerical search over the space of stabilising controllers and enables the designer to compute a feedback controller capable of delivering robust performance in the closedloop configuration, if one such controller exists [24].
Controller design and μ synthesis are not the focus of this paper and we refer the reader to [18, 19] for a detailed description of the controller design methods and results as applied to the SNP doseresponse model of (1). For the purpose of the presentation hereof, it will suffice to report that the performance specifications were imposed as frequency domain bounds on signals ε (t) and u (t) as shown in Figure 3. These constraints translate into requirements for a small reference tracking error at low frequencies (to ensure proper target following at steady state) and a mainly lowfrequency infusion rate signal (to cater for the slewrate limitations of the actuator, likely a motorised infusion pump). Our μ synthesis computations have shown that a single linear feedback controller could not deliver the required level of performance due to the large ranges of parametric uncertainty (in particular the sensitivity parameter K). However, satisfactory performance could be achieved by subdividing the uncertainty range of K into multiple subsets and designing a robust controller for each subset. Figure 4 and Table 1 describe the five controllers resulting from our synthesis and the corresponding uncertainty subsets. Note that all controllers cater for the full uncertainty range of parameters α and T, while, with respect to K, each controller is associated with a region of best performance and a region of acceptable performance based on a minimum required normalised performance index A = 1.
Particle filtering
Particle filtering is a sequential Monte Carlo method which iteratively computes the conditional probability distribution of the state of a partially observed dynamical system described by a stochastic statespace model [25]. In this application, the main focus is not to estimate the state but rather to identify the parameters (particularly patient sensitivity K) so that the correct controller can be used in the feedback loop. To this end, the estimation problem is recast as a nonlinear tracking problem to include the uncertain parameters in the state, as shown in (7) below. We refer to the original system states as ‘linear’ states x^{l}, as opposed to the ‘nonlinear’ states x^{n}representing the parameters. Such a mixed linear/nonlinear formulation is well suited to the application of a specialised form of particle filtering called marginalised particle filtering[26].
Particle filtering is a numerical, therefore discretetime approach. Due to the nature of clinical MAP observations (require averaging over at least 1 cardiac cycle), we consider a sampling time T_{s} = 2 s [19]. The discretetime description of the system used in the particle filter is given by
where k=\lfloor \frac{t}{{T}_{s}}\rfloor (⌊·⌋ is the floor operator). The subscript d indicates zeroorder hold discretisation of continuoustime model (5).
The expression f (x^{n}) indicates a function of x^{n}and describes the time update of the nonlinear states. It is given by:
where χ (k) is sampled from an array of probability distributions which are intended to reflect the likely trajectory of the parameters. Uniform distributions (U) are used to capture the constraints on the rate of change of parameters expressed in (3) while making no assumptions on possible trends (tracking by random walk), as shown below:
The aim of filtering is to obtain the posterior probability density of the state conditioned on the observations up until that time point, i.e. p(x(k)Z(0 : k)), where p indicates probability and Z(0:k)\equiv {\left\{\left[u\right(i\left)\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}{y}_{\text{meas}}\right(i\left)\right]\right\}}_{i=0}^{k}. represents the observations. The posterior probability can be calculated analytically in the case of linearGaussian systems using Kalman filters, while, for more general cases, numerical approximation methods must be used [26]. Particle filters are one such method, which approximates the posterior probability with a finite number of samples (particles).
Particles can be understood as realisations of the system to be estimated, sampled from a known or presumed initial probability distribution p(x(0)). At every time step, the state of each particle is updated according to the dynamics of the realisation it represents. The output of each particle is then compared with the actual observed output and a weight is generated for the particle. A resampling step follows, during which particles with poorer weights have a higher chance of being discarded and reintroduced as a copy of a better performing realisation. Over a number of iterations, particles will cluster in the state space in a way that approximates the posterior probability density of the state. The process is illustrated graphically in Figure 5. As the number of particles increases, so does the accuracy of the approximation but also the computational burden associated with computing a large number of candidate realisations in parallel. The number of particles required to achieve a given level of approximation grows exponentially with the dimensionality of the target system, rendering the estimation of complex problems computationally onerous.
Marginalised particle filters exploit the fact that a subset of the states can be treated as conditionally linear (x^{l}here). This methodology involves an estimation of these states using the optimal Kalman filter result (marginalisation), while the other states (x^{n}) are estimated by the particle filter. As the dimensionality of the numerical problem is thus reduced, marginalised particle filtering is associated with a comparatively lower computational burden. Here follows a description of our algorithm, which combines a bootstrap particle filter implementation [27] with marginalisation.
Marginalised particle filter algorithm

(a)
Initialisation. State x _{ i }(0) for particle i = 1,…,N is set as
\begin{array}{ll}{x}^{l}\left(0\right)\sim (0,P(0\left)\right)& {x}^{n}\left(0\right)\sim \left[\begin{array}{l}U(0.25,9.5)\\ U(10,50)\\ U(0.25,0.75)\end{array}\right]\end{array}
with state estimate covariance matrix P(0) = 0, as x^{l}(0) certainly equals 0 since the patient has received no drug for t < 0. Also, learn p_{0} from observation y(0). Set k = 0.

(b)
Weighting. For i = 1,…,N compute the estimated output from each particle as {\u0177}_{i}\left(k\right)={p}_{0}{C}_{d}\left({x}_{i}^{n}\right(k\left)\right){x}_{i}^{l}\left(k\right). Then, evaluate the particles’ normalised importance weights \stackrel{~}{q}\left(k\right)
\begin{array}{ll}{q}_{i}=p\left(y\right(k\left)\right{\u0177}_{i}\left(k\right))& {\stackrel{~}{q}}_{i}\left(k\right)=\frac{{q}_{i}\left(k\right)}{\sum _{j=1}^{N}{q}_{j}\left(k\right)}.\end{array} 
(c)
Resampling. Resample N particles on the basis of the weights obtained in step (b) using a residual resampling algorithm [28].

(d)
Time update. For each particle i=1,…,N

(i)
Kalman filter correction of the linear state estimate using the available observation Z(k)
{x}_{i}^{l}\left(k\rightk)={x}_{i}^{l}(kk1)+{H}_{i}\left(k\right)\left(\phantom{\rule{0.8pt}{0ex}}y\right(k){p}_{0}{C}_{d,i}(k\left){x}_{i}^{l}\right(kk1)),
with
where H is the Kalman gain, S is the innovation covariance, and R is the variance of noise signal w.

(i)
Sample χ via (9) and update the nonlinear states via (8), then calculate {A}_{d,i}\left({x}_{i}^{n}\right(k\left)\right)\left(k\right) and {B}_{d,i}\left({x}_{i}^{n}\right(k\left)\right)\left(k\right) using (7).

(i)
Time update of the marginalised states ({x}_{i}^{l}(k+1k)) via (6) and the state estimate covariance matrix using {P}_{i}(k+1k)={A}_{d,i}(k\left){P}_{i}\right(k\leftk\right){A}_{d,i}^{T}\left(k\right)+Q, where Q is the covariance matrix of the state/input noise v.

(e)
Iteration. Increase k → k+1 and repeat over from step (b).
Controller selection
Controller selection is carried out by integrating the approximate probability distribution which results from particle filtering. The number of particles n_{ j }associated with each of the best performance subsets listed in Table 1 is proportional to the probability of controller j being the correct one for insertion in the loop. In a weighted approach to controller selection the drug infusion rate u can thus be computed as a weighted sum of the control signals u_{ j }generated by each controller
where π_{ j }is the probability of the true parameters belonging to subset j and N is the total number of particles.
Theoretical proofs of robustness
The use of the μ synthesis controller design techniques gives a mathematical guarantee of robust stability and performance as long as the true patient sensitivity value is matched by the correct feedback controller (Table 1). Proper operation of the closedloop system hinges, therefore, on achieving adequately accurate identification of the patient’s individual response characteristic.
The inferred parameter probability distribution generated by the particle filter approaches the true p(x(k)Z(0 : k)) for N → ∞[29] and can be deemed a suitable approximation if a sufficiently large amount of particles is used. Therefore, it is fair to expect for the estimate to converge and, thus, for the system to deliver the required performance, asymptotically in time. The presence of a numerical tool in the architecture, however, makes it difficult  if at all possible  for a mathematical proof to be developed. To the best of the author’s knowledge, no theoretical proofs of robust performance exist for the several ‘robust adaptive control’ approaches described in the control literature to date [30], and proofs of asymptotic stability have been developed in restricted cases only (e.g. for lineartimeinvariant Gaussian systems in [31]).
In a general formulation such as we consider here, not only would available proofs not apply, but also asymptotic results would be clinically inadequate as the patient must be successfully identified and controlled over a bounded time horizon. In light of the above, while RACPF is equipped with conservatively designed controllers and very general estimation tools, its ability to maintain stability and deliver the required level of performance can, at this time, only be evaluated heuristically. We do so, in this work, using computer simulations.
Numerical simulations
A broad computational simulation campaign was conducted in order to evaluate the ability of the proposed adaptive control approach to control MAP through SNP administration in a wide variety of conditions. To reflect the unpredictable nature of blood pressure disturbances and patient parameter variations, a large number of cases were randomly generated and simulated. All simulations involved a control horizon of 10,000 s (approximately 2 h and 45 min), with a target MAP of 100 mmHg for the time period of 0 to 4,000 s and 80 mmHg for 4,000 to 10,000 s.
Two categories, or simulation streams, of hypertensive patients were simulated as follows:

(a)
Relatively ‘settled’ patients, i.e. displaying elevated MAP (p _{0} = 120 mmHg at t = 0) with p _{dist}(t) modelled as a random, zeromean, lowintensity additive disturbance (in the range ±6 mmHg)

(b)
More ‘unsettled’ patients, i.e. displaying the same initial MAP as (a) but greater intensity of random fluctuations (in the range ±15 mmHg), as well as two step increases in p _{dist} (t) (+20 mmHg) at 2,000 and 5,500 s, modelling a worsening hypertensive condition
Scenarios of controlled MAP reduction of 20 to 80 mmHg were deemed quite general while clinically plausible.
The p_{dist} (t) signal used in the simulations was generated by filtering the superposition of a Gaussian white noise process and step signals (the latter only for stream b) with a suitable lowpass filter to meet the frequency domain bound assumption of (4). The seeds for the generation of all random processes were also randomised and changed for every simulation: no two simulations in the campaign, therefore, would exhibit the same p_{0}(t), w(t) and v(t) traces.
For each simulation stream, the following simulation batches were computed:

(i)
Forty simulations in which midrange parameter values were chosen, i.e. K = 4 mmHg/(ml/h), α = 0.5, and T = 30 s and held fixed throughout the control horizon

(ii)
Eighty simulations in which the three model parameters K, α, and T were randomly selected from the allowed ranges as per (3) and held constant throughout the control horizon

(iii)
Eighty simulations in which the initial values of the parameters were randomly selected as in (ii) with piecewise linear variations throughout the control horizon. A random number of slope changes between 2 and 5 was selected for each run. The slope of the ramp was also selected at random each time ensuring it would not exceed the constraints of (3)

(iv)
Eighty simulations in which the initial values of the parameters were randomly selected as in (ii) with piecewise exponential variations throughout the control horizon. Between 2 and 5 changes were again randomly selected for each run. The exponent was also randomly selected in such a way that the slope of the resulting curve would not exceed the constraints of (3)

(v)
Eighty simulations in which the initial values of the parameters were randomly selected as in (ii) with piecewise quartersinusoidal variations throughout the control horizon. Between 2 and 5 changes were again randomly selected for each run. The target value for each change was randomly selected in such a way that the slope of the resulting curve would not exceed the constraints of (3)
The main purpose of batch i was to help verify the ability of the approach to deliver repeatable results. Batches ii to v were intended to test the ability of the control approach to respond to a wide range of parameter variations (for examples of variation trends see Figure 6). The total number of simulations was 720, corresponding to 2,000 in silico patient hours.
Due to the large amount of available data, aggregate measures for the control and identification performance were adopted. For each simulation run, the following measures were computed:

1.
Measures concerning control performance

{t}_{{c}_{1}},{t}_{{c}_{2}}  the convergence time (10% to 90% of transition) as the two MAP setpoint changes are imposed

t_{±5},t_{±10},t_{±15}  the time (out of 10,000 s) y_{meas} remained within ±5, ±10 and ±15 mmHg of the setpoint r(t), respectively

ε_{max},ε_{min},ε_{avg}  the positive and negative peaks and average setpoint tracking error recorded over the control horizon

t_{pp}, t_{npp}  the time the RACPF controller and the true patient system form a provably performant (pp) or nonprovably performant (npp) pair as evaluated through μ analysis [24], i.e. a pp closedloop pair would achieve a performance index A≥1 in Figure 4 (note: due to the inherent conservativeness of μ analysis, a npp pair does not necessarily indicate an unstable or underperforming closedloop condition, but only that there is no mathematical proof of robust performance. At npp times, loop performance should be evaluated from other indices)

t_{sat}  the time the infusion rate signal remained at the maximum allowed value (controller saturation)

2.
Measures concerning estimation of the response characteristic

t_{0}  time (out of 10,000 s) for which the K subinterval deemed the most likely by the particle filter, i.e. with the greatest π_{ i } (intervals as per best performance in Table 1) contains the true simulated value of K

t_{1}  time for which the K subinterval deemed the most likely by the particle filter is a neighbouring interval to that containing the true value of K

t_{2}  time for which the K subinterval deemed the most likely by the particle filter is 2 intervals away from that containing the true value of K

K_{rel},T_{rel},α_{rel}  the mean relative estimation error for parameters K, T and α, respectively (the mean of the particles is used to determine the estimate)
The simulation environment was programmed using Matlab and Simulink (MathWorks, Natick, MA, USA) and run on a standard desktop computer (Intel Core 2 Quad CPU, 3.0 GHz).
Results
Figure 7 shows the results of simulation vb54: a case featuring large variations in the SNP response parameters over time and significant fluctuations in baseline MAP. From the graphs, it can be readily appreciated that the proposed control approach tracks the simulated timevarying response characteristics and meets the required performance specifications.
For completeness and to provide context in the interpretation of the aggregate results for groups of simulations, Table 2 lists the overall results for simulation vb54.
The aggregate results for all of the simulations are shown in Table 3. For each measure, the mean value and standard deviation over the corresponding batch are displayed.
The results for batches ia and ib confirm the repeatability of results using the proposed method. The standard deviation values are much lower than for other batches, indicating that the system was able to deliver consistent outcomes, as required, when applied multiple times to the same case. The fact that the standard deviation values are not 0 can be explained in terms of the stochastic features present in both the patient model and the particle filter. As no two simulations are identical, some variability in the results exists even with parameters K, α and T being exactly the same.
When considering the other batches (i to v a/b), the results show that control of MAP was successfully achieved in all cases, with no instability or dangerous pressure drops observed in any of the computed simulations. The controlled MAP trace was maintained within ±10 mmHg of the desired setpoint for over 94% of the time in any given batch of simulations (considering {M}_{{t}_{\pm 10}}2\sigma, i.e. 9,404.74 s for the worstperforming batch vb). Similarly, the occurrence of temporary deviations > ±15 mmHg from the setpoint was prevented for over 98% of the time and peak tracking errors (ε_{max},ε_{min}) had a magnitude of less than 20 mmHg at all times. The tracking of the setpoint was achieved with negligible bias as shown by the very low value of ε_{avg} for all batches. It should be clarified that the above statistics refer to the whole simulation (including the initial condition and the two setpoint changes), thus suggesting that control performance remained entirely adequate throughout the simulation campaign. Furthermore, performance was consistent across simulation batches, indicating that the system can deal with timevarying parameters regardless of the shape of the variations, as long as the assumptions of (3) are met. Transition times {t}_{{c}_{1,2}} also met the specifications and were contained below 10 min in almost all cases, with the longest observed transition taking approximately 13 min to settle. As could be expected, due to the simpler nature of the control task (lower disturbance), the performance results for stream a were better than those for stream b, although only marginally.
The results associated with the identification of patient parameters by the particle filter show that the system is tracked as it evolves through time (with t_{0} and t_{1} combined representing about 90% of the total simulation time on average). However, the system slightly but consistently overestimates K and delivers estimation errors K_{rel} of about 50% to 70% on average. The large standard deviation values for α_{rel} and T_{rel}, on the other hand, suggest that the latter two parameters are not dependably identified (there is poor convergence of the particle scatter with respect to α and T). Although the estimation errors may seem significant, the precision in identification is adequate in the context of the required performance, since each controller can cater for variations of two to fourfold in the value of K, and for all possible values of α and T (Table 1). The t_{pp} result confirms this by showing that the system pairs the patient with a suitable controller at most times, with closer inspection of simulation data showing that t_{npp} is accrued mostly in the initial stages when the particle filter has not yet converged. Notably  and perhaps counterintuitively at a first glance  identification of the patient response is more accurate for the more challenging cases of stream b than for stream a as indicated by higher values of t_{0}.
Each simulation took approximately 8 min to execute (corresponding to a simulation timetorealtime ratio of 1:20) using 1,000 particles. This number of particles was found to deliver a reasonable compromise between accuracy in the results and computation time. A number of test simulations conducted ahead of the campaign did not show noticeable improvements in the estimation results when run using 5,000 particles.
Discussion
We have presented RACPF, a novel approach for the control of uncertain, timevarying systems, and tailored it to the case study of automatic closedloop SNP administration for the management of acute hypertension. Having adopted an underlying response model which is, to our knowledge, the most general ever adopted in the literature (with regard to the ranges of variability of parameters, the allowed rates of change and shapes of variations, and the presence of both random and nonzeromean changes in p_{0}(t)), the system delivered the required performance with no evidence of unsafe behaviour throughout the extensive simulation campaign presented herein. We therefore propose that RACPF may represent a viable solution to assist with automated control of hypertension not only in the traditionally considered postoperative setting, but also in the more challenging intraoperative context, where rapid changes in a patient’s response characteristic may occur [32].
Only a limited number of authors have considered automatic control of MAP during surgery (although not specifically with SNP). The challenge of online adaptation to variations in the patient response has generally been addressed through ad hoc rules [33] which mimic physicians’ clinical decision process [34]. The RACPF method is fundamentally different. By adopting a doseresponse model which incorporates uncertainty, μ synthesis allows the designer to conclusively determine a priori the minimum number of controllers required to achieve the desired level of robust performance, while particle filtering tracks the patient’s response as it evolves through time to inform correct controller selection. In addressing the argument that methods for automatic drug administration may have been dismissed on grounds of perceived safety in the past, we deem the transparent nature of RACPF, where an explicit relationship is retained between the estimated posterior probability distribution of the patient response and the chosen control action, to be well suited to clinical applications. A further advantage of this work is that the framework is not specific to SNP and the same methodology could be used to design controllers and estimators, given a reference doseresponse model, for a different drug delivery problem.
The results also support the viability of particle filtering in a realtime pharmacological application. Particle filters are a very general estimation tool and can be applied to linear as well as nonlinear problems, but are known to be computationally onerous. The fact that simulations ran much faster than real time without requiring particular hardware or software optimisation was therefore a notable positive finding. Particle filter methods have been proposed to assist with the estimation of physiological systems and draw inference from patient data in order to support clinical decisionmaking processes (see, e.g. [35]). To our knowledge, however, such methods have been generally reserved for offline computations. Our work highlights the potential of particle filter as a viable tool for realtime closedloop system identification. As pharmacokinetic/pharmacodynamic models commonly combine linear and nonlinear dynamics [22], we anticipate that marginalisation would be applicable to a broad class of problems in this area.
On the point of identifiability of the system, a number of relevant comments can be made. Perhaps counterintuitively, the results show good control performance, but the identification statistics point to somewhat imprecise parameter estimates. As well as being a result of the underdetermined nature of the estimation problem (multiple uncertain parameters and a single output), this outcome stems from a wellknown tradeoff between control and identification in feedback systems [36]. The very purpose of a feedback controller is to suppress some of the dynamics from the controlled system, thus the stronger the control action (performance), the lesser inputoutput information is available to estimate the response characteristic. An extreme situation would be that of a controller capable of forcing a perfect flatline MAP output at all times: in such a situation no knowledge of the patient characteristic could be gathered (arguably, adaptive control would not be required, either). The necessary imposition of performance constraints in our design, therefore, affects the precision of system identification. The fact that the controllers were designed to cater for all values of α and T and, as a result, the identification of these parameters was inaccurate, is a clear example of this tradeoff. Furthermore, accuracy in identification depends on the level of excitation of the system, i.e. the amount of energy delivered by exogenous inputs (in this case, r(t) and p_{0}(t)), which elicits observable dynamics at the output. Since r(t) is mostly a constant signal, excitation is provided mainly by the changes in p_{0}(t). This explains why identification is more accurate (greater t_{0}) for the more disturbed simulations of stream b. It should be remarked that the tradeoff between identifiability and excitation is an inescapable one and affects both traditional manual methods and computerbased solutions equally. A notable question arising in the light of these considerations is whether the commonly stated clinical goal of maintaining a patient in a settled state is a desirable one or whether this is actually counterproductive when changes in a patient’s response must be timely identified and acted upon. Our analysis suggests that a clinically acceptable, timevarying MAP target would deliver greater system excitation and thus improve ongoing system identification.
Conclusion
Through the extensive simulation campaign presented in this manuscript, we have validated, in silico, the methodology underpinning the novel RACPF architecture and demonstrated its applicability to the problem of automatic closedloop administration of SNP for the control of MAP in a model of acute hypertension. These results provide a strong motivation for the approach to be tested further in in vivo models (e.g. animal testing).
We have also proven the viability of realtime computation of particle filters on consumer hardware for the relatively simple SNP doseresponse system. The analysis of other case studies, including highly nonlinear and multipleinputmultipleoutput systems, will be essential to identify any limitations to the practical use of particle filtering in estimating more complex pharmacological response models.
Finally, our analysis has highlighted the known and inescapable tradeoff between identification and control in feedback systems and the role of system excitation in adaptive control. While identification proved adequate for control in the SNP case study, this could only be verified heuristically through simulations. In future work we plan to research mathematical methods to quantify the tradeoff and design clinically acceptable inputs to guarantee dependable system identification, and thus greater theoretical guarantees of robustness, for this and other automatic drug delivery applications.
Authors’ information
NM received the B.E. degree in Biomedical Engineering in 2005 and the M.E. degree in Industrial Engineering (Biomedical) in 2007 from Politecnico di Milano, Milan, Italy. He is currently a lecturer in Digital Systems at The Australian National University, Canberra, Australia, where he has recently completed a Ph.D. degree with a focus on drug delivery, robust adaptive control and cardiovascular modelling.
References
Cosgrove DM, Petre JH, Waller JL, Roth JV, Shepherd C, Cohn LH: Automated control of postoperative hypertension: a prospective, randomized multicenter study. Ann Thorac Surg 1989, 47(5):678–683. 10.1016/00034975(89)901173
Bailey JM, Haddad WM: Drug dosing control in clinical pharmacology. IEEE Control Syst Mag 2005, 25(2):35–51.
Parker RS, Doyle FJ: Controlrelevant modeling in drug delivery. Adv Drug Deliv Rev 2001, 48: 211–228. 10.1016/S0169409X(01)001144
Haddad WM, Bailey JM: Closedloop control for intensive care unit sedation. Best Pract Res Clin Anaesthesiol 2009, 23: 95–114. 10.1016/j.bpa.2008.07.007
Mendonca T, Lemos J, Magalhaes H, Rocha P, Esteves S: Drug delivery for neuromuscular blockade with supervised multimodel adaptive control. IEEE Trans Control Syst Technol 2009, 17(6):1237–1244.
Doyle FJ, Bequette BW, Middleton R, Ogunnaike B, Paden B, Parker RS, Vidyasagar M: Control in biological systems. In The Impact of Control Technology. Edited by: Samad T, Annaswamy AM. Piscataway: IEEE Control Systems Society; 2011.
Varon J, Marik PE: Perioperative hypertension management. J Vasc Health Risk Manage 2008, 4(3):615–627.
Slate JB, Sheppard LC, Rideout VC, Blackstone EH: A model for design of a blood pressure controller for hypertensive patients. In Proceedings of the 1st Annual Conference, IEEE Engineering in Medicine and Biology Society, Denver, Colorado. Piscataway: IEEE; 1979.
Mansour NE, Linkens DA: Poleassignment selftuning control of blood pressure in postoperative patients: a simulation study. IEEE Proc Control Theory Appl 1989, 136: 1–11. 10.1049/ipd.1989.0001
Pajunen GA, Steinmetz M, Shankar R: Model reference adaptive control with constraints for postoperative blood pressure management. IEEE Trans Biomed Eng 1990, 37(7):679–687. 10.1109/10.55674
He WG, Kaufman H, Roy R: Multiple model adaptive control procedure for blood pressure control. IEEE Trans Biomed Eng 1986, 33: 10–19.
Martin JF, Schneider AM, Smith NT: Multiplemodel adaptive control of blood pressure using sodium nitroprusside. IEEE Trans Biomed Eng 1987, 34(8):603–611.
Ying H, McEachern M, Eddleman DW, Sheppard LC: Fuzzy control of mean arterial pressure in postsurgical patients with sodium nitroprusside infusion. IEEE Trans Biomed Engs 1992, 39(10):1060–1070. 10.1109/10.161338
Yu C, Roy RJ, Kaufman H, Bequette BW: Multiplemodel adaptive predictive control of mean arterial pressure and cardiac output. IEEE Trans Biomed Eng 1992, 39(8):765–778. 10.1109/10.148385
Yu YC: Blood pressure, automatic control of. In Encyclopedia of Medical Devices and Instrumentation. Edited by: Webster JG. New York: Wiley; 2006:490–500.
Chitwood WR, Cosgrove DM, Lust RM: Multicenter trial of automated nitroprusside infusion for postoperative hypertension. Ann Thorac Surg 1992, 54(3):517–522. 10.1016/00034975(92)90446B
Bequette BW: Modeling and control of drug infusion in critical care. J Process Control 2007, 17(7):582–586. 10.1016/j.jprocont.2007.01.015
Malagutti N, Dehghani A, Kennedy RA: Improved robust performance in a system for automatic administration of a vasoactive drug. In Proceedings of BIOSTEC Biosignals Conference, Vilamoura, Portugal. Montreal: SciTePress; 2012:282–290.
Malagutti N, Dehghani A, Kennedy RA: Robust control design for automatic regulation of blood pressure. IET Control Theory Appl 2013, 7(9):387–396.
Fekri S, Athans M, Pascoal A: Issues, progress and new results in robust adaptive control. Int J Adaptive Control Signal Process 2006, 20(10):519–579. 10.1002/acs.912
Malagutti N, Hassani V, Dehghani A: An adaptive multicontroller architecture using particle filtering. In Proceedings of the 2012 Australian Control Conference, Sydney, Australia. Barton: Engineers Australia; 2012:392–398.
Bonate P: PharmacokineticPharmacodynamic Modeling and Simulation. Berlin: Springer; 2011.
Malagutti N, Dehghani A, Kennedy RA: A robust multiplemodel adaptive control system for automatic delivery of a vasoactive drug. Proceedings of 9th IASTED Conference on Biomedical Engineering 2012, 74–79.
Skogestad S, Postlethwaite I: Robust stability and performance analysis for MIMO systems. In Multivariable Feedback Control, Analysis and Design. New York: Wiley; 2006:309–368.
Cappe O, Godsill SJ, Moulines E: An overview of existing methods and recent advances in sequential Monte Carlo. Proc IEEE 2007, 95(5):899–924.
Schon T, Gustafsson F, Nordlund PJ: Marginalized particle filters for mixed linear/nonlinear statespace models. IEEE Trans Signal Process 2005, 53(7):2279–2289.
Doucet A, de Freitas N, Gordon N: An introduction to sequential Monte Carlo methods. In Sequential Monte Carlo Methods in Practice. New York: Springer; 2001:3–13.
Douc R, Cappe O: Comparison of resampling schemes for particle filtering. In Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis. Faculty of Electrical Engineering and Computing, University of Zagreb, Croatia; 2005:64–69.
Doucet A, Johansen AM: A Tutorial on Particle Filtering and Smoothing: Fifteen Years Later, Volume 12. Oxford: Oxford University Press; 2009.
Ioannou PA: Robust adaptive control: she search for the Holy Grail. In Proceedings of the 47th IEEE Conference on Decision and Control. Piscataway: IEEE; 2008:12–13.
Hassani V, Hespanha J, Athans M, Pascoal AM: Stability analysis of robust multiple model adaptive control. In Proceedings of The 18th IFAC World Congress. Milan: IFAC; 2011.
Meijers RH, Schmartz D, Cantraine FR, Barvais L, dH́ollander AA, Blom JA: Clinical evaluation of an automatic blood pressure controller during cardiac surgery. J Clin Monit Comput 1997, 13(4):261–268. 10.1023/A:1007389631055
Furutani E, Araki M, Kan S, Aung T, Onodera H, Imamura M, Shirakami G, Maetani S: An automatic control system of the blood pressure of patients under surgical operation. Int J Control, Automation, Syst 2004, 2: 39–54.
Hoeksel SA, Blom JA, Jansen JR, Maessen JG, Schreuder JJ: Automated infusion of vasoactive and inotropic drugs to control arterial and pulmonary pressures during cardiac surgery. Crit Care Med 1999, 27(12):2792–2798. 10.1097/0000324619991200000031
Zenker S, Rubin J, Clermont G: From inverse problems in mathematical physiology to quantitative differential diagnoses. PLoS Comput Biol 2007, 3(11):e204. 10.1371/journal.pcbi.0030204
Forssell U, Forssell U, Ljung L, Ljung L: Closedloop identification revisited. Automatica 1997, 35: 1215–1241.
Acknowledgements
The Author would like to thank Dr. Jochen Trumpf for his precious advice in structuring this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The author declares no competing interest.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Malagutti, N. Particle filterbased robust adaptive control for closedloop administration of sodium nitroprusside. J Comput Surg 1, 8 (2014). https://doi.org/10.1186/2194399018
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/2194399018