Simulation DC Motor Speed Control System by Using PID Controller
Simulation DC Motor Speed Control System by Using PID Controller
Volume: 3 | Issue: 4 | May-Jun 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 - 6470
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1418
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
1. The input of the system is the voltage source (V) applied to The following open-loop transfer function by eliminating I(s)
the motor's armature, while the output is the rotational between the two above equations, where the rotational
speed of the shaft . The rotor and shaft are assumed to be speed is considered the output and the armature voltage is
considered the input
rigid. A viscous friction model, that is, the friction torque is
proportional to shaft angular velocity. (rad/sec/V) (7)
(6)
Fig.2 Block Diagram of PID Controller
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1419
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
The output of the PID control circuit, u(t), is given as
(11)
Where:
u(t) = Manipulated Variable
Kp = Proportional Gain
Ki = Integral Gain
Kd = Derivative Gain
e(t) = Error
A. PID Function
PID is a control method or mode that has three functions or
variables. The proportional action dampens process
response. The integral corrects for droop. Droop is the Fig.4 Response of A Closed Loop System with Dead-
difference in process variable between the process set point Time
and the actual process output. The set point is the desired
value of process variable. The derivatives minimize the Mathematically, the PID controller can be expressed as in
amounts of overshoot and undershoot. Overshoot is the Equation 3.5.
amount of process variable that exceeds the set point value 1
t
de(t )
before the process stabilizes. Process stabilization is u (t ) = K c e(t ) + ∫ e τ (τ ) + Td (12)
achieved when the set point and process variable value are Ti 0 dt
equal over a defined period of time. Undershoot is the
amount of process variable that falls below the set point t
de(t )
value before the process stabilizes.[4] u (t ) = K c e(t ) + K i ∫ e τ (τ ) + K d (13)
0
dt
1
G ( s) = K c 1 + + sTd (14)
sTi
Fig.3 Response of A Typical PID Closed Loop System
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1420
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
A. Simulink Model of DC Motor Speed Control with PID Controller
For this paper, speeds control of DC motor use with PID controller. In Figure 5 was modeled using MATLAB/ Simulink. In
simulation, step input is 1 second and output is stable in 3 seconds.
B. Model of DC Motor
The above figure was simulated for step input time is 1 second, output time was stable in 3 seconds.
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1421
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
TABLE.3 Closed Loop Response of DC Motor
Controller Gain Rise Time(sec) Maximum Overshoot (%) Settle time(sec) Peak Amplitude
- - 0 - 0.0196
In a closed-loop control system the actuating error signal, which is the difference between the input signal and the feedback
signal, is fed to the controller so as to reduce the error and bring the output of the system to a desired value. The term closed-
loop control always implies the use of feedback control action in order to reduce system error.
When DC motor speed is controlled with only P controller, overshoot and settling time are over 5% and 2 second.
When DC motor speed is controlled with PI controller, overshoot is under 5% but there is no settling time.
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1422
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
TABLE.6 DC Motor with PID Controller (Before Tuning)
Controller Gain Rise Time(sec) Maximum Overshoot (%) Settle time(sec) Peak Amplitude
KP=61.09 0.132 17.2 0.665 1
Ki= 186.6 0.163 1.83 0 1
Kd= 4.36 0.177 6.98 0.794 1.07
When DC motor speed is controlled with PID controller, overshoot and settling time are over 5% and 2 second. So, simulation
results to reduce overshoot and settling time by using automatic tuning method.
Controller Gain Rise Time(sec) Maximum Overshoot (%) Settle time(sec) Peak Amplitude
KP=17.45 0.132 17.2 0.665 1
Ki= 48.49 0.163 1.83 0 1
Kd= 1.507 0.528 4.73 1.67 1.05
After tuning, overshoot and settling time are under 5% and 2 second. When tuning results of controller gain, rise time and peak
amplitude changes. This simulation result is the mathematical simulation of DC Motor speed control system by using PID.
@ IJTSRD | Unique Paper ID – IJTSRD25114 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 1423