Graphical System Design for Machine Control

Similar documents
Designing Real-Time Control Applications Using LabVIEW and CompactRIO. Developer Days 2009

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System

Getting Results with CompactRIO and LabVIEW

To develop a research engine control unit (ECU) that

NI-Industrial Communications for EtherCAT

Reconfigurable Embedded Chassis with Integrated MXI-Express (x1) MXI-Express Switch

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

PACs for Industrial Control, the Future of Control

Agenda. Programming FPGAs Why Are They Useful? NI FPGA Hardware Common Applications for FPGAs How to Learn More

NI REM Remote I/O Overview DATASHEET. Bus Coupler for Remote I/O

Building a Next Generation Data Logging System

NI REM Remote I/O Overview DATASHEET. Digital Input Module for Remote I/O

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

FPGA design with National Instuments

Introduction to LabVIEW and NI Hardware Platform

NI REM Remote I/O Overview DATASHEET. Analog Output Module for Remote I/O

Simplify System Complexity

USER MANUAL NI 9755 NI Powertrain Controls CompactRIO NOx Sensor Module Kit

NI REM Remote I/O Overview DATASHEET. Digital Output Module for Remote I/O

PXI Remote Control and System Expansion

CompactRIO. Contents and Overview

The NI TB-2648/2649/2650/2651 terminal blocks configure your NI PXI/PXIe-2531 (NI 2531) in one of the following topologies. 1-wire 8 64 matrix

Improving Prototype Validation with NI Multisim and LabVIEW. Bhavesh Mistry, Product Manager National Instruments

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0)

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users

NI PXI Installing the NI PXI-8104 INSTALLATION GUIDE

NI Contents. Hardware Overview INSTALLATION GUIDE. NI 8221 Features

GETTING STARTED GUIDE NI Channel, 50 Arms Continuous, 24-Bit, Analog Input Module

The LabVIEW RIO Architecture and the Newest Member to the CompactRIO Family

LabVIEW Real-Time Module for Mac OS X User Manual Addendum

NI-DAQmx: Reduce Development Time and Improve Performance

Getting Started with the NI 783x R

Contents. Software. CALIBRATION PROCEDURE NI Channel, ±5 V, 24-Bit Software-Selectable IEPE and AC/DC Analog Input Module

NI Smart Cameras PRODUCT FLYER CONTENTS. Have a question? Contact Us.

NI Programmable Automation Controllers

NI USB-6211/6218 OEM

FlexRIO. FPGAs Bringing Custom Functionality to Instruments. Ravichandran Raghavan Technical Marketing Engineer. ni.com

C Series Analog Output Modules

NI PCIe Hardware Overview. Functional Overview USER MANUAL. Base, Medium, Full, and Extended Configuration Camera Link Frame Grabber

SCB-68 User Guide. 68-Pin Shielded Desktop Connector Block

R Series for USB Multifunction RIO with Kintex-7 160T FPGA. ni.com/manuals. Electromagnetic Compatibility Guidelines

PXI and PXI Express Chassis Fan Replacement

Simplify System Complexity

LabVIEW Real-Time Module Release Notes

High-Level Synthesis with LabVIEW FPGA

CompactDAQ Chassis PRODUCT FLYER CONTENTS. Цены и срок поставки уточняйте на сайте по телефону: или

LabVIEW FPGA Module Release and Upgrade Notes

NI 9375 DATASHEET. 16 DI/16 DO, 30 VDC, 7 μs Sinking DI, 500 μs Sourcing DO

M Series USB-6221/6225/6229/6251/6255/6259 OEM Devices

R Series Digital I/O Module for PCI Express, 128 DIO, 512 MB DRAM, Kintex-7 160T FPGA. This document describes how to begin using the PCIe-7821R.

NI CMS Contents MAINTAINING HARDWARE. NI Condition Monitoring System for NI InsightCM Enterprise

CAN Based Data Acquisition

NI ELVIS RIO Control Module

Data Acquisition Laboratory

Getting Results with the NI 5752R

