3
Most read
5
Most read
6
Most read
AUTOSAR
LAYEREDARCHITECTURE, RTE &
ECU COMMUNICATION
Omkar Rane 2005203 Powertrain Track
Content
 Autosar Layered Architecture.
 Virtual Function Bus and Run Time Environment.
 Virtual Function Bus Vs RTE.
 ECU Communication.
Autosar Layered Architecture
What is layered architecture ?
An architecture in which data moves from one defined level of processing to another.
E.g. Communication protocols use ISO OSI(Open Systems Interconnection) 7 layer model in computer network. Autosar
ECU software is abstracted and sub divided into basic software, runtime environment and application layer.
Autosar fundamental
Autosar fundamental
Virtual Function Bus & Autosar RTE layer
 ASW layer consist of SWC’s. RTE implements virtual function Bus Through which swc’s communicate with each other
and also with BSW modules.
 The communication can be possible in between SWC’s of same ECU as well as SWCs of other ECUs in a system.
 To achieve this functionality ,Virtual Function Bus or VFB , it is implemented in RTE layer of AUTOSAR.
 Its called “virtual” because there is no physical connection between SWCs, instead the SWCs of a ECU communicate
with SWCs of other ECUs in a system(vehicle) using low level communication bus like CAN or FlexRay.
 Because of this SWC is independent of actual underlying hardware and hence relocate ability of SWCs is possible i.e.
the same SWCs can be used on any ECU with any hardware platform.
VFB provides mechanisms for following services which are used by SWCs :
 Communication to other SWCs in the system.
 Communication with Sensors or actuators in the system.
 Providing access to standard services such as reading/ writing to memory.
 Responding to mode changes.
 Communication with external calibration and measurement instruments.
 Each ECU has customized RTE layer which implements the VFB for its respective SWCs.
Autosar fundamental
Virtual Function Bus Vs Autosar RTE layer
ECU Communication
 Communication is between different SWC’s and ECU’s.
 Intra-ECU communication is realized virtually by defined function calls in RTE.
 Inter-ECU communication is realized by using the underlying communication bus like CAN or FlexRay
through COM Stack along with RTE.
 Communication between the SWC’s can be done either by sender-receiver or client server communication.
Sender-Receiver Communication
1.Queued S/R communication:
If the sender-receiver communication is configured as queued, then the sent data is processed
using a first-in-first-out (FIFO) queue with a specified length.
2.Non-queued S/R communication:
If the sender-receiver communication is configured as non-queued, then the receiver always has
access to the last sent data.
Queued S/R communicationNon-queued S/R communication
Implicit Communication- Implicit which means the runnable entity works on a local copy of an inter runnable variable.
A copy of read inter runnable variables is created on entry of the runnable. Changes are written back when the
runnable entity completes. This avoids concurrent access to inter runnable variables during runnable entity execution.
Explicit Communication- Explicit which means the runnable entity can directly access an inter runnable variable. Changes
are immediately visible to other runnable entities with explicit access to the inter runnable variable.
Client-Server Communication
 Client-server communication can be realized by synchronous communication (blocked) or asynchronous
communication(non-blocked).
 The client initiates the communication and requests a service from the server
 The client could be locked while it is waiting for an answer from the server
 The Client/server roles are defined by who is initiating the communication and could be switched
 A SWC can at the same time act as both client and server in different communications
