The text of a manual · part 2 of 14
Feasibility of formal model checking in the Vitatron environment, pages 4 to 7
Pages 4 to 7 of 91: Contents; Glossary
The original document is the PDF (6.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Vitatron EE244
Page 4
Contents 1 Introduction
7
2 Model checking 2.0.1 State space generation . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.0.2 Formulating model requirements . . . . . . . . . . . . . . . . . . . . . 2.0.3 Model checking tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.0.4 The state space explosion problem . . . . . . . . . . . . . . . . . . . . 2.1 mCRL2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 The process specification language . . . . . . . . . . . . . . . . . . . . 2.1.2 Modal µ-calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.3 mCRL2 toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Uppaal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Timed automata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 Model specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.3 Simulation and verification . . . . . . . . . . . . . . . . . . . . . . . .
10 13 15 16 17 17 18 22 23 25 25 26 29
3 The human heart 3.1 The heart function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 The electrical conduction system . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 Cellular structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.2 Functional description of the conduction system . . . . . . . . . . . . 3.3 Artificial pacemakers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 Arrhythmias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32 32 32 32 35 36 37
4 Pacemaker architecture 4.1 The Hatley and Pirbhai method . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Pacemaker H&P model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40 42 44
5 Formal modeling of pacemaker firmware 5.1 General aspects of the formal models . . . . . . . . . . . . . . . . . . . . . . . 5.2 Technical aspects of the mCRL2 models . . . . . . . . . . . . . . . . . . . . . 5.3 Technical aspects of the Uppaal models . . . . . . . . . . . . . . . . . . . . . 5.4 Formal model of heart behavior and PG . . . . . . . . . . . . . . . . . . . . . 5.5 State space reducing modeling techniques . . . . . . . . . . . . . . . . . . . .
48 49 52 53 54 56
3
Page 5
6 Model checking approaches and results 6.1 Verified requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Heart model approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.1 mCRL2 results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 Uppaal results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Heart model approach extended with RC functionality . . . . . . . . . . . . . 6.3.1 mCRL2 results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Isolated RC functionality approach . . . . . . . . . . . . . . . . . . . . . . . . 6.4.1 mCRL2 results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.2 Uppaal results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.3 mCRL2 verification of the deadlock consequences . . . . . . . . . . . .
60 61 64 65 67 67 68 68 71 74 74
7 Recommendations to Vitatron 7.1 ‘Model checking aimed’-design . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 Application of model checking . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 Model checking resources and skills . . . . . . . . . . . . . . . . . . . . . . . . 7.4 Future research . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76 76 80 82 83
8 Conclusions
85
Bibliography
89
4
Page 6
Glossary atrium upper chamber of the heart bpm beats per minute cardiac arrhythmias conditions in which the electrical activity of the heart is not appropriate sequence of actions leading to a state in which the requirement is violated/satisfied atrial pace that is detected in the ventricular and wrongly interpreted as a ventricular depolarization Control SPECification in an H&P system requirements model counterexample/witnessing trace crosstalk ventricular sense
CSPEC deadlock state DFD distributed system state of a formal model from which no transitions are possible Data Flow Diagram in an H&P system requirements model system whose functionality is distributed over two or more components
IPG
Implantable Pulse Generator (other term for an artificial pacemaker)
model checking problem the problem of proving that a requirement holds for a given model
PAT
Process Activation Table which can occur as part of a CSPEC in an H&P system requirements model Pulse Generator: hardware module in Vitatron’s DA+ pacemaker that forms the interface between the pacemaker leads and the pacemaker firmware
PG
5
Page 7
PSPEC PVC refractory period retrograde conduction (RC)
Process SPECification in an H&P system requirements model Premature Ventricular Contraction (a ventricular contraction which is not the result of an earlier atrial contraction or a stimulus from an artificial pacemaker) period after depolarization in which cell tissue is less or not at all excitable, meaning that it does not react to stimulations conduction of a stimulus in reverse direction, from the ventricles via the AV node to the atria system behavior all possible sequences of actions that a system can perform during its lifetime ventricle lower chamber of the heart
6