17
Intro to CompactRIO – Oregon State University Matt Spiegelberg Field Sales Engineer Oregon / SW Washington 1

NI CompactRIO FPGA-Based PAC

  • Upload
    thao

  • View
    162

  • Download
    1

Embed Size (px)

DESCRIPTION

Intro to CompactRIO – Oregon State University Matt Spiegelberg Field Sales Engineer Oregon / SW Washington. NI CompactRIO FPGA-Based PAC . Real-Time Processor. FPGA. Reconfigurable FPGA for high-speed and custom I/O timing, triggering , and control. - PowerPoint PPT Presentation

Citation preview

Page 1: NI CompactRIO FPGA-Based PAC

1

Intro to CompactRIO – Oregon State University

Matt SpiegelbergField Sales Engineer

Oregon / SW Washington

Page 2: NI CompactRIO FPGA-Based PAC

NI CompactRIO FPGA-Based PAC

• Reconfigurable FPGA for high-speed and custom I/O timing, triggering, and control

• Real-time processor for reliable measurement, analysis, connectivity, and control

• I/O modules with built-in signal conditioning for connection to sensors/actuators

Real-Time Processor

FPGA

Page 3: NI CompactRIO FPGA-Based PAC

CompactRIO ApplicationsMachine Control• Packaging/Processing

– High-speed motion control, batch control, discrete control

• Heavy Machinery Control– Real-time signal processing

and control of power electronics, hydraulic systems

• Semiconductor/Biomed– Custom motion and vision

inspection, material handling

Machine Monitoring• Machine Condition Monitoring

– Bearing order analysis, lubrication monitoring, cooling, combustion

• Mobile/portable DSA, NVH– Noise, vibration, harshness;

dynamic signal analysis; acoustics

• Distributed Acquisition– Central controller with

distributed I/O nodes over Ethernet/wireless

In-Vehicle Data Acquisition

• In-Vehicle Data Acquisition– Automobiles, motorcycles,

recreational vehicles, research aircraft, trains

• Engine and ECU test cells– HIL testing of engines and

engine controllers, sensor simulation using FPGA

• Rapid Control Prototyping– Automotive/aerospace control

prototyping

Page 4: NI CompactRIO FPGA-Based PAC

Distributed System Manager• Monitor systems on the network• Manage published data • Adds test panels to CompactRIO

4

Page 5: NI CompactRIO FPGA-Based PAC

NI CompactRIO

LabVIEW Real-Time

LabVIEW Real-Time

FPGA

I/O M

odul

es

RIO ScanInterface

NI Scan Engine

I/O memory table

I/O Variables

I/O M

odul

es

LabVIEW FPGA VI

FPGA Host Interface

New LabVIEW 8.6 Programming Model for CompactRIO

Page 6: NI CompactRIO FPGA-Based PAC

I/O Variable Access

Scan Engine Memory Map

Physical I/O

Physical I/O

Physical I/O

Physical I/O

6

Page 7: NI CompactRIO FPGA-Based PAC

Configurable

I/O Alias

I/O variable

I/O alias

Fixed reference

Configurable

I/O Memory Map

AI0

AI1

AI2

AI3

• References an I/O variable• Adds additional custom scaling• Maintains code portability

7

Page 8: NI CompactRIO FPGA-Based PAC

NI Scan Engine Network Publishing

• “Out-of-box” I/O without programming• I/O variable and alias publishing•Published by NI Scan Engine•Configurable update rate

•Not supported on Touch Panel (yet)•Bind to shared variables for additional

features

8

Page 9: NI CompactRIO FPGA-Based PAC

The NI Scan Engine

• Configured from cRIO controller properties

9

• Runs above time critical priority by default

Page 10: NI CompactRIO FPGA-Based PAC

CPU Usage Benchmark

100 Hz

500 Hz

1000 Hz

1 2 4 8 16 32 64 800

10

20

30

40

50

60

70

80

90

100

Number of Channels: AI + PID + AO

CPU

% U

sage

28.4% CPU80 PID

Channels

Use LV FPGA for these

applications

Page 11: NI CompactRIO FPGA-Based PAC

Automotive Solution1: cRIO A/C ECU Prototyping

LabVIEW RT/ FPGACompact RIO System

Digital Input   18CHThermocouple Input   8CH

Page 12: NI CompactRIO FPGA-Based PAC

Design the A/C control model and In vehicle ECU prototyping test system• In addition to the ECU prototype model which controls

the air conditioner as like a real ECU does, a cRIO itself can measure and save all temperature data and control parameters in a moving car.

• Benefit from size, low power consumption, speedy boot up from Ignition ON

cRIO-9002cRIO-9102cRIO-9211cRIO-9411cRIO-9932cRIO-9935

Solution1 cRIO A/C ECU Prototyping

Page 13: NI CompactRIO FPGA-Based PAC

CAN InputAxel gap, Engine revolutionsSampling rate: 10msec

802.11g Wireless LANOperator User Interface 、Display measurement data for driver54Mbps maximum data transfer rate

Display and save data transferred from vehicleTransfer the action data for driverGenerate the report

Setting Parameter

Test Menu

Display measurement data

Generate the report

Analog Input(Torque, Temperature,Pressure)Sampling rate: 10msec

Solution 2   In-vehicle data logging system

Page 14: NI CompactRIO FPGA-Based PAC

14

Deploy

FedEx Fire Suppression System with NI Single-Board RIO

• Embedded temperature monitoring and control of suppression system

• Protects packages, pilots, and planes from fires

• Rapid embedded prototyping with CompactRIO and LabVIEW – fast deployment with NI Single-Board RIO

“We were able to start with LabVIEW and CompactRIO for prototyping and quickly migrate our code to the new NI Single-Board RIO for deployment – all in less than a year.”

Jeremy Snow, President at Ventura Aerospace

Prototype

Page 15: NI CompactRIO FPGA-Based PAC

15

KCBioMediX• 600,000 premature infants born in the

U.S. each year• NTrainer System based on CompactRIO

and LabVIEW Statechart Module– Pressure monitoring/control

• Going to NI Single-Board RIO for high volumes

“With National Instruments LabVIEW and NI CompactRIO, we were able to reduce our development cost by $250,000 … from four months to four weeks.”

Dave Stalling, Chief Technical Officer at KCBioMediX

Page 16: NI CompactRIO FPGA-Based PAC

16

FAQs•

Problem: I have used the specialty digital functionality of CompactRIO Scan Mode to configure a digital module as a counter or quadrature encoder and need to reset it programmatically. How can I do this?

Solution: The Reset Counter (Scan Interface) VI can be used to reset specialty digital counters, as well as the position measurement of a quadrature encoder. It can be located here:

...LabVIEW 8.6\examples\CompactRIO\Shared\Reset Counter (Scan Interface).vi

Page 17: NI CompactRIO FPGA-Based PAC

17

• Problem: I am using CompactRIO Scan Mode and need to programmaticlly set the shunt calibration of a channel. How can I do this?

Solution: Use the Set Shunt Calibration (Scan Interface) VI located at: ...\LabVIEW 8.6\examples\CompactRIO\Shared\Set Shunt Calibration (Scan Interface) .vi