Controller Design using the Maple Professional Math Toolbox for LabVIEW



Similar documents
Microcontroller-based experiments for a control systems course in electrical engineering technology

Implementation of Fuzzy and PID Controller to Water Level System using LabView

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

ECE 3510 Final given: Spring 11

ECE475 Control System Analysis ABET Syllabus. ECE 326. Prerequisite topics: knowledge of Laplace transforms and Bode plots.

SCADA, OPC and Database Systems

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

Control System Definition

stable response to load disturbances, e.g., an exothermic reaction.

Solutions for Every Aspect of STEM Education

Jump Start: Aspen HYSYS Dynamics V7.3

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

MATLAB Control System Toolbox Root Locus Design GUI

System Modeling and Control for Mechanical Engineers

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Industrial Plant and Process Control

Control and Simulation. in LabVIEW

Lambda Tuning the Universal Method for PID Controllers in Process Control

Design-Simulation-Optimization Package for a Generic 6-DOF Manipulator with a Spherical Wrist

Best Practices for Controller Tuning

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

EE 402 RECITATION #13 REPORT

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Non Linear Control of a Distributed Solar Field

Control of an industrial process using PID control blocks in automation controller

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW

Controller and Platform Design for a Three Degree of Freedom Ship Motion Simulator

Nodal and Loop Analysis

Hardware-in-the-Loop Simulation

IPA Industrial Process Automation From the Automatic Control of Individual Controlled Systems to Flexible, Full-scale Process Automation

Module 2 Introduction to SIMULINK

Exercise 10: Basic LabVIEW Programming

Enhancing Process Control Education with the Control Station Training Simulator

Chapter 9: Controller design

Industrial Process Controllers

SAMPLE CHAPTERS UNESCO EOLSS PID CONTROL. Araki M. Kyoto University, Japan

Water Supply. Simulation of Water Distribution Networks. Mohammad N. Almasri. Optimal Design of Water Distribution Networks Mohammad N.

PID Tuning Guide. A Best-Practices Approach to Understanding and Tuning PID Controllers. First Edition by Robert C. Rice, PhD

Solutions for Every Aspect of Engineering Education

Spacecraft Dynamics and Control. An Introduction

Experiment 4: Sensor Bridge Circuits (tbc 1/11/2007, revised 2/20/2007, 2/28/2007) I. Introduction. From Voltage Dividers to Wheatstone Bridges

Maple Quick Start. Introduction. Talking to Maple. Using [ENTER] 3 (2.1)

How To Use Maple Sim

School of Engineering Department of Electrical and Computer Engineering

CHAPTER 1 INTRODUCTION

PID Controller Tuning: A Short Tutorial

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Jump-Start Tutorial For ProcessModel

FUNDAMENTALS OF CONTROL ENGINEERING

ELECTRICAL ENGINEERING

Math-in-CTE Lesson Plan: Marketing

DAQ in MATLAB HANS-PETTER HALVORSEN,

Keywords revenue management, yield management, genetic algorithm, airline reservation

LabVIEW DSP Test Integration Toolkit for TI DSP

Enhancing Classical Controls Education via Interactive GUI Design

Controller Design in Frequency Domain

Data Analysis with MATLAB The MathWorks, Inc. 1

Dr. Yeffry Handoko Putra, S.T., M.T

Degree programme in Automation Engineering

Lab 7: Operational Amplifiers Part I

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

Grade Level Year Total Points Core Points % At Standard %

MANAGING ASSETS WITH MODERN TOOLS AT WHITE BIRCH PAPER

Laboratory 4: Feedback and Compensation

Series and Parallel Resistive Circuits

FAST METHODS FOR SLOW LOOPS: TUNE YOUR TEMPERATURE CONTROLS IN 15 MINUTES

IPB-IB ELECTRIC ACTUATORS FOR INDUSTRIAL PROCESS CONTROL INDUSTRIAL STEAM BOILERS. BECK VIDEO Scan w/ Smartphone

PID, LQR and LQR-PID on a Quadcopter Platform

Process Control Primer

A Design of a PID Self-Tuning Controller Using LabVIEW

Matlab and Simulink. Matlab and Simulink for Control

CCST Exam Preparation Course Syllabus

Zahner 08/2013. Monitor measurements in a separate window.

Industrial Steam System Process Control Schemes

Create a Pipe Network with Didger & Voxler

The Time Constant of an RC Circuit

MODELING, SIMULATION AND DESIGN OF CONTROL CIRCUIT FOR FLEXIBLE ENERGY SYSTEM IN MATLAB&SIMULINK

Dynamic Behavior of BWR

IndustrialIT System 800xA Engineering

Test Report. Root Penetration Resistance Test. of Waterproofing Membrane for Green Roof System

Curve Fitting with Maple

Modeling and Simulation of a Three Degree of Freedom Longitudinal Aero plane System. Figure 1: Boeing 777 and example of a two engine business jet

CHAPTER 1 : INTRODUCTION TO PROCESS CONTROL

PLAY VIDEO. Close- Closes the file you are working on and takes you back to MicroStation V8i Open File dialog.

Introduction to MATLAB Gergely Somlay Application Engineer

EECE 460 : Control System Design

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

The Operational Amplfier Lab Guide

ANTI LOCK BRAKING SYSTEM MODELLING AND DEVELOPMENT

Users Guide. By Dr. Don J. Wood Dr. Srinivasa Lingireddy. Featuring the Surge Wizard

