The design of the truck CAN network test system based on HIL

Similar documents
Development of a Cooperative Tractor-Implement Combination

Development of a Cooperative Tractor-Implement Combination

PISO-CAN200-D/T PISO-CAN400-D/T DASYLab CAN Driver User s Manual

Vector is a global company located in Stuttgart, Germany Subsidiaries in USA, Japan, France, Sweden

Design of Automatic Packaging and Palletizing Device of Secondary Intelligent Production Line for Motor Rotor of Electric Tool

Distributed Model Based Development for Car Electronics

Measurement, simulation, virtualization

Guided and automated calibration and validation of powertrain systems

» Software in Tractors: Aspects of Development, Maintenance and Support «

DEIF A/S. Description of options. Option H5, CAN bus based engine interface comm. Automatic Gen-set Controller. Description of option

DEIF A/S. Description of options. Option H5 Serial communication (CAN bus) Multi-line 2 version 2. Description of option. Functional description

ETAS Desk LABCAR Agenda

V-Cycle for Automotive SW Engineering. André Pelisser

A CAN Bus Automatic Test System Wu Jie1,a, Luo Feng2,b

Test and Simulation. The nerve center in your MOST development process

Proposal. Support of Electric/Electronic Diagnosis in Production for Passenger Car Project in China. 1 Overview. 2 ECU Diagnosis in Production

The Research of AGV Guidance Systems Based on RFID Positioning

Combined Programming of LabVIEW and Simulink to Simulate a Hybrid Energy Power Generation System

RA Consulting GmbH Introduction to our Business Unit. Automotive Products. Visit for more information on us and our products

REPORT DOCUMENTATION PAGE

Introducing. Data analysis & Machine learning Machine vision Powerful script language Custom instrument drivers

DynaFusion Training Catalog

Research on Agricultural Products Cold-Chain Logistics of Mobile Services Application

A-L-V. Presenters, Ford Chassis Controls: Nate Rolfes John Broderick Jeff Cotter. With Ford MBSE Tools & Methods:

Model Based Embedded System Development for In-Vehicle Network Systems

Virtual integration of Automotive Hard- and Software with Silver

Study on Framework Design of Shore Defense Radar Condition-based Support System based on OSA-CBM Bing Chen 1, a, Gang Lu 2,b, Qian Qian Liu 1,c

Research on the simulation of an Automatic Train over speed Protection driver-machine interface based on Model Driven Architecture

Research on Design and Implementation of Intelligent Warehouse Management System in Z Company

Tracking Management System Designed for the Second-hand Car Based on the RFID Technology Ling-ling Wei

LOGISTICS SECURITY MONITORING AND REAL-TIME TRACKING BASED ON RFID TECHNOLOGY DESIGN AND APPLICATION OF ELECTRONIC SEAL Yu Shao

Design of Automatic Identification and Sorting System for Parcels Based on Plc Control

YZP : SAUTER Vision Center

Abstract. Introduction

Fully automatic CNC machining production system

Vehicle-to-X Communication (V2X) & ADAS Test Solutions with CarMaker and the National Instruments Platform

Instrumentation & Controls. Siemens Power Plant Automation -- SPPA-T3000. Technical Highlights. The New Benchmark in Control.

HIL - TEST AND SIMULATION

Title of Slide. Virtual Simulation using QTronic Silver and TestWeaver. Presented by: Robert Ter waarbeek

SystemDesk

Automation framework for converting legacy application to AUTOSAR System using dspace SystemDesk

Electromagnetic Guided Factory Intelligent AGV

PREEvision 7.0. Roadmap and new Features. 3 th of March 2014

Ideas for Successful Model Integration with Standardized Software Architectures

Experience Report: Developing Off-Highway and Commercial Vehicles ECUs with AUTOSAR

Into the future with ContiSys. Systematic multi-brand vehicle diagnostics.

PC-Based Validation of ECU Software

Study on Energy Saving Control of Electrical System in Office Building

FACILITATING AGRICULTURE AUTOMATION USING STANDARDS

CAN bus solution EB237. Now compatible with

Certified Training Centre Bareld Bruining

