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

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

PREEvision Technical Article

From Signal to Service

Automotive and industrial use cases for CAN FD

CANbedded. Product Information

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

Quo Vadis SAE J1939 Standardization

Comparison of CAN Gateway Modules for Automotive and Industrial Control Applications

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

The CAN Bus From its Early Days to CAN FD By Friedhelm Pickhard (ETAS/P)

Implementation of automotive CAN module requirements

Impact of Platform Abstractions on the Development Workflow

The Influence of Real-time Constraints on the Design of FlexRay-based Systems

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

INCA-FLEXRAY V7.2 User Manual

Current and Prospective High-speed Measurement Systems

Fault tolerant TTCAN networks

10 th AUTOSAR Open Conference

Design Verification and Calibration Based on Physical Measurements for Electrical Vehicles

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

A Reliable Gateway for In-vehicle Networks

Schedule Integration for Time-Triggered Systems

Flash Bootloader. Product Information

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

FlexRay The Hardware View

Isolation of Cores. Reduce costs of mixed-critical systems by using a divide-and-conquer startegy on core level

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

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

AUTOSAR Software Design with PREEvision

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

FlexRay and Automotive Networking Future

Product Information Embedded Operating Systems

oscan Embedded Real-time Operating Systems

CAN FD - Flexible Tools for Flexible Data Rates

Dr. Andreas Both / Zhang Enqin Automotive Runtime Software

Additional Slides (informative)

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. Automotive Ethernet The Road Ahead

CANoe.J1939. Product Information

Architecture concepts in Body Control Modules

Networking with CAN FD have you also thought about testing?

VT System Smart HIL Testing

Efficient testing of ECUs despite Security

Design For High Performance Flexray Protocol For Fpga Based System

Vector GB Ltd Annual Conference 2017

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

Comparison of In-Vehicle Communication Protocols for Critical Applications

Architectures of Automotive Electrical. Nicolas Navet. Can be freely used for teaching Complexity Mastered. Outline

An Encapsulated Communication System for Integrated Architectures

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Cyber security mechanisms for connected vehicles

MICROSAR-OS. Embedded Real-time Multitasking Operating Systems

Electromechanical Braking (Brake By-Wire)

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

The CANoe.Ethernet Solution

CANape Option Bypassing

CAN-FD Flexible Data Rate CAN

ESCAN An Open Source, High Bandwidth, Event Scheduled Controller Area Network

Performance Testing BroadR-Reach Automotive Ethernet

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

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

In-Vehicle Global Synchronization

In Vehicle Networking : a Survey and Look Forward

A specification proposed by JASPAR has been adopted for AUTOSAR.

AN-946 APPLICATION NOTE

Concept Manual vteststudio. Version 2.2 English

UML-based framework for simulation of distributed ECU systems in automotive applications

Field buses (part 2): time triggered protocols

Implementation of Automotive Unified Diagnostic Services Based on AUTOSAR. Yue-yin XIE, Chao ZHOU and Feng LUO

ID 025C: An Introduction to the OSEK Operating System

Is This What the Future Will Look Like?

Standardized Basic System Software for Automotive Embedded Applications

Create, Embed, Empower. Crevavi Technologies Company profile

INCA-FLEXRAY V6.2. User Manual

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

CANoe.MOST. - more efficiency in developing and testing MOST systems -

Test requirements in networked systems

10 th AUTOSAR Open Conference

Tools for CAN based networking. On the street, in the air, in the orbit

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

Virtualizing the TCU of BMW's 8 speed transmission

T E C H N O T E. Peer-to-Peer Communication with WirelessHART. HCF_LIT-129, Revision 1.0. Abstract:

ACC, a Next Generation CAN Controller

Efficient acquisition of measurement data via EtherCAT analog terminals in steering unit testing. worldwide germany PC Control

FlexRay International Workshop. Protocol Overview

CONTROLLER AREA NETWORK AS THE SECURITY OF THE VEHICLES

Flexible Design of ARM- CAN MCUs with Powered Gate Technology

November 16, TTTech Computertechnik AG / TTTech Auto AG Copyright TTTech Auto AG. All rights reserved

Timing in the TTCAN Network

WeVe: When Smart Wearables Meet Intelligent Vehicles

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

Growth outside Cell Phone Applications

An Introduction to FlexRay as an Industrial Network

