16
Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019 © Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen. © Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen. 1 Diagnosis SW System Test at Bosch eBike Systems Combined Automated Testing on CAN and GUI Level Dr. Jonathan Neidhardt, Bosch eBike Systems Dipl.-Ing. Sebastian Bube, P3 Systems

Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

  • Upload
    vuthu

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

1

Diagnosis SW System Test at Bosch eBike SystemsCombined Automated Testing on CAN and GUI Level

Dr. Jonathan Neidhardt, Bosch eBike SystemsDipl.-Ing. Sebastian Bube, P3 Systems

Page 2: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Diagnosis SW System Test at Bosch eBike SystemsOur driving force, our motivation

2

▶ Mobility is a basic human need.

▶ Bosch eBike Systems is working on the future of individual mobility. A mobility that is healthy, and economically and ecologically sustainable. A mobility that is electrified, automated, and networked.

▶ To achieve this vision, Bosch eBike Systems cooperates closely with bicycle manufacturers, partners and dealers and utilizes synergies from the Bosch Group.

▶ The Pedelec is one of the most agile, comfortable and smartest vehicles of our time.

▶ Together we inspire people with innovative products and convincing services for eBike riding –we make the eBike world even more fascinating.

Page 3: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Perfectly coordinated componentsDiagnosis SW System Test at Bosch eBike Systems

3

On-board computers

Batteries

Drive Units

PowerTube 500 PowerPack 300/400/500 DualBattery

Active Line Active Line Plus Performance Line Cruise/Speed

Performance Line CX

eBike ABS

Compact Charger Standard Charger Fast Charger

Purion Intuvia NyonKiox

Page 4: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Intuitive Diagnostic Tool for OEMs and DealersDiagnosis SW System Test at Bosch eBike Systems

4

Dealer service

• OEM specific configuration & parameterization

• Service for dealers via Remote Diagnosis feature

OEM production & service

USB

• Error diagnostics• Software updates• Customer specific

reconfiguration

Page 5: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

The challange: Test automation on system levelDiagnosis SW System Test at Bosch eBike Systems

5

CANoevTestStudio

?

Page 6: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Test setupDiagnosis SW System Test at Bosch eBike Systems

6

Page 7: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Test case creation and automationDiagnosis SW System Test at Bosch eBike Systems

7

Sequences of alternating actions(arrows) and checks (boxes)

Test case design detailed as in manual testing

Adding automation commands

vTESTstudio: sequence diagrams

Page 8: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Test case creation and automationDiagnosis SW System Test at Bosch eBike Systems

8

vTESTstudio: test command details

Access to text elements, comboboxes, checkboxes, dialogs GenericAction GenericCheck GenericWait GenericGet

Time measurement via TimeLoggerCANoe native .NET Framework 4.0

Page 9: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Test case creation and automationDiagnosis SW System Test at Bosch eBike Systems

9

vTESTstudio: developing test functions

Combine several test steps in one function

ReusabilityNo programming knowledge needed

Page 10: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Test case creation and automationDiagnosis SW System Test at Bosch eBike Systems

10

CANoe: diagnostic and simulation

Use of CANoe’s full functionalityRead and write of diagnostic values

from eBike System Automated comparison with displayed

data in PC-Tool Reconfiguration of the eBike under test Automated SW downgrade on eBike

componentsRestbus simulation of ECUs, e.g. eShift

Page 11: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Reporting and trace logsDiagnosis SW System Test at Bosch eBike Systems

11

CANoe: logging behavioural deviations

Generate reports in CANoe Screenshots with timestampCut out tracelogs from PC-ToolCANoe CAN trace

Page 12: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Solution: Reporting and trace logsDiagnosis SW System Test at Bosch eBike Systems

12

Page 13: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

DemonstrationDiagnosis SW System Test at Bosch eBike Systems

13

Page 14: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

DemonstrationDiagnosis SW System Test at Bosch eBike Systems

14

Page 15: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

Automotive Electronics | Neidhardt, Jonathan (AE-EB/ENS3), Bube, Sebastian (P3 Systems) | 07.05.2019© Robert Bosch GmbH 2019. Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung, Weitergabe sowie für den Fall von Schutzrechtsanmeldungen.

Diagnosis SW System Test at Bosch eBike SystemsSummary: Ready for fully automated system testsCombined system test on CAN and GUI level

was realized using the Vector toolchain Connection to JAVA via WSDL test interface

implementation Test function library in vTestStudio for easy

reuse and central maintenance Full access to the CAN stack and all defined

UDS diagnostic commands Use of Graphical Testdesign for clearly arranged

and reviewable testdesigns No programming knowledge needed for test

case creation and test automation

15

Page 16: Diagnosis SW System Test at Bosch eBike Systems · reuse and central maintenance Full access to the CAN stack and all defined UDS diagnostic commands Use of Graphical Testdesign for

THANKYOU

THE FUTURE OF MOBILITY AUTOMATED, CONNECTED, ELECTRIFIED