CompactRIO
   HOME

TheInfoList



OR:

CompactRIO (or cRIO) is a
real-time Real-time, realtime, or real time may refer to: Computing * Real-time computing, hardware and software systems subject to a specified time constraint * Real-time clock, a computer clock that keeps track of the current time * Real-time Control Syst ...
embedded industrial controller made by
National Instruments The National Instruments Corporation, doing business as NI, is an America, American multinational corporation, multinational company with international operations. Headquartered in Austin, Texas, Austin, Texas, it is a producer of automated tes ...
for
industrial control system An industrial control system (ICS) is an electronic control system and associated instrumentation used for industrial process control. Control systems can range in size from a few modular panel-mounted controllers to large interconnected and in ...
s. The CompactRIO is a combination of a real-time controller, reconfigurable IO Modules (RIO),
FPGA A field-programmable gate array (FPGA) is a type of configurable integrated circuit that can be repeatedly programmed after manufacturing. FPGAs are a subset of logic devices referred to as programmable logic devices (PLDs). They consist of a ...
module and an
Ethernet Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
expansion chassis.


Hardware

The CompactRIO system is a combination of a real-time controller chassis, reconfigurable IO Modules (RIO), an
FPGA A field-programmable gate array (FPGA) is a type of configurable integrated circuit that can be repeatedly programmed after manufacturing. FPGAs are a subset of logic devices referred to as programmable logic devices (PLDs). They consist of a ...
module and an
Ethernet Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
expansion chassis. Third-party modules are also available, and are generally compatible with NI-produced chassis controllers. CompactRIO real-time controllers include a
microprocessor A microprocessor is a computer processor (computing), processor for which the data processing logic and control is included on a single integrated circuit (IC), or a small number of ICs. The microprocessor contains the arithmetic, logic, a ...
for implementing control algorithms, and support a wide range of clock frequencies. Controllers are only compatible with
National Instruments The National Instruments Corporation, doing business as NI, is an America, American multinational corporation, multinational company with international operations. Headquartered in Austin, Texas, Austin, Texas, it is a producer of automated tes ...
C Series I/O Modules. I/O modules are hot swappable (can be connected/disconnected while the unit is powered up). The FPGA Module may be used to implement high-performance data processing on reconfigurable fabric. Such data processing may be performed on data streaming in from connected I/O Modules. The module is powered by a
Xilinx Xilinx, Inc. ( ) was an American technology and semiconductor company that primarily supplied programmable logic devices. The company is renowned for inventing the first commercially viable field-programmable gate array (FPGA). It also pioneered ...
Virtex high-performance FPGA on the earlier models, and Kintex-7, Artix-7 or Zynq Xilinx FPGA on the newer models. The FPGA can be programmed separately and is connected to the real-time controller using an internal
PCI PCI may refer to: Business and economics * Payment card industry, businesses associated with debit, credit, and other payment cards ** Payment Card Industry Data Security Standard, a set of security requirements for credit card processors * Prov ...
bus, and is accessible over a LabVIEW interface which operates both locally on the controller as well as over a LAN from LabVIEW on a PC. The Ethernet chassis includes an Ethernet port (
8P8C A modular connector is a type of electrical connector for cords and cables of electronic devices and appliances, such as in computer networking, telecommunication equipment, and audio headsets. Modular connectors were originally developed for ...
), which can connect the CompactRIO controller to a PC. The chassis is available in 4 slot and 8 slot varieties. Third-party modules are manufactured for additional features, such as LCD or VGA displays. Newer, high-performance CompactRIO controllers also have built-in VGA graphics which can be connected to a monitor for observing operation.


Software

