31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working in Simulink ® Environment<br />

You can take fuzzy systems directly into Simulink and test them out in a<br />

simulation environment. A Simulink block diagram for this system is shown<br />

in the following figure. It contains a Simulink block called the <strong>Fuzzy</strong> <strong>Logic</strong><br />

Controller block. The Simulink block diagram for this system is sltank.<br />

Typing<br />

sltank<br />

at the command line, causes the system to appear. At the same time, the file<br />

tank.fis is loaded into the FIS structure tank.<br />

Some experimentation shows that three rules are not sufficient, because the<br />

water level tends to oscillate around the desired level. See the following plot:<br />

2-87

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

Saved successfully!

Ooh no, something went wrong!