New Generation of CAN Controllers Optimized for 8-bit MCUs

Research for OSEK/VDX-based Architecture of Vehicular Application Specific Operating System

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

Linux and AUTOSAR Vector Informatik Congress, Stuttgart,

Analyzing the performance of CAN networks

The Adaptive Platform for Future Use Cases

Transcription:

FlexRay is Driving Partners demonstrate successful system development at the FlexRay Symposium In March 2007, over 200 developers met in Stuttgart for the FlexRay Symposium sponsored by Vector Informatik. Automotive OEMs and suppliers outlined their successes to date, experiences in system integration and concepts for future implementations. The CAN bus encountered its limits long ago. Modern automotive electronic architectures are continually requiring more extensive networking. Implementations of control algorithms that have become increasingly faster are only effective if additional transmission capacity is provided. On many car models, maximum bus loading is already reached at the start of production, leaving no bandwidth reserves. Doubling the number of bus systems does not in any way double the data rate. The additional FlexRay is driving 1/12

gateways that are necessary to network the systems not only lead to confusing complexity, but may produce unallowable delays in message transmission. And finally, the lack of determinism is a barrier to safety-critical applications. The certainty that CAN could not be expected to fulfill growing requirements for data transmission in the automobile over the mid-term led to the development of the FlexRay serial bus system [1]. At the end of last year, BMW presented the first production application of FlexRay. This was an ideal point in time for Vector Informatik to hold its FlexRay Symposium to offer an overview of the challenges and experience with the new protocol. Completion of the damper control system on the BMW X5 via FlexRay was a time-critical project in two respects, and it put the participating partners to the test. Not only did semiconductor products and software components need to be produced on time, but with such an ambitious project, the development process itself had to be quickly adapted to existing structures and it had to run properly. The support of suppliers is required here. We could not develop a new development process at BMW just for FlexRay, says Dr. Anton Schedl, group leader for networking technologies at BMW AG. Therefore a conscious decision was made to choose a relatively simple application, so that changes could be implemented quickly based on the experiences that were made and with short coordination and decision paths. According to Dr. Schedl, the availability of semiconductors at the right time was the greatest challenge for the pilot project. Thanks to the aggressive commitments made by both the OEM and the semiconductor supplier, it was possible to achieve the objective on schedule. FlexRay is driving 2/12

All beginnings are difficult Although starting up any new system is of course difficult, the various components were integrated relatively quickly. Time-triggered communication is the ideal foundation for bringing together the components and software codes of different suppliers states Florian Hartwich, who works in the area of networks for motor vehicles at Robert Bosch GmbH; he also assisted in work on the protocol in the FlexRay consortium and prior to that had participated in the development and standardization of CAN and TTCAN (Time Triggered CAN). Since each application sends messages at a precisely defined time point and knows when it needs to receive which messages, it is easier to add components to a distributed system at a later time. The most important tasks need to be handled right at the start of development of a FlexRay system. All parameters that fundamentally describe the system - such as baudrate, cycle time, number of slots, slot length and distribution of messages to the static and dynamic segments - are defined at the beginning. Since fixed slots are assigned to the send tasks, it is already necessary to be clear in the project definition process about how the assignment of slots with messages will be structured, which applications might best be elevated to the dynamic event-oriented segment, and how many slots should be reserved for applications of subsequent car model series, Figure 1. FlexRay is driving 3/12

[Figure 1: Fixed allocation of transmission slots to individual components (A, B, C) simplifies their incorporation in system integration.] It is especially important to maintain a general perspective in the case of distributed systems. At the beginning, network designers usually do not know any of the details of how the real applications will actually communicate at a later time nor the execution times they will have. ECU developers, on the other hand, like to concentrate exclusively on developing the application, without having to constantly be concerned about the time conditions of the overall FlexRay communication process. However, FlexRay data within a cycle must be consistent, and synchronism of the application with the time-triggered bus must be guaranteed at all times. Hartwich therefore called attention to the problems that can cause data inconsistency. For example, it is essential to avoid updating send data during transmission; this could result in old data and new data within the same frame. BMW solved this problem by using so-called signal windows to ensure that a task only sends within this dedicated window. FlexRay is driving 4/12