Highest efficiency across the line. Optimized Packaging Line. siemens.com/packaging

Applications. Partner in Automation

Automated Service Builder

1 Public ETAS/SIN ETAS GmbH All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as

An integrated System Development Approach for Mobile Machinery in consistence with Functional Safety Requirements

SATEL NMS Network Management System. June 17, 2007 Tapio Malmivaara 1

Prognostics and Engine Health Management of Vehicle using Automotive Sensor Systems

Applying Model-Based Design to Commercial Vehicle Electronics Systems

Drugstore Control System Design and Realization Based on Programmable Logic Controller (PLC)

Solutions. Quality & Productivity SPC OEE MONITORING TRACEABILITY WIP TRACKING. SPC Charts. Alarms. Data Collection.

Changes of Clothing Distribution Logistics Management RFID Technology

Design and Research on Co-simulation Training System of Large-Scale Power Grid with Distribution Network Based on Intelligent Materials System

Research Article The Design of Food Storage Guided Vehicle System Based on RFID Technology

Research and Application of the Control Technology for Flexible Manufacturing System Based on PROFIBUS

Software Requirements Specification (SRS) Automated Pedestrian Collision Avoidance System (APCA)

Oracle Enterprise Manager

Laboratory Management Based on Internet of Things. Jianming Huang

MYOB EXO BUSINESS WHITE PAPER

Design of Seismic Intensity Rapid Report Platform Guo Yunkai 1,*, Tan Qiao1, Li Zhitao1, Fu Jihua1, Xiao Ke2

The application of Information Exchange Bus in Electric-power Information System

HORIBA STARS PLATFORM

The Research of Urban Rail Transit Integrated Automation System Based on Cloud Computing Wu Qin1, a

Design and Implementation of Parent fish Breeding Management System Based on RFID Technology

Mark VIeS. A SIL 2 and SIL 3 functional safety system for today s connected world. geautomation.com

Analysis of Intelligent and Automation Technology for Electric Power Dispatching

Software Design and Implementation for the Electronic Parking Brake System Based on Operating System

An intelligent transportation system for hazardous materials based on. the Internet of Things

The Timing Model TIMMO Methodology Guest Lecture at Chalmers University

HCS-4210/50W Basic Software Module

EB Automotive ECU solutions AUTOSAR Basic Software Tooling Functional Safety Customization Services

Design and implementation of Statistical Process Control based on MES Liu Sha1, a, Li Peng1, Hu Guolinag1, Duan Bin1

Design of Auxiliary Decision-Making System for Power Grid Fault Disposal

Multi-door Networking Controller

Design & Implementation of an Industrial Facility Islanding and Load Shed System

DCMS Link 2.10 for Compass / HyStar

MULTIBRAND DIAGNOSTICS INTELLIGENT DIAGNOSTICS.

Get More Out of Gauging. Production Decision Intelligence. On-line.Detailed.Exact. Production Quality Data Base. Save Costs Maximize Quality

IMATIC PDM. Version 6.0 SP1

Industry 4.0: philosophy, components and use cases in German industry

Link:

Ignition SCADA for Water/Wastewater

The research of intelligent substation project management mode based on RFID

An Architecture for the Agricultural Machinery Intelligent Scheduling in Cross-Regional Work Based on Cloud Computing and Internet of Things

Model-Driven Development for Safety-Critical Software Components

UM0925 User manual. Using the M24LR64-R datalogger reference design. Introduction

DAC / Fanuc Robotic Screw Insertion Work Cell

advancing business remotely access the system streamline the workflow process manage use and track costs connect to external systems

A Study of the Campus Facilities Maintenance System with. Building Information Modeling Application

A handle on the future

Transcription:

