34
1 NI Platform for Control Control Design & Simulation Module MathScript RT Module System ID Toolkit LabVIEW Real-Time LabVIEW FPGA cRIO, sbRIO PXI Desktops & SBC’s Targets Digital Filter Design Toolkit VeriStand Statechart Module LabVIEW C Generation 32-bit mp LabVIEW Development Environment

NI Platform for Control

  • Upload
    vancong

  • View
    214

  • Download
    1

Embed Size (px)

Citation preview

Page 1: NI Platform for Control

1

NI Platform for Control

Control Design &

Simulation Module MathScript RT Module System ID Toolkit

LabVIEW Real-Time LabVIEW FPGA

cRIO, sbRIO PXI Desktops & SBC’s

Targets

Digital Filter

Design Toolkit VeriStand Statechart Module

LabVIEW C Generation

32-bit mp

LabVIEW Development Environment

Page 2: NI Platform for Control

2

LabVIEW Control Design Easily create interactive control

design and analysis VIs

Use both textual .m file and graphical approach

Model construction, conversion and reduction

Time and frequency response

Dynamic characteristics

Classical control design including analytical PID

State-space control and estimation - LQR, LQG, Model Predictive Control, Kalman Filter..

Page 3: NI Platform for Control

3 ni.com

• Can use either textual or graphical approach or a hybrid combination

• Interactive user-interface

Graphical and textual options

Professor Eric Fahrenthold, The University of Texas, Mechanical Engineering

344, Dynamic Systems and Controls Classroom Course

Page 4: NI Platform for Control

4 ni.com

LabVIEW Control Design and Simulation Module

• Both signal flow and .m file development

• Single environment for: • Simulation of dynamic systems

• Real-time implementation for rapid control prototyping or hardware-in-the-loop simulation

Page 5: NI Platform for Control

5 ni.com

Standard Notation Reduces Learning Curve

LabVIEW Control Design & Simulation Module

The Simulink® software environment

Simulink® is a registered trademark of The MathWorks, Inc.

Page 6: NI Platform for Control

6 ni.com

Multi-Modal Rover for Search and Rescue

“With both an FPGA and a PowerPC processor, the Single-Board RIO platform has the flexibility to handle a variety of programming tasks and algorithms in an efficient manner. Onboard Ethernet, combined with a Wi-Fi adapter, enables real-time wireless communication, debugging, and deployment of software”

– Nick Morozovsky, Mechanical Engineering PhD student, Switchblade project leader

Coordinated Robotics Lab

Page 7: NI Platform for Control

7 ni.com

Page 8: NI Platform for Control

8 ni.com

Video “UCSD Switchblade Robot”

http://www.youtube.com/watch?v=Dw0WxPlyWlI

Page 9: NI Platform for Control

9 ni.com

Control & Simulation DEMO

Page 10: NI Platform for Control

10 ni.com

Control Software & Hardware Options

Hardware Platform

I/O Options

LV for Win or Mac, LV-RT

Control algorithm

DAQ I/O

PCI/PXI USB (slow)

FPGA I/O

PCI/PXI cRIO/sbRIO

Vision

Page 11: NI Platform for Control

11 ni.com

Real-Time on Multicore Processors (DEMO)

Assign timed loops to specific processor cores.

Page 12: NI Platform for Control

12 ni.com

LabVIEW Control Design & Simulation Benefits

• Complete simulation and real-time implementation capability - stay in one environment from design to test to implementation

• Easily create parallel and multirate simulation or control loops, leverage multicore

• Custom user interface to change and observe parameters as simulation or control system is running

• Use VIs or programming structures inside or outside of simulation loops:

• Integrated design and simulation, batch simulation

• DAQ, RIO, Vision, or CAN for I/O

Page 13: NI Platform for Control

13 ni.com

Simulink® conversion

Convert plant and controller models you create in the Simulink® environment into LabVIEW Control Design & Simulation Module code

Simulink® is a registered trademark of The MathWorks, Inc.

Page 14: NI Platform for Control

14 ni.com

Simulation Model Converter Demo

http://www.library.cmu.edu/ctms/ctms/simulink/basic/imatlab.htm

