NI VeriStand Add-on - NI Fault Insertion Units

Publish Date: Sep 11, 2017 | 11 Ratings | 4.00 out of 5 | Print | 4 Customer Reviews | Submit your review

Overview

Add deterministic hardware fault insertion to NI VeriStand by using the example Custom Device to control the NI PXI-2510, 2512, and 2514 Fault Insertion Units (FIU).

Table of Contents

  1. Installation:
  2. The NI PXI-2510 Fault Insertion Unit:
  3. The NI PXI-2512 Fault Insertion Unit:
  4. The NI PXI-2514 Fault Insertion Unit:
  5. Fault Insertion Application
  6. How To Use the NI PXI-2510 FIU in NI VeriStand:
  7. Support and Contact

1. Installation:

Before using the NI VeriStand Custom Device for the NI PXI-2510, 2512, or 2514:

  1. Copy the contents of the provided Built\Custom Devices folder into:
    <Public Documents>\National Instruments\VeriStand 20xx\Custom Devices
  2. Copy the contents of the provided Built\Display Templates folder into:
    <Public Documents>\National Instruments\VeriStand 20xx\Display Templates
  3. Restart NI VeriStand.

For more information on Custom Devices, please see the white paper on this topic.

Back to Top

2. The NI PXI-2510 Fault Insertion Unit:

The NI PXI-2510 fault insertion unit (FIU) is designed for use in hardware-in-the-loop (HIL) applications and electronic reliability tests. Each module has a set of feedthrough channels, which when closed make the switch transparent to the system. You can open or short these channels to one of two fault buses, each of which offers a multiplexer with four possible inputs. You can use this architecture to simulate open or interrupted connections as well as shorts between pins, shorts to battery voltages, and shorts to ground on a per-channel basis. When controlled with the NI LabVIEW Real-Time Module, this FIU is ideal for validating the reliability of control systems such as engine control units (ECUs), full authority digital engine controls (FADECs), and more with up to 2 A loading conditions.

Back to Top

3. The NI PXI-2512 Fault Insertion Unit:

The NI PXI-2512 fault insertion unit (FIU) is designed for use in hardware-in-the-loop (HIL) applications and electronic reliability tests. Each module has a set of feedthrough channels, which, when closed, make the switch transparent to the system. You can open or short these channels to one of two fault buses. You can use this architecture to simulate open or interrupted connections as well as shorts between pins, shorts to battery voltages, and shorts to ground on a per-channel basis. When controlled with the NI LabVIEW Real-Time Module, this FIU is ideal for validating the reliability of control systems such as engine control units (ECUs), full authority digital engine controls (FADECs), and more with up to 10 A loading conditions.

Back to Top

4. The NI PXI-2514 Fault Insertion Unit:

The NI PXI-2514 fault insertion unit (FIU) is designed for use in hardware-in-the-loop (HIL) applications and electronic reliability tests. Each module has a set of feedthrough channels, which, when closed, make the switch transparent to the system. You can open or short these channels to one of two fault buses. You can use this architecture to simulate open or interrupted connections as well as shorts between pins, shorts to battery voltages, and shorts to ground on a per-channel basis. When controlled with the NI LabVIEW Real-Time Module, this FIU is ideal for validating the reliability of control systems such as engine control units (ECUs), full authority digital engine controls (FADECs), and more with up to 40 A loading conditions.

Back to Top

5. Fault Insertion Application

A typical FIU placement in a dynamic test system for an Engine Control Unit (ECU) is shown below.


The FIU is designed to insert fault conditions between the real-time hardware-in-the-loop (HIL) simulation systems and the ECU/Device Under Test (DUT).

To insert fault conditions, internal relays are configured to create short-circuit connections and open circuits.  As mentioned above, automated test applications commonly use the following fault conditions:

  • Open Circuits
  • Short to Ground or Power
  • Pin-to-Pin Short

FIUs with switchable fault bus inputs can be used to create additional fault conditions, such as a Pin-to-Pin Short Through a Load.

No-Fault Operation

In an FIU’s no-fault setting, test equipment is directly connected to DUT signal lines through the FIU module.

Open Circuit Faults

