Introduction to Feedback Control

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

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

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

School of Mechanical Engineering Purdue University. ME375 ElectroMechanical - 1

AN INTRODUCTION TO THE CONTROL THEORY

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

Control of Manufacturing Processes

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by:

FEEDBACK CONTROL SYSTEMS

Outline. Classical Control. Lecture 1

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

Systems Analysis and Control

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

Homework 7 - Solutions

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

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

ECE317 : Feedback and Control

Dr Ian R. Manchester

Outline. Classical Control. Lecture 5

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

ME 375 Final Examination Thursday, May 7, 2015 SOLUTION

Topic # Feedback Control Systems

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

Analysis and Design of Control Systems in the Time Domain

Alireza Mousavi Brunel University

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

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

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

Control Systems I Lecture 10: System Specifications

Controls Problems for Qualifying Exam - Spring 2014

Professional Portfolio Selection Techniques: From Markowitz to Innovative Engineering

Systems Analysis and Control

APPLICATIONS FOR ROBOTICS

12.7 Steady State Error

Time Response Analysis (Part II)

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

Systems Analysis and Control

Topic # Feedback Control. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback

EE C128 / ME C134 Fall 2014 HW 9 Solutions. HW 9 Solutions. 10(s + 3) s(s + 2)(s + 5) G(s) =

Control of Manufacturing Processes

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

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

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Frequency Response-Design Method

Transient response via gain adjustment. Consider a unity feedback system, where G(s) = 2. The closed loop transfer function is. s 2 + 2ζωs + ω 2 n

BASIC PROPERTIES OF FEEDBACK

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

INTRODUCTION TO DIGITAL CONTROL

An Introduction to Control Systems

Performance of Feedback Control Systems

Systems Analysis and Control

Systems Analysis and Control

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

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

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

Systems Analysis and Control

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

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Positioning Servo Design Example

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

ME 375 System Modeling and Analysis. Homework 11 Solution. Out: 18 November 2011 Due: 30 November 2011 = + +

MAS107 Control Theory Exam Solutions 2008

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Preliminaries

Video 5.1 Vijay Kumar and Ani Hsieh

Controller Design using Root Locus

Chapter 7. Digital Control Systems

Transient Response of a Second-Order System

EE 380 EXAM II 3 November 2011 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO

Root Locus Design Example #3

If you need more room, use the backs of the pages and indicate that you have done so.

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Outline. Classical Control. Lecture 2

Review: transient and steady-state response; DC gain and the FVT Today s topic: system-modeling diagrams; prototype 2nd-order system

Module 3F2: Systems and Control EXAMPLES PAPER 2 ROOT-LOCUS. Solutions

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Example on Root Locus Sketching and Control Design

CDS 101/110a: Lecture 10-1 Robust Performance

AMME3500: System Dynamics & Control

Goals for today 2.004

2.004 Dynamics and Control II Spring 2008

Overview of Bode Plots Transfer function review Piece-wise linear approximations First-order terms Second-order terms (complex poles & zeros)

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

ME 132, Dynamic Systems and Feedback. Class Notes. Spring Instructor: Prof. A Packard

Dynamic Response. Assoc. Prof. Enver Tatlicioglu. Department of Electrical & Electronics Engineering Izmir Institute of Technology.

Compensator Design to Improve Transient Performance Using Root Locus

Systems Analysis and Control

EEE 184: Introduction to feedback systems

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

Systems Analysis and Control

Control of Electromechanical Systems

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007

1 Closed Loop Systems

Lab # 4 Time Response Analysis

Lab 3: Quanser Hardware and Proportional Control

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

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

Transcription:

