Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AUTOSAR Fundamentals and Applications

You're reading from   AUTOSAR Fundamentals and Applications Establishing a solid foundation for automotive software design with AUTOSAR

Arrow left icon
Product type Paperback
Published in Dec 2024
Publisher Packt
ISBN-13 9781805120872
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Hossam Soffar Hossam Soffar
Author Profile Icon Hossam Soffar
Hossam Soffar
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Introduction – The Genesis and Framework of AUTOSAR
2. Chapter 1: Exploring the Genesis and Objectives of AUTOSAR FREE CHAPTER 3. Chapter 2: Introducing the AUTOSAR Software Layers 4. Chapter 3: AUTOSAR Methodology and Data Exchange Formats 5. Part 2: Investigating the Building Blocks of AUTOSAR
6. Chapter 4: Working with Software Components and RTE 7. Chapter 5: Designing and Implementing Events and Interfaces 8. Chapter 6: Getting Started with the AUTOSAR Operating System 9. Chapter 7: Exploring the Communication Stack 10. Part 3: Beyond Fundamentals – Advanced AUTOSAR Concepts
11. Chapter 8: Securing the AUTOSAR System with Crypto and Security Stack 12. Chapter 9: Dealing with Memory and Mode Management 13. Chapter 10: Wrapping Up and Extending Knowledge with a Use Case 14. Index 15. Other Books You May Enjoy

Understanding the AUTOSAR standards

The AUTOSAR standards consist of a set of specifications, standards, and guidelines that provide a framework for the development and integration of SWCs in automotive ECUs. The AUTOSAR standards consist of the following components:

Figure 1.5 – AUTOSAR standards

Figure 1.5 – AUTOSAR standards

The following list describes these components in detail:

  • AUTOSAR platform: AUTOSAR has two main flavors, namely, Classic Platform (CP) and Adaptive Platform (AP). It is a common misconception that adaptive AUTOSAR is replacing classic AUTOSAR. Both adaptive AUTOSAR and classic AUTOSAR are complementary software architectures that address different requirements and use cases in the automotive industry:
    • CP is intended for conventional embedded automotive systems that have a fixed set of functionalities and tightly integrated hardware and software (static). It features a layered architecture and standardized interfaces that facilitate the consistent and efficient development and integration of SWCs. It is also optimized for resource-constrained environments, making it ideal for ECUs with limited processing power and memory.

    It uses an OSEK/VDX-based real-time operating system (RTOS), which is highly deterministic and optimized for real-time performance, thus suitable for safety-critical and hard real-time applications such as powertrain and chassis control.

    Communication is based on static configurations using predefined protocols such as CAN, LIN, FlexRay, and Ethernet, and communication relationships are established at design time.

    • AP is designed for more flexible and dynamic automotive systems, where the hardware and software are decoupled and can be upgraded independently. It provides a modular architecture and supports the use of open source and third-party components, enabling faster innovation and more frequent updates. In contrast to CP, it supports dynamic communication with a service-oriented architecture (SOA) using Ethernet, where services can be discovered and communicated with during runtime. It uses a POSIX-compliant operating system, typically based on Linux, which provides greater flexibility, suitable for handling complex and resource-intensive tasks.

    The two flavors of AUTOSAR reflect the different needs and requirements of the automotive industry, and they are designed to provide a common standard for the development and integration of SWCs in vehicles, regardless of the specific use case or application.

  • Foundation: Foundation (FO) in AUTOSAR is designed to ensure interoperability between different AUTOSAR platforms by providing a set of generic artifacts that are shared between both CP and AP. This helps to promote compatibility between different platforms, including those that are not based on AUTOSAR, and ensures that automotive systems and devices can work together seamlessly.

    It contains common requirements and technical specifications, for example, E2E Protocol Specification, V2X Specification, Secure Onboard Communication Protocol, and Specification of Intrusion Detection System Protocol, which are all shared between the AUTOSAR platforms (CP and AP).

Figure 1.6 – FO within AUTOSAR standard

Figure 1.6 – FO within AUTOSAR standard

  • Acceptance tests (ATs): AUTOSAR ATs are system tests at the bus level as well as the application level to validate the behavior of an AUTOSAR stack with regard to the ASW components as well as the communication bus:
Figure 1.7 – Acceptance test AUTOSAR

Figure 1.7 – Acceptance test AUTOSAR

The documentation at https://www.AUTOSAR.org/fileadmin/standards/tests/1-2/AUTOSAR_ATS_CommunicationCAN.pdf describes AT specifications of communication on a CAN bus. It describes the test case steps along with the test architecture. In Figure 1.8, taken from the preceding example use case, this diagram illustrates a test setup where a test bench sends test sequences to an embedded SWC within the system under test (SUT) via the CAN bus.

Figure 1.8 – Test architecture description

  • Application interfaces (AIs): AUTOSAR has standardized a large set of AIs in terms of syntax and semantics for the different vehicle domains: Body and Comfort; Powertrain; Chassis Control; Occupant and Pedestrian Safety; and HMI, Multimedia and Telematics. For instance, the Chassis Control domain focuses on stability and control, while Powertrain manages propulsion. The Body domain handles comfort and convenience features, autonomous systems enable self-driving capabilities, and in-vehicle infotainment (IVI) ensures entertainment and connectivity. AUTOSAR defines reference interfaces and SWCs across these domains that the systems can communicate effectively and are interoperable, regardless of the specific hardware or software used by different manufacturers. For example, the Powertrain and Chassis Control systems work together for car stability and performance, while the ADAS relies on inputs from various sensors and systems to make real-time driving decisions.

    An example of an application interface in AUTOSAR is the adaptive cruise control (ACC) interface. This interface standardizes how the ACC component communicates with other vehicle systems, such as sensors and actuators. It defines how data such as vehicle speed and distance from the car ahead is processed and exchanged, allowing ACC to maintain a safe distance from other vehicles automatically. By using this standardized interface, different ACC implementations can interact with various sensors and actuators across different vehicle models, guaranteeing consistency and interoperability. This is discussed in further detail here: https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_EXP_AIChassis.pdf

AUTOSAR standardizes the interfaces and SWCs across these domains, ensuring that the systems can communicate effectively and are interoperable, regardless of the specific hardware or software used by different manufacturers. For example, the interaction between the Powertrain and Chassis Control systems is crucial for vehicle stability and performance, while the Autonomous domain relies on inputs from various sensors and systems to make real-time driving decisions.

You have been reading a chapter from
AUTOSAR Fundamentals and Applications
Published in: Dec 2024
Publisher: Packt
ISBN-13: 9781805120872
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image