Creating Rules; Input Data - Omron SYSMAC C200H-FZ001 Operation Manual

Fuzzy logic unit
Table of Contents

Advertisement

Making the Knowledge Base

5-2-3 Creating Rules

Expressing the Rules
Box is ahead
E
E
Box is faster
Slow box a lot
Slow box a lot
About even
Slow the box
Slow the box
Box is slower
Slow the box
Converting to Labels
Converting to If/Then
36
Start creating the rules by organizing your "know-how" or "past experience" of
the system in everyday expressions. A good way to organize these expressions
is a table like the one below.
Slow box a lot
Slow box a little
Slow the box
Slow box a little
Slow box a little
Don't change
Slow box a little
Speed it up a little
Slow box a little
Speed it up a little
Next, convert the input data, output data, and the expressions from the table
above to labels, as shown below.

Input data:

Product/box offset:
Offset rate of change:
Output data:
Conveyor B speed adjustment: VB
The expressions from the table above can be converted as follows:
NL
E
DE
PL
NL
PS
NL
ZR
NM
NS
NM
NL
NM
Next, convert the labels from table form to if/then statement form, which can be
entered into a computer.
IF E=NL AND DE=PL THEN VB=NL
IF E=NL AND DE=PS THEN VB=NL
IF E=NL AND DE=ZR THEN VB=NM
IF E=NL AND DE=NS THEN VB=NM
IF E=NL AND DE=NL THEN VB=NM
IF E=NS AND DE=PL THEN VB=NM
IF E=NS AND DE=PS THEN VB=NM
IF E=NS AND DE=ZR THEN VB=NS
IF E=NS AND DE=NS THEN VB=NS
IF E=NS AND DE=NL THEN VB=NS
IF E=ZR AND DE=PL THEN VB=NS
IF E=ZR AND DE=PS THEN VB=NS
IF E=ZR AND DE=ZR THEN VB=ZR
IF E=ZR AND DE=NS THEN VB=PS
IF E=ZR AND DE=NL THEN VB=PS
IF E=PS AND DE=PL THEN VB=PS
About even
Speed it up a little
Speed it up a little
Speed it up a little
Speed it up
Speed it up
E
DE (∆E)
NS
ZR
NL
NS
NM
NS
NS
ZR
NS
PS
NS
PS
Section 5-2
Product is ahead
Speed it up
Speed it up
Speed it up
Speed it up a lot
Speed it up a lot
PS
PL
PS
PM
PS
PM
PS
PM
PM
PL
PM
PL

Advertisement

Table of Contents
loading

Table of Contents