Introduction to Feedback Control Control System Design Why Control? Open-Loop vs Closed-Loop (Feedback) Why Use Feedback Control? Closed-Loop Control System Structure Elements of a Feedback Control System Closed-Loop Transfer Functions (CLTF) Performance Specifications Steady State Specifications Transient (Dynamic) Specifications ME375 Feedback Control - 1 Control System Design Control: verb, 1.. To exercise authority or dominating influence over; direct; regulate. 2.. To hold in restraint. Control is the process of causing a system to behave in a prescribed manner. ner. Specifically, control system design is the process of causing a system variable (output)) to conform to some desired input (reference( reference). Reference Input R (s) Input U (s) System (Plant) G P (s) P (s) Output Y(s) The objective of the control system is to control the output y by using the input u, such that the output y follows a set of reference inputs r. ME375 Feedback Control - 2 1

Open-Loop vs Closed-Loop Open-Loop Control The control input u(t) ) (or U(s)) is synthesized based on the a priori knowledge of the system (plant) and the reference input r(t) (or R(s)). The control system does not measure the output, and there is no comparison of the output o to make it conform to the desired output (reference input). Reference Input (Command) R(s) C(s) U(s) Control Input System Output G P (s) Y(s) Plant or System Q: Ideally, if we want Y(s) to follow R(s) R ) (i.e.( want Y(s) Y ) = R(s)), how would you design the controller C(s)? ME375 Feedback Control - 3 Open-Loop Control Example Static Cruise Control The vehicle speed model can be approximated by a static gain between the throttle angle (input) and the vehicle speed (output). From experiment, on level road, at 55 mph, 1 o of throttle angle causes 10 mph change in speed. When the road grade changes by 1%, 1 o of throttle angle will only change vehicle speed by 5 mph. Design an open-loop cruise controller for this vehicle. R Cruise Controller U W + Speed Model Y R : reference speed, mph U : throttle angle, degree Y : actual speed, mph W : road grade, % Q: What are potential problems with this cruise control? ME375 Feedback Control - 4 2

Open-Loop vs Closed-Loop Closed-Loop (Feedback) Control The control input u(t) ) (or U(s)) is synthesized based on the a priori knowledge of the system (plant), the reference input r(t) (or R(s)) and the measurement of the actual output y(t) ) (or Y(s)). For example the temperature control of this classroom: Disturbance D(s) Heater Actuator Room Plant or System Room Temperature Y(s) ME375 Feedback Control - 5 Closed-Loop Control Example Static Cruise Control Same vehicle system as the previous example. The vehicle speed is measured and fed back. Design a closed-loop loop cruise control that uses the measured vehicle speed and the reference speed. W R U + Speed Model Y Q: How would road grade, plant uncertainty affect the closed-loop loop performance? Q: How is the steady state performance? Will you have any steady state error? ME375 Feedback Control - 6 3

Closed-Loop Control Example Static Cruise Control (Closed-Loop Control) (a) Find the actual vehicle speed when the reference speed is 50 mph and the road grade is 1% and 10%, respectively. (b) If the actual vehicle speed model is 1 o of throttle angle corresponds to 9 mph change in speed, what is the actual vehicle speed with the same cruise controller. (c) When there is no grade and the vehicle speed model is accurate, what is the actual output speed when a reference speed of 50 mph is desired. ME375 Feedback Control - 7 Why Feedback? Using feedback, we can change the closed-loop loop system s s dynamic behavior (the Closed-Loop Transfer Function (CLTF) will be different from the original system s s (open-loop) transfer function). By using feedback to change the CLTF, we can achieve the following: Stabilize Unstable Systems For example, unstable plants such as inverted pendulum and DC motor positioning systems can be stabilized using feedback. Improve System Performance (Achieve Performance Specifications) Steady State Performance -- For example, reduce steady state error... Transient Performance -- For example, reduce rise time, reduce settling time, reduce overshoot Reduce (attenuate) the effect of modeling uncertainty (error) and external disturbances ME375 Feedback Control - 8 4

Example More Realistic Cruise Control Problem The relationship between a vehicle s s speed y and the throttle angle u is described by a first order system with a steady state gain K C and a time constant of 3 sec. The gain K C is affected by various operating conditions like the temperature e and humidity. Due to these effects, the actual value of K C is between 5 and 15. The objective of the cruise control is to design a control law (strategy) tegy) to determine the throttle angle u such that the vehicle s s steady state speed will stay within 2% of the desired reference speed set by the driver. R Cruise Controller U Speed Model Y Use a simple proportional feedback control, i.e. the control input u(t) u is proportional to the regulation error e(t) ) = r(t) y(t). The control design parameter is the proportional constant between the input and the error. This constant is usually called the feedback gain or the proportional gain. ME375 Feedback Control - 9 Example Calculate Closed-Loop Transfer Function (CLTF): Select an appropriate feedback gain to satisfy the performance specification : Q: Will this proportional control law work for attenuating external disturbances? ME375 Feedback Control - 10 5

