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

Similar documents
10.4 The Cross Product

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)

Control Systems Design

State Space Design. MEM 355 Performance Enhancement of Dynamical Systems

Introduction to Feedback Control

SECTION 7: STEADY-STATE ERROR. ESE 499 Feedback Control Systems

Deadlines misses and their Implication on Feedback Control Loops. Dip Goswami Eindhoven University of Technology (TU/e) The Netherlands

Control 2. Proportional and Integral control

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

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

Linear State Feedback Controller Design

Time Response Analysis (Part II)

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

Systems Analysis and Control

Time Domain Analysis of Linear Systems Ch2. University of Central Oklahoma Dr. Mohamed Bingabr

CDS 101/110: Lecture 3.1 Linear Systems

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

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

Systems Analysis and Control

Problem Value Score Total 100/105

Systems Analysis and Control

State space control for the Two degrees of freedom Helicopter

CDS 101/110: Lecture 3.1 Linear Systems

Systems Analysis and Control

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

Worksheets for GCSE Mathematics. Quadratics. mr-mathematics.com Maths Resources for Teachers. Algebra

Topic # Feedback Control Systems

Systems Analysis and Control

CDS 101/110: Lecture 6.2 Transfer Functions

Lecture 25: Tue Nov 27, 2018

Control of Mobile Robots

Digital Control Systems State Feedback Control

Systems Analysis and Control

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

Control System Design

6 OUTPUT FEEDBACK DESIGN

CDS 101/110: Lecture 10.3 Final Exam Review

Systems Analysis and Control

Autonomous Mobile Robot Design

EEE582 Homework Problems

Integrating Rational functions by the Method of Partial fraction Decomposition. Antony L. Foster

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

Advanced Control Theory

1 (30 pts) Dominant Pole

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

M.5 Modeling the Effect of Functional Responses

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1)

PID Control. Objectives

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) =

Chapter 5 HW Solution

PID controllers. Laith Batarseh. PID controllers

SECTION 7: FAULT ANALYSIS. ESE 470 Energy Distribution Systems

EE C128 / ME C134 Final Exam Fall 2014

Q. 1 Q. 25 carry one mark each.

Solution to HW State-feedback control of the motor with load (from text problem 1.3) (t) I a (t) V a (t) J L.

Chapter 3. State Feedback - Pole Placement. Motivation

EEE 184: Introduction to feedback systems

Evaluation of SIPIC01 and SIPIC02 on Motor Speed Control

CDS 101: Lecture 5-1 Reachability and State Space Feedback

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

Outline. Classical Control. Lecture 5

Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

Lesson 7: Linear Transformations Applied to Cubes

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

Introduction to Modern Control MT 2016

Worksheets for GCSE Mathematics. Algebraic Expressions. Mr Black 's Maths Resources for Teachers GCSE 1-9. Algebra

EECS C128/ ME C134 Final Thu. May 14, pm. Closed book. One page, 2 sides of formula sheets. No calculators.

Homework 7 - Solutions

PHY103A: Lecture # 4

EE C128 / ME C134 Fall 2014 HW 8 - Solutions. HW 8 - Solutions

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

Lecture 9 Time-domain properties of convolution systems

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

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

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Outline. Classical Control. Lecture 2

Video 5.1 Vijay Kumar and Ani Hsieh

Lab 6a: Pole Placement for the Inverted Pendulum

EC Control Systems- Question bank

Mathematics Ext 2. HSC 2014 Solutions. Suite 403, 410 Elizabeth St, Surry Hills NSW 2010 keystoneeducation.com.

An Introduction to Control Systems

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

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

SECTION 8: ROOT-LOCUS ANALYSIS. ESE 499 Feedback Control Systems

Note. Design via State Space

MAS107 Control Theory Exam Solutions 2008

ECE 388 Automatic Control

ECE557 Systems Control

5. Observer-based Controller Design

Tradeoffs and Limits of Performance

Inverted Pendulum: State-Space Methods for Controller Design

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

Systems Analysis and Control

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =!

Compensator Design to Improve Transient Performance Using Root Locus

Lab 3: Quanser Hardware and Proportional Control

Transcription:

5HC99 Embedded Vision Control Feedback Control Systems dr. Dip Goswami d.goswami@tue.nl Flux 04.135 Department of Electrical Engineering

1 Example Feedback control system: regulates the behavior of dynamical systems Control objective: Keep the pendulum upright. @RCS, TU Munich

2 Feedback control applications Adaptive cruise control Pedestrian detection system Suspension system

3 Modeling dynamical systems: system dynamics The system states changes with time... Generally, the dynamical systems are modeled by a set of differential equations... m l mmll 2 θθ = mg l sinθθ

4 Stability and basic principle Autonomous dynamical system: xx =ax Solution: x(t) = ee aaaa x(0) Stability: a<0 implies x(t) 0 as t Instability: a>0 implies x(t) as t General dynamical systems: xx =ax + u u = 0 (i.e., no control input): same as an autonomous system (openloop system) Feedback controller: u = -Kx Closed-loop system: xx =ax + u = ax Kx = (a-k)x If (a-k)<0, we have a stable closed-loop system Controller design: choose K such that (a-k)<0 General dynamical system (state-space model):

5 Example: system dynamics Given physical system: DC motor with inverted pendulum System dynamics:

6 System dynamics state-space model (1) System dynamics: (2) Input and output: (3) States: (4) State-space:

7 System dynamics state-space model (1) Double integrator: (2) Input and output: (3) States: (4) State-space:

8 Systems poles System model: System poles are the eigenvalues of A Double integrator: Recall: System: xx =ax Solution: x(t) = ee aaaa x(0) Poles at 0, 0

