Professional Documents
Culture Documents
MATLAB/SIMULINK
Enormous
calculation
of
proportional-integral
(Z-N) method,
this paper
1
Kp (l + - + Tn s )
0s
(2)
engineering.
PID contro
Parameters tuning
1.
INTRODUCTION
The PID control offers the simplest and yet most efficient
solution for many real world control problems with its three
term functionality covering treatment. Since the invention of
PID control in 1910 (largely owning to Elmer Sperry's ship
autopilot), and the Zieler-Nichols' (Z-N) straight forward
1]
tuning methods in 1942 , the popularity of PID control has
grown tremendously. The science of automatic control has
kinds of control schemes with the development of
technology. However, more than 90% of industrial
controllers are still implemented based around PID
algorithms, particularly at lowest levels [2], as no other
controllers match the simplicity, clear functionality,
t3
applicability, and ease of use offered by the PID controller ]
Matlab/Simulink is an interactive tool for modeling,
simulating, and analyzing dynamics ystems [4] It has been
assisting engineers to design and test system models for
different fields of engineering and enables engineers to build
graphical block diagrams, evaluate system performance, and
refine their designs. It provides a deep understanding of
system parameters and how they affect its performance.
This paper presents PID fundamentals and software
modules developed in Matlab/Simulink for tuning PID
controllers. To begin with, Section II highlights PID
fundamentals and crucial issues. Section III moves to focus
on implementing of Matlab/Simulink in PID tuning control.
Section IV is the conclusion of this paper.
II.
dependent in tuning.
Rise Time
Overshoot
Response
Increasing
K"
Decrease
Increase
I AND D TUNING
Setting
Sready
Time
State Error
Stability
Small
Decrease
Degrade
Large
Degrade
Increase
Increasing
Small
Increase
Increase
Decrease
Decrease
Decrease
Increasing Kd
Small
Decrease
Decrease
Minor
hnprove
Change
RELATED WEORK
408
A.
Gv(s)
TABLE I!.
Control Type
P
PI
classic PIn
Pessen Integral
Rule
Some
overshoot
no overshoot
iz
Ku/2.2
6K
K
ic
ic
ic
10
10
33
2K
Kd
10
ic
10
;;;
1.2K
p.
;;;
;;;
K.P
;;;
K.P
2K
p.
2.5K
2K
p.
;;;
2K
p.
p.
/s
O. 15K.P.
;{
;{
K.P
1)
=
=
1/(7 s + 1)(3s + 1)
(3)
1/(9s + 1)
(4)
(5)
1.0
algorithms in Simulink.
Figure 1.
Plant:
A
system
to
be
controlled.
Controller: Provides the excitation for the plant that designed
to control the overall system behavior.
Calculate the PID controller setting using the Ziegler
Nichols Tuning method then it is verified in
Matlab/Simulink. Open a new Simulink window and drag
and-drop all necessary blocks to simulate the process.
2)
Seting PID parameters names
PID parameters can be given by clicking"gain" model or
writing in"command window" and simulation time can be
chosen clicking"parameters" menu. Generally, the longer
that simulation time, the higher of precision and higher
resolution curve will be obtained. Given the lack of
resolution of Simulink, so we can move the simulation
results to"workspace". After that, the simulation results will
be analyzed by plotting the simulating curve.
The controller parameters must be defined. Figure 2
clarifies the model develop in Simulink to simulate the
feedback controller system. Double clicking the three models:
"gain", "gainl" and"gain2", inputting" K ", "K " and
p
409
"
Kd
Figure 2.
3)
Tuning PID parameters
In step 3, PID tuning is realized according to Ziegler
Nichols method.
Figure 6.
B.
..... :!;Q !I
g_
. -l:.:. ...J :
Figure 7.
.L.,;.J
.. .
"'.
,.....0:.... '
;.
,...
to
obtain
related
parameters
K = 1.8; K, = 0.2624;Kd = 0.455
p
Figure 8.
as
following:
Figure 4.
-r:: .
While
1_
5s+ 1
Figure 9.
Figure 5.
CONCLUTION
410
automatic
[ 2]
[3]
[4]
[5]
Kiam Heong Ang, Gregory Chong, and Yun Li. PID Control System
Analysis, Design, and Technology. IEEE Transactions on control
system system techonology,13(4),2005.
[6 ]
[7 ]
[8 ]
[ 9]
RGorez, "AsurveyofpIDauto-tuningmethods,"J.A,
pp.3-l0,1997.
vo1.38, no. 1,
2007.
411