You are on page 1of 6

PLC-Based Speed Control of DC Motor

Ashraf Salah El Din Zein El Din


Department of Electrical Engineering, Faculty of Engineering, Shebin El Kom,
Minoufiya University, Egypt, http://www.menofia.edu.eg
e-mail: ashrafzeineldin2002@yahoo.com , Tel. 20-48-2220395, Fax.20-48-2235695

Abstract- In this paper, a simplified approach for IGBTs if classical chopper is used. This system may be
speed control of a separately excited DC motor using used in different industrial applications such as trolley
Programmable Logic Controller (PLC) is presented. buses, subway cars or battery-operated vehicles.
This approach is based on providing a variable dc
voltage to armature circuit of dc motor from a fixed
II. A CLASSICAL CHOPPER FED DC MOTORS
dc supply voltage via a PLC which is used as a dc/dc
chopper. Pang-Pang control method is used for A dc chopper is connected between a fixed-voltage dc
switching on or off power to dc motor (armature source and a dc motor to vary the armature voltage. Also,
circuit) depending on the reference (command) speed. a dc chopper can provide regenerative braking of the
It is easy, fast and effective by this method of control motor and can return energy back to the supply. The
to vary motor speed from 0 to 100% of rated speed. circuit arrangement of a chopper-fed dc separately
The proposed system is suitable for different excited motor is shown in Fig.1. The motor current is
industrial applications such as subway cars, trolley either continuous or discontinuous depending on Mark
buses, or battery-operated vehicles. space ratio (Ton/T) and the inductance of the armature
circuit. Figure.2 illustrates the waveforms of the motor
Keywords- PLC, DC motor, Speed Control, Pang-Pang current in continuous and discontinuous operation. There
Control are three possible modes of operation: Switch Q
conducts, free-wheeling action takes place through the
I. INTRODUCTION free-wheeling diode, and motor coasts. The governing
The methods of speed control of DC motors are equations for different modes of operation are as follows
normally simpler and less expensive than that of ac [2,3]:
drives. Due to the commutators, dc motors are not Mode (1)
suitable for very high speed applications and require Switch Q is turned on, and motor is connected to
more maintenance than ac motors. Controlled rectifiers supply during the interval of
provide a variable dc output voltage from a fixed ac 0< t < t1 and ia = i1
voltage, whereas choppers can provide a variable dc The voltage equation is;
voltage from a fixed dc voltage. Due to their ability to Vdc = Ra i1+La di1/dt + Kω (1)
supply a continuously variable dc voltage, controlled The torque equation is
rectifiers and dc choppers made a revolution in modern
Td =K i1 = Jdω/dt + Bω + TL (2)
industrial control equipment and variable-speed drives
[1]. Many industrial drives and processes take power Mode (2)
from dc voltage sources. In most cases, conversion of the Switch Q is turned off, and free-wheeling action is
dc source voltage to different levels is required. For presented during the interval t1 < t < t2 and ia = i2
example, subway cars, trolley buses, or battery-operated The system equations are
vehicles take power from a fixed dc source. However, 0 = Ra i2+La di2/dt + Kω (3)
their speed control requires conversion of a fixed voltage Td =K i2 = Jdω/dt + Bω + TL (4)
dc source to a variable voltage dc source for the armature
of the dc motor [2,3,4]. A Programmable Logic Mode(3)
Controller (PLC) is an industrially hardened computer- Motor coasts during the interval t2 < t < T
based unit that performs discrete or continuous control Ia = 0
functions in a variety of processing plant and factory 0 = Jdω/dt + Bω + TL (5)
environments. Originally, it was intended as a relay In order to determine the performance of the system,
replacement equipment for the automotive industry [5,6]. numerical method can be used.
In the world of control, the use of PLC is ever increasing.
Industrial process control is one of the very important
areas where the PLC is extensively used. The flexibility
offered by the system to implement various control laws
is great. This paper proposed speed control of dc motor
system using PLC, which is used as dc to dc chopper.
The proposed system gives smooth variation over a wide
range of control. This system avoids the time derivatives
dv/dt or di/dt of power transistors like MOSFETs or

1-4244-0449-5/06/$20.00 ©2006 IEEE IPEMC 2006


