The Practice of MATLAB Simulation in Modern Control Theory Course Teaching
The Practice of MATLAB Simulation in Modern Control Theory Course Teaching
net/publication/261132019
CITATIONS READS
4 255
2 authors, including:
Liu Lina
Shandong University of Technology
10 PUBLICATIONS 20 CITATIONS
SEE PROFILE
All content following this page was uploaded by Liu Lina on 07 September 2016.
Abstract—Modern control theory is one of the basic Simulink is an important one of the components, which
professional course for the senior undergraduates, such as provides an integrated environment to the user, such as
automation, electrical engineering and automation specialties. It dynamic systems modeling, simulation and comprehensive
has the characteristics of higher theoretical definition and analysis. In this environment, the user does not need to write a
abstraction, bigger calculated amount, degree of depth and large number of procedures, but only to operate the mouse
complexity, and the students should have well-knit
simply, select appropriate library modules. Then complex
mathematical foundation. The study can be made more
interesting and challenging by introducing the simulation simulation model can be constructed. Simulink has many
technology into course teaching. By applying MATLAB advantages, such as wide adaptability, structure and
language and Simulink simulation tools, combining with the procedure clearer, more precise simulation etc [3], [4].
teaching examples, the system synthesis design problem in In the teaching process, graphical and interactive of the
modern control theory course can be dealt with very easy. A main teaching contents maybe realized easily through the
closed-loop control system with full-order state observer is organic combination of MATLAB language, Simulink and
designed. The design process shows that fundamental changes in the multimedia courseware of modern control theory. To do
modern control theory course teaching have been made by this, the teaching process will be more vivid and visual, and
MATLAB language and Simulink tools. The teaching process is
the learning interest is excited. Meanwhile, it is helpful to
converged to the combination of practical engineering case and
vivid teaching from original dry pure theory teaching. strengthen the comprehension of abstract theory knowledge,
obtain some engineering practice knowledge, and enhance
I. INTRODUCTION analysis ability of the students. In this paper, MATLAB
language and Simulink simulation tools are briefly introduced
M ODERN control theory is one of the basic professional
courses for the senior undergraduates, such as
automation, electrical engineering and automation
into the control system design applications. The practice
proved that fundamental changes have been made by
MATLAB language and Simulink tools in modern control
specialties. It is also suitable for some specialties as a public theory course teaching. The teaching process is converged to
technology course, such as the electrical information class, the combination of practical engineering case and vivid
electro-mechanical class and the economics and management teaching from original dry pure theory teaching.
specialties and so on. The basic task of this course is studying
the methods of linear system analysis and synthesis. It has the II. SYNTHESIS DESIGN OF MODERN CONTROL THEORY
characteristics of higher theoretical definition and
abstraction, bigger calculated amount, degree of depth and The study object of modern control theory is linear system,
complexity, and the students should have well-knit the study purpose is to construct a state space model of the
mathematical foundation [1], [2]. Due to the complexity of linear system firstly, and then analysis and synthesis the
matrix operation and the abstraction of course, it is difficult linear system. The mainly contents are time analysis ǃ
for the students to understand and mastery the contents, even Lyapunov stability analysisǃcontrollability and observability
produce disgusted mood. By introducing the simulation analysisǃstate feedback and state observer design and so on.
software MATLAB into the modern control theory course In modern control theory, two ways are mainly used to
teaching, it maybe helpful to solve these problems. improve the system performance. One is state feedback, the
MATLAB is the abbreviation of Matrix Laboratory, and is other is output feedback. The attributes and feedback function
a business mathematics software of America MathWorks of state feedback are higher than these properties of output
company. It is commonly used in algorithm development, feedback. Therefore, the state feedback method is usually
data visualization, data analysis, numerical calculation and so used to improve the system performances during system
on, mainly contains two parts: MATLAB and Simulink. Now synthesis design. For a completely controllable linear
it has become one of the basic mathematical tools of time-invariant system, the poles of closed loop system can be
automatic control, dynamic simulation, modern control arbitrary assigned via state feedback, so that the desired
theory, intelligent control and other advanced courses. dynamic characteristics can be obtained. This process is
called a poles placement problem. However, in commonly
cases, the system state is not necessarily measurable. This
L Liu, corresponding author, is with the Department of Electrify and makes the realization of state feedback is difficult in physics.
Electronic, Shandong University of Technology, Zibo, 255049,
Shandong,PRC(Phone: 13561645280, E-mail: [email protected]) Therefore, the system states are needed to be reconstructed
J Hu, is with the Department of Electrify and Electronic, Shandong through some known variables. This process is called a state
University of Technology, Zibo, 255049, Shandong, PRC (E-mail: observer design problem. In the traditional teaching process,
[email protected])
897
According to the constraint relationship (11) between the
observer poles and the expected poles of closed-loop system,
the observer poles can be set to be s1, 2 = −21 .
Fig. 2. black diagram of a control system
Please design a closed-loop control system with a C. MATLAB Design Of The State Feedback Control Law
full-order state observer, the performance indexes which And Observer
should be satisfied are listed as follows: Input the instructions at the MATLAB command window:
1) Dynamic performance indexes: overshoot: σ % ≤ 5% ; a) % whether the system poles can be placed arbitrarily?
peak time: t p ≤ 0.5s ; band width: ωb ≤ 10rad / s . >>A=[0 1;0 -5];b=[0 1]';
>>Qc=ctrb(A,b); nc=rank(Qc)
2) Steady state performance index: static position error : nc =
e p = 0 (for the step input). 2
The design and simulation process of the closed-loop % poles placement is realized by applying place function
control system with a full-order state observer is illustrated as >>P=[- sqrt(50)+sqrt(-50);- sqrt(50)-sqrt(-50)];
follows. >>K=place(A,b,P)
K=
A. Determine The State Space Description Of Original 100.0000 9.1421
System % inspect whether the poles of the new system are the
According to the system block diagram, we can obtain expected closed-loop poles
1 >>Ac=A-b*K;
X 1 ( s) = X 2 ( s)
s >>D=eig(Ac)
1 D=
X 2 ( s) = U ( s) -7.0711 + 7.0711i
s+5 -7.0711 - 7.0711i
Y ( s) = X 1 (s ) From the results, we can see that the poles of the new
Rewriting them and by introducing inverse Laplace system are the expected poles. Thus, the state feedback gain
transform we can obtain that matrix is
x1 = x2 K = [100 9.14]
®
¯ x2 = −5 x2 + u By introducing the state feedback control law (2), the poles
y = x1 of the closed-loop system can be placed at the expected
locations, − 7.07 + j 7.07,−7.07 − j 7.07 .
The differential equations above are expressed in matrix
form notation as b) % whether a full-order observer can be designed?
>>A=[0 1;0 -5];b=[0 1]';c=[1 0];
ª x1 (t ) º ª0 1 º ª x1 (t ) º ª0º
« x (t )» = «0 − 5» « x (t )» + «1»u (t ) >>Qo=obsv(A,c); nc=rank(Qo)
¬ 2 ¼ ¬ ¼¬ 2 ¼ ¬ ¼ nc =
ª x (t ) º 2% calculate the feedback gain matrix by applying acker
y = [1 0]« 1 » function
¬ x2 (t ) ¼ >>P1=[-21 -21]; A1=A';b1=c'; c1=b';
This is the state space description of the original system. >>K=acker(A1,b1,P1);
B. Determine The Expected Closed-loop Poles >>L=K'
>>ALc=A-L*c
In order to satisfy the demand of overshoot: σ % ≤ 5% , L=
optimal damping ratio ξ = 0.707 is chosen, and σ = 4.3% 35
satisfies the demand about overshoot. 225
ALc =
Due to the demand of system band width: ωb ≤ 10rad / s ,
-35 1
ωb = ωn 1 − 2ξ 2 + 2 − 4ξ 2 + 4ξ 4 -225 -5
and , substitutes ξ = 0.707 Thus, the feedback gain matrix of the full order observer is
into it, ωn = ωb ≤ 10rad / s can be deduced. ª 35 º
L=« »
ωn = 10rad / s is selected. ¬225¼
π and the full order observer is
Here, peak time t p = ≈ 0.45s satisfies the
ωn 1 − ξ 2 Xˆ (t ) = ( A − Lc) Xˆ (t ) + bu (t ) + Ly (t )
demand of peak time t p ≤ 0.5s . ª − 35 1ºˆ ª0 º ª 35 º
=« » X (t ) + « »u (t ) + « » y (t )
The expected poles of the closed-loop system are ¬− 225 − 5¼ ¬1 ¼ ¬225¼
s1, 2 = −ξωn ± jωn 1 − ξ 2 = −7.07 ± j 7.07 Block diagram of the closed-loop system with a full-order
. state observer is shown in Fig.3.
898
Fig. 5. The Unit Step Response Curve of the Closed-loop System
Form Fig.5, we can see that the overshoot, peak time and
static position error of the closed-loop system with the
full-order state observer all satisfy the design demands, the
expected design target is achieved. The example above is a
typical system synthesis design problem by using MATLAB
and Simulink simulation tools. It can be seen that the poles
placement and observer design process can be vividly and
visually seen through the simulation tools. Meanwhile, the
unit step response curve can be mapped directly. And then,
from the given unit step response curve, various performance
indexes can be directly red out, tedious computation is
avoided, enthusiasm of students and teaching quality are
Fig. 3. Block Diagram of the Closed-loop System with greatly improved.
a Full-order State Observer
REFERENCES
[1] S. Y. Zhang, L. Q. Gao. Morden control thoery, Tsinghua university
publishing house, Beijing, Oct.2006, pp. 56-59,99-102,161-178.
[2] J. Hu, L. N. Liu. Morden control thoery, Defense industry publishing
house, Beijing, May. 2012, pp.27-52.
[3] Z. Y. Zhang, Z. Y. Yang. A course in MATLAB. Beijing university of
aeronautics and astronautics publishing house, Beijing, Aug.006, pp.
173-191.
[4] Y. B. Liang㧘L. H. Zhang. “Applications of Simulink simulation in
modern control systems,” Journal of Zhoukou NormaI University,
Zhoukou, Vo.l28.No.5, pp.42-43,Sep. 2011.
• • • • 4.3%
• • • • • 0
0.5
• • • • • 0.45s
-0.5
1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3
t
899