From Signal to Service

Similar documents
time now it has also been used productively in a multi-oem, requires precise knowledge of the protocol, the layout, the

Efficient testing of ECUs despite Security

In March 2007, over 200 developers met in Stuttgart for the. control algorithms that have become increasingly faster are

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

PREEvision Technical Article

Quo Vadis SAE J1939 Standardization

Design Verification and Calibration Based on Physical Measurements for Electrical Vehicles

AUTOSAR Software Design with PREEvision

Testing Under Time Pressure. Versatile Test Benches for Avionic Systems

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing


10 th AUTOSAR Open Conference

Flash Bootloader. Product Information

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Is This What the Future Will Look Like?

Module Test in System Context

10 th AUTOSAR Open Conference

Model based testing and Hardware-in-the-Loop simulation of embedded CANopen control devices

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

VT System Smart HIL Testing

CAN FD - Flexible Tools for Flexible Data Rates

PREEvision Technical Article

Virtualizing the TCU of BMW's 8 speed transmission

Tools and Methods for Validation and Verification as requested by ISO26262

A number of optimizations are already in use by the majority of companies in industry, notably:

CAN FD with Dynamic Multi-PDU-to-Frame Mapping

Impact of Platform Abstractions on the Development Workflow

Cyber security mechanisms for connected vehicles

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Scalable and Flexible Software Platforms for High-Performance ECUs. Christoph Dietachmayr Sr. Engineering Manager, Elektrobit November 8, 2018

Automated Driving Necessary Infrastructure Shift

CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103

elektronik Security for Software and IT ECU ENERGY STORAGE TESTING COVER STORY Gasoline Direct Injection in-the-loop

CANbedded. Product Information

High-End Datalogging System for Autonomus Driving V

Networking for a dynamic infrastructure: getting it right.

Concept Manual vteststudio. Version 2.2 English

CANape Option Bypassing

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

Service Complex System

Introduction to Ethernet and IP in automotive vehicles

Networking for a smarter data center: Getting it right

Designing a software framework for automated driving. Dr.-Ing. Sebastian Ohl, 2017 October 12 th

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

AUTOSAR Method. Webinar

FDI Field Device Integration Technology

Vector GB Ltd Annual Conference 2017

AUTONOMOUS UNDERSEA SYSTEMS NETWORK (AUSNET) PROTOCOLS TO SUPPORT AD-HOC AUV COMMUNICATIONS

This Support Note describes how to configure the trace window to analyse CCP or XCP communication in CANape.

IPEmotion_PlugIn_WAGO_V01_03_01

A Model-Based Reference Workflow for the Development of Safety-Related Software

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Tooling Overview ADAS - Status & Ongoing Developments

PLEXXI HCN FOR VMWARE ENVIRONMENTS

Turn Indicator Model Overview

Frequently Asked Questions. AUTOSAR C++14 Coding Guidelines

Introduction of CAN FD into the next generation of vehicle E/E architectures

Measuring Everything. White Paper

The Adaptive Platform for Future Use Cases

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

CANoe 6.0. The Professional Development and Test Tool for CAN, LIN, MOST, FlexRay and J1587 TOOLS FOR NETWORKS AND DISTRIBUTED SYSTEMS

Current and Prospective High-speed Measurement Systems

Measurement Solution for new Radar Microcontroller V

vsignalyzer Product Information

ARM Moves Further Into Automotive with NXP's Launch of S32K Series to the General Market

High-Speed Reprogramming and Calibration with CAN FD: A Case Study

Ready, Set, Go! Measuring, Mapping and Managing with XIL API 2.0

Getting Started with VN5640

imc STUDIO measurement data analysis visualization automation Integrated software for the entire testing process imc productive testing

Securing the future of mobility

ETHERNET JOURNEY AT JAGUAR LAND ROVER CHALLENGES IN THE DEVELOPMENT OF AN ETHERNET BACKBONE

10 th AUTOSAR Open Conference

Networking with CAN FD have you also thought about testing?

CANoe.Ethernet. Product Information

I D C T E C H N O L O G Y S P O T L I G H T. V i r t u a l and Cloud D a t a Center Management

WIND RIVER NETWORKING SOLUTIONS

Test requirements in networked systems

An Encapsulated Communication System for Integrated Architectures

Nexus Instrumentation architectures and the new Debug Specification

Reasons for System Simulation with CANoe J1939 Version /06/04 Application Note AN-ION

ID 020C: Hardware-in-Loop: System Testing Without the System

High Speed Measurement For ADAS And Fast Analysis

Virtual Validation of Cyber Physical Systems

VXLAN Overview: Cisco Nexus 9000 Series Switches

Current status and Future of AUTOSAR. Markus Bechter 7 th AUTOSAR Open Conference Oct. 22 nd -23 rd 2014, Detroit

A Comparison of Service-oriented, Resource-oriented, and Object-oriented Architecture Styles

Next-generation IT Platforms Delivering New Value through Accumulation and Utilization of Big Data

Option Driver Assistance. Product Information

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

