Professional Documents
Culture Documents
This paper has been simplified by using 4.1 Linguistic variables and their
only three variables. These three inputs are (1) membership functions
dirtiness of clothes; (2) type of dirt and (3) type of
clothes. The fuzzy controller takes three inputs Variables whose values are words or
process the information and outputs the wash time. sentences in natural or artificial languages are
The person generally select the length of wash time called linguistic variables. To specify rules for the
to wash based on the amount of clothes wish to rule-base, the expert will use a “linguistic
wash and type and degree of dirt clothes have. To description”; hence, linguistic expressions are
automate this process we use sensors to detect needed for the inputs and outputs. Fuzzy sets and
these parameters (i.e. type of clothes, type of dirt fuzzy logic are used to heuristically quantify the
and dirtiness of clothes). The wash time is then meaning of linguistic variables that are specified by
determined from this data. Unfortunately, there is the expert. The concept of a fuzzy set is introduced
no easy way to formulate a precise mathematical by first defining a “membership function”.
relationship between lengths of wash time required. The linguistic variables for dirtiness of
The sensor system provides external input signal clothes are called: zero (Z), small (S), medium (M),
large (L), very large (VL). They have membership
functions µ(x) as shown in Fig.2. VS S M L VL
Z S M L VL
µ 1
1
0 10 15 20 40 60 minute
0 25 50 75 100 degree(x) Fig. 5 Membership functions for output wash
Fig.2 Membership functions for dirtiness of time
clothes
For simplicity, use triangular membership
Similarly, the linguistic variables for type functions of the output are chosen to be the same as
of dirt are called: not greasy (NG), small greasy the membership functions of the input parameters
(SG), medium (M), greasy (G), large greasy (LG). dirtiness of clothes, type of dirt and type of clothes.
They have membership functions µ(x) as shown in The fuzzy law can be expressed by fuzzy rules
Fig. 3. which are constructed as a rule-base table. Fuzzy
rules for each inputs x according to the rule-base
NG SG M G LG table as it is shown in Fig. 6, 7 and 8. An example
µ is as follows:
1 If dirtiness of clothes is medium and type
of dirt is greasy and type of clothes is thin then
output wash time is medium
VS S M L VL
0 25 50 75 100 degree(x) NG VS VS VS VS S
Fig. 3 Membership functions for type of dirt Type SG VS VS S S M
Similarly, the linguistic variables for type of M S S M M L
of dirt are called: thick (TK), medium (M), thin dirt G S S M L L
(TN). They have membership functions µ(x) as
shown in Fig. 4. L S M L L VL
TK M TN
µ Fig. 6 Fuzzy rule-base table for output wash
1 time
VS S M L VL
NG VS S S S M
z
( z).z
C
(1) References
( z)
C
[1] Manish. A, “Fuzzy Logic Control of Washing
Where Machines”, Department of Mechanical
z* = crisp value of output wash time Engineering.
∑ = denotes the algebraic sum
z = is the centric of each symmetric membership [2] C.C.Lee, “Fuzzy Logic in Control System:
function Fuzzy Logic Controller Part I & II”, IEEE
c = the membership function value Trans. On Systems, Man and Cybernetics,
Vol.20, No.2, Mar/Apr. 1990.
5. Implementation Result [3] C.V. ALTROCK, “Fuzzy Logic in Automatic
Engineering”, 1984.
This system will accept dirtiness of
clothes, type of dirt and type of clothes as the input [4] H.J Zimmermann, “Fuzzy Set Theory and its
values to make fuzzification. After that related Applications”, Kluwer Academic Publishers,
fuzzy set values and membership values can be London, 1992.
achieved and viewed in the graphically forms as
well as text format as required. By minimizing [5] Dombi. J, “Membership Function as an
previous membership value, µpremise values, as a Evaluation, In Fuzzy Sets and Systems”,
result are achieved. In the view of inference Volume35, Elsevier, 1991, 1-21.
mechanism, fuzzy conclusion can be made by
matching with rule-base built by data and µpremise [6] Ross, Timothy J “Fuzzy Logic with Engineering
value by making fuzzification. Consequently, this Applications”, 2nd Edition. University of New
fuzzy conclusion can be defuzzification to set crisp Mexico, USA, 1995.
value by means of weight average defuzzification
method. Implementation results of the system can [7] Neelankavil J.J, “Washing Machines
get as follow: Motor Controller Using Fuzzy Logic”,
-The input 1 “Type of dirt” is 40 degree, the fuzzy Department of Electrical Engineering, 2009.
sets are small greasy and medium.
-The input 2 “Type of clothes” is 30 degree, the [8] K.M.Passino and S.Yurkovich, Department of
fuzzy sets are thick and medium. Electrical Engineering the Ohio State
- The input 3 “Dirtiness of clothes” is 40 degree, University, Fuzzy Control”.
the fuzzy sets are small and medium.
[9] L.A. Zadeh, “Making Computers Think Like
People,” IEEE. Spectrum, 8/1984, pp. 26-32.