Fuzzy Expert System
Fuzzy Expert System
ARTIFICIAL
INTELLIGENCE
(CSE-402)
TOPIC: FUZZY EXPERT
SYSTEM
Roll no.
RD1804A14
Reg.No.1
0810737
Sec:
D1804
B.TECH –
MBA (INT) CSE
ACKNOWLEDGEMENT
We could have faced many problems but our teacher’s kind response
to our needs and requirement, their patient approach and their
positive criticism helped us in making our project.
With the motivation of our parent it was very easy to finish our
project successfully and satisfactorily in short span of time.
ARUN PANTA.
Contents:
• Fuzzy control system
• Overview
• History and applications
• Fuzzy sets
• Fuzzy control in detail
• Example
Antilock breaks
•
History and
Overview applications
Fuzzy logic is widely used in Fuzzy logic was first proposed
machine control. The term itself by Lotfi A. Zadeh of the
inspires a certain skepticism, University of California at
sounding equivalent to "half- Berkeley in a 1965 paper. He
baked logic" or "bogus logic", elaborated on his ideas in a 1973
but the "fuzzy" part does not paper that introduced the
refer to a lack of rigour in the concept of "linguistic variables",
method, rather to the fact that which in this article equates to a
the logic involved can deal with variable defined as a fuzzy set.
fuzzy concepts—concepts that Other research followed, with
the first industrial application, a maintained stability in both
cement kiln built in Denmark, cases. Yamakawa eventually
coming on line in 1975. went on to organize his own
fuzzy-systems research lab to
Fuzzy systems were largely help exploit his patents in the
ignored in the U.S. because they field.
were associated with artificial
intelligence, a field that Following such demonstrations,
periodically oversells itself, Japanese engineers developed a
especially in the mid-1980s, wide range of fuzzy systems for
resulting in a lack of credibility both industrial and consumer
within the commercial domain. applications. In 1988 Japan
established the Laboratory for
The Japanese did not have this International Fuzzy Engineering
prejudice. Interest in fuzzy (LIFE), a cooperative
systems was sparked by Seiji arrangement between 48
Yasunobu and Soji Miyamoto of companies to pursue fuzzy
Hitachi, who in 1985 provided research.
simulations that demonstrated
the superiority of fuzzy control Japanese consumer goods often
systems for the Sendai railway. incorporate fuzzy systems.
Their ideas were adopted, and Matsushita vacuum cleaners use
fuzzy systems were used to microcontrollers running fuzzy
control accelerating, braking, algorithms to interrogate dust
and stopping when the line sensors and adjust suction power
opened in 1987. accordingly. Hitachi washing
machines use fuzzy controllers
Another event in 1987 helped to load-weight, fabric-mix, and
promote interest in fuzzy dirt sensors and automatically
systems. During an international set the wash cycle for the best
meeting of fuzzy researchers in use of power, water, and
Tokyo that year, Takeshi detergent.
Yamakawa demonstrated the use
of fuzzy control, through a set of As a more specific example,
simple dedicated fuzzy logic Canon developed an
chips, in an "inverted pendulum" autofocusing camera that uses a
experiment. This is a classic charge-coupled device (CCD) to
control problem, in which a measure the clarity of the image
vehicle tries to keep a pole in six regions of its field of view
mounted on its top by a hinge and use the information provided
upright by moving back and to determine if the image is in
forth. focus. It also tracks the rate of
change of lens movement during
Observers were impressed with focusing, and controls its speed
this demonstration, as well as to prevent overshoot.
later experiments by Yamakawa
in which he mounted a wine The camera's fuzzy control
glass containing water or even a system uses 12 inputs: 6 to
live mouse to the top of the obtain the current clarity data
pendulum. The system provided by the CCD and 6 to
measure the rate of change of simulations show that a fuzzy
lens movement. The output is control system can greatly
the position of the lens. The reduce fuel consumption. Firms
fuzzy control system uses 13 such as Boeing, General Motors,
rules and requires 1.1 kilobytes Allen-Bradley, Chrysler, Eaton,
of memory. and Whirlpool have worked on
fuzzy logic for use in low-power
As another example of a refrigerators, improved
practical system, an industrial air automotive transmissions, and
conditioner designed by energy-efficient electric motors.
Mitsubishi uses 25 heating rules
and 25 cooling rules. A In 1995 Maytag introduced an
temperature sensor provides "intelligent" dishwasher based
input, with control outputs fed to on a fuzzy controller and a "one-
an inverter, a compressor valve, stop sensing module" that
and a fan motor. Compared to combines a thermistor, for
the previous design, the fuzzy temperature measurement; a
controller heats and cools five conductivity sensor, to measure
times faster, reduces power detergent level from the ions
consumption by 24%, increases present in the wash; a turbidity
temperature stability by a factor sensor that measures scattered
of two, and uses fewer sensors. and transmitted light to measure
the soiling of the wash; and a
The enthusiasm of the Japanese magnetostrictive sensor to read
for fuzzy logic is reflected in the spin rate. The system determines
wide range of other applications the optimum wash cycle for any
they have investigated or load to obtain the best results
implemented: character and with the least amount of energy,
handwriting recognition; optical detergent, and water. It even
fuzzy systems; robots, including adjusts for dried-on foods by
one for making Japanese flower tracking the last time the door
arrangements; voice-controlled was opened, and estimates the
robot helicopters, this being no number of dishes by the number
mean feat, as hovering is a of times the door was opened.
"balancing act" rather similar to
the inverted pendulum problem; Research and development is
control of flow of powders in also continuing on fuzzy
film manufacture; elevator applications in software, as
systems; and so on. opposed to firmware, design,
including fuzzy expert systems
Work on fuzzy systems is also and integration of fuzzy logic
proceeding in the US and with neural-network and so-
Europe, though not with the called adaptive "genetic"
same enthusiasm shown in software systems, with the
Japan. The US Environmental ultimate goal of building "self-
Protection Agency has learning" fuzzy control systems.
investigated fuzzy control for
energy-efficient motors, and Fuzzy sets
NASA has studied fuzzy control
for automated space docking:
The input variables in a fuzzy • All the rules that apply
control system are in general are invoked, using the
mapped into by sets of membership functions
membership functions similar to and truth values obtained
this, known as "fuzzy sets". The from the inputs, to
process of converting a crisp determine the result of
input value to a fuzzy value is the rule.
called "fuzzification". • This result in turn will be
mapped into a
A control system may also have membership function and
various types of switch, or "ON- truth value controlling
OFF", inputs along with its the output variable.
analog inputs, and such switch • These results are
inputs of course will always combined to give a
have a truth value equal to either specific ("crisp") answer,
1 or 0, but the scheme can deal the actual brake pressure,
with them as simplified fuzzy a procedure known as
functions that happen to be "defuzzification".
either one value or another.
This combination of fuzzy
Given "mappings" of input operations and rule-based
variables into membership "inference" describes a "fuzzy
functions and truth values, the expert system".
microcontroller then makes
decisions for what action to take Traditional control systems are
based on a set of "rules", each of based on mathematical models
the form: in which the control system is
described using one or more
IF brake temperature IS differential equations that define
warm AND speed IS not very
the system response to its inputs.
fast
THEN brake pressure IS Such systems are often
slightly decreased. implemented as "PID
controllers" (proportional-
In this example, the two input integral-derivative controllers).
variables are "brake They are the products of decades
temperature" and "speed" that of development and theoretical
have values defined as fuzzy analysis, and are highly
sets. The output variable, "brake effective.
pressure", is also defined by a
fuzzy set that can have values If PID and other traditional
like "static", "slightly increased", control systems are so well-
"slightly decreased", and so on. developed, why bother with
This rule by itself is very fuzzy control? It has some
puzzling since it looks like it advantages. In many cases, the
could be used without bothering mathematical model of the
with fuzzy logic, but remember control process may not exist, or
the decision is based on a set of may be too "expensive" in terms
rules: of computer processing power
and memory, and a system based
on empirical rules may be more the required range of an input
effective. value, or the "universe of
discourse" in fuzzy jargon.
Furthermore, fuzzy logic is well
suited to low-cost As discussed earlier, the
implementations based on cheap processing stage is based on a
sensors, low-resolution analog- collection of logic rules in the
to-digital converters, and 4-bit or form of IF-THEN statements,
8-bit one-chip microcontroller where the IF part is called the
chips. Such systems can be "antecedent" and the THEN part
easily upgraded by adding new is called the "consequent".
rules to improve performance or Typical fuzzy control systems
add new features. In many cases, have dozens of rules.
fuzzy control can be used to
improve existing traditional Consider a rule for a thermostat:
controller systems by adding an
extra layer of intelligence to the IF (temperature is
current control method. "cold") THEN (heater is
"high")
Thanks