Sei sulla pagina 1di 7

Recent Successful Fuzzy Logic

Applications in Industrial Automation


Constantin von Altrock, M.Sc. E. E., M.0.R.:
INFORM Germany, Phone: +49-2408-9456-80, Fax: +49-2408-9456-85, E-mail: cva @ inform-ac.com
Inform Sofhyare Corp. U.S.A., Phone: (708)268-7550,Fax: (708)268-7554,E-mail: fuzzy@ informusa.com
Dr. Jorg Gebhardt, Klockner-Moeller Germany:
Phone: +49-228-602-1128, Fax: +49-228-602-1490, E-mail: 100673.1226@compusewe.com

Abstract Multi-Variable Control

In this paper we review 8 recent applications of fuzzy logic in The real potential of fuzzy llogic in industrial automation lies in
industrial automation. All applications used the so-called the straightforward way fuzzy logic renders possible the design
'[fuzzyPLC",an innovative hardware platj4orm that merges fuzzy of multi-variable controllers. In many applications, keeping a
logic and traditional automation techniques. Following a quick single process variable constant can well be done using a PID or
overview on the fuzzyPLC, we discuss the 8 applications and bang-bang type controller. However, set values for all these indi-
focus on how fuzzy logic enabled a superior solution compared vidual control loops are often still set manually by operators. The
to conventional techniques. Whenever possible, we quantify the operators analyze the process condition, and tune the set values
benefit in cost saving or quality improvement. For detailed in- of the PID controllers to optimize the operation. This is called
formation on the reviewed applications, we reference the re- "supervisory control" and mostly involves multiple variables.
spective papers.

1. Fuzzy Logic in Industrial Automation


In recent years, fuzzy logic has well proved its broad potential in
industrial automation applications. In this application area, engi-
neers primarily rely on proven concepts. For discrete event con-
trol, they mostly use ladder logic, a programming language re-
sembling electrical wiring schemes and running on so called
Figure 1: Using a fuzzy logic controller to determine
programmable logic controllers (PLC). For continuos control,
the set values for underlying PID control loops
either bang-bang type or PID type controllers are mostly em-
ployed. Alas, both PID and bang-bang type controllers can only cope
with one variable. This usually results in several independently
While PID type controllers do work fine when the process under operating control loops. These loops are not able ,,to talk to each
control is in a stable condition, they do not cope well in some other". In cases where it is desirable or necessary to exploit in-
cases: terdependencies of physical variables, one is forced to set up a
0 The presence of strong disturbances (non-linearity) complete mathematical model of the process and to derive differ-
ential equations from it that are needed for the implementation of
0 Time-varying parameters of the process (non-linearity) a solution. In the world of nndustrial automation, this is; rarely
Presence of dead times feasible:
The reason for this is, that a PID controller assumes the process Creating a mathematical model for a real-word problem can
to behave in a strictly linear fashion. While this simplification involve years of work.
can be made in a stable condition, strong disturbances push the Most mathematical models involve extensive simplifications
process operating point far away from the set operating point. and linearizations that require "fudge" factors to optimize the
Here, the linear assumption usually does not work any more. The resulting controller later on.
same happens if a process changes its parameters over time. In Tuning the fudge factors of a controller derived from a
these cases, the extension or replacement of PID controllers with mathematical model is "fishing in the dark", because opti-
fuzzy controllers has been shown to be more feasible in many mizing the system at one operating point using global factors
cases than using conventional but sophisticated state controllers usually degrades the performance at other operating points.
or adaptive approaches [4]. However, this is not the only area Also, many practitioners do not have the background required for
where there is potential for fuzzy logic based solutions. rigorous mathematical modeling. Thus, the general observation in

0-7803-3645-3/96 $5.0001996 IEEE 1845