The design of the truck CAN network test system based on HIL Anyu Cheng a, Yan Meng b, Xiaopin Wang c, Jia Li d School of Automation, Chongqing University of Posts and Telecommunications, Chongqing 400065, China a chengay@cqupt.edu.cn, b mengyan@sumarte.com, c wangxiaopin@sumarte.com, d lijia@sumarte.com Abstract In order to meet the demand for vehicle test of vehicle factory, we design the CAN network testing system based on HIL for truck. This paper presents a design scheme of this test system, and realizes it using CANoe.J1939 software. This test system can realize the test for CAN bus communication performance for truck and ECU functions in the network. Keywords SAE J1939 protocol, HIL simulation, CAN network test, CANoe.. 1. Introduction With the increase of the automobile electronic technology development and ECU number of inside of the car, CAN bus has become the mainstream of buses in vehicle electronic systems in recent years [1]. In commercial vehicle, the SAE J1939 protocol [2] has gradually replaced the SAE J1587 protocol to become the most widely used protocol in heavy vehicle. The requirements for CAN network of truck are also increasingly complex. HIL (hardware-in-the-loop) test [3] [4] can simulate vehicle and work environment and run a large number of test for controller and network in virtual environment. At present, the research for network test of truck isn t so much, and the tests are mostly just for individual ECU. What s more, the research for HIL test is not thorough enough. Hongyu Shen [5] designs a Test System of HGT Based on CANoe, but the test system only tests for high-performance gateway module. Jian Wu [6] designs automotive driving force control system of CAN bus based on SAE J1939, which is only for the relevant ECU about driving force control instead of the whole network. The test system in the Dandan Fu s paper [7] is for vehicle system, however the research system only two ECU: ABS and IC. They can t reach the requirements for comprehensive. Therefore, this paper designs a truck CAN network test system based on HIL for communication test of network and function test for ECU. 2. Operational principle of CAN network test based on HIL HIL test, also known as hardware-in-loop test, semi-physical simulation testing, is the test method which combines simulation system test and physical test. It can give a test on the ECU and the system in a more comprehensive way. Especially for the ECU tests that have the need for actual vehicle operation or hazardous conditions, it can shorten the development cycle and it wouldn t cause harm to people and vehicles. Figure 1 shows the testing process for HIL test applied in CAN network of truck. According to the V model development process of controller, the vehicle network test based on HIL belongs to integration test phase. Test process is as follows: 75

(1) According to the requirements of OEMs, analysis the test requirements of the truck network to be tested, form the test requirements document, and write the test cases as a test input based on the document. (2) Import the message database of SAE J1939 protocol into CANoe software, and develop the test system in the CANoe. Instead of using control signal generated in the real ECU, we choose simulation signal for HIL test. (3) Build the vehicle test environment for CAN network of truck. In this paper, we use CANoe simulation software as a platform model, and connect to CAN network via CANcaseXL, forming the closed CAN test environment of HIL. (4) Perform the test and generate test reports. Test results and analysis can provide reference for the optimization of the tested network, and verify the communication performance of network. The vehicle network testing requirement SAE J1939 message database HIL vehicle network testing system ECU1 ECU2 ECU3 ECUn The actual measured truck CAN network Test Report Figure1 testing process for HIL test in truck CAN network 3. Design for CAN network test system Based on HIL test, we choose the existing vehicle testing platform for the test object and construct a closed loop system to achieve the network communication test and function test of ECUs. Vehicle test system for HIL consists of three parts: the PC test environment, CAN network and the CAN controller to be tested. 3.1 Design framework of test system In the paper we choose the truck electrical/network system platform jointly developed by laboratory and OEMs as the network under test. We select the engine, retarder and ABS as the analog nodes, simulating together with the vehicle network. By simulating the function of these three ECU nodes, simulation signals are sent into the vehicle network, which are used to test whether the other nodes can work correctly and ensure normal communication of the vehicle network. CAN network topology is shown in Figure 2: CAN bus K bus Electrical/network system platform (real ECU) BCM DCU+Nox Sensor Rearview mirror controller ABS Retarder INS Traveling Data Recorders Lock controller Engine CANoe simulate model (Virtual node) Figure 2 Test system topology diagram Among them, the vehicle electrical/network system platform includes BCM, DCU + Nox sensor, rearview mirror controller, instruments, traveling data recorders, lock controllers. The PC software 76