In an open circuit or interrupt fault, the signal line between the test application and DUT is left open to determine how the DUT behaves after a signal interruption.

Short to Ground or Short to Power

To simulate shorts to ground or power, the signal line is connected from an external fault line or fault bus to the DUT. The fault buses can be configured to simulate power supply lines or system ground.

Pin-to-Pin Short

In a pin-to-pin short, the DUT signal line is connected to one or more additional DUT signal lines.

Example Pin-to-Pin Short Through a Load Using the NI PXI-2510

The NI PXI-2510 has two fault buses. Each fault bus has four switchable inputs to select among multiple fault conditions such as battery voltage (Vbatt), ground (GND), and other fault voltage potentials. The non-switchable input to each fault bus is intended for monitoring the fault bus with a DMM. The switchable fault bus inputs allow for another fault condition: a pin-to-pin short through a load.

The following example shows a pin-to-pin short through a load using the NI PXI-2510:

Back to Top

6. How To Use the NI PXI-2510 FIU in NI VeriStand:

  1. Configure the NI PXI-2510 in Measurement and Automation Explorer.  In the picture below, the NI PXI-2510 was given the DAQmx Device Name "2510".



  2. Launch NI VeriStand.  The Getting Started page will appear.  

  3. Select a Project in which to add the Custom Device for the NI PXI-2510.  To create a new Project, select New NI Veristand Project on the NI VeriStand Getting Started Window.



  4. Once he desired Project has been selected, click System Definition File to expand the tab and double click in the file: -Name of your project-.nivssdf 


  5. Add a Custom Device for the NI PXI-2510 FIU.  Right-click Custom Devices in the configuration tree and select National Instruments » PXI-2510.



  6. Insert the DAQmx Device Name "2510" and click OK.  The Custom Device for the NI PXI-2510 FIU will be created.

  7. The Custom Device for the NI PXI-2510 FIU has a Channels Section and a Fault Bus Section.  The Channels Section has 68 Items, one for each of the 68 FIU channels on the NI PXI-2510.  The Fault Bus Section has 2 Items, one for each of the fault buses on the NI PXI-2510.  The default Item settings can be changed as follows:

    Channels: The "Name (Alias)" for each channel and the Fault Default Value can be changed.  The Fault Default Value sets the default state for the channel.  The different options include: Default, DUT Pass Through, DUT Open, DUT Pass Through and FB A, DUT Pass Through and FB B, DUT FB A, and DUT FB B.

    Default: Does not make a call to the driver.

    DUT Pass Through: Close relay between channel and DUT, Open relays between buses and DUT.

    DUT Open: Open relay between channel and DUT, Open relays between buses and DUT.

    DUT Pass Through and FB A: Close relay between channel and DUT, Close relay between busA and DUT, Open relay between busB and DUT.

    DUT Pass Through and FB B: Close relay between channel and DUT, Open relay between busA and DUT, Close relay between busB and DUT.

    DUT FB A: Open relay between channel and DUT, Close relay between busA and DUT, Open relay between busB and DUT.

    DUT FB B: Open relay between channel and DUT, Open relay between busA and DUT, Close relay between busB and DUT.

    Fault Buses: Fault Bus A and Fault Bus B have 6 different options: Default, Input 0, Input 1, Input 2, Input 3, and Main Bus Only.  

    Default: Does not make a call to the driver.

    Input 0: Close relay between Input 0 and Fault Bus, Open relays between Inputs 1, 2, and 3 and Fault Bus.  Note that the Main Bus is still connected to the Fault Bus.

    Input 1: Close relay between Input 1 and Fault Bus, Open relays between Inputs 0, 2, and 3 and Fault Bus.  Note that the Main Bus is still connected to the Fault Bus.

    Input 2: Close relay between Input 2 and Fault Bus, Open relays between Inputs 0, 1, and 3 and Fault Bus.  Note that the Main Bus is still connected to the Fault Bus.

    Input 3: Close relay between Input 3 and Fault Bus, Open relays between Inputs 0, 1, and 2 and Fault Bus.  Note that the Main Bus is still connected to the Fault Bus.

    Main Bus Only: Opens relays between Inputs 0, 1, 2, and 3 and the Fault Bus.  The Main Bus line is the only one connected to the Fault Bus.

  8. Save the current configuration and close the System Explorer window.  Now that the Custom Device for the NI PXI-2510 has been added in the System Explorer, controls can be inserted into the Workspace file.  Under Active Project, verify the Workspace file and Target IP address, and then click Run Workspace.

  9. To add controls, select Screen » Edit Mode (CTRL+M) from the menu.  



    Click Workspace Controls to view the available Workspace Controls that can be added to the Screen.  Expand FIU Control to view the Channel and Fault Bus controls.



  10. Select Channel and drag the control onto the Screen.  An Item Properties dialog will appear allowing you to configure the properties of the control.  On the General tab, click the folder icon to browse for the NI PXI-2510 Custom Device.  Expand the folders until the individual Fault Channels are shown.  Select Fault Ch. 0 and click OK.  



    Note: After clicking the folder icon, if the Custom Device for the NI PXI-2510 was not shown, then it is likely the Custom Device was created under another Workspace.

  11. Drag additional Channels and Fault Buses onto the Screen until the Screen shows each of them that are to be controlled in the application.  Select Screen » Edit Mode from the menu.  The NI PXI-2510 is now being controlled!  Change the control values as necessary to operate relays and create the hardware configurations required in the application.  

