Controller and Observer Design

Slides:



Advertisements
Similar presentations
Pole Placement.
Advertisements

President UniversityErwin SitompulModern Control 7/1 Dr.-Ing. Erwin Sitompul President University Lecture 7 Modern Control
State Feedback Controller Design
SSO Bidder’s Conference II
Properties of State Variables
1 數位控制(十一). 2 Methods of Pole Placement Method 1: Simple substitution Method 2: Use of Transformation matrix Method 3: Ackermann’s formula Method 4: Use.
Digital Control Systems STATE OBSERVERS. State Observers.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
1 數位控制(十). 2 Continuous time SS equations 3 Discretization of continuous time SS equations.
Solving Linear Equations – Part 2 A Linear Equation in One Variable is any equation that can be written in the form It is assumed that you have already.
Combined State Feedback Controller and Observer
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
FULL STATE FEEDBAK CONTROL:
Introduction to ROBOTICS
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Transfer Functions.
State Space Control of a Magnetic Suspension System Margaret Glavin Supervisor: Prof. Gerard Hurley.
1 Chapter 11 Compensator Design When the full state is not available for feedback, we utilize an observer. The observer design process is described and.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Observers/Estimators …  bnbn b n-1 b2b2.
State Observer (Estimator)
Lecture 14: Pole placement (Regulator Problem) 1.
(COEN507) LECTURE III SLIDES By M. Abdullahi
DEPARTMENT OF MECHANICAL TECHNOLOGY VI -SEMESTER AUTOMATIC CONTROL 1 CHAPTER NO.6 State space representation of Continuous Time systems 1 Teaching Innovation.
DESIGN OF CONTROLLERS WITH ARBITRARY POLE PLACEMENT AND STATE OBSERVERS Dr. C. Vivekanandan Professor and Vice Principal Dept. of EEE Jan. 9, 20161SNSCE.
1 Nonlinear Sub-optimal Mid Course Guidance with Desired Alinement using MPQC P. N. Dwivedi, Dr. A.Bhattacharya, Scientist, DRDO, Hyderabad-,INDIA Dr.
Basic search for design of control system and disturbance observer
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 Project seminar on - By:- Tejaswinee Darure. Contents: 1] Aircraft (Boing-737) modeling a] Longitudinal Dynamics b] State space representation of system.
EE611 Deterministic Systems Multiple-Input Multiple-Output (MIMO) Feedback Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE611 Deterministic Systems State Observers Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Modern Control Systems (MCS) Dr. Imtiaz Hussain URL :
FULL STATE FEEDBACK CONTROL:
Chapter 12 Design via State Space <<<4.1>>>
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
Chapter 1: Overview of Control
Modeling and Simulation Dr. Mohammad Kilani
Teknik kendali.
Automatic Control Theory CSE 322
Pole Placement and Decoupling by State Feedback
Chapter 10 Optimal Control Homework 10 Consider again the control system as given before, described by Assuming the linear control law Determine the constants.
FIRST ORDER DIFFERENTIAL EQUATIONS
Pole Placement and Decoupling by State Feedback
CHE 391 T. F. Edgar Spring 2012.
Lect. 6 Pole Placement Basil Hamed
Feedback Control Systems (FCS)
Modern Control Systems (MCS)
درس کنترل ديجيتال مهر 1391 بسم ا... الرحمن الرحيم
Modern Control Systems (MCS)
Numerical Analysis Lecture 16.
Modern Control Systems (MCS)
Multirate Output Feedback
§2-3 Observability of Linear Dynamical Equations
Static Output Feedback and Estimators
Numerical Analysis Lecture13.
Digital and Non-Linear Control
8. Stability, controllability and observability
Synthesis of SISO Controllers
Equivalent State Equations
Stability Analysis of Linear Systems
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
Warmup Open Loop System Closed Loop System
Homework 3: Transfer Function to State Space
NONLINEAR AND ADAPTIVE SIGNAL ESTIMATION
Homework 3: Transfer Function to State Space
State Feedback.
Eigenvalues and Eigenvectors
NONLINEAR AND ADAPTIVE SIGNAL ESTIMATION
IntroductionLecture 1: Basic Ideas & Terminology
IntroductionLecture 1: Basic Ideas & Terminology
Chapter 7 Inverse Dynamics Control
Presentation transcript:

