model-driven safety analysis of closed-loop medical systems · closed-loop pca pump 4 1 patient...

1
Model-Driven Safety Analysis of Closed-Loop Medical Systems Miroslav Pajic, Rahul Mangharam, Oleg Sokolsky, David Arney, Julian Goldman, Insup Lee In modern hospitals, patients are treated using a wide array of medical devices that are increasingly interacting with each other over the network. We study the safety of a medical device system for the physiologic closed-loop control of drug infusion. The main contribution is the verification approach for the safety properties of closed-loop medical device systems. The method combines simulation-based analysis of continuous patient dynamics with model checking of a more abstract timed automata model. Built according to the Integrated Clinical Environment (ICE) architecture 7 Patient Model Demo Interoperability for Patient Safety Challenges for system verification: Complex interplay between the continuous patient’s dynamics and the discrete nature of the controller and communication network. Medical Case Study: Closed-loop PCA pump 4 1 Patient Controlled Analgesia: Common technique for delivering pain medication. Patient presses a button to request a dose Overdoses result in respiratory distress, ultimately death Pumps have safeguards, but overdoses can still happen PCA is a significant source of adverse events 2 System Architecture 3 Signal Processing Time Pulse Oximeter Output Physiological Signals Drug Level Patient Model Drug Absorption Function SpO 2 & HR Levels Algorithm Processing Time Supervisor Pump Commands PCA Pump Pump Processing Time Drug Infusion Drug Request PCA Case Study Timing data Matlab Model UPPAAL Model Control Loop Modeling Patient specific behavior: 3-compartment model drug concentration in blood and tissue Patient Critical Regions t 1 t 2 t crit Safe Critical Alarming Patient Response to Drug The model allows estimation of t crit For the patient model with fixed parameters tcrit determined analytically The system have been presented at: Annual meeting of the American Society of Anesthesiologists in 2007 (first place in the scientific exhibits) 2008 HIMMS (Healthcare Information and Management Systems Society) Congress 2008 CIMIT Innovation Congress Timing analysis 6 PCA Pump model The pump is ON Key Safety Property Pump stops in time if total delay t crit For model with uncertain parameters Matrices A, B, C belong to regions OFF UPPAAL model parameters initialized to guarantee consistency between the UPPAAL model and physical patient model UPPAAL Model 5 Properties verified with UPPAAL Supervisor model Network model Effects of unreliable network Goal: Guarantee open-loop stability Patient model Once SpO 2 drops below pain threshold, it eventually goes back up A[] (samplebuffer < pain_thresh -> A <> samplebuffer >= pain_thresh) X Safe Critical Alarming The patient can not go into the critical region A[] (samplebuffer >= critical) The pump is stopped if patient enters alarming region A[] ( samplebuffer < alarm_thresh -> A<> (PCA.Rstopped V PCA.Bstopped) STOP Safe Critical Alarming For Networked Medical Systems with a Patient-in-loop, how can we guarantee open-loop safety?

Upload: others

Post on 07-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Model-Driven Safety Analysis of Closed-Loop Medical Systems · Closed-loop PCA pump 4 1 Patient Controlled Analgesia: Common technique for delivering pain medication. •Patient presses

Model-Driven Safety Analysis of

Closed-Loop Medical SystemsMiroslav Pajic, Rahul Mangharam, Oleg Sokolsky, David Arney, Julian Goldman, Insup Lee

In modern hospitals, patients are treated using a wide array of medical devices that are increasingly interacting with each other over the network. We study the safety of a

medical device system for the physiologic closed-loop control of drug infusion. The main contribution is the verification approach for the safety properties of closed-loop

medical device systems. The method combines simulation-based analysis of continuous patient dynamics with model checking of a more abstract timed automata model.

Built according to the Integrated Clinical

Environment (ICE) architecture

7Patient Model Demo

Interoperability for

Patient Safety

Challenges for system verification:

• Complex interplay between the continuous

patient’s dynamics and the discrete nature of

the controller and communication network.

Medical Case Study:

Closed-loop PCA pump

4

1

Patient Controlled Analgesia:

Common technique for

delivering pain medication.

• Patient presses a button to

request a dose

• Overdoses result in respiratory

distress, ultimately death

• Pumps have safeguards, but

overdoses can still happen

• PCA is a significant source of

adverse events

2 System Architecture3

Signal Processing

Time

Pulse Oximeter

Output

Physiological

Signals

Drug Level

Patient Model

Drug Absorption

Function

SpO2 & HR

LevelsAlgorithm

Processing Time

Supervisor

Pump

Commands

PCA Pump

Pump Processing

TimeDrug Infusion

Drug Request

PCA Case Study

Timing dataMatlab Model UPPAAL Model

Control Loop

Modeling Patient

specific behavior:

3-compartment model • drug concentration in

blood and tissue

Patient Critical Regions

t1

t2

tcritSafe

CriticalAlarming

Patient Response to Drug

• The model allows estimation of tcrit

• For the patient model with fixed

parameters tcrit determined analytically

The system have been presented at:

• Annual meeting of the American

Society of Anesthesiologists in 2007

(first place in the scientific exhibits)

• 2008 HIMMS (Healthcare Information

and Management Systems Society)

Congress

• 2008 CIMIT Innovation Congress

Timing analysis6

PCA Pump model

The pump is ON

Key Safety Property

• Pump stops in time if total delay ≤ tcrit

• For model with uncertain parameters

• Matrices A, B, C belong to regions

OFF

UPPAAL model parameters initialized to

guarantee consistency between the

UPPAAL model and physical patient model

UPPAAL Model5

Properties verified with UPPAAL

Supervisor model Network model

• Effects of unreliable network

• Goal: Guarantee open-loop

stability

Patient model

• Once SpO2 drops below pain threshold, it eventually goes back up

A[] (samplebuffer < pain_thresh -> A <> samplebuffer >= pain_thresh)

XSafe

CriticalAlarming

•The patient can not go into the critical region

A[] (samplebuffer >= critical)

•The pump is stopped if patient enters alarming regionA[] ( samplebuffer < alarm_thresh -> A<> (PCA.Rstopped V PCA.Bstopped)

STOP

Safe

CriticalAlarming

For Networked Medical Systems with a Patient-in-loop, how can we guarantee open-loop safety?