CompactRIO controllers can be programmed with LabVIEW, National Instruments' graphical programming language; C; C++; or Java. LabVIEW must be used to program the embedded FPGA, although VHDL and verilog components can be included. Newer controllers come with a
Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
based
RTOS A real-time operating system (RTOS) is an operating system (OS) for real-time computing applications that processes data and events that have critically defined time constraints. A RTOS is distinct from a time-sharing operating system, such as Unix ...
, NI Linux Real-Time, created as part of the
Linux Foundation The Linux Foundation (LF) is a non-profit organization established in 2000 to support Linux development and open-source software projects. Background The Linux Foundation started as Open Source Development Labs in 2000 to standardize and prom ...
's Real-Time Linux Collaborative Project. Programs created in LabVIEW are compiled into machine code for NI Linux Real-Time and
hardware description language In computer engineering, a hardware description language (HDL) is a specialized computer language used to describe the structure and behavior of electronic circuits, usually to design application-specific integrated circuits (ASICs) and to progra ...
(HDL) for the Xilinx FPGA
toolchain A toolchain is a set of software development tools used to build and otherwise develop software. Often, the tools are executed sequentially and form a pipeline such that the output of one tool is the input for the next. Sometimes the term is us ...
automatically during deployment of the code to the target. The Linux Real-Time OS running in the real-time controller supports a filesystem and hence data logging is also available at the controller level. The Full Development System version of LabVIEW does not come with the modules needed to program the cRIO. The Real-Time Module and FPGA Modules have to be purchased separately and installed with LabVIEW for programming the hardware. The programming is done on a Host PC running the
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
and is deployed on the cRIO via Ethernet. It is not necessary to run a real-time VI on the controller in order to run the FPGA VI, as the LabVIEW FPGA interface is network capable, supporting up to 7 concurrent accessors. This is done with a connection URL like RIO://ip/RIO0 Do note that the read/write interface block appears to package multiple accessors into one, but actually loops with a round-trip delay per additional access added, which can very quickly add up. This can be worked around by grouping all controls into one cluster, and all displays into another, for each write/read access, and for each accessor. It is possible to have a local real-time VI running on the controller which concurrently accesses a different set of clusters without interference, and piping data from one cluster to another can allow data to flow between this real-time VI and a PC VI efficiently and with quite low latency. Data can also be piped though 'FPGA to HOST' and 'HOST to FPGA' DMA fifos, which also work over the network interface. Each VI having an interface, each host FIFO connection and each IRQ connection all count as accessors to the FPGA hosted by the controller. These FIFO's can typically saturate the Ethernet connection of the controller, offering good performance both in terms of bandwidth, and with careful use, latency. The LabVIEW FPGA interface is also available for C.


Applications

CompactRIO systems are often used as an industrial control unit, where a
small form factor Small form factor (SFF) is a classification of desktop computers and for some of their components, chassis and motherboard, to indicate that they are designed in accordance with one of several standardized form factors intended to minimize the vo ...
are important. CompactRIO is commonly used as
headless system A headless computer is a computer system or device that has been configured to operate without a monitor (the missing "head"), Keyboard (computing), keyboard, and mouse (computing), mouse. A headless system is typically controlled over a network c ...
s (without a user interface) which are designed to run in a confined space, under harsh conditions. CompactRIO systems can also be connected to a host PC which can be used for supervisory purposes and for displaying logged data. Other examples of applications areas are: Intelligent Systems for the Industrial Internet of Things (IIoT), Power Electronics and Inverter Control, Condition Monitoring of Rotating Equipment, Power Quality Monitoring, Transportation and Heavy Equipment, and Laser or Hydraulic Control. The CompactRIO was used from 2009 until 2015 as the primary control unit in the
FIRST Robotics Competition FIRST Robotics Competition (FRC) is an international high school robotics competition operated by ''FIRST''®. Each year, teams of high school students, coaches, and mentors work to build robots capable of competing in that year's game. Robots c ...
. It has been replaced now by the National Instruments .


See also

*
CompactDAQ CompactDAQ is a data acquisition platform built by National Instruments that includes a broad set of compatible hardware and software.
*


References


External links


CompactRIO
{{DEFAULTSORT:Compactrio Programmable logic controllers Real-time computing