Lab 4: Root Locus Based Control Design

Similar documents
ME 4710 Motion and Control: Integrator Wind-up Reference: Franklin, Powell, Emami-Naeini, Feedback Control of Dynamic Systems, Prentice-Hall, 2002.

Digital Level Control One and Two Loops Proportional and Integral Control Single-Loop and Cascade Control

LABORATORY EXERCISE 1 CONTROL VALVE CHARACTERISTICS

Compensator Design for Speed Control of DC Motor by Root Locus Approach using MATLAB

Fail Operational Controls for an Independent Metering Valve

Characterizers for control loops

Exercise 2-2. Second-Order Interacting Processes EXERCISE OBJECTIVE DISCUSSION OUTLINE. The actual setup DISCUSSION

NATIONAL UNIVERSITY OF SINGAPORE. EE3302/EE3302E Industrial Control Systems E1: ADVANCED CONTROL SYSTEMS

CHEMICAL ENGINEERING LABORATORY CHEG 239W. Control of a Steam-Heated Mixing Tank with a Pneumatic Process Controller

Level Process Control. Penn State Chemical Engineering

LOW PRESSURE EFFUSION OF GASES revised by Igor Bolotin 03/05/12

Gerald D. Anderson. Education Technical Specialist

ROSE-HULMAN INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering. Mini-project 3 Tennis ball launcher

UNIVERSITY OF WATERLOO

SIMULATION OF STATIC PRESSURE RESET CONTROL IN COMFORT VENTILATION

Background Summary Kaibab Plateau: Source: Kormondy, E. J. (1996). Concepts of Ecology. Englewood Cliffs, NJ: Prentice-Hall. p.96.

In addition to reading this assignment, also read Appendices A and B.

1 Chapter 8: Root Locus Techniques. Chapter 8. Root Locus Techniques. 2000, John Wiley & Sons, Inc. Nise/Control Systems Engineering, 3/e

LOW PRESSURE EFFUSION OF GASES adapted by Luke Hanley and Mike Trenary

Fail operational controls for an independent metering valve

1. What function relating the variables best describes this situation? 3. How high was the balloon 5 minutes before it was sighted?

Queue analysis for the toll station of the Öresund fixed link. Pontus Matstoms *

LQG Based Robust Tracking Control of Blood Gases during Extracorporeal Membrane Oxygenation

PIG MOTION AND DYNAMICS IN COMPLEX GAS NETWORKS. Dr Aidan O Donoghue, Pipeline Research Limited, Glasgow

MoLE Gas Laws Activities

SHOT ON GOAL. Name: Football scoring a goal and trigonometry Ian Edwards Luther College Teachers Teaching with Technology

Courseware Sample F0

The Discussion of this exercise covers the following points:

The University of Hong Kong Department of Physics Experimental Physics Laboratory

The Gas Laws: Boyle's Law and Charles Law

Process Simulator Evaluates Blower and Valve Control Strategies for WWTP Aeration

Ozobot Bit Classroom Application: Boyle s Law Simulation

INSTRUMENT INSTRUMENTAL ERROR (of full scale) INSTRUMENTAL RESOLUTION. Tutorial simulation. Tutorial simulation

1. Determining Solution Concentration

Cover Page for Lab Report Group Portion. Pump Performance

Application Block Library Fan Control Optimization

1.2 Example 1: A simple hydraulic system

Hardware Triaxial and Consolidation Testing Systems Pressure Measurement and Control

14 April 2016 Dr. John Hedengren 350 CB Brigham Young University Provo, UT 84606

(Lab Interface BLM) Acceleration

AN ISOLATED SMALL WIND TURBINE EMULATOR

How to Combat Process Disturbances and Interactions

CONTROL and INSTRUMENTATION

An experimental study of internal wave generation through evanescent regions

Lab 1c Isentropic Blow-down Process and Discharge Coefficient

Gas Laws: Boyle s and Amonton s Laws MCTC Chemistry v.9.17

Exercise 8. Closed-Loop Pressure Control, Proportional-Plus-Integral Mode EXERCISE OBJECTIVE

Introductory Lab: Vacuum Methods

Boyle s Law: Pressure-Volume Relationship in Gases

Mitos Fluika Pressure and Vacuum Pumps Datasheet

MoLE Gas Laws Activities

