Browse Publications Technical Papers 2013-01-0161
2013-04-08

Automatic Test-Case Generation for Hardware-in-the-Loop Testing of Automotive Body Control Modules 2013-01-0161

This paper reports an automatic method for creating test cases for hardware-in-the-loop (HIL) testing of the body control module (BCM) for automobiles. First, test cases are generated automatically using Unified Modeling Language (UML) modeling software with an automatic test generation add-on. In this work, Rhapsody from IBM with the automatic test generator (ATG) add-on is used to generate automatic test cases. Then, these test cases are converted into Extensible Markup Language (XML) Metadata Interchange (XMI) format. From this XMI format file, test cases for HIL are generated by mapping stimuli such as digital input/output, analog input/output, and controller area network (CAN) interfaces. For this mapping procedure, the pros and cons of Extensible Stylesheet Language Transformations (XSLT) and XML Query Language (XQuery) are discussed. In addition, the advantages of generating hardware test cases using model-in-the-loop (MIL) and software-in-the-loop (SIL) test cases are addressed.
Once the HIL test cases are generated, they are downloaded to the HIL test system for real-time testing. This study used a National Instruments PXI-based hardware platform and LabWindows/CVI for the HIL system. The test conversion method discussed here can be used to test cases generated by any kind of test-case generator, as long as they can be converted into XMI format. This saves a great deal of effort compared with manual test-case generation for hardware tests, and the efficiency of the development process can be improved.

SAE MOBILUS

Subscribers can view annotate, and download all of SAE's content. Learn More »

Access SAE MOBILUS »

Members save up to 16% off list price.
Login to see discount.
Special Offer: Download multiple Technical Papers each year? TechSelect is a cost-effective subscription option to select and download 12-100 full-text Technical Papers per year. Find more information here.
We also recommend:
JOURNAL ARTICLE

An Integrated Approach for Modeling, Analysis and Optimization of Systems whose Design Follows the EAST-ADL2/AUTOSAR Methodology

2013-01-1225

View Details

JOURNAL ARTICLE

Intelligent ECU End of Line Testing to Support ISO26262 Functional Safety Requirements

2013-01-0403

View Details

TECHNICAL PAPER

Verification, Validation, and Test with Model-Based Design

2008-01-2709

View Details

X