Model Predictive Control Implementation with LabVIEW
Upcoming SlideShare
Loading in...5
×
 

Model Predictive Control Implementation with LabVIEW

on

  • 4,668 views

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 ...

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.

Statistics

Views

Total Views
4,668
Views on SlideShare
4,653
Embed Views
15

Actions

Likes
0
Downloads
136
Comments
0

3 Embeds 15

http://www.slideshare.net 6
http://www.slashdocs.com 6
http://www.docseek.net 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Presentation outline What the company product Processes an control system design challenge MPC review System architecture MPC implementation Manufacturing benefit Reference
  • Ultrasound 20 to 200 MHz, fetus check in mother’s womb. C driven, the lower the C, the less energy consumption. Customer: Boston Scientific, Philips, Sonosite, GE Medical, Simens Patient Monitoring: buy cable and terminate here, mainly leakage current for Defibrillation TDI: Tektronix, Agilent, Teradyne. Td driven Surgical: Striker, Karal Storz Imaging (KSI) Surgical: impedance driven, sterilization, autoclave. Endoscope used to human body, it is a light system with a tube and light source Radiology: directing medical imaging technologies to diagnose and sometimes treat diseases. Surgical power tools: robot surgery, remote surgery and minimum invasive surgery Surgical catheter: In medicine , a catheter is a tube that can be inserted into a body cavity, duct or vessel. Catheters thereby allow drainage or injection of fluids or access by surgical instruments Pulse oximetry is a non-invasive method allowing the monitoring of the oxygenation of a patient's blood . In medicine , a Holster monitor (also called an ambulatory electrocardiography device ), named after its inventor, Dr. Norman J. Holster , is a portable device for continuously monitoring the electrical activity of the heart for 24 hours or more Defibrillation is the definitive treatment for the life-threatening cardiac arrhythmias ventricular fibrillation and pulseless ventricular tachycardia Electrophysiology is the study of the electrical properties of biological cells and tissues.
  • PRECISION INTERCONNECT cable solutions enable OEMs to offer clearer and more detailed images in the widest range of applications - from conventional hand-held to the most demanding high density packaging of transesophageal probes, gastroscopes and catheters. These solutions are made possible by: Micro-miniature fine wire handling as small as 56 AWG Ultra low capacitance with air enhanced dielectrics Up to 2000 signal lines in one cable for 2 1/2 and 3D arrays OEMs rely on this expertise in low capacitance, high density packaging, electrical and mechanical consistency and high overall reliability. In addition, PRECISION INTERCONNECT cable assemblies can withstand the mechanical challenges inherent in hand-held devices, i.e. the need for flexibility, flex-life, even the ability to endure repeated disinfection and sterilization. EP: electrophysiology BASIS: basic design for surgical imaging system Blue ribbon for logic analyzer. EMS: emergency medical service Product consistency unparalleled in the industry is made possible by innovative equipment such as state-of-the-art closed-loop-control systems.
  • Each layer is one process with related automated equipment.
  • Skew is the biggest difference among all coax time delays. Product quality Outputs: C, D, Td, Z0, skew Inline measurement: C, D, d, to calculate Z0, Td Ultrasound coax: C quality TDI: Td quality, Z0 Patient Monitoring: Surgical:
  • Extrusion Process: Taping Process: Line speed and distance between actuators and sensors change Constraints: for instance: tape tension range, Capacitance range IO setpoints: Cap target, more inputs to provide input targets Disturbance: tape spool edge thickness variation.
  • Control moves from k to m-1, m is control horizon. Output setpoint tracking: force the plant outputs to follow their setpoints Input setpoint tracking: force the plant inputs to follow their setpoints for plants with more inputs than outputs, the inputs are not unique unless defining some inputs as their setpoints to follow. The setpoints usually represent operating conditions that improve safety, economic return, etc. Control move suppression: the controller’s setpoint tracking degrade; less sensitive to prediction inaccuracies (more robust)
  • Control horizon nc: Predictive horizon: Why the controller bothers to optimize over P future sampling periods and calculate M future moves when it discards all but the first move in each cycle? Constraints: given sufficiently long horizons, the controller can “see” a potential constraint and avoid it or at least minimize its adverse effects. Plant delays: suppose that the plant includes a pure time delay equivalent to D sampling instants. In other words, the controller’s current move, uk, has no effect until yk_D_1. In this situation it is essential that P>>D and M<<P-D, as this forces the controller to consider the full effect of each move. Non-minimum phase plants: consider a SISO plant with an inverse-response, i.e., a plant with a short-term response in one direction, but a longer term response in the opposite direction. The optimization should focus primarily on the longer term behavior. Otherwise, the controller would move in the wrong direction. Rules of thumb: Choose the control interval such that the plant’s open-loop setting time is about 20 to 30 sampling periods (i.e., the sampling period is approximately one fifth of the dominant time constant). Choose prediction horizon P to be the number of sampling periods used in step 1. Use a relative small control horizon M e.g., 3-5
  • Local control: PAC such as NI compact field point and compactRIO, or PLC OPC server: OLE for Process Control using Microsoft COM, interface between local controls with the central control with OPC Client software PC-Ethernet-based control system with LabVIEW to do HMI and overall MPC control for product quality control and data logging. MIS: OPC and database technologies to log real-time data. 1. For instance: Citadel database in DSC module, 2.MS SQL database using database toolkit. 3. Industrial SQL server from Wonderware Report program: NI report generation, Crystal Report, MS report software, WW Activefactory. Reports are productivity reports, product quality reports, machine utilization reports, real-time trending and statistics reports.
  • Organize the hardware and software in one place PC software: 1. Labview lib, support files, dependency, and shared variable engine as OPC Server, build application and installer configuration 2. Hardware: cFP2020 configuration, software runs on hard real-time processor with auto startup feature; build application and deploy it as auto startup.
  • RT allows to hard real-time code running in cFP hardware DSC to configure the scaling, alarm, and data logging, and shared variable engine as OPC server Simulate the process, and control design for MPC controller. Advance signal processing for filter design and real-time FFT analysis. Database for recipe upload Internet for recipe display on the internet to print out. Report generation for product quality real-time report for spool quality label
  • MPC design with input and output constraints, time delay and models MPC implementation Control action outputs
  • Define np and nu Define input and output setpoint profile Give to MPC implementation VI
  • Taping application Manual mode to show the disturbance and normal operating condition Auto mode to set setpoint following and disturbance rejection. Output weight on impedance, let OD free. Histogram and real-time trending charts Z and FOD Output constraints. Alarm to stop machine and quality tracking
  • Use Matlab m script server with LabVIEW Same way to design MPC
  • MPC m script node with code in it
  • MPC implementation Manual to show the disturbance and operating condition Auto to show setpoint following and disturbance rejection Weighting factor the same. Point out the issues on this approach - Matlab software required - simulate in Matlab and in Labview, and then implement in Labview - software upgrades to make sure the interface works between Matlab and Labview - Tech support not as good
  • Extrusion process graph explanation Time delay mode but control OD automatically. Point to the label printing and spool quality checking, alarm tracking, etc Screw speed and line speed feedforward compensation to increase productivity
  • Output weighting Original OD weighting higher, and then Z weighting higher to see the setpoint following effects based on the weight tuning parameters. Feedforward compensation, spool summary, and quality label for test reduction
  • Company product win third party test result for consistent quality. Taping line setup eliminate night shift Feedforward line speed/screw speed ramp up Laser gauge elimination due to multivariable MPC controller. For instance, dielectric OD laser malfunction, operator did not see it, but the controller acted up, therefore detect sensor fault On-line quality tracking and prediction, reduced off-line coax test.

