You are on page 1of 8

Diagnostic Systems

Accelerate the Development


COVE R S TORY

Diagnostic Systems
Accelerate the Development
The repair of today’s vehicles with their network of 50 bis 150 computers, several bus systems
and distributed functions is no longer possible without an expert system based on the control
unit diagnosis. The same applies to production: errors cannot be found without a tester.
In order for the diagnosis to work, considerable effort is required in vehicle development –
and the trend is increasing, as Softing Automotive describes.

2
g The diagnostic basis is still the environment, such as a Telematics
same as it was ten years ago: The diag­ Control Unit (TCU). If the implementa­
nostic protocol used is UDS (Unified tion is ­correspondingly mature, it can
Diag­nostic Services); the diagnostic also prove very useful in engineering.
description is made in ODX (Open Diag­ There are a few limiting conditions
nostic Data Exchange). When these stan­ to be considered here.
dards were first specified, there were
considerably fewer ECUs installed in
USING DIAGNOSIS
vehicles. Two to three vehicle buses
IN ENGINEERING
were all you needed and the amounts
of data to be programmed were infini­ To put it simply, diagnostic engineering
tesimally smaller. must be divided into two phases, that
In recent years, ASAM e.V. specified is the engineering of the mechatronic
a new diagnostic standard to meet the system and the Integration.
new requirements: Service Oriented In the engineering of the mecha­
Vehicle Diagnostics (SOVD) [1]. The tronic system, the communication
API (Application Programming Inter­ ­protocol first has to work in terms of
face) was defined for a runtime sys­ diagnostics. Based on this, the actual
tem implemented on the vehicle. This diagnostic functionality is created in
makes diagnostic information avail­ the control unit:
able for applications which either run – monitoring routines which lead to
directly in the vehicle, for example a error memory entries
­programming application for over-the- – access to measurement values
air updates, or can be accessed exter­ – parameterization possibilities
nally. For this purpose, the API essen­ of the diagnostic software,
tially f­ollows the Representational State for example for variant coding
Transfer(REST) paradigm. So, in princi­ – programming possibilities for the
ple, it can be operated via Hypertext ­software update.
transfer protocol secure (https). The These functions are then verified within
“Service ­Oriented” in SOVD is a refer­ the ECU test with a simulated environ­
ence to the fact that entire blocks of ment like Hardware in the Loop (HiL)
information are read out as opposed and on the test bench together with the
to individual pieces of information, real environment.
which is the common procedure today. As a result, several control units are
This also makes it easy to set up remote first integrated into buses and their com­
applications because the quality of the munication and functionality are tested
transmission path is irrelevant for per­ in interaction. Then, vehicle prototypes
forming diagnostics [2]. can be set up and ultimately diagnostic
Basically, the standard is perfectly functions released in the real vehicle
suitable for use in manufacturing and during the road test.
after-sales service. For this purpose, As a result, several control units are
© Softing Automotive it requires a suitable control unit with first integrated into buses and their com­
the ability to exchange data with the munication and functionality are tested

W R I T T EN BY

Markus Steffelbauer,
is Director Product Management
at Softing Automotive in Haar
near Munich (Germany).

FIGURE 1 Changing diagnostic requirements in development (© Softing Automotive)

3
COVER STORY

