Modern Control Systems (MCS) Lecture-30-31 Design of Control Systems in Sate Space Dr. Imtiaz Hussain email: imtiaz.hussain@faculty.muet.edu.pk URL :http://imtiazhussainkalwar.weebly.com/ Lecture Outline • Introduction • Pole Placement – Topology of Pole Placement – Pole Placement Design Techniques • Using Transformation Matrix P • Direct Substitution Method • Ackermann’s Formula Introduction • One of the drawbacks of frequency domain methods of design is that after designing the location of the dominant second-order pair of poles, we keep our fingers crossed, hoping that the higher-order poles do not affect the second-order approximation. • What we would like to be able to do is specify all closed-loop poles of the higher-order system. Introduction • Frequency domain methods of design do not allow us to specify all poles in systems of order higher than 2 because they do not allow for a sufficient number of unknown parameters to place all of the closed-loop poles uniquely. • One gain to adjust, or compensator pole and zero to select, does not yield a sufficient number of parameters to place all the closed-loop poles at desired locations. Introduction • Remember, to place n unknown quantities, you need n adjustable parameters. • State-space methods solve introducing into the system this problem by – Other adjustable parameters and – The technique for finding these parameter values • On the other hand, state-space methods do not allow the specification of closed-loop zero locations, which frequency domain methods do allow through placement of the lead compensator zero. Introduction • Finally, there is a wide range of computational support for state-space methods; many software packages support the matrix algebra required by the design process. • However, as mentioned before, the advantages of computer support are balanced by the loss of graphic insight into a design problem that the frequency domain methods yield. Pole Placement • In this lecture we will discuss a design method commonly called the pole-placement or pole-assignment technique. • We assume that all state variables are measurable and are available for feedback. • If the system considered is completely state controllable, then poles of the closed-loop system may be placed at any desired locations by means of state feedback through an appropriate state feedback gain matrix. Pole Placement • The present design technique begins with a determination of the desired closed-loop poles based on the transientresponse and/or frequency-response requirements, such as speed, damping ratio, or bandwidth, as well as steadystate requirements. • By choosing an appropriate gain matrix for state feedback, it is possible to force the system to have closed-loop poles at the desired locations, provided that the original system is completely state controllable. Topology of Pole Placement • Consider a plant represented in state space by π = π¨π + π©π’ π¦ = πͺπ Topology of Pole Placement • In a typical feedback control system, the output, y, is fed back to the summing junction. • It is now that the topology of the design changes. Instead of feeding back y, we feed back all of the state variables. • If each state variable is fed back to the control, u, through a gain, ki, there would be n gains, ki, that could be adjusted to yield the required closed-loop pole values. Topology of Pole Placement • The feedback through the gains, ki, is represented in following figure by the feedback vector K. π = π¨π + π©(π − π²π) π = π¨π + π©π − π©π²π π = (π¨ − π©π²)π + π©π π¦ = πͺπ Topology of Pole Placement • For example consider a plant signal-flow graph in phasevariable form Topology of Pole Placement • Each state variable is then fed back to the plant’s input, u, through a gain, ki, as shown in Figure Pole Placement • We will limit our discussions to single-input, single-output systems (i.e. we will assume that the control signal u(t) and output signal y(t) to be scalars). • We will also assume that the reference input r(t) is zero. π¦ π = (π¨ − π©π²)π + π©π π = (π¨ − π©π²)π π’ = −π²π Pole Placement π = (π¨ − π©π²)π • The stability and transient response characteristics are determined by the eigenvalues of matrix A-BK. • If matrix K is chosen properly Eigenvalues of the system can be placed at desired location. • And the problem of placing the regulator poles (closedloop poles) at the desired location is called a poleplacement problem. Pole Placement • There are three approaches that can be used to determine the gain matrix K to place the poles at desired location. • Using Transformation Matrix P • Direct Substitution Method • Ackermann’s formula • All those method yields the same result. Pole Placement (Using Transformation Matrix P) • Following are the steps to be followed in this particular method. 1. Check the state controllability of the system πΆπ = π΅ π΄π΅ π΄2 π΅ β― π΄π−1 π΅ Pole Placement (Using Transformation Matrix P) • Following are the steps to be followed in this particular method. 2. Transform the given system in CCF. P ο½ CM ο΄ W ο© a n ο1 οͺ a οͺ nο2 W ο½ οͺ ο οͺ οͺ a1 οͺο« 1 anο2 ο a1 a nο3 ο 1 ο ο ο 1 ο 0 0 ο 0 A ο½ P ο1 1οΉ οΊ 0 οΊ οοΊ οΊ 0οΊ 0 οΊο» AP π πΌ − π΄ = π π + π1 π π−1 + π2 π π−2 + β― + ππ−1 s+ππ ο1 B ο½ P B C ο½ CP Pole Placement (Using Transformation Matrix P) • Following are the steps to be followed in this particular method. 3. Obtain the desired characteristic equation from desired Eigenvalues. • If the desired Eigenvalues are π1 , π2 , β― , ππ (π − π1 )( π − π2 ) β― π − ππ = π π + πΌ1 π π−1 + πΌ2 π π−2 + β― + πΌπ−1 π +πΌπ Pole Placement (Using Transformation Matrix P) • Following are the steps to be followed in this particular method. 4. Compute the gain matrix K. π² = πΌπ − ππ πΌπ−1 − ππ−1 β― πΌ2 − π2 πΌ1 − π1 Pole Placement (Using Transformation Matrix P) • Example-1: Consider the regulator system shown in following figure. The plant is given by π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • The system uses the state feedback control u=-Kx. The desired eigenvalues are π1 = −2 + π4, π2 = −2 − π4 ,π3 = −1. Determine the state feedback gain matrix K. Pole Placement (Using Transformation Matrix P) • Example-1: Step-1 π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by πΆπ = π΅ π΄π΅ 0 0 π΄2 π΅ = 0 1 1 −6 1 −6 31 • We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. Pole Placement (Using Transformation Matrix P) • Example-1: Step-2 (Transformation to CCF) π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • The given system is already in CCF Pole Placement (Using Transformation Matrix P) • Example-1: Step-3 π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • Determine the characteristic equation π πΌ − π΄ = π 3 + 6π 2 + 5π + 1 = 0 π πΌ − π΄ = π 3 + π1 π 2 + π2 π + π3 • Hence π1 = 6, π2 = 5, π3 = 1 Pole Placement (Using Transformation Matrix P) • Example-1: Step-4 • The desired characteristics polynomial can be computed using desired eigenvalues π1 = −2 + π4 π2 = −2 − π4 π3 = −1 (π − π1 )( π − π2 ) β― π − ππ = (π + 2 − 4π)( π + 2 + 4π) π + 10 π + 2 − 4π π + 2 + 4π π + 10 = π 3 + 14π 2 + 60π + 200 = π 3 + πΌ1 π 2 + πΌ2 π + πΌ3 • Hence πΌ1 = 14, πΌ2 = 60, πΌ3 = 200 Pole Placement (Using Transformation Matrix P) • Example-1: Step-4 • State feedback gain matric K is then calculated as π1 = 6, πΌ1 = 14, π2 = 5, πΌ2 = 60, π² = πΌ3 − π3 πΌ2 − π2 π² = 199 55 8 π3 = 1 πΌ3 = 200 πΌ1 − π1 Pole Placement (Using Transformation Matrix P) π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • State diagram of the given system π’(π‘) π₯3 + + + + + ∫ π₯3 π₯2 ∫ π₯2 -6 -5 + + -5 π₯1 ∫ π₯1 π₯1 π’ = − 199 55 8 π₯2 π₯3 π² = 199 55 8 π’ = −π²π₯ 199 + + + 55 + 8 + -1 π₯3 π’(π‘) + + + + + ∫ π₯3 π₯2 ∫ π₯2 -6 -5 + + -5 π₯1 ∫ π₯1 Pole Placement (Direct Substitution Method) • Following are the steps to be followed in this particular method. 1. Check the state controllability of the system πΆπ = π΅ π΄π΅ π΄2 π΅ β― π΄π−1 π΅ Pole Placement (Direct Substitution Method) • Following are the steps to be followed in this particular method. 2. Define the state feedback gain matrix as π² = π1 π2 – And equating π πΌ − π΄ + π΅πΎ equation. π3 β― ππ with desired characteristic (π − π1 )( π − π2 ) β― π − ππ = π π + πΌ1 π π−1 + πΌ2 π π−2 + β― + πΌπ−1 s+πΌπ Pole Placement (Using Direct Substitution) • Example-1: Consider the regulator system shown in following figure. The plant is given by π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • The system uses the state feedback control u=-Kx. The desired eigenvalues are π1 = −2 + π4, π2 = −2 − π4 ,π3 = −1. Determine the state feedback gain matrix K. Pole Placement (Using Transformation Matrix P) • Example-1: Step-1 π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by πΆπ = π΅ π΄π΅ 0 0 π΄2 π΅ = 0 1 1 −6 1 −6 31 • We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. Pole Placement (Using Transformation Matrix P) • Example-1: Step-2 • Let K be π² = π1 π πΌ − π΄ + π΅πΎ = π 0 0 π 0 0 π2 0 0 0 − 0 π −1 π3 1 0 −5 0 0 1 + 0 π1 −6 1 π2 π3 = π 3 + 6 + π3 π 2 + 5 + π2 π + 1 + π1 • Desired characteristic polynomial is obtained as π + 2 − 4π π + 2 + 4π π + 10 = π 3 + 14π 2 + 60π + 200 • Comparing the coefficients of powers of s 14 = 6 + π3 π3 = 8 60 = 5 + π2 π2 = 55 200 = 1 + π1 π1 = 199 Pole Placement (Ackermann’s Formula) • Following are the steps to be followed in this particular method. 1. Check the state controllability of the system πΆπ = π΅ π΄π΅ π΄2 π΅ β― π΄π−1 π΅ Pole Placement (Ackermann’s Formula) • Following are the steps to be followed in this particular method. 2. Use Ackermann’s formula to calculate K πΎ = 0 0 β―0 1 π΅ π΄π΅ π΄2 π΅ β― π΄π−1 π΅ −1 ∅(π΄) ∅ π΄ = π΄π + πΌ1 π΄π−1 + β― + πΌπ−1 π΄ + πΌπ πΌ Pole Placement (Ackermann’s Formula) • Example-1: Consider the regulator system shown in following figure. The plant is given by π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • The system uses the state feedback control u=-Kx. The desired eigenvalues are π1 = −2 + π4, π2 = −2 − π4 ,π3 = −1. Determine the state feedback gain matrix K. Pole Placement (Using Transformation Matrix P) • Example-1: Step-1 π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 • First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by πΆπ = π΅ π΄π΅ 0 0 π΄2 π΅ = 0 1 1 −6 1 −6 31 • We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. Pole Placement (Ackermann’s Formula) • Following are the steps to be followed in this particular method. 2. Use Ackermann’s formula to calculate K πΎ= 0 0 1 π΅ π΄π΅ 2 −1 ∅(π΄) π΄ ∅ π΄ = π΄3 + πΌ1 π΄2 + πΌ2 π΄ + πΌ3 πΌ • πΌπ are the coefficients of the desired characteristic polynomial. π + 2 − 4π π + 2 + 4π πΌ1 = 14, π + 10 = π 3 + 14π 2 + 60π + 200 πΌ2 = 60, πΌ3 = 200 Pole Placement (Ackermann’s Formula) π₯1 0 1 0 π₯1 0 π₯2 = 0 0 1 π₯2 + 0 π’(π‘) π₯3 −1 −5 −6 π₯3 1 ∅ π΄ = π΄3 + 14π΄2 + 60π΄ + 200πΌ 0 ∅ π΄ = 0 −1 1 0 −5 0 1 −6 3 0 1 + 14 0 0 −1 −5 0 1 −6 2 0 + 60 0 −1 199 55 8 ∅ π΄ = −8 159 7 −7 −34 117 1 0 −5 0 1 1 + 200 0 −6 0 0 1 0 0 0 1 Pole Placement (Ackermann’s Formula) π΅ π΄π΅ 0 0 1 π΄2 π΅ = 0 1 −6 1 −6 31 πΎ= 0 πΎ= 0 199 55 8 ∅ π΄ = −8 159 7 −7 −34 117 0 1 π΅ 0 0 1 0 1 π΄π΅ 0 1 1 −6 −6 31 −1 2 −1 ∅(π΄) π΄ 199 55 8 −8 159 7 −7 −34 117 πΎ = 199 55 8 Pole Placement • Example-2: Consider the regulator system shown in following figure. The plant is given by π₯1 1 2 1 π₯1 1 π₯2 = 0 1 3 π₯2 + 0 π’(π‘) π₯3 1 1 1 π₯3 1 • Determine the state feedback gain for each state variable to place the poles at -1+j, -1-j,-3. (Apply all methods) To download this lecture visit http://imtiazhussainkalwar.weebly.com/ END OF LECTURES-30-31