MATLAB Expo Simulation Based Automotive Communication Design using MATLAB- SimEvent. Sudhakaran M Anand H General Motors

Similar documents
A General Synthesis Approach for Embedded Systems Design with Applications to Multi-media and Automotive Designs

Mixed-Criticality Systems based on a CAN Router with Support for Fault Isolation and Selective Fault-Tolerance

Application. Diagnosing the dashboard by the CANcheck software. Introduction

FlexRay and Automotive Networking Future

Ethernet TSN as Enabling Technology for ADAS and Automated Driving Systems

U0001-CAN C BUS. Theory of Operation LX - CHRYSLER L V8 HEMI MDS V.V.T. (EZD)

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

Failure Diagnosis and Prognosis for Automotive Systems. Tom Fuhrman General Motors R&D IFIP Workshop June 25-27, 2010

Workflow for Control System Design and Implementation

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

An Encapsulated Communication System for Integrated Architectures

Mentor Automotive. Vehicle Network Design to meet the needs of ADAS and Autonomous Driving

Countermeasures against Cyber-attacks

Automobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched

MIGRATING TO CAN FD. Tony Adamson. Marketing Director CAN / LIN / FlexRay

Controller area network

FIXED PRIORITY SCHEDULING ANALYSIS OF THE POWERTRAIN MANAGEMENT APPLICATION EXAMPLE USING THE SCHEDULITE TOOL

Ingress Policing in Automotive Systems. Soheil Samii, General Motors R&D Johannes Specht, Univ. of Duisburg-Essen

Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications

Autonomous Driving From Fail-Safe to Fail-Operational Systems

Functional Safety Architectural Challenges for Autonomous Drive

A Reliable Gateway for In-vehicle Networks

Business update: Automotive

The House Intelligent Switch Control Network based On CAN bus

Goals and prospects of embedded electronic automotive systems

Introduction to Quality of Service

Schedule Integration for Time-Triggered Systems

Simplify CAN and LIN In-vehicle Network Testing

Modeling System Architecture and Resource Constraints Using Discrete-Event Simulation

Security Analysis of modern Automobile

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien

ARTIST-Relevant Research from Linköping

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Understanding and Using the Controller Area Network Communication Protocol

Embedded Real-Time Systems. Facts and figures. Characteristics

Field buses (part 2): time triggered protocols

Probabilistic Worst-Case Response-Time Analysis for the Controller Area Network

FlexRay International Workshop. Protocol Overview

Giancarlo Vasta, Magneti Marelli, Lucia Lo Bello, University of Catania,

4. Networks. in parallel computers. Advances in Computer Architecture

Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models

Standardized Tool Components for NRMM-Diagnostics

AUTOMOBILE APPLICATIONS USING CAN PROTOCOL

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Pushing the limits of CAN - Scheduling frames with offsets provides a major performance boost

Controller Area Network (CAN) Tutorial

Dimensionality reduction for commercial vehicle fleet monitoring

Automotive Anomaly Monitors and Threat Analysis in the Cloud

Automotive Gateway: A Key Component to Securing the Connected Car

Quality of Service (QoS)

Communication Networks for the Next-Generation Vehicles

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Who is riding the Bus?

In-Vehicle Network Architecture for the Next-Generation Vehicles SAE TECHNICAL PAPER SERIES

Multimedia Convergence & ACCI Sector Overview

Overvoltage protection with PROTEK TVS diodes in automotive electronics

VT System Smart HIL Testing

The Network Layer and Routers

How to Hack Your Mini Cooper: Reverse Engineering CAN Messages on Passenger Automobiles

Resistance Is Futile Electronics Are on the Rise Electronic Control Units and Communication Protocols

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems

CS 856 Latency in Communication Systems

WeVe: When Smart Wearables Meet Intelligent Vehicles

mobydic 4910 Multiprotocol ECU Simulator v1.01 Features

Ethernet Design Challenges The requirements and use of Ethernet with AUTOSAR

Agenda. > AUTOSAR Overview. AUTOSAR Solution. AUTOSAR on the way

Real-Time (Paradigms) (47)

ELEC 5260/6260/6266 Embedded Computing Systems

ARM processors driving automotive innovation

Atacama: An Open Experimental Platform for Mixed-Criticality Networking on Top of Ethernet

Validation of Complex. Systems

Security Concerns in Automotive Systems. James Martin

10 th AUTOSAR Open Conference

Partitioned Control Challenge Problem

Cybersecurity Challenges for Connected and Automated Vehicles. Robert W. Heller, Ph.D. Program Director R&D, Southwest Research Institute

Release Date: September 4, 2014

S32K Microcontroller Press Pack

EXPERIENCES FROM MODEL BASED DEVELOPMENT OF DRIVE-BY-WIRE CONTROL SYSTEMS

PROBABILISTIC SCHEDULING MICHAEL ROITZSCH

Figure 1. ECU Access to CAN bus

Introduction to Real-time Systems. Advanced Operating Systems (M) Lecture 2

AN INTEGRATED ARCHITECTURE FOR FUTURE CAR GENERATIONS Real-Time Systems Journal, Volume 36, 2007, pages , Springer.

Sri Vidya College of Engineering and Technology. EC6703 Embedded and Real Time Systems Unit IV Page 1.

Experiences with CANoe-based Fault Injection for AUTOSAR

Performance Testing BroadR-Reach Automotive Ethernet

Developing Optimization Algorithms for Real-World Applications

DJ - RAM 2500 PICKUP - 6.7L CUMMINS TURBO DIESEL

An example based course curriculum for Performance Evaluation in Distributed Real Time Systems