9 Stability condition: continuous-time case Stable system All poles should have negative real part Ex. -3, (-3 + 2i) Marginally stable system One or multiple poles are on imaginary axis and all other poles have negative real parts Ex. 2i, Unstable system One or more poles with positive real part. Ex. +3, (+3 + 2i) Imaginary axis Stable Unstable Real axis Recall: System: xx =ax Solution: x(t) = ee aaaa x(0)

10 Simplest design problem We have a linear system given by state-space model Objective u =?

11 State-feedback r F + + B C A K Open-loop system, i.e., with u=0 Closed-loop system with state-feedback control, r = reference K = feedback gain F = static feedforward gain

12 Open-loop stability %% System matrix A = [0 1 5 6]; %% System open-loop poles eigs(a) Open-loop poles >> 6.74-0.74 Unstable!

13 Open-loop poles are at +6.74 and -0.74. Assuming u=kx, compute feedback gain K such that the closed-loop poles at -1 and -2.

14 Example 2 -- contd Desired pole locations at -1 and -2, that is the desired characteristics equation, Comparing above two equations,

15 %% System matrix A = [0 1 5 6]; B = [0; 1]; %% Feedback gain K = [-7-9]; %% System closed-loop poles eigs(a+b*k) closed-loop poles >> -1-2 Stable!

16 Systematic design: Ackermann s formula Choose the desired closed-loop poles are at Ackermann s formula: Poles of (A+BK) are at

17 Example 3 Open-loop poles are at +6.74 and -0.74. Compute feedback gain K such that the closed-loop poles at -1 and -2. Ackermann s formula:

18 Example 3 contd

19 Example 3 contd Feedback gain:

20 Cross-check %% System matrix A = [0 1 5 6]; B = [0; 1]; gamma = [B A*B]; H = A^2 + 3*A+ 2*eye(2); %% Feedback gain K = -[0 1]*inv(gamma) *H %% System open-loop poles eigs(a+b*k) %% Matlab function call K = -acker(a,b,[-1-2]) %% System open-loop poles eigs(a+b*k)

21 Example Given system dynamics With input, find the feedback gain K to place the closed loop poles are located at -1 and -1.

22 Closed-loop poles Verify the results using MATLAB

23 Example Is it possible to place the system poles? γ is not invertible Pole placement not possible The system not controllable!

24 Controllability Check if you can control (i.e., place pole) the system? Controllability matrix: Controllability matrix should be invertible.

25 Feedforward gain Open-loop poles are at +6.74 and -0.74. Compute feedback gain K such that the closed-loop poles at -1 and -2. We got: u = Kx = [-7-9]x x(t) =? as t Recall: System: xx =ax Solution: x(t) = ee aaaa x(0) What if we want: y(t) rr as tt We apply the above method to achieve: y(t)-r 0 as tt

26 Static feedforward gain Closed-loop system Taking Laplace transform F should be chosen such that y(t)! r (constant) as t! 1 i.e., Using final value theorem

Derivation of feedforward gain xx = AA + BBBB xx + BBBBBB Taking Laplace transform: ssss ss = AA + BBBB XX ss + BBBB RR ss Solve X(s): XX ss = ssss AA BBBB 1 BBBBBB ss R(s)= rr ss From y=cx, we get YY ss = CCCC ss = CC ssss AA BBBB 1 BBBBBB ss Final value theorem: lim yy tt = lim ssss ss = rr (this is what we want) tt ss 0 The above implies using the expression of Y(s) and R(s): CC ssss AA BBBB 1 BBBBrr = rr Further, the above results in a following solution for F:

28 Overall design Given system: Control law: Objectives (i) Place system poles (ii) Achieve y! r as t! 1 (iii) Design K and F 1.Check controllability of (A,B)! must be controllable. γ must be invertible. 2.Apply Ackermann s formula 3.Feedforward gain

29 Design example Design a controller such that pitch angle θ = 0.03 rad with time. Source: /www.library.cmu.edu/ctms/

30 Choose closed-poles at stable locations Controllability matrix Feedback gain Feedforward gain δδ =K αα qq θθ + F 0.03

31 δδ =K αα qq θθ + F 0.03 0.2 Output θ 7 Input δ 0.18 6 0.16 0.14 5 0.12 4 y 0.1 u 3 0.08 2 0.06 1 0.04 0 0.02 0 0 1 2 3 4 5 6 7 8 9 10 time (sec) -1 0 1 2 3 4 5 6 7 8 9 10 time (sec)

32 Design consideration: response time 1 0.07 0.9 0.06 0.8 0.7 0.05 0.6 0.04 y 0.5 y 0.4 0.03 0.3 0.02 0.2 0.1 0.01 0 0 1 2 3 4 5 6 7 8 9 10 time (sec) 0 0 1 2 3 4 5 6 7 8 9 10 time (sec) Recall: System: xx =ax Solution: x(t) = ee aaaa x(0) Aggressive poles! faster response

33 Design consideration: input saturation 1600 0.18 1400 0.16 1200 0.14 1000 0.12 800 0.1 u 600 400 200 u 0.08 0.06 0 0.04-200 0.02-400 0 1 2 3 4 5 6 7 8 9 10 time (sec) 0 0 1 2 3 4 5 6 7 8 9 10 time (sec) Aggressive poles! higher input signal

34 Pole choice Reasonable to represent system performance by the poles Time- domain settling time, rise time, overshoot Frequency-domain Gain Margin, Phase Margin External constraints Input saturation Specification Desired poles Apply the method to design a controller to achieve the desired poles