Development and deployment of a control system for energy storage

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Maple & Moodle in Teaching Mathematics: the E-learning Project of the Faculty of Sciences of the University of Turin

1 External Model Access

South Carolina College- and Career-Ready (SCCCR) Algebra 1

Hybrid Modeling and Control of a Power Plant using State Flow Technique with Application

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

Transcription:

Controller Design using the Maple Professional Math Toolbox for LabVIEW This application demonstrates how you can use the Maple Professional Math Toolbox for LabVIEW to design and tune a Proportional-Integral-Derivative (PID) controller. This toolbox seamlessly integrates LabVIEW with Maple, allowing you to develop applications that use both the data acquisition capabilities of LabVIEW and the sophisticated mathematical modeling of Maple. The following example application models an existing system and tunes the controller parameters. The final parameter values are automatically exported to the live system. This application illustrates the following features: Using Maple to derive a transfer function of the overall system Using LabVIEW to control a physical system Control engineering plots: step response, Bode plot, and root locus plot Powerful Maple symbolic capability to perform sophisticated what if analysis

Controller Design using the Maple Professional Math Toolbox for LabVIEW Maplesoft, a division of Waterloo Maple Inc., 005 Introduction This application demonstrates how you can use the Maple Professional Math Toolbox for LabVIEW to design and tune a Proportional-Integral-Derivative (PID) controller. This toolbox seamlessly integrates LabVIEW with Maple, allowing you to develop applications that use both the data acquisition capabilities of LabVIEW and the sophisticated mathematical modeling of Maple. The following example application models an existing system and tunes the controller parameters. The final parameter values are automatically exported to the live system. This application illustrates the following features. Using Maple to derive a transfer function of the overall system Using LabVIEW to control a physical system Control engineering plots: step response, Bode plot, and root locus plot Powerful Maple symbolic capability to perform sophisticated what if analysis Figure : Two tank system

Problem Description This example illustrates the PID controller tuning for a two tank physical system. In this system, water flows through an input valve to Tank, and from this tank the water flows freely to Tank. The water flows freely from Tank. The input valve is controllable, while both of the output valves for tanks one and two are fixed in an open position. The goal is to control the position of the input valve to maintain the water level in Tank at some preset level. Figure : Two tank system This system can be described by the following transfer function, where H (s) corresponds to the height of tank and U(s) is the input valve position. H ( s) = U ( s) R A R A R s + ( A R + A R ) s + Here, A and A are the cross-sectional areas of Tanks and respectively, and the quantities R and R are the output valve resistances for Tanks and. The goal is to tune a PID controller to maintain a given water level in Tank and then deploy the controller parameters to a live system.

Controller Design The described system is a live system controlled by LabVIEW. It contains an existing PID controller; however, the controller parameters are not optimal. The goal is to model the system with different controller parameters using Maple and then tune the parameters to improve the system performance. The new parameters are exported to the live system. The System In this example, a LabVIEW application controls the system and displays the various parameters and states of the system. Figure 3: Live system The system output (water height level of Tank ) is shown in green in the upper-right portion of Figure. This figure illustrates the response of the system to a step change of the Tank desired height (set point) from zero to one half of the total height. From the figure, it is evident that the height of the water level in Tank (green line) never reaches the desired height. It also exhibits a steady state (settling) error. In addition, the height level first exceeds the target level, before it settles to a final value. The controller behavior is not satisfactory.

Controller Parameter Tuning Using the power of Maple, a simulation of the system is created within the LabVIEW application. Using this simulation, the system response is evaluated for different controller parameters. You can enter arbitrary transfer functions for the plant (the two tank system) and controllers in both the forward and the feedback path. Figure 4: Transfer functions for the controller, plant, and the feedback systems Maple then formulates the transfer function for the entire closed-loop system, from which the behavior of the entire system is simulated. Figure 5: Transfer function for the entire system Since Maple computes the overall system transfer function symbolically, the model and controller parameters are stored separately and are substituted only when needed. As a result, you can investigate the sensitivity of the overall behavior to each of the parameters. Figure 6: List of the model and controller parameters

In addition to generating the transfer function of the system, Maple computes several commonly used control design and analysis plots, such as the step response, Bode plot, and root locus plot. In the case of the root locus plot, instead of using the default loop gain as the varying parameter, you can select different parameters and the corresponding root locus plot for that parameter is generated automatically. This is a unique benefit that Maple offers, as a result of its symbolic manipulation it saves time by eliminating the need to manually re-derive the transfer function expression for each parameter value. Using these tools, you can tune the parameter values for the PID controller until a satisfactory result is achieved. Figure 7: Step response of the overall system Figure 8: Bode plot for the overall system Figure 9: Root locus plot for the entire system

Deployment of the Controller Parameters The controller is designed in LabVIEW, and as a result the parameters are easily exported by writing them directly to the controller VI. You do not need to stop the controller, read data files, or cut and paste the parameter values. Figure 0: The controller parameters are exported to a live VI. Figure : The response of the system is improved with the new controller parameters Summary To develop and tune a PID controller, you can use LabVIEW and Maple: LabVIEW to implement a controller for the physical system, and Maple to model the system and design a controller. This controller is designed in the LabVIEW environment, making the export of the controller value to the real system effortless. The combination of LabVIEW and Maple offers a powerful environment for rapid development and deployment of control solutions.