connects the vehicle network via CAN transceiver to simulate the message signals and send them on the CAN network. In this paper the CANoe.J1939 software of Vector s is chosen to realize simulation and performance testing for the truck CAN network [8]. Detail methods are as follows: (1) Connect CANoe.J1939 software with the tested network via CANcaseXL. (2) Send simulated signal and drive other ECUs to run the control work. For example, send High engine temperature alarm signal and the alarm light on the instrument lights. (3) Compare and analysis the behavior of the ECU in the network with the actual transmitted and received messages through the CANoe trace window. Verify whether the function of vehicle network and ECU meet the expected demand or not. 3.2 Test case design According to SAE J1939 protocol, the CAN message testing mainly focus on ID (Identify), data transmission cycle and data [9]. The main task of the truck CAN network performance test is to determine whether the other nodes can communicate properly based on the simulated signals, and be able to respond to the corresponding control signals. The PC software connects the vehicle network via CAN transceiver to simulate the message signals and send them on the CAN network. According to the action of the test network nodes and PC software trace window, we can determine whether the ECU and the network works properly or not. In this paper, the message contents of engine, ABS and retarder are simulated to realize the test for vehicle network in a variety of conditions. In this list only relevant test projects are listed. The specific content and test cases setting are configured according to the requirements of ECUs. Test items shows in Table 1: Table 1 engine part simulation project No. SimNode Items Relevant message 1 engine 2 ABS Engine fault code display Engine water temperature Engine temperature alarm Engine Shutdown Cruise Control PTO Control Engine Oil Pressure Display Engine Oil Pressure Low Engine intake preheating instructions Engine brake lights Engine speed indication Brake pedal switch signal Clutch switch signal Engine fuel consumption Engine hours OBD light control Emission monitoring system operating conditions OBD system operating conditions Urea injection management ABS fault code display Amber and red warning lights warning lights ASR Status Bridge speed Wheel pressure limit information 77 ET1 EDC2BC EDC2BC,BCAO1 BC2EDC,CCVS_ENG,TCO1 BC2EDC,CCVS_ENG,TCO1,EEC1 EFL_P1 EDC2BC EDC2BC ERC1 EEC1 CCVS_ENG CCVS_ENG Request Request EDC2BC, AMB,ET1 AMB,ET1 EEC1,LFE,AMB EBC1 EBC1 EBC2 EBC3

3 Retarder Brake control information Retarder fault code display Retarder indicate status Cruise control off request Electronic Retarder Control 1 EBC5 PROP_IT3 ERC1 4. Test system software 4.1 Software design framework The system uses the Vector s CANoe.J1939 software in German to develop. This software consists of CANdb++ Editor, CAPL Browser, Panel Editor & Panel Designer and other components. Software system design diagram shown in Figure 3: DBC Build CAN Network Test System CANoe Project Configure CANoe Simulation Network Build Panel Design CAPL program Test results display Figure 3 Software system design diagram (1) CANoe hardware configuration. Build project in CANoe, configure the number of channels and baud rate. In this paper, the baud rate is 250kbit/s. (2) DBC database creation. DBC database contains vehicle ECU name in the network nodes, message information of each node and environment variable configured for panel definition. (3) Simulation model configuration. Import.dbc file into Simulation Setup window, add the network nodes. In the system, we add Engine1, BrakesSystemController, RetarderDriveline as simulation node to form the final simulation model. The simulation model structure shows in Figure 4: Figure 4 simulation model structure Figure 5 part of the test system panel 78