Another benefit of this approach is that the application is decoupled from communication: If the communication schedule changes, this does not affect the application. In a real-time capable system, synchronism of tasks is a key characteristic that must be given special attention. The question of the proper synchronization of the tables is of crucial importance, explained Winfried Janz, team leader and product manager for the development of OSEK real-time operating systems at Vector. In his presentation on OSEKtime and AUTOSAR OS, he discussed the ways in which a schedule table can be synchronized to the global time according to specification, Figure 2. The choice between hard synchronization (a table jumps to a predefined execution point or is stopped briefly) and soft synchronization (time adjustments are made at each expiry point; but these points are distributed irregularly, resulting in somewhat irregular time adjustment behavior) is made based on whether or not the application tolerates jumps and pauses. [Figure 2: The state diagram of a schedule table shows how synchronization is achieved. The schedule is started, but it need not be FlexRay is driving 5/12

absolutely synchronous right away (RUNNING). To run synchronously (AND SYNCHRONOUS) it can be put in a wait state (SCHEDULETABLE_WAITING), or it can be soft synchronized.] During the development phase, monitoring for synchronism and data consistency is the job of software tools. We must be able to process a model synchronously, otherwise data would be lost, said Dr. Carsten Böke as he explained a property of the Vector tool CANoe. Böke demonstrated the mechanisms the CANoe tool provides to ensure synchronism and to detect inconsistent data. CANoe s fundamental architecture for model execution is based on a notification concept with so-called notification handlers. This encompasses model activation when messages are received, handling when timers expire, and detection of error states. In particular, this concept was extended for FlexRay to include synchronous notifications at specific time points in the FlexRay cycle, Figure 3. In addition, Böke presented an optimal platform with CANoe RT and special hardware support that is tailored to the stringent time requirements of FlexRay systems and is suitable for small and mediumsize hardware-in-the-loop simulations. [Figure 3: In CANoe, actions can be executed regularly in reference to the beginning of a cycle or after a specific slot has ended. Naturally, notifications are also possible when frames are received or are missing on the bus.] FlexRay is driving 6/12

FlexRay and AUTOSAR In order to be ready for the future, new software concepts must be designed according to AUTOSAR guidelines, said Dirk Großmann, who is responsible for the development of FlexRay basic software. The results and findings of the AUTOSAR consortium immediately flow into Vector s FlexRay development, since Vector Informatik is a member of the consortium, Figure 4. The FlexRay interface and FlexRay driver from Vector are already AUTOSAR-conformant, thus these components can be developed today, independent of their later specific application, and they are flexibly scalable to different vehicle and platform variants. The FlexRay driver abstracts the communication controller, and the FlexRay interface provides accesses to individual PDUs (Protocol Data Units) that are time-decoupled from the FlexRay schedule. Moreover, Vector offers AUTOSARconformant implementations for network management and the transport protocol. As a supplement to AUTOSAR, the XCP protocol can be integrated in the FlexRay stack. Großmann also mentioned the possibility of flash programming via FlexRay. One scenario is to exchange the protocol completely and to use a separate schedule for flashing. FlexRay is driving 7/12

[Figure 4: Layout of the FlexRay software according to AUTOSAR enables simple adaptation to different requirements. The figure shows a FlexRay stack, with a driver that is extended relative to AUTOSAR and is supplemented by a XCP transport layer and protocol modules.] Oliver Kitt, in his presentation, went into more detail on the topic of calibrating ECUs by XCP (a calibration protocol standardized by ASAM). At Vector he is responsible for integration of hardware interfaces for the measurement, calibration and diagnostic tool CANape. The X in XCP is a placeholder for different transport layers. For example, there are XCP-on-CAN, XCP-on-Ethernet, etc. and since February 2006 XCP-on-FlexRay as well. This is a singlemaster/multiple-slave concept, in which it is possible to communicate with ECUs very efficiently and with variable bandwidth for measurement and calibration purposes. While the slave can be integrated in the FlexRay stack, the tool itself provides master support for the protocol. The bandwidth is reallocated to individual nodes at runtime as needed. An enhanced version of the FlexRay driver is necessary to implement buffer reconfiguration with XCP-on- FlexRay. This too exhibits flexible handling of components. FlexRay is driving 8/12

