Extensive Test of Heavy-Machinery ECU on a NI VeriStand HiL using TestWeaver

Similar documents
Silver + TestWeaver Tools for Simulation-Based Design System Test and Validation

Automated test of the AMG Speedshift DCT control software

Automated test of the AMG Speedshift DCT control software


Simulation-based development of automotive control software with Modelica

Hardware-In-Loop Test Setup Automation

Virtualizing the TCU of BMW's 8 speed transmission

AUTOMATED TEST OF CVT CONTROL SOFTWARE, USING FMI AND MODELICA MODELS

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Testing for the Unexpected Using PXI

Introduction to Control Systems Design

1. Introduction to Model Checking

Fault-Injection testing and code coverage measurement using Virtual Prototypes on the context of the ISO standard

Runway Situation Awareness Tools (RSAT)

Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager

MULTIFUNCTION AIRCRAFT FLIGHT SURFACE BETTER AVIONICS VERIFICATION TOOL ELECTRONIC CONTROL UNIT TEST SYSTEM: A. Project Goals

Simulation-based development of automotive control software with Modelica

Syllabus Instructors:

Increasing Design Confidence Model and Code Verification

NOTE ON PERFORMANCE TESTING

Verification, Validation and Test in Model Based Design Manohar Reddy

Formal Verification and Automatic Testing for Model-based Development in compliance with ISO 26262

Module Test in System Context

ODX Process from the Perspective of an Automotive Supplier. Dietmar Natterer, Thomas Ströbele, Dr.-Ing. Franz Krauss ZF Friedrichshafen AG

Knowledge-based Systems for Industrial Applications

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

Automatización de Métodos y Procesos para Mejorar la Calidad del Diseño

PEGASUS Method for Assessment of Highly Automated Driving Function

Ready, Set, Go! Measuring, Mapping and Managing with XIL API 2.0

How to reduce the integration time Issues and Potential Solutions. Christophe GINESTET

Functional Safety for Electronic Control

Agricultural mechanization: present meets future!

Goals and prospects of embedded electronic automotive systems

Knowledge-based pattern recognition and visualization of error logs of time-based engine sensor data: Requirements engineering and tool-support

Introduction to Real-time Systems. Advanced Operating Systems (M) Lecture 2

INCA-FLOW V4.6 - What s new? Guided Calibration for INCA

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

Model-Based Design of Automotive RT Applications

Automating Best Practices to Improve Design Quality

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

Wagner Smart Screen Service/Troubleshooting Screens

Safety and Reliability of Software-Controlled Systems Part 14: Fault mitigation

Model-based Calibration of HD Engines. Benjamin Tilch, Rico Möllmann, Axel Steinmann, Dr. Reza Rezaei GT-SUITE Conference, Frankfurt, October 2014

Verification and Test with Model-Based Design

Smarteye Powered by ASL Smarteye V.4

THE SLEIPNER SYSTEM. The Sleipner System can significantly increase the productivity of your mine.

An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs

Automated testing of embedded systems in medical device development

A number of optimizations are already in use by the majority of companies in industry, notably:

Increasing Embedded Software Confidence Model and Code Verification. Daniel Martins Application Engineer MathWorks

Failure Diagnosis and Prognosis for Automotive Systems. Tom Fuhrman General Motors R&D IFIP Workshop June 25-27, 2010

SICON Smart Sensors Role in Integrated System Health Management

Rugged Computer Boards and Systems for Harsh, Mobile and Mission-Critical Environments.

Valve island VM10 with PROFINET Interface 8, 10, 12 or 16 stations. Operation & Service Manual

CS4514 Real-Time Systems and Modeling

PROPULSION CI. Continuous integration and continuous validation with explorative tests for propulsion controls and calibration

Low voltage switchgear and controlgear functional safety aspects

IN4343 Real-Time Systems

Object Fusion for an Advanced Emergency Braking System (AEBS) Jonny Andersson

RE for Embedded Systems - Part 1

