This content is not included in your SAE MOBILUS subscription, or you are not logged in.
Customizing a PXI-based Hardware-In-The-Loop Test System with LabVIEW
ISSN: 0148-7191, e-ISSN: 2688-3627
Published April 12, 2010 by SAE International in United States
Annotation ability available
Hardware-in-the-loop (HIL) simulation has become standard practice in the verification process of electronic control units (ECUs). However, new system control concepts continue to drive and expand the requirements for HIL systems. In this maturing application space, there is a natural trend towards the use of commercial-off-the-shelf (COTS) tools and open, multivendor hardware architectures. This open architecture is critical in helping HIL testers meet these requirements in an increasingly cost effective and higher performance manner. Multicore processors today offer performance and flexibility on a scalable computing platform, which furthers this COTS trend. Computer platforms like desktop PCs, CompactPCI and PXI [ 1 ] (CompactPCI eXtensions for Instrumentation) deliver high-performance systems that allow for the leveraging of multicore processor capabilities in achieving highly realistic plant simulations for controller testing. With the desktop PCs, as well as CompactPCI and PXI machines, test systems can benefit from the low cost and high performance of the latest computer technology in an open industry standard.
This paper discusses the use of a multicore-enabled PXI hardware platform that includes products from multiple vendors in the same system. By combining this platform with an off-the-shelf HIL software product such as NI VeriStand, engineers can achieve end-user customization via programming languages such as C, C++ and NI LabVIEW. Such open programming interfaces for HIL are key to supporting multivendor systems and for creating customer-specific I/O hardware via user-programmable FPGA targets. This paper discusses the following design challenges and corresponding solutions:
Supporting third-party hardware interfaces like power supplies, reflective memory and protocol boards (i.e. CAN, J1939, LIN, FlexRay)
Supporting multiple modeling environments
Incorporating vehicle diagnostic services for automated ECU programming, calibration and troubleshooting
Designing flexible I/O systems capable of adapting to changing requirements with user-programmable FPGA-based hardware
Utilizing FPGA-based hardware for subsystem implementation and co-simulation
Distributing test system tasks and models across processors and processor cores to increase system bandwidth
CitationRings, M., "Customizing a PXI-based Hardware-In-The-Loop Test System with LabVIEW," SAE Technical Paper 2010-01-0661, 2010, https://doi.org/10.4271/2010-01-0661.
- Building Custom Devices for NI VeriStand (http://zone.ni.com/devzone/cda/tut/p/id/9348)
- NI VeriStand Add-Ons (http://zone.ni.com/devzone/cda/tut/p/id/9346)
- NI VeriStand 2009 Help (http://zone.ni.com/reference/en-XX/help/372846A-01)
- NI Automotive Diagnostic Command Set (http://sine.ni.com/nips/cds/view/p/lang/en/nid/203554)
- Viele, M., Stein, L., Gillespie, M., and Hoekstra, G., “A PC and FPGA Hybrid Approach to Hardware-In-The-Loop Simulation,” SAE Technical Paper 2004-01-0904, 2004.
- Rohini, B.S., Das, H.B., Kavitha, K.N., and Dhinagar, S.J., “Development of a Low Cost Engine Simulator for HIL Testing,” SAE Technical Paper 2005-26-040, 2005.
- HIL Automotive Engine Simulation with FPGA (http://zone.ni.com/devzone/cda/epd/p/id/6187)