10BASE-T1S in AUTOSAR Stéfany Chourakorn (BMW ......2020/09/14 · 14 Sept 2020 Agenda Stéfany...
Transcript of 10BASE-T1S in AUTOSAR Stéfany Chourakorn (BMW ......2020/09/14 · 14 Sept 2020 Agenda Stéfany...
-
Stéfany Chourakorn (BMW)Ethernet & IP @ Automotive – Virtual Event
IEEE SA
10BASE-T1S in AUTOSAR
14 Sept 2020
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 2
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
Situation today
Diverse technologies co-existing Legacy buses
Signal based, gateways Ethernet
Service oriented, switches, mostly for high data rates
More than 90% communication below 10Mbps
AUTOSAR Ethernet support today Switched network only 10Mbps up to Gbps
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 3
IVC*
LegacyBuses> 90%
* IVC: In-Vehicle Communication
GW
Eth
11-2009 1st Ethernet specification in AUTOSAR
11-2019 10BASE-T1S publication, IEEE 802.3cg
11-2020 AUTOSAR R20-11, target for 10BASE-T1S support
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 4
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
10BASE-T1S what is new ? 1. More PHY products
Stéfany Chourakorn | Ethernet & IP @ Automotive 14 Sept 2020 5
MACPHY
PHY
MAC
µC
OA- SPI
MII PHY
PHY
MAC
MII
µC
CAN-like Analog front end
PHYanalog
PHYdigital
OA3p
µC
MAC
Full integrated
PHY
µC
MAC
-
10BASE-T1S what is new ? 2. New E/E architecture
Stéfany Chourakorn | Ethernet & IP @ Automotive
10BASE-T1S enables Ethernet bus/multidrop topologies
Topology possible tomorrow
14 Sept 2020 6
Classic topology today
-
10BASE-T1S what is new ? 3. Efficient medium access
Stéfany Chourakorn | Ethernet & IP @ Automotive
PLCA as an efficient new medium access allows for: Reuse of the existing CSMA/CD structure Fair medium access for all participant (Round robin) Bandwidth optimization
14 Sept 2020 7
Example early rescheduling scenarios Case 1 (Cycle N): only one node
transmits. Transmission at t1 instead of t1’.
Case 2 (Cycle N+1): one node does send shorter packet. Transmission at t2 instead of t2’
0 BEACON COMMIT yield
Unused Transmit Opportunity (TO)
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 8
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
AUTOSAR actors
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 9
51 Development Partners55 Premium Partners
145 Associate Partners22 Attendees
9 Core Partners
Source: AUTOSAR
-
AUTOSAR motivations
AUTOSAR aims to improve complexity management of integrated E/E architectures through increased reuse and exchangeability of SW modules between OEMs and suppliers: − Decouple SW application from the HW − Defines clear interfaces− Specifies data exchange format
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 10
Sources: AUTOSAR
-
AUTOSAR standard
Set of open specifications (application and basis software stack) Unified methodology and exchange format for system description as well as configuration Two platforms
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 11
Source: AUTOSAR
Fondation (FO)
Classic Platform (CP)Adaptive Platform (AP)
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 12
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
Integration of 10BASE-T1S in AUTOSARstep by step Milestones
MS1: Assessment
MS2: Elaboration
MS3a : Detail
MS3b: Validation
MS4: Incorporation
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 13
2019: Concept Announcement in AUTOSAR by BMWDedicated team for the elaboration of the concept
Cooperation BMW – Microchip for the validation
Feb2020
Apr2020
July2020
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 14
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
10BASE-T1S impacts in AUTOSAR
Which PLCA specificities are relevant for AUTOSAR ?- Reconciliation Sublayer located in Layer 1- Remains transparent from MAC perspective- Half-duplex in multidrop / P2P or P2P for full-duplex / half-duplex
Pre-analysis of the main topics to details in MS3a:- Component above driver layer untouched- New configurations parameter related to PLCA- Multidrop topology
Use cases
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 15
PLCA ConfigurationParametersplcaActive
plcaStatus
toTimer
nodeID
nodeCount
burstCounter
burstTimer
MS2: Elaboration
DoIP / OBD Partial network TimeSync (static Pdelay)
Multidrop Burst
-
10BASE-T1S impacts in AUTOSAR
First approach is to identify all the concerned working group within the consortium 10BASE-T1S is a physical layer Constrains: one head node per cluster and all nodes must have same time configuration
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 16
MS2: Elaboration
New AUTOSAR Working Group for Time Synchronization is initiated for September 2020Source: AUTOSAR
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 17
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
Solution approach
Software Specification:- Impact localized in the low level layers: Eth Driver and Eth Trcv- Addition configuration parameter for PLCA (node id, burst, …)- Buffer handling to prioritize traffic
System Template / Manifest:- Implement multidrop topology for Ethernet in model- Constrain related (Head node unique in sub-cluster,… )
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 18
Source: AUTOSAR
Microcontroller
Eth Driver
Eth Interface
Eth Trcv
Eth State Manager
Udp NM
Time SyncPduR
COM
SoAd
TcpIp
MS3a: Detail
-
76
Solution approach: buffer handling
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 19
SW Buffer pools
0 1 2 3
4 5 6 8
Prio 6Prio 7 Prio 4
0
Eth_ProvideTxBuffer
Step1
BufIdx 0
Prio 7
12345
0
SW FIFOs
Step2Eth_transmit
2
3
Sche
dule
r
Eth_MainFunctionStep3
ThresholdCounter
Affects SWS_EthDriver
Optional implementation
Scheduling before transmission
Scheduler : simplified CBS (tocken bucket)
Priorities from socket connexion
BufIdx 0
MS3a: Detail
-
Solution approach
The 10BASE-T1S support should be validated by a prototypical implementation mostly focused on the Ethernet driver and transceiver driver (CP) for multidrop scenario.
Scope: Ensure message routing through the stack and timing are
respected Buffer handling Error scenarios:
- Lost of Head-node- Reactivation Head-node (Reset)
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 20
MS3b: Prototype validation
-
Agenda
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 21
AUTOSAR overview
10BASE-T1S what is new ?
AUTOSAR solution for 10BASE-T1S
Summary
Impact
Solution approach
-
Summary
Concept split in 2 parts- R20-11: 10BASE-T1S MII/Transceiver PHY- R21-11: 10BASE-T1S with SPI interface and 10BASE-T1S switch integration
10BASE-T1S keeps evolving…- IEEE- Open Alliance
…and so does Autosar- Will keep track on the coming modifications on the Ethernet stack
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 22
-
14 Sept 2020Stéfany Chourakorn | Ethernet & IP @ Automotive 23
Thank you for your attention
Supporters and ReviewersB. SostawaK. MatheusMicrochipIVC-CP
Concept ownersS. ChourakornM. ZajicekG. Veloso Cauce
Slide Number 1AgendaSituation todayAgenda10BASE-T1S what is new ? �1. More PHY products10BASE-T1S what is new ? �2. New E/E architecture10BASE-T1S what is new ? �3. Efficient medium accessAgendaAUTOSAR actorsAUTOSAR motivationsAUTOSAR standardAgendaIntegration of 10BASE-T1S in AUTOSAR�step by stepAgenda10BASE-T1S impacts in AUTOSAR10BASE-T1S impacts in AUTOSARAgendaSolution approachSolution approach: buffer handlingSolution approachAgendaSummarySlide Number 23