Communication between Software Components mapped to different ECUs and is therefore concurrent and
involves potentially unreliable communication.
The communication mechanisms for the RTE are provided by the Communication Stack.
Inter ECU Communication via RTE & BSW
• Communication of Software components across ECUs in the network
• RTE will invoke AUTOSAR COM to transmit/receive signals
Inter ECU Communication
Communication between Software Components mapped to the same ECU.
Intra ECU Communication via RTE
•Communication among AUTOSAR Software components in the same ECU
•Communication between AUTOSAR Software component and BSW module
Intra ECU Communication
Communication between Software Components mapped to different partitions of the same ECU. It involves a context
switch and crossing a protection boundary (memory protection, timing protection, isolation on a core).
The communication mechanisms for the RTE are provided by the IOC. Inter-Core communication is used for multi-core
architectures and is similar to Inter-Partition communication.
Inter Partition Communication via RTE and IOC
•Communication between SWCs present in different partitions of the same core of the same ECU
• Communication between SWCs present in different cores of the same ECU
• RTE will use IOC (Inter O.S-Application Communication)
Inter-Partition ECU Communication
References
[1] Introduction to Autosar Lectures By Prof. Venkatesh Mane, available on YouTube
[2] Autosar official documentation, https://www.autosar.org/
[3] AUTOSAR Runtime Environment and Virtual Function Bus By Nico Naumann ,Department for
System Analysis and Modeling Hasso-Plattner Institute for IT-Systems Engineering ,Prof.-Dr.-
Helmert-Str. 2-3, D-14482 Potsdam
[4] AUTOSAR Handbook KPIT Technologies Ltd.
[5] https://automotivetechis.wordpress.com/autosar-concepts/
[6] https://autosartutorials.com/autosar-basics/
[7] https://www.rfwireless-world.com/Tutorials/AUTOSAR-tutorial.html
[8] https://sandeeptiwari.com/basics-of-autosar/
[9] https://www.embitel.com/product-engineering-2/automotive/autosar/
[10] https://www.einfochips.com/blog/autosar-in-automotive-industry/
Autosar fundamental

More Related Content

PDF
Autosar Basics hand book_v1
PPTX
Autosar software component
PPTX
AUToSAR introduction
PPTX
AUTOSAR 403 CAN Stack
PDF
Automative basics v3
PPTX
What is AUTOSAR Communiation Stack
PDF
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
PDF
Automotive embedded systems part8 v1
Autosar Basics hand book_v1
Autosar software component
AUToSAR introduction
AUTOSAR 403 CAN Stack
Automative basics v3
What is AUTOSAR Communiation Stack
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
Automotive embedded systems part8 v1

What's hot (20)

PPTX
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
PPTX
Communication stack
PDF
Autosar basics by ARCCORE
PDF
What is AUTOSAR MCAL? Learn about the software module architecture and device...
PDF
What is AUTOSAR Memory Stack | Software modules and device drivers
PPTX
Autosar MCAL (Microcontroller Abstraction Layer)
PPTX
Frequently Asked Questions on AUTOSAR Services
PDF
Adaptive AUTOSAR - The New AUTOSAR Architecture
PPTX
AUTOSAR Memory Stcak (MemStack).
PPTX
Autosar-software-component_0hg.pptx
PDF
Diagnostic in Adaptive AUTOSAR
PPTX
Local Interconnect Network
PPT
CAN (Controller Area Network) Bus Protocol
PDF
Automotive embedded systems part6 v1
PDF
Automotive embedded systems part5 v1
PDF
Hardware in loop simulation
PDF
The flex ray protocol
PPTX
Controller Area Network(CAN)
PDF
Webinar presentation on AUTOSAR Multicore Systems
PPTX
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
Communication stack
Autosar basics by ARCCORE
What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR Memory Stack | Software modules and device drivers
Autosar MCAL (Microcontroller Abstraction Layer)
Frequently Asked Questions on AUTOSAR Services
Adaptive AUTOSAR - The New AUTOSAR Architecture
AUTOSAR Memory Stcak (MemStack).
Autosar-software-component_0hg.pptx
Diagnostic in Adaptive AUTOSAR
Local Interconnect Network
CAN (Controller Area Network) Bus Protocol
Automotive embedded systems part6 v1
Automotive embedded systems part5 v1
Hardware in loop simulation
The flex ray protocol
Controller Area Network(CAN)
Webinar presentation on AUTOSAR Multicore Systems
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Ad

Similar to Autosar fundamental (20)

