31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Tutorial<br />

2<br />

1.8<br />

1.6<br />

1.4<br />

1.2<br />

1<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0<br />

0 10 20 30 40 50 60 70 80 90 100<br />

Time (second)<br />

You need to add another input, the water level’s rate of change, to slow down<br />

the valve movement when it gets close to the right level.<br />

4. If (level is good) and (rate is negative), then (valve is close_slow) (1)<br />

5. If (level is good) and (rate is positive), then (valve is open_slow) (1)<br />

The demo, sltank is built with these five rules. With all five rules in<br />

operations, you can examine the step response by simulating this system.<br />

YoudosobyclickingStart from the pull-down menu under Simulate, and<br />

clicking the Comparison block. The result looks similar to the following plot.<br />

2-88

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!