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

Similar documents
Introduction to Feedback Control

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

School of Mechanical Engineering Purdue University. ME375 ElectroMechanical - 1

FEEDBACK CONTROL SYSTEMS

ECE317 : Feedback and Control

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

Dr Ian R. Manchester

AN INTRODUCTION TO THE CONTROL THEORY

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

Alireza Mousavi Brunel University

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

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

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

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

Outline. Classical Control. Lecture 5

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

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

An Introduction to Control Systems

Control of Manufacturing Processes

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

BASIC PROPERTIES OF FEEDBACK

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

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

Topic # Feedback Control Systems

Video 5.1 Vijay Kumar and Ani Hsieh

EEE 184: Introduction to feedback systems

Outline. Classical Control. Lecture 1

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

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

Controls Problems for Qualifying Exam - Spring 2014

Time Response Analysis (Part II)

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

Systems Analysis and Control

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

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

Systems Analysis and Control

Professional Portfolio Selection Techniques: From Markowitz to Innovative Engineering

Systems Analysis and Control

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

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

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

Systems Analysis and Control

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

Analysis and Design of Control Systems in the Time Domain

Performance of Feedback Control Systems

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

Systems Analysis and Control

YTÜ Mechanical Engineering Department

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

EEE 188: Digital Control Systems

ME 375 Final Examination Thursday, May 7, 2015 SOLUTION

Lecture 25: Tue Nov 27, 2018

EEL2216 Control Theory CT1: PID Controller Design

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

1 Closed Loop Systems

Control Systems I Lecture 10: System Specifications

Dynamic Compensation using root locus method

Lab 3: Quanser Hardware and Proportional Control

Chapter 7. Digital Control Systems

Systems Analysis and Control

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

APPLICATIONS FOR ROBOTICS

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

Outline. Classical Control. Lecture 2

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

Course Outline. Higher Order Poles: Example. Higher Order Poles. Amme 3500 : System Dynamics & Control. State Space Design. 1 G(s) = s(s + 2)(s +10)

Last week: analysis of pinion-rack w velocity feedback

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

Example on Root Locus Sketching and Control Design

12.7 Steady State Error

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

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

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus

Chapter 7 - Solved Problems

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

Inverted Pendulum: State-Space Methods for Controller Design

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

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

Chapter 7 : Root Locus Technique

Time Response of Systems

Control System. Contents

FREQUENCY-RESPONSE DESIGN

DC Motor Position: System Modeling

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

Linear State Feedback Controller Design

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

Lab # 4 Time Response Analysis

(Refer Slide Time: 1:42)

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

EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo)

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.

Introduction to Control (034040) lecture no. 2

Overview of the Seminar Topic

Positioning Servo Design Example

State Feedback Controller for Position Control of a Flexible Link

Control Systems. EC / EE / IN. For

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

a. Closed-loop system; b. equivalent transfer function Then the CLTF () T is s the poles of () T are s from a contribution of a

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

2.004 Dynamics and Control II Spring 2008

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 asystem to behave in aprescribed manner. Specifically, control system design is the process of causing asystem variable (output output) to conform to some desired input (reference reference). Reference Input R (s) Input U (s) System (Plant) G 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 aset of reference inputs r. ME375 Feedback Control - 2

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 to make it conform to the desired output (reference input). Reference Input (Command) R(s) C(s) U(s) Control Input G P (s) Plant or System System Output Y(s) Q: Ideally, if we want Y(s) to follow R(s) ) (i.e. want Y(s) ) = 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

Open-Loop vs Closed-Loop Closed-Loop (Feedback) Control The control input u(t) (or U(s)) is synthesized based on the a priori i 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 aclosed-looploop 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 pp performance? Q: How is the steady state performance? Will you have any steady state error? ME375 Feedback Control - 6

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 9mph 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-looploop system s dynamic behavior (the Closed-Loop Transfer Function (CLTF) will be different from the original system 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) i 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

Example More Realistic Cruise Control Problem The relationship between a vehicle s speed y and the throttle angle u is described by afirst order system with asteady state gain K C and a time constant of 3sec. The gain K C is affected by various operating conditions like the temperature and humidity. Due to these effects, the actual value of K C is between 5and 15. The objective of the cruise control is to design acontrol law (strategy) (t t )t to dt determine the throttle angle u such that the vehicle 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 asimple proportional feedback control, i.e. the control input u(t) 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 K P 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 K P to satisfy the performance specification : Q: Will this proportional control law work for attenuating external disturbances? ME375 Feedback Control - 10

Elements of Feedback Control Elements of a Feedback Control System: Plant (Process) G P 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 adevice 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 t measures the system output, t e.g., a thermocouple. Controller G C (s) -- The controller is the device that generates the controlled input 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 function model that we all know how to obtain?!): Control Law (Algorithm) (we will try to learn how to design): ME375 Feedback Control - 12

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) Ys () Rs () Ds () 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 Rs ( ) to Ys ( ) From Rs ( ) to Ys ( ) The objective of control system design is to design a controller G C (s), such that certain performance (design) specifications are met. For example: we want the teoutput y(t) to follow ow the teeee 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

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 G CL (s) Output R(s) ) Y(s) ) r(t) y(t) Time Time ME375 Feedback Control - 15