Page 15: NI Platform for Control

15 ni.com

Co-Simulation w/ Multidomain Modeling Tools

• LMS AMESim

• Dassault Systemes Dymola

• Maplesoft MapleSim

• The MathWorks, Inc. Simscape™

• ITI SimulationX

Page 16: NI Platform for Control

16 ni.com

LabVIEW-Multisim Co-Simulation

• In Multisim: • Buck converter

• PWM generator

• In LabVIEW: • Optimized PID

controller

PID Controller

Page 17: NI Platform for Control

17 ni.com

• Efficiently design across both analog and digital domains

• Design closed-loop point-by-point simulation and control logic

Multisim and Control Design Simulation

Page 18: NI Platform for Control

18 ni.com

Sample Quotes From Case Studies

MathScript:

“We chose LabVIEW over other programming languages because it helped us decrease development time, develop familiar Windows-style GUIs, use LabVIEW MathScript functions to embed our .m file scripts in the solution, and adapt system functionality for future releases.”

CD&Sim:

“In practice, this stage was done by converting the Simulink models into equivalent models under the National Instruments (NI) LabVIEW environment, which supports running a simulation in realtime. In addition it provides good interfacing possibilities.”

“LabVIEW supports allocating cores to the program or part of the program on multi-core computers. This feature was used to give the simulation three cores and the interface modules one.”

Page 19: NI Platform for Control

19 ni.com

Wind turbine HIL Testing Siemens Wind Power Denmark

• Hardware-in-the-loop (HIL) simulation of wind, pitch & blade position to test turbine controller

• Multicore PXI, LabVIEW RT & FGPA

• LabVIEW Control Design & Simulation Module

Real-time HIL model

Page 20: NI Platform for Control

20 ni.com

Industrial HIL – National Oilwell Varco

“Having a simulation of the plant allow us to test our algorithm on the PLC on different working conditions much faster and effectively” - Pål Jacob Nessjøen, development advisor

Challenge. Modeling an industrial pump (including drives, gears, and drill string) and running it on cost effective hardware

Application. Create a test system to evaluate PLC performance before installing it offshore

Products used. LabVIEW, Mathscript and the Control Design and Simulation Module

Page 21: NI Platform for Control

21 ni.com

Developing a Control System to Automatically Position a Split-Hopper Vessel

Application: Build a control system that keeps a ship on a fixed position and heading

Challenge: Design an advanced control system with DGPS, wind, current, gyroscope feedback

Products: PXI, cRIO, RT, LabVIEW Control Design and Simulation Module

Key Benefit: Use a common platform to develop controller and deploy system able to integrate third party information systems.

“We used NI tools because its software allowed us to reuse

the same code from simulation to deployment and its

hardware was reliable” Miguel Taboada, SEAPLACE

Page 22: NI Platform for Control

22 ni.com

Powering Remote Villages with Revolutionary Airborne Wind Technology Using NI CompactRIO

• Matt Bennett, Windlift

• Challenge: Providing portable renewable energy to remote villages

• Solution: Developing a portable 12 kW airborne wind energy system that uses a tethered, flexible airfoil to replace the blades and tower found on traditional wind turbines.

• Products: NI SoftMotion Module, LabVIEW, DIAdem, CompactRIO, Control Design and Simulation Module, PID and Fuzzy Logic Toolkit “The seamless interface between the CompactRIO and the NI LabVIEW development environment offer a turnkey hardware/software solution with very little learning required.”

Page 23: NI Platform for Control

23 ni.com

LabVIEW System Identification Toolkit

• Identify and validate linear models of systems from empirical data

• Seamless integration with NI I/O • Parametric model estimation (both

SISO and MIMO) • Nonparametric model estimation • Recursive model estimation • Data preprocessing • Model conversion, validation and

presentation • Closed loop system identification

with feedback detection • Partially known “grey box” system

identifiation • Parameterized nonlinear system

identification

Page 24: NI Platform for Control

24 ni.com

System Identification Toolkit Demo

Page 25: NI Platform for Control

25 ni.com

• Physics-based environment simulator

• Based on the Open Dynamics Engine (ODE)

• Easy to switch between simulated IO and real world IO