Elements of Feedback Control Elements of a Feedback Control System: Plant (Process) G P (s) -- The plant is the system (process) whose output is to be controlled, e.g., the room in the room temperature control example. Actuator -- An actuator is a device that can influence the input to the plant, e.g. the heater (furnace) in the room temperature control example. Disturbance d(t) -- Disturbances are uncontrollable signals to the plant that tend to adversely affect the output of the system, e.g., opening the windows in the room temperature control example. Sensor (Measurement System) H(s) -- The transfer function (frequency response function) of the device (system) that measures the system output,, e.g., a thermocouple. Controller G C (s) -- The controller is the device that generates the controlled input t that is to affect the system output, e.g., the thermostat in the room temperature control example. Reference Input R(s) Sensor Controller G C (s) H(s) Disturbance D(s) Heater Actuator G P (s) Plant (Process) Output Y(s) ME375 Feedback Control - 11 Closed-Loop Transfer Function Disturbance D(s) Control Input U(s) G P (s) Plant Output Y(s) Plant Equation (Transfer Transfer function model that we all know how to obtain?!): Control Law (Algorithm) (we( we will try to learn how to design): ME375 Feedback Control - 12 6

Closed-Loop Transfer Function Disturbance D(s) Reference Input R(s) + Error E(s) G C (s) Control Input U(s) + + G P (s) Plant Output Y(s) H(s) Y() s = R() s + D() s G ( s) G ( s) YR YD ME375 Feedback Control - 13 Closed-Loop Transfer Function The closed-loop loop transfer functions relating the output y(t) ) (or Y(s)) to the reference input r(t) ) (or R(s)) and the disturbance d(t) ) (or D(s)) are: Y ( s) = GYR( s) R( s) + GYD( s) D( s) Closed-Loop Transfer Function Closed-Loop Transfer Function From R( s) to Y( s) From R( s) to Y( s) The objective of control system design is to design a controller G C (s), such that certain performance (design) specifications are met. For example: e: we want the output y(t) ) to follow the reference input r(t), i.e.,, for certain frequency range. This is equivalent to specifying that we want the disturbance d(t) ) to have very little effect on the output y(t) ) within the frequency range where disturbances are most likely to occur. This is equivalent to specifying that ME375 Feedback Control - 14 7

Performance Specifications Given an input/output representation, G CL (s), for which the output of the system should follow the input, what specifications should you make to guarantee that the system will behave in a manner that will satisfy its functional requirements? Input R(s) G CL (s) Output Y(s) r(t) y(t) Time Time ME375 Feedback Control - 15 Unit Step Response Unit Step Response 1.6 y MAX 1.4 1.2 1 0.8 0.6 OS ± X% 0.4 0.2 0 t P Time t S t r ME375 Feedback Control - 16 8

Performance Specifications Steady State Performance Steady State Gain of the Transfer Function Specifies the tracking performance of the system at steady state.. Often it is specified as the steady state response, y( ) ) (or y SS (t)), to be within an X% bound of the reference input r(t), i.e., the steady state error e SS (t)) = r(t) y SS (t)) should be within a certain percent. For example: r() t y () SS () t yss t 2% = 0.02 98% = 0.98 r() t r() t To find the steady state value of the output, y SS (t): Sinusoidal references: : use frequency response, i.e. General references: : use FVT, provided that is stable,... ME375 Feedback Control - 17 Performance Specifications Transient Performance (Transient Response) Transient performance of a system is usually specified using the unit step response of the system. Some typical transient response specifications are: a Settling Time (t S ): Specifies the time required for the response to reach and stay within a specific percent of the final (steady-state) state) value. Some typical settling time specifications are: 5%, 2% and 1%. For 2nd order systems, the specification is usually: 4 for 2% bound ω ζ n 5 for 1% bound ζω n % Overshoot (%OS OS):(2nd order systems) ζωn ζ π π 2 2 ωn 1 ζ 1 ζ %OS = 100e = 100 e X% Desired Settling Time ( t ) Q: How can we link this performance specification to the closed-loop loop transfer function? (Hint) What system characteristics affect the system performance? ME375 Feedback Control - 18 S 9

