NI VeriStand Add-on - Automotive Engine Simulation
Overview
An Automotive Engine Simulation device for ECU tests. Simulate and output cam and crank signals, and capture crank related signals such as fuel injectors and ignition coils.
Downloads
Filename: engine_simulation_veri2009.zip
Requirements: View
Installation
To use the Engine Simulation Custom Device, copy the contents of the folder named Custom Devices into the VeriStand\Custom Devices folder and restart NI VeriStand.
XP: C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Custom Devices
Vista: C:\Users\Public\Documents\National Instruments\VeriStand\Custom Devices
Add the Engine Simulation Custom Device to a System Definition file by right clicking Custom Devices and selecting National Instruments >> Engine Simulation.
Engine Simulation Custom Device Overview
This custom device simulates crank and cam output and acquires crank related signals such as fuel injectors and ignition coils from an ECU through an FPGA device. This device features cam and crank output at up to 30V digital output levels and cam VVT functionality. This device features eight voltage selectable up to 24V fuel injector and eight voltage selectable up to 24V ignition coil inputs for connectivity up to 8 cylinders. It also features eight (four when using the 7833R) PWM inputs, seven (four when using the 7833R) PWM outputs, one knock sensor output, seven generic analog inputs, eight generic digital inputs, and eight generic digital outputs.
RIO Configuration
This custom device can either run on a 7833R or 7842R FPGA. The RIO alias of the device used must be specified in the RIO Device Name configuration input on the main page as shown shown below. The target type, either 7833R or 7842R, must also be specified in the FPGA Target Type configuration input on the main page as shown below.

Crank Configuration
This custom device simulates a crank of the type specified by a certain number of teeth with a certain number missing (i.e. 60 teeth; 2 missing). The missing teeth are located with respect to Top-dead-center by configuring the Crank Missing Teeth Offset parameter. The duty cycle of a tooth with respect to its gap is configured by specifying the Crank Duty Cycle parameter. Top-dead-center is specified as occurring on a tooth or a gap by setting the Crank Zero Degree Transition parameter. These configuration parameters are made on the main page of this custom device and cannot be modified during run-time.
Cam Configuration
This custom device features a fully configurable cam tooth profile by using an array of values to specify the rising and falling edges of each cam tooth. This implementation allows for up to 32 teeth of varying widths to be configured for each cam. The angles must be provided in order from lowest to highest. The first angle provided can also be configured as a rising edge or falling edge by specifying the CamX First Transition parameter. These configuration parameters are made on the main page of this custom device and cannot be modified during run-time.
Fuel Injector and Ignition Coil Configuration
The fuel injectors and ignition coils voltage levels are user selectable and can either be input through the 5V digital input or on a voltage supply configurable digital input up to 24V. Note that the voltage supply configurable option is labeled as 12 Volts on the main page. These configuration parameters are made on the main page of this custom device and cannot be modified during run-time.
Physical I/O Channels
The cam and crank are output on both the 3.3V digital output on the R-Series connector and on a voltage supply configurable digital output through an NI 9474 module connected to the R-Series device through a 9151 C-series expansion chassis
The fuel injectors and ignition coils voltage levels are user selectable and can either be input through the 5V digital input on the R-Series connector or on a voltage supply configurable digital input up to 24V on the NI 9426 module connected to the R-Series device through the 9151 chassis mentioned above.
Four (two when using the 7833R) PWM inputs are input on the 5V digital input on the R-Series connector, and four (two when using the 7833R) PWM inputs are input on the 9426 module mentioned above. Four (two when using the 7833R) PWM outputs are output on the 3.3V digital output on the R-Series connector, and three (two when using the 7833R) PWM outputs are output on the 9474 module mentioned above.
The throttle body servo motor output is output on a 9505 module. The setpoint is calculated from the duty cycle on the PWM1 input on the 9426 module and then scaled to a 1 - 4.5 V range.
For more information on the physical I/O channels and their mappings, please refer to the Device Connections folder found in the attachment.
Additional Resources
For more information on the FPGA personality used for this Veristand Custom Device, please see the HIL Automotive Engine Simulation Reference Example.
For more information on the components used to create an engine simulation device, please see the Automotive Engine Simulation (AES) Library.
For more information on Custom Devices, please see the white paper on this topic.
Feedback
This NI VeriStand Add-on was created by the NI AE Specialists group.
We do not regularly monitor Reader Comments posted on this page.
Please submit your feedback in the Automotive Engine Simulation Discussion Forum so that we can improve this add-on for future applications.
Please direct support questions to NI Technical Support.
Requirements
Filename: engine_simulation_veri2009.zip
Software Requirements
Application Software: NI VeriStand Full Development System
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Reconfigurable I/O (RIO)
Hardware Model: PXI-7842R
Driver: NI-RIO 3.2.1
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).



