• No results found

PROBLEM DEFINITION

In document CD 3 Projectdocumentationpdf (Page 34-49)

5.4 IMPLEMENTATION OF FUZZY LOGIC IN WASHING MACHINE

5.4.1 PROBLEM DEFINITION

When one uses a washing machine, the person generally select the length of wash time based on theamount of clothes he/she wish to wash and the type and degree of dirt cloths have. To automate thisprocess, we use sensors to detect these parameters (i.e. volume of clothes, degree and type of dirt). Thewash time is then determined from this data.

Unfortunately, there is no easy way to formulate a precisemathematical relationship between volume of clothes and dirt and the length of wash time required.Consequently, this problem has remained unsolved until very recently. Conventionally, people simply setwash times by hand and from personal trial and error experience. Washing machines were not asautomatic as they could be. The sensor system provides external input signals into the machine fromwhich decisions can be made. It is the controller's responsibility to make the decisions and to signal theoutside world by some form of output. Because the input/output relationship is not clear, the design of awashing machine controller has not in the past lent itself to traditional methods of control design. Weaddress this design problem using fuzzy logic.

Fuzzy logic has been used because a fuzzy logiccontrolled washing machine controller gives the correct wash time even though a precise model of input/output relationship is not available

Details about the Problem

The problem[6]in this project has been simplified by using only two variables. The two inputs are:

1. Degree of dirt 2. Type of dirt

The fuzzy controller takes two inputs, processes the information and outputs a wash time. How to get these two inputs can beleft to the sensors (optical, electrical or any type).

The working of the sensors is not a matter of concern inthis paper. We assume that we have these inputs at our hand. Anyway the two stated points need a bit ofintroduction which follows. The degree of dirt is determined by the transparency of the wash water. Thedirtier the clothes, less transparent the water being analyzed by the sensors is. On the other hand, type ofdirt is determined by the time of saturation, the time it takes to reach saturation.

Saturation is a point, atwhich there is no more appreciable change in the color of the water.

Degree of dirt determines how muchdirty a cloth is. Whereas type of dirt determines the quality of dirt. Greasy cloths, for example, take longer for water transparency to reach transparency because grease is less soluble in water than otherforms of dirt. Thus a fairly straight forward sensor system can provide us the necessary input for our fuzzycontroller.

Figure 5.1:Fuzzy Logic Block Diagram

Before the details of the fuzzy controller are dealt with, the range of possible values for the input andoutput variables are determined. These (in language of Fuzzy Set theory) are the membership functionsused to map the real world measurement values to the fuzz y values, so that the operations can beapplied on them. Values of the input variables degree_of_dirt and type_of_dirt are normalizedrange –(1 to 100) over the domain of optical sensor.The decision which the fuzzy controller makes is derived from the rules which are stored in the database.These are stored in a set of rules. Basically the rules are if-then statements that are intuitive and easy tounderstand, since they are nothing but common English statements. Rules used in this project are derivedfrom common sense, data taken from typical home use, and experimentation in a controlled environment.

The sets of rules used here to derive the output are:

1. If dirtness_of_clothes is Large and type_of_dirt is Greasy then wash_time is VeryLong;

2. If dirtness_of_clothes is Medium and t ype_of_dirt is Greasy then wash_time is Long;

3. If dirtness_of_clothes is Small and type_of_dirt is Greasy then wash_time is Long;

4. If dirtness_of_clothes is Large and type_of_dirt is Medium then wash_time is Long;

5. If dirtness_of_clothes is Medium and t ype_of_dirt is Medium then wash_time is Medium;

Figure 5.2:Membership function for dirtiness of cl othes

Figure 5.3:Membership function of type of dirt

The rules too have been defined in imprecise sense and hence they too are not crisp  but fuzzy values.The two input parameters after being re ad from the sensors are fuzzified as  per the membership function of the respective variables. These in additions with the membership function curve are utilized to come to a so lution (using some criteria). At last the crisp value of the washtime is obtained as an answer.

Figure 5.4:Membership function for output variable washtime

CONCLUSION

By the use of fuzzy logic control along with manual control options using a selector dial we have been able to obtain a wash time for different type of load and different degree of dirt. The conventional method required the human interruption to decide upon what should be the wash time for different cloths. In other words this situation analysis ability has been incorporated in the machine which makes the machine much more automatic and represents the decision taking power of the new arrangement. Though the analysis in this project has  been very basic, but this clearly depicts the advantage of adding the fuzzy logic controller in

the conventional washing machine.

FUTURE SCOPE

A more fully automatic washing machine is straightforward to design using fuzzy logic technology. Moreover, the design process mimics human intuition, which adds to the ease of development and future maintenance. Although this particular example controls only the wash time of a washing machine, the design process can be extended without undue complications to other control variables such as water level and spin speed. The formulation and implementation of membership functions and rules is similar to that shown for wash time.

REFERENCES

1. History of washing machines

http://en.wikipedia.org/wiki/Washing_machine 2. Arduino

http://www.arduino.cc/

3. Labview

http://en.wikipedia.org/wiki/LabVIEW 4. Fuzzynet technical case studies http://www.aptronix.com/

5. Technical manual of washing machines, Samsung electronics ;

http://www.samsungelectronics.com.my/washing_machine/tech_info/index.html

6. Weijing Zhang, Applications Engineer, Aptronics Incorporated, Cop yright © 1992 by Aptronix Inc.

APPENDIX

APPENDIX – A

TRANSISTOR 2N2222

APPENDIX – B

12V D.C. RELAY COIL

Detail Parameter

Outline Dimensions 20.3 ¡Á 16.8 ¡Á 20.2 mm

Contact Arrangement

(China) 1H, 1D, 1Z

(International) 1A, 1B, 1C

Contact Rating 10A/220VAC TV-8

Contact Resistance or Voltage drop <=100 m¦¸

Max. Switching Power 420W 1800VA

Max. Switching Voltage 100Vdc 380Vac

Max. Switching Current 15A

Mechanical Operation life 1 × 107

Electric al Operation life 1 × 105

Coil resistance 0.36, 0.45W

Coil Rated Voltage 12

Pickup voltage VDC(max) 75% rated voltage

Release voltageVDC(min) 10% rated voltage

Operate Time <=15ms

Release Time <=5ms

Coil MaximanVoltageVDC 130% rated voltage

Insulation Resistance 100 M¦¸(at 500V)

Dielectric Strength

(Between contacts) 50Hz, 750V

(Between contact and coil) 50Hz, 1500V

Shock Resistance 10G

Vibration resistance 10~55Hz 10G double amplitude 1.5mm

Ambient Temperature -40 ~ 70 ¡ãC

Relative Humidity 85% (at 40 ¡ãC)

Mass 13g

Cross Reference ORIGINAL SRU

Full Product i mage:

APPENDIX - C

SINGLE PHASE A.C. MOTOR

As a "rules of thumb" amps horsepower rating can be estimated as

115 Volts motor - single-phase : 14 amps/hp

230 Volts motor - single-phase : 7 amps/hp

230 Volts motor - 3-phase : 2.5 amps/hp

460 Volts motor - 3-phase : 1.25 amps/hp

In document CD 3 Projectdocumentationpdf (Page 34-49)

Related documents