State-Based Scheduling in TrueTime 1 Akramul Azim.
-
Upload
bryce-lawson -
Category
Documents
-
view
219 -
download
0
Transcript of State-Based Scheduling in TrueTime 1 Akramul Azim.
![Page 1: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/1.jpg)
State-Based Scheduling in TrueTime
1
Akramul Azim
![Page 2: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/2.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/3.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/4.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/5.jpg)
State-Based Scheduling in TrueTime
5
![Page 6: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/6.jpg)
6
Network Code Machine (NCM)
![Page 7: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/7.jpg)
NCM_WIRELESS
7
![Page 8: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/8.jpg)
Network Model for Pulmonary Vascular Resistance (PVR)
8
![Page 9: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/9.jpg)
• 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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/10.jpg)
10
State-Based Schedule:
![Page 11: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/11.jpg)
Tabular Specifications for the PVR model
11
![Page 12: State-Based Scheduling in TrueTime 1 Akramul Azim.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/12.jpg)
• 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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e445503460f94b38916/html5/thumbnails/13.jpg)
Thank You. Any thoughts?
13