PPTX
Controller area network (can bus)
PPTX
An automotive survey
PPTX
1628502836912_CAN_TP,DCM&AutosarCAN.pptx
PPT
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
PPTX
Controller Area Network (CAN) Different Types
PPTX
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
PDF
Controller area network as the security of the vehicles
PDF
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
PDF
Wolf etal securebus kom syst
PDF
MIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication Networks
PPTX
CONNECTED vehicle ECU.pptx
PDF
LIFI based vehicle to vehicle communication to prevent accidents
PDF
00_AUTOSAR基础知识介绍_AUTOSAR BASIC INTRODUCTION.pdf
PDF
Automotive Networks : A Review
PDF
Embedded Systems in Automotive
PDF
AUTOSAR Classic Platform Guide by Piest Systems
PDF
International Conference Automotive BUS Systems + Ethernet
PPTX
Architecture & data acquisition by embedded systems in automobiles seminar ppt
PDF
Project-Report
PDF
Emf2179 ib _devicenet aif module__v3-0__en
Controller area network (can bus)
An automotive survey
1628502836912_CAN_TP,DCM&AutosarCAN.pptx
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
Controller Area Network (CAN) Different Types
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
Controller area network as the security of the vehicles
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Wolf etal securebus kom syst
MIPI DevCon 2020 | Keynote: Trends in Future In-Vehicle Communication Networks
CONNECTED vehicle ECU.pptx
LIFI based vehicle to vehicle communication to prevent accidents
00_AUTOSAR基础知识介绍_AUTOSAR BASIC INTRODUCTION.pdf
Automotive Networks : A Review
Embedded Systems in Automotive
AUTOSAR Classic Platform Guide by Piest Systems
International Conference Automotive BUS Systems + Ethernet
Architecture & data acquisition by embedded systems in automobiles seminar ppt
Project-Report
Emf2179 ib _devicenet aif module__v3-0__en
Ad

More from Omkar Rane (20)

PDF
Enabling SSL Elasticsearch on server
PDF
Anti lock braking (ABS) Model based Design in MATLAB-Simulink
PPTX
Stress Management
PPTX
Bootloaders (U-Boot)
PPTX
Concept of Diversity & Fading (wireless communication)
PPTX
Tata Motors GDC .LTD Internship
PDF
Machine Learning Model for M.S admissions
PDF
Timer 0 programming on LPC 1768
PDF
ADC (Analog to Digital conversion) using LPC 1768
PDF
PWM based motor speed control using LPC 1768
PDF
UART interfacing on LPC1768 (Cortex M3 micro controller)
PDF
LED Blinking logic on LPC1768
PDF
CAN interfacing on LPC1768 (ARM Cortex M3 based Micro controller)
PPTX
Vlisi Course project presentation:Keypad Scanner
PDF
VlSI course project report : Keypad Scanner
PPTX
LPC 1768 A study on Real Time clock features
PDF
Nexys4ddr rm FPGA board Datasheet
PDF
Linear Regression (Machine Learning)
DOCX
transmission gate based design for 2:1 Multiplexer in micro-wind
DOCX
2:1 Multiplexer using NAND gate in Microwind
Enabling SSL Elasticsearch on server
Anti lock braking (ABS) Model based Design in MATLAB-Simulink
Stress Management
Bootloaders (U-Boot)
Concept of Diversity & Fading (wireless communication)
Tata Motors GDC .LTD Internship
Machine Learning Model for M.S admissions
Timer 0 programming on LPC 1768
ADC (Analog to Digital conversion) using LPC 1768
PWM based motor speed control using LPC 1768
UART interfacing on LPC1768 (Cortex M3 micro controller)
LED Blinking logic on LPC1768
CAN interfacing on LPC1768 (ARM Cortex M3 based Micro controller)
Vlisi Course project presentation:Keypad Scanner
VlSI course project report : Keypad Scanner
LPC 1768 A study on Real Time clock features
Nexys4ddr rm FPGA board Datasheet
Linear Regression (Machine Learning)
transmission gate based design for 2:1 Multiplexer in micro-wind
2:1 Multiplexer using NAND gate in Microwind

Recently uploaded (20)

