Outline. PD, PI, PID Compensation. PD Control. Remarks. PD compensation. PI compensation. PID compensation. = loop gain

Similar documents
EE 402 RECITATION #13 REPORT

MATLAB Control System Toolbox Root Locus Design GUI

Root Locus. E(s) K. R(s) C(s) 1 s(s+a) Consider the closed loop transfer function:

Enhancing Classical Controls Education via Interactive GUI Design

Understanding Poles and Zeros

Chapter Eight Root Locus Control Design. 8.3 Common Dynamic Controllers

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

ECE 3510 Final given: Spring 11

Positive Feedback and Oscillators

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

PID Controller Tuning: A Short Tutorial

Chapter 9: Controller design

Introduction to Bode Plot

Controller Design in Frequency Domain

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Bode Diagrams of Transfer Functions and Impedances ECEN 2260 Supplementary Notes R. W. Erickson

3.2 Sources, Sinks, Saddles, and Spirals

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Loop Analysis. Chapter Introduction

7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )

Stability of Linear Control System

Matlab and Simulink. Matlab and Simulink for Control

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

S-DOMAIN ANALYSIS: POLES, ZEROS, AND BODE PLOTS

Introduction to Complex Numbers in Physics/Engineering

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

Laboratory 4: Feedback and Compensation

THE EDUCATIONAL IMPACT OF A GANTRY CRANE PROJECT IN AN UNDERGRADUATE CONTROLS CLASS

Engineering Sciences 22 Systems Summer 2004

First, we show how to use known design specifications to determine filter order and 3dB cut-off

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

2.161 Signal Processing: Continuous and Discrete Fall 2008

Zeros of Polynomial Functions

Chapter 17. Orthogonal Matrices and Symmetries of Space

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

Transmission Lines. Smith Chart

INTERACTIVE LEARNING MODULES FOR PID CONTROL

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

COMPLEX NUMBERS. a bi c di a c b d i. a bi c di a c b d i For instance, 1 i 4 7i i 5 6i

Chapter 3 AUTOMATIC VOLTAGE CONTROL

Lecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)

UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

2.2 Magic with complex exponentials

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

Frequency Response of FIR Filters

Introduction to Control Systems

Controller Design using the Maple Professional Math Toolbox for LabVIEW

Active Vibration Isolation of an Unbalanced Machine Spindle

Motor Modeling and Position Control Lab Week 3: Closed Loop Control

Lecture Notes on Polynomials

EECE 460 : Control System Design

EE 435 Lecture 13. Cascaded Amplifiers. -- Two-Stage Op Amp Design

The Method of Least Squares. Lectures INF2320 p. 1/80

ROUTH S STABILITY CRITERION

COMPLEX NUMBERS AND SERIES. Contents

Zeros of a Polynomial Function

Chapter 10 Rotational Motion. Copyright 2009 Pearson Education, Inc.

Understanding Power Impedance Supply for Optimum Decoupling

Lecture 5 Rational functions and partial fraction expansion

The Z transform (3) 1

THE COMPLEX EXPONENTIAL FUNCTION

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.

Common Core Unit Summary Grades 6 to 8

PYTHAGOREAN TRIPLES KEITH CONRAD

9 Multiplication of Vectors: The Scalar or Dot Product

6. Define log(z) so that π < I log(z) π. Discuss the identities e log(z) = z and log(e w ) = w.

3.1 State Space Models

x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3

Root Computations of Real-coefficient Polynomials using Spreadsheets*

Estimated Pre Calculus Pacing Timeline

L stub Z A = Z 0 Z R Z 0S. Single stub impedance matching

ACT Math Facts & Formulas

A vector is a directed line segment used to represent a vector quantity.

Week 13 Trigonometric Form of Complex Numbers

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM

Factoring Polynomials and Solving Quadratic Equations

PROCESS CONTROL SYSTEM DESIGN Process Control System Design LECTURE 2: FREQUENCY DOMAIN ANALYSIS

SAT Subject Math Level 2 Facts & Formulas

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Zeros of Polynomial Functions

Electromagnetism Laws and Equations

Orbital Mechanics. Angular Momentum

PRE-CALCULUS GRADE 12

Introduction to the Smith Chart for the MSA Sam Wetterlin 10/12/09 Z +

Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Trigonometry Hard Problems

Math 1. Month Essential Questions Concepts/Skills/Standards Content Assessment Areas of Interaction

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