EXPERIMENT XI. Careful!! Improper handling of the vacuum line may result in the release of SO 2 which is an irritating and suffocating gas.

Ammonia Synthesis with Aspen Plus V8.0

TR Electronic Pressure Regulator. User s Manual

ORF 201 Computer Methods in Problem Solving. Final Project: Dynamic Programming Optimal Sailing Strategies

Using MATLAB with CANoe

LAB : Using A Spark Timer

Boyle s Law VC 09. Experiment 9: Gas Laws. Abstract

RESIDENTIAL WATER DISTRIBUTION

Inertial compensation for belt acceleration in an instrumented treadmill

Incorporating 3D Suction or Discharge Plenum Geometry into a 1D Compressor Simulation Program to Calculate Compressor Pulsations

Rescue Rover. Robotics Unit Lesson 1. Overview

29th Monitoring Research Review: Ground-Based Nuclear Explosion Monitoring Technologies

SIDRA INTERSECTION 6.1 UPDATE HISTORY

International Journal of Technical Research and Applications e-issn: , Volume 4, Issue 3 (May-June, 2016), PP.

Additional Reading General, Organic and Biological Chemistry, by Timberlake, chapter 8.

This portion of the piping tutorial covers control valve sizing, control valves, and the use of nodes.

Tutorial. BOSfluids. Relief valve

GP1 & GP2. Electropneumatic Regulators FOR PRESSURE CONTROL TO 1,000 PSI

Laboratory 2(a): Interfacing WiiMote. Authors: Jeff C. Jensen (National Instruments) Trung N. Tran (National Instruments)

Programmable Valves Enable Both Precision Motion Control and Energy Saving

KISSsoft 03/2016 Tutorial 9

International Research Journal of Electronics and Computer Engineering Vol 1(3) Oct-Dec 2015

A Resource for Free-standing Mathematics Units. Graph showing Pressure plotted against Volume for a sample of air in a Boyle s law experiment

Armfield Distillation Column Operation Guidelines

Lab #1 Pressure: Bubblers and Water Balloons CEE 331 Fall 2003

Section 10 - Hydraulic Analysis

THE FUNDAMENTALS OF THE AIR SAMPLER CALIBRATION-VERIFICATION PROCESS

Boyle s Law: Pressure-Volume Relationship in Gases. PRELAB QUESTIONS (Answer on your own notebook paper)

The Incremental Evolution of Gaits for Hexapod Robots

Experiment 13: Make-Up Lab for 1408/1420

Lab 1. Adiabatic and reversible compression of a gas

1. A tendency to roll or heel when turning (a known and typically constant disturbance) 2. Motion induced by surface waves of certain frequencies.

Author s Name Name of the Paper Session. Positioning Committee. Marine Technology Society. DYNAMIC POSITIONING CONFERENCE September 18-19, 2001

Cover Page for Lab Report Group Portion. Drag on Spheres

Novel empirical correlations for estimation of bubble point pressure, saturated viscosity and gas solubility of crude oils

Gas Pressure Volume Relationships Laboratory Simulation

Cover Page for Lab Report Group Portion. Head Losses in Pipes

Measurement And Control Appreciation

