Download SIMATIC S7 Fuzzy Control

Transcript
The Fuzzy Control Function Blocks
The valencies of the binary input parameters THERM_EL and BIPOLAR
have the following effects:
THERM_EL
BIPOLAR
FALSE
( := 2#0)
FALSE
( := 2#0)
Unipolar voltage or current signal at the input
FALSE
( := 2#0)
TRUE
( := 2#1)
Bipolar voltage or current signal at the input
TRUE
( := 2#1)
FALSE
( := 2#0)
Thermocouple at the input
Voltage or Current
Signal at the
Analog Input
Meaning or Effect
The function FUZZY_AI normalizes the signal.
The function FUZZY_AI normalizes the signal.
Normalization is performed in the analog input module. The function only performs an adaptation via the parameters FACTOR and OFFSET.
The function FUZZY_AI normalizes the analog input signal in this case to
the value range of the relevant input channel of the fuzzy application. The
limits MINIMUM and MAXIMUM that define the value range are read from
the fuzzy data block. They are processed as limit values in the function. The
normalized value is then entered in the fuzzy data block for the respective
input.
The normalizing value INPUT for bipolar signals is calculated from the
respective input value Xi:
INPUT +
ǒX
min
Ǔ
* (27648–X i) ) X max * (X i ) 27648)
* FACTOR ) OFFSET
2 * 27648
The corresponding relationship for unipolar signals is:
INPUT +
ǒX
min
Ǔ
* (27648–X i) ) X max * X i
* FACTOR ) OFFSET
27648
Where:
INPUT
Xmax
Xmin
FACTOR
OFFSET
Xi
INPUT
Normalized value which is entered in the
instance data block
Upper limit of the input value range
Lower limit of the input value range
Factor (gradient) of the normalization lines
Offset of the normalization lines at the
zero point
Value supplied by the analog module
Normalization line
FACTOR
OFFSET
Xi
Fuzzy Control
C79000-G7076-C196-02
3-9
3