industry is, that single process variables are controlled by simple Snap-On modules can extend the periphery for large applications
control models such as PID or bang-bang, while supervisory of up to about 100 signals. An integrated field bus connection,
control is done by human operators. based on RS485, provides further extension by networking. The
conventional and the fuzzy logic computation is handled by a
This is where fuzzy logic provides an elegant and highly efficient 16/32 bit RISC microcontroller. The operating system and com-
solution to the problem. Fuzzy logic lets engineers design super- munication routines, developed by Klockner-Moeller, are based
visory multi-variable controllers from operator experience and on a commercial real time multitasking kernel. The fuzzy infer-
experimental results rather than from mathematical models. A ence engine, developed by Inform Software, is implemented and
possible structure of a fuzzy logic based control system in indus- integrated into the operating system in a highly efficient manner,
trial automation applications is exemplified by Figure 1. Each so that scan times of less than one millisecond are possible. The
single process variable is kept constant by a PID controller while internal RAM of 256 KB can be extended by memory cards us-
the set values for the PID controller stem from the fuzzy logic ing flash technology. Thus, the fuzzyPLC is capable of solving
system. This arrangement is typical for cases like control of sev- quite complex and fast industrial automation problems in spite of
eral temperature zones of an oven or control of oxygen concen- its compact and low price design.
trations in different zones of a wastewater basin. In other cases it
could be reasonable to do the complete closed loop control solu- ThefuzzyPLC Engineering Software
tion in a fuzzy system.
The fuzzyPLC is programmed by an enhanced version of the
This illustrates why it is very desirable to integrate conventional standard fuzzy logic system development software fuzzyTECH of
control engineering techniques, such as ladder logic or instruc- Inform Software. fuzzyTECH is an all-graphical design, simula-
tion list language for digital logic and PID control blocks tightly tion, and optimization environment with implementation modules
together with fuzzy logic functionality. for most microcontrollers and industrial computers. To support
the complete functionality of the fuuyPLC, fuzzyTECH has been
2. Merging Fuzzy Logic and PLCs enhanced with editors and functions to support the conventional
programming of the PLC. Thus, a user only needs one tool to
In 1990, when more and more successful applications proved the program both conventional and fuzzy logic parts of the solution.
potential of fuzzy logic in industrial automation, the German
company Klockner-Moeller and the U.S.A./German company
Inform Software created the fuzzyPLC based on the observation
that fuzzy logic needs tight integration with conventional indus-
trial automation techniques.

ThefuzyPLC Hardware and Firmware

Figure 3: Both the traditional logic and the fuzzy logic sys-
tem is programmed by SUCOsoft fuzzyTECH 40
The fuuyTECH software combines all necessary editors for
membership functions, linguistic variables, rule tables, and sys-
tem structure with analyzer functions and optimization features.
Figure 2: The fuzzyPLC contains fuzzy and conventional The software runs on a PC and is linked to thefuzzyPLC by a
logic processing capabilities, field bus connections, and standard serial cable (RS232) or the field bus (RS485). Through
interfaces this link, the developer downloads the designed system to the
To make it available at low cost, the core of thefuzzyPLC uses a fuzzyPLC. Because fuzzy logic systems often require optimiza-
highly integrated two-chip solution. An analog ASIC handles the tion "on-the-fly", fuzzyTECH and the fuzzyPLC feature "online-
analog/digital interfaces at industry standard 12 bit resolution. debugging", where the system running on the fuzzyPLC is com-