Controller and Observer Design (Design of Control System in State Space) (Design of Control System in State Space by Pole placement)

References Dr. Radhakant Padhi, Asstt. Prof, IISC, Bangalore, through NPTEL Modern Control Engineering by Katsuhiko Ogata, PHI Pvt. Ltd New Delhi

Pole placement Observer Design

Outline Philosophy of observer design Full order observer Reduced (minimum) order observer

Philosophy of Observer Design In practice all the sate variable are not available for feedback. Possible reason include: Non availability of sensors Expensive sensors Available sensors are not acceptable (due to high noise, high power consumption etc) A device (or a computer program) that estimate or observes state variables is called a state observer or simply an observer.

Philosophy of Observer Design… If the observer observes all state variables of the system, regardless of whether some state variables are available for direct measurement, it is called a full order observer. If the observer observes only the unmeasurable state variables (n-m, n = no of sates, m= measurable state= no of o/p), it is called a minimum order state observer or reduced order state observer.

State Observer Block Diagram y Plant X 𝑋 + u Observer (full order) Ke Observed Sate Vector 𝑋 C - 𝑦 y- 𝑦

State Observer Block Diagram.. Plant: let plat dynamics is (plant state space equation) 𝑋 =𝐴𝑋+𝐵𝑢 (Single i/p) 𝑦=𝐶𝑋 (Single o/p) Let the observed state is 𝑋 and let the observer dynamic (observer state space equation) be 𝑋 = 𝐴 𝑋 + 𝐵 𝑢+ 𝐾 𝑒 𝑦 Error 𝐸𝑟𝑟𝑜𝑟 𝐸=𝑋− 𝑋 Note: We are taking sate matrix of plant and observer (𝐴 & 𝐴 ) different but finally we will show that both are same

Observer design concepts Error dynamics 𝐸 = 𝑋 − 𝑋 put the values of 𝑋 and 𝑋 ⇒ 𝐸 = 𝐴𝑋+𝐵𝑢 − 𝐴 𝑋 + 𝐵 𝑢+ 𝐾 𝑒 𝑦 Add and subtract 𝐴 𝑋 and put 𝑦=𝐶𝑋 ⇒ 𝐸 = 𝐴 𝑋− 𝐴 𝑋+ 𝐴𝑋+𝐵𝑢 − 𝐴 𝑋 + 𝐵 𝑢+ 𝐾 𝑒 𝐶𝑋 ⇒ 𝐸 = 𝐴− 𝐴 𝑋+ 𝐴 (𝑋− 𝑋 )+ 𝐵− 𝐵 𝑢− 𝐾 𝑒 𝐶𝑋 ⇒ 𝐸 = 𝐴− 𝐴 𝑋+ 𝐴 𝐸+ 𝐵− 𝐵 𝑢− 𝐾 𝑒 𝐶𝑋 ⇒ 𝐸 = 𝐴 𝐸+ 𝐴− 𝐴 − 𝐾 𝑒 𝐶 𝑋+ 𝐵− 𝐵 𝑢 Strategy Make the above error dynamics independent of X ⇒ 𝐴− 𝐴 − 𝐾 𝑒 𝐶 =0 Make the above error dynamics independent of u ⇒ 𝐵− 𝐵 =0

Observer design concepts … This leads to 𝐴 =𝐴− 𝐾 𝑒 𝐶 𝐵 =𝐵 So error dynamics 𝐸 = 𝐴 𝐸 ⇒ 𝐸 = 𝐴− 𝐾 𝑒 𝐶 𝑋 Observer Dynamics (Observer State space equation) 𝑋 = 𝐴 𝑋 + 𝐵 𝑢+ 𝐾 𝑒 𝑦 ⇒ 𝑋 =(𝐴− 𝐾 𝑒 𝐶) 𝑋 +𝐵𝑢+ 𝐾 𝑒 𝑦 ⇒ 𝑋 =𝐴 𝑋 +𝐵𝑢+ 𝐾 𝑒 (𝑦−𝐶 𝑋 ) ⇒ 𝑋 =𝐴 𝑋 +𝐵𝑢+ 𝐾 𝑒 (𝑦− 𝑦 ) Note: Finally we have shown that sate matrix of plant & observer are same (A= 𝐴 )

