Dynamic Model Analysis of A DC Motor in MATLAB
Dynamic Model Analysis of A DC Motor in MATLAB
ISSN 2229-5518
Abstract— In this paper, modeling of a DC motor is performed by using generalized equation in MATLAB and also analysis of its
performance through a speed control using Proportional Integral Derivative controller. Basically DC motors have some important
application like electric traction, robot manipulators, and industrial applications. Due to the simplicity in operation conventional Proportional
Integral Derivative controller is used as a control strategy. Here performance analysis of the modeled DC motor is performed through a
speed control by programming in MATLAB using Proportional Integral Derivative controller.
—————————— ——————————
1 INTRODUCTION
IJSER
lems are solved by the help of this model.
always a good ground for advanced control algorithm.
The control characteristics of these motors have resulted to 3.1 Physical System
their immense use and hence control of their speed are re- Figure 1 depicts the electrical circuit and free body of a closed
quired. Speed of a DC motor depends on supply voltage, ar- loop system of DC motor.
mature resistance and field flux produced by the field current.
The methods to control speed of these motors are armature
voltage control, armature resistance control and field flux con-
trol.
PID (Proportional Integral Derivative) controllers are exten-
sively operated in control applications in industries due to
their mathematical modeling, easy operation, good robust-
ness, high reliability, elimination of steady state error. As a
Figure 1: Free body diagram of armature of a DC motor
result, PID controllers are used to control the speed of a DC
motors. Here, V is the input armature voltage. The DC motor is ana-
In this paper, modeling of a DC motor is performed and also lysed by either state space model or Laplace transform. In this
its performance is analysed through a speed control using PID paper, we discussed about the dynamic model of dc motor by
controller. state space equations as well as Laplace transform equations.
IJSER
put and velocity and angle as output.
3.3 Laplace Transform Expression 4.2 Simulation Results
In control system, analysis and design of technologies are ap- Here two types of analysis i.e. Time-Domain Analysis and
plied for development in real-time. The analysis of DC motor Frequency-Domain Analysis is depicted. These two responses
can be done easily by Laplace transform. are analysed in the modeled DC motor by MATLAB m-file.
The Laplace transform of Equation (2) is given as: (A) Time-Domain Responses
Js 2θ ( s ) + bsθ ( s ) =
KI ( s ) (2.1)
Here the step and impulse response of the modeled DC motor
is depicted from Figure 3 to 6.
LsI ( s ) + RI ( s ) =V ( s ) − Ksθ ( s ) (2.2)
IJSER © 2017
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 8, Issue 3, March-2017 59
ISSN 2229-5518
4.3 Performance Analysis
The performance of the DC motor whose modeling is done
here is analysed by using a PID controller for speed control
test. The block diagram of PID controller with closed loop is
depicted in Figure 9.
IJSER
Here, U = controller output
Figure 6: Impulse response of angle
E = controller input
(B) Frequency-Domain Responses
K p = proportional gain
Here the bode response of the modeled DC motor is depicted
from Figure 7 and 8. K i = integral gain
K d = derivative gain.
Now with necessary PID commands the program is made to
run and the graph obtained is depicted in Figure 10.
Figure 10: Closed loop step response of a DC motor using PID controller
IJSER © 2017
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 8, Issue 3, March-2017 60
ISSN 2229-5518
be attempted.
5 RESULT AND DISCUSSION 3) To control the speed by SEPIC converter when DC
A model of a DC motor using the generalized equation in supply is Solar energy.
MATLAB is obtained and the time domain and frequency
domain responses for both step, impulse and bode plot is re- ACKNOWLEDGMENT
spectively discussed. It is a pleasant task to express our gratitude to all those who
To do the modeling and simulation of DC motor, the follow- have accompanied and help us in this work.
ing steps are followed: Our heart-felt thanks to our family members for their moral
1) The DC motor circuit diagram is represented. support and encouragement, without which the work would
2) The system equations are created. not have been possible. Last but not least, we extend our
3) The transfer function is calculated. thanks and appreciation to everyone who have helped us di-
4) Then the model block diagram is prepared. rectly or indirectly to complete this work.
5) The is done to simulate the model in programming
MATLAB. REFERENCES
6) And finally the performance analysis is carried out.
[1] Kanneth B. Renford, “Electrical Control of Machines”, Delmar
The simulation parameters are set and the simulation is made
Publishers Inc.
to run to see the step response. For the definition of the motor
[2] John Webb, “ Industrial Control Electronics”, Merrill Publishing
constants the given values for the physical quantities are as-
Company.
sumed in Table 1:
TABLE 1: Motor Constants [3] Stephen L. Herman, “Industrial Motor Control”, Delmar Publish-
ers Inc.
Symbol Description Value with [4] P.S. Bhimbhra, “Electrical Machinery”, Khanna Publishers.
IJSER
unit [5] Austin Hughes, “Electric Motor & Drives”, Fundamentals, type &
J Moment of Inertia of 0.01 applications- third Edition.
the rotor kg.m^2/s^2 [6] S.K. Bhattacharya, Brijinder Singh, “Control of Machines”, New
B Damping ratio 0.1 Nms Age International Publishers.
K=K e =K t Electromotive force 0.01 Nm/ [7] Robert Babuska and Stefano Stramigioli, “Mat lab and Simulink
constant Amp for Modeling and control”, -November 1999.
R Electrical Resistance 1Ω [8] P.S. Bhimbhra, “ Generalised Theory of Electrical Machines”, Khan-
L Electrical Inductance 0.5 H na Publishers.
[9] B. Liptak , “Process Control”, Instrument Engineers Handbook.
Table 2 shows the result of the step and impulse responses. [10] C. Johnson, “ Process Control Instrumentation Technology”, Pren-
TABLE 2: Results of step & impulse response tice Hall of India, New Delhi, 1996.
[11] D.P. Eckman, “ Automatic process Control”, Wiley Eastern, New
Response Output Settling Overshoot Steady-State Delhi, 1958.
Variable Time Error
Step Velocity 2.07 2.22e – 014 1.14 (Sec)
(Sec) (%)
Angle NA NA NA
Impulse Velocity 2.27(Sec) NA NA
Angle 2.07(Sec) NA NA
4 CONCLUSION
This paper is all about DC motor modeling using generalized
equation in MATLAB simulation and to analysis the perfor-
mance of this modeled DC motor using PID controller.
Here the time domain analysis for both step and impulse sig-
nal is discussed. The frequecy domain analysis is made by
bode plot.
5 FUTURE SCOPE
Following areas of further study are considered interesting:
1) To analysis the performance of higher order speed
control to other non linear systems may be attempted.
2) To reduce error of PID controller for dc motor may
IJSER © 2017
http://www.ijser.org