Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Fuzzy design with matlab

1. Develop a fuzzy inference system for a washing machine. The inputs are how dirty the
fabrics are and how much clothes are being washed, and the output is the wash time.

Step 1

Step 2
Default one input one output ျဖစ္ေသာေျကာင့္ Two inputs and One output problem အတြက္
input variable တခု ထပ္ထည့ ္ရမယ္။

Step 3
Inputs: Dirty; Not-Much, Some, Very.
Clothes; Small, Med, Much, A-Lot.

Outputs: Wash-Time; Five, Ten, Twenty, Thirty


အထက္ပါ human language အသုံ းအနဳံ းမ်ားကို အသံ ု းျပဳၿပီး triangular,trapezoidal membership
function မ်ားျပဳလု ပ္ရမည္။
Input 1 (Dirty)
‘Not-Much’ function

‘Some’ function

‘Very’ function
Input 2 (Clothes)

Output 1 (Washing Time)


Step 4
Creating rules
Step 5 : Viewing Result
1)Surface view

2)Rule view
Step 6: Saving ‘fis’ file

Step 7: converting ‘fis’ file to arduino code using


http://www.makeproto.com/projects/fuzzy/matlab_arduino_FIST/index.php
Download the ‘ino’ file
Step 8: Converting ‘ino’ file to ‘hex’ file

You might also like