Ch7 Automotive Networking - 2
Ch7 Automotive Networking - 2
Computer Networking
Automobile networking
Register block:
The control registers that configure a FlexRay
device.
The registers for tracking and providing updated
information on protocol status.
A message buffer interface, which a CPU needs
in order to receive and transmit data, including
information that comes from the register block.
...
Performance metrics:
Utilization:
Used Bandwidth/Allocated Bandwidth must be
maximized
Number of FIDs that are allocated represents the
allocated bandwidth, must be minimized
Jitter: Similar to TTCAN, can the periodic
messages be sent periodically?
...
%80 utilization
FC6 N1_M1 N3_M5 ... Jitter
FC7 N1_M1 N2_M2 N3_M4 ...
FC8 N1_M1 ...
If b=0 No jitter
Total jitter= (8 − 5) + 3 · (5 − 4) = 6
Traffic load 6 20 7 5
Message lengths 7 10 7 1
8 5 3 2
Message priorities
M7 M8
Metrics M8 M6
Message delays M7
Deadline misses
M6
Idea: Keep DS length as
M8
short as possible to leave
space for SS M7 M8
Statik
Static Bölüt
Segment Dinamik
Dynamic Bölüt
Segment SW,NIT
70000 40000
60000 35000
Max. Delay (m icroseconds)
25000
40000
20000
30000
15000
20000
10000
10000
5000
0 0
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35
Priority Level Priority Level
50 Minislots 100 Minislots 200 Minislots 307 Minislots Decreasing Payload Length Increasing Payload Length
5000 600
Jitter (mikrosec)
500
4000
400
3000
300
2000 200
1000 100
0 0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
CAN-FR ID CAN-FR ID
26 messages
CAN schedule: Deadline monotonic: Message with
the smallest deadline gets the highest priority
FlexRay schedule: No jitter
co-exist CAN FR
S1 S2 FR->CAN S1 S3
P2: Periyodik FlexRay Mesajı
P2: Periodic FR message C9:C9:
CANCANmessage
Mesajı C10:
C10:CAN Mesajı
CAN message
S5
S4
S3
(a )
S12 S 11
S10
(b )
S3 S4 S5 FR->CAN S3 S4 S5
FlexRay Message CAN Messages
8
messages coming from
6
FR via GW get the
4
highest priority possible
2
0
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15
FR schedule:
Signals
No jitter
FRCAN CANFR The appropriate
Polling Effect GW processing
delay : 50 µs
duration of the DS is
determined