Figure 1 A classical chopper-fed dc motor

Figure 2 Continuous and discontinuous motor current at steady state operation


III. SYSTEM DESCRIPTION

The proposed system as shown in Fig.3 consists of a and low size memory used program consisting of three
separately excited dc motor loaded by eddy current rungs (statements), as shown in Figs.4 and 5 where both
break. Its armature circuit is controlled via a d-c to dc 011 and 0111 are addresses of the two output relays 1 and 2.
chopper which is represented by a Programmable 701 is an internal relay address which is used temporarily
during the execution of the program and switch 01 is an
Logic Controller (PLC). There is a pair of relays emergency switch.
interfaced to the PLC output terminals. The first relay
is connected in the series with armature circuit of dc
motor. On the other hand, the second relay is IV. SIMULATION AND EXPERIMENTAL RESULTS
connected in parallel with the armature circuit of dc
the motor. This combination of the two relays acts as The proposed system is practically designed and
a dc to dc chopper. A feedback signal voltage from implemented using PLC 100 (Allen Breddly) to verify
the tacho-generator is connected as an input to an the developed model of the system. The behavior of
operational amplifier comparator. A reference voltage this system under transient and steady state operations
corresponding to the command speed is also an input determined by solving the non-linear system
to the comparator. The output signal of the equations (1-5) using Rung Kutta fourth-order method
comparator is either + 0.9 Vcc which represents the with a suitable interval time of calculation that equals
polarity of the difference error between the reference 0.01 sec. It is clear that there is two region of motor
voltage and the feed back voltage. The input interface current, continuous or discontinuous, it depends on
of the PLC used in this research operates in the range the reference motor voltage and the load. Figure 6
of an input voltage between 8 and 30 volts. From this shows the computed and experimental responses of
point, a Pang-Pang controller is suitable in this motor speed, terminal voltage and current; due to
application. As the input voltage to the PLC is positive change of reference speed (from 1000 to
+0.9Vcc ≈ 13.5 volt, the PLC is operated and hence 1200 r.p.m.), at half-load. It is clear that the motor
the output relay (1) is switched On, but the output speed follows the desired speed reference and the
relay (2) is switched off. This means that dc power is motor current is continuous during the period of
transferred to the dc motor. On the other hand, if input changing of the reference speed and is discontinuous
voltage to PLC is -0.9Vcc, output relay (1) is otherwise. This means that the proposed controller is
switched off, while output relay (2) is switched on. effective and accurate. On the other hand, as reference
This means that a freewheeling period of is started. speed is negatively changed (from 1000 r.p.m. to 500
The average value of motor voltage is varied r.p.m.) and the motor is half-loaded, the motor speed
according to the variation of duty cycle, which is follows the reference speed as shown in Fig.7, but the
controlled by adjusting a reference voltage frequency of both voltage and current of the motor
corresponding to command motor speed. An input vary during the cycle in proportional inversely with
switch is interfaced to the PLC for use in an the reference speed. Figures 8-9 show the motor
emergency. The advantages of the proposed system may voltage and current as the load torque is varied from
be summarized as: wide range of speed control (from 0% to initial steady state value, to another steady value, then
100% of rated speed) can be obtained, less complex circuit
returned back to its initial steady state value where the

1-4244-0449-5/06/$20.00 ©2006 IEEE IPEMC 2006