Observer Design (Full Order) Goal: As we know error 𝐸 = 𝐴− 𝐾 𝑒 𝐶 𝑋 Dynamic behavior of above error vector is determined by the eigenvalues of matrix 𝐴− 𝐾 𝑒 𝐶. If matrix 𝐴− 𝐾 𝑒 𝐶 is stable matrix, the error vector will converge to zero for any initial error vector e(0). E will become zero => 𝑋 =𝑋 (Observed sates = Actual sates) So obtain gain matrix Ke such that the error dynamics are asymptotically stable with sufficient speed of response. Hence the design of full order observer becomes that of determining an appropriate Ke such that 𝐴− 𝐾 𝑒 𝐶 has desired eigenvalues. Thus, the problem here becomes the same as the pole placement problem in controller design. Necessary and sufficient condition for existence of Ke: The system should be completely observable.

Comparison of controller & observer design Controller Design Observer Design Dynamics 𝑋 = 𝐴−𝐵𝐾 𝑋 Dynamics 𝐸 = 𝐴− 𝐾 𝑒 𝐶 𝐸 Objective: 𝐴𝑠 𝑡→∞, 𝑋→0 Objective: 𝐴𝑠 𝑡→∞, 𝐸→0 Note: 1. Note the position of Matrix K in controller design and matrix Ke in observer design. Position can be made same if we take transpose of 𝐴− 𝐾 𝑒 𝐶 . 2. As we know Eigen value of A = Eigen value of AT ⇒𝜆 𝐴 =𝜆( 𝐴 𝑇 ) 3. So 𝜆(𝐴− 𝐾 𝑒 𝐶 )=𝜆 𝐴− 𝐾 𝑒 𝐶 𝑇 =𝜆 𝐴 𝑇 − 𝐶 𝑇 𝐾 𝑒 𝑇 4. Observer Dynamics may be written as 𝐸 = 𝐴 𝑇 − 𝐶 𝑇 𝐾 𝑒 𝑇 𝐸 This is similar to controller design of a following system know as dual system

Observer Design as a dual problem Consider the following system 𝑍 = 𝐴 𝑇 𝑍+ 𝐶 𝑇 𝑣 (v=i/p) 𝑤= 𝐵 𝑇 𝑍 (w=o/p) If we do controller design of above system and find out value of state feedback matrix K. This will be same as the observer design of following system 𝑋 =𝐴𝑋+𝐵𝑢 𝑦=𝐶𝑋 Above two systems given by equ(1) & (2) are know as dual systems. The value of matrix Ke is obtained by 𝐾 𝑒 = 𝐾 𝑇 ---(1) ---(2)

Observer Design as a dual problem… Hence observer design of a system is nothing but simply doing the controller design of its dual system. So the methods will be same as for controller design. Method 1: Direct substitution method (when order of system n≤3) Method 2: Bass-Gura Approach Method 3: Ackermann’s formula

Pole Placement Technique The closed loop poles should lie 𝜇 1 , 𝜇 2 ,… 𝜇 𝑛 . Which are their “desired locations”.

Observer Design by method 1: (n≤3) Let the system is 𝑋 =𝐴𝑋+𝐵𝑢 steps are Step 1: Check observability of the system Step 2: Put 𝐾 𝑒 = 𝑘 𝑒1 𝑘 𝑒2 𝑘 𝑒3 𝑇 So 𝐸 = 𝐴− 𝐾 𝑒 𝐶 𝐸 Step 3: Write characteristic equations of above system 𝑠𝐼−(𝐴− 𝐾 𝑒 𝐶) =0 Step 4: Write Desired characteristic equation 𝑠− 𝜇 1 𝑠− 𝜇 2 𝑠− 𝜇 3 =0 Step 5: Compare above two characteristic equations and solve for k1, k2, k3 by equating the power of s on both sides

Controller Design using Method 2: Bass-Gura Approach Step 1: Check controllability of the system Step 2: Form a characteristic equation using matrix A. i.e 𝑠𝐼−𝐴 = 𝑠 𝑛 + 𝑎 1 𝑠 𝑛−1 + 𝑎 2 𝑠 𝑛−2 … 𝑎 𝑛−1 𝑠 1 + 𝑎 𝑛 find ai’s Step 3: find the transformation matrix T if system is not in first companion Q=WNT Q=I (Identity Matrix) If system is in controllable canonical form Step 4: Write the desired characteristic equation 𝑠− 𝜇 1 … 𝑠− 𝜇 𝑛 =𝑠 𝑛 + 𝛼 1 𝑠 𝑛−1 + 𝛼 2 𝑠 𝑛−2 … 𝛼 𝑛−1 𝑠 1 + 𝛼 𝑛 find 𝛼i’s

