DC Motor Speed Control Using Pid Controller: June 2005
DC Motor Speed Control Using Pid Controller: June 2005
DC Motor Speed Control Using Pid Controller: June 2005
discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/310416585
CITATIONS READS
0 872
1 author:
Fatiha Loucif
Université 8 mai 1945 - Guelma
1 PUBLICATION 0 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Fatiha Loucif on 16 November 2016.
Abstract. The PID controller design and choosing PID parameters according to system response are proposed in this paper. Here
PID controller is employed to control DC motor speed and Matlab program is used for calculation and simulation. Choosing PID
parameters are demonstrated by several contrast experiments and a way for setting PID parameters values is discussed.
Keywords: PID controller, DC motor, Matlab representation, P control, PI control, PID control.
e = emf = ke × θ& .
matrices as follows
T = kt × i .
num =k
den :=(J*s +b)*(L*s+R) +k^ 2
In SI units (which we will use),kt (armature constant) is equal
*The m-file is as follow (program 1):
to ke (motor constant) .
J=0.01;
From the figure above we can write the following equations
based on Newton’s law combined with kirchhoff`s law: b=0.1;
k=0.01;
J × θ&& + b × θ& = k × i .
R=1;
di
L × + R × i = V − k × θ&. L=0. 5;
dt num=k;
den=[(J*L) ((J*R)+(L*b)) ((b*R) + k^2)];
2.2 Transfer function: Step (num, den, 0:0.1:3)
Title (`step response for the open- loop system `)
Using Laplace transforms, the above modeling equations can
be expressed in terms of s.
S ( J × s + b) × θ ( s ) = k × i ( s ).
( L × s + R) × i ( s) = V − k × s × θ ( s).
ICCAS2005 June 2-5, KINTEX, Gyeonggi-Do, Korea
calculation results was assumed in Table 1, and the
corresponding plots was gathered in Fig. 4:
Table 1
Maximum
Steady
Rise overshoot Peak
kp State
time(sec) (%) amplitude
error
10 0.488 / 0.5 0.5
0 0.301 / 0.334 0.681
50 0.158 / 0.167 0.94
70 0.125 4 0.125 1.04
100 0.097 14 0.091 1.14
200 0.064 32 0.048 1.32
300 0.051 41 0.032 1.41
5- PROPORTIONAL CONTROL:
Maxi-
Rise Peak
mum Steady
settling time amplitu-
ki oversh state
time(sec) (sec) de
-oot error
(%)
1 / 0.111 13.6 0.088 1.14
10 / 0.11 14.4 0.067 1.14
20 / 0.11 15.3 0.05 1.15
50 2.69 0.107 17.9 0.017 1.18
100 1.03 0.104 22.2 0.001 1.22
200 0.774 0.098 30.5 0 1.3
Now we see that the response is much faster than before; the
settling time becomes (0.774 sec) for ki=200, and the
steady-state error becomes very small and eliminated for
ki=200.
7-PROPORTIONAL-INTEGRAL-DERIVATIV
E CONTROL (PID):
Now, we increase the gain kd, with kp=100;ki=200. All
results are illustrated in the Table 3 and the corresponding
plots are shown in Fig. 6. Fig. 7 system closed loop response with PID control.
From the results we see that the settling time reduced from
(0.58 sec to 0.257sec) for (kd=1 to kd=10) and the overshoot
from (23% to 1.03%) and there is small change in the rise Effects of PID controllers parameters kp, ki and kd on a closed
time. loop system are summarized in the table bellow.
Table 3
Rise Maxi-
Steady Peak
settling time mum
kd state amplitude
time(sec) (sec) oversh
error
oot(%)
1 0.588 0.106 23 0 1.23
3 0.403 0.116 12.6 0 1.13
5 0.419 0.121 6.09 0 1.06
8 0.201 0.127 1.43 0 1.01
10 0.257 0.132 1.03 0 1.01
ICCAS2005 June 2-5, KINTEX, Gyeonggi-Do, Korea
Table 4
Maximum settling
closed Rise Steady-
Overshoot
loop time State
(%) time
response (sec) error
(sec)
as the decrease increase Small
increase change decrease
of kp
as the decrease increase increase
increase eliminate
of ki
as the Small decrease decreas-
increase change e Small
of kd change
CONCLUSION:
From the experimental results we know that the proportional
controller (kp) will have the effect of reducing the rise time
and will reduce; but never eliminate the steady-state error, an
integral control (ki) will have the effect of eliminating the
steady-state error, but it may make the transient response
worse .a derivative control (kd) will have the effect of
increasing the stability of the system, reducing the overshoot,
and improving the transient response.
REFERENCES