Tim iming analysis of f AVB Ethernet network usin ing the Forward end-to to-end Dela lay Analysis
Nassima BENAMMAR
Frédéric Ridouard Henri Bauer Pascal Richard
Oc October 12, 12, 2018 2018
1
Tim iming analysis of f AVB Ethernet network usin ing the Forward - - PowerPoint PPT Presentation
Tim iming analysis of f AVB Ethernet network usin ing the Forward end-to to-end Dela lay Analysis Nassima BENAMMAR Frdric Ridouard Henri Bauer Pascal Richard Oc October 12, 12, 2018 2018 1 Context A UTOMOTIVE S YSTEM : ECU S ECU
Oc October 12, 12, 2018 2018
1
2
ECU : Electronic Control Unit
3
Passive autonomous driving Limited driver substitution Complete autonomous capability 2012 2017 2016 2018 2019 2023 100% autonomous cars for public http://www.caam.org.cn/english/
4
5
6
Complexity
7
8
Deadline
9
Minimum delay Maximum delay by simulation Exact worst case delay Maximum jitter
Distribution of end-to-end delay
Mo Model checkin ing
Worst case delay computed by timing analysis
Tim iming anal analysis base based on
mathematics
10
FIFO FP/FIFO CBS NC TA CPA FA
Existing Our contribution
11
12
13
FA method FA extension to CBS algorithm Experimentation Conclusion node 1 node 2 node 4
node 3
14
. . . . . . . . . . . .
Source node Variable delay L L L: technological latency Variable delay Variable delay FA method FA extension to CBS algorithm Experimentation Conclusion
15
ℎ : maximum transmission time of a frame from 𝑤𝑗 in the node ℎ.
𝑗 : period of 𝑤𝑗.
ℎ: set of flows 𝑤𝑘 ∈ Γℎ où 𝑄𝑗 = 𝑄 𝑘.
ℎ: set of flows 𝑤𝑘 ∈ Γℎ où 𝑄𝑗 < 𝑄 𝑘.
ℎ: set of flows 𝑤𝑘 ∈ Γℎ où 𝑄𝑗 > 𝑄 𝑘.
FPFIFO priority 1 priority 2 priority n Fixed Priority First In First Out (FPFIFO) FA method FA extension to CBS algorithm Experimentation Conclusion
16
𝑔
𝑗
Generation instant time of 𝑔
𝑗
𝑔𝑗𝑠𝑡𝑢𝑗 ℎ + 1 ℎ
Worst case waiting time Worst case arrival instant
L
Worst case arrival instant
L: technological latency
𝑗 ℎ 𝑢 = 𝑋𝑀𝑄𝑗 ℎ 𝑢 + 𝑋𝑇𝑄𝑗 ℎ 𝑢 + 𝑋𝐼𝑄𝑗 ℎ 𝑢
𝑋
𝑗 ℎ 𝑢
FA method FA extension to CBS algorithm Experimentation Conclusion
17
𝑔
𝑗
𝑢 𝑔
𝑗
𝑤𝑘∈Γℎ
𝑘 ℎ(𝑢)
𝑋ℎ 𝑢 − 𝑢 − 𝐷𝑗
ℎ
𝑘 ℎ 𝑢 : transmission time of all frames generated from 𝑤𝑘 in the node ℎ during 𝑢.
FA method FA extension to CBS algorithm Experimentation Conclusion Assumption : one level of priority (FIFO)
18 18
ℎ − 1 ℎ 𝑢 𝑢
ℎ
𝑢
….
Burst of frames
𝑗 generated from 𝑤𝑗 in the node ℎ incoming from an imput port 𝐽𝑄 1 ℎ during 𝑢.
𝑔
𝑗
𝑔
𝑗
𝑔
𝑗
𝑗 ℎ 𝑢 = 𝑋𝑀𝑄𝑗 ℎ 𝑢 + 𝑋𝑇𝑄𝑗 ℎ 𝑢 + 𝑋𝐼𝑄𝑗 ℎ 𝑢 FA method FA extension to CBS algorithm Experimentation Conclusion
19
𝑗 ℎ 𝑢 ≥ t
𝑗 ℎ 𝑢 − 𝑢)
FA method FA extension to CBS algorithm Experimentation Conclusion
20
21
SRB SRA BE SRA SRA SRA SRB SRA SRA
𝑢 𝑢 𝑢
BE
𝑗 ℎ 𝑢 = 𝑋𝑀𝑄𝑗 ℎ 𝑢 + 𝑋𝑇𝑄𝑗 ℎ 𝑢 + 𝑋𝐼𝑄𝑗 ℎ 𝑢 +𝑋𝑂𝐽𝑀𝑗 ℎ 𝑢
𝑢1 𝑢2 𝑢3 𝑢5 𝑢4 FA method FA extension to CBS algorithm Experimentation Conclusion
22
ℎ 𝑢 = 𝑦=1 𝑜
𝑗,𝑦 ℎ 𝑢 , 𝑀𝑗𝑜𝑙𝑆𝑏𝑢𝑓𝑗,𝑦 ℎ 𝑢 , 𝑇ℎ𝑏𝑞𝑓𝑠𝑆𝑏𝑢𝑓𝑗,𝑦 ℎ (𝑢))
𝑢 𝐷𝑠𝑓𝑒𝑗𝑢𝑌𝑗 𝑛𝑏𝑦𝑤𝑘∈𝑌𝑗𝐷
𝑘
𝐷𝑠𝑒𝑌𝑗,𝑛𝑏𝑦
ℎ
ℎ,−
(i) (iii) (ii)
Busy period of 𝐼𝑄
𝑌𝑗 ℎ
𝐷𝑠𝑓𝑒𝑗𝑢𝑌𝑗 𝐷𝑠𝑒𝑌𝑗,𝑛𝑏𝑦
ℎ
𝜏𝑌𝑗
ℎ,+
𝑛𝑏𝑦𝑤𝑘∈𝑀𝑄𝑌𝑗
ℎ 𝐷
𝑘
FA method FA extension to CBS algorithm Experimentation Conclusion
23
ℎ 𝑢 𝑔
𝑗
𝑗 generated from 𝑤𝑗 belonging to an SR Class 𝑌𝑗 in the node ℎ during 𝑢.
Serialized part Non serialized part 𝑋
𝑗 ℎ(𝑢)
𝑔
𝑗
𝑒𝑓𝑞𝑗
ℎ(𝑢)
ℎ
𝑢
….
Burst of frames
𝑢 𝐷𝑠𝑓𝑒𝑗𝑢𝑌𝑗 𝑛𝑏𝑦𝑤𝑘∈𝑌𝑗𝐷
𝑘
𝐷𝑠𝑒𝑌𝑗,𝑛𝑏𝑦
ℎ
ℎ,−
(i) (iii) (ii)
𝑗 ℎ 𝑢 = 𝑛𝑗𝑜( 𝑤𝑘∈ℎ𝑞𝑗
ℎ
𝑘 ℎ
ℎ 𝑢
𝑍∈𝐼𝑄𝑌𝑗
ℎ
𝐶𝑝𝑠𝑒𝑍
ℎ(𝑒𝑓𝑞𝑗 ℎ 𝑢 + 𝑛𝑏𝑦𝑤𝑘∈𝑇𝐼𝑄𝑍
ℎ𝐷
𝑘 ))
FA method FA extension to CBS algorithm Experimentation Conclusion
24
𝐷𝑠𝑓𝑒𝑗𝑢𝑌𝑗 𝐷
𝑘
𝜏− 𝜏+
ℎ 𝑢
ℎ 𝑢 + 𝑋𝑂𝐽𝑀𝑗 ℎ 𝑢
𝑢 𝑔
𝑘
𝜏+ 𝐷
𝑘
𝑔
𝑙
𝐷𝑙 𝜏− 𝜏+ 𝐷𝑙
𝑋𝐼𝑄𝑗
ℎ 𝑢
FA method FA extension to CBS algorithm Experimentation Conclusion
25
26
Head_Unit RSE Amplifier CPU DA_CAM Gateway TV MM_Disk 𝒘𝒋 𝑼𝒋(𝝂𝒕) 𝑫𝒋(𝝂𝒕) Class 𝑺𝒋(𝝂𝒕) Source Destination 𝒘𝟐 5000 5,12 A 2762,72 Gateway CPU 𝒘𝟑 5000 5,12 A 2994 Gateway RSE 𝒘𝟒 125 32,64 A 188,96 DA_CAM Heand_Unit 𝒘𝟓 280 115,68 B 631,9 MM_Disk RSE 𝒘𝟔 1400 115,68 B 618,67 MM_Disk Amplifier 𝒘𝟕 560 115,68 B 395,68 TV Head_Unit
[Li et al., Henia et al., Steinbach et al.] FA method FA extension to CBS algorithm Experimentations Conclusion
27
Ctrl 𝑇𝑥𝑗𝑢𝑑ℎ1 𝑇𝑥𝑗𝑢𝑑ℎ16 I/O I/O Ctrl 𝑇𝑥𝑗𝑢𝑑ℎ1 I/O I/O I/O I/O I/O I/O 𝑇𝑥𝑗𝑢𝑑ℎ4 I/O I/O I/O I/O I/O I/O Linear topology Clustered topology
[Diemer et al.] FA method FA extension to CBS algorithm Experimentations Conclusion
28
Linear topology
Flow Worst case delay(𝜈𝑡)
FA method FA extension to CBS algorithm Experimentations Conclusion
29
30
FA method FA extension to CBS algorithm Experimentation Conclusion
31
FA method FA extension to CBS algorithm Experimentation Conclusion Credit Based Shaper (CBS)
TDMA
32
33
https://www.st.com/en/solutions-reference-designs/automotive-solutions.html
34
Approach ». 2012 24th Euromicro Conference on Real-Time Systems, 2012, p. 78-87. IEEE Xplore, doi:10.1109/ECRTS.2012.12.
toulouse.fr, http://ethesis.inp-toulouse.fr/archive/00001615/.
Resources ». Real-Time Systems, vol. 48, no 1, janvier 2012, p. 101-33. link.springer.com, doi:10.1007/s11241-011- 9142-9.
22nd IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), 2017, p. 1-8. IEEE Xplore, doi:10.1109/ETFA.2017.8247606.
mars 2018, p. 858-65. IEEE Xplore, doi:10.1109/TII.2017.2720799.
novembre 2016, p. 37–42. ACM Digital Library, doi:10.1145/3015037.3015043.
doi:10.1109/RTCSA.2014.6910530.
35
Proceedings of the 5th International ICST Conference on Performance Evaluation Methodologies and Tools, ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering), 2011, p. 381–390. ACM Digital Library, http://dl.acm.org/citation.cfm?id=2151688.2151731.
switching ». 7th IEEE International Symposium on Industrial Embedded Systems (SIES’12), 2012, p. 1-10. IEEE Xplore, doi:10.1109/SIES.2012.6356564.
Digital Techniques, vol. 152, no 2, mars 2005, p. 148-66. IEEE Xplore, doi:10.1049/ip-cdt:20045088.
Nationale Supérieure de Mécanique et d’Aérotechique - Poitiers, 23 septembre 2014. tel.archives-ouvertes.fr, https://tel.archives-ouvertes.fr/tel-01127020/document.
Extended Trajectory Approach ». Real-Time Systems, vol. 53, no 1, janvier 2017, p. 121-86. link.springer.com, doi:10.1007/s11241-016-9260-5.
Triggered Ethernet (AS6802) ». 2012 IEEE Vehicular Technology Conference (VTC Fall), 2012, p. 1-5. IEEE Xplore, doi:10.1109/VTCFall.2012.6398932.
36
ℎ: le délai de traversée maximum pour une trame de 𝑤𝑗 à partir de son node source
ℎ: le délai de traversée minimum pour une trame de 𝑤𝑗 à partir de son node source
ℎ − 𝑇𝑛𝑗𝑜𝑗 ℎ)
ℎ) + t = 𝑢1 − 𝑇𝑛𝑗𝑜𝑗 ℎ
𝑗 ℎ(𝑢) =
ℎ − 𝑇𝑛𝑗𝑜𝑗 ℎ)
37
AVB VB Li Listener Non Non AVB VB ES Non Non AVB VB ES AVB VB Li Listener AVB VB Talk alker AVB VB bri bridge Non Non AVB VB bri bridge Dom Domain ine AVB VB Dom Domain ine AVB VB Phyis isic ical link LAN LAN bo boun undary AVB VB
38
𝑔𝑗𝑠𝑡𝑢𝑘
𝑔
1
𝑔
2
𝑔
3
ℎ 𝑔𝑗𝑠𝑡𝑢𝑘, ℎ ∈ 𝑄𝑏𝑢ℎ𝑘
𝑔
1
𝑔
2
𝑔
3
𝑈
𝑘
𝑈
𝑘
𝑤𝑘 ∈ Γℎ 𝑔𝑗𝑠𝑡𝑢𝑘 ℎ ℎ …. 𝑢 𝑈
𝑘
𝑈
𝑘
𝑈
𝑘
𝑔𝑗𝑠𝑡𝑢𝑘 Supposition : one level of priority (FIFO)
39
𝑔 𝑔′
𝐽𝑄
𝑜 ℎ
𝐽𝑄
1 ℎ
𝐽𝑄
𝑦 ℎ
. . . . . .
Assumption : one level of priority (FIFO)
40
𝑛𝑏𝑦 𝐷
𝑘
ℎ Maximum workload during 𝑢
L L ℎ − 1
𝑦 ℎ 𝑢 ≤ 𝑤𝑘∈Γ𝑦
ℎ
𝑘 ℎ(𝑢)
𝑦 ℎ 𝑢 ≤ 𝑀𝑗𝑜𝑙𝑆𝑏𝑢𝑓𝑗,𝑦 ℎ (𝑢)
𝑀𝑗𝑜𝑙𝑆𝑏𝑢𝑓𝑗,𝑦
ℎ (𝑢)
Supposition : one level of priority (FIFO)
41
42
𝑤1, 𝑤2,𝑤3 𝑤4 𝑤1 𝑤2 𝑤3 𝑤4 𝐷𝑗 10 10 40 10 𝑄𝑗 1 2 3 2 ℎ − 1 ℎ
𝑢 = 40
𝑔 𝑔
10 20 30 50 60 70 80 90
Temps d’attente= 40 Temps d’attente= 60
ℎ − 1 ℎ
𝑢 = 40
𝑔 𝑔
10 20 30 50 60 70 80 90 110 100