Introduction to Adaptive AUTOSAR. Dheeraj Sharma July 27, 2017

Proactnes Series for Efficient IP Network Operation Management

CANape. Product Information

Sentinet for BizTalk Server SENTINET

Oracle and Tangosol Acquisition Announcement

CANoe.AFDX. Product Information

Model-Based Design of Automotive RT Applications

THE RTOS AS THE ENGINE POWERING THE INTERNET OF THINGS

CANalyzer.MOST. Product Information

AUTOSAR: from concept to code.

Transcription:

From Signal to Service Challenges for the Development of AUTOSAR Adaptive Applications Automotive Ethernet and AUTOSAR Adaptive are key technologies for highly automated driving and comprehensive connectivity services. AUTOSAR Adaptive relies on a service-oriented architecture to ensure communication between the ECUs. This raises many new challenges at the level of the development, test and calibration tools. Today s applications in the automotive field primarily make for example, for the transfer of image data. On the other, use of sensor/actuator combinations. In these solutions, IP-based protocols running on Ethernet allow the simple the participating software and hardware components are integration of end-user devices and access to back-end closely coupled. The communication relationships between infrastructures. the participating ECUs are statically defined during the system design phase and are based on signal-oriented AUTOSAR Adaptive A Brief Overview communication. The focus is placed on hard real-time The AUTOSAR Adaptive platform (Figure 1) addresses the capabilities and the use of cost-effective microcontrollers requirements of these future applications. It forms the cen- as well as of networks such as CAN and LIN. The estab- tral computing cluster for complex applications and estab- lished AUTOSAR Classic platform reliably covers these lishes the connection to back-end services. At the same requirements. The focus is not on extending or adding time, it interacts with AUTOSAR Classic ECUs in order to applications. control the sensors and actuators. Consequently, AUTOSAR Adaptive is not a substitute for the Classic platform connectivity but instead a complementary development platform. The demand dramatically enhanced computational perfor- main differences between the two platforms are outlined mance and more flexible communication concepts. In addi- in Table 1. Highly-automated driving and back-end tion, it must be possible to extend or add applications across the entire vehicle lifecycle. Ethernet is a suitable As the central architectural pattern, AUTOSAR Adaptive transmission medium for this generation of applications. adopts a service-oriented approach (Figure 2). Within this, On the one hand, it provides the bandwidth that is required, the overall system is modeled as a set of service interfaces. 01

the back-end services, for example. With AUTOSAR Adaptive, system architectures from conventional information technology are making their way into vehicle applications. Figure 1: The AUTOSAR Adaptive platform forms the central computing cluster for complex in-vehicle applications. These encapsulate a certain sub-functionality comparable to a class in object-oriented programming. The service interfaces are implemented by so-called providers and are used by consumers. The communication path between a provider and a consumer is no longer defined at development time but only at runtime. The establishment of the communication paths and the conversion to a physical transmission medium is performed by a middleware. This approach permits the flexible provision and updating of applications across the entire vehicle lifecycle. Currently, AUTOSAR Adaptive supports the Ethernet-based protocol (Scalable service-oriented middleware over IP) as the middleware protocol. In the future, further protocols will also be integrated. RESTbased (Representational State Transfer) services using HTTP are expected to be used here for communication to Testing Adaptive Applications The introduction of these system architectures is confronting development and testing engineers with new challenges. Development and test methods from the conventional ECU development field have to be extended and complemented. Thanks to the service-oriented approach, future applications will be developed largely independent of any assignment to a specific ECU. Suppliers will frequently not provide a fully integrated ECU but instead only a set of applications. To do this, they must be able to test these in isolation. Similarly, in the future, vehicle manufacturers will perform testing more intensively at the level of individual subsystems. This is the only way to control the rapidly growing complexity of the overall system. The tests of the lower communication layers must be strictly separated from the application tests. The mapping of service interfaces to concrete network protocols should therefore take place downstream and be interchangeable. Such an approach makes testing possible throughout the entire development process. Tests and simulation models can be defined in the early phases and then be extended incrementally. This permits the gradual transition from purely simulated to partially simulated environments. The service interface level is clearly suitable for application-related testing. These interfaces encapsulate the behavior of the applications and form a clearly defined system boundary. They are defined within the framework of a service-oriented system design and are available even in Table 1: The most important differences between AUTOSAR Classic and AUTOSAR Adaptive 02