Unit Step Response 1.6 y MAX it Step Respon nse 1.4 1.2 1 0.8 OS X% Un 0.6 0.4 0.2 0 t P Time t S t r ME375 Feedback Control - 16

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: rt () y () () SS t yss t 2% 0.02 98% 0.98 rt () rt () 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 asystem is usually specified using the unit step response of the system. Some typical transient response specifications are: Settling Time (t S ): Specifies the time required for the response to reach and stay within aspecific 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 n 5 n for 2% bound for 1% bound % Overshoot (%OS):(2nd order systems) n 2 2 n 1 1 %OS 100e 100 e X% t S Desired Settling Time ( ) 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

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-looploop 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, j 1 j j n n n d Settling Time (2%): Puts constraint t on the real part of the dominating closed-loop loop poles. 4 4 t S (2%) n %OS: Puts constraint on the imaginary i part of the dominating i closed-loop loop poles. n 2 2 1 n 1 %OS 100 100 100 e e e ME375 Feedback Control - 19

Performance Specification CL Pole Positions Transient Performance Specifications and CLTF Pole Positions Transient performance specifications can beinterpreted as constraints on the positions of the poles of the closed-loop loop transfer function. Let apair of closed- loop poles be represented as: p12, j Img. Transient Performance Specifications: Settling Time (2 %) T S t S 4 4 (2%) TS T %OS X X % 100 100 %OS 100 e X% e X e S j j j j Real ME375 Feedback Control - 20

Example ADC 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 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 astep 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

Example ADC 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

Feedback Control Design Process A typical feedback controller design process involves the following steps: (1) Model the physical py 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 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 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) Sl Select tth thecontroller parameters (e.g. the proportional feedback gain of a proportional control law) so that the design constraints established in (5) are satisfied. (8) Verify your design via computer simulation (MATLAB) and actual implementation. ME375 Feedback Control - 25

In Class Exercise 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 23). During the latest design review, the following plant parameters are obtained: L A = 10 mh R A = 10 K = 006Nm/A 0.06 K T 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.0303 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

In Class Exercise (1) Model the physical system (plant) that we want to control and obtain its I/O transfer function G P P( (s). (Sometimes, certain model simplification should be performed.) DC Motor L L N + e Ra + e La 2 + R i A L A + A e i (t) _ E emf _ m B From previous example, the DC motor driven paper positioning system can be modeled by J A N 1 J L B L 1 L A s+r A K T 1 J E s+b E 1 J J J N E A L 2 K b 1 BE B B N 2 L ME375 Feedback Control - 27

In Class Exercise The plant transfer function G P (s) can be derived to be: G P () s () s K 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 plant model by neglecting the electrical subsystem dynamics (i.e., by letting L A = 0): G P () s KT () s E () s s ( R J s ( R B K K )) i A E A E b T KM s( s1) M Substituting in the numerical values, we have our plant transfer function: KM GP() s s ( s 1) M ME375 Feedback Control - 28

In Class Exercise (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 controller G C (s) transfer functions. Input E i (s) G P (s) Output (s) ME375 Feedback Control - 29

In Class Exercise (4) Obtain the closed-loop loop transfer function G CL (s). ME375 Feedback Control - 30

In Class Exercise (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

In Class Exercise (6) Choose controller structure G C (s) and substitute it into the CLTF G CL (s). Let s try a simple proportional control, where the control input to the plant is proportional to the current position error: e() t K e () t K ( V () t V ()) t i P P d In s-domain (Laplace p domain), ) this control law can be written as: V Substitute the controller transfer function into G CL (s): ME375 Feedback Control - 32

In Class Exercise (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 satisfied. Steady State Constraint: Transient Constraints: To satisfy transient performance specifications, we need to choose K P 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

In Class Exercise For every K P, theree will be two closed-looploop poles (closed-looploop characteristic roots). obvious that the two closed-loop loop poles change with the selection of different K P. example: K P = p 1,2 = K P = p 1,2 = K P = p 1,2 = K P = p 1,2 = K P = p 1,2 = K P = p 1,2 = By inspecting the root-locus locus, we can find that if Img. Axis 30 20 10 0-10 -20 It s For 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

In Class Exercise (8) Verify your design via computer simulation (MATLAB) and actual implementation. >> num = 16*Ks*Kp; >> den = [taum 1 16*Ks*Kp]; >> T = (0:0.0002:0.25) ; >> y = step(num,den,t); >> plot(t,y); t Step Respons se Unit 1 0.8 0.6 0.4 K P = 100 K P = 40 K P = 29.93 K P = 15 0.2 0 0 0.05 0.1 0.15 0.2 0.25 Time (sec) ME375 Feedback Control - 35

In Class Exercise (9) Check the Bode Plots of the open loop and closed loop systems: (db) g); Magnitude Phase (de 10 0 K P = 100-20 K P = 40-40 K P = 29.93-60 K P = 15-80 Open Loop 0 K P = 100-45 K P = 40-90 K P = 29.93 K P = 15-135 Open Loop -180 10-1 10 0 10 1 10 2 10 3 Frequency (rad/sec) ME375 Feedback Control - 36