Back to Top

7. Support and Contact

We do not regularly monitor Reader Comments posted to this page. If you encounter a problem with this add-on, or if you have suggestions for a  future revision, please post to the forum for this add-on Fault Insertion Units Add-On Feedback Forum. You must use this feedback forum for support. Do not call National Instruments for support for this add-on.

This add-on is provided as open-source software. If it does not meet  your exact specification, you are encouraged to modify the source code  to meet your needs. It is not officially supported by National  Instruments.

National  Instruments does not support this code or guarantee its quality in any  way. 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/).

Back to Top

Customer Reviews
4 Reviews | Submit your review

  - Mar 22, 2012

Hello, I want to use a PXI-2510 in NI VeriStand and I read a document named NI VeriStand Add-on - NI Fault Insertion Units at: http://zone.ni.com/devzone/cda/epd/p/id/6 248 After deploy, I change state of controls in workspace, but PXI-2510 has no reaction. The following is my step: 1. download the file- 2510_add_on_nivs2011.zip 2. copy files in the folder named Custom Device llbs into <Public Documents>\National Instruments\VeriStand 20xx\Custom Devices copy files in the folder named Display Templates into <Public Documents>\National Instruments\VeriStand 20xx\Display Templates 3. open NI VeriStand and use PXI-2510 as a custom device. 4. deploy and open workspace. the default station of fault channels is pass through with dut channels. but when I change its station into an open state, PXI-2510 has no reaction. Please help me with the problem. Best wishes.

What is the latency of the Custom Device?  - Mar 12, 2012

I need to know the latency between setting a channel and the corresponding relay action. When compared to DAQ across the relay, it seems to be 6-8ms, but I'm not sure if that is being introduced somewhere other than the custom device.

  - Dec 14, 2011

Hi, again, I figured-out what I did wrong. I copied the two folders from the zip file, directly to the <Public Documents>\National Instruments\VeriStand 2011 folder. This was fine for one of the folders. But for the other one (Custom Devices llb), it was not. I should of copied its contents to the existing Custom Devices folder (<Public Documents>\National Instruments\VeriStand 2011\Custom Devices). I did this and the PXI- 2510 appeared in my choices for custom devices. :-) Greg Campeau

Making the How-to section applicable to VeriStand 2011  - Dec 13, 2011

Hi! With respect to step 4 in the PXI-2510's how- to section, I haven't been able to get our PXI- 2510 to show-up in the Custom device's context (right-click) menu. Has anyone else had any luck with this? Greg Campeau P.S. Step 3 of the 2510's how-to section doesn't seem to apply to VeriStand 2011. As an alternative, I opened System Explorer, via the System definition file's context menu in the project explorer window.

View more reviews

Bookmark & Share



Ratings

Rate this document

Answered Your Question?
Yes No

Submit