Presentation is loading. Please wait.

Presentation is loading. Please wait.

Controller and Observer Design

Similar presentations


Presentation on theme: "Controller and Observer Design"β€” Presentation transcript:

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

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

3 Pole placement Observer Design

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

5 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.

6 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.

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

8 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

9 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

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

11 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.

12 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

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

14 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

15 Pole Placement Technique
The closed loop poles should lie πœ‡ 1 , πœ‡ 2 ,… πœ‡ 𝑛 . Which are their β€œdesired locations”.

16 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

17 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

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

19 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

20 Example Example 1: Consider the system defined by 𝑋 =𝐴𝑋+𝐡𝑒 & 𝑦=𝐢𝑋 where 𝐴= 𝐡= 𝐢= 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

21 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

22 Example .. Method 1: Direct substitution method Put 𝐾 𝑒 = π‘˜ 𝑒1 π‘˜ 𝑒2 𝑇
So 𝐸 = π΄βˆ’ 𝐾 𝑒 𝐢 𝐸 Write characteristic equations of above system π‘ πΌβˆ’(π΄βˆ’ 𝐾 𝑒 𝐢) =0 𝑠 0 0 𝑠 βˆ’ π‘˜ 𝑒1 π‘˜ 𝑒 =0 β‡’ 𝑠 2 + π‘˜ 𝑒2 𝑠+ βˆ’20.6+ π‘˜ 𝑒1 =0

23 Example… Write Desired characteristic equation π‘ βˆ’ πœ‡ 1 π‘ βˆ’ πœ‡ 2 =0
π‘ βˆ’ πœ‡ 1 π‘ βˆ’ πœ‡ 2 =0 𝑠+1.8βˆ’π‘—2.4 𝑠+1.8+𝑗2.4 =0 β‡’ 𝑠 𝑠+9=0 comparing above two characteristic equations ke1 = 29.6, ke2 = 3.6 So 𝐾 𝑒 =

24 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

25 Example… Desired Characteristic equation
π‘ βˆ’ πœ‡ 1 π‘ βˆ’ πœ‡ 2 =0 𝑠+1.8βˆ’π‘—2.4 𝑠+1.8+𝑗2.4 =0 β‡’ 𝑠 𝑠+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) 𝐾=

26 Example… Method 3: Ackermann’s Formula 𝐾 𝑒 =Ξ¦ 𝐴 𝐢 𝐢𝐴 βˆ’1 0 1
𝐾 𝑒 =Ξ¦ 𝐴 𝐢 𝐢𝐴 βˆ’ Ξ¦ 𝐴 = 𝐴 𝐴+9𝐼 Ξ¦ 𝐴 = β‡’Ξ¦ 𝐴 = 𝑁= 𝐢 𝐢𝐴 =

27 Example… So 𝐾 𝑒 = βˆ’ β‡’ 𝐾 𝑒 =

28 Reduced order design?

29 Thanks


Download ppt "Controller and Observer Design"

Similar presentations


Ads by Google