(4) Visual interface configuration. Add combined controls to Panel Designer to achieve graphical operating and status display. The combined controls in the panel bundles with environment variable which includes display type and control type used to display information and control. The panel of the test system shows in Figure 5: (5) CAPL programming emulation. Write code with CAPL Browser to simulate the control operation of the ECU. 4.2 Test Project software implementation In this paper CAPL (CAN Access Programming Language) is selected as the programming language. CAPL is a C-like language used to implement the development of the CAN bus in CANoe. CAPL is an event-oriented programming language that can be triggered based on events, such as bus events, key events, and time events. In CAPL, programming can be done to realize the control of panel. An example of Engine fault code display shows the CAPL programming process. Program flow chart shows in Figure 6. At first, enter start () to set the default information and then start the test program to scan the timer T1 whose scan time is 10ms. If the detected test item variable is 1, then jump into the function engine1_01 () to start sending emulation information. In this test item, three cases are tested, which are default, simulation of one engine fault codes and simulation of two engine fault codes. After the test of this item, re-scan the other test projects. start On start() Set the default information, start the scan timer T1 no Test item>0? yes Test item =1? yes Turn to engine1_01() no Turn to other test item Default test Send C3 FF 00 00 00 00 FF FF Simulation of one engine fault codes SPN=10012 Simulation of two engine fault codes SPN=10012,10016 End 5. System testing Figure 6 Engine fault code display program flow chart After the above steps completed, combining CANoe and the vehicle network with CANcaseXL can realize the test for network performance and ECU function. Run CANoe and click the buttons on the engine panel can test the corresponding item. In the test item of Engine fault code display, control button variables are switch variables. In the test item of Engine water temperature, control button variable is a continuous volume. Take engine fault code display item for example, test content is listed in table 2, divided into three test cases to simulate, which are default, one engine fault codes and two engine fault codes. Test results require that signals changes can be tracked in the trace window of CANoe, the corresponding fault code can be find in the instrument, the corresponding DTC information can be displayed on the DTC Monitor of CANoe, and the corresponding indicator can lights in the panel. 79

Table 2 engine fault code display test content Project Message Test item Remark Send C3 FF 00 00 00 00 FF FF Default send Engine fault code display Setting enable switch to simulate a single engine fault codes SPN = 10012 Set fault mode = 04 Setting Amber Lamp status = 01 Setting Red Stop Lamp Status = 00 Setting the number of faults = 01 Setting MIL status = 00 Setting enable switch, simulate two engine fault codes SPN = 10012,10016 Set fault mode = 04 Setting Amber Lamp status = 00 Setting Red Stop Lamp Status = 01 Setting the number of faults = 01 Setting MIL status = 01 From the test result, we can see that the simulation test results and simulation testing requirements fully consistent. In the electrical/network system platform, the corresponding fault code can be searched in the instrument which means the message can be received correctly on the bus, and the communication of the system is normal. The simulation results shows in Figure 7-9: Figure 7 DTC Monitor display window Figure 8 Engine Panel display Figure 9 Trace window display 80

6. Conclusion This paper introduces the development process of truck CAN network based on HIL. Through the simulation of engine node and others by CANoe, the communication test of the vehicle network platform and function test for ECUs are realized. Test results show that the system can meet the requirements of the OEM for the vehicle network test. References [1] Xiongfei Ge, Lijun Qian, Yangnian Wu. Research on J1939- Based Heavy Truck CANbus Application [J]. Industrial Control Computer, 2008, 21(2):70-71. [2] SAE J1939 Standards Collection, Recommended Practice for a Serial Control and Communication Vehicle Network[S]. Society of Automotive Engineers, 2003 [3] Yunlei Zheng, Yingping Huang. Test Platform of Automotive Instrument Using HIL and Machine Vision [J]. Electronic Sci. Tech., 2015, 28(12):88-91. [4] Zhen Tian, Xiaofeng Huang, Zhicheng Li, et al. HIL Testing for Vehicle Control Unit and Development of Test Case Library[J]. Chinese Journal of Automotive Engineering, 2014 (3):207-212. [5] Hongyu Shen, Jingang Song, Jingming Song. Building of Test System of HGT Based on CANoe[J]. Industrial Control Computer, 2010, 23(8):31-32. [6] Jian Wu, Yabin Li, Jing Li, et al. CAN bus of automotive driving force control system based on SAE protocol J1939 [J]. Journal of Jilin University (Engineering and Technology Edition), 2009, 39(4):855-858. [7] Dandan Fu, Dongliang Liu. The Vehicle Network Development and Testing Based on CANOE [J].Automobile Applied Technology, 2015, 12:61-62. [8] SAE Standards, Data Link Layer, SAE J1939/21. Society of Automotive Engineers, 2005. [9] Vector, CANoe_Manual_EN (Version 7.2). Germany: Vector Informatik GmbH. 81