early development phases. AUTOSAR Adaptive describes the service interfaces and data types within the standardized exchange formats. As a result, the programming interfaces required for testing are generated automatically. For development and test engineers, a type of service toolbox from which they can choose the service interfaces required for the current test goal would seem useful here. These interfaces are then stimulated and analyzed in the test environment. In such cases, it should be possible to modify the timing conditions during a test, for example in order to check how a consumer reacts to different provider response times. The dynamic establishment of communication paths at runtime is a further challenge. First of all, it is necessary to take account of the fact that the availability of providers and consumers can change at runtime. Secondly, in some scenarios, the participating static communication endpoints are unknown, for example in the case of data exchange between vehicles. In such cases, development and test engineers need a flexible way of varying the number of participating communication endpoints. Tools for Service-oriented Testing One test tool that is available on the market and that supports service-oriented testing is CANoe from Vector. This offers a uniform, cross-network communication concept. This means that CANoe provides a network-independent interface for the application models and test scripts. Actual access and transmission over a physical network are configured independently of this. This approach permits application-related modeling of service-oriented communication. Service interfaces are imported from AUTOSAR Adaptive descriptions and are modified and extended as required (Figure 3). To this end, CANoe is based on the idea of a service toolbox (Figure 4): Users are free to choose the service interfaces required for the current development status and the specific test objective. The service interfaces, together with the associated methods and events, are available as modeling artifacts directly within CANoe. Users stimulate and visualize these directly using interactive controls. At the same time, they are also available via C#-based programming interfaces within test and simulation scripts. The CANoe communication concept permits the dynamic creation of communication endpoints during the simulation. At the same time, it is possible to modulate the availability of a service. It is therefore possible to simulate dynamic topologies of the sort that occur in the connectivity field. To permit early validation, CANoe supports the concept of application-level simulations for which users do not have to configure any low-level protocol layers. For the development and testing of real ECUs, CANoe provides connections via Ethernet and. Challenges in the Field of Measurement and Calibration Another area that needs to be taken into account when considering Ethernet and AUTOSAR Adaptive is measuring and calibration. This does not relate to use cases based on the standardized XCP calibration protocol but to the use of service-oriented communication as a transmission protocol for measurement and calibration data. The use of pointto-point connections in the service-oriented architecture makes this approach radically different from solutions in which the measured data is read out via a bus topology. How can service-oriented communication be used for measurement and calibration? The protocol used in AUTOSAR Adaptive enables the acquisition and writing of data on the ECU side. Figure 2: In service-oriented communication, an application provides a service that can be called by other applications. 03

Figure 3: CANoe and CANape filter out the unneeded service interfaces using a type of service toolbox. The acquisition of measurement data can be subdivided into two use cases: On the one hand, measurement data can be recorded simply by monitoring bus activity. In the case of Automotive Ethernet, this is achieved by interrupting the Ethernet connection and using a so-called network TAP (Terminal Access Point) to create the connection to the measuring tool. In a switched Ethernet network, two participants communicate via point-to-point connections. It is then possible to monitor the data exchanged between these two participants and extract and record it. On the other, data can also be acquired by executing a service in an application. In this case, the measuring tool behaves as if it is another consumer of the service s data. The advantage of this method is that it makes use of functionality that already exists in the ECU. Data serialization is implemented within and the description of the data is present in the service interfaces. This active pathway also makes it possible to write data to the application. Here again, the data that is to be transferred is described via the service interface. Thanks to a relatively simple extension, it is possible to add or extend a service during development and then use it for calibration. However, this active communication method leads to an additional load on the system and the existing communication paths just as when performing measurements using XCP on CAN. In the case of data-intensive measurement and calibration operations, it is therefore preferable to choose a solution that makes use of the ECU s debugging or trace interfaces, for example. Figure 4: The CANoe user chooses the service interfaces needed for the specific use case from the service toolbox. Measuring and Calibration Tools Vector s CANape calibration tool is a good way of acquiring measurement data from service-oriented ECUs. It is based on the service interfaces and is able to import AUTO- SAR-Adaptive descriptions (Figure 3). In this case, CANape also imports the communication descriptions present in the files. This makes it easier for users to configure their measurement setups. CANape uses the service interface definition to interpret the measurement data and is able to save it in the usual measurement data format, such as MDF for example. As mentioned above, the data is acquired either by monitoring into communications between two participants or by actively requesting the data from the service providers (Figure 5). 04

Data acquisition through active request CANape SOA Device Interface ECU A ECU B Data acquisition through tapping CANape ECU A ECU B Ethernet Monitor TAP Figure 5: CANape records the measurement data either by actively requesting it from the service providers or by monitoring the communication between two participants. Conclusion AUTOSAR Adaptive transforms vehicles from being closed systems into systems that are networked with the environment. As a result, system architectures from the conventional IT world are increasingly being introduced into vehicles. Existing test concepts and tools must take account of this. First tools for the testing and calibration of serviceoriented applications are already available. They enable development engineers to reduce the effort involved in constructing their test environments. In the future, the automotive industry will see the emergence of ever more tools that support the principle of service orientation. Dr. Simon Frohn studied Computer Science at the University of Stuttgart and received his PhD from the Chair of Computer Networks at the University of Leipzig. In 2012 he joined Vector and, as Senior Software Development Engineer in the SOA & Adaptive team, is responsible for the development of CANoe. Fabian Rees Fabian Rees studied Computer Engineering at the University of Constance and joined Vector in 2011. As a software manager, he is responsible for AUTOSAR Adaptive in the field of measurement and calibration. Translation of a German publication in Elektronik automotive, Special Edition Automotive Ethernet, March 2018 Image rights: Vector Informatik GmbH 05