Verification, Validation, and Test with Model-Based Design

Introduction to Software Fault Tolerance Techniques and Implementation. Presented By : Hoda Banki

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

Powergate³ User. Instruction manual and user s guide

SOLUTIONS FOR TESTING CAMERA-BASED ADVANCED DRIVER ASSISTANCE SYSTEMS SOLUTIONS FOR VIRTUAL TEST DRIVING

MASP Chapter on Safety and Security

Research Article. ISSN (Print) *Corresponding author Chen Hao

The Safe State: Design Patterns and Degradation Mechanisms for Fail- Operational Systems

Test coverage analysis of an engine model

다중센서기반자율시스템의모델설계및개발 이제훈차장 The MathWorks, Inc. 2

Assessment of Safety Functions of Lignite Mining Equipment according to the requirements of Functional Safety.

Advanced machine automation

SYNCHRONOUS MULTIMEDIA AND VEHICLE DATA

AiM User Manual. ECU Bridge. Release 1.09

J1939-based application profiles

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

Entwicklung zuverlässiger Software-Systeme, Stuttgart 30.Juni 2011

SIMULATION ENVIRONMENT

Systems for mobile machines

Intelligent vibration monitoring.

V-Switch 3 User Guide

Scilab White Paper Model-based Design of an Enhanced Ground Proximity Warning System

Field buses (part 2): time triggered protocols

elektronik Security for Software and IT ECU ENERGY STORAGE TESTING COVER STORY Gasoline Direct Injection in-the-loop

Test requirements in networked systems

4 Channel 4~20mA/0~10VDC Analog Data Fiber Link System

ISO INTERNATIONAL STANDARD

AUTOMATIC FUNCTIONALITY ASSIGNMENT TO AUTOSAR MULTICORE DISTRIBUTED ARCHITECTURES

APP - Aircraft Performance Program

Security Information General Security Cleaning Troubleshooting

Testing of automated driving systems

Waste Fleet Safety: Reducing Driver Distractions

Deriving safety requirements according to ISO for complex systems: How to avoid getting lost?

Propeller Control of Wind Tunnel Models

T29 - Safety System Connectivity Help Reduce Cost, Downtime, and Injuries

Operating instructions. Switching amplifier DN0210 DN / / 2015

Boeing 777. Boeing 777. Paper: Triple-Triple Redundant 777 Primary Flight Computer. Primary Flight Control Surfaces

Trouble Shooting Leveling Control Box Electric Jacks. Touch Pad LED Probable Cause Solution

Table of Contents 1. Overview Installation...6

Transcription:

Extensive Test of Heavy-Machinery ECU on a NI VeriStand HiL using TestWeaver Dr. Thomas Neubert, Hydrive Engineering GmbH Dr. Mugur Tatar, QTronic GmbH

1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 2

1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 3

Software Complexity in Heavy Machinery Single Solutions - yesterday - Integration of Single Systems - today - Networking of Data and Functions to Assistance Systems - tomorrow - Complexity of Software Engine, Transmission, Hydraulic Tracking Systems Dampening Systems Ground Surface System Fleet Management Anti-Roll-Over- System Error Detection, Diagnosis Telemetric Teach-In- Systems Workspace Monitoring Virtual Tow Bar Time Seite 4

Cause and Consequence of a Software Failures 14.09.1993: Accident of flight LH 2904, Airbus A320-211 in Warsaw after landing! Runway ground touch right landing gear non-effective brake because of aquaplaning delayed ground touch of both landing gears because of hard crosswind software releases braking flaps and thrust reversing just now (Condition: both landing gears >12 t load && both wheels turning) Runway distance too short for overshooting or braking Consequence: 2 dead persons, 54 injured persons Source: http://de.wikipedia.org/wiki/lufthansa-flug_2904 Seite 5