NI PXIe-1062Q Power Supply Shuttle

Introduction... 1 System Diagram... 2 Hardware... 2 Powering the Hardware... 3 Wiring Harness... 5

NI Vision Platform. Radim ŠTEFAN. ni.com

Getting Started with the LabVIEW Real-Time Module

Graphical System Design For Large Scale Deployments. Bhavin Desai Technical Consultant

Graphical System Design:

Part Numbers. SNAP-AIARMS-i SNAP-AIARMS-i-FM* SNAP-AIVRMS-i SNAP-AIVRMS-i-FM* SNAP-AIMA-i. SNAP-AIMA-iSRC SNAP-AIMA-iSRC-FM* SNAP-AIMA2-i.

GETTING STARTED GUIDE NI Channel Solid-State Relay (SSR) Digital Output Module

MOIS Overview. 1. Developer Walkthrough

LabVIEW Real-Time Module Release and Upgrade Notes

NI USB-622x/625x/628x OEM

ECONseries Low Cost USB DAQ

BRAINS CLASSIC/MISTIC 16-CHANNEL ANALOG. DATA SHEET page 1/10. Description

NI PCI-5153EX. Contents USER GUIDE. with Hardware Accumulation Firmware

ECONseries Low Cost USB DAQ

GETTING STARTED NI 9501 C Series Stepper Drive Modules and NI SoftMotion Module

R Series Reconfigurable I/O Module (AI, AO, DIO) for PXI Express, 6 AI, 18 AO, 48 DIO, 1 MS/s AIO, 512 MB DRAM, Kintex-7 160T FPGA

DaqBoard/2000 Series 16-Bit, 200-kHz PCI & CompactPCI Data Acquisition Boards

Scientific Instrumentation using NI Technology

PXI Digital Pattern Instruments

Getting Results with the NI PXI-6585R

R Series for USB Multifunction RIO with Kintex-7 70T FPGA. ni.com/manuals

NI CMS Contents MAINTAINING HARDWARE. NI Condition Monitoring System for NI InsightCM Enterprise

R Series for USB Multifunction RIO with Kintex-7 160T FPGA. ni.com/manuals

GETTING STARTED GUIDE NI V, 32-Channel (Sinking Input), 7 µs C Series Digital Module

Standard Analog Current Output Modules

High-Value PXI Embedded Controller for Windows. High-Value Embedded Controllers for PXI Express NI PXI-8101, NI PXI NI PXIe-8101, NI PXIe-8102

GETTING STARTED GUIDE NI AO, 0 ma to 20 ma, 16 Bit Simultaneous

Digital Camera Image Acquisition

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

Don t Think You Need an FPGA? Think Again!

The CompactRIO Advantage

IMAQ Vision 7 Development Module for LabVIEW Release Notes

Chapter 2 LabVIEW FPGA

1.60 GHz Quad-Core CPU, 4 GB DRAM, 16 GB Storage, Kintex-7 325T FPGA, 8-Slot CompactRIO Controller

Embedded Vision Systémy - využití ve výuce a v průmyslu

INSTALLATION INSTRUCTIONS NI TB-2630B Terminal Block for the NI PXI-2530B. Contents. Introduction

LabVIEW FPGA Module Release and Upgrade Notes

Increase Your Test Capabilities with Reconfigurable FPGA Technology

PCI-AC5, PCIe-AC5, AC5, and G4AC5 Adapter

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

NI 9472 DATASHEET. 8 DO, 6 V to 30 V, Sourcing, 100 μs

USER GUIDE USB-634x/635x/636x OEM X Series USB-6341/6343/6356/6361/6363/6366 OEM Devices

Transcription:

Graphical System Design for Machine Control Overview Embedded System Development for Machine Control Using a Single, Automated Graphical Programming Tool Chain and Programmable Automation Controllers (PACs) by Todd Dobberstein and Brian MacCleery Learn more about CompactRIO and Graphical System Design by visiting ni.com/compactrio. Introduction The traditional process for designing embedded machine control systems typically involves multiple stages of development that each requires specialized electronic design automation (EDA) tools such as state-diagram and flowcharting tools, SPICE circuit simulation, board layout and routing, control design tools, finite element analysis (FEA), C and VHDL languages, multiple target-specific compilers, and human-machine interface (HMI) tools. LabVIEW, National Instruments, and ni.com are trademarks of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»patents in your software, the patents.txt file on your CD, or ni.com/patents. Copyright 2006 National Instruments Corporation. All rights reserved. Document Version 2

New highly automated graphical system design (GSD) tools and PAC hardware systems can help you streamline the machine control development process.these new GSD tools offer complete customization of reconfigurable FPGAs, real-time processors, and industrial I/O modules using the National Instruments LabVIEW graphical programming language. With NI LabVIEW tools, you have open access to low-level resources while taking advantage of easy embedded programming and hundreds of built-in functions for automating common machine control tasks. PAC hardware systems, such as the low-cost CompactRIO embedded system, are designed for seamless integration with the LabVIEW GSD tool chain. With PACs, you can build advanced systems incorporating software capabilities such as advanced control, communication, data logging, and signal processing with a rugged controller performing logic, motion, process control, and vision. Figure 1. Single Graphical Programming Tool Chain for Embedded System Development Develop Custom FPGA Logic You no longer have to be an expert in VHDL programming to take advantage of the reliability and performance of reconfigurable FPGA hardware. The LabVIEW FPGA Module enables you to quickly develop programmable logic applications for CompactRIO by generating VHDL code based on your graphical program, and then automatically performing optimization, synthesis, and downloading. LabVIEW offers a full programming language for RIO hardware that takes advantage of the true parallel processing capabilities of the FPGA and enables code execution within a single FPGA clock cycle (40 MHz). In addition to basic programming structures and digital logic functions, you can drag-and-drop function blocks for motion control, analog PID, analysis, waveform generation, filters, and more. 2 www.ni.com

Figure 2. High-Speed, Parallel Loops in LabVIEW FPGA Hard Real-Time Processing With the LabVIEW Real-Time module, you can use more than 650 built-in LabVIEW function blocks for motion, PID, analysis, and more for deterministic execution on a floating-point processor. The real-time application typically involves two fundamental loops. The time-critical loop interfaces to the FPGA for deterministic interaction with the FPGA I/O. You can synchronize the execution of your time-critical loop via interrupt requests. The time-critical loop performs control while the normal priority loop within the real-time application performs data storage, analysis, and communication tasks with a networked host computer. 3 www.ni.com

Figure 3. Real-time deterministic processing in LabVIEW Real-Time Human-Machine Interface (HMI) With any Windows/Linux/Macintosh computer, you can provide a user interface for your embedded machine control system. LabVIEW real-time controllers have a built-in Web server that automatically publishes the real-time application user interface over the network to a host computer for an HMI with no additional programming. 4 www.ni.com

5 www.ni.com

Figure 4. Built-in HMI with No Additional Programming Hardware Architecture CompactRIO is a rugged, reconfigurable embedded system containing three components industrial I/O modules, a reconfigurable FPGA, and a real-time controller. 6 www.ni.com

Figure 5. Reconfigurable Embedded System Hardware Architecture Industrial I/O Modules The I/O modules contain isolation, conversion circuitry, signal conditioning, and built-in connectivity for direct connection to industrial sensors/actuators. By integrating the connector junction box into the modules, the CompactRIO system significantly reduces space requirements and field wiring costs. Many different types of I/O are available, including ±80 mv thermocouple inputs; ±10 V simultaneous-sampling analog I/O; 24 V industrial digital I/O with up to 1 A current drive; differential/ttl digital inputs; and 24-bit IEPE accelerometer inputs. 7 www.ni.com

Figure 6. CompactRIO I/O Modules with D-Sub Cable, BNC, and Screw Terminal Options Reconfigurable FPGA Chassis The reconfigurable FPGA chassis is the center of embedded system architecture. The RIO FPGA is connected to the I/O modules in a star topology, for direct access to the I/O circuitry of each module and unlimited timing, triggering, and synchronization flexibility. Because each module is connected directly to the FPGA rather than through a bus, there is almost no control latency for system response compared to other industrial controllers. A single chassis can execute more than 20 analog PID control loops simultaneously at a rate of 100 khz. 8 www.ni.com