Performance Specifications Transient Performance Specifications and CLTF Characteristic Poles Recall that the positions of the system characteristic poles directly affect the system output. For example, assume that the closed-loop loop transfer function of a feedback 2 control system is: K ω n GCL( s) = 2 2 s + 2ζω ns + ω n The characteristic poles are: 2 s12, = ζω n ± jω n 1 ζ = ζω n ± jω d = ± j Settling Time (2%): Puts constraint on the real part of the dominating closed-loop loop poles. 4 4 t S (2% ) = = ζ ω n %OS: Puts constraint on the imaginary part of the dominating closed-loop loop poles. πζ π ζωn 2 1 ζ ωn 2 1 ζ %OS = 100e = 100e = 100e π ME375 Feedback Control - 19 Performance Specification CL Pole Positions Transient Performance Specifications and CLTF Pole Positions Transient performance specifications can be interpreted as constraints on the positions of the poles of the closed-loop loop transfer function. Let a pair of closed- loop poles be represented as: p 1, 2 = σ ± jω Img. Transient Performance Specifications: jω Settling Time (2 %) T σ + jω S t S 4 4 (2% ) = TS σ T σ %OS X % σ π 100 π 100 ω ω %OS = 100 e = π X% e e σ ω X S σ σ jω jω Real ME375 Feedback Control - 20 10

Example A DC motor driven positioning system can be modeled by a second order transfer function: 3 GP () s = ss ( + 6) A proportional feedback control is proposed and the proportional feedback gain is chosen to be 16/3. Find the closed-loop loop transfer function, as well as the 2% settling time and the percent overshoot of the closed loop system when given a step input. Find closed-loop loop transfer function: Draw block diagram: ME375 Feedback Control - 21 Example Find closed-loop loop poles: 2% settling time: %OS: ME375 Feedback Control - 22 11

Example A DC motor driven positioning system can be modeled by a second order transfer function: 3 GP () s = ss ( + 6) A proportional feedback control is proposed. It is desired that: for a unit step response, the steady state position should be within 2% of the desired position, the 2% settling time should be less than 2 sec, and the percent overshoot should be less than 10%. Find (1) the condition on the proportional gain such that the steady state performance is satisfied; (2) the allowable region in the complex plane for the closed-loop loop poles. Find closed-loop loop transfer function: Write down the performance specifications: ME375 Feedback Control - 23 Example Steady state performance constraint: Percent Overshoot (%OS) Img. Transient performance constraint: 2% Settling Time jω Real jω ME375 Feedback Control - 24 12

Feedback Control Design Process A typical feedback controller design process involves the following steps: (1) Model the physical system (plant) that we want to control and obtain its I/O transfer function G P (s). (Sometimes, certain model simplification should be performed.) (2) Determine sensor dynamics (transfer function of the measurement system) H(s) and actuator dynamics (if necessary). (3) Draw the closed-loop loop block diagram, which includes the plant, sensor, actuator and a controller G C (s) transfer functions. (4) Obtain the closed-loop loop transfer function G CL (s). (5) Based on the performance specifications, find the conditions that t the CLTF, G CL (s), has to satisfy. (6) Choose controller structure G C (s)) and substitute it into the CLTF G CL (s). (7) Select the controller parameters (e.g. the proportional feedback gain of a proportional control law) so that the design constraints established in (5) are a satisfied. (8) Verify your design via computer simulation (MATLAB) and actual implementation. i ME375 Feedback Control - 25 You are the young engineer that is in charge of designing the control system for the next generation inkjet printer (refer the example discussed in lecture notes 10-20 to 10-23). During the latest design review, the following plant parameters are obtained: L A = 10 mh R A = 10 Ω K T = 0.06 Nm/A J E = 6.5 10-6 Kg m 2 B E = 1.4 10-5 Nm/(rad/sec) The drive roller angular position is sensed by a rotational potentiometer with a static sensitivity of K S = 0.03 V/deg. The design (performance) specifications for the paper positioning system are: The steady state position for a step input should be within 5% of the desired position. The 2% settling time should be less than 200 msec, and the percent overshoot should be less than 5%. You are to design a controller that satisfies the above specifications: ME375 Feedback Control - 26 13

