DC Motor Simulation Using LTSpice
DC Motor Simulation Using LTSpice
DC Motor Simulation Using LTSpice
J Linggarjati
Computer Engineering Department, Faculty of Engineering, Bina Nusantara
University, Jakarta, Indonesia 11480
Abstract. DC motor is simulated in this paper, in which LTSpice simulator is used. DC Motor
is still highly needed in industrial world, for applications that needs goods’ movement in the
process line. Therefore, in this paper, it is important to do simulation before real-world
electronic circuit is developed. Thereby we promote green eco-friendly environment, by
reducing electronic waste caused by prototyping. The simulation of DC Motor is divided into
three (3) parts. First, a simplified DC motor model is assumed, and then the effect of
inductance and inertia of the DC motor are considered. Lastly, a small perturbation is
noticeable in the output of the electrical DC motor, and after a careful insight into the slip-ring
mechanical inside of the DC motor, the effect of it is added in the final simulation model. This
gradual modelling methodology certainly helps students to correlate between DC motor
modelling with the sampled real-world data, which is taken directly from the experimental
laboratory.
1. Introduction
In industrial world, the controlled DC Motor is needed for various automation applications, such as
one in plastic flying shear machine, as was written in [2]. Therefore, in this paper, an LTSpice
electronic circuit simulation [1] for understanding how a DC motor operates, is developed.
LTSpice simulator is developed by analog devices [3]. And as most of the electronic simulator, it
is a derivative product of SPICE [4]. PSpice has also been used for simulation of electro-mechanical
devices, such as induction motor in industrial application, as written in [5]. LTSpice has been used
widely in electrical and electronic students around the world, such as the following report written in
[6].
Permanent Magnet DC Motor (PMDC) is a class of motor in which the stator has a fixed field, due
to the permanent magnet attached to it. This type of motor has a linear characteristic with regards to its
excitation voltage at the rotor. And therefore, the control of speed can be done, by adjusting the
voltage terminal at the rotor field.
𝑑𝑖
𝑣 = 𝑅𝑖 + 𝐿 𝑑𝑡 + 𝑉𝑒 (1)
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
The 3rd International Conference on Eco Engineering Development IOP Publishing
IOP Conf. Series: Earth and Environmental Science 426 (2020) 012137 doi:10.1088/1755-1315/426/1/012137
𝑑𝑤
𝑇=𝐽 𝑑𝑡
+ 𝑇𝑙𝑜𝑎𝑑 + 𝑏𝑤 (2)
The circuit diagram in Figure 2, model the DC Motor as it is only consisting of pure resistance
only. And to model the magnetic coupling between the electrical part of the motor and the mechanical
part of the motor, we used dependent voltage source of type CCVS (Current Controlled Voltage
Source), as shown in Figure 2, as B1, B2, B3, and B4.
B1 models the back-emf (electromagnetic force), which is a voltage that emerges as the rotor spins.
Therefore, the bemf voltage is controlled by the speed of the rotor. And in this simulation, it is
modeled as current which exist in B2. While B2 is a voltage source that model the mechanical torque
being developed as a result of magnetic coupling between rotor and stator. The current of B2 is the
value that determines the speed of the rotor, and it is controlling B1 in the form of bemf voltage.
Therefore, the equation 1, is modeling between electrically bemf and the mechanical speed that caused
B1.
𝑉 = −𝐼(𝐵2) (3)
Notice that the minus sign is because the polarity of V bemf always opposed with the motor voltage
source. If we look from the mechanical side, B2 models the torque produced by the magnetic coupled.
The torque value depends also with the current at B1, so it can be concluded that torque is decreased
2
The 3rd International Conference on Eco Engineering Development IOP Publishing
IOP Conf. Series: Earth and Environmental Science 426 (2020) 012137 doi:10.1088/1755-1315/426/1/012137
as the speed of DC motor increased. This happens because the Vbemf is approaching Vsource, causing the
current to decrease, as shown in Equation 4.
𝑣− 𝑉𝑏𝑒𝑚𝑓
𝑅+𝐿𝑠
= 𝐼(𝑠) (4)
Equation 4 is corresponding nicely with the graphic characteristic of PMDC motor, as shown in
Figure 3. The vertical axis is speed, while the horizontal axis represents torque. As we give load to the
mechanical rotor, a power maximum transfer occurs at maximum torque (Ts) divided by 2. The
efficiency graph below, further describes the efficiency of the motor input power over the motor
output power. And as plotted in Figure 3, we must use the motor operation point below Ts/2,
otherwise energy heating inside the motor is wasted.
𝑑𝑖
𝑉𝑙 = 𝐿 𝑑𝑡 (5)
𝑑𝜔
𝑇𝑖𝑛𝑒𝑟𝑡𝑖𝑎 = 𝐽𝑀 𝑑𝑡
(6)
3
The 3rd International Conference on Eco Engineering Development IOP Publishing
IOP Conf. Series: Earth and Environmental Science 426 (2020) 012137 doi:10.1088/1755-1315/426/1/012137
4
The 3rd International Conference on Eco Engineering Development IOP Publishing
IOP Conf. Series: Earth and Environmental Science 426 (2020) 012137 doi:10.1088/1755-1315/426/1/012137
3. Simulation Result
Here, we discuss the results of modeling DC Motor in LTSpice. The results are divided into 3 gradual
steps, to foster better understanding of how a DC Motor works.
(a)
(b)
Figure 7. Motor Speed (a) and Vbemf (b)
(a) (b)
(c)
Figure 8. Motor Speed (a), Motor Current (b), Back-emf voltage (c)
5
The 3rd International Conference on Eco Engineering Development IOP Publishing
IOP Conf. Series: Earth and Environmental Science 426 (2020) 012137 doi:10.1088/1755-1315/426/1/012137
(a)
(b)
Figure 9. Commutator Effect on Vmotor (a) and Imotor (b)
4. Conclusion
LTSpice as a free and yet powerful electronic simulator, has great beneficial for students to do
simulation before they build the circuit prototype. This has promoted high productivity for students
and promote green environment by reducing garbage prototyping.
The simulation result of a permanent magnet DC motor has been shown in Figure 8 and 9. And it
has been confirmed with the real experimental data shown in the oscilloscope. Therefore, this
simulation result is a better PMDC Modelling motor, which can be further used in control system
where students will encounter for their next study in control engineering courses.
The LTSpice has also helped students in understanding theory of DC Motor by comparing the
simulation result with the experimental data. Future work will further investigate real DC Motor
characteristic and then used their data as input to the simulation circuit.
References
[1] Jenni F. 2006 Simulation tool (CERN-2006-010) Paul Scherrer Institute, Villigen, Switzerland.
CAS - CERN Accelerator School and CLRC Daresbury Laboratory : Specialised CAS Course on
Power Converters, Warrington, UK, 12 - 18 May 2004. 363-384.
[2] Wu H., Wang C. and Zhang C. 2014 Design of Servo Controller for Flying Shear Journal of
Networks, vol. 9, no. 11, p. 3038.
[3] LTspice [Online]. Available: https://www.analog.com/en/design-center/design-tools-and-
calculators/ltspice-simulator.html.
[4] Pederson D. 1984 A historical review of circuit simulation IEEE Transactions on Circuits and
Systems vol. 31, no. 1, pp. 103--111.
[5] Schiop A. and Popescu V. 2007 Pspice simulation of power electronics circuit and induction motor
drives Rev. Roum. Sci. Techn.--Electrotechn. et Energy vol. 52, no. 1, pp. 33--42.
[6] Lutovac M. and Mladenovic V. 2015 Contemporary electronics with LTSpice and mathematica
International Scientific Conference of IT and Business-Related Research, Belgrade, Serbia, pp.
134--138.
[7] Da Silva G. F., Marques S. T. and Faria A. W. C. A Reliable Computational System For Estimate
The Performance Curve Of PMDC Motors.