Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
[2]
A real-time system is the combination of hardware and software elements interacting with their environment to produce functionally correct results before a specific deadline Classifications of real-time systems There are 3 classifications of real time systems based on their type of deadline:
Hard real-time system can produce catastrophic consequences if it fails to meet its deadline The results of a firm real-time system cease to be useful as soon as the deadline expires, but the consequences of not meeting the deadline are not severe Soft real-time systems are real-time systems that are neither hard nor firm. The utility of results produced by a task with a soft deadline decrease over time after the deadline expires
It used the Binary Exponential Back-off algorithm to access the bus. Transmit and listen for a collision When a collision occurs wait a random number If another collision occurs wait another random number After 16 consecutive collisions give up Indeterminate performance
4
Switch Behavior
Switches break up the network collision domains into each of the switch interfaces Switch When multiple stations are transmitting simultaneously, frames can be delivered without collision[3] The switch is a fullduplex interconnection. There are no collisions D using full duplex Ethernet
Frames Depart
Switch
10
11
12
13
AFDX Switch
Static routing through the switch Path can go to one or many destination ports Buffers exist at the output ports
14
Host-to-Host Connections
1 2 3 4 5 6 7
007 006 005 004 003
24 23 22
Police
21 20 19 18 17
007 006
Store
8 SWITCH
Host
002 001
9 10 11 12
Forward
16 15 14 13
Host
24
Redundancy Management
Redundancy Management
2 3 4 5 6 7 8 SWITCH 9 10 11 12
23 22
Police
21 20 19 18 17
Store
Forward
16 15 14 13
15
Ethernet Frame
16
FORWARDING TABLE
Destination MAC Address 03-00-00-00-00-01 03-00-00-00-00-06 03-00-00-00-00-0B 03-00-00-00-00-0C 03-00-00-00-00-10 03-00-00-00-00-13 03-00-00-00-00-14
17
Sub VL Queue
Receive Port
Receive Port
Virtual Link
Frame
Network
BAG
Frame 1 Frame 2 Frame 3 Frame 4
18
BAG Regulator
End System
Policer
Switch
BAG Regulator
1 20
BAG Regulator
Policer
Policer
BAG Regulator
19
BAG Regulator
18
4 End System 5
17
Policer
16
19
003
002
003 002 001 001 002 001 002 002 001 001 001 001 002 007 006 005 004 002 003 001 002 001 001
r it e
003
002
Transmit Ports
Rate Regulation and Frame Construction
BAG Reg
Redundancy Management
HOST PROCESSOR
Copyright 2008 Rockwell Collins, Inc. All rights reserved.
Receive Ports
End System
20
P o rt 1
P o rt 2
P o rt 3
P o rt 4
s u b V L Q u e u e
V L
B A G
R e g u la t o r
21
22
Transmit Ports Connected to the Same SubVL Share the SubVL Queue
When 2 or more ports share a subVL, they both have equal opportunity to use all of the resources in the subVL
Tx Port Tx Port
subVL
Tx VL
23
001
24
Receive Ports
Associated with a single virtual link without a subVL Multiple receive ports per virtual link Destination port number in the End System is determined using:
Destination MAC address (e.g. 03-00-00-00-11-01) Destination IP address (e.g. 10.14.222.30) Destination UDP port (e.g. 50025)
25
AFDX Receive
PORT UDP Src. UDP IP
Ver Len TOS Len ID Flg. TTL Prot. Hd. Csum Src. IP Dst. IP PAYLOAD
MESSAGE
Dst. UDP
UDP Ln Csum
PAYLOAD
DATAGRAM
PACKET
26
Sampling Buffer
MSG146
MSG1460
MSG146
Net
Time
27
Network A
Msg. Msg.
Source
Selection Function
Destination
28
29
Port TX
RED Interface
RX Port
Redundancy Management
Blue Interface
RSN 08
RSN 09
RSN 0A
RSN 0B
RSN FD FE
RSN 0E 0F RSN 0E
RSN 10
RSN 08
RSN 09
Frame Lost
RSN 0B
RSN 0C
RSN 0D
RSN 10
RSN 08
RSN 09
RSN 0A
RSN 0B
RSN 0C
RSN 0D
RSN 0E
RSN 10
OLD
Copyright 2008 Rockwell Collins, Inc. All rights reserved. Proprietary Information For Training Purposes Only
NEW Time
30
24 23 22
Police
21 20 19 18 17
007 006
Store
8 SWITCH
Host
002 001
9 10 11 12
Forward
16 15 14 13
Host
24
Redundancy Management
Redundancy Management
2 3 4 5 6 7 8 SWITCH 9 10 11 12
23 22
Police
21 20 19 18 17
Store
Forward
16 15 14 13
31
Conclusions
Modifications to Ethernet make it suitable for avionics applications Data flows through an AFDX network on virtual links The principal function of AFDX Switches is frame forwarding and virtual link policing End Systems interface to Hosts using transmit and receive ports AFDX is a redundant network that separates redundancy management from host functions
32
References
1 An Efficient RMS Admission control and its application to Multiprocessor Scheduling, S Lauzac, R Melhem, D. Mosse, 1063-7133/98 2 Real-Time Computing: A New Discipline of Computer Science and Engineering, PROCEEDINGS OF THE IEEE, VOL. 82, NO. I , JANUARY 1994 3 Worst Case Communication Delay of Real-Time Industrial Switched Ethernet With Multiple Levels, Kyung Chang Lee, Suk Lee, Man Hyung Lee. IEEE Transactions on Industrial Electronics, Vol 53, No. 5, October 2006. 4 - Communications for Integrated Modular Avionics, Rick Alena, J. Ossenfort, K. Laws, A. Goforth, F. Figueroa, IEEEAC Paper #1230 5 - Low-latency hard real-time communication over switched ethernet - Real-Time Systems, 2004. ECRTS 2004. Proceedings. 16th Euromicro Conference on Real-Time Systems 6 - Timelines of Real-Time IP Communication in Switched Industrial Ethernet Networks, Tor Skeie, Svein Johannessen, and yvind Holmeide, IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, VOL. 2, NO. 1, FEBRUARY 2006
33