27.01.2015 Views

Diagnostic communication with ASAM-MCD, ODX and UDS on CAN

Diagnostic communication with ASAM-MCD, ODX and UDS on CAN

Diagnostic communication with ASAM-MCD, ODX and UDS on CAN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Softing Automotive Electr<strong>on</strong>ics GmbH<br />

<str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>with</str<strong>on</strong>g> <str<strong>on</strong>g>ASAM</str<strong>on</strong>g>-<br />

<str<strong>on</strong>g>MCD</str<strong>on</strong>g>, <str<strong>on</strong>g>ODX</str<strong>on</strong>g> <str<strong>on</strong>g>and</str<strong>on</strong>g> <str<strong>on</strong>g>UDS</str<strong>on</strong>g> <strong>on</strong> <strong>CAN</strong><br />

Peter Subke - October 25, 2011 – Open Technology<br />

Forum @ Testing Expo North America


Agenda<br />

• Terms & Definiti<strong>on</strong>s<br />

• <str<strong>on</strong>g>UDS</str<strong>on</strong>g> <strong>on</strong> <strong>CAN</strong><br />

• <str<strong>on</strong>g>ASAM</str<strong>on</strong>g> <str<strong>on</strong>g>MCD</str<strong>on</strong>g> D-Server<br />

• <str<strong>on</strong>g>ODX</str<strong>on</strong>g><br />

The title of my presentati<strong>on</strong> should read:<br />

<str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>with</str<strong>on</strong>g><br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g> 2.2.0 (ISO 22901-1) driven D-Server Applicati<strong>on</strong>s <strong>on</strong> the D-Server API (ISO 22900-3)<br />

<str<strong>on</strong>g>with</str<strong>on</strong>g> D-PDU API (ISO 22900-2) compatible VCIs implementing <str<strong>on</strong>g>UDS</str<strong>on</strong>g> (ISO 14229-1) <strong>on</strong> <strong>CAN</strong><br />

(ISO 15765-3) as diagnostic protocol.<br />

© 2011 Softing AE / Seite 2


ECUs: Functi<strong>on</strong>al View<br />

ECU # 1<br />

ECU # 2<br />

Input Info<br />

Output Info<br />

Input Info<br />

Output Info<br />

Important reas<strong>on</strong>s for the assignment of electr<strong>on</strong>ic systems in vehicles<br />

include:<br />

• Increase of miles per gall<strong>on</strong><br />

• Increase of comfort <str<strong>on</strong>g>and</str<strong>on</strong>g> safety<br />

• Reducti<strong>on</strong> of emissi<strong>on</strong>s<br />

© 2011 Softing AE / Seite 3


On-Board Communicati<strong>on</strong><br />

ECU # 1<br />

ECU # 2<br />

Input Info<br />

Output Info<br />

Input Info<br />

Output Info<br />

in-vehicle network (e.g. <strong>CAN</strong> bus)<br />

<strong>on</strong>-board <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g><br />

ECUs c<strong>on</strong>vert input informati<strong>on</strong> to output informati<strong>on</strong>.<br />

ECUs send informati<strong>on</strong> to other ECUs <str<strong>on</strong>g>and</str<strong>on</strong>g> receive informati<strong>on</strong> from other ECUs (they<br />

virtually talk to each other = <strong>on</strong>-board <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g>).<br />

For <strong>on</strong>-board <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g>, ECUs are interc<strong>on</strong>nected via in-vehicle networks, e.g.<br />

<strong>CAN</strong>.<br />

© 2011 Softing AE / Seite 4


Gateway ECU, Data Link C<strong>on</strong>nector (DLC) <str<strong>on</strong>g>and</str<strong>on</strong>g> TST<br />

ECU # 1<br />

ECU # 2<br />

Input Info<br />

Output Info<br />

Input Info<br />

Output Info<br />

in-vehicle network (e.g. <strong>CAN</strong> bus)<br />

DLC<br />

<str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g><br />

<strong>CAN</strong><br />

TST<br />

A gateway ECU supports the<br />

c<strong>on</strong>necti<strong>on</strong> of external test equipment<br />

= Tester (TST)<br />

Gateway ECU<br />

© 2011 Softing AE / Seite 5


Unified <str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> Services (<str<strong>on</strong>g>UDS</str<strong>on</strong>g>)<br />

• For any diagnostic <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g>, both the tester <str<strong>on</strong>g>and</str<strong>on</strong>g> the ECUs must support<br />

the same diagnostic protocol<br />

• Examples for diagnostic protocols include KWP2000 <str<strong>on</strong>g>and</str<strong>on</strong>g> <str<strong>on</strong>g>UDS</str<strong>on</strong>g> <strong>on</strong> <strong>CAN</strong>.<br />

• <str<strong>on</strong>g>UDS</str<strong>on</strong>g> is specified in ISO 14229-1 <str<strong>on</strong>g>and</str<strong>on</strong>g> its implementati<strong>on</strong> <strong>on</strong> <strong>CAN</strong> in ISO 15765-3<br />

• ISO 14229-1 c<strong>on</strong>tains 25 diagnostic services. Examples include<br />

• ECU reset<br />

• Resp<strong>on</strong>se <strong>on</strong> event<br />

• Read DTC informati<strong>on</strong><br />

• Read memory by address<br />

• Routine c<strong>on</strong>trol<br />

• Transfer data<br />

© 2011 Softing AE / Seite 6


PC-Software<br />

Tester Software<br />

Editor<br />

Tester Applicati<strong>on</strong><br />

