Systems Analysis and Control

Similar documents
Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

Systems Analysis and Control

PID controllers. Laith Batarseh. PID controllers

Systems Analysis and Control

ECE317 : Feedback and Control

Dr Ian R. Manchester

Fundamental of Control Systems Steady State Error Lecturer: Dr. Wahidin Wahab M.Sc. Aries Subiantoro, ST. MSc.

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Automatic Control Systems (FCS) Lecture- 8 Steady State Error

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Systems Analysis and Control

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

BASIC PROPERTIES OF FEEDBACK

Digital Control: Summary # 7

Step input, ramp input, parabolic input and impulse input signals. 2. What is the initial slope of a step response of a first order system?

MAS107 Control Theory Exam Solutions 2008

AN INTRODUCTION TO THE CONTROL THEORY

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

ECEN 605 LINEAR SYSTEMS. Lecture 20 Characteristics of Feedback Control Systems II Feedback and Stability 1/27

Control System. Contents

Course Background. Loosely speaking, control is the process of getting something to do what you want it to do (or not do, as the case may be).

FEEDBACK CONTROL SYSTEMS

Control Systems I Lecture 10: System Specifications

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

Analysis and Design of Control Systems in the Time Domain

Single-Input-Single-Output Systems

Chapter 12. Feedback Control Characteristics of Feedback Systems

Outline. Classical Control. Lecture 2

STABILITY. Have looked at modeling dynamic systems using differential equations. and used the Laplace transform to help find step and impulse

INTRODUCTION TO DIGITAL CONTROL

Control System (ECE411) Lectures 13 & 14

Lecture 25: Tue Nov 27, 2018

Alireza Mousavi Brunel University

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Basic Feedback Analysis & Design

Steady State Errors. Recall the closed-loop transfer function of the system, is

EEE 184: Introduction to feedback systems

Last week: analysis of pinion-rack w velocity feedback

Control of Manufacturing Processes

Distributed Real-Time Control Systems

Introduction to Feedback Control

FREQUENCY-RESPONSE DESIGN

Time Response Analysis (Part II)

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Performance of Feedback Control Systems

3.1 Overview 3.2 Process and control-loop interactions

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL. Glenn Vinnicombe HANDOUT 5. An Introduction to Feedback Control Systems

Control Systems I. Lecture 5: Transfer Functions. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Time Response of Systems

Linear State Feedback Controller Design

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

Controller Design using Root Locus

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Jacopo Tani. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

EE3CL4: Introduction to Linear Control Systems

D(s) G(s) A control system design definition

Control Systems Design

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Systems Analysis and Control

Exam in Systems Engineering/Process Control

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance.

Plan of the Lecture. Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design.

Control of Manufacturing Processes

Lecture 4 Classical Control Overview II. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

7.1 Introduction. Apago PDF Enhancer. Definition and Test Inputs. 340 Chapter 7 Steady-State Errors

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

Classify a transfer function to see which order or ramp it can follow and with which expected error.

9.5 The Transfer Function

School of Mechanical Engineering Purdue University. ME375 Dynamic Response - 1

Outline. Classical Control. Lecture 5

Process Control J.P. CORRIOU. Reaction and Process Engineering Laboratory University of Lorraine-CNRS, Nancy (France) Zhejiang University 2016

26 Feedback Example: The Inverted Pendulum

IC6501 CONTROL SYSTEMS

(a) Find the transfer function of the amplifier. Ans.: G(s) =

Due Wednesday, February 6th EE/MFS 599 HW #5

Modern Control Systems

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

Exercises for lectures 13 Design using frequency methods

Lab Experiment 2: Performance of First order and second order systems

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

5HC99 Embedded Vision Control. Feedback Control Systems. dr. Dip Goswami Flux Department of Electrical Engineering

Root Locus Design Example #3

Notes for ECE-320. Winter by R. Throne

Unit 8: Part 2: PD, PID, and Feedback Compensation

EE451/551: Digital Control. Chapter 3: Modeling of Digital Control Systems

12.7 Steady State Error

Transcription:

Systems Analysis and Control Matthew M. Peet Illinois Institute of Technology Lecture : Different Types of Control

Overview In this Lecture, you will learn: Limits of Proportional Feedback Performance Specifications. Derivative Feedback Pros and Cons PD Control Pole Placement More on Steady-State Error Response to ramps and parabolae Limits of PD control Integral Feedback Elimination of steady-state error Pole-Placement M. Peet Lecture : Control Systems 2 / 32