in interaction. Then, vehicle prototypes tially, diagnostics takes place over UDS, example, an ECU or function manager
can be set up and ultimately diagnostic but with increasing maturity and will need to safeguard their area of
functions released in the real vehicle greater integration of the whole responsibility via the SOVD server,
during the road test, FIGURE 1. system, over the SOVD server. Parame­ after all, this is how diagnostics will
From the point of view of the diag­ terization is necessary in both systems. be used in ­productive operation in
nostic application, this results in two Engine ECU diagnostics quite obvi­ manufacturing and after-sales. If prob­
completely different scenarios. The ously differs from a door ECU. This lems occur, direct access to the ECU via
SOVD server is usually available in is taken into account in current dia­ the UDS path makes it much easier to
the assembled vehicle. Diagnostics gnostic tools through the use of data pinpoint the cause.
should therefore also take place via ODX, which describes the different
this server to be able to ensure suffi­ diagnostic capabilities. The situation
IDEALIZED SOLUTION APPROACH
cient maturity for manufacture and with the SOVD server is similar as it
for the application in service. The pre­­scinds the diagnostics of the whole In such a hybrid system, the SOVD
same applies to bus integration in vehicle which is equipped differently. server can be parameterized in the
some cases, but this depends on the For example, a station wagon has a same way as the MVCI server: via
E/E architecture and the position of ­tailgate control unit, whereas a sedan the above-mentioned ODX data. In
the SOVD server within that architec­ doesn’t. This has to be made accessi­ real s­ ystems, these are rarely used
ture. During ECU engineering, however, ble with parameterization and must in their pure form, but in a runtime
diagnostics continues to be performed also be able to be changed during ope­ format. This has the advantage that
via UDS; after all, the SOVD server is ration, as numerous modern functions the data can be protected more easily
not yet available at this point, or not are implemented in software and can as a safety-critical component and the
available to every ECU engineer. This thus be adapted after sale, FIGURE 2. runtime data can be both highly com­
poses several challenges for the archi­ In general, a diagnostic system pressed and runtime optimized. In
tecture of the diagnostic system. thus has one path, via which an ODX addition, the hybrid system shows con­
system enables diagnostics with ECUs sistent ­r untime behavior across both
via UDS, and a second path, via which paths, making the results equally com­
IMPACT ON
an SOVD server that has to be parame­ parable and reliable.
THE DIAGNOSTIC SYSTEM
terized using proprietary methods is If you can also transfer the SOVD
As a consequence, diagnostic sys­tems the diagnostic basis. Both paths can part of the hybrid system to the vehicle,
must support two different paths: Ini­ certainly also be used in parallel. For you have a uniform system for both
ECU diagnostics and vehicle diagnos­
tics. This makes the results equally
reliable across the entire value chain.
For in-­vehicle use, the data will simply
be reduced to the necessary extent.
ODX data (Open Diagnostic Data Ex­­
change) typically contains all possible
vehicle variants in order to enable
diagnostics – for example in the repair
shop environment – with every possi­
ble installation or software variant.
Both are known in the vehicle which
means that only the correct data needs
to be kept available in each case.
So the target image might look
like this:
– There is a runtime system that is
used in the vehicle in a SOVD server.
– The runtime system can work with
vehicle specific and complete data.
– For ECU diagnostics it is operated as
an MVCI server on the PC.
– For vehicle diagnostics in engineer­
ing, it is operated as an SOVD server
on the PC.
The result would mean everything:
­u niform runtime behavior across all
use cases, optimized data sizes in each
FIGURE 2 In the future, vehicle functions will be implemented primarily in software, case – and a validated diagnostic sys­
so it must also be ­possible to change the parameters during operation (© Softing Automotive) tem in the vehicle.
4
FIGURE 3 The MVCI server is
combined with a runtime
environment standardized
diagnostic processes accord-
ing to ISO 13209 in order,
among other things, to enable
the application of entire diag-
nostic f­unctions (© Softing
Automotive)

DIAGNOSTIC RUNTIME and after-sales. The MVCI server is One example is reading the error mem­
ENVIRONMENT combined with an ODX runtime environ­ ory, which ­combines several UDS ser­
ment (Open Diagnostic Data Exchange) vices (reading errors for each ECU,
Softing SDE is an ODX-based, platform-­ for standardized diagnostic sequences ­querying ­environmental conditions
independent diagnostic runtime envi­ in compliance with ISO 13209. The for each error) into one function call
ronment which has been available for Smart Diagnostic API also provides a on the SDE. This is easy to learn and
many years. It is used in numerous appli­ service-oriented interface that offers use in remote scenarios. The functions
cations in engineering, manu­facturing applications entire ­diagnostic functions. then run independently of the con­

