12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

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.

plc fuzzy - 26.2<br />

1<br />

0<br />

bucket is full<br />

1<br />

0<br />

stop filling<br />

1<br />

0<br />

bucket is half full<br />

1<br />

0<br />

fill slowly<br />

1<br />

0<br />

bucket is empty<br />

height<br />

1<br />

0<br />

fill quickly<br />

angle<br />

Figure 26.2<br />

Fuzzy Sets<br />

Now, if we are given a height we can examine the rules, <strong>and</strong> find output values, as<br />

shown in Figure 26.3. This begins be comparing the bucket height to find the membership<br />

for bucket is full at 0.75, bucket is half full at 1.0 <strong>and</strong> bucket is empty at 0. Rule 3 is<br />

ignored because the membership was 0. The result for rule 1 is 0.75, so the 0.75 membership<br />

value is found on the stop filling <strong>and</strong> a value of a1 is found for the valve angle. For<br />

rule 2 the result was 1.0, so the fill slowly set is examined to find a value. In this case there<br />

is a range where fill slowly is 1.0, so the center point is chosen to get angle a2. These two<br />

results can then be combined with a weighted average to get<br />

0.75( a1) + 1.0( a2)<br />

angle = --------------------------------------------- .<br />

0.75 + 1.0

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

Saved successfully!

Ooh no, something went wrong!