You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Aerospace-Uses-Cases.md
+39-21Lines changed: 39 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,34 @@
1
1
# Aerospace Uses Cases
2
2
3
-
This document is a work in progress and has not been approved for use outside of the ELISA aerospace working group.
3
+
This document is a work in progress and has not been approved for use outside of the ELISA aerospace working group.
4
4
5
-
## Use Case: Cabin Lights
5
+
The purpose of this use case is to implement an benchmark of a NASA's Core Flight System running on a custom kernel, inside QEMU, and determine whether messages are arriving to their destinations in time.
6
+
7
+
## Use Case: Cabin Lights with cFS
6
8
7
9
Low DAL (D or lower) - blackbox level - functionally meets expectations
8
10
9
11
### System Requirements
10
12
13
+
* The Cabin Lights system is implemented as a cFS application.
14
+
* The light switching system is implemented as a cFS application.
11
15
* The Cabin Lights system shall turn lights on in less than 500 ms of the light switch turning on
12
16
* The Cabin Lights system shall turn lights off in less than 500 ms of the light switch turning off
13
17
14
-
#### Test
18
+
#### Proposed plan
19
+
20
+
We propose to progressively work towards this implementation by turning each
21
+
element from the current demonstration into a cFS element, one at a time.
22
+
23
+
1. Demonstrate sending a message to existing sample application in cFS.
24
+
25
+
2. Demonstrate monitoring event from that application from within cFS.
26
+
27
+
3. Make application for lights; send command from external system, monitor from within cFS.
28
+
29
+
4. Make application for switch; send command through the SB, monitor from within cFS.
30
+
31
+
#### Test
15
32
16
33
Items to key on
17
34
- logging check
@@ -34,33 +51,34 @@ Test environment
34
51
graph TD
35
52
subgraph QEMU_Environment_Unit_Under_Test
36
53
direction TB
37
-
Ethernet_Bridge
38
-
App[2.Cabin Lights Application]
39
-
Log[Logging Function]
54
+
Software_Bus[Software Bus]
55
+
App[2.Cabin Lights Application]
40
56
Sensor[1.Switch App]
41
57
Actuator[3.Cabin Light]
42
58
43
59
subgraph Monitor
44
60
direction TB
45
-
Copilot[CoPilot]
61
+
Copilot[Copilot]
46
62
end
47
63
48
64
end
49
65
50
-
51
-
52
-
App -->|Interacts with| Log
53
-
Sensor -->|Sends State Msg| Ethernet_Bridge
54
-
Copilot -->|Sniffer| Ethernet_Bridge
55
-
Ethernet_Bridge -->|Sends State Msg| App
56
-
App -->|Control Msg| Ethernet_Bridge
57
-
Ethernet_Bridge -->|Control Msg| Actuator
58
-
Copilot -->|Log tail| Log
66
+
Sensor -->|E#58; Switch status change| Software_Bus
* Actuator is a light with two states (on/off), when a message is received on Ethernet, it updates its state to match
153
171
* Options for assuring comm
154
-
* send periodic message of current state
172
+
* send periodic message of current state
155
173
* Or? acknowledge messages from application
156
174
* Or? poll both sensor and actuator
157
175
* Connectivity is an Ethernet bus (messages can be lost or corrupted)
158
176
* Computing platform running an "cabin lights" application
159
177
* Cabin Lights Application
160
178
* Application is waiting on the switch socket for a message, wakes up when message available
161
-
* When awoken,
179
+
* When awoken,
162
180
* application creates a message with new light state and sends on the light socket
163
181
* log the event
164
182
* yield?, goes back to waiting on switch socket
@@ -169,7 +187,7 @@ Single computer with single function (="APP")
169
187
170
188
[SENS] <-[ETH_MAC]-> [APP] <-[ETH_MAC]-> [ACT]
171
189
172
-
- Presume bidirectional connectivity from computing platform to sensor, and bidirectional connectivity from computing platform to actuator.
190
+
- Presume bidirectional connectivity from computing platform to sensor, and bidirectional connectivity from computing platform to actuator.
173
191
- Smart sensor/actor w/ software and stack?
174
192
- Best effort scheduling of IO processing that's tested for perceived worst case. (No monitor or scheduler based guarantee other then planned scheduler bandwidth/capacity margin)
175
193
- How would a system architecture look like to close the signal/application loop? (7 voters in total)
0 commit comments