Recall the Inverted Pendulum Problem Transfer Function Ĝ(s) = Js 2 Mgl 2 For a simple proportional gain: ˆK(s) = k Closed Loop Transfer Function: There 2.5 are two cases: 2 Impulse Response k Js 2 Mgl 2 + k 8 x 06 Impulse Response 6.5 4 2 Amplitude 0.5 0 0.5 Amplitude 0 8 6.5 4 2 2 2.5 0 2 4 6 8 0 2 Time (sec) 0 0 5 0 5 20 25 Time (sec) Figure: Case : k > Mgl 2 Figure: Case 2: k < Mgl 2 Both cases are unstable! M. Peet Lecture : Control Systems 3 / 32

Differential Control Now suppose we furthermore have a performance specification: Overshoot Rise Time Settling Time - u(s) + T D s G(s) y(s) Problem: There is no solution using proportional gain: ˆK(s) = k. Now we must consider a New Kind of Controller: Derivative Control: Choose ˆK(s) = T D s The controller is of the form u(t) = T D ė(t) The controller is called Differential/Derivative Control because it is proportional to the rate of change of the error. M. Peet Lecture : Control Systems 4 / 32

Differential Control Differential control improves performance by reacting quickly. Prediction: To measure ẏ(t), recall the definition of derivative: ẏ(t) = e(t + t) e(t) t The ẏ(t) term depends on both the current position and predicted position. A way to speed up the response. M. Peet Lecture : Control Systems 5 / 32

Differential Control: Using the Delay is Dangerous! Problem: Differential control is implemented using delay. y(t) is the measurement. ẏ(t) cannot be measured directly Approximate using the delayed response: ẏ(t) = e(t) e(t t) t Delay can cause instabilities. M. Peet Lecture : Control Systems 6 / 32

Differential Control: Noise is Dangerous! Noise Amplification: Measurement of ẏ(t) is heavily influenced by noise. ẏ(t) e(t) e(t t) = t Sensor measurements have error As t 0, the effect of noise, σ is amplified: ẏ(t) = e(t) e(t t) t + 2σ t M. Peet Lecture : Control Systems 7 / 32

Failure of Derivative Control Inverted Pendulum Controller: ˆK(s) = TD s Closed Loop Transfer Function: T D /Js s 2 + T D /Js Mgl 2J 2nd-Order System As we learned last lecture, stable iff both T D /J > 0 Mgl 2J > 0 Derivative Feedback Alone cannot stabilize a system. M. Peet Lecture : Control Systems 8 / 32

PD Control Differential Control is usually combined with proportional control. To improve stability To reduce steady-state error. To reduce the effect of noise. Controller: The form of control is u(t) = K [e(t) + T D ė(t)] or û(s) = K [ + T D s] ê(s) M. Peet Lecture : Control Systems 9 / 32

PD Control 2nd-order system Lets look at the effect of PD control on a 2nd-order system: Ĝ(s) = Controller: ˆK(s) = K [ + TD s] Closed Loop Transfer Function: s 2 + bs + c ˆK(s)Ĝ(s) + ˆK(s)Ĝ(s) = K [ + T D s] s 2 + bs + c + K [ + T D s] = K [ + T D s] s 2 + (b + KT D )s + (c + K) The poles of the system are freely assignable for a 2nd order system. T D and K allow us to construct any denominator we desire. M. Peet Lecture : Control Systems 0 / 32

PD Control 2nd-order system Suppose we want poles at s = p, p 2. Im(s) Re(s) We want the closed loop of the form: (s p )(s p 2 ) = (s 2 (p + p 2 )s + p p 2 ) Thus we want c + K = p p 2 which means K = p p 2 c. b + KT D = (p + p 2 ) which means T D = p+p2+b K = p+p2+b p p 2 c PD feedback gives Total Control over a 2nd-order system. M. Peet Lecture : Control Systems / 32

PD Control Example: Suppose we have the 2nd-order system Ĝ(s) = s 2 + s + Im(s) and performance specifications: Overshoot: M p,desired =.05 Rise Time: T r,desired = s Settling Time: T s,desired = 3.5s. Re(s) As we found in Lecture 9, these specifications mean that the poles satisfy: We chose the pole locations: σ <.9535ω, σ <.333, ω n >.8 s =.5 ±.4ı M. Peet Lecture : Control Systems 2 / 32

PD Control Example: The desired system is (s 2 (p + p 2 )s + p p 2 ) The closed loop is K [ + T D s] s 2 + (b + KT D )s + (c + K) To get the pole locations: p,2 =.5 ±.4ı we choose The gain K = p p 2 c = (.5 +.4ı)(.5.4ı) + =.5 2 +.4 2 = 3.2 The derivative gain T D = p + p 2 + b = 3 + = 2 K 3.2 3.2 =.623 This gives the controller: ˆK(s) = K( + T D s) = 3.2 + 2s M. Peet Lecture : Control Systems 3 / 32