Just how buffer organization affects the overall system was described by Dr. (Engineering) Mathias Rausch, editor of the FlexRay protocol specification, who is responsible for the FlexRay-related issues at Freescale. Rausch described in detail ways to optimize buffer loading in configuring different static or dynamic segments. In addition, Freescale takes advantage of the fact that the Controller Host Interface (CHI) in the FlexRay protocol is not specified in detail; only minimum requirements are specified as constraints. This gives the semiconductor producer the freedom to offer special functions. Optimal design of the CHI contributes toward making the software easier to structure at a later time. Rausch recommended the use of tools, because in configuring up to 128 message buffers a lot of parameters need to be considered. Patrick Heuts, director of innovation and development management in the automotive business area at NXP Semiconductors, sought out more economical FlexRay components at the request of Dr. Schedl. Besides transceivers, we also offer a FlexRay controller that is fully integrated in a microcontroller as a single-chip solution. Compared to a FlexRay controller that is normally embedded in the microcontroller as a peripheral device, this fully integrated solution offers decisive advantages. For example, the number and type of message buffers can be configured flexibly. The microcontroller has optimal and quick access to data in the local memory of the MCU. Actually, the fully integrated FlexRay controller operates more like a DMA engine with one or two channels. The next step for NXP Semiconductors will be to investigate whether integration of the transceiver in the chip might further minimize the costs of a system solution, Figure 5. FlexRay is driving 9/12

[Figure 5: NXP Semiconductors offers the MCU Centric solution with its advantages of full integration of the FlexRay controller in the microcontroller.] Although one of the stated goals is cost reduction a FlexRay system is not any more expensive than a comparable CAN architecture. Chip costs for FlexRay are higher than for CAN due to the extra silicon area that is needed, but according to internal studies at BMW, the total system costs are very comparable yet achieve higher performance, expandability and lower complexity. Summary FlexRay has much potential. The pilot project at BMW is only the beginning, and it has demonstrated that a FlexRay system once set up properly can run with stability. Universal tool support is absolutely recommended for the various development stages in order to maintain a clear perspective of the many different requirements. Tools with FlexRay is driving 10/12

extensive checking systems simplify the work of developers and help prevent errors from the outset. A large number of computationally and communicatively intensive applications can soon become reality thanks to FlexRay. Revised: 6/2007 Word count: 1,829 Character count: 11,956 Figures: Figure 1: Fixed allocation of transmission slots to individual components (A, B, C) simplifies their incorporation in system integration. Figure 2: The state diagram of a schedule table shows how synchronization is achieved. The schedule is started, but it need not be absolutely synchronous right away (RUNNING). To run synchronously (AND SYNCHRONOUS) it can be put in a wait state (SCHEDULETABLE_WAITING), or it can be soft synchronized. Figure 3: In CANoe, actions can be executed regularly in reference to the beginning of a cycle or after a specific slot has ended. Naturally, notifications are also possible when frames are received or are missing on the bus. Figure 4: Layout of the FlexRay software according to AUTOSAR enables simple adaptation to different requirements. The figure shows a FlexRay stack, with a driver that is extended relative to AUTOSAR and is supplemented by a XCP transport layer and protocol modules. Figure 5: NXP Semiconductors offers the MCU Centric solution with its advantages of full integration of the FlexRay controller in the microcontroller. Figure 1: BMW AG Figures 2-4: Vector Informatik GmbH Figure 5: NXP Semiconductors Literature references: [1] Mayer, E.: Datenkommunikation im Automobil. Teil 4: FlexRay für den Datenaustausch in sicherheitskritischen Anwendungen [ Data communication in the automobile. Part 4: FlexRay for data exchange in safety-critical applications ]. Elektronik Automotive, 2007, Issue 2, pp. 42ff. FlexRay is driving 11/12

Author: Dr. (rer. nat.) Carsten Böke studied Informatics at the University of Paderborn. From 1995 to 2004 he was a member of the scientific staff in the area of Design of Parallel Systems at the Heinz Nixdorf Institute. There he was primarily involved with automatic configuration of embedded communication systems. Since 2004 he has been employed as Senior Software Development Engineer at Vector Informatik GmbH where he develops tools for bus analysis and bus simulation of FlexRay systems. Tel. +49-711/80670-4923, Fax +49-711/80670-111, E-mail: carsten.boeke@vector-informatik.de Vector Informatik GmbH Ingersheimer Str. 24 70499 Stuttgart Germany www.vector-informatik.com Editorial contact person: Holger Heit Tel. +49-711/80670-567, Fax +49-711/80670-555, E-mail: holger.heit@vector-informatik.de FlexRay is driving 12/12