the labview rio architecture and - national instrumentsaustralia.ni.com/sites/default/files/the...

29
ni.com

Upload: truongliem

Post on 08-May-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

ni.com

ni.com

The LabVIEW RIO Architecture and the Newest Member to the

CompactRIO Family

Brett Burger

Sr. Product Manager

ni.com

What is CompactRIO?

NI CompactRIO

IP Camera

HMI Display

GigE Camera

Analog Frame

Grabber

Sensors

and Actuators

Motor Drivers and Drive Interfaces

Analog Camera

ni.com

What is the LabVIEW RIO Architecture?

Highly Productive LabVIEW Graphical Programming Environment for Programming Host, FPGA, I/O, and Bus Interfaces

Processor Real-Time or

PC-Based

FPGA Modular I/O for Any Signal

Processor

Real-time OS Application software Networking and

peripheral I/O drivers DMA, interrupt, and

bus control drivers

FPGA

Application IP Control IP DSP IP Specialized I/O drivers

and interface DMA controller

Analog I/O

Digital I/O

Specialized I/O

Custom I/O

Bus Protocols

ni.com

Embedded Processor

FPGA

C Series I/O

C Series I/O

Custom I/O

LabVIEW RIO Architecture Components

ni.com

LabVIEW RIO Hardware

CompactRIO and NI Single-Board RIO

Value

Value Ultra Rugged Performance

PXI, PC RIO (R Series, NI FlexRIO)

High Performance

Expansion I/O

MXI-Express RIO Ethernet RIO Wireless EtherCAT RIO

ni.com

Connect to Any Sensor on Any Bus

Thermocouples 4 to 20 mA Storage media RTD Engine control Industrial vision Motion control

Accelerometer Strain gage Resistance Load cells Digital I/O and protocols Microphone Bus communications

100+ Industrial I/O Modules

ni.com

Fire Suppression System | Ventura Aerospace

We were able to rapidly prototype our system for FedEx with LabVIEW and CompactRIO and create a final

deployed solution with NI Single-Board RIO—all in under a year.

– Jeremy Snow, Ventura Aerospace

“ ”

ni.com

The Redesigned CompactRIO System

NI LabVIEW System Design Program with LabVIEW Real-Time and LabVIEW FPGA modules Quickly port existing LabVIEW applications

Ultra Rugged

-40 to 70° C operating temperature range 50 g shock and 5 g vibration tolerance

High Performance and Throughput Dual-Core ARM 667 MHz processor Xilinx 7 Series FPGA fabric with 85k logic cells 16 DMA FIFO channels for data streaming

Community and Code Reuse

NI Linux Real-Time Operating System Integrate existing applications and libraries Develop, debug, and deploy C/C++ code

ni.com

What is ZYNQ?

Processor

I/O

I/O

Specialty

FPGA

• ARM Cortex-A9 Processor • 667 MHz Dual Core • 7.9 billion ARM devices sold in 2011 alone

• Artix-7 FPGA • 85K Logic Cells • 220 DSP Slices

ni.com

The New cRIO-9068

667 MHz Dual-Core ARM Processor

512MB DDR3 RAM

1GB Storage

Artix-7 FPGA 2x Gigabit Ethernet

RS-232

RS-485

31.3cm USB 2.0

9-30 VDC Dual Input

8x C Series IO

ni.com

Performance Benchmarks

The cRIO-9068 has 4 times the performance of a similar 8 slot value CompactRIO system.

11%

72%

0% 20% 40% 60% 80% 100%

cRIO-9068

cRIO-9074

Processor Utilization

Control Application Benchmark

7%

46%

0% 20% 40% 60% 80% 100%

cRIO-9068

cRIO-9074

Processor Utilization

Streaming Task Benchmark

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

16

00

1700

Pro

cesso

r U

tiliz

ati

on

Loop Rate (Hz)

Complex Application Benchmark

cRIO-9074 cRIO-9068

ni.com

Mechanical Design

• Rugged specifications • Shock and Vibration • -40 to 70 degrees C

• Extensive Mechanical Test!

ni.com

• Altitude • Tested by David Thomson in NOAA Astronomy Laboratory pressure

chamber. Passed operational tests at ~51km (0.53 mbars) for 8 hours.

• Shock • Dropped 9 stories while logging 3-dimensional accelerometer data

(resultant = 200.2 g)

• Flight • Steered fins and controlled parachute ejection system inside 2.5m

rocket (reached 400m altitude)

• “The Saw Test” • Sawed an 8-slot chassis in half to create a 4-slot (not powered

during sawing)

• Motorcycle In-Vehicle Data Acquisition • Installed in Yamaha R6 for in-vehicle DAQ (engine mapping) and

rapid control prototyping

• Skydiver Datalogging • 4,400m test jumps conducted July 1 in Orlando Florida • Visit CompactRIO Embedded System Developer’s Forum for details

(http://lists.topica.com/lists/compactrio)

“Unofficial Specs”

ni.com

Linux Operating System NI Linux Real-Time Operating System

ni.com

• Operating system created under the model of free and open source software development and distribution

• First released in 1991 for x86 but has been ported to other computer hardware platforms including ARM

• Common OS for servers and big mainframes

• Linux is used in a wide breath of embedded systems including:

• Mobile phones (Android)

• Tablets

• Network routers

• Televisions

• Video game consoles

Linux Operating System Background

ni.com

What makes our Linux flavor unique?

Pre-emption offered through RT scheduler to make Linux deterministic

Jitter is on the same order of magnitude as other RTOSs

Loop Rate performance is substantially improved over current value cRIO

Kernel

Hardware

Device Drivers

System Call Interface

Jill’s User Application

Jack’s User Application

ni.com

Linux Operating System NI Linux Real-Time Operating System

Community

Applications and

Libraries

ni.com

Raima

MySQL

SQLite

MongoDB

CouchDB

OpenVPN

IP Tables

System Logging

fail2ban

denyhost

C/C++

Shell scripting

Python

Ruby

Perl

Isshd

IPv6

SNMP

NTP

netstat

Database Security Code Re-

use Connectivity

Linux Ecosystem

ni.com

S.E.A Structural Monitoring

“By leveraging the open Linux-based real-time operating system on a commercial off-the-shelf controller, we could port our existing Linux software components in a very short time. That saved

us at least four months of development time.”

- Wolfram Koerver, executive director of S.E.A.

ni.com

Linux Operating System NI Linux Real-Time Operating System

C/C++ Community

Applications and

Libraries

ni.com

1. Call Library Function Node • Creating LabVIEW API using wrappers

• Algorithms

2. System Exec calls • Most Linux app will have command line interface

Reusing External Code in LabVIEW Now on NI Linux Real-Time

ni.com

Flexible Software Integration

Modular I/O FPGA

Real-Time Processor

ni.com

• Free development environment for C, C++ and other languages

• De facto standard tool for Embedded Development

• We provide Eclipse installer on ni.com for easy access

What is Eclipse?

Project Explorer

Editor

Terminal

Output

Outline

ni.com

Linux Operating System NI Linux Real-Time Operating System

C/C++ Community

Applications and

Libraries

ni.com

LocalGrid Power Monitoring

“Within 24 hours of receiving a cRIO-9068 controller, we ran our existing LabVIEW application software without any problems.”

– Bob Leigh, CEO of LocalGrid™

ni.com

Summary

ni.com

Stay Connected During and After theSymposium

ni.com/nidayscommunity

facebook.com/nidays

twitter.com/#!/nidays

youtube.com/nidays

ni.com

END