Developing Monitoring and Control Systems with …australia.ni.com/sites/default/files/Developing...
19
ni.com Developing Monitoring and Control Systems with LabVIEW and CompactRIO
Developing Monitoring and Control Systems with …australia.ni.com/sites/default/files/Developing Monitoring and... · Developing Monitoring and Control Systems with ... 對platform
Developing Monitoring and Control Systems with LabVIEW and
CompactRIO
Presenter
Presentation Notes
This presentation is targeted to customers who have previous LabVIEW experience with DAQ and/or instrument control on a desktop Windows machine and now are looking to program for RT/FPGA targets. At this point, already relate to the audience here, they are clearly already familiar with LabVIEW, and this session is in place to extend their skills into the embedded space with LabVIEW FPGA. What skills do they bring to the course, ask them about their background (LabVIEW, DAQ, and/or Instrument Control)? Ask who has experience in various areas and what projects they’ve done to get customers interacting. How many have used LabVIEW RT/FPGA before? ==================== If you have questions on the content of this presentation feel free to contact: Carlos Pazos Embedded SW Product Marketing Office: 512-683-8996 [email protected]
2 ni.com
We all have a challenge to solve…
Power Distribution and Control
Turbine Control Medical Device Control
Process Control
Industrial Machine Control
Oil and Gas Applications
Power Monitoring and Control
Structural Monitoring
Presenter
Presentation Notes
There are a wide variety of control & monitoring applications that our customers are working on, everything from industrial machine control to medical and big physics. No matter what your background or industry is, while these applications are all very different, they have one thing in common, and that’s that they are becoming increasingly complex. Now, if you approach these applications with traditional embedded development tools, you would have to have your VHDL expert, your assembly expert, your PCB design expert, and then if you decide to change technology later on, you’d have to start all over again from scratch. By choosing LabVIEW, you can design this entire system with a single, highly integrated software platform, which will save you considerable time during development. However, control & monitoring applications typically require high performance and high reliability, and therefore require heterogeneous platforms that include both an embedded processor and an FPGA. So even though you are using one platform for development, you still have to implement a fairly complex architecture.
3 ni.com
Graphical System Design A platform-based approach for measurement and control
Machine Design Transportation Energy/Oil & Gas Robotics Life Sciences
X86 cRIO 8 Slot cRIO 4 Slot cRIO Single-Board RIO
Processor FPGA
I/O I/O I/O I/O I/O
The LabVIEW RIO Architecture
Presenter
Presentation Notes
The graphical system design approach is a way to accelerate development of control and monitoring systems by simplifying systems integration, providing a way to customize industry standard platforms. This approach gives you reuse of a software-centered platform deploying to multiple hardware options that share a reconfigurable architecture. The key is a platform that can define all the essential components of systems. In National Instruments we have created a wide range of embedded controllers that share a single hardware architecture know as the LabVIEW RIO architecture. This reconfigurable I/O architecture features a processor, an FPGA, and modular I/O to meet the needs of advanced embedded designs and it is tightly integrated with the LabVIEW system design software. We believe LabVIEW is the key as system design software that graphically simplifies the complexity of integrating all these elements in a single open environment. This way, Graphical System design is a platform based approach that provides embedded designer with the right set of tools so they can develop faster focusing on their application, not the implementation. <CLICK>
4 ni.com
The LabVIEW RIO Architecture
5 ni.com
NI CompactRIO Demonstration Kit
6 ni.com
Exercise 1 Temperature and Strain Monitoring
Filter
Compare
Chart
Limit
Strain Gauge
RTD Mean Temperature
Filter Param.
Alarm/DIO
7 ni.com
Inputs: Slot 6: NI 9219—24 Bit Universal Analog Input (4 DIFF · 100 S/s/ch ) Analog Input 0 (AI0 )RTD (3 Wire Pt100-TCR3851) Analog Input 2 (AI2 )Strain Gauge (Quarter Bridge / 350 Ohms)
Outputs: Slot 2: NI 9401— 8 Ch, 5 V/TTL High-Speed Bidirectional Digital I/O Module Digital IO 5 (DIO5 )LED1
/LEDs
LED STRAIN GAUGE
RTD
8 ni.com
Exercise 2A FPGA-Based Butterworth Filter
FGEN/AI FIFO-IN Filter
Compare
Chart
FFT Detected F
Limit
Alarm/HMI Alarm/DIO
FIFO-OUT
FPGA APPLICATION
REAL-TIME APPLICATION
9 ni.com
Inputs: Slot 4: NI 9381— 0 V to 5 V AI/AO Module With 4 LVTTL DIO Lines Mod4/AI7Function Generator Sampling Period 20 kS/s Resolution12-bit
Outputs: Slot 2: NI 9401— 8 Ch, 5 V/TTL High-Speed Bidirectional Digital I/O Module Digital IO 4 (DIO4)LED0
/LEDs
FUNCTION GENERATOR
LED
10 ni.com
Exercise 2B LED Array Display
0
0
100
100
100
100
RTD
Strain Gage
Amplitude
FGEN
Detected F
FGEN
A
B
C
D
11 ni.com
Exercise 2B LED Array Display
12 ni.com
Outputs: Slot 2: NI 9401— 8 Ch, 5 V/TTL High-Speed Bidirectional Digital I/O Module Digital IO 0 (DIO0)SIN Digital IO 1 (DIO1)SCLK Digital IO 2 (DIO2)XLAT Digital IO 3 (DIO3)BLANK
Inputs: Slot 4: NI 9381— 0 V to 5 V AI/AO Module (24bits · 20kS/s) Mod4/AI7Function Generator Slot 6: NI 9219—24 Bit Universal Analog Input (4 DIFF · 100 S/s/ch ) Analog Input 0 (AI0 )RTD (3 Wire Pt100-TCR3851) Analog Input 2 (AI2 )Strain Gauge (Quarter Bridge / 350 Ohms)
13 ni.com
Exercise 3 Machine Condition Monitoring System
REAL-TIME APPLICATION
MOTION CONTROL LOOP DATA ACQUISITION LOOP
FPGA APPLICATION
ACCELEROMETER
SCAN MODE LOOP
TEMPERATURE CONTROL
FPGA INTERFACE LOOP
Setpoint
VELOCITY CONTROL
HOST PC APPLICATION
HMI LOOP
EMBEDDED DISPLAY LOOP DATALOGGING LOOP
14 ni.com
15 ni.com
Outputs: Slot 1: NI 9503— C Series Stepper Drive with Antiresonance Axis 1Mod1/Direction, Mod1/Step Slot 2: NI 9401— 8 Ch, 5 V/TTL High-Speed Bidirectional Digital I/O Module Digital Output 7 (PWM7)FAN
Inputs: Slot 3: NI 9411— 6-Channel, 500 ns, ±5 to 24 V Digital Input Mod3/DIO0EncoderA Mod3/DIO1EncoderB Mod3/DIO2EncoderZ Slot 5: NI 9234—Dynamic Signal Acquisition Module Mod5/AI0ACCEL X Mod5/AI1ACCEL1 Sampling Period 102.4 kS/s Resolution24-bit Slot 6: NI 9219—24 Bit Universal Analog Input Sampling Period 100 S/s/ch Analog Input 1 (AI1 )TC (Type J / Celsius)
Exercise 3 Machine Condition Monitoring System
16 ni.com
CompactRIO Developer’s Guide
http://www.ni.com/compactriodevguide/
Presenter
Presentation Notes
EVERY RIO developer should reference this guide, whether beginner or experienced, download it TODAY
Order at ni.com/rioeval Online Community at ni.com/rioeval/nextstep
Step-by-step tutorials and configuration wizard
$425
Presenter
Presentation Notes
The best way to evaluate the platform is with the LabVIEW RIO Evaluation kit. The hardware is based on the sbRIO-9636 controller with a custom daughter card mounted on top to expose a full range of onboard I/O such as AI, AO, DIO, LCD screen, encoder, and FGEN among others. The kit also includes step by step tutorials, all necessary cables, and an extended 90 day evaluation of LabVIEW Real-Time and FPGA Modules to give customers adequate time to get comfortable with the platform back at the workplace. Price is USD $425. Specs: Xilinx Spartan-6 LX45 FPGA, 400 MHz Real-Time Controller
18 ni.com
Training & Certification
ni.com/self-paced-training
Presenter
Presentation Notes
Training: Mention that if they have SSP they can access the Self-Paced Online Training (SPOT) where they can walk through online modular training at their own pace. As of February, LabVIEW Core 1,2, and 3 are offered as well as TestStand 1, Multisim and Ultiboard basics. There will be more classes (read RT/FPGA) made available later in the year. Certification: Certified LabVIEW Embedded System Developer (CLED) ni.com/cled