reference speed is kept constant. It is clear that the [2]David Finney, "The Power Thyristor and its
motor current and voltage are affected when moving Applications", McGraw-Hill Book Company (UK) Limited,
from continuous to discontinuous current modes or 1980
vice versa, according to the load value. [3]P.C.Sen, "Thyristor DC drives", Krieger Pub. Co.
(07/01/1991)
V. CONCLUSION [4]Petru Livinti and Gheorghe Livint, "The Synthesis of
Automatic Controllers For Electrical Drive Systems With
The paper proposed a simple, effective and accurate D.C. Motors", 9th International Research/Expert Conference
speed controller of separately excited dc motor using TMT2005, Antalya, Turkey, 26-30 September 2005.
PLC, which acts as a dc to dc chopper. Using PLC [5] Bolton, W. "Programmable Logic Controllers", Elsevier
instead of classical controlled switches such as Science & Technology Books, San Diego, USA, 2003
Thyristors, MOSFETs and IGBTs in the proposed [6]Tomas Sysala and Peter Dostal, "Adaptive Control
system achieves a compact system and avoids the Algorithm Implemented Into Programmable Logic
Controller", 9th International Research/Expert Conference
variation of dv/dt and di/dt of the controlled switches. TMT2005, Antalya, Turkey, 26-30 September 2005.
The proposed system gives speed control in a wide
range from 0 to 100% of the rated speed. A pang-pang
controller is used. It is effective and fast, but there is a VII. APPENDIX
fluctuation of motor speed appears in the steady mode The test motor is a separately excited dc motor, 50volt. 50
operation. A filter may be used for eliminating the watt, 1 ampere, 3000 r.p.m. having the following
distortion of the motor speed. The start-up and steady- parameters:
Ra= 10.5 ohm, La= 0.06 H, Rf = 550 ohm, B= 1E-05
state behaviors of the motor are predicted using the
N.m./(rad/sec.), K= 0.127 Volt/(rad./sec.), J=1.2E-04
proposed simulation. Comparison between the Kg.m2.
simulation and experimental results for closed loop
systems proved they are in line with each other. VIII. SYMBOLS:
La, Ra: Armature inductance and resistance
VI. REFERENCES
Rf: Field resistance
[1]Mohamed Harunur-Rashid,"Power Electronics Circuits, B: Viscous friction coefficient
Devices, and Applications", Prentice Hall International, J: Moment of inertia.
1990. K:Back e.m.f. coefficient.
ω: Moror speed (rad./sec.)

Figure 3 The proposed system


Fig. 4 A ladder diagram program Fig.5 A flow chrat of a program

Motor Voltage (Volt.)


Motor Speed (r.p.m.)

1500
30
1000 20

500 10
0
0
0 1 2 3 4 5
0 1 2 3 4 5
Tim e (s e c.) Time (Sec.)
Reference Speed

1500 1

Motor Current
0.5
(r.p.m.)

(Amp.)
1000 0
500 -0.5
-1
0 -1.5
0 1 2 3 4 5 0 1 2 3 4 5
Time (sec.) Time (Sec.)

(a) Simulation Results (b) Simulation Results

Ch.1 Motor Speed (1000 r.p.m./div.)


Ch.2 Reference Speed (2volt./div.)
Ch.1 Motor Voltage Ch.2 Motor Current
(c)Experimental Results
(d) Experimental Results
Figure 6 Motor performance due to positive step change of reference speed at half load
Motor Voltage (volt.)
Motor Speed (r.p.m.) 2500 25
20
2000
15
1500 10
5
1000
0
500 -5
0 0 0.5 1 1.5 2
0 1 2 3 4 5 Time (Sec.)
Time (sec.)

Motor Current (Amp.)


1.5
1
2500
0.5
Reference Speed

2000
0
(r.p.m.)

1500
-0.5
1000
-1
500 0 0.5 1 1.5 2
0 Tim e (Sec.)
-1 1 3 5
Tim e (Sec.) (C)Simulation Results

(a) Simulation Results

Ch.1 Motor Voltage Ch.2 Motor Current


(D) Experimental Results

Ch.1 Motor Speed (1000 r.p.m./div)


Ch.2 Reference Speed (2volt./div.)
(b) Experimental Results
Figure 7 Motor performance due to negative step change of reference speed at half load
Motor Speed (r.p.m.)

1500

1000

500

0
0 1 2 3 4 5
Time (sec.)
Motor Voltage (volt.)
30
20
10
0
-10 0 0.5 1 1.5 2

Time (Sec.)

1 Ch.1 Motor Speed (1000 r.p.m./div.)


Motor Current (Amp.)

0.5 Ch.2 Reference Speed (2volt./div.)


0

-0.5

-1
0 0.5 1 1.5 2
-1.5
Tim e (Sec.)

Simulation Results

Ch.1 Motor Voltage Ch.2 Motor Current

Experimental Results

Figure 8 Motor performance due to change of load from no load to full load then return
back to no load at of reference speed=1000 r.p.m.

You might also like