Technical Guide No High Performance Drives -- speed and torque regulation

MATH 52: MATLAB HOMEWORK 2

(1.) The air speed of an airplane is 380 km/hr at a bearing of. Find the ground speed of the airplane as well as its

4.1. COMPLEX NUMBERS

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Transcription:

Outline PD, PI, PID Compensation M. Sami Fadali Professor of Electrical Engineering University of Nevada PD compensation. PI compensation. PID compensation. 1 2 = loop gain PD Control = desired closed-loop pole location. Find a controller s.t. or its odd multiple (angle condition). Controller Angle for Zero location 3 Remarks Graphical procedures are no longer needed. CAD procedure to obtain the design parameters for specified.» evalfr(l,scl) % Evaluate L at scl» polyval( num,scl) % Evaluate num at scl The complex value and its angle can also be evaluated using any hand calculator. 4

Procedure:MATLAB or Calculator 1. Calculate»theta = pi angle(evalfr(l, scl) ) 2. Calculate zero location using 3. Calculate new loop gain (with zero)» Lc = tf( [1, a],1)*l 4. Calculate gain (magnitude condition)» K = 1/abs( evalfr( Lc, scl)) 5. Check time response of PD-compensated system. Modify the design to meet the desired specifications if necessary (MATLAB). 5 Procedure 5.2: Given 1. Obtain error constant from and determine a system parameter that remains free after is fixed for the system with PD control. 2- Rewrite the closed-loop characteristic equation of the PD controlled system as & 6 Procedure 5.2 (Cont.) Example 5.5 3. Obtain corresponding to the desired closedloop pole location. As in Procedure 5.1, can be obtained by clicking on the MATLAB root locus plot or applying the magnitude condition using MATLAB or a calculator. 4. Calculate the free parameter from the gain. 5. Check the time response of the PD compensated system and modify the design to meet the desired specifications if necessary. Use a CAD package to design a PD controller for the type I system to meet the following specifications (a) = 0.7 & rad/s. (b) = 0.7 & due to a unit ramp. 7 8

(a) & MATLAB Calculate pole location & corresponding gain >> scl = 10*exp( j*( pi-acos(0.7) ) ) scl = 7.0000 + 7.1414I >> g=zpk([ ],[0,-4],1); >> theta=pi( angle( evalfr( g, scl) ) ) theta = 1.1731 (a) Design (cont.)» a = 10 * sqrt(1-0.7^2)/ tan(theta) + 7 a = 10.0000» k =1/abs(evalfr(tf( [1, a],1)*g,scl)) % k = 10.0000 Gain at scl: 9 10 RL of Uncompensated System RL of PD-compensated System 8 Root Locus 8 Root Locus 0.7 7 6 0.7 6 4 System: gcomp Gain: 10 Pole: -7.01 + 7.13i Damping: 0.701 Overshoot (%): 4.56 Frequency (rad/sec): 10 Imaginary Axis 5 4 3 Imaginary Axis 2 0-2 10 2-4 1-6 0-8 -7-6 -5-4 -3-2 -1 0 Real Axis 0.7-8 -20-18 -16-14 -12-10 -8-6 -4-2 0 11 Real Axis 12

(b) L L for unit ramp (b) Design (cont.) Assume that K varies with K a fixed, then Closed-loop characteristic equation with PD RL= circle centered at the origin 13 14 RL of PD-compensated System fixed (b) Design Cont. Desired location: intersection of root locus with radial line. K = 10, a =10 (same values as in Example 5.3). MATLAB command to obtain the gain» k = 1/abs( evalfr( tf([1,10],[ 1, 4, 0]), scl) ) k = 10.0000 Time responses of two designs are identical. 15 16

PI Control Integral control to improve (increases type by one) worse transient response or instability. Add proportional control controller has a pole and a zero. Transfer function of proportional-plusintegral (PI) controller 17 PI Remarks Used in cascade compensation (integral term in the feedback path is equivalent to a differentiator in the forward path) PI design for a plant transfer function is the same as PD design of. A better design is often possible by "almost canceling" the controller zero and the controller pole (negligible effect on time response). 18 Procedure 5.3 1. Design a proportional controller for the system to meet the transient response specifications, i.e. place the dominant closed-loop poles at. 2. Add a PI controller with the zero location such that (small angle) or 3. Tune the gain of the system to moved the Comments Use PI control only if P-control meets the transient response but not the steady-state error specifications. Otherwise, use another control. Use pole-zero diagram to prove zero location formula. closed-loop pole closer to 19 20