FIGURE 4 SOVD as REST interface for the SDE (© Softing Automotive)

5
ati

nection link like 4G/5G: Results with the SDE as long as the ECU with REFERENCES
can basically be retrieved when the SOVD server is not installed or [1] Bernd Wenzel ASAM e.V.; Tobias Weidemann
Vector Informatik: SOVD – Service oriented Vehicle
the ­connection is ­sufficiently good, cannot yet be used. In the finished Diagnostics. Munich, October 07./08. 2021, online.
­F IGURE 3 and FIGURE 4. vehicle, diagnostics is then only car­ chrome-extension://efaidnbmnnnibpcajpcglclefind-
These service-oriented functions ried out via the SOVD server, FIGURE 5. mkaj/https://www.asam.net/index.php?eID=dump-
File&t=f&f=4485&token=aae-
­correspond in the abstraction level to Remote scenarios are also possible
0a0499792b569d82fd860d07d1b5b0de049d9,
the functions required by SOVD. This at any time with this procedure [3]. access: June 20 th 2023
makes it very easy to fulfill the stan­ Test benches can be operated remotely [2] Steffelbauer, M.: SOVD - The Diagnostic
dard: Only the existing C++ API has at any time via the SDE and in the road ­S tandard of Tomorrow. In: ATZ Electronics 16
(2021), Nr. 4, S. 44-48
to be converted via a wrapper to a test, this can be taken care of both using
[3] Steffelbauer, M.: Biggest Possible Develop-
REST interface in accordance with proprietary methods and with the SOVD ment Efficiency with Remote Engineering. In:
the SOVD standard. Depending on the server. This is equally possible on the ATZelectronics 14 (2019) Nr. 10, S 36-39
application, the Capability Description customer vehicle – after all, Remote is
described in the SOVD standard (this a main use case for SOVD.
contains the diagnostic capabilities of
a vehicle like the ODX data), can then
CONSISTENT DIAGNOSIS
be generated online from the ODX
data if necessary. SOVD changes diagnostics, the standard
The procedure enables a continuous offers great advantages not least in the
diagnostic chain from ECU engineering interaction of several partners via the
and the test environment to manu­fac­­ Internet. However, additional methodolo­
turing and into the repair shop.First, diag­ gies are necessary in the early engineer­
nostics is implemented locally in the ECU ing phases, and the standard simply has
and verified using the engineering tester. not been developed for ECU diagnostics.
The integrated SDE then continues to be Here, particular attention must be paid
used in test benches with exactly the to data processes, which can lead to sig­
same data and confi­­gurations. Localiza­ nificant additional costs in parallel sys­
tion separate from the test sequence is tems. Diagnostic systems such as Soft­
easily possible, for example in a VCI. In ing SDE, which have been designed for
the road test, the SOVD implementation a wide range of application scenarios
based on the SDE is then used and thus and can be easily extended with an
the final methodology released. In turn, SOVD API, make it possible to leverage
in manufacturing you can only work all the advantages.

FOLLOW US ON SOCIAL MEDIA:

IMPRINT MANAGING DIRECTORS:


Special Edition 2023 in cooperation with Softing Automotive Electronics GmbH, Stefanie Burgmaier | Andreas Funk | Joachim Krieger
Richard-Reitzner-Allee 6, 85540 Haar; Springer Fachmedien Wiesbaden GmbH, Postfach 1546,
PROJECT MANAGEMENT: Anja Trabusch
65173 Wiesbaden, Amtsgericht Wiesbaden, HRB 9754, USt-ldNr. DE81148419
COVER PHOTO: © Softing Automotive Electronics GmbH

6
DIAGNOSTIC AND
TEST SOLUTIONS
BY SOFTING
This is a testtext
New paragraph,
new line
Hyperlink, this is

● This is more text


outline mode
● New paragraph

You might also like