Causes and Consequences of a Software Failures Environmental Conditions Ground type (street, sand) Street (dry, wet, ice) Sand (soft, hard) Summer / winter conditions Driver - Use Cases Non-predictable use cases and applications Non-logical operating sequences Interaction with other systems Systematic Failures Concept faults rounding faults, division by zero, data type conversions Hardware faults Tolerances Aging Faults happen... Important: Find all faults in due time... Machine Software Test and validation must be done in a large space of situations Seite 6

1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 7

V-Model for Software Development System Design Test Cases Vehicle Test Debugging System Spezification Software Design Test Cases Test Cases System Integration Test Software Module Test Debugging Debugging T E S T Software Implementing Page 8

Test Automation Today Manually written test scripts Test #31 start_car(); shift_lever Test Test #31 #31 = D; while(gear<2) call call init(); a=...; accelpedal = 20; if(time>2) if(b<0.5)......... error( no... shift )... Control SW Machine Model Co-Simulation Problems HiL Test High costs for development and maintenance of scripts Low coverage of tests SiL Test

TestWeaver Idea Intelligent generation of... 1000s of differing test scenarios Active attempt to: - maximize state coverage - drive the system in difficult situations Testing = playing against (simulated) system Benefit High coverage Low efforts for test specification

1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 11

TestWeaver Test Generation Strategy controllable input component fault inputs u vehicle model ECU controller quality observers MiL/SiL/HiL simulation state alarm outputs y 1. Change suboptimal scenarios to generate worst-cases 2. Drive the system in states that were not covered before y TestWeaver Reactive scenario generation each scenario depends on history of generated scenarios All cases can be reproduced reached state alarm state state space u state DB test report

TestWeaver Test Generation Strategy fault 1 alarm! root time t0

1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 14

Test Application - Excavator Excavator Control Software - developed and approved 5 years ago - undesirable error messages in field - not reproducible - high warranty costs - customers dissatisfied Software should be driven into situations where undesirable errors will be detected. Page 15

HiL Test Bench test bench frame ECU signal conditioning host PC real-time PC RT Model control Page 16

Test Bench Architecture Hand Coded Tests Test Cases Test Automation - manually created test cases Test Reports Driver signals.net API Realtime Simulation Error codes reading and clearing ECU Control Software Realtime Machine Model V_A CheckValveA PressureReliefValveA pump40cc motor45cc tank2 engine supply pressurereliefvalvea tank1 CheckValveB V_B Signal Conditioning Failure Insertion Unit Sensor Signals Valve Currents Page 17

Results of Hand Coded Tests 1 st step: - 50 manually created test cases - different load types (fixed, shuttling) - different load and load positions 2 nd step: - more than 200 further test cases manually created - sensor tolerances test effort: 3 month No error reproduced. Page 18

Test Bench Architecture Generated Tests Test Space TestWeaver Test Reports Coverage Goals Automatic Generated Test Scenarios Driver signals VeriStand.net connector API Error codes reading and clearing.net API Realtime Simulation ECU Control Software Realtime Machine Model V_A CheckValveA PressureReliefValveA pump40cc motor45cc tank2 engine supply pressurereliefvalvea tank1 CheckValveB V_B Signal Conditioning Failure Insertion Unit Sensor Signals Valve Currents Page 19

Results of Generated Tests Implementing of TestWeaver Set-up: 3 days test effort: 7 days - more than 2700 test scenarios automatically created - slope - load at bucket - attachment position - speed After 2700 test scenarios error has been reproduced! Page 20

Summary 1 Introduction 2 Software Test Strategies 3 New Test Generation Strategy 4 Test Application 5 Summary Page 21

Summary Hand Coded Software Tests Definition of test cases and quality criterias Generated Software Tests Definition of input space and not allowed system states automatic generation of test scenarios Verification of software functionality (functions, electrical faults, safety) Limited test coverage (100 1.000 test cases) High test effort Verification of software robustness High test coverage (10.000 100.000) Low test effort Seite 22

THANK YOU FOR ATTENTION www.qtronic.de www.hydrive-engineering.de Page 23