PD Control Problem with Steady-State Error 3 x 06 Step Response Step Response 2.5 0.8 Amplitude 2.5 Amplitude 0.6 0.4 0.5 0.2 0 0 2 4 6 8 0 Time (sec) 0 0 0.5.5 2 2.5 3 3.5 Time (sec) Figure: Open Loop Figure: Closed Loop Although the PD controller gives us control of the pole locations, the steady-state value is y ss = K c + K = 3.2 4.2 =.7625 M. Peet Lecture : Control Systems 4 / 32

PD Control Inverted Pendulum Lets look at the effect of PD control on the inverted Pendulum: Ĝ(s) = /J s 2 Mgl 2J Controller: K [ + T D s] Closed Loop Transfer Function: ˆK(s)Ĝ(s) + ˆK(s)Ĝ(s) = K/J [ + T D s] s 2 Mgl + K/J [ + T Ds] = 2J K/J [ + T D s] s 2 + K/JT D s + (K/J Mgl 2J ) M. Peet Lecture : Control Systems 5 / 32

PD Control Inverted Pendulum To achieve the performance specifications: Overshoot: M p,desired =.05 Rise Time: T r,desired = s Settling Time: T s,desired = 3.5s. We want poles at s =.5 ±.4ı Im(s) Re(s) Thus we want c + K = p p 2 which means K = p p 2 c. b + KT D = (p + p 2 ) which means T D = p + p 2 + b K = p + p 2 + b p p 2 c M. Peet Lecture : Control Systems 6 / 32

