state-based scheduling in truetime 1 akramul azim

13
State-Based Scheduling in TrueTime 1 Akramul Azim

Upload: bryce-lawson

Post on 11-Jan-2016

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: State-Based Scheduling in TrueTime 1 Akramul Azim

State-Based Scheduling in TrueTime

1

Akramul Azim

Page 2: State-Based Scheduling in TrueTime 1 Akramul Azim

Outline

2

State-Based Scheduling

TrueTime Simulation Framework

State-Based Scheduling Feature in TrueTime Simulation Framework

Using Table Library for Input Specifications in State-Based Scheduling

Page 3: State-Based Scheduling in TrueTime 1 Akramul Azim

State-Based Scheduling

3

An example schedule with on-the-fly decisions. If the primary nodes successfully communicated its data, then the slot assigned to thebackups may be used for other purposes.

S

F F

S

F

S

S: SUCCESS

F: FAILURE

Page 4: State-Based Scheduling in TrueTime 1 Akramul Azim

TrueTime

4

• TrueTime is a Matlab/Simulink-based simulator for real-time control

systems.

• Written in C++ MEX

• Network block (Ethernet, CAN, TDMA, FDMA, Round Robin, Switched

Ethernet, FlexRay and PROFINET)

• Wireless network block (802.11b WLAN and 802.15.4 ZigBee)

• 2010-07-16TrueTime 2.0 beta 6 has been released. Added support for

Network Code Machine by Sebastian Fischmeister et al.

Source: http://www.control.lth.se/truetime/

Page 5: State-Based Scheduling in TrueTime 1 Akramul Azim

State-Based Scheduling in TrueTime

5

Page 6: State-Based Scheduling in TrueTime 1 Akramul Azim

6

Network Code Machine (NCM)

Page 7: State-Based Scheduling in TrueTime 1 Akramul Azim

NCM_WIRELESS

7

Page 8: State-Based Scheduling in TrueTime 1 Akramul Azim

Network Model for Pulmonary Vascular Resistance (PVR)

8

Page 9: State-Based Scheduling in TrueTime 1 Akramul Azim

• PVR is the resistance in the pulmonary vascular bed against which the right ventricle must eject blood.

• To calculate the pulmonary vascular resistance, the patient monitor needs to know:

1. left atrial pressure (LAP)

2. pulmonary capillary wedge pressure (PCWP),

3. pulmonary artery pressure (PAP), and

4. cardiac output (CO).

• PCWP provides an indirect estimate of LAP.

9

Key Points:

Page 10: State-Based Scheduling in TrueTime 1 Akramul Azim

10

State-Based Schedule:

Page 11: State-Based Scheduling in TrueTime 1 Akramul Azim

Tabular Specifications for the PVR model

11

Page 12: State-Based Scheduling in TrueTime 1 Akramul Azim

• Uses Table Tool implemented by Colin @ McMaster University

• Tabular input specifications for mode changes

• Table is verified using PVS tool

Key Points:

12

Page 13: State-Based Scheduling in TrueTime 1 Akramul Azim

Thank You. Any thoughts?

13