1846
pletely visualized by the graphical editors and analyzers of fuz- design based directly on such human experiences, it has been
zyTECH. Plus, in online-debugging modes, any modification of used for crane automation siince almost a decade. The type of
the fuzzy logic system is instantly translated to the fuzzyPLC cranes include container cranes in harbors, steel pan cranes, and
without halting operation. cranes in a manufacturing environment. Recently, a 64 torn crane
that transports concrete modules for bridges and tunnels over a
3. Application Case Studies distance of 500 yards has been automated with afizzyPLC in
Germany [SI. The benefit was a capacity gain of about 20% due
In this Section, we review 8 recent highly successful applications to the faster transportation and an increase in safety. Accidents
of fuzzy logic in industrial automation using the BzzyPLC: were frequently, because the crane operators walk parallel to the
Anti-Sway Control of Cranes crane during operation with ;a remote controller. Before, when
they had to watch the load to concentrate on the sway angle, they
Fire Zone Control in Waste Incineration Plants
frequently stumbled over parts lying on the floor. The crane was
0 Dosing Control in Waste Water Treatment Plants commissioned in spring 1995 and the fuzzy logic anti-sway con-
Control of Tunnel Inspection Robots troller has been continuously enabled by the crane operator,
Positioning in Presses showing the high degree of acceptance by the operators. This fact
Temperature Control in Plastic Molding Machines is of special importance since not only technological feasibility
Climate Control and Building Automation but also psychological aspects are important for the success of an
Wind Energy Converter Control industrial automation solution.

Anti-Sway Control of Cranes

In crane control, the objective is to position a load over a target


point. While the load connected to the crane head by flexible
cables may well sway within certain limits during transportation,
the sway must be reduced to almost zero for load release when
the target position is reached. Hence, a controller must use at
least two input variables, for example position and sway angle.
Thus, a simple PID controller cannot be used as it is restricted to
one input. Conventional solutions of the problem require highly
elaborate approaches like model based control or state variable
controllers that need intensive engineering and hardware re-
sources. These technologies tend to push system costs into re-
gions that make anti-sway systems economically unaffordable. Figure 5: A software simulation of the crane controller
For these reasons, most cranes are still operated manually. is contained in [4]
A software simulation and a simple example of an anti-sway
crane controller for didactic purposes can be found in [4].The
real solution uses about 10 inputs, 2 outputs, and 4 rule blocks
with a total of 75 rules.

Fire Zone Control in Waste Incineration Plants

Maintaining a stable burning temperature in waste incineration


plants is important to minimize the generation of toxic gases,
such as dioxin and furan, as well as to avoid corrosion in the
burning chambers. There are two primary difficulties of this
temperature control process:
The caloric value of the waste fluctuates strongly.
Figure 4: The 64 ton crane of Hochtief Corp. uses fuz- 0 The fire position and shape cannot be measured directly.
zyPLC based anti-sway positioning control
Because the generated heat from the burning process is used to
In spite of the difficulties involved with automated control, hu- produce electrical energy, a stable incineration process is also of
man operators can control cranes quite well in most cases. Be- high commercial interest.
cause fuzzy logic is a technology that facilitates control system

1847
plants in Germany to limit the total amount of phosphate in the
released water to 1 milligram per liter. To extract the phosphate
from the water, FeCI3 is added that converts the phosphate into
FePQ4 that is sedimented with the sludge. Because a violation of
the legal phosphate limit results in severe penalties, the operators
tend to overdose the FeC13.

Figure 7: By injecting Feci, into the sludge, dissolved


Figure 6: In a waste incineration plan, a crane continuously phosphate precipates from the waste water
delivers waste from the bunker to the belt running through To optimize the FeCl3 dosing, a fuzzy logic controller that uses
the burning zone. The exhaust gases are cooled and the input variables phosphate concentration, its derivative, water
cleaned flow, its derivative, and dry substance contents was designed.
In recent applications at the waste incineration plants of the cities The output of the fuzzy logic controller is the change of the set
of Hamburg and Mannheim in Germany, fuzzy logic has been variable for the injected FeC13. An underlying conventional PI
successfully applied. In Mannheim, where two fuzzyPLCs were type controller stabilizes the FeC13 flow to this set point. The PI
used to control the burning process, the steam generation capac- type controller is implemented as a function block in the fuz-
ity of one furnace is 28 Mg/h. Using the industry standard con- zyPLC as well. This is an example of the combination of fuzzy
ventional controller, steam generation fluctuated by as much as logic and conventional control engineering techniques introduced
10 M g h in just one hour. The fuzzy logic controller was capable in Section 1. of this paper.
of reducing this fluctuation to less than +I Mgh. This dramati-
cally improved robustness and also caused the NO, and SO2
emission to drop slightly, and the CO emission to drop to half
[ l l , 121.

Dosing Control in Waste Water Treatment Plants

Waste water treatment processes are a combination of biological,


chemical, and mechanical processes. This makes the creation of a
complete mathematical model for their control intractable. How-
ever, there is a large amount of human experience that can be
exploited for automated controller design. As such operator ex-
perience can be put to work very efficiently by fuzzy logic, many
plants already use this technique 141.

In a recent application in Bonn, dosing of liquid FeC13 for phos-


phate precipation has been successfully automated using the Figure 8: A software simulation of a simplified
fuzzyPLC. Recently changed legislation requires water treatment precipitation controller is contained in [4]

1848
The total fuzzy logic controller uses 207 rules to express the the parallel running of the steel belt and the synchronization of
control strategy based on the 5 input variables of the fuzzy logic all axis had to be solved.
control block. The total implementation time was 3 staff month
and resulted in saving of about 50% of the FeC13 compared to the
manual control before. Taking implementation time and hard-
warekoftware cost into relation with the saving of FeC13 results a
return of investment time of half a year.

Control of Tunnel Inspection Robots

German Aerospace corporation DASA has developed a sewage


pipe inspection system using two robot units and a support truck
[7]. The objective of the robots is to detect leakages in segments
of the pipe by applying air pressure to the sealed space between
the two robots. Because the vertical access shafts can be quite far
away from each other, the robots have to operate up to 400 yards
away from the truck. The robots are connected to each other and
the truck by cables' that provide air pressure, electrical energy,
and control signals to the robots.

Figure 10: Control of hydraulic systems is difficult as many


non-linearities, such as the "stick-slip" effect, are involved
The employed automation system has a highly decentralized
structure and consists of tvvo large master PLCs, a number of
smaller compact PLCs, a PC based supervisory system, and
seven fuzzyPLCs. All units are networked using the integrated
field bus interfaces. Very important for the synchronization of the
entire machine is the ability of the field bus network to satisfy the
real time requirements. One typical problem involved with the
control of hydraulic systems is the so-called "stick slip effect".
Figure 9: The two robot units in the sewage pipe (right) are The transition of an axis from standstill to motion is highly non-
supplied from a specialized truck by cables linear because of the transition from stick friction to slip friction.
This makes designing a good controller for hydraulic systems
When DASA developed the system, a severe control problem
difficult. In the cited application, fuzzy logic rendered a good
came up. To avoid entanglement of the cables that can result in
solution technique, freeing system design from the burden of the
the robots getting stuck in the pipe, cable tension must be con-
theory of non linear systemls synthesis. The overall design time
trolled very carefully. A conventional approach using complex
using fuzzy logic was only a third of what a conventional ap-
state variable controllers turned out to be too costly both in terms
proach had required in past applications of conventional control
of money and design time. A control system implemented on two
for similar presses [9].
fuzzyPLCs using about 200 rules each showed very good results
at very short engineering time and less than 10% of the costs of ,a
conventional solution. Temperature Control in Pllastic Molding Machines

In plastic molding machines, temperature control is crucial to


achieve high and stable protduct quality. This requires laborious
Positioning in Presses
tuning of the involved confrol algorithms as the dead times in-
volved in an extrusion maclhine are significant, and there is sig-
One area with big potential for fuzzy solutions is the control of
nificant coupling between thle different temperature zones [9],
drives. In this example we discuss hydraulic axis control. One of
the most complex fuzzy projects was done for a hydraulic press
To cut down the commissioning time for these machines, KM
used to press laminates, printed circuit boards, and floor cover-
corporation has developed a self-tuning controller using the fiz-
ings. The task was the synchronized control of a 14-axis system.
zyPLC. At start up time some parameters are estimated that are
The position control of the axis, a superimposed pressure controll,
used to scale the non linear fuzzy controller. In contrast to con-

1849
ventional tuning algorithms, this controller does not require a
cooling down of the machine to room temperature before self
tuning can work. Even very difficult temperature zones with big
dead times can be handled by this algorithm and the result is a
very robust controller. This is important, because the temperature
properties of an empty machine and one filled with plastic mate-
rial are extremely different. Compared to conventional systems,
the fuzzy logic enhanced temperature controller performs faster
response time and significant smaller overshoot combined with
extreme robustness.

Figure 13: The application of fuzzy logic in the A/C system


of a large hospital in Germany saved more than 25% en-
ergy
The fuzzy logic controller outputs the set values for the coolant
valve, the heat water valve, and the humidifier water valve. The
fuzzy logic control strategy uses different temperature and hu-
midity sensors to determine how to operate the air conditioning
process in an energy conserving way. Again, the capability of
processing interdependent variables results in significant advan-
tages over conventional solutions. For example, one knows that
when temperature rises, relative humidity of the air decreases.

Air Condihonmg Controllei

Figure 11: To achieve high product quality, keeping the


temperature constant is critical in plastic molding
140
mp.
120

100

eo

60
‘Conventional Controller

““1
20 /
Figure 12: The fuzzy logic controller in the molding ma- Figure 14: The application of fuzzy logic in the
chine reaches the set point faster and avoids overshoot a/c system of a large hospital in Germany
saved more than 25% energy
Climate Control Using Fuzzy Logic This knowledge can be exploited by implementing a fuzzy logic
control strategy that allows the temperature controller ,,to tell“
Climate control systems reveal a high potential for energy saving. the humidity controller that it is going to activate the heater
In a recent application of a major hospital in Europe, the integra- valve. The humidity controller now can respond to this before it
tion of fuzzy logic saves about 25% electrical energy, equivalent can detect it by its sensor. The result is an increase in control
to the amount of $50,000 per year. quality [4, 81.

1850
Wind Energy Converter Control clever combination of both conventional automation techniques
and fuzzy logic. Fuzzy logic by no means replaces conventional
In recent years technological advancements made the commercial control engineering. It rather compliments conventional tech-
use of wind energy feasible. A trend to larger plants further inn- niques with a highly efficilent methodology to implement multi-
proved the cost/performance ratio. Such large wind energy coin- variable control strategies. Thus, the major potential for fuzzy
verters however require advanced control systems both to ensure logic lies in the implementation of supervisory control loops.
high efficiency and long life. The controller sets the angle of the
rotor blades based on the wind situation (pitch control). How- 5. Literature
ever, wind is not a one-dimensional figure. Strength, gustiness,
and fluctuation of wind angle must be evaluated to determine the [ 13 von Altrock, C. and Krause, B., "On-Line-Development
optimal rotor blade angle. Tools for Fuzzy Knowledge-Base Systems of Higher Or-
der", 2nd Int'l Conference on Fuzzy Logic and Neural Net-
works Proceedings, IIZUKA, Japan (1992), ISBN 4-
938717-01-8.
[2] von Altrock, C., Krause, B. and Zimmermann, H.-J.,
"Advanced Fuzzy Logic Control Technologies in Automo-
tive Applications", IEEE Conference on Fuzzy Systems
(1992), ISBN 0-7803-0237-0, p. 831-842.
[3] von Altrock, C., Franlke, S., and Froese, Th., "Optimization
of a Water-Treatment System with Fuzzy Logic Control",
Computer Design Fuzzy Logic '94 Conference in San Diego
(1994).
[4] von Altrock, C., "Fuzzy Logic and NeuroFuzzy Applica-
tions Explained", Prentice Hall, ISBN 0-13-368465-2
(1995).
[5] von Altrock, C., Arend, H.-O., Krause, B., Steffens, C., and
Behrens-Rommler, E., "Customer-Adaptive Fuzzy Control
of Home Heating S:ystem", IEEE Conference on Fuzzy
Systems in Orlando (1994).
161 von Altrock, C., Arend, H.-O., Krause, B., Steffens, C., and
Figure 15: To maximize the efficiency of a wind energy Behrens-Rommler, E., "Customer-Adaptive Fuzzy Control
converter, the pitch controller must consider many inputs of Home Heating System", IEEE Conference on Fuzzy
There is a trade-off between efficiency, safety and wear of the Systems in Orlando (1994).
wind energy converter. If the blade angle is set to withdraw the [7] Gebhardt, J. and Muller, R., ,,Application of Fuzzy Logic to
maximum amount of energy from the wind, the risk of sudden the Control of a Wind Energy Converter, First European
wind gusts causing excessive mechanical stress at the converter Congress on Fuzzy and Intelligent Technologies (EUFIT
increases. For these reasons, an Aerodyn wind energy converter 93), Aachen, 09/93
was enhanced by a fuzzy system based on human experience to [SI Gebhardt, J., Fuzzy Logic and the Programmable Logic
find the best compromise to this trade-off [6]. The first imple- Controller, Control Systems 09/94
mented system is running in a field test and shows quite promis- [9] Gebhardt, J., New Industrial Applications of the Fuzzy-PLC
ing results. The quality of the controller is not only measured in Proceedings of the 3. European Congress on Fuzzy and In-
constancy of the delivered power but also in measures of me- telligent Technologies (EUFIT 9 9 , Aachen, 08/95
chanical stress at the tower, the nacelle and the rotor blades. Next [IO] Gebhardt, J., Standard-Solutions and Industrial Practice -
step will be the application of the achieved results to the first 1.2 Dream or Reality?, 3. European Congress on Fuzzy and In-
MW systems that are launched to the market in 1996. telligent Technologies (EUFIT 95), Aachen
[ 1I] Gierend, Ch., "Fuzzy Logic Control of a Waste Incineration
Plant", 5. Aachen Fuzzy-Symposium (1995).
4. Conclusions [12] Krause, B., von Altrock, C., Limper, K., and Schafers, W.,
"A Neuro-Fuzzy Adaptive Control Strategy for Refuse In-
As a consequence of the high degree of awareness raised by a cineration Plants", Fuzzy Sets and Systems, V. 63, 3 (1994).
large number of publications over the past 5 years in Europe, a [ 131 N.N., Fuzzy-Logic: Hardware and Engineering, 2/95 AWB
substantial number of successful applications has been generated. 27- 1240-GB, Klockner-Moeller corporation
Of these, we have presented a selection of 8 recent applicatioins [ 141 N.N., Fuzzy-Logic: Programming and Operation of the
in this paper. In all applications, the key to success lies in the User Interface, 11/94 AWB 27-1 149-GB

1851

Potrebbero piacerti anche