Ch.12 Design Via State Space
Ch.12 Design Via State Space
System Dynamics and Control 1 Design via State Space System Dynamics and Control 2 Design via State Space
Learning Outcome
After completing this chapter, the student will be able to
• Design a state-feedback controller using pole placement for
systems represented in phase-variable form to meet transient
response specifications
• Determine if a system is controllable
• Design a state-feedback controller using pole placement for
systems not represented in phase-variable form to meet
transient response specifications
• Design a state-feedback observer using pole placement for
systems represented in observer canonical form
• Determine if a system is observable
• Design a state-feedback observer using pole placement for
systems not represented in observer canonical form
• Design steady-state error characteristics for systems
represented in state space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 3 Design via State Space System Dynamics and Control 4 Design via State Space
§1.Introduction §1.Introduction
- Frequency domain methods of design do not allow to specify all - Frequency domain methods do allow the specification of
poles in systems of order higher than 2 because they do not closed-loop zero locations, which time domain methods do not
allow for a sufficient number of unknown parameters to place allow through placement of the lead compensator zero
all of the closed-loop poles uniquely This is a disadvantage of state-space methods, since the
→ State-space methods solve this problem by introducing location of the zero does affect the transient response
(1) other adjustable parameters, and Also, a state-space design may prove to be very sensitive to
(2) the technique for finding these parameter values, so that parameter changes
we can properly place all poles of the closed-loop system
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 5 Design via State Space System Dynamics and Control 6 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
1
04/12/2020
System Dynamics and Control 7 Design via State Space System Dynamics and Control 8 Design via State Space
State space representation of a plant with no feedback Phase variable representation for plant with no feedback
𝑐3
𝑟 𝑢 𝒙ሶ 𝒙 𝑦 𝑐2
𝑩 𝑪
1 1 1/𝑠 1/𝑠 1/𝑠 𝑐1
𝑟 𝑦
𝑨 𝑢 −𝑎2 𝑥3 𝑥2 𝑥1
−𝑘3 −𝑎1
−𝑘2 −𝑎0
𝑲 −𝑘1
State space representation of a plant with state variable feedback Phase variable representation for plant with state variable feedback
System Dynamics and Control 9 Design via State Space System Dynamics and Control 10 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 11 Design via State Space System Dynamics and Control 12 Design via State Space
2.Feed back each phase variable to the input through a gain 𝑘𝑖 3.Find the characteristic equation for the closed-loop system
Form the closed-loop system by feeding back each state represented in Step 2
variable to 𝑢 𝑐3 det 𝑠𝑰 − 𝑨 − 𝑩𝑲 = 0
𝑐 2
→ 𝑠 𝑛 + 𝑎𝑛−1 + 𝑘𝑛 𝑠 𝑛−1 + ⋯ + 𝑎1 + 𝑘2 𝑠 + 𝑎0 + 𝑘1 = 0
1 1 1/𝑠 1/𝑠 1/𝑠 𝑐1
𝑟 𝑦
𝑢 −𝑎2 𝑥2 𝑥1 (12.9)
−𝑘3 −𝑎1
−𝑘2 −𝑎0 (12.9) can be derived from (12.5) by adding the appropriate 𝑘𝑖
−𝑘1
𝑢 = −𝑲𝒙 (12.6) to each coefficient
where 𝑘𝑖 : the phase variables’ feedback gains 4.Decide upon all closed-loop pole locations and determine an
equivalent characteristic equation
The system matrix, 𝑨 − 𝑩𝑲, for the closed-loop system
0 1 0 ⋮ 0 𝑠 𝑛 + 𝑑𝑛−1 𝑠 𝑛−1 + 𝑑𝑛−2 𝑠 𝑛−2 + ⋯ + 𝑑2 𝑠 2 + 𝑑1 𝑠 + 𝑑0 = 0
0 0 1 ⋮ 0 (12.10)
𝑨−𝑩𝑲 = (12.8)
⋮ ⋮ ⋮ ⋱ ⋮
−(𝑎0 +𝑘1) −(𝑎1 +𝑘2) −(𝑎2 +𝑘3) ⋯ −(𝑎𝑛−1 +𝑘𝑛) 𝑠 𝑛 + 𝑎𝑛−1 𝑠 𝑛−1 + ⋯ + 𝑎1 𝑠 + 𝑎0 = 0 (12.5)
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
2
04/12/2020
System Dynamics and Control 13 Design via State Space System Dynamics and Control 14 Design via State Space
System Dynamics and Control 15 Design via State Space System Dynamics and Control 16 Design via State Space
System Dynamics and Control 17 Design via State Space System Dynamics and Control 18 Design via State Space
3
04/12/2020
System Dynamics and Control 19 Design via State Space System Dynamics and Control 20 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 21 Design via State Space System Dynamics and Control 22 Design via State Space
System Dynamics and Control 23 Design via State Space System Dynamics and Control 24 Design via State Space
4
04/12/2020
System Dynamics and Control 25 Design via State Space System Dynamics and Control 26 Design via State Space
100(𝑠 + 10)
𝑇 𝑠 =
𝑠 3 + 29.97𝑠 2 + 409.1𝑠 + 2094
From the simulation results: %𝑂𝑆 = 5%, 𝑇𝑝 = 0.3𝑠
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 27 Design via State Space System Dynamics and Control 28 Design via State Space
§3.Controllability §3.Controllability
The system is controllable if an input to a system can take every The Controllability Matrix
state variable from a desired initial state to a desired final state An 𝑛th-order plant whose state equation is
Controllability by Inspection 𝒙ሶ = 𝑨𝒙 + 𝑩𝑢
A system with distinct eigenvalues and a diagonal system is completely controllable if the matrix
matrix is controllable if the input coupling matrix 𝐵 does not 𝑪𝑴 = [𝑩 𝑨𝑩 𝑨𝟐𝑩 ⋯ 𝑨𝒏−𝟏 𝑩]
have any rows that are zero
1/𝑠
is of rank 𝑛, where 𝑪𝑴 is called the controllability matrix
• Controllable system 1 −𝑎1 𝑥1
𝑘1
−𝑎1 0 0 1 𝑢 1 1/𝑠 𝑘2 𝑦
−𝑎2 𝑥2
𝒙ሶ = 0 −𝑎2 0 𝒙+ 1 𝑢
1/𝑠
0 0 −𝑎3 1 1 −𝑎3 𝑥3
𝑘 3
1/𝑠
• Uncontrollable system −𝑎4 𝑥1
𝑘4
−𝑎4 0 0 0 𝑢 1 1/𝑠 𝑘5 𝑦
−𝑎5 𝑥2
𝒙ሶ = 0 −𝑎5 0 𝒙+ 1 𝑢
1/𝑠
0 0 −𝑎6 1 1 −𝑎6 𝑥3
𝑘6
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 29 Design via State Space System Dynamics and Control 30 Design via State Space
§3.Controllability §3.Controllability
- Ex.12.2 Controllability via the Controllability Matrix Run ch12p2 in Appendix B
Given the system, represented by a signal-flow diagram, Learn how to use MATLAB to
1/𝑠 1 1/𝑠
determine its controllability 1 −1 𝑥2 −1 𝑥1 10 • test a system for controllability
Solution 𝑢 1 𝑦 • solve Ex.12.2
The system state equation 10
1/𝑠
−1 1 0 0 1 −2 𝑥3
𝒙ሶ = 0 −1 0 𝒙 + 1 𝑢
0 0 −2 1
There is the zero in the 𝐵 matrix, this configuration leads to
uncontrollability only if the poles are real and distinct. In this
case, the system has multiple poles at −1
0 1 −2
The controllability matrix 𝑪𝑴 = 𝑩 𝑨𝑩 𝑨𝟐 𝑩 = 1 −1 1
1 −2 4
𝑪𝑴 = −1 ≠ 0 ⟹ rank 𝑪𝑴 = 3: the system is controllable
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
5
04/12/2020
System Dynamics and Control 31 Design via State Space System Dynamics and Control 32 Design via State Space
§3.Controllability §3.Controllability
Skill-Assessment Ex.12.2 TryIt 12.2
Problem Determine whether the system Use MATLAB, the Control −1 1 0 0
System Toolbox, and the
−1 1 2 2 following statements to solve
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 0 −1 0 𝒙 + 1 𝑢
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 0 −1 5 𝒙 + 1 𝑢 Skill-Assessment Ex.12.2 0 0 −2 1
0 3 −4 1
is controllable A=[-1 1 2; 0 -1 5; 0 3 -4];
B=[2;1;1];
Solution The controllability matrix Cm=ctrb(A,B)
2 1 1 Rank=rank(Cm)
𝑪𝑴 = 𝑩 𝑨𝑩 𝑨𝟐 𝑩 = 1 4 −9
1 −1 16
→ 𝑪𝑴 = 80 ≠ 0
rank 𝑪𝑴 = 3: the system is controllable
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 33 Design via State Space System Dynamics and Control 34 Design via State Space
System Dynamics and Control 35 Design via State Space System Dynamics and Control 36 Design via State Space
6
04/12/2020
System Dynamics and Control 37 Design via State Space System Dynamics and Control 38 Design via State Space
System Dynamics and Control 39 Design via State Space System Dynamics and Control 40 Design via State Space
System Dynamics and Control 41 Design via State Space System Dynamics and Control 42 Design via State Space
0 0 1
𝑠+4
𝐺 𝑠 = (𝑠+1)(𝑠+2)(𝑠+5), 𝑪𝑴𝒛 = 0 1 −3
1 −1 1
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
7
04/12/2020
System Dynamics and Control 43 Design via State Space System Dynamics and Control 44 Design via State Space
−10
=0 (12.52) 20
Designed system with state-variable feedback
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 45 Design via State Space System Dynamics and Control 46 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 47 Design via State Space System Dynamics and Control 48 Design via State Space
8
04/12/2020
System Dynamics and Control 49 Design via State Space System Dynamics and Control 50 Design via State Space
System Dynamics and Control 51 Design via State Space System Dynamics and Control 52 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 53 Design via State Space System Dynamics and Control 54 Design via State Space
𝑨 to controller
that of the plant or
controlled closed-
𝑳
estimated error output loop system
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
9
04/12/2020
System Dynamics and Control 55 Design via State Space System Dynamics and Control 56 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 57 Design via State Space System Dynamics and Control 58 Design via State Space
System Dynamics and Control 59 Design via State Space System Dynamics and Control 60 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
10
04/12/2020
System Dynamics and Control 61 Design via State Space System Dynamics and Control 62 Design via State Space
System Dynamics and Control 63 Design via State Space System Dynamics and Control 64 Design via State Space
System Dynamics and Control 65 Design via State Space System Dynamics and Control 66 Design via State Space
11
04/12/2020
System Dynamics and Control 67 Design via State Space System Dynamics and Control 68 Design via State Space
System Dynamics and Control 69 Design via State Space System Dynamics and Control 70 Design via State Space
§6.Observability §6.Observability
1/𝑠 1/𝑠 1/𝑠 1/𝑠
𝑘1 1 𝑘4 𝑘1 1 𝑘4
−𝑎1 𝑥1 −𝑎4 𝑥1 −𝑎1 𝑥1 −𝑎4 𝑥1
The ability to observe a state variable from the output is best Simply stated, observability is the ability to deduce the state
seen from the diagonalized system. Here 𝑥1 is not connected to variables from a knowledge of the input, 𝑢(𝑡), and the output,
the output and could not be estimated from a measurement of 𝑦(𝑡)
the output Pole placement for an observer is a viable design technique
If the initial-state vector, 𝑥(𝑡0 ), can be found from 𝑢(𝑡) and only for systems that are observable
𝑦(𝑡) measured over a finite interval of time from 𝑡0 , the system
is said to be observable; otherwise the system is said to be
unobservable
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 71 Design via State Space System Dynamics and Control 72 Design via State Space
§6.Observability §6.Observability
𝑘1
1/𝑠
1 𝑘4
1/𝑠 The Observability Matrix
−𝑎1 𝑥1 −𝑎4 𝑥1
𝑢 𝑘2 1/𝑠 1 𝑦 𝑢 𝑘5 1/𝑠 1 𝑦
An 𝑛th-order plant whose state equation is
−𝑎2 𝑥2 −𝑎5 𝑥2
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢
1/𝑠 1/𝑠
𝑘3 −𝑎3 1 𝑘6 −𝑎6 1 is completely observable if the matrix
𝑥3 𝑥3
observable system unobservable system 𝑶𝑴 = [𝑪 𝑪𝑨 𝑪𝑨𝟐 ⋯ 𝑪𝑨𝒏−𝟏 ]𝑇
Observability by Inspection is of rank 𝑛, where 𝑶𝑴 is called the observability matrix
The system can be explored from the output equation of a
diagonalized system
• for the observable system
𝑦 = 𝑪𝒙 = 1 1 1 𝒙
• for the unobservable system
𝑦 = 𝑪𝒙 = 0 1 1 𝒙
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
12
04/12/2020
System Dynamics and Control 73 Design via State Space System Dynamics and Control 74 Design via State Space
§6.Observability §6.Observability
- Ex.12.6 Observability via the Observability Matrix Run ch12p5 in Appendix B
1
Determine if the system is observable 5 Learn how to use MATLAB to
𝑢
1 1/𝑠 1/𝑠 1/𝑠
𝑦
• test a system for observability
−2 𝑥3 𝑥2 𝑥1
−3 • solve Ex.12.6
Solution −4
System Dynamics and Control 75 Design via State Space System Dynamics and Control 76 Design via State Space
§6.Observability §6.Observability
- Ex.12.7 Unobservability via the Observability Matrix Skill-Assessment Ex.12.5
Determine if the system is observable Problem Determine whether the system
4
−2 1 −3 2
𝑢
1 1/𝑠 1/𝑠 5
𝑦
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 0 −2 1 𝒙 + 1 𝑢
−21/4 𝑥2 𝑥1
−5 −7 −8 −9 2
Solution 𝑦 = 𝑪𝒙 = 4 6 8 𝒙
The state and output equations for the system is observable
0 1 0
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 𝒙+ 𝑢 Solution The observability matrix
−5 −21/4 1 𝑪 4 6 8
𝑦 = 𝑪𝒙 = 5 4 𝒙 𝑶𝑴 = 𝑪𝑨 = −64 −80 −78
The observability matrix 𝟐
𝑪𝑨 674 848 814
𝑪 5 4 det 𝑶𝑴 = −1576, rank 𝑶𝑴 = 3
𝑶𝑴 = =
𝑪𝑨 −20 −16 ⟹ system is observable
det 𝑶𝑴 = 0, rank 𝑶𝑴 < 3 ⟹ system is unobservable
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 77 Design via State Space System Dynamics and Control 78 Design via State Space
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
13
04/12/2020
System Dynamics and Control 79 Design via State Space System Dynamics and Control 80 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
- Consider the controlled system - Rewritten as augmented vectors and matrices
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢, 𝑦 = 𝑪𝒙 (12.112) 𝒙ሶ 𝑨 𝟎 𝒙 𝑩 𝟎 𝒙
= + 𝑢+ 𝑟, 𝑦 = 𝑪 0 𝑥 (12.113)
𝑟 𝑢
𝑩
𝒙ሶ 𝒙
𝑪
𝑦 𝑥𝑁ሶ −𝑪 𝟎 𝑥𝑁 0𝑁 1 𝑁
but
𝑨 𝒙
𝑢 = −𝑲𝒙 + 𝐾𝑒 𝑥𝑁 = − 𝑲 −𝐾𝑒 𝑥 (12.114)
𝑲 𝑁
- An additional state variable 𝑥𝑁 has been added at the output of - Substituting Eq. (12.114) into (12.113) and simplifying
the leftmost integrator. The error is the derivative of this variable 𝒙ሶ 𝑨 − 𝑩𝑲 𝑩𝐾𝑒 𝒙 𝟎 𝒙
= + 𝑟, 𝑦 = 𝑪 0 𝑥 (12.115)
𝑥𝑁 ሶ −𝑪 𝟎 𝑥𝑁 1 𝑁
𝑥ሶ 𝑁 = 𝑟 − 𝑪𝒙 (12.111)
𝑟 𝑒 𝑥𝑁 𝑢 𝒙ሶ 𝒙 𝑦 The system type has been increased, and we can use the
𝑲𝒆 𝑩 𝑪 characteristic equation associated with Eq. (12.115) to design
𝑨
𝑲 and 𝐾𝑒 to yield the desired transient response
𝑲
𝑥ሶ 𝑁 = 𝑟 − 𝑪𝒙 = −𝑪𝒙 + 𝒓 (12.111), 𝒙ሶ = 𝑨𝒙 + 𝑩𝑢, 𝑦 = 𝑪𝒙 (12.112)
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 81 Design via State Space System Dynamics and Control 82 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
- Ex.12.10 Design of Integral Control 𝑠 2 + 16𝑠 + 183.1 (12.117)
Consider the plant 𝑠 2 + (5 + 𝑘2 )𝑠 + (3 + 𝑘1) (12.118)
0 1 0 Equating the coefficients of the above two Eqs. to get
𝒙ሶ = 𝒙+ 𝑢, 𝑦 = 1 0 𝒙 (12.16)
−3 −5 1
𝐾 = 𝑘1 𝑘2 = 180.1 11 (12.19)
a.Design a controller without integral control to yield a 10%
From Eqs. (12.3), the controlled plant with state-variable
overshoot and a settling time of 0.5𝑠. Evaluate the steady-
feedback represented in phase variable form
state error for a unit step input
0 1 0
b. Repeat the design of (a) using integral control. Evaluate the 𝒙ሶ = 𝑨 − 𝑩𝑲 𝒙 + 𝑩𝑟 = 𝒙+ 𝑟 (12.120)
−183.1 −16 1
steady-state error for a unit step input 𝑦 = 𝑪𝒙 = 1 0 𝒙
Solution Using Eq.(7.96), the steady-state error for a step input
a.From 𝑇𝑠 and %𝑂𝑆 the desired characteristic polynomial 0 1
−1
0
𝑒 ∞ =1+ 1 0 = 0.995 (12.121)
𝑠 2 + 16𝑠 + 183.1 (12.117) −183.1 −16 1
The characteristic polynomial for the controlled plant 𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 𝑨𝒙 + 𝑩 −𝑲𝒙 + 𝑟 = 𝑨 − 𝑩𝑲 𝑥 + 𝑩𝑟, 𝑦 = 𝑪𝒙 (12.3)
𝑠 2 + (5 + 𝑘2 )𝑠 + (3 + 𝑘1) (12.118) 𝑒 ∞ = 1 − 𝑦𝑠𝑠 = 1 − 𝑪𝑽 = 1 + 𝑪𝑨−1 𝑩 (7.96)
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 83 Design via State Space System Dynamics and Control 84 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
b.Use Eqs. (12.115) to represent the integral-controlled plant 𝑥ሶ 1 0 1 0 𝑥1 0
𝑥ሶ 1 0 1 0 0 𝑥1 0 𝑥ሶ 2 = −(3 + 𝑘1 ) −(5 + 𝑘2 ) 𝐾𝑒 𝑥2 + 0 𝑟
− [𝑘 𝑘2 ] 𝐾 𝑥ሶ 𝑁 0 𝑥𝑁
𝑥ሶ 2 = −3 −5 1 1 1 𝑒 𝑥2 + 0 𝑟 −1 0 1
𝑥ሶ 𝑁 −[1 0] 0 𝑥𝑁 1 𝑥1
0 1 0 𝑥1 0 𝑦 = 1 0 0 𝑥2
= −(3 + 𝑘1 ) −(5 + 𝑘2 ) 𝐾𝑒 𝑥2 + 0 𝑟 𝑥𝑁
−1 0 0 𝑥𝑁 1 Augment (12.117) with a third pole, 𝑠 + 100, which has a real part
𝑥1 greater than five times that of the desired dominant 2nd-order poles.
𝑦 = 1 0 0 𝑥2 (12.122) The desired 3rd-order closed-loop system characteristic polynomial
𝑥𝑁 𝑠 + 100 𝑠 2 + 16𝑠 + 183.1
1
Using (12.16), (3.73), the TF of the plant, 𝐺 𝑠 = 2 = 𝑠 3 + 116𝑠 2 + 1783.1𝑠 + 18,310 (12.123)
𝑠 + 5𝑠 + 3
The characteristic polynomial for the system of Eqs. (12.112)
0 1 0
𝒙ሶ =
−3 −5
𝒙+
1
𝑢, 𝑦 = 1 0𝒙 (12.16) 𝑠 3 + (5 + 𝑘2 )𝑠 2 + (3 + 𝑘1 )𝑠 + 𝐾𝑒 (12.124)
𝑌(𝑠) −1 𝑩 + 1
𝑇 𝑠 = 𝑈(𝑠)
= 𝑪 𝑠𝑰 − 𝑨 𝑫 (3.73) 𝐺 𝑠 = 𝑠2 +5𝑠+3 , 𝑠 2 + 16𝑠 + 183.1 = [𝑠 − (8 − 10.9133𝑖)][𝑠 − (8 + 10.9133𝑖)] (12.117)
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
14
04/12/2020
System Dynamics and Control 85 Design via State Space System Dynamics and Control 86 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
𝑠 + 100 𝑠 2 + 16𝑠 + 183.1 In order to check our assumption for the zero, now find the
= 𝑠 3 + 116𝑠 2 + 1783.1𝑠 + 18,310 (12.123) closed-loop TF
18,310
𝑠 3 + (5 + 𝑘2 )𝑠 2 + (3 + 𝑘1 )𝑠 + 𝐾𝑒 (12.124) 𝑇 𝑠 = 𝑪 𝑠𝑰 − 𝑨 −1𝑩 + 𝑫 = 3 (12.127)
𝑠 +116𝑠2 +1783.1𝑠+18,310
Matching coefficients from Eqs. (12.123) and (12.124)
The TF matches our design ⟹ The desired transient response
𝑘1 = 1780.1, 𝑘2 = 111, 𝐾𝑒 = 18,310 (12.125)
The steady-state error for a unit step input
Substituting these values into Eqs. (1.122) yields this closed-
loop integral control system 𝑒 ∞ = 1 + 𝑪𝑨−1 𝑩 (7.96)
−1
𝑥ሶ 1 𝑥1 0 1 0 0
0 1 0 0
𝑥ሶ 2 = −1783.1 −116 18,310 𝑥2 + 0 𝑟 = 1 + 1 0 0 −1783.1 −116 18,310 0 =0
𝑥ሶ 𝑁 𝑥𝑁 −1 0 0 1
−1 0 0 1
The system behaves like Type 1 system (12.128)
𝑦 = 1 0 0 𝑥1 𝑥2 𝑥3 𝑇 (12.122)
𝑥ሶ 1 0 1 0 𝑥1 0 𝑥1 𝑥ሶ 1 0 1 0 𝑥1 0 𝑥1
𝑥ሶ 2 = −(3 + 𝑘1 ) −(5 + 𝑘2 ) 𝐾𝑒 𝑥2 + 0 𝑟, 𝑦 = 1 0 0 𝑥2 (12.122) 𝑥ሶ 2 = −(3 + 𝑘1 ) −(5 + 𝑘2 ) 𝐾𝑒 𝑥2 + 0 𝑟, 𝑦 = 1 0 0 𝑥2 (12.122)
𝑥ሶ 𝑁 −1 0 0 𝑥𝑁 1 𝑥𝑁 𝑥ሶ 𝑁 −1 0 0 𝑥𝑁 1 𝑥𝑁
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 87 Design via State Space System Dynamics and Control 88 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
Skill-Assessment Ex.12.7 𝑠 2 + 2.3𝑠 + 3.79 = 0 (*)
Problem Design an integral controller for the plant The characteristic polynomial for the controlled plant
0 1 0 𝑠 2 + 9 + 𝑘2 𝑠 + 7 + 𝑘1 = 0 (**)
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 𝒙+ 𝑢
−7 −9 1 Equating the coefficients of the above two Eqs. to get
𝑦 = 𝑪𝒙 = 4 1 𝒙
𝐾 = 𝑘1 𝑘2 = −3.21 −6.70
to yield a step response with 10% overshoot, a peak
The controlled plant with state-variable feedback
time of 2s and zero steady-state error
0 1 0
Solution The desired characteristic equation 𝒙ሶ = 𝑨 − 𝑩𝑲 𝒙 + 𝑩𝑟 = 𝒙+ 𝑟
−3.79 −2.30 1
ln %𝑂𝑆/100 ln 10/100 𝑦 = 𝑪𝒙 = 4 1 𝒙
𝜉=− =− = 0.591
𝜋2 + 𝑙𝑛2 %𝑂𝑆/100 𝜋2 + 𝑙𝑛2 10/100 The steady-state error for a step input
𝜋 4 0 1
−1
0
𝜔𝑛 = = = 1. 948𝑟𝑎𝑑/𝑠 𝑒 ∞ =1+ 4 1 = −0.0554
𝑇𝑝 1 − 𝜉 2 2 1 − 0. 5912 −3.79 −2.30 1
⟹ 𝑠 2 + 2𝜉𝜔𝑛 𝑠 + 𝜔𝑛2 = 𝑠 2 + 2.3𝑠 + 3.79 = 0 (*) 0 1 0
𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 𝒙+ 𝑢, 𝑦 = 𝑪𝒙 = 4 1 𝒙, 𝑒 ∞ = 1 − 𝑦𝑠𝑠 = 1 + 𝑪𝑨−1 𝑩
−7 −9 1
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
System Dynamics and Control 89 Design via State Space System Dynamics and Control 90 Design via State Space
§8.Steady-State Error Design via Integral Control §8.Steady-State Error Design via Integral Control
The integral-controlled plant The TF of the original system
𝑥ሶ 1 0 1 0 𝑥1 0 𝐺 𝑠 = 𝑪 𝑠𝑰 − 𝑨 −1 𝑩
𝐾
𝑥ሶ 2 = −3.79 −2.30 1 𝑒 𝑥2 + 0 𝑟 𝑠 −1
−1
0
𝑥ሶ 𝑁 −[4 1] 0 𝑥𝑁 = 4 1
1 7 𝑠+9 1
0 1 0 𝑥1 0 𝑠+9 1
= −3.79 −2.30 𝐾𝑒 𝑥2 + 0 𝑟 = 4 1
−7 𝑠 0
−4 −1 0 𝑥𝑁 1 𝑠 𝑠+9 +7 1
𝑥1 𝑠+4
𝑦 = 1 0 0 𝑥2 = 2
𝑠 + 9𝑠 + 7
𝑥𝑁
Adding a pole at −4 which corresponds to the original
system’s zero location, yield the characteristic equation
𝑠2 + 2.3𝑠 + 3.97 = 0 𝑠 + 4 = 𝑠3 + 6.3𝑠2 + 13𝑠 + 15.16
𝒙ሶ 𝑨 − 𝑩𝑲 𝑩𝐾𝑒 𝒙 𝟎 𝒙 0 1 0
= + 𝑟, 𝑦 = 𝑪 0 𝑥 (12.115) 𝒙ሶ = 𝑨𝒙 + 𝑩𝑢 = 𝒙+ 𝑢, 𝑦 = 𝑪𝒙 = 4 1 𝒙
𝑥𝑁ሶ −𝑪 𝟎 𝑥𝑁 1 𝑁 −7 −9 1
HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien
15