LabVIEW Robotics Simulator

Page 26: NI Platform for Control

26

Real-Time Algorithms

Open algorithms for microprocessor targets:

• Optimization w/ constraints

• Curve fitting

• Model predictive control

• System identification

Solutions for MIMO & nonlinear systems

Online design & adaptation

CompactRIO PXI RIO

Single-Board RIO

x86 mp PPC mp PPC mp

f(x,y)

path to min(f(x,y))

min(f(x,y))

Constraint plane

Page 27: NI Platform for Control

27

LabVIEW MathScript RT & Control Design and Simulation Module Benefits

• Quickly take code to hw targets

• Multicore ease-of-use

• Instrumenting your algorithm

• Graphical/textual combination

• LabVIEW includes full programming capability

• Integration of 3rd party IP – including .m and .mdl

• LabVIEW is a complete graphical system design environment w/ all of the MoC’s that you need

Page 28: NI Platform for Control

28 ni.com CompactRIO* PXI Single-Board RIO*

Application Architecture Real-Time Testing and Simulation Software

* 128MB DRAM or great required

Multi-Chassis Systems

• RT Stimulus Generation

• Data Logging

• Test Automation

• Single-Point I/O

• Alarming

• Calculated Channels

• Deterministic Model Execution

• User Account Management

• Multi-Chassis Synchronization

• Multi-Chassis Data Sharing

• Closed-Loop Control

• Scaling and Calibration

Page 29: NI Platform for Control

29 ni.com

Single-Point I/O

• E-, M-, X-series DAQ

• SCXI / C-series SigCon

• R-series

• NI 9144 (EtherCAT)

• CompactRIO Scan Mode

• MXIe-RIO

• NI-XNET (CAN/LIN/FlexRay)

• Aero buses*

• FIU boards

Waveform (buffered) I/O support coming soon

Page 30: NI Platform for Control

Single-Point I/O

Channel Forcing

Model Execution

Parameter Updates

Calc Ch Processing

RT Stimulus Generation

Alarm/Procedure Exec

Custom Devices

NI VERISTAND ENGINE

I/O Drivers

Server Communication

Hardware Calibration

RT Stimulus Profile Editor

Data Log File Viewer

System Health Monitor

Macro Record/Playback

Alarm Configuration

Channel Faulting

Model Parameter Manager

WORKSPACE

Page 31: NI Platform for Control

31 ni.com

Hydraulic Control System Testing

“The out-of-the-box capabilities of NI VeriStand made it practical for us to develop an HIL test system, reducing our total testing cost by more than $740,000.”

– Greg Sussman, CLA, Process Automation

Page 32: NI Platform for Control

32 ni.com

Body Control Unit Testing

“The real-time stimulus profile tools work the way that a test engineer thinks and does not require knowledge of additional programming languages to utilize them. With this capability, our engineers are able to focus on their jobs – identifying potential module failures – which ultimately results in more issues identified and resolved.”

– Jason Bauman, Lear Corp.

Page 33: NI Platform for Control

33 ni.com

NI VeriStand Models

Import models from LabVIEW,

ANSI C/C++, and other software

environments for real-time

execution of:

• System simulations

• Closed-loop controllers

• Signal analysis algorithms

Page 34: NI Platform for Control

34 ni.com

Real-Time Modeling Environments 2013

• The MathWorks, Inc. Simulink® software

• LabVIEW

• LabVIEW Control Design and Simulation Module

• Esterel SCADE Suite

• Tesis DYNAWare models

• NI MATRIXx SystemBuild

• C/C++/FORTRAN/Ada

• MapleSim models from Maplesoft

• SimulationX from ITI

• GT-POWER engine models from Gamma Technologies Inc.

• AVL BOOST

• AVL CRUISE

• Dynacar from Tecnalia

• CarSim from Mechanical Simulation*

• AMESim from LMS*

• Dymola models from Dynasim**

IN-WORK

• WaveRT from Ricardo

• Rational Rhapsody from IBM

• 3KEYMASTER

• Models from VI-grade Simulink® is a registered trademark of The MathWorks, Inc. All

other trademarks are the property of their respective owners.