intended velocity ( u k arm movements

S-CURVE DOCUMENTATION AND TUTORIAL FOR THE S-CURVE ON THE COOL MUSCLE

Investigating the effects of interchanging components used to perform ripple assessments on calibrated vector network analysers

Control System Nur Istianah-THP-FTP-UB-2014

A Hare-Lynx Simulation Model

Operating instructions Electrical switching facility pco

Modeling, Simulation, and Testing of Constant Tension System on Winch

Preparation for Salinity Control ME 121

Chapter 2 Ventilation Network Analysis

Line Following with RobotC Page 1

Modeling of Hydraulic Hose Paths

Transcription:

Lab 4: Root Locus Based Control Design References: Franklin, Powell and Emami-Naeini. Feedback Control of Dynamic Systems, 3 rd ed. Addison-Wesley, Massachusetts: 1994. Ogata, Katsuhiko. Modern Control Engineering, 5 th ed. Prentice Hall, New Jersey: 2009. Introduction The objective in control system design is to manipulate a system s response via a compensator (i.e. controller). The response of a compensated system is presumably more useful than the uncompensated version. Lab 3, Basic Control Actions, demonstrated the use of the PI compensator. For the hydraulic motor, a proportional gain decreased the time constant of the response although it left a non-zero steady state error. An integral gain term eliminated this steady state error. The derivative gain slowed down the system response, thus reducing overshoot in the system. A desired system response is obtained by carefully selecting the PI compensator s gain parameters. Gain selection, aside from deciding the form of the compensator, is a major part of basic control system design. There are many methods by which one may choose compensator gains. In Lab 3, students were asked to try different proportional and integral gains that were chosen semi-randomly by the instructor. The point in that exercise was to observe the effects of changing the various gain parameters. If the point is to obtain a good response from a system whose mathematical representation is unknown, the Ziegler-Nichols tuning rules (Franklin p. 191, Ogata 5 th ed. p. 568) are used to select the PID controller gains. When a reasonably accurate mathematical representation of the system is known, as in the case of the hydraulic motor in the Parker-Hannifin Motion Control Laboratory, there are more sophisticated and powerful methods by which to select the gains. The root locus method is one such method that will be explored in this laboratory exercise. Frequency response methods and others will be investigated in future exercises. In this laboratory exercise, a proportional and PI compensator will be designed for the hydraulic motor using the root locus method and MATLAB. The mathematical model for the motor system was developed in Lab 2, Time Domain System ID First Order System. The designed control system will be simulated using Simulink and then implemented on the Parker Trainer Stand. A comparison of the simulation to the actual response will yield differences that must be explained in the laboratory report. Experimental Objectives Completion of the laboratory exercise will have required you to: Simulate a physical system using a data obtained from a Plant Identification. 1

Design a proportional and PI compensator using root locus design methods. Physically implement the compensators designed in the lab. Explain discrepancies between the recorded speed output from the physical system and that of the simulation. Understand qualitatively the information contained within a system s root locus plot. Overview of Design Process Design of a compensator using the root locus design method typically involves the following steps: Obtain a plant model. Translate design requirements into ζ and/or ω n information. System characteristics such as time constant (for first order systems) and overshoot and rise time (for second order systems) are design requirements. Translate ζ and/or ω n information into closed loop pole locations. Draw the root locus plot of the compensated system for a range of gains K c. Select a gain from the root locus plot which corresponds to the desired pole locations and use it in the compensator. Iterate if the system characteristics are not met due to unmodeled dynamics. In the Prelab assignment, you completed the first three steps. In this lab, you will complete the remaining steps in the compensator design process and then test your compensators in simulation and on the experimental system. Root Locus Design Using MATLAB A compensator design using the root locus method can be done completely in MATLAB with the tool rltool. Once the compensator gains have been designed, one should always test the closed loop system using Simulink before hardware implementation. This is recommended in case errors have been made in the formulation of the controller. Experimental Procedure Experiment 1: Root Locus Design with a Proportional Compensator Only The open loop hydraulic motor system that utilized the BD90 valve, as identified in Lab 2 at 300 psi, should have a time constant of about 50 ms and a steady state gain of about 0.60. In this first exercise, we desire the time constant to be 25 ms. Thus, we close the loop and implement a proportional only controller because there is no requirement on the steady state error or overshoot. In the Prelab assignment you determined the time constant needed such that the time constant of the motor s 2

response to a step input is 25 ms. Here you will use the root locus method to determine the appropriate proportional controller gain for the closed loop system. Save all data as you work in c:\me460\yourlogin. This includes any M-files, should you choose to use them. First, draw a block diagram of the closed loop system with a proportional controller K c on paper. Use symbolic names for the values of the other gains as well. Remember, we are modeling the physical system so you must incorporate the various calibration parameters into the block diagram. Refer to Figure 1 at the end of this document. Using block diagram algebra or any other acceptable method, find the closed loop transfer function of the system. Specify the plant transfer function in MATLAB using the function tf(num, den). ex) type G = tf([1 2],[1 0 10]) in command window to specify a transfer function as follows s + 2 G(s) = s 2 + 10. Run rltool by type it in the command window. In the menu file, you can import the plant transfer function into rltool You can specify a controller in the tab, Compensator Editor of the window, Control and Estimation Tool Manager. You can add poles/zeros, and adjust gain of the controller. You can also adjust controller using the window, SISO Design for SISO Design Task. Here you can specify the poles/zeros and gain using graphical user interface. You can change location of poles/zeros by dragging them in the root locus plot. In this 1 st exercise, the controller is a proportional controller. So there is no need to add pole/zero. Once you have specified controller, you have a root locus plot which relates pole location to specific K c values for given controller and plant. A grid of damping and natural frequency is available in the root locus. The grid is activated by right click on the plot and select Grid. By adjusting controller gain, you can determine a gain which satisfies the design requirement. In this first exercise, we desire the time constant to be 25 ms. Using Simulink, create a model of this controlled system and simulate the compensated step response of the hydraulic motor to a step input of 800 RPM. Set the fixed time step in the Simulation/Parameters menu at 1 ms and then plot the output and reference. If you need MATLAB and Simulink help, refer to Lab 1. Next, we will implement this controller on the actual system. Modify the template N:\HydraulicsLab\ME460\rloc_template.mdl so that it is the proportional controller just designed. Save it in c:\me460\yourlogin. Just like in Lab 3 run your real-time Simulink model. Make the physical connections such as the wiring between the MW2000 and the tachometer output, and the hose connections for the BD90 valve and the hydraulic motor. Reread the Trainer Stand Usage & Overview handout if you don t remember how to do the above. Have an instructor check the block diagram, wiring and hosing. 3

