st52f513 STMicroelectronics, st52f513 Datasheet - Page 60

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
ST52510xx ST52513xx
Figure 8.5 Example of valid Mbfs
8.6 Output Singleton
The Decision Processor uses a particular kind of
membership function called Singleton for its output
variables. A Singleton doesn’t have a shape, like a
traditional Mbf, and is characterized by a single
point identified by the couple (X, w), where w is
calculated by the Inference Unit as described
earlier. Often, a Singleton is simply identified with
its Crisp Value X.
Table 8.1 Fuzzy Instructions Set
60/136
MBF n_mbf Ivd v rvd
IS n m
ISNOT n m
FZAND
FZOR
CON crisp
OUT n_out
FUZZY
( )
Instruction
Stores the Mbf n_mbf with the shape identified by the parameters Ivd, v and rvd
Fixes the alpha value of the input n with the Mbf m
Calculates the complementary alpha value of the input n with the Mbf m.
Implements the Fuzzy operation AND
Implements the Fuzzy operation OR
Multiplies the crisp value with the last
Performs Defuzzyfication and stores the currently Fuzzy output in the register
n_out
Starts the computation of a sigle fuzzy variable
Modify the priority in the rule evaluation
Figure 8.6 Output Membership Functions
8.7 Fuzzy Rules
Rules can have the following structures:
if A op B op C...........then Z
if (A op B) op (C op D op E...) ...........then Z
where op is one of the possible linguistic operators
(AND/OR)
In the first case the rule operators are managed
sequentially; in the second one, the priority of the
operator is fixed by the brackets.
Each rule is codified by using an instruction set, the
inference time for a rule with 4 antecedents and 1
consequent is about 3 microseconds at 20 MHz.
The Assembler Instruction Set used to manage the
Fuzzy operations is reported in the table below.
1
0
ij
i0
in
Description
weight
X
i0
j-th Singleton
X
ij
X
in
i-th OUTPUT

Related parts for st52f513