Digital and Non-Linear Control Design of Control Systems in State Space
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 this problem by introducing into the system 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 transient-response and/or frequency-response requirements, such as speed, damping ratio, or bandwidth, as well as steady-state 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 phase-variable 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 (closed-loop poles) at the desired location is called a pole-placement 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 methods yield the same result.
Pole Placement (Using Transformation Matrix P) Following are the steps to be followed in this particular method. 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. Transform the given system in CCF. π πΌβπ΄ = π π + π 1 π πβ1 + π 2 π πβ2 +β―+ π πβ1 s+ π π
Pole Placement (Using Transformation Matrix P) Following are the steps to be followed in this particular method. 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. 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 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 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 First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) πΆπ= π΅ π΄π΅ π΄ 2 π΅ = 0 0 1 0 1 β6 1 β6 31
Pole Placement (Using Transformation Matrix P) Example-1: Step-2 (Transformation to CCF) The given system is already in CCF π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘)
Pole Placement (Using Transformation Matrix P) Example-1: Step-3 Determine the characteristic equation Hence π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) π πΌβπ΄ = π 3 +6 π 2 +5π +1=0 π πΌβπ΄ = π 3 + π 1 π 2 + π 2 π + π 3 π 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 Hence (π β π 1 )( π β π 2 ) β― π β π π =(π +2β4π)( π +2+4π) π +10 π +2β4π π +2+4π π +10 = π 3 +14 π 2 +60π +200 = π 3 + πΌ 1 π 2 + πΌ 2 π + πΌ 3 πΌ 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, π 2 =5, π 3 =1 πΌ 1 =14, πΌ 2 =60, πΌ 3 =200 π²= πΌ 3 β π 3 πΌ 2 β π 2 πΌ 1 β π 1 π²= 199 55 8
Pole Placement (Using Transformation Matrix P) π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) State diagram of the given system β« π₯ 3 π₯ 2 π₯ 3 π₯ 2 π₯ 1 π₯ 1 -6 -5 + π’(π‘)
π’=β 199 55 8 π₯ 1 π₯ 2 π₯ 3 π’=βπ²π₯ π²= 199 55 8 199 55 8 + -1 π₯ 3 β« π₯ 3 π₯ 2 β« π₯ 2 π₯ 1 β« π₯ 1 π’(π‘) + + + -6 + + -5 + + -5
Pole Placement (Direct Substitution Method) Following are the steps to be followed in this particular method. 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. Define the state feedback gain matrix as And equating π πΌβπ΄+π΅πΎ with desired characteristic equation. π²= π 1 π 2 π 3 β― π π (π β π 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 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 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 First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) πΆπ= π΅ π΄π΅ π΄ 2 π΅ = 0 0 1 0 1 β6 1 β6 31
Pole Placement (Using Transformation Matrix P) Example-1: Step-2 Let K be Desired characteristic polynomial is obtained as Comparing the coefficients of powers of s π²= π 1 π 2 π 3 π πΌβπ΄+π΅πΎ = π 0 0 0 π 0 0 0 π β 0 1 0 0 0 1 β1 β5 β6 + 0 0 1 π 1 π 2 π 3 = π 3 + 6+ π 3 π 2 + 5+ π 2 π +1+ π 1 π +2β4π π +2+4π π +10 = π 3 +14 π 2 +60π +200 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. 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. 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 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 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 First, we need to check the controllability matrix of the system. Since the controllability matrix CM is given by We find that rank(CM)=3. Thus, the system is completely state controllable and arbitrary pole placement is possible. π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) πΆπ= π΅ π΄π΅ π΄ 2 π΅ = 0 0 1 0 1 β6 1 β6 31
Pole Placement (Ackermannβs Formula) Following are the steps to be followed in this particular method. 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π π +10 = π 3 +14 π 2 +60π +200 πΌ 1 =14, πΌ 2 =60, πΌ 3 =200
Pole Placement (Ackermannβs Formula) π₯ 1 π₯ 2 π₯ 3 = 0 1 0 0 0 1 β1 β5 β6 π₯ 1 π₯ 2 π₯ 3 + 0 0 1 π’(π‘) β π΄ = π΄ 3 +14 π΄ 2 +60π΄+200πΌ β π΄ = 0 1 0 0 0 1 β1 β5 β6 3 +14 0 1 0 0 0 1 β1 β5 β6 2 +60 0 1 0 0 0 1 β1 β5 β6 +200 1 0 0 0 1 0 0 0 1 β π΄ = 199 55 8 β8 159 7 β7 β34 117
Pole Placement (Ackermannβs Formula) π΅ π΄π΅ π΄ 2 π΅ = 0 0 1 0 1 β6 1 β6 31 β π΄ = 199 55 8 β8 159 7 β7 β34 117 πΎ= 0 0 1 π΅ π΄π΅ π΄ 2 β1 β (π΄) πΎ= 0 0 1 0 0 1 0 1 β6 1 β6 31 β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 Determine the state feedback gain for each state variable to place the poles at -1+j, -1-j,-3. (Apply all methods) π₯ 1 π₯ 2 π₯ 3 = 1 2 1 0 1 3 1 1 1 π₯ 1 π₯ 2 π₯ 3 + 1 0 1 π’(π‘)
State Controllability A system is completely controllable if there exists an unconstrained control u(t) that can transfer any initial state x(to) to any other desired location x(t) in a finite time, to β€ t β€ T. uncontrollable controllable
State Controllability Controllability Matrix CM System is said to be state controllable if
State Controllability (Example) Consider the system given below State diagram of the system is
State Controllability (Example) Controllability matrix CM is obtained as Thus Since ππππ(πΆπ)β π therefore system is not completely state controllable.
State Observability A system is completely observable if and only if there exists a finite time T such that the initial state x(0) can be determined from the observation history y(t) given the control u(t), 0β€ t β€ T. observable unobservable
State Observability Observable Matrix (OM) The system is said to be completely state observable if
State Observability (Example) Consider the system given below OM is obtained as Where
State Observability (Example) Therefore OM is given as Since ππππ(ππ)β πtherefore system is not completely state observable.
Output Controllability Output controllability describes the ability of an external input to move the output from any initial condition to any final condition in a finite time interval. Output controllability matrix (OCM) is given as
Home Work Check the state controllability, state observability and output controllability of the following system