Professional Documents
Culture Documents
Modeling Analysis and Design of A DC Motor Based On State Space Approach IJERTV5IS020332 PDF
Modeling Analysis and Design of A DC Motor Based On State Space Approach IJERTV5IS020332 PDF
Abstract: This paper presents the generalized dynamic modeling 𝑑Ө2 (𝑡) 𝑑Ɵ(𝑡)
J +B = 𝑇(𝑡) (4)
of dc motor using state space approach. The performance of dc 𝑑𝑡 2 𝑑𝑡
motor under various conditions is simulated using
MATLAB/SIMULINK environment and simulation result Where 𝑒𝑎 (t) = armature voltage, 𝑒𝑚 (t) = back emf, 𝑖𝑎 (t) =
demonstrates the feasibility of the proposed system. A state armature current, 𝑇(𝑡) =developed torque, Ɵ𝛳(𝑡) = motor
feedback gain matrix is designed for the dc motor with the help 𝑑𝛳(𝑡)
shaft angle, = ω(t) Ɵ= shaft speed, J= moment of
of pole-placement technique. Direct substitution method is used 𝑑𝑡
to design state observer matrix for the motor. Both designs are inertia of the rotor, B = viscous frictional constant, 𝐿𝑚 =
verified by Ackerman’s formula in MATLAB environment. inductance of armature windings, 𝑅𝑚 = armature winding
resistance, 𝐾𝑡 = motor torque constant, 𝐾𝑚 = motor constant.
Key words: state space, state observer, pole-placement,
MATLAB/SIMULINK Here the motor speed ω(t) is controlled by varying the
I. INTRODUCTION armature voltage 𝑒𝑎 (t). Hence 𝑒𝑎 (t) is the input variable and
Direct current machines are the most versatile energy ω(t) is the output variable.
𝑑𝛳(𝑡)
conversion devices. Their outstanding advantage is that the We chose as the state variables 𝑥1 (𝑡) = ω(t) =
𝑑𝑡
volt-ampere or speed torque characteristic of these machines and 𝑥2 (𝑡) = 𝑖𝑎 (𝑡) (5)
are very much flexible and easily adaptable for both steady The state equations will now be derived by using above
state and dynamic operations. When a wide range of speed equations.
control and torque output are required dc motor is an obvious
choice[1]. 𝑑𝑥1 (𝑡) 𝐵 𝐾𝑡
The state space approach is a generalized time domain = - 𝑥1 (𝑡) + 𝑥2 (𝑡) (6)
𝑑𝑡 𝐽 𝐽
method for modeling, analyzing and designing a wide range 𝑑𝑥2 (𝑡) 𝐾𝑚 𝑅𝑚 1
=- 𝑥1 (𝑡) - 𝑥2 (𝑡) + 𝑒𝑎 (7)
𝑑𝑡 𝐿𝑚 𝐿𝑚 𝐿𝑚
of control systems and is particularly well suited to digital 𝑑𝛳(𝑡)
computational technique. In this paper armature current and 𝑦(𝑡) = = ω(t) = 𝑥1 (𝑡) . (8)
𝑑𝑡
speed of the dc motor are taken as state variables.
In this section we shall present a design method commonly Hence state model of dc motor is derived from equations (6),
called pole-placement technique. It will be shown that if the (7) and (8) as follows
system considered is completely state controllable then poles
of the closed loop system may be placed at the desired 𝑑𝑥1 (𝑡) 𝐵 𝐾𝑡
location with the help of state feedback gain matrix K. −𝐽 𝑥1 (𝑡) 0
𝐽
In pole-placement approach to the design of control system [𝑑𝑥𝑑𝑡(𝑡)] = [ 𝑅𝑚 ] [ ] + [ 1 ] u (t)
we assumed that all state variables are available for feedback.
2
−
𝐾𝑚
−𝐿 𝑥2 (𝑡) 𝐿𝑚
𝑑𝑡 𝐿𝑚 𝑚
In practice however all state variables are not available for (9)
feedback. So it is necessary to estimate unavailable state
variables. Estimation of unmeasurable state variable is x1 (t)
commonly called observation. Here we shall see later the y(t) = [1 0] [ ] (10)
x2 (t)
state observer gain matrix Ke can be designed if the system is
completely state observable [2], [3], [4]. III: DC MOTOR STATE MODEL SIMULATION USING
MATLAB
II: DC MOTOR MODELING USING STATE SPACE
ANALYSIS Let, the motor parameters (coefficient of differential
equations) are assigned to be Lm = 0.01 H, K t =0.22 N-m/A,
The different equations related to DC motor are given below K m =0.22 V-sec/rad, J=0.0044 kg-m2, B=0.0011 N-m-sec/rad,
𝑑𝛳(𝑡)
𝑒𝑚 (t) = 𝐾𝑚 (1) 𝑅𝑚 = 4 Ω. The system models given by equations ((6), (7) and
𝑑𝑡
𝑑𝑖 (𝑡) (8)) are solved to compute the instantaneous values of the
𝑒𝑎 (t) = 𝐿𝑚 𝑎 + 𝑅𝑚 𝑖𝑎 (𝑡) + 𝑒𝑚 (𝑡) (2) performance variable of the system. The simulated results are
𝑑𝑡
𝑇(𝑡)= 𝐾𝑡 𝑖𝑎 (t) (3) shown in following figs.
`
IJERTV5IS020332 293
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 5 Issue 02, February-2016
𝑑𝑥1 (𝑡)
60 −0.25 50 𝑥 (𝑡) 0
[𝑑𝑥𝑑𝑡(𝑡)] = [ ] [ 1 ] +[ ] u(t)
50
2 −22 −400 𝑥2 (𝑡) 100
𝑑𝑡
Speed (rad/sec)
(11)
40
x (t)
y(t) = [1 0] [ 1 ] (12)
30 x2 (t)
Generator
2.5
2
Fig3: Simulink diagram to simulate motor dynamics
1.5
300
1
200
Speed (rad/sec)
0.5
100
0 0
4 6 0 2 8 10
Time (second) -100
Fig1: Speed and Armature current of dc motor with 12V armature voltage
-200
300 -300
0 2 4 6 8 10
Time (second)
200
Fig4: Motor speed waveform with 𝑒𝑎 (t) = 50 square (t) V
Speed (rad/sec)
100
IV: STATE FEEDBACK GAIN MATRIX K DESIGN FOR
0
DC MOTOR
-100
We shall chose the control signal to be
-200 u = -K x (13)
This means that the control signal u is determined by an
-300
0 2 4 6 8 10 instantaneous state. Such a scheme is called state feedback.
Time (second) The 1×n matrixes K is called the state feedback gain matrix.
20
The feedback gain matrix K that forces the Eigen values of
10 A-BK to be n1, n2, ……. nN (desired values) can be
determined by the following steps.
0 Step (a) Check the controllability condition for the system.
−0.25 50 0
-10 Here, A=[ ],B=[ ] , C = [1 0]
−22 −400 100
-20
Hence the controllability matrix M is given by M = [𝐵 𝐴𝐵 ]
0 5000
=[ ]
-30 100 −40000
0 2 4 6 8 10
Time (second)
We find |𝑀| ≠ 0 and therefore, rank M = 2. Thus the system
Fig2: Speed and Armature current of dc motor with 𝑒𝑎 (t) = 50 square (t) V
is completely state controllable.
Step (b): By defining the desired state feedback gain matrix K
Thus the state model of dc motor is derived using motor as K = [𝐾1 𝐾2 ] and equating |𝑆𝐼 − 𝐴 + 𝐵𝐾 | with the
parameters and equation (9) and (10) as follows: desired characteristic equation, we obtain
|𝑆𝐼 − 𝐴 + 𝐵𝐾 | =
`
IJERTV5IS020332 294
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 5 Issue 02, February-2016
`
IJERTV5IS020332 295
(This work is licensed under a Creative Commons Attribution 4.0 International License.)
Published by : International Journal of Engineering Research & Technology (IJERT)
http://www.ijert.org ISSN: 2278-0181
Vol. 5 Issue 02, February-2016
x2 = [0 1 0 0]*x'; REFERENCES
e1 = [0 0 1 0]*x';
e2 = [0 0 0 1]*x'; [1] Dr. P.S. Bimbhra, ‘Electrical Machines’, KHANNA PUBLSHER
[2] Katsuhiko Ogata, ‘Modern Control Engineering’, PEARSON
subplot (2,2,1); plot(t,x1);grid
PUBLISHER.
>> xlabel ('t(sec)'); ylabel('x1') [3] Charles L. Philips & Royce D. Harbor, ‘Feedback Control Systems’,
>> subplot(2,2,2); plot(t,x2);grid PRENTICE HALL PUBLISHER
xlabel('t(sec)'); ylabel('x2') [4] Roland S. Burns ‘Advanced Control Engineering’,
BUTTERWORTH HEINENANN, A Division of reed educational
>> subplot (2,2,3); plot(t,e1);grid
and professional publishing limited.
xlabel ('t(sec)'); ylabel('e1') [5] Devendra K. Chaturvedi, Modeling and simulation of system using
>> subplot(2,2,4); plot(t,e2);grid MATLAB and Simulink, CRC Press Taylor and Francis group Boca
xlabel('t(sec)'); ylabel('e2') Raton London New York 2010.
[6] M. S. RUSU, and L. Grama, The Design of a DC Motor Speed
Controller, Fascicle of Management and Tech. Eng., Vol. VII
(XVII), 2008, pp. 1055-1060.
15000 2000
10000 1000
x1
x2
5000 0
0 -1000
0 2 4 6 8 0 2 4 6 8
t(sec) t(sec)
15 0
10 -50
e1
e2
5 -100
0 -150
0 2 4 6 8 0 2 4 6 8
t(sec) t(sec)
IX: CONCLUSION
`
IJERTV5IS020332 296
(This work is licensed under a Creative Commons Attribution 4.0 International License.)