Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System...

21
Experience Report: Developing Off-Highway and Commercial Vehicles ECUs with AUTOSAR Moe Charara and Kurt Krueger Vector CANtech 7 th AUTOSAR Open Conference - Detroit October 23 rd , 2014

Transcript of Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System...

Page 1: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Experience Report: Developing Off-Highway and

Commercial Vehicles ECUs with AUTOSAR

Moe Charara and Kurt Krueger – Vector CANtech

7th AUTOSAR Open Conference - Detroit

October 23rd, 2014

Page 2: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Oct 23, 2014 3

Overview

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Vector’s Engagement

Suggestions for AUTOSAR Group

7th AUTOSAR Open Conference

Page 3: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

Commercial Vehicle Industry:

OEMs and suppliers who are members of, but not limited to, SAE J1939, Association

of Equipment Manufacturers (AEM), AEF and others

Commercial Trucks (light, medium, and heavy duty)

Bus

Trailers

Agriculture Machines and Equipment

Forestry Machines and Equipment

Construction Machines and Equipment

7th AUTOSAR Open Conference Oct 23, 2014 4

Page 4: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

AUTOSAR 3.x

No support for J1939 protocol in

AUTOSAR

First step:

AUTOSAR 4.0.x

Targeted the integration of “off-the-shelf”

J1939 ECUs into an AUTOSAR network

J1939 Transport Protocol (SAE J1939-

21)

7th AUTOSAR Open Conference Oct 23, 2014 5

PduR

Can CanTrcv

CanIf

CanTp J1939Tp

NM

Ca

nN

m

Ca

nS

m

Page 5: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

Major step forward:

AUTOSAR 4.1.x and later

Development of J1939 compatible

ECUs with “static addresses”

based on AUTOSAR architecture

J1939 Diagnostics (SAE J1939-

73)

J1939 Request Management

(SAE J1939-21)

J1939 Network Management

(SAE J1939-81)

7th AUTOSAR Open Conference Oct 23, 2014 6

PduR

Can CanTrcv

CanIf

CanTp J1939Tp

NM

J1

93

9N

M

Ca

nS

m

J1

93

9R

m

J1939Dcm DEM

Page 6: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

Steps ahead:

Development of J1939 compatible ECUs with “Dynamic addresses” based on

AUTOSAR architecture

Construction Machines and Equipment

Heavy Duty Trucks

7th AUTOSAR Open Conference Oct 23, 2014 7

Page 7: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

8

AUTOSAR Support for Commercial Vehicle Industry - The First Steps

Support for ISOBUS (ISO11783) compatible ECUs based on AUTOSAR architecture

Agriculture and Forestry Machines and Equipment

Interconnectivity between implements and vehicles “from different manufacturers”.

Page 8: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

AUTOSAR Methodology

Seamless Top-Down System Engineering approach

7th AUTOSAR Open Conference Oct 23, 2014 9

ECU1

SWC1

SWC2

ECU2

SWC3

System Description

… and mapped to ECUs

Extract of System

Description

An extract is created

for each ECU...

ECU1

SWC1

SWC2

SWC1 SWC2

Basic

Software

(BSW)

RTE VFB

Virtual Function Bus

SWC1

SWC2 SWC3

Software Component Description

ECU Configuration Description

(ECUC)

The ECU is configured

in detail

SW functionality of the

vehicle is defined as a

system of SWCs ...

Some Commercial Vehicle OEMs Perspective

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Page 9: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Commercial Vehicle ECU Development with AUTOSAR - Experiences

7th AUTOSAR Open Conference Oct 23, 2014 10

Some Commercial Vehicle OEM Perspective

AUTOSAR Application Architecture

Focus on feature and application

development

Reuse of Software

AUTOSAR Basic Software Architecture

Expandable BSW Architecture

Standardized BSW and

Interfaces

Page 10: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Commercial Vehicle ECU Development with AUTOSAR - Experiences

7th AUTOSAR Open Conference Oct 23, 2014 11

Some Commercial Vehicle OEM Perspective

AUTOSAR Application Architecture

Focus on feature and application

development

Reuse of Software

AUTOSAR Basic Software Architecture

Expandable BSW Architecture

Standardized BSW and

Interfaces

“One Common Standard”

Page 11: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

2007 2009 2013 2014 -

2015

Common Challenges

Introduction of AUTOSAR to Commercial Vehicle and Automotive Industry is challenging, but

possible

Commercial Vehicle ECU Development with AUTOSAR - Experiences

7th AUTOSAR Open Conference Oct 23, 2014 12

Establish processes supporting AUTOSAR Workflow

Application software components architecture

ECU Resources Management

Measurement and Calibration

Mastering increasing variants

Post Build

Functional Safety

Security

Multi-Core

Car2X Technologies

New High Speed Networks

Page 12: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Commercial Vehicle OEM Challenges

Full J1939 Dynamic Communication

J1939 Diagnostics Configuration

7th AUTOSAR Open Conference Oct 23, 2014 13

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Page 13: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Full J1939 Dynamic Communication

Handling dynamically assigned addresses at

runtime

Support for “Arbitrary Address Capable” ECUs

“Service Configurable” address ECUs

“Command Configurable” address ECUs

Name Management

7th AUTOSAR Open Conference Oct 23, 2014 14

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Page 14: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Full J1939 Dynamic Communication

ISOBUS (ISO11783)

For Example: Extended TP and Fast

Packet TP

7th AUTOSAR Open Conference Oct 23, 2014 15

Commercial Vehicle ECU Development with AUTOSAR - Experiences

ISOBUS extensions to J1939

For Example: DM1 only sent when DTCs

are active (No heartbeat)

Page 15: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Diagnostic extract in the System Template does not cover J1939

For Example: Expanded Freeze Frame description

Support for additional Diagnostic Services DMx

DM6,DM7,DM12,DM14,DM15,DM16,DM17,DM18,DM19,DM20,DM21,

DM23, DM26, DM28, DM30

Legislative OBD via J1939

WWH-OBD DM36 – DM57

Other solutions are required

7th AUTOSAR Open Conference Oct 23, 2014 16

J1939 Diagnostics Configuration

Page 16: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Current Solution for J1939 Diagnostic

Messages

Legacy Network Database (Network-

Oriented)

Can support both AUTOSAR and legacy

systems

7th AUTOSAR Open Conference Oct 23, 2014 17

Commercial Vehicle ECU Development with AUTOSAR - Experiences

Challenging to manage remaining content

of ECU Extract separately

Communication

Compositions

Atomics

Service

Components

Data Mapping

Service

Mapping

ECU Composition

J1939 Diagnostics

Messages (DMx)

J1939 Diagnostics Configuration

Page 17: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Current Solution for J1939 DTC

ODX for configuration of DEM module

for J1939

Complex to model diagnostic in

general

Potential incompatibility between

ODX file inputs due to flexibility of

open diagnostics exchange format

specification

7th AUTOSAR Open Conference Oct 23, 2014 18

Commercial Vehicle ECU Development with AUTOSAR - Experiences

DBC

Legacy J1939 Database files

Contains communication

information, needed

for the ECU

Software Component Description files

.xml

J1939 Diagnostics

Data

ECU Extract of System Description

ECU Configuration

Description

.arxml

.xml

Conversion Tool

BSW

Authoring Tool

.c

.h

BSW module configuration header and source files

J1939 Diagnostics Configuration

Page 18: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Challenging to adopt AUTOSAR Methodology

7th AUTOSAR Open Conference Oct 23, 2014 19

Commercial Vehicle ECU Development with AUTOSAR - Experiences

ECU1

SWC1

SWC2

ECU2

SWC3

System Description

Extract of System Description

ECU1

SWC1

SWC2

SWC1 SWC2

Basic Software

(BSW)

RTE

VFB

Virtual Function Bus

SWC1

SWC2 SWC3

Software Component Description

ECU Configuration Description (ECUC)

! ! !

Page 19: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Vector’s Engagement

Support discussions and collaboration with North American commercial vehicle OEMs

and suppliers to contribute to the improvement of J1939 standard in AUTOSAR.

7th AUTOSAR Open Conference Oct 23, 2014 20

Page 20: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

Oct 23, 2014 21

Suggestions for AUTOSAR Group

AUTOSAR is a Global Standard

Encourage and motivate global WP participation

Lead the way and collaborate with NA commercial

vehicle OEMs (Regional WP, subgroup of WP-I)

Discuss BSW concepts, bug fixes

Support concepts of extending AUTOSAR BSW

Discuss application interfaces

Create an Explanation of Application Interfaces for

Commercial Vehicle Applications

7th AUTOSAR Open Conference

Page 21: Experience Report: Building Off-Highway and Commercial ... · Diagnostic extract in the System Template does not cover J1939 For Example: Expanded Freeze Frame description Support

7th AUTOSAR Open Conference Oct 23, 2014 22

Thank you for your attention!

Questions?