ecu diagnostic development with autosar classic · 12.generate software templates 13.implement...

Post on 29-Sep-2020

8 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

V0.1 | 2019-03-15

ECU Diagnostic Development with AUTOSAR Classic

2

Diagnostic Demonstrator

Diagnostic Development with AUTOSAR Classic

New Feature: Window Control

Agenda

3

vVIRTUALtarget and HardwareDiagnostic Demonstrator

Vector car with VC121

CAN

DoIP

CANoe and vVIRTUALtarget

CAN

DoIP

Vector ECU VC121

4

Diagnostic Demonstrator

Diagnostic Development with AUTOSAR Classic

New Feature: Window Control

Agenda

5

E/E ArchitectureDiagnostic Development with AUTOSAR Classic

FrontMotor

HVACZoneFL

ZoneRR

ZoneRL

ZoneFR

signal oriented, hard real-timewith AUTOSAR Classic

also service oriented, less real-timewith AUTOSAR Classic/Adaptive or any POSIX OS

Connec-tivity

Tester

OEM Tester orOBD Scan Tool

Infotain-ment

Ecu

HCP

RearMotor

Battery

SOME/IP, AVB, TSN

SOME/IP AVB

6

Software Structure for Diagnostic DemonstratorDiagnostic Development with AUTOSAR Classic

Abb Description

DCM Diagnostic Communication Manager (services)

DEM Diagnostic Event Manager (fault memory)

AUTOSAR Classic motivation and use case:

Real time control with distributed functions inside the vehicle.

CAN TP

PDU Router

CAN Interface

CAN Driver

RTE

DCM DEM

Direction

Indicator ...Light Sound OBDIIAP_MySWC

Ethernet Driver

Ethernet Interface

DoIP

7

Workflow OEM DrivenDiagnostic Development with AUTOSAR Classic

CANoe, CANape

DaVinci Developer

DaVinci Configurator Pro

vFlash

Embedded CompilerVisual Studio

CANoe & vVIRTUALtarget

CANdelaStudio CANoe.DiVaCDD

CDDT

ODX

DEXT

OEM

HW

& S

W S

upplier

Classic Platform

PREEvisionSystemDescription

SWCs with annotated diagnostics PVCDI

DIDs, IO Control, Routine Control, DTCs, Events

Indigo

CANoe, CANape

8

TIER-1 WorkflowsDiagnostic Development with AUTOSAR Classic

CANoe, CANape

Indigo

DaVinci Developer

DaVinci Configurator Pro

vFlash

Embedded CompilerVisual Studio

CANoe & vVIRTUALtarget

CANdelaStudio CANoe.DiVa

CANoe, CANape

CDD

CDDT

ODX

DEXT

OEM

HW

& S

W S

upplier

Classic Platform

SWC SyncSystemDescription

SWCs with annotated diagnostics

OEM x OEM y

9

ECU Diagnostic Specification in CANdelaStudioDiagnostic Development with AUTOSAR Classic

10

CDD as Input File for DaVinci ConfiguratorDiagnostic Development with AUTOSAR Classic

11

Software Components with DaVinci DeveloperDiagnostic Development with AUTOSAR Classic

12

DaVinci Configurator – Mapped Client/Server PortsDiagnostic Development with AUTOSAR Classic

13

Feature “Stop Light”Diagnostic Development with AUTOSAR Classic

MCAL

Drivers

Light SWC

RTE

IoHwAb

22

DCM

2F

OUT3

14

Example Source CodeDiagnostic Development with AUTOSAR Classic

15

vFlashDiagnostic Development with AUTOSAR Classic

16

Diagnostic Demonstrator

Diagnostic Development with AUTOSAR Classic

New Feature: Window Control

Agenda

17

CircuitNew Feature: Window Control

Ecu

UBatt

BODY_CAN

Window Switch

1

34

5

2

7

86

up

down

GndGnd

A reversible motor

Window Lift A

M

Window Lift B

PIN 7/8 is a H bridge output.

U(x)=16x/255 [V]

I(x)=30x/255 [A]

Value Action

0 Move Down

1 Move Up

IO Control „Window Switch“

18

1. Add feature to CDD

2. Update the configuration in DaVinci Configurator

3. Create new Software Component in DaVinci Developer “WindowControl”

4. Add Init Runnable

5. Add Runnable (cyclic 10ms)

6. Instantiate new Software Component in DaVinci Developer

7. Synchronize in Configurator

8. Map Service Components for Window Control in Configurator to new Software Component

9. Create CANoe system variables in Configurator

10.Schedule in Task Mapping Init and Cyclic Runnable

11.Generate for vVIRTUALtarget

12.Generate Software Templates

13.Implement feature in Visual Studio

14.Generate for Real Target

15.Compile with Embedded Compiler

16.Flash software to ECU

InstructionNew Feature: Window Control

19

Short Term Adjustment ImplementationNew Feature: Window Control

20

CANoeNew Feature: Window Control

21 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V0.1 | 2019-03-15

Author:Hirsch, DanielVector Germany

For more information about Vectorand our products please visit

www.vector.com

top related