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

Paper #:
  • 2013-01-0161

Published:
  • 2013-04-08
Citation:
Shin, K., Kim, S., and Lim, D., "Automatic Test-Case Generation for Hardware-in-the-Loop Testing of Automotive Body Control Modules," SAE Technical Paper 2013-01-0161, 2013, https://doi.org/10.4271/2013-01-0161.
Pages:
8
Abstract:
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.
Access
Now
SAE MOBILUS Subscriber? You may already have access.
Buy
Select
Price
List
Download
$27.00
Mail
$27.00
Members save up to 40% off list price.
Share
HTML for Linking to Page
Page URL

Related Items

Article
2017-03-13
Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2010-10-19
Technical Paper / Journal Article
2010-09-28