参数资料
型号: ST52F513F0M6
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO20
封装: PLASTIC, SO-20
文件页数: 56/104页
文件大小: 644K
代理商: ST52F513F0M6
ST52F510/F513/F514
55/104
Figure 8.3 Fuzzyfication
8.4 Defuzzyfication
In
this
phase the output crisp
values are
determined by implementing the consequent part
of the rules.
Each consequent Singleton Xi is multiplied by its
weight values
ω
i, calculated
by the Decision
processor, in order to compute the upper part of
the Defuzzyfication formula.
Each output value is obtained from the consequent
crisp values (Xi) by carrying out the following
Defuzzyfication formula:
where:
i = identifies the current output variable
N = number of the active rules on the current
output
ω
ij = weight of the j-th singleton
Xij = abscissa of the j-th singleton
The Decision Processor outputs are stored in the
RAM location i-th specified in the assembler
instruction OUT i.
8.5 Input Membership Function
The Decision Processor allows the management of
triangular Mbfs. In order to define an Mbf, three
different parameters must be stored on the
Program/Data Memory (see Figure 8.4):
s
the vertex of the Mbf: V;
s
the length of the left semi-base: LVD;
s
the length of the right semi-base: RVD;
In order to reduce the size of the memory area and
the computational effort the vertical range of the
vertex is fixed between 0 and 15 (4 bits)
By using the previous memorization method
different kinds of triangular Membership Functions
may be stored. Figure 8.5 shows some examples
of valid Mbfs that can be defined in ST52F510/
F513/F514.
Each Mbf is then defined storing 3 bytes in the first
Kbyte of the Program/Data Memory.
The Mbf is stored by using the following instruction:
MBF
n_mbf lvd v rvd
where:
n_mbf is a tag number that identifies the Mbf
lvd, v, and rvd are the parameters that describe the
Mbf’s shape as described above.
Figure 8.4 Mbfs Parameters
Input 1
X1
α1
Input 2
X2
α2
OR = Max
IF INPUT 1 IS X1 OR INPUT 2 IS X2 THEN .......
Input 1
X1
α1
Input 2
X2
α2
IF INPUT 1 IS X1 AND INPUT 2 IS X2 THEN .......
Y
i
X
ij ωij
j
N
ω
ij
j
N
---------------------
=
X
15
LVD
RVD
V
15
0
Input Mbf
Output Singleton
Output Variable
Input Variable
w
相关PDF资料
PDF描述
ST52F513F1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP20
ST52F513G1M6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO28
ST52F513G1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
ST52F510G2B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
ST52F510G3B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
相关代理商/技术参数
参数描述
ST52F513FMB6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513FMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513GMB6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513GMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513Y3M6 制造商:STMicroelectronics 功能描述: