<< Chapter < Page Chapter >> Page >
Choosing the right hardware and software is very important when setting up or upgrading an automatic controls lab. National Instruments LabVIEW can be used with a variety of hardware options for creating a real-time control system. Three control system hardware options are outlined for controlling plants, such as the ECP mechanical plants.

Choosing lab equipment

Software

National instruments applications and toolkits

  • LabVIEW 7.1, 8.0, or 8.2 Full Development System
  • LabVIEW Real Time ETS or RTX (more detail under Choosing Lab Hardware )
  • LabVIEW Control Design Toolkit
  • LabVIEW Simulation Module
  • LabVIEW FPGA

National instruments drivers:

  • LabVIEW Device Driver CDs
  • NI-RIO Driver CD

Venturecom applications

  • Real Time eXtention for Windows (RTX) (Optional)

Choosing lab hardware

The lab currently uses the hardware laid out as option one (1) below, LabVIEW Real-Time Module for ETS with PXI hardware. However, there are several hardware combinations that can be used for implementation of a Real-Time system to control ETS plants using LabVIEW. These options each have their own benefits.The options have been broken down by Real Time OS software support.

Labview real-time module for ets

The LabVIEW Real-Time Module for ETS targets is for real-time devices that use a single dedicated kernel runningembedded code. This option can be purchased from National Instruments for real-time PXI targets. It is also used for desktopPCs running as a dedicated real-time target.

LabVIEW Real Time for ETS Options

1. This option consists of a Windows PC communicating with a PXI real-time controller running LabVIEW Real-Time OS. The PXI-7831R intelligent data acquisition board is connected to the controller through the PXI bus. Control loops can be executed on both the Real-Time controller and on the intelligent data acquisition board. The ECP-RIO Adapter cable connects the 68pin VHDCI connector from the MIO connector on the PXI-7831R to the round encoder cable connected directly to the ECP plant. The banana plugs connect to the motor drive inputs on the front of the ECP Power supply. The ECP Amplifier is then connected to one of ECP's mechanical plants.

PXI provides a portable computing and acquisition solution that is rugged and rated for enviormnets where normal PC's can't go, making it ideal for both laboratory and research applications in many types of environments where determinism and reliability are crucial.

PXI Control System (ETS) :: PXI Advisor for configuring a PXI system from National Instruments

2. This option consists of a Windows PC communicating with a second PC running LabVIEW Real-Time OS (Real-Time OS PC Requirements) . The PCI-7831R intelligent data acquisition board is connected to the PC through the PCI bus. Control loops can be executed on both the Real-Time OS running on the PCI and in the RIO intelligent data acquisition board. The ECP-RIO Adapter cable connects the 68pin VHDCI connector from the MIO connector on the PXI-7831R to the round encoder cable connected directly to the ECP plant. The banana plugs connect to the motor drive inputs on the front of the ECP Power supply. The ECP Amplifier is then connected to one of ECP's mechanical plants.

The Real-Time PC solution provides a lower cost real-time computing and acquisition platform that is ideal for laboratory and research applications, while still maintaining determinism and reliability.

Real-Time PC (ETS) :: Real-Time Control System Bundle for Academia from National Instrumets

The labview real-time module for rtx

The LabVIEW Real-Time Module for RTX targets is used with desktop PCs running RTX, a real-time extension forWindows. This real-time operating system runs in parallel with Windows on the same processor, providing a single box solution forboth user interface and deterministic operations. The OS can be purchased from National Instruments or from Venturecom directly.LabVIEW for RTX is a single PC solution for Real Time processing.

LabVIEW Real Time for RTX Options

3. This option consists of a Windows PC running Microsoft Windows, and Aredence's Realtime Extensions (RTX) ( Will my PC work with RTX? ) Windows and RTX run on the same computer, sharing the same CPU, but applications run in RTX maintain real-time execution. The PCI-7831R intelligent data acquisition board communicates with the PC through the standard PCI bus. Control loops can be executed on both in RTX and on the intelligent data acquisition board. The ECP-RIO Adapter cable connects the 68pin VHDCI connector from the MIO connector on the PXI-7831R to the round encoder cable connected directly to the ECP plant. The banana plugs connect to the motor drive inputs on the front of the ECP Power supply. The ECP Amplifier is then connected to one of ECP's mechanical plants.

The Real-Time RTX solution provides a single PC, low cost real-time computing and acquisition platform that is acceptable for laboratory applications.

Single PC (RTX) :: Real-Time Control System Software and Hardware Bundle for Academia from National Instruments

Intellegent data acquision i/o board :: pci/pxi-7831r reconfigurable multifunction i/o using the labview fpga module

Each solution uses the National Instruments PCI-7831R Reconfigurable FPGA. The FPGA is most useful because itoffers 8 analog inputs, 8 analog outputs, and 96 digital I/O lines making it scalable for both teaching applications and research. Theon board FPGA can be given a fixed personality for student use, or can be reprogrammed with the LabVIEW FPGA Module specifically foryour needs. PID control loop rates up to 200,000 Hz. The 7831R also allows custom safety features to be implemented in the FPGA toprotect students and equipment. Because these safety features are implemented in hardware, they are not dependent on the stability ofthe code running on the PC or real-time OS.

User's Manual for the PCI-7831R and PXI-7831R

The following instructions and pin outs detail the wiring between the NI 7831R FPGA board to the ECP amplifier box. This cable is built and sold by National Instruments. You can download the cable detail and pin outs here: ECP Plant to NI RIO FPGA board (Download)

Ecp hardware

Please see ECP’s website for more information on ECP hardware options.

ECP Systems Website

Lab setup

Software installation

Step-by-step control system software installation instructions (Download)

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Control systems laboratory. OpenStax CNX. Oct 20, 2005 Download for free at http://cnx.org/content/col10302/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Control systems laboratory' conversation and receive update notifications?

Ask