Figure 7. CompactRIO Reconfigurable FPGA Chassis "The reconfigurable nature of CompactRIO and LabVIEW FPGA changes the rules for machine control and vibration monitoring. The end result is a rugged, low-cost, embedded system that can be deployed in a variety of applications and environments where traditional equipment would be unsuitable. Darren Lingafeldt, systems engineer for Nexjen Systems, a supplier of heavy-duty electrical test equipment and custom vibration monitoring systems Real-Time Controller The real-time controller contains an industrial processor that reliably and deterministically executes LabVIEW Real-Time applications and offers multi-rate control, execution tracing, and communication with peripherals. Additional features include dual 11 to 30 VDC supply inputs, a user DIP switch, LED status indicators, a real-time clock, watchdog timers, and other reliability features. 9 www.ni.com

Figure 8. CompactRIO Real-time Controller CompactRIO Specifications 10 www.ni.com

11 www.ni.com

See Also: Click here for CompactRIO product certifications and ratings. Click here for CompactRIO product manuals with detailed specifications. Click here for CompactRIO dimensional drawings. Custom Module Development With the CompactRIO Module Development Kit, you can develop custom modules to meet application specific needs. 12 www.ni.com

The kit provides access to the low-level electrical CompactRIO embedded system architecture for designing specialized I/O, communication, and control modules. It includes LabVIEW FPGA libraries to interface with your custom module-circuitry for communication at rates exceeding 40 Mb/s. Figures 9 and 10 illustrate a custom CompactRIO VR module schematics and layouts. Figure 9. Variable Reluctance (VR) Module Schematic 13 www.ni.com

Figure 10. Finished PCB Layout for Custom Module CompactRIO and the module development kit deliver a powerful universal prototyping system that control design engineers use to quickly implement highly customized embedded systems using off-the-shelf tools. Carroll G. Dase, president of Drivven, Inc., an automotive control and data acquisition solutions provider Process Automation Corporation (PAC) is using CompactRIO to create a control and acquisition system that acquires high-speed analog data on multiple channels, runs custom processing algorithms, and provides deterministic control to 14 www.ni.com

operate a verifiable fastener installation (VFI) tool for metal fastening. This application required a high-performance, reliable system in order to calculate the proper stopping point of the VFI tool in real time, during the acquisition, as torque and displacement values varied when fastening to materials of different density and thickness. The largest benefit Process Automation Corporation has seen with CompactRIO is its ability to acquire and process data from system sensors at speeds normally reserved for very-high-cost, custom hardware solutions. Because of the small footprint and embedded system operation, Process Automation Corporation could develop stand-alone, embedded applications for hardware control with a much shorter and less-expensive development cycle. Figure 11. Verifiable Fastener Installation (VFI) Machine "Coupled with National Instruments reputation for solid performing technology and high value-to-dollar ratio, the CompactRIO platform emerged as the most cost-effective platform for this application. The CompactRIO system provides enough processing horsepower to allow multiple fastener installation tools to operate off of a single CompactRIO chassis. This made CompactRIO over twice as cost effective as the previous system." Greg Sussman, Automation Systems Consultant, Process Automation Corporation 15 www.ni.com

Figure 12 shows three custom modules designed by Drivven, Inc. for controlling spark plugs and fuel injectors in a 2004 Yamaha YZF-R6 motorcycle at speeds exceeding 15,500 RPM. Figure 12. Custom Module Implementation Typical machine control applications: Industrial packaging Welding machinery High-speed motion control Chemical mixing Fastening machinery Preventative maintenance Visit ni.com/compactrio for additional graphical system design resources: Machine control white paper Machine control example programs Multimedia Web events CompactRIO online training CompactRIO customer solutions Custom module templates 16 www.ni.com