Pole-zero Diagram of PI Controller d s cl tan 180 z n s cl tan 180 a a p s cl j 21 From Figure Proof Controller angle at 22 Proof (Cont.) Controller Angle at Trig. Identity 3.5 3 2.5 2 Solve for Multiplying by gives 1.5 1 0.5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 23 24

Example 5.6 Design a controller for the position control system to perfectly track a ramp input with a dominant pair with. 25 Solution To use the PD procedure for PI design, consider Procedure 5.1 with modified transfer function. Unstable for all gains (see root locus plot). Controller must provide an angle 249 at the desired closed-loop pole location. Zero at 1.732. Cursor at desired pole location on compensated system RL gives a gain of about 40.6. 26 RL of System With Integrator RL of PI-compensated System 6 Root Locus 5 4 Imaginary Axis 3 2 0.7 1 0 4-10 -8-6 -4-2 0 Real Axis 27 28

Analytical Design Closed-loop characteristic polynomial Values obtained earlier, approximately. MATLAB» scl = 4*exp(j*(pi acos( 0.7)) ) scl = -2.8000 + 2.8566i» theta = pi + angle( polyval( [ 1, 10, 0, 0], scl ) ) theta = 1.9285» a = 4*sqrt(1-.7^2)/tan(theta)+ 4*.7 a = 1.7323» k = abs(polyval( [ 1, 10, 0,0], scl )/ polyval([1,a], scl) ) k = 40.6400 29 30 Design I Results Closed-loop transfer function for Design I Step Response of PI-compensated System Zero close to the closed-loop poles excessive PO (see step response together with the response for a later design: Design II). Design I (dotted), Design II (solid). 31 32

Design II: Procedure 5.3 For rad/s. zero location 7.143 0.7 1 0.49/ tan 3 0.5 Closed-loop transfer function Gain slightly reduced to improve response. Compare Designs I & II Design II dominant poles: rad/s Time response for Designs I and II Percentage overshoot for Design II (almost pole-zero cancellation) << Percentage overshoot for Design I (II better) 33 34 PID (proportional-plus-integralplus-derivative) Control Improves both transient & steady-state response. proportional, integral, derivative gain, resp. Controller zeros: real or complex conjugate. 35 PID Design Procedures 1. Cancel real or complex conjugate LHP poles. 2. Cancel pole closest to (not on) the imaginary axis then add a PD controller by applying Procedures 5.1 or 5.2 to the reduced transfer function with an added pole at the origin. 3. Follow Procedure 5.3 with the proportional control design step modified to PD design. The PD design meets the transient response specifications and PI control is then added to improve the steady-state response. 36

Example 5.7 Design a PID controller for the transfer function to obtain zero due to ramp, and rad/s. Design I Cancel pole at 1 with a zero & add an integrator Same as transfer function of Example 5.6 Add PD control of Example 5.6 PID controller 37 38 Design II Design PD control to meet transient response specs. Select rad/s (anticipate effect of adding PI). Design PD controller using MATLAB commands» [k,a,scl] = pdcon(0.7, 5, tf(1, [1,11,10,0])) k = 43.0000 a = 2.3256 scl = -3.5000 + 3.5707i 39 Design II (Cont.) Obtain PI zero (approx. same as )» b =5 /(0.7 + sqrt(1-.49)/tan(3*pi/ 180) ) % b = 0.3490 Transfer function for Design II (reduce gain to 40 to correct for PI) 40

Conclusions Compare step responses for Designs I and II: Design I is superior because the zeros in Design II result in excessive overshoot. Plant transfer function favors pole cancellation in this case because the remaining real axis pole is far in the LHP. If the remaining pole is at 3, say, the second design procedure would give better results. MORAL: No easy solutions in design, only recipes to experiment with until satisfactory results are obtained. Time response for Design I(dotted) and Design II (solid) 41 42 Example 5.8 Design a PID controller for the transfer function to obtain zero due to step, and rad/s Solution Complex conjugate pair slows down the time response. Third pole is far in the LHP. Cancel the complex conjugate poles with zeros and add an integrator 43 44

Solution (cont.) Stable for all gains. Closed-loop characteristic polynomial Equate coefficients with Step Response of PIDcompensated System PID controller (meets design specs) 45 In practice, pole-zero cancellation may not occur but near cancellation is sufficient to obtain a satisfactory time response 46