Controller Design using Method 2: Bass-Gura Approach… Step 5: The required matrix is

Controller Design using Method 3:Ackermann’s Formula For an arbitrary positive integer n ( number of states) Ackermann’s formula for the state feedback gain matrix K is given by

Example Example 1: Consider the system defined by 𝑋 =𝐴𝑋+𝐵𝑢 & 𝑦=𝐶𝑋 where 𝐴= 0 20.6 1 0 𝐵= 0 1 𝐶= 0 1 Design a full order state observer, Assume that desisered eigenvalues of the observer matrix are 𝑠=−1.8+𝑗2.4 and 𝑠=−1.8−𝑗2.4. Solution: First check the observability of above system

Example .. Observability matrix 𝑁= 𝐶 𝑇 𝐴 𝑇 𝐶 𝑇 = 0 1 1 0 𝑁 =−1 so rank of N =2. Hence system is completely observable. Now we will solve this problem with previous three methods

Example .. Method 1: Direct substitution method Put 𝐾 𝑒 = 𝑘 𝑒1 𝑘 𝑒2 𝑇 So 𝐸 = 𝐴− 𝐾 𝑒 𝐶 𝐸 Write characteristic equations of above system 𝑠𝐼−(𝐴− 𝐾 𝑒 𝐶) =0 𝑠 0 0 𝑠 − 0 20.6 1 0 + 𝑘 𝑒1 𝑘 𝑒2 0 1 =0 ⇒ 𝑠 2 + 𝑘 𝑒2 𝑠+ −20.6+ 𝑘 𝑒1 =0

Example… Write Desired characteristic equation 𝑠− 𝜇 1 𝑠− 𝜇 2 =0 𝑠− 𝜇 1 𝑠− 𝜇 2 =0 𝑠+1.8−𝑗2.4 𝑠+1.8+𝑗2.4 =0 ⇒ 𝑠 2 +3.6𝑠+9=0 comparing above two characteristic equations ke1 = 29.6, ke2 = 3.6 So 𝐾 𝑒 = 29.6 3.6

Example Method 2: Characteristic equation of the given system 𝑠𝐼−𝐴 = 𝑠 −20.6 −1 𝑠 ⇒Φ 𝐴 = 𝑠 2 −20.6 Comparing with Φ 𝐴 = 𝑠 2 + 𝑎 1 𝑠+ 𝑎 2 a1 = 0, a2 = -20.6

Example… Desired Characteristic equation 𝑠− 𝜇 1 𝑠− 𝜇 2 =0 𝑠+1.8−𝑗2.4 𝑠+1.8+𝑗2.4 =0 ⇒ 𝑠 2 +3.6𝑠+9=0 Comparing with 𝑠 2 + 𝛼 1 𝑠+ 𝛼 2 ⇒ 𝛼 1 =3.6, 𝛼 2 =9 Sate feedback gain matrix Ke is 𝐾= 𝑄 −1 𝛼 2 − 𝑎 2 𝛼 1 − 𝑎 1 Where Q = WNT = I (identity matrix as system is in controllable canonical form) 𝐾= 29.6 3.6

Example… Method 3: Ackermann’s Formula 𝐾 𝑒 =Φ 𝐴 𝐶 𝐶𝐴 −1 0 1 𝐾 𝑒 =Φ 𝐴 𝐶 𝐶𝐴 −1 0 1 Φ 𝐴 = 𝐴 2 +3.6𝐴+9𝐼 Φ 𝐴 = 0 20.6 1 0 2 +60 0 20.6 1 0 +9 0 20.6 1 0 ⇒Φ 𝐴 = 29.6 74.16 3.6 29.6 𝑁= 𝐶 𝐶𝐴 = 0 1 1 0

Example… So 𝐾 𝑒 = 29.6 74.16 3.6 29.6 0 1 1 0 −1 0 1 ⇒ 𝐾 𝑒 = 29.6 3.6

Reduced order design?

Thanks