PD Control Inverted Pendulum The closed loop is K/J [ + T D s] s 2 + K/JT D s + (K/J Mgl 2J ) To get the pole locations p,2 =.5 ±.4ı we choose The gain K/J = p p 2 c = 4.2 + Mgl 2J The derivative gain T D = p + p 2 + b 3 = p p 2 c 4.2 + Mgl 2J This gives the controller: ) ˆK(s) = K( + T D s) = 4.2J + ( 2 Mgl 3 + 4.2 + Mgl s 2J M. Peet Lecture : Control Systems 7 / 32

PD Control Inverted Pendulum: Problem with Steady-State Error Step Response.4.2 Amplitude 0.8 0.6 0.4 0.2 0 0 0.5.5 2 2.5 3 3.5 Time (sec) The steady-state error with this controller is (K = J = M = g = l = ) y ss = K/J (K/J Mgl 2J ) = 4.2 4.2.5 =.35 Derivative Control has No Effect on the steady-state error! M. Peet Lecture : Control Systems 8 / 32

Recall: Steady-State Error 0.7 0.6 0.5 0.4 Lets take another look at steady-state error Recall: Figure: Suspension Response for k = Problems: If target is moving, we may never catch up. Even if we can catch a moving target, we may not catch an accelerating target. For these problems, the step response is not appropriate. We measured steady-state error using the step response. ess = lim t y(t) Sometimes this doesn t work. Assumes objective doesn t move. M. Peet Lecture : Control Systems 9 / 32

Ramp and Parabolic Inputs There are other types of response we can consider. Ramp response tracks error for a target with constant velocity. Parabolic response tracks error for a target with a constant acceleration. M. Peet Lecture : Control Systems 20 / 32

Ramp and Parabolic Inputs We can use the final value theorem to find the response to ramp and parabolic inputs: Ramp Response: Recall the ramp input: u(t) = t û(s) = s 2 The steady-state error to a ramp input is e ss = lim sê(s) = lim s( Ĝ(s))û(s) = lim Ĝ(s) s 0 s 0 s 0 s M. Peet Lecture : Control Systems 2 / 32

Ramp and Parabolic Inputs We can use the final value theorem to find the response to parabolic inputs: Parabolic Response: Recall the parabolic input: u(t) = t 2 û(s) = s 3 The steady-state response to a parabolic input is Ĝ(s) lim sŷ(s) = sĝ(s)û(s) = s 0 s 2 Note: The steady-state error to a parabolic input is usually infinite. M. Peet Lecture : Control Systems 22 / 32

Ramp and Parabolic Inputs The effect of the numerator For steady-state error, the numerator of the transfer function becomes important: for Ĝ(s) = n(s) d(s) Steady state error is ( d(s) lim( Ĝ(s))sû(s) = lim s 0 s 0 d(s) n(s) ) sû(s) d(s) d(s) n(s) = lim sû(s) s 0 d(s) û(s) is the test signal Step Input: sû(s) = Ramp Input: sû(s) = s Parabolic Input: sû(s) = s 2 M. Peet Lecture : Control Systems 23 / 32

Ramp and Parabolic Inputs Systems in Feedback When in feedback, the closed loop has the form Ĝ ˆK + Ĝ ˆK Hence steady-state error has the form ( ê(s) = Ĝ ˆK ) ( ) + Ĝ ˆK sû(s) = + Ĝ ˆK sû(s) Step Response: Ramp Response: Parabolic Response: e ss,step = lim + Ĝ(s) ˆK(s) s 0 e ss,ramp = lim + Ĝ(s) ˆK(s) s 0 s = lim s 0 sĝ(s) ˆK(s) e ss,parabola = lim s 0 + Ĝ(s) ˆK(s) s 2 = s2ĝ(s) ˆK(s) M. Peet Lecture : Control Systems 24 / 32

Example of Ramp Response Consider the Suspension Example: Open Loop: Ĝ(s) = s 2 + s + s 4 + 2s 3 + 3s 2 + s + Ĝ(s) = s4 + 2s 3 + 3s 2 + s + s 2 s s 4 + 2s 3 + 2s 2 s 4 + 2s 3 + 3s 2 = + s + s 4 + 2s 3 + 3s 2 + s + Ramp Response: lim Ĝ(s) s 0 s = lim s 0 What happens when we close the loop? Closed Loop Transfer Function: Ramp Response: s 3 + 2s 2 + 2s s 4 + 2s 3 + 3s 2 + s + = 0 k(s 2 + s + ) s 4 + 2s 3 + (3 + k)s 2 + ( + k)s + ( + k) e ss,ramp = lim = lim sĝ(s) ˆK(s) s 0 s 0 s 4 + 2s 3 + 3s 2 + s + k(s 2 + s + ) s = Proportional response isn t capable of controlling a ramp input M. Peet Lecture : Control Systems 25 / 32

Example of Ramp Response The only way to control a ramp input using feedback is to put a pole at the origin: Controller: ˆK(s) = T I s Ramp Response: e ss,ramp = lim = lim sĝ(s) ˆK(s) s 0 s 0 s 4 + 2s 3 + 3s 2 + s + T I s s 2 + s + s = T I By including /s in the controller, the steady-state error becomes finite. M. Peet Lecture : Control Systems 26 / 32

Integral Control The purpose of integral control is primarily to eliminate steady-state error. Controller: The form of control is or, in the Laplace transform u(t) = t e(θ)dθ T I 0 û(s) = T I sê(s) One must be careful when using integral feedback By itself, an integrator is unstable. A pole at the origin. M. Peet Lecture : Control Systems 27 / 32

Integral Control Suspension Problem Again Now lets re-examine the suspension problem Controller: ˆK(s) = T I s Closed Loop Transfer Function: Ĝ(s) ˆK(s) + Ĝ(s) ˆK(s) = s 2 + s + T I s 5 + 2T I s 4 + 3T I s 3 + (T I + )s 2 + (T I + )s + If we set T I =., then the transfer function has poles at p,2 =.55 ±.89ı, p 3 = 2.26, p 4,5 =.6384 ±.877ı Integral feedback can Destabilize the system where proportional feedback couldn t! M. Peet Lecture : Control Systems 28 / 32

Integral Control Integral Feedback is destabilizing! Integral feedback is always combined with proportional or differential feedback: PI Feedback: Proportional-Integral t ) u(t) = K (e(t) + TI e(θ)dθ 0 ( ˆK(s) = K + ) T I s PID Feedback: Proportional-Integral-Differential t ) u(t) = K (e(t) + TI e(θ)dθ + T D ė(t) 0 ( ˆK(s) = K + ) T I s + T Ds M. Peet Lecture : Control Systems 29 / 32

PID Control Example Finally, lets see the effect of PID control on a second-order system: ( Ĝ(s) = ˆK(s) s 2 = K + ) + bs + c T I s + T Ds Closed Loop: ( ) Ĝ ˆK K + + Ĝ ˆK = T I s + T Ds ( ) s 2 + bs + c + K + T I s + T Ds ( ) K s + T I + T D s 2 = ( ) s 3 + bs 2 + cs + K s + T I + T D s 2 Steady-State Response: y ss,step = KT D s 2 + Ks + K T = I s 3 + (b + KT D )s 2 + (c + K)s + K T I K T I K = No Steady-State Error! T I M. Peet Lecture : Control Systems 30 / 32

PID Control Pole Placement: The three pole locations can be determined exactly. Given three poles: p, p 2, p 3. Construct Desired denominator: Three equations: b + KT D = a d c + K = b d K T I = c d Which can be solved as K = b d c T I = K c d T D = a d b K (s p )(s p 2 )(s p 3 ) = s 3 + a d s 2 + b d s + c d M. Peet Lecture : Control Systems 3 / 32

Summary What have we learned today? In this Lecture, you learned: Limits of Proportional Feedback Performance Specifications. Derivative Feedback Pros and Cons PD Control Pole Placement More on Steady-State Error Response to ramps and parabolae Limits of PD control Integral Feedback Elimination of steady-state error Pole-Placement Next Lecture: Midterm Review M. Peet Lecture : Control Systems 32 / 32