AVB Gen 2: the Next Step. Michael Johas Teener Plumbing Architect and Sr. Technical Director, Broadcom Corp,

Latency on a Switched Ethernet Network

Automotive Systems Technology

Build a Driver Information System with IoT Technology

AMDC 2017 Liviona Multi-Core in Automotive Powertrain and Next Steps Towards Parallelization

ETHERNET AS AN EMERGING TREND IN VEHICLE NETWORK TECHNOLOGY PART II

Introduction to Control Systems Design

A modern diagnostic approach for automobile systems condition monitoring

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

The Golf 2004 Electrical system

Control Challenges in the Vehicle Infrastructure Initiative (VII)

Flexray Protocol in Automotive Network Communications

Transcription:

MATLAB Expo 2013 Simulation Based Automotive Communication Design using MATLAB- SimEvent Sudhakaran M Anand H General Motors 1

Agenda Introduction Different Analysis Methods Analytical vs. Simulation Approach Why and when to use Simulation Based Approach Use cases Q&A 2

Value from Electronics & Software Evolution of Electronics and Software Functionality Fuel Cell X-By-Wire Hybrid PT Electric Brake ACC DoD Electric Ignition BCM ABS OnStar OBD II HI Spd Data Rear Vision Passive Entry Side Airbags GDI... TCC Rear aud/vid Head Airbags EGR CDs Electric Fan 1970s 1980s 1990s 2000s 2010s 2020s ABS: Antilock Brake System ACC: Adaptive Cruise Control BCM: Body Control Module DoD: Displacement On Demand ECS: Electronics, Controls, and Software EGR: Exhaust Gas Recirculation. GDI: Gas Direct Injection OBD: Onboard Diagnostics TCC: Torque Converter Clutch PT: Powertrain 3

Total Network Bandwidth (Mbps). Exponential Increase in Bus Bandwidth Capacity Available Bus Capacity 16 14 12 10 8 6 4 2 0 2000 2005 2010 2015 2020 Known Data Forecasted Data year Caveat: This is assuming that the same architectural pattern is maintained in the future. 4

Emerging Technical Challenges Exponential increase in communication bus and computing processor requirements Broadcast communication and synchronization Increase in supervisory control layers and distributed closed loop control Heterogeneity in transmit models Move from 1 function 1 ECU paradigm to up-integration of functions Reduce No of ECUs Move from fail safe towards fail operational Active Front steering to Steer by Wire Federated vs. integrated fault tolerant devices 5

Architectural Patterns Some of the potential network architectural patterns Router Isolated Backbone Linear Utilized Grid Use a Backbone router public as bus a means as a high to speed, share data high between bandwidth domain means busses to Single Use share a CAN Multiple data public bus. between bus Buses Features as a domain to high contend are speed, added gateway with high as modules needed bandwidth bandwidth. as new means to support modules, share data some or integrated between modules domain into directly existing gateway modules. modules Public Bus DLC LIN LIN P/T CHASSIS EBCM Router SAFETY BODY SAFETY BODY SDM INF/TEL PT CAN CH CAN LIN Body Safety CAN CAN Chassis LIN Safety Body CAN LIN Infotainment Infotainment 6

Complexity in satisfying the architectural needs Maintainability/serviceability Complexity Timing - Jitter Re-use Low Infrastructure Cost 6 5 4 3 2 1 0 Expandability Flexibility Requirement exceeds capability Low Cost to Add Features Mid Content Isolated Backbone Safety Packaging Energy Efficiency Capability exceeds requirement Timing - Latency Domain Isolation 7 7

Question? What methods and tools will assist the system architect to come up with an architecture that meets these challenges? 8

Analysis Methods System level performance analysis Analytical approach Mathematically represent the system for worst case and best case scenario for a given design Simulation approach Simulates the system for a given scenario and is time based to predict best design 9

Simulation Vs Analytical Worst case model Upper Bound T analytical T sim T real Best case model Analytical Lower Bound Simulation Implementation 10

Metrics Metric\Approach Analytical Simulation Latency Y (Worst case) Y (Average) Load (CPU or Network) Buffer Management Y (Worst case) Y (Worst case) Jitter N Y Y (Average) Y (Average) Initialization Time N 11 Y

Why Simulation Approach Study the behavior of a system without building the real system. Find un-expected phenomenon, behavior of the system. Easy to perform ''What-If'' analysis. Simulations take the building/rebuilding phase out of the loop by using the model already created in the design phase Simulation testing is cheaper and faster can be done at very early stage of development Simulators can be used as an effective means for teaching or demonstrating concepts of a real system. 12

SimEvent Toolbox Library set SimEvents provides a discrete-event simulation engine and component library for Simulink Enables modeling event-driven communication between components to analyze and optimize end-to-end latencies, throughput, packet loss, and other performance characteristics It has Libraries of predefined blocks, such as queues, servers, and switches, which enables to accurately represent actual system SimEvents can design distributed control systems, hardware architectures, sensor and communication networks etc 13

Introduction to CAN Protocol CAN bus (Controller Area Network) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. CAN features an automatic arbitration-free transmission. A CAN message that is transmitted with highest priority will succeed, and the node transmitting the lower priority message will sense this and back off and wait. 14

CAN Frame Format 15

CAN Network Simulation Model 16

Load Bus load vs Time Time in (ms) 17

CAN ID CAN ID vs Time Time 18

No of occurrences Histogram if Inter- arrival Time of a Message Time in (ms) 19

Conclusions Simulation based approach can help us in verifying the design without actually building it. It can be used to re-create field issues including boundary conditions, which is not possible using analytical method. Many design alternatives can easily be compared. 20

21