Professional Documents
Culture Documents
Abstract: Successful implementation of the Euzzy method for speed PLC as the primary cerebrum is a common practice in
control of a motor I generator set using a general-purpose industrial plants. However, in order to accomplish PID
programmable logic controller (PLC) is demonstrated in this paper. control from within a PLC, one frequently needs a PID
Speed control of DC motors via a changing armature voltage is a coprocessor that can be programmed in a language other than
common practice throughout industry at the present time. In
addition, general-purpose PLCs are the most common controllers
the standard PLC ladder logic. These coprocessors, which are
utilized in the control of power plants and industrial plants. often obtained from a company other than the PLC
However, this work suggests a method for increasing the utilization manufacturer, can add a significant amount to the overall PLC
level of an existing general-purpose PLC. In effect, the PLC is cost and therefore work against the goal of reducing the cost
requested to perform the additional task of speed control using the of the control system. In addition, the performance of the
elegant and effective fuzzy scheme. With a control scheme based on controller is still hindered by the limitations of PID control.
fuzzy methods, the speed control algorithm was accomplished from On the other hand, in highly nonlinear cases where the
within the standard PLC ladder-logic. In addition, simulations were process is relatively slow (changes take place on the order of
performed for a speed governor for a typical 11 MW steam turbine. milliseconds rather than microseconds), control schemes based
Keywords: Fuzzy Methods, Speed Control on fuzzy methods often allow much simpler controller design
than their classical PID counterparts. Accurate and responsive
I. INTRODUCTION control can be achieved using fuzzy control methods without
the need for highly involved mathematical modeling and an
In the majority of all applications involving rotating additional PID coprocessor module.
machinery, a speed controller must be present to govern the Thus the thought is to eliminate the need for these stand-
speed of the device. Currently, most speed control problems, alone controllers and implement the speed controllers from
rotational or linear, use a dedicated digital or microprocessor within the PLC using a control scheme other than PID. Due to
based controller implementing some combination of PID the inherently slow nature of most process type applications
control scheme. PID based controllers are typically very where a general purpose PLC is being utilized, fuzzy control
reliable, however, they often have several limitations that can methods offer a desirable alternative to PID controllers.
drastically reduce their performance. These limitations
include: n. FUZZY CONTROL
Most often the PID speed controllers are implemented Fuzzy control methods are based on the idea of fuzzy sets
using a dedicated controller, which can increase the cost brought about in 1965 by Lotfi Zadeh of the University of
of the overall control system. California, Berkeley [ 11. Fuzzy systems are knowledge-based
The response of standard PID controllers can be severely (or rule-based) systems that use a set of fuzzy rules of the IF-
limited in applications where the process environment is THEN form to determine the output of the controller given a
set of inputs. Unlike classical methods, the control system
constantly changing. An example of such an environment
engineer does not have to develop an extensive mathematical
is that of a steam turbine / generator, where temperatures,
model for the process of concern to design a successful
levels, and pressures are constantly changing the
controller. This is especially time saving when the plant
dynamics of the system.
model is highly nonlinear and the differential equations
The PID controllers are often limited in highly nonlinear describing the plant are not easily obtained. In fuzzy based
cases and do not respond with the required accuracy for control, instead of using mathematics to model the plant,
obtaining acceptable control. linguistic terms are used to create fuzzy subsets, a fuzzy rule-
The PID controllers require the system designer to base, and a fuzzy output. The fuzzy rule-base is developed
develop an extensive mathematical model of the control from one or more experts knowledge concerning the device
process, which is not always easily achieved. or process that is to be controlled.
For a general fuzzycontroller, one or more crisp inputs are
The need for a stand-alone device, one of the main brought into the controller and fuzzified, or mapped into the
downfalls of PID controllers, can easily be eliminated by fuzzy realm, using fuzzy membership functions. Once
implementing the control scheme from within a general- fuzzified, the inference engine applies the hzzy rule-base to
purpose programmable logic controller (PLC). Utilizing a the inputs to determine how the controller should react and a
m
Fuzzy .a
Rule-Base a
20.0 10.0
50.0 10.0
20.0 50.0
A. Case #1
Fig. 2. Motor Generator Set Implementation Setup
The response curve for the fuzzy speed controller for go =
The overall goal of the fuzzy speed controller was to allow 1.5, gl =: 20.0, and = 10.0 is shown in Fig. 3.
the operator to bring the driving motor, and hence the
1200 -
separate stages. For this application, a HMI panel was
constructed in order to allow the operator to communicate
1000.
with the PLC by changing certain control characteristics and
setpoints of the fiuzy speed controller without changing the ~o
PLC ladder logic program. The HMI communicates with the
PLC via an RS-232 serial communicationlink and can be used 1 Boo ..
to transmit and receive data to and from the PLC.
The HMI gives the operator the ability to change the desired v, 400 -.
D. Case #4
1200 .
Case #4 demonstrates the effect of changing scaling
1000 . parameter g2. The response curve for the fuzzy speed
controller for go = 1.5, g l = 20.0, and g2 = 50.0 is shown in
800 ~. nb- Fig. 6.
.-C
g eo0 ..
8
3 400. -
200.
0 1 2 3 4 5
As shown in Fig. 4, increasing go drastically effects the
Time (seconds)
system response. The change produced overshoot at 400 and
1200 r/min, while it produced overshoot and a severe ripple at Fig. 6. Case #4 Fuzzy Response Curve
800 r/min. Increasing go in effect widens the width of the (go = 1.5, gl = 20.0, g2 = 50.0)
Change in Armature Voltage membership functions, thereby
speeding up the response of the controller, while at the same As shown in Fig. 6, changing g2 has little effect on the
time worsening the overshoot and settling time (ripple). speed response other than a slight undershoot at speeds of 400
r/min and 800 r/min. It must be understood however, that the
C. Case #3 effects of changing the scaling parameters are not to be
generalized. The effects are highly dependent on the number
of membership functions, the inputs and outputs, and the
mechanical characteristics of the process to be controlled.
VI.MATLAB SIMULATIONS
12w.
Upon successful implementation of the hzzy speed
1000.
controller on the laboratory motor / generator set, a more
practical application for which the environment changes more
-.a 800 .. was studied. This application deals with implementation of
the proposed PLC based fuzzy speed controller as a steam
,E
*
U
000. turbine govemor.
a
Cn 0
400
Several MATLAB simulations were performed for the
.. - fuzzy speed governor. In each simulation, a typical 1IMW,
4470 r/min turbine generator was chosen as the process to be
200 .
controlled. By increasing the percent open of the control
valve, more steam is let into the turbine, thereby causing the
0 1 2 3 4 5 shaft connecting the synchronous generator to the turbine to
Time (seconds) rotate faster. Therefore, the control is simulated using the
Fig. 5 . Case #3 Fuzzy Response Curve
equations of motion of the steam turbine, a typical 6 inch
(go = 1.5, g l = 50.0, g2 = 10.0) steam valve as the control valve, and the rotational speed of
the turbine as the feedback signal.
As shown in Fig. 5, changing g l also effects the response Again, several different simulations were performed.
when compared with Case #l. However, changing g l is not as However, only the effects of changing gl and fine were
severe as changing go. The increase in g l produced only a observed in these simulations. Experiments were performed
slight overshoot at 400 r/min, while the speed never reached for five case studies as outlined in Table 3.
4000
I
.....................................
/
..... j ---- .... ......
I
1 1i
.; ..
..... r-,!
j 1 .. ..........,........... i.. .........
Simulation 3500 -................ ! ......... ..... .....
-
Nn
1
go
10.0
G1
20.0
g2
10.0
Fine
0.1
3000 _ .......... ........... ,
, . .
0 1 2 5 6 1
Timelseconds)
Fig. 8. Simulation #2 Fuzzy Speed Govemor Response Curve
(gO=1.0,gl=20.0,g2=10.0,fine=0.1)
A. Simulation #1 C. Simulation #3
.-
h
,E
&
m
5000.
4500
4000:-
35OD.
3 3000 -
-@ 2 5 0 0 . -
-g ZODO
- -1!-;:
i
!
-
I
-- --
:
.
3
-_+ - - -
irT
I
,
- - .
*
I
- 4
I
I
8 IS00 .... I! . ;. . ~ - - .; i
1000- ....... I
1 1 ,
- !- .
s e 7
500 -- 1 ,
0 1 2
Time ?seconds) 0 -
0 1 2
Fig 7. Simulation #1 Fuzzy Speed Governor Response Curve
(go = 10.0, gl = 20.0,g2 = 10.0, fine = 0.1)
B. Simulation #2 D.Simulation #4
Simulation #2 demonstrates the effect of decreasing Simulation #4 demonstrates the effect of increasing scaling
parameter go. The response curve for the fizzy speed parameter fine. The response curve for the hzzy speed
governor for go = 1.0, g l = 20.0,g2 = 10.0, and fine = 0.1 is govemor for go = 10.0, gl = 20.0, g2 = 10.0, and fine = 1.0 is
shown in Fig. 8. shown in Fig. 10.
I
..... ;..................1..
I
.........,................... .... -..i
......
Aidan M. Graham was bom in Nampa, Idaho, on March 8, 1974. He
I
!
I
.
received the BSEE in 1998 and MSEE in 1999 from the University of Nevada,
4
;.-...............
I
OD 1 2 5 6 7
Time ?seconds) Reno. He is currently working as a Power System Engineer at Cutler-
Fig. 11. Simulation #5 Fuzzy Speed Governor Response Curve Hammer Engineering Services, a division of the Eaton Corporation. He is
(gO=10.0,gl=20.0,g2=10.0,fine=0.01) responsible for performing power system studies regarding short circuit and
coordination,load flow, motor starting, and power quality and harmonics. His
present areas of interest include, power system studies, power system control,
Decreasing the fine tuning parameter now causes the fuzzy methods, and genetic algorithms. He is a member of the IEEE, Tau
controller to be less responsive to change when the actual Beta Pi, and Eta Kappa Nu honor societies.
speed is within + 10 r/min. Similar to the case where the
fine tuning parameter was set too high, the controller Mehdi Etezadi-Amoli received the BSEE in 1970, MSEE in 1972 and
Ph.D. degree in 1974 fromNew Mexico State University. From 1975-1979,
hunts back and forth around the desired speed. The hunting he worked as an assistant professor of Electrical Engineering at New Mexico
is more severe in this case and a small ripple is present at all State and the University of New Mexico. From 1979-1983,he worked as a
three desired speeds. Senior Protection Engineer at Arizona Public Service Company in Phoenix,
AZ. In 1983,he joined the faculty of the Electrical Engineering Department
at the University of Nevada, Reno where he is responsible for the power
VII. CONCLUSION system program. His present interest is in power system protection, large-
scale systems, and neural network applications. Dr. Etezadi is a Registered
Successful implementation of the fuzzy method for speed Professional Engineer in the states of Nevada and New Mexico.
control of a motor / generator set using a general-purpose PLC
has been demonstrated in this paper. Speed control of DC