Model Predictive Control Implementation with LabVIEW

24

Click here to load reader

description

This presentation was presented at National Instruments NIWeek 2007 to demonstrate how to use LabVIEW to implement model predictive control (MPC) strategies to control complicated coax manufacturing processes. Both MatLAB MPC and LabVIEW MPC were implemented in these applications.

Transcript of Model Predictive Control Implementation with LabVIEW

Page 1: Model Predictive Control Implementation with LabVIEW

1

Page 2: Model Predictive Control Implementation with LabVIEW

2

Model Predictive Control Implementation with LabVIEW

Yurong Kimberly Wang, Ph.D.Principal Control Systems Engineer

Tyco Electronics

Wilsonville, Oregon

Page 3: Model Predictive Control Implementation with LabVIEW

3

Tyco Electronics / Precision Interconnect

Page 4: Model Predictive Control Implementation with LabVIEW

4

Precision Interconnects

• COMFORT, MODULUS3, BLUE RIBBON, BASIS, ERGOLINE, LIFELIC, AND SLIMLINE ARE TRADE MARKS

Page 5: Model Predictive Control Implementation with LabVIEW

5

Coax Manufacturing Processes

• Dielectric layer • Taping or Extrusion

• Shield layer• Braiding or Serving

• Jacket layer• Taping or Extrusion

Page 6: Model Predictive Control Implementation with LabVIEW

6

Taped or Extruded Coax

Page 7: Model Predictive Control Implementation with LabVIEW

7

Coax Property

)ln(96.59

d

D

kZo

• C: capacitance (pF/Foot)

• Td: time delay (ns/Foot)

• Z0: impedance (Ohm)

• k: dielectric constant

• D: outer diameter (Mil)

• d: center conductor diameter (Mil)

• Formulae

)ln(

95.16

dDk

C

kTd 016.1

Page 8: Model Predictive Control Implementation with LabVIEW

8

Process Control Challenge• Multiple Outputs

• Capacitance, Diameter, Time delay, Impedance, …

• Multiple Inputs• Screw speed, line speed, barrel temperatures, tape tensions, …

• Long and Variable Time Delays• Variable line speeds and sensor to actuator distances

• Input and Output Constraints• Input and output upper and lower spec limits

• Nonlinearity• Variety of operating conditions

• Disturbances• Center conductor variation, tape thickness variation, …

Page 9: Model Predictive Control Implementation with LabVIEW

9

Model Predictive Control (MPC) Law

• Model-based multi-variable control

• Optimal control law with I/O constraints

• Nonlinear control with model mismatch

• Long and variable time delay process

Page 10: Model Predictive Control Implementation with LabVIEW

10

MPC System and Optimization

Page 11: Model Predictive Control Implementation with LabVIEW

11

MPC Sampling Instants

Page 12: Model Predictive Control Implementation with LabVIEW

12

System ArchitectureProduction

QualityEngineers

Production

Plant Managers

Production

ProcessEngineers

Production

Manufacturing Engineers

Manufacturing Information Server

Business NetworkReport Program for Data Analysis

Production

RemoteUsersInternet

Control Network

Local Control Module

Local Control Module

Local Control Module

Business Network

OPC Client & Server for Data Logging

OPC Client & Server for Data Sharing

Production

LabVIEWHMI & MPC Control

Figure 1. System Architecture

Local Control Module

Page 13: Model Predictive Control Implementation with LabVIEW

13

LabVIEW Project Explorer

Page 14: Model Predictive Control Implementation with LabVIEW

14

LabVIEW – Based Application• LabVIEW Professional Development• LabVIEW Real-Time Module• Data Logging and Supervisory Control Module• Simulation Module• Control Design Toolkit• Advanced Signal Processing Toolkit• Database Connectivity Toolkit• Internet Connectivity Toolkit• Report Generation Toolkit• Compact FieldPoint Hardware and Device Drivers

Page 15: Model Predictive Control Implementation with LabVIEW

15

LabVIEW MPC Implementation

Page 16: Model Predictive Control Implementation with LabVIEW

16

LabVIEW MPC Code

Page 17: Model Predictive Control Implementation with LabVIEW

17

LabVIEW MPC ApplicationManual to auto control with disturbance rejection

Page 18: Model Predictive Control Implementation with LabVIEW

18

MatLABTM MPC – Initial Approach

Page 19: Model Predictive Control Implementation with LabVIEW

19

MatLAB MPC Script Node

Page 20: Model Predictive Control Implementation with LabVIEW

20

MatLAB MPC ApplicationManual to auto control with disturbance rejection

Page 21: Model Predictive Control Implementation with LabVIEW

21

Polymer Extrusion MPC HMI

Page 22: Model Predictive Control Implementation with LabVIEW

22

MPC Output Weighting Effect

Page 23: Model Predictive Control Implementation with LabVIEW

23

Manufacturing Benefit• Consistent product quality

Multi-variable auto-controlled product quality

• Productivity improvement Unmanned overnight MPC control with alarm monitoring Production speed auto ramp with feedforward compensation

• Equipment cost reduction Inner tape layer diameter gauge elimination

• Sensor fault detection Controller acting up with sensor fault readings

• Labor cost reduction Coax quality on-line prediction and off-line test reduction

Page 24: Model Predictive Control Implementation with LabVIEW

24

Reference Material

• LabVIEW Model Predictive Control Module User Manual by National Instruments

• MatLAB Model Predictive Control Toolbox User Manual by MathWorks

• Advanced Control Unleashed by Terrence L. Blevins, Gregory K. McMillan, Willy K. Wojsznis,

and Michael W. Brown, ISA• Models Unleashed – Virtual Plant and Model Predictive Control

Applications, A Pocket Guide by Gregory K. McMillan, Robert A. Cameron, ISA

• Dual-Target Predictive Control for Food Extrusion by Y. Wang and J. Tan, Control Engineering Practice 8 (2000)