Better Test Quality by Automation



Similar documents
ISO11783 a Standardized Tractor Implement Interface

I SO wish it were that easy! The challenge of ISOBUS Implementation

Car2x From Research to Product Development

In networking ECUs in heavy-duty vehicles, it is the J1939 protocol that. plays a key role. J1939 networks are based on the CAN bus (high-speed

Challenge of Ethernet Use in the Automobile

Automatic Validation of Diagnostic Services

Dr.-Ing. Rainer Rasche dspace GmbH Rathenaustrasse Paderborn automotive testing expo June 22, 2010

ISOBUS s Past, Present and Future role in Agricultural Robotics and Automation

Product Information CANalyzer.J1939

Smart Testing of Smart Charging

User-friendly Configuration of AUTOSAR ECUs with Specialized Software Tools

Validating Diagnostics in Early Development Stages

EBERSPÄCHER ELECTRONICS automotive bus systems. solutions for network analysis

Product Information Services for Embedded Software

Using big data in automotive engineering?

SOFTWARE IN TRACTORS: ASPECTS OF DEVELOPMENT, MAINTENANCE AND SUPPORT

In-Vehicle Networking

One common language for domain experts and test engineers

Hardware & Software Solutions

Plug. & Play. Various ECUs tested by automated sequences. dspace Magazine 3/2009 dspace GmbH, Paderborn, Germany info@dspace.com

The SAE J1939 Communications Network

Simple and error-free startup of the communication cluster. as well as high system stability over long service life are

AUTOMOTIVE FIELDBUS TECHNOLOGY: DEVELOPMENT TOOLS AND ELECTRONIC EQUIPMENT FOR LABORATORY PRACTICES

EBERSPÄCHER ELECTRONICS automotive bus systems

Integration of FlexRay-based control units in existing test benches

Technologies for Data Centres

Laboratory Course Industrial Automation. Experiment Nr. 6. Introduction to the FlexRay bus system. Brief User Guide IAS Demonstrator Go-Cart

Virtual Integration and Consistent Testing of Advanced Driver Assistance Functions

Hardware in the Loop (HIL) Testing VU 2.0, , WS 2008/09

Load DynamiX Storage Performance Validation: Fundamental to your Change Management Process

Automatic ASAM MCD-3 supported test. PikeTec GmbH Dr. Jens Lüdemann

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

Ideas navigated easily. Displays and Control Devices. Construction. accurate. simple. flexible

EB TechPaper. Test drive with the tablet. automotive.elektrobit.com

Mild Hybrids. Virtual

Real Time Simulation for Off-Road Vehicle Analysis. Dr. Pasi Korkealaakso Mevea Ltd., May 2015

Software Production. Industrialized integration and validation of TargetLink models for series production

Service Oriented Architecture for Agricultural Vehicles

The role of mechatronics in crop product traceability

Software Development for Multiple OEMs Using Tool Configured Middleware for CAN Communication

Convenient Charging of Electric Vehicles

EB Automotive Driver Assistance EB Assist Solutions. Damian Barnett Director Automotive Software June 5, 2015

Solutions for E-Mobility

HARTING Auto-ID System Integration

RTM X42 Multi-Channel Radio Transmission Tension Monitoring and Control System

Part I. Introduction

ugrid Testbed. Rein in microgrid complexity. With ease.

Smart. Productivity and performance The PLUS+1 control platform. powersolutions.danfoss.com. control systems MAKING MODERN LIVING POSSIBLE

imc BUSDAQ autonomous intelligent synchronized Field bus data acquisition - from stationary to mobile imc productive testing

6th Vector CONGRESS. November 28 and 29, 2012 Stuttgart

The PLUS+1 Control Platform. Productivity and Performance

Advanced Electronic Platform Technologies Supporting Development of Complicated Vehicle Control Software

PROFINET the Industrial Ethernet standard. Siemens AG Alle Rechte vorbehalten.

HARTING Smart Network Infrastructure. Intelligent Network Solutions

Analog Amplifier Rexroth RA: Easy, user-friendly control of pumps and valves

THEME Competence Matrix - Electrical Engineering/Electronics with Partial competences/ Learning outcomes

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

IEC 61850: Communication Networks and Systems in Substations

SIPAC. Signals and Data Identification, Processing, Analysis, and Classification

White paper The future role of ethernet and the trend to decentralised control solutions

The Internet of Things: Opportunities & Challenges

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

NEW. EVEN MORE data acquisition and test stand automation

Collaborating in California: Open HIL Test System Architecture uses the ASAM HIL API

Model-Based Development of ECUs

Testing for the Unexpected: An Automated Method of Injecting Faults for Engine Management Development

An Automated Model Based Design Flow for the Design of Robust FlexRay Networks

Advantages and Uses of MIDAS boom

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

ni.com/vision NI Vision

Designing and Embodiment of Software that Creates Middle Ware for Resource Management in Embedded System

Non-Stop Manufacturing Excellence. Automotive. Answers for industry.

SNMP-1000 Intelligent SNMP/HTTP System Manager Features Introduction Web-enabled, No Driver Needed Powerful yet Easy to Use

"#$%&'#!()*&+%,-! ./01#2! 3"4!5!677!! 3,!89#)9%#:!!!

automotive.elektrobit.com Driver assistance software EB Assist solutions

Huawei Network Edge Security Solution

The RT module VT6000 (VT6050 / VT6010) can be used to enhance the RT. performance of CANoe by distributing the real-time part of CANoe to a

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Electric motor emulator versus rotating test rig

Networks, communication and telematics.

Building Integration System Your platform for customized security and safety management

SAN Conceptual and Design Basics

Electrics & Electronics

ANDROID LEVERED DATA MONITORING ROBOT

ISIO 200. Binary Input/Output (I/O) Terminal with IEC Interface

Robotics and Automation Blueprint

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

automates system administration for homogeneous and heterogeneous networks

Model-based Testing of Automotive Systems

OPC COMMUNICATION IN REAL TIME

VIBROCONTROL Sensitive Machine Monitoring

We thank you for the good cooperation in 2014 and wish you a wonderful holiday season and a happy new year! Facts & Figures

Fuel Economy Simulation for the Vehicle Fleet

Transcription:

Technical Article Better Test Quality by Automation Automated HIL test system ensures ISOBUS functionality of agricultural machines The ISOBUS communication protocol has now essentially made it possible to use agricultural machines from different manufacturers together for the most part without any problems. However, this accomplishment is associated with enormous development and testing effort by the manufacturer. The agricultural equipment manufacturer AGCO/Fendt used the CANoe.ISO11783 simulation and test tool to assist in integrating high-performance test automation in its existing hardware-in-the-loop test environment. Systematic tests now improve product quality, and in an era of precision farming it lets the company confidently address the trend towards further intelligent vehicle components. The J1939-based ISO standard 11783 describes CAN-based communication in open networks for use in mobile machines in the agricultural industry. ISO 11783 is a multi-master network based on CAN, whose protocol is harmonized with J1939. The ISOBUS concept describes a minimum degree of functionality for software and hardware that ECUs or networks must provide. The ISOBUS protocol ensures that a suitable add-on implement such as a field chopper or manure spreader can be operated with any ISOBUS-conformant tractor and that its full functionality will always be available on the tractor s operating console. The individual parts of the standard, address such topics as Network Management, Tractor ECU, Universal Terminal (previously: Virtual Terminal), Task Controller, Diagnostic Services and File Server. Advantages of Standardized Agricultural Technology The advantages that ISOBUS provides to users and manufacturers alike can be illustrated based on the example of the Universal Terminal (UT). After an implement has been attached, the UT reads a library with graphic control elements (Object Pool) from the implement s controller. These objects represent the various functionalities available to the user and enable convenient operation of the implement. Goal of ISOBUS Functionality Only Attainable with Extensive Tests Until everything functions as smoothly as in the example, numerous test runs and correction cycles must be performed by the testing and development departments. On the one hand, the ISOBUS standard leaves some room for interpretation in certain aspects, but projects of this complexity need time in the prototype phase before they attain the required maturity level. There is no way to avoid conducting intensive and extensive conformity tests [1]. That is also why the various manufacturers meet regularly at so-called Plug-Fests where they test individual devices for their compatibility with one another. 1

Test Setup of the Entire Tractor Network with an HIL System The AGCO Corporation is one of the world s largest manufacturers and distributors of tractors and agricultural machines. In 1997, the US-based agricultural machinery corporation acquired the tractor manufacturer Xaver Fendt GmbH & Co. with headquarters in Marktoberdorf, Germany, where it conducted its development production and sales of tractors. Along with tractors, the company s lineup includes field choppers, combine harvesters and baling presses products which are handled by the company s business sites in Bavaria, Sachsen-Anhalt and Italy. To overcome the challenge of increasing testing effort, AGCO/ Fendt conducts extensive tests on real tractor prototypes. For some time now, the company has also been working with the development and consulting company Gigatronik. AGCO/Fendt develops nearly all of its ECU software in-house, but it outsources some testing-related jobs to specialists in electronics and information technology. Its central tasks are to test Universal Terminals, Tractor Controllers and to validate ISOBUS conformity. The key components of the test setup used at AGCO/Fendt are a breadboard fixture of the tractor network, a hardware-in-the-loop system (HIL system), a real-time server (RT target) with extensive I/O interfaces and a PC with the CANoe.ISO11783 development, testing and simulation tool from the company Vector, which is precisely tailored to ISOBUS requirements. CANoe.ISO11783 provides ISOBUS functionality for developments from the design phase to the testing phase and then maintenance. The complex ISOBUS communication structures can be analyzed, visualized and conditioned in many different ways. The room for interpretation of the standard mentioned above can be handled in a greatly simplified way, because the tool essentially embodies the standard as interpreted knowledge. The tractor breadboard fixture incorporates all electrical and electronic tractor components such as ECUs, bus systems, wiring, lamps, switches and controls. They are mounted in a space-saving way on a frame with industrial-format racks, which is suitable for the laboratory. The fixture matches a production tractor fully; all it lacks are the diesel engine, transmission, body and add-on parts (Figure 1). The breadboard fixture is connected to the RT server s I/O routing block via a multicore cable (Figure 2). The server simulates various ECUs and the missing environment of the engine and sensor signals in real time via MATLAB/Simulink; it supplies such signals as speeds, rotational speeds and temperatures. User-initiated events such as button presses or movements of a joystick must be performed manually. A look at the I/O level illustrates the magnitude and complexity of the overall HIL system. It consists of several hundred voltage and current interfaces, countless digital inputs and outputs, and outputs for driving relays. In addition, there are frequency outputs, all sorts of CAN buses, a UDP interface and multiple voltage outputs with supply voltages for the ECUs of the breadboard fixture. Manual Testing as Time-Consuming Emergency Solution Another tool available for tests is a PC with CANoe.ISO11783 simulation and testing software. The system is primarily used for remaining bus simulation [2] and is capable of simulating individual network nodes up to entire sub-networks. In CANoe.ISO11783, Figure 1: The breadboard fixture of the tractor contains all electronic components of the real tractor model. Automated tests can be executed to real-time conditions with CANoe.ISO11783 and the RT target. 2

entire implements can be simulated, and the simulated implements are used to put the tractor s ISOBUS capabilities to the test. Even sub-areas, such as a UT, can be simulated and displayed with all of their functions on a PC screen using CANoe. Testing of ISOBUS applications takes a lot of time and effort, because conformity must be verified for all parts of the ISOBUS standard used in the tractor implement. This also involves internal tractor communication. Moreover, the ISOBUS standard itself is available in various implementation levels. Therefore, it is not sufficient to simply test to the current level, rather the test must also assure backward compatibility to a number of previous implementation levels of implements. Finally, numerous individual tests (test cases) must be run for many different variants. Despite the availability of the described HIL system, employees at Fendt and Gigatronik still needed to perform some necessary tests by conventional manual methods. Specifically, this sometimes meant depending on the test case that an employee sat in the tractor and executed specific tractor and implement operating functions repeatedly, for hours at a time and over several days. During such testing, the test system logged all user actions, system reactions and the bus traffic. The logging record was then used to precisely analyze the contents of messages, terminal reactions, timing values, cycle times, etc. Test Automation is at Top of the Wish List However, the test method practiced in this way was still unsatisfactory for Gigatronik and Fendt. Highly qualified employees were overworked by simple yet time-intensive user actions. And despite the large amount of time required, the tests still exhibited a somewhat rudimentary character considering the many parameters. Therefore, managers began to seek out and evaluate options for systematic and in-depth test automation to replace the undesirable manual interaction. A solution with robots that could simulate the human movements with mechanically actuated control arms would not only be extremely difficult to implement; it would also be inflexible. So this solution was rejected early on. An electronic approach seemed more appropriate and appealing, especially since a high-performance test tool already existed in the form of CANoe. The Test Feature Set integrated in the software produced a comprehensive tool chain covering all phases: from defining test requirements to executing tests and finally generating evaluation reports. CANoe can act as a test master, or it can be inserted in test environments. Interfaces such as COM or.net are available for drive control and communication with other tools. Nodes referred to as test nodes can be created for the tests; they participate very normally in real bus events, similar to simulated network nodes. Test engineers define their behavior and Figure 2: The original HIL system is composed of the realtime target, tractor breadboard fixture and UDP interface for communication with a remaining bus system. The armrest with integrated user controls is implemented as a real component, for example, and must therefore be operated manually. Figure 3: Integration of the CANoe interface in the existing overall system: The test module controls the existing test environment. The armrest, with its integrated controls, is implemented as a virtual component in the test system and can therefore be operated either manually or automated by the test program. 3

Technical Article functionality in test modules, using either the C-like script language CAPL or the XML standard. CANoe Bridges Gap to Real-Time Target Before test automation could be successfully implemented, it was necessary to answer the question of how the CANoe tests and simulations would be linked to the real-time target in the HIL system. That is because a fast communication channel is indispensable between the two systems. The RT target has a UDP interface with a data link protocol created by Fendt for sending information to the RT target or obtaining information from it. Therefore, Gigatronik developed a compatible counterpart to the CANoe side with its resources in the framework of a student s senior thesis. The test system can now control the RT server via UDP and optionally transfer to it the same signal vector that was previously made by manual interaction with a real component, e.g. an armrest with integrated controls (Figure 3). In principle, any real, manually operated component can be automated in this way. In the example, it was an intelligent armrest; in another case it might be a steering wheel. Now that these preparatory tasks have been completed, Gigatronik and AGCO/Fendt have the capability of comprehensively automating ISOBUS and ECU tests and quickly modifying them. In particular, the capabilities of CANoe.ISO11783 now contribute towards much more efficient test execution. For example, the UT provided by CANoe makes it possible to control an ISOBUS implement just as well as with the real UT on the tractor. While an employee would have to execute user control functions for hours on end at the real tractor armrest previously, now a simulated armrest with the same integrated controls automatically executes the same actions (Figure 4). The behavior of the simulated component in the individual test cases is defined precisely in CAPL test modules. The test user interface also makes it possible to start the (virtual) engine, and sequences can be programmed for forward driving and backward compatibility. Especially important is that, in contrast to manual operation, CANoe. ISO11783 can execute tests with absolute reproducibility. In addition, errors may be interspersed in a controlled way. During the test runs, the test system logs all relevant messages and signals, and afterwards it automatically generates a test report. Decidedly Greater Test Quality by Automation The automated test runs open up entirely new aspects of quality in ECU testing. It is easy to run tests overnight or over several days, without employees having to be constantly present. Naturally, this makes it possible to go into much greater depth, test much more, and systematically run through many more test cases. They include tests that would not have even been possible without the test tool, Figure 4: Instead of using a real armrest with integrated user controls, the signals coming from this component are fully implemented by a GUI that can be switched between manual operation and control by the test program. 4

such as multiple repeated checks of bus loads, when the tractor drives off, when it stops, when multiple implements simultaneously lift an object, etc. The developer analyzes how other messages react in these situations and how timing values and cycle times behave. Statistical evaluations can also be performed, e.g. by starting the test run thousands of times and logging while varying such parameters as the latency times of certain messages or examining which effects might result when starting up the network. Finally, one significant part of EDCU tests is to subject the system under test to errors. Here too, the RT target generates all conceivable error situations upon instruction by CANoe. Bernhard Stöckl, manager for the responsible testing department at AGCO/Fendt, is pleased: Before, we had no test automation in the ISOBUS area. Previously, we conducted all of our work directly on prototypes which are not always available. We actually sat by the machine and operated the switches. Now, test automation offers tremendous relief in terms of workload. We require much less time on the real prototypes and no longer need to build so many extremely expensive test vehicles. At the same time, we saved a lot of time, which the developers are now investing in further automation efforts. Literature: [1] Ostermüller, A., Fellmeth, P.: Forging New Pathways in Testing ISOBUS Task Controllers Simulations replace inflexible and time-intensive test methods. Elektronik automotive. Issue 11.2011. pp. 32 35. [2] Albrecht, S., Decker, P.: Quick paths to a comprehensive remaining bus simulation Create virtual networks without programming expertise. Automobil Elektronik. Issue 03.2012. pp. 58 60. Links: Website AGCO/Fendt: www.agcocorp.com Website Gigatronik: www.gigatronik.com Website Vector: www.vector.com Product Information CANoe.ISO11783: www.vector.com/canoe.iso11783 >> Contact information for all locations of the Vector Group: www.vector.com/contact Bernhard Stöckl graduated in Mechanical Engineering from the Technical University of Munich. He is currently employed as Business Unit Manager for Testing of Drive Technology and Electrical/Electronics at AGCO/Fendt. He previously started up the Hardware-in-the-Loop unit at the company as a test engineer. Outlook Test automation is the magic word for mastering the constant growth in testing effort, simultaneously improving quality and saving on time and costs. AGCO/Fendt and Gigatronik have shown the capabilities offered by test automation with the CANoe simulation and test system and how to achieve efficient test practice quickly and in an uncomplicated way. The flexibility of the test platform makes it possible to overcome even greater challenges related to communication and interfaces in the process of integrating a large HIL system. Only by taking new approaches to integration tests can product quality be assured into the future. This issue is assuming increasing urgency in view of the further increasing diversity of ISOBUScapable agricultural machines. Additional requirements will soon appear in the context of precision farming. More and more GPS applications that support work with field machinery will be implemented in both tractors and implements. In Tractor Implement Management (TIM), the implement controls the tractor, e.g. by specifying tractor speed or rpm. These extensions can be accomplished much more efficiently with test automation. Translation of a German publication in Elektronik automotive, 12/2013 Hans-Werner Schaal graduated in Information Technology at the University of Stuttgart, and in Electrical & Computer Engineering at Oregon State University in Oregon, USA. He is Business Development Manager at Vector for open CAN protocols such as ISO 11783 and J1939 and in the IP and Car2x area. Previously, he was employed as a development engineer, project leader and product manager in the test tools area. Thomas Bückle graduated in Information Technology at the Polytechnical College of Ulm. He is Business Manager for the area of agricultural technology and construction equipment and Department Head for Embedded Systems Development at GIGATRONIK Technologies. Previously, Thomas Bückle was development engineer and project leader in electronic development at Daimler and EvoBus. Benjamin Fernandez has a degree in Mechanical & Electrical Engineering from ITESM, Mexico, a degree in Mechatronics from the Technical University of Hamburg-Harburg and an MBA from NIT Hamburg. He is a development engineer at GIGA- TRONIK Technologies. Figure Credits Lead Figure: Fendt Figure 1 4 : Gigatronik 5