Start the system and start the controller. Obtain a good response for a step input of 800 RPM. Save the data in c:\me460\yourlogin. Stop the hydraulics. Plot the data and the simulated response on the same plot. Be sure to account for any time delay. Label, title and save the figure. Experiment 2: Root Locus Design with a PI Controller Unfortunately, the above proportional compensator was not good enough for the boss, who has decided that the design requirements will now be that the overshoot, M p, be exactly 1.5% and the peak time, t p, be approximately 0.21 seconds. In the Prelab assignment you related these design requirements to values for ζ and ω n. Again, we choose to use the root locus method to design the PI compensator. However, now there are two gains, K i and K c, which need to be chosen. Unfortunately, basic root locus methods allow us to investigate the movement of the closed loop poles with respect to only ONE gain as it is varied from zero to infinity. To circumvent this problem, we specify the ratio K i /K c. This changes the problem so that there is only one independent gain that needs to be varied. In rltool you can modify both gain and pole and zero locations. Draw a block diagram on paper of the closed loop system with a PI compensator. Keep everything symbolic for now. Using block diagram algebra, or any other acceptable method, find the closed loop transfer function of the system. The integrator has added another pole to the closed loop transfer function when compared with the proportional only system. What else has the integrator added to the closed loop equations? Manipulate the denominator until it has the form of Equation (1) in the Prelab assignment. K c is the gain from the proportional controller, and the ratio K i /K c should appear somewhere. For the first part of this lab experiment, assume the ratio K i /K c to be 32. Create the root locus plot for the modeled system using rltool by following the same procedure in the first exercise. Activate the grid in the root locus to plot the lines of constant ζ and ω n determined in the first step. Note that their intersection is the location of the complex closed loop poles that you calculated in the Prelab assignment. The root locus should pass through the intersection or pretty close to it. Note that only the closed loop poles which lie on the root locus are possible for the system. Quite often, the locus will not pass through the intersection of the desired ζ and ω n, which means that the design requirements cannot be met simultaneously. In this case, the problem is professorial enough that the locus should pass reasonably close to the desired complex poles. Title, label and save the root locus plot. Simulate the response of the closed loop system to a step input of 800 RPM using Simulink. Save and plot the results. Implement the control system on the physical system. Remember to have an instructor check the hydraulics and the block diagram before starting the system. Record the response to a step input of 800 RPM. Save and plot the results as before. 4

Lab Report 1. Include all plots created and saved during lab in your lab report. 2. Include your answers to all of the Prelab assignment questions, as well as the question under the second bullet in Experiment 2. 3. While there is too much uncertainty and variation in the system for the actual and simulated responses to correspond exactly, they should have the same qualitative shape. In some cases the actual step response may exhibit different shape features when compared to the simulated response. Why? Use the plots from both the proportional only and PI compensated systems in formulating an answer. 4. Theoretically, the system s response (i.e. ω n or τ) can be made to be arbitrarily fast simply by increasing the proportional gain and perhaps the ratio K i /K c. In practice, this is not true. Why not? 5