Model Predictive Control Implementation with LabVIEW Model Predictive Control Implementation with LabVIEW Presentation Transcript

  •  
  • Model Predictive Control Implementation with LabVIEW Yurong Kimberly Wang, Ph.D. Principal Control Systems Engineer Tyco Electronics Wilsonville, Oregon
  • Tyco Electronics / Precision Interconnect
  • Precision Interconnects
    • COMFORT, MODULUS3, BLUE RIBBON, BASIS, ERGOLINE, LIFELIC, AND SLIMLINE ARE TRADE MARKS
  • Coax Manufacturing Processes
    • Dielectric layer
        • Taping or Extrusion
    • Shield layer
        • Braiding or Serving
    • Jacket layer
        • Taping or Extrusion
  • Taped or Extruded Coax
  • Coax Property
    • C: capacitance (pF/Foot)
    • Td: time delay (ns/Foot)
    • Z 0 : impedance (Ohm)
    • k: dielectric constant
    • D: outer diameter (Mil)
    • d: center conductor diameter (Mil)
    • Formulae
  • 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, …
  • 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
  • MPC System and Optimization
  • MPC Sampling Instants
  • System Architecture Production Quality Engineers Production Plant Managers Production Process Engineers Production Manufacturing Engineers Manufacturing Information Server Business Network Report Program for Data Analysis Production Remote Users Internet 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 LabVIEW HMI & MPC Control Figure 1. System Architecture Local Control Module
  • LabVIEW Project Explorer
  • 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
  • LabVIEW MPC Implementation
  • LabVIEW MPC Code
  • LabVIEW MPC Application Manual to auto control with disturbance rejection
  • MatLAB TM MPC – Initial Approach
  • MatLAB MPC Script Node
  • MatLAB MPC Application Manual to auto control with disturbance rejection
  • Polymer Extrusion MPC HMI
  • MPC Output Weighting Effect
  • 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
  • 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)