Data<br />

D-Server<br />

VCI<br />

© 2011 Softing AE / Seite 7


PC-Software<br />

St<str<strong>on</strong>g>and</str<strong>on</strong>g>ardized Tester Software<br />

Editor<br />

Tester Applicati<strong>on</strong><br />

D-Server API (ISO 22900-3)<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g><br />

MVCI D-Server<br />

ISO 22901<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g> 2.2<br />

D-PDU API (ISO 22900-2)<br />

VCI<br />

© 2011 Softing AE / Seite 8


D-Server API<br />

D-Server API (ISO 22900-3)<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g><br />

MVCI D-Server<br />

• The D-Server is an object-oriented<br />

programming interface for applicati<strong>on</strong>s<br />

D-PDU API (ISO 22900-2)<br />

written in C/C++ or Java<br />

• ISO 22900-3:2009 has been <str<strong>on</strong>g>with</str<strong>on</strong>g>drawn in April 2010.<br />

• The current stage date of the new committee draft (ISO/CD) is Sept 30, 2011<br />

• As ISO/CD are not available for the public, there is no valid ISO st<str<strong>on</strong>g>and</str<strong>on</strong>g>ard for the<br />

D-Server API<br />

© 2011 Softing AE / Seite 9


D-PDU API<br />

D-Server API (ISO 22900-3)<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g><br />

MVCI D-Server<br />

D-PDU API (ISO 22900-2)<br />

• Objective: Any applicati<strong>on</strong> (incl. D-Server) that utilizes the D-PDU API can be<br />

executed <strong>on</strong> any D-PDU API compliant VCI<br />

• ISO 22900-2 (D-PDU API) provides the descripti<strong>on</strong> of API functi<strong>on</strong>s <str<strong>on</strong>g>and</str<strong>on</strong>g> the<br />

abstracti<strong>on</strong> of diagnostic protocols, e.g. „ISO_14229_1_<strong>on</strong>_ISO_15765_3“<br />

© 2011 Softing AE / Seite 10


ISO MVCI <str<strong>on</strong>g>and</str<strong>on</strong>g> <str<strong>on</strong>g>ODX</str<strong>on</strong>g>- Summary<br />

ISO 22900: Road vehicles – Modular vehicle <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g> interface (MVCI)<br />

Part 1(2008): Hardware design requirements<br />

Part 2 (2009): <str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> protocol data unit applicati<strong>on</strong> programmer interface (D-PDU API)<br />

Part 3 (CD): <str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> server applicati<strong>on</strong> programmer interface (D-Server API)<br />

ISO 22901: Road vehicles – Open diagnostic data exchange (<str<strong>on</strong>g>ODX</str<strong>on</strong>g>)<br />

Part 1 (2008): Data model specificati<strong>on</strong><br />

Part 2 (2011): Emissi<strong>on</strong>s-related diagnostic data<br />

© 2011 Softing AE / Seite 11


PC-Software<br />

DTS 8<br />

VENICE<br />

MONACO<br />

D-Server API (ISO 22900-3)<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g><br />

MVCI D-Server<br />

COS<br />

ISO 22901<br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g> 2.2<br />

D-PDU API (ISO 22900-2)<br />

VCI (EDIC or 3rd party)*<br />

*VCIs <str<strong>on</strong>g>with</str<strong>on</strong>g> D-PDU API<br />

or SAE J2534 PassThru API<br />

• VENICE<br />

• MONACO<br />

• COS<br />

• EDIC<br />

© 2011 Softing AE / Seite 12


EDICblue<br />

VCIs <str<strong>on</strong>g>with</str<strong>on</strong>g> D-PDU API<br />

EDICwlan<br />

ETAS ES6520<br />

SAMTEC<br />

HSX<br />

© 2011 Softing AE / Seite 13


Summary<br />

<str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>with</str<strong>on</strong>g><br />

<str<strong>on</strong>g>ASAM</str<strong>on</strong>g>-<str<strong>on</strong>g>MCD</str<strong>on</strong>g>, <str<strong>on</strong>g>ODX</str<strong>on</strong>g> <str<strong>on</strong>g>and</str<strong>on</strong>g> <str<strong>on</strong>g>UDS</str<strong>on</strong>g> <strong>on</strong> <strong>CAN</strong><br />

Means<br />

<str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>with</str<strong>on</strong>g><br />

<str<strong>on</strong>g>ODX</str<strong>on</strong>g> 2.2.0 (ISO 22901-1) driven D-Server Applicati<strong>on</strong>s <strong>on</strong> the D-Server API (ISO<br />

22900-3) <str<strong>on</strong>g>with</str<strong>on</strong>g> D-PDU API (ISO 22900-2) compatible VCIs implementing <str<strong>on</strong>g>UDS</str<strong>on</strong>g> (ISO<br />

14229-1) <strong>on</strong> <strong>CAN</strong> (ISO 15765-3) as diagnostic protocol.<br />

© 2011 Softing AE / Seite 14


Literature<br />

Christoph Marscholik & Peter Subke<br />

Road vehicles – <str<strong>on</strong>g>Diagnostic</str<strong>on</strong>g> <str<strong>on</strong>g>communicati<strong>on</strong></str<strong>on</strong>g><br />

Technology & Applicati<strong>on</strong>s<br />

2008, 336 pages, soft cover<br />

ISBN 978-3-7785-4048-0<br />

http://www.vde-verlag.de/engl/books.html<br />

© 2011 Softing AE / Seite 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!