Professional Documents
Culture Documents
https://www.linkedin.com/in/shankar-moorthy-88683475/
AUTOSAR
CONTENTS:
1. what is AUTOSAR?
4. Application Layer
1.what is AUTOSAR?
2.KEY FEATURES:
–Standardized architecture.
–Application Interface.
–Defined methodology.
Application Layer:
The application layer contains the SWCs (software components), which realize
the application functionality of the ECU's mainly the sensor SWC components.
The RTE layer intergrates the SWCs with BSW layer. It implements the data
exchange and controls the integration between the application software
components(SWCs) and the BSW.
The basic software layer contains three sub layers: Service layer, ECU Abstraction
layer and Microcontroller Abstraction Layer.
4. APPLICATION LAYER:
The application layer contains the SWCs (software components), which realize
the application functionality of the ECU's mainly the sensor SWC components.
Client / server port - Server is the provider of the service requested and Client is
the user of the service.
Sender / Receiver port - Sender sends the requested information to one or more
receiver and receiver receives the information in synchronous as well as asynchronous
environment.
During the design phase the SWCs can be integrated with their environment like OS,
driver, hardware etc.., based on VFB - Virtual Function bus. VFB is the abstraction of
the Autosar SWC interconnections of the entire vehicle. After the deployment of SWC in
the vehicle network architecture , the communication between the SWCs of the RTE
and BSW of the ECU's is by ECU local communication or as network based
communication as shown below.
Autosar has defined set of BSW modules. They are responsible for different
tasks such as:
These tasks are handled by three different sub layers in AUTOSAR: Service layer,
ECU Abstraction layer and Microcontroller Abstraction Layer.
In addition, complex drivers can be integrated into AUTOSAR ECU. They are used to
access the features of ECU which is not covered by the standard BSW of the
AUTOSAR.It offers the functionality such as drivers for autosar external drivers, special
requirement for complex sensor and actuators.
As per the image above, the service layer architecture includes three sub modules in it -
System services, Memory services and communication services.
System services:
It is the group of modules and functions which can be used by modules of all
layers. The functional sub layers of system services includes
• COM manager
• BSW mode manager
• ECU state manager
• Diagnostic event manager
Memory Services:
It is responsible for non volatile data management like saving, loading, checksum,
protection and verification, reliable storage etc., It consists of only one module called
• NVRAM manager(NvM)
Communication services:
It contains the drivers for external peripheral components which offers uniform
communication to all features of an ECU communication, memory or I/O irrespective of
these services are as part of microcontroller or realized by the peripheral components. It
interfaces the drivers of the Microcontroller Abstraction Layer. It also contains drivers for
external devices. It offers an API for access to peripherals and devices regardless of
their location (µC ,internal/external) and their connection to the µC (port pins, type of
interface).
It is further sub divided into onboard device abstraction, memory hardware abstraction,
communication hardware abstraction and I/O hardware abstraction layers as mentioned
in above functional architecture.
• Watchdog Interface(WdgIf)
It abstracts from the location of communication controllers and ECU hardware layout
and it consists of following sub modules
• CAN interface
• LIN interface
• Flexray interface
• TTCAN interface
• Ethernet Interface
It is the group of modules which abstracts from the location of peripheral I/O devices
and ECU layout. It consists of
It is the lowest layer of BSW which contains device drivers. It contains internal
drivers with direct access to microcontroller and internal peripherals.
This MCAL layer is further sub divided into microcontroller drivers, memory drivers,
communication drivers, I/O drivers.
Microcontroller drivers:
It contains the drivers for internal peripherals functions with direct microcontroller
access. It consists of
• MCU driver
• Watchdog driver
• GPT driver
Memory drivers:
It consists of drivers for on chip memory devices and memory mapped external
memory devices. The sub modules are
Communication drivers:
It consists of drivers for ECU on board and vehicle communication. The sub
modules are
• Ethernet driver
• Flexray driver
• CAN driver
• LIN driver
• SPI handler driver
I/O drivers:
It consists of drivers for analog and digital I/O. The sub modules are
• PORT driver
• DIO driver
• ADC driver
• PWM driver
• ICU driver
The complex drivers can be integrated into AUTOSAR ECU. They are used to
access the features of ECU which is not covered by the standard BSW of the
AUTOSAR.It offers the functionality such as drivers for autosar external drivers, special
requirement for complex sensor and actuators. It provides the possibility to integrate
special purpose functionality which are not specified within AUTOSAR, with a very high
timing constraints or for migration purposes etc.,