PDF
Designyze – Creative Digital Marketing & Design Agency in India
PPTX
The-Marketing-Mix-7Ps 2.power point presentation
PDF
John Deere 5055e Fuel LubricantsRepair Manual Tm900319.pdf
PDF
John Deere 5055e ELECTRICAL REPAIR Repair Manual - Tm900319.pdf
PPT
industrialsafetyhazards-180118095222.ppt
PDF
Bobcat tl35.70 telescopic handler service manual sn b3 zu11001 and above.pdf
PPTX
Total quality management and I have a great day
PDF
Chris_Voss_Arta_negocierii_Tehnicile_neg.pdf
DOCX
MLS 221 Medical Parasitology (LABORATORY).docx
PDF
John Deere 5050e Service Repair Manual Tm900319.pdf
PDF
dozer bulldozer Komatsu d85 px 15e0 Technical manual.pdf
PDF
Why Has Vertical Farming Recently Become More Economical.pdf.pdf
PDF
Audi A3 20 TFSi Timing Belt Installation
PPT
fy10_sh-20856-10_Machine_Guarding (1).ppt
PDF
Bobcat t40140 telescopic handler service repair manual sn b33 j11001 and abov...
PDF
John Deere 460E Articulated Dump Trucks Diagnostic Technical Manual.pdf
PPTX
Air craft and Rescue related ppt which detailed explain about
PDF
Bobcat t40140, t40180 telescopic handler service repair manual (sn b33 j11001...
PDF
Caterpillar Cat 330B L Excavator (Prefix 4RS) Service Repair Manual Instant D...
PPTX
DNA Packaging in Eukaryot ic Cells.pptx
Designyze – Creative Digital Marketing & Design Agency in India
The-Marketing-Mix-7Ps 2.power point presentation
John Deere 5055e Fuel LubricantsRepair Manual Tm900319.pdf
John Deere 5055e ELECTRICAL REPAIR Repair Manual - Tm900319.pdf
industrialsafetyhazards-180118095222.ppt
Bobcat tl35.70 telescopic handler service manual sn b3 zu11001 and above.pdf
Total quality management and I have a great day
Chris_Voss_Arta_negocierii_Tehnicile_neg.pdf
MLS 221 Medical Parasitology (LABORATORY).docx
John Deere 5050e Service Repair Manual Tm900319.pdf
dozer bulldozer Komatsu d85 px 15e0 Technical manual.pdf
Why Has Vertical Farming Recently Become More Economical.pdf.pdf
Audi A3 20 TFSi Timing Belt Installation
fy10_sh-20856-10_Machine_Guarding (1).ppt
Bobcat t40140 telescopic handler service repair manual sn b33 j11001 and abov...
John Deere 460E Articulated Dump Trucks Diagnostic Technical Manual.pdf
Air craft and Rescue related ppt which detailed explain about
Bobcat t40140, t40180 telescopic handler service repair manual (sn b33 j11001...
Caterpillar Cat 330B L Excavator (Prefix 4RS) Service Repair Manual Instant D...
DNA Packaging in Eukaryot ic Cells.pptx

Autosar fundamental

  • 1. AUTOSAR LAYEREDARCHITECTURE, RTE & ECU COMMUNICATION Omkar Rane 2005203 Powertrain Track
  • 2. Content  Autosar Layered Architecture.  Virtual Function Bus and Run Time Environment.  Virtual Function Bus Vs RTE.  ECU Communication.
  • 3. Autosar Layered Architecture What is layered architecture ? An architecture in which data moves from one defined level of processing to another. E.g. Communication protocols use ISO OSI(Open Systems Interconnection) 7 layer model in computer network. Autosar ECU software is abstracted and sub divided into basic software, runtime environment and application layer.
  • 6. Virtual Function Bus & Autosar RTE layer  ASW layer consist of SWC’s. RTE implements virtual function Bus Through which swc’s communicate with each other and also with BSW modules.  The communication can be possible in between SWC’s of same ECU as well as SWCs of other ECUs in a system.  To achieve this functionality ,Virtual Function Bus or VFB , it is implemented in RTE layer of AUTOSAR.  Its called “virtual” because there is no physical connection between SWCs, instead the SWCs of a ECU communicate with SWCs of other ECUs in a system(vehicle) using low level communication bus like CAN or FlexRay.  Because of this SWC is independent of actual underlying hardware and hence relocate ability of SWCs is possible i.e. the same SWCs can be used on any ECU with any hardware platform.
  • 7. VFB provides mechanisms for following services which are used by SWCs :  Communication to other SWCs in the system.  Communication with Sensors or actuators in the system.  Providing access to standard services such as reading/ writing to memory.  Responding to mode changes.  Communication with external calibration and measurement instruments.  Each ECU has customized RTE layer which implements the VFB for its respective SWCs.
  • 9. Virtual Function Bus Vs Autosar RTE layer
  • 10. ECU Communication  Communication is between different SWC’s and ECU’s.  Intra-ECU communication is realized virtually by defined function calls in RTE.  Inter-ECU communication is realized by using the underlying communication bus like CAN or FlexRay through COM Stack along with RTE.  Communication between the SWC’s can be done either by sender-receiver or client server communication.
  • 11. Sender-Receiver Communication 1.Queued S/R communication: If the sender-receiver communication is configured as queued, then the sent data is processed using a first-in-first-out (FIFO) queue with a specified length. 2.Non-queued S/R communication: If the sender-receiver communication is configured as non-queued, then the receiver always has access to the last sent data.
  • 13. Implicit Communication- Implicit which means the runnable entity works on a local copy of an inter runnable variable. A copy of read inter runnable variables is created on entry of the runnable. Changes are written back when the runnable entity completes. This avoids concurrent access to inter runnable variables during runnable entity execution. Explicit Communication- Explicit which means the runnable entity can directly access an inter runnable variable. Changes are immediately visible to other runnable entities with explicit access to the inter runnable variable.
  • 14. Client-Server Communication  Client-server communication can be realized by synchronous communication (blocked) or asynchronous communication(non-blocked).  The client initiates the communication and requests a service from the server  The client could be locked while it is waiting for an answer from the server  The Client/server roles are defined by who is initiating the communication and could be switched  A SWC can at the same time act as both client and server in different communications
  • 15. Communication between Software Components mapped to different ECUs and is therefore concurrent and involves potentially unreliable communication. The communication mechanisms for the RTE are provided by the Communication Stack. Inter ECU Communication via RTE & BSW • Communication of Software components across ECUs in the network • RTE will invoke AUTOSAR COM to transmit/receive signals Inter ECU Communication
  • 16. Communication between Software Components mapped to the same ECU. Intra ECU Communication via RTE •Communication among AUTOSAR Software components in the same ECU •Communication between AUTOSAR Software component and BSW module Intra ECU Communication
  • 17. Communication between Software Components mapped to different partitions of the same ECU. It involves a context switch and crossing a protection boundary (memory protection, timing protection, isolation on a core). The communication mechanisms for the RTE are provided by the IOC. Inter-Core communication is used for multi-core architectures and is similar to Inter-Partition communication. Inter Partition Communication via RTE and IOC •Communication between SWCs present in different partitions of the same core of the same ECU • Communication between SWCs present in different cores of the same ECU • RTE will use IOC (Inter O.S-Application Communication) Inter-Partition ECU Communication
  • 18. References [1] Introduction to Autosar Lectures By Prof. Venkatesh Mane, available on YouTube [2] Autosar official documentation, https://www.autosar.org/ [3] AUTOSAR Runtime Environment and Virtual Function Bus By Nico Naumann ,Department for System Analysis and Modeling Hasso-Plattner Institute for IT-Systems Engineering ,Prof.-Dr.- Helmert-Str. 2-3, D-14482 Potsdam [4] AUTOSAR Handbook KPIT Technologies Ltd. [5] https://automotivetechis.wordpress.com/autosar-concepts/ [6] https://autosartutorials.com/autosar-basics/ [7] https://www.rfwireless-world.com/Tutorials/AUTOSAR-tutorial.html [8] https://sandeeptiwari.com/basics-of-autosar/ [9] https://www.embitel.com/product-engineering-2/automotive/autosar/ [10] https://www.einfochips.com/blog/autosar-in-automotive-industry/

Editor's Notes

  • #4: What is layered architecture ? An architecture in which data moves from one defined level of processing to another. E.g. Communication protocols use ISO OSI(Open Systems Interconnection) model in computer network. Autosar ECU software is abstracted and sub divided into basic software, runtime environment and application layer.
  • #5: Application Layer: This layer has the application code which resides in top. It can have different application blocks called as Software Components(SWCs) for each feature which the ECU needs to support according to application. For example, the functions like power window and temperature measurement will have separate SWC. This is not a norm, but it depends on the Designer.  AUTOSAR RTE: This is one of the important layers of AUTOSAR, it provides communication between different SWCs and also between ECUs. Application layer uses this layer while communicating with other layers below using ports. For more information on RTE, I request you to read this article.   Services Layer: This layer provides different services for application to use. Services like: System Services, Memory Services, Crypto Services, Off board communication services, Communication services.   ECU Abstraction Layer: This layer provides ECU related abstractions. It contains different abstracted layers like I/O Hardware Abstraction layer, On board device abstraction, Memory hardware Abstraction, Crypto hardware abstraction, etc. to make applications hardware independent.   MCAL: This is Micro Controller Abstraction Layer it has drivers using which the above layers communicate with Micro controller hardware peripherals. RTE: ASW layer consist of SWCs RTE implements virtual function Bus Through which swc’s communicate with each other and also with BSW modules. The Basic Software: can be subdivided into the following types of services: Input/Output (I/O) Standardized access to sensors, actuators and ECU onboard peripherals Memory Standardized access to internal/external memory (non volatile memory) Crypto Standardized access to cryptographic primitives including internal/external hardware accelerators  Communication Standardized access to: vehicle network systems, ECU onboard communication systems and ECU internal SW Off-board Communication Standardized access to: Vehicle-to-X communication, in vehicle wireless network systems, ECU off-board communication systems System Provision of standardize-able (operating system, timers, error memory) and ECU specific (ECU state management, watchdog manager) services and library functions  
  • #9: Virtual function Bus:   AUTOSAR is based on layered architecture in which SWCs laying in application layer communicate with each other. The communication can be possible not only in same ECU but also SWCs of other ECUs in a system (vehicle). The communication mechanism to achieve this functionality is basically called as Virtual Function Bus or VFB in short, it is implemented in RTE layer of AUTOSAR. Its called “virtual” because there is no physical connection between SWCs, instead the SWCs of a ECU communicate with SWCs of other ECUs in a system(vehicle) using low level communication bus like CAN or FlexRay. AUTOSAR handles all the low level matters to let the ECUs talk with each other as if there is a virtual link between them. Because of this SWC is independent of actual underlying hardware and hence relocate ability of SWCs is possible i.e. the same SWCs can be used on any ECU with any hardware platform.        
  • #15: Client-server communication The server is a provider and the client is a user of a service. The client initiates the communication, requesting that the server performs a service, transferring a parameter set if necessary. The server waits for incoming communication requests from a client, performs the requested service and dispatches a response to the client’s request. The direction of initiation is used to categorize whether an AUTOSAR Software Component is a client or a server. A single component can be both a client and a server depending on the software realization. After the service request is initiated and until the response of the server is received The client can be – blocked (synchronous communication) – non-blocked (asynchronous communication)   Model for the asynchronous distribution of information where a sender distributes information to one or several receivers. The sender is not blocked (asynchronous communication) and neither expects nor gets a response from the receivers (data or control flow), the sender just provides the information and the receivers decides autonomously when and how to use it .It is the responsibility of the communication infrastructure to distribute the information. The sender does not know the identity or the number of receivers.