(1) Model the physical system (plant) that we want to control and obtain its I/O transfer function G P (s). (Sometimes, certain model simplification should be performed.) DC Motor θ L, ω L N + e Ra + e La 2 θ, ω + e i (t) _ R A i A L A + E emf _ τ m B From previous example, the DC motor driven paper positioning system can be modeled by + 1 L A s + R A K b K T J A 1 J E s + B E N 1 J L B L 1 J = J + J N 2 1 BE = B+ BL N E A L 2 ME375 Feedback Control - 27 The plant transfer function G P (s) can be derived to be: θ () s K GP() s = = E s s L J s B L R J s R B K K T 2 i() ( A E + ( E A + A E) + ( A E + b T)) As discussed in the previous example, we can further simplify the e plant model by neglecting the electrical subsystem dynamics (i.e., by letting L A = 0 ): θ () s KT GP() s = = = E () s s( R J s+ ( R B + K K )) i A E A E b T KM = s( τ s+ 1) M Substituting in the numerical values, we have our plant transfer function: KM GP() s = = s( τ s+ 1) M ME375 Feedback Control - 28 14

(2) Determine sensor dynamics (transfer function of the measurement system) H(s) and actuator dynamics (if necessary). (3) Draw the closed-loop loop block diagram, which includes the plant, sensor, actuator and a controller G C (s) transfer functions. Input E i (s) G P (s) Output θ (s) ME375 Feedback Control - 29 (4) Obtain the closed-loop loop transfer function G CL (s). ME375 Feedback Control - 30 15

(5) Based on the performance specifications, find the conditions that G CL (s)) has to satisfy. Steady State specification: Imag. Transient Specifications: Settling Time Constraint: jω Real Overshoot Constraint: jω ME375 Feedback Control - 31 (6) Choose controller structure G C (s)) and substitute it into the CLTF G CL (s). Let s s try a simple proportional control, where the control input to the plant is proportional to the current position error: ei() t = KP eθ () t = K ( () ()) V P Vθd t Vθ t In s-domain s (Laplace domain),, this control law can be written as: Substitute the controller transfer function into G CL (s): ME375 Feedback Control - 32 16

(7) Select the controller parameters (e.g., the proportional feedback gain of a proportional control law) so that the design constraints established in (5) are a satisfied. Steady State Constraint: Transient Constraints: To satisfy transient performance specifications, we need to choose such that the closed- loop poles are within the allowable region on the complex plane. To do this, we first need to find an expression for the closed-loop loop poles: ME375 Feedback Control - 33 For every, there will be two closed-loop loop poles (closed-looploop characteristic roots).. It s obvious that the two closed-loop loop poles change with the selection of different. For example: = p 1,2 = 30 = p 1,2 = = p 1,2 = 20 = p 1,2 = 10 = p 1,2 = = p 1,2 = 0 By inspecting the root-locus locus,, we can find -10 that if Img. Axis -20 then the closed-loop loop poles will be in the allowable region and the performance specifications will be satisfied. -30-60 -50-40 -30-20 -10 0 Real Axis ME375 Feedback Control - 34 17

(8) Verify your design via computer simulation (MATLAB) and actual implementation. i >> num = 16*Ks*Kp; >> den = [taum 1 16*Ks*Kp]; >> T = (0:0.0002:0.25) ; >> y = step(num,den,t); >> plot(t,y); Unit Step Response 1 0.8 0.6 0.4 = 100 = 40 = 29.93 = 15 0.2 0 0 0.05 0.1 0.15 0.2 0.25 Time (sec) ME375 Feedback Control - 35 (9) Check the Bode Plots of the open loop and closed loop systems: Phase (deg); Magnitude (db) 10 0-20 -40-60 -80 0-45 -90-135 -180 10-1 10 0 10 1 10 2 10 3 Frequency (rad/sec) = 100 = 40 = 29.93 = 15 Open Loop = 100 = 40 = 29.93 = 15 Open Loop ME375 Feedback Control - 36 18