Академический Документы
Профессиональный Документы
Культура Документы
Figure 1: Fuzzy Logic Controller block diagram b) Wind Turbine Control Node
The wind turbine node in Figure 3 is
Fuzzification is a process which converts
connected to the wind turbine and contains a GSM
crisp inputs to linguistic variables or values. Since
module and a high power relay. The high power
fuzzy logic controller is based on fuzzy sets. The
relay is used cut off the power in case of adverse
antecedents and consequents for our fuzzy system
weather conditions. The GSM module allows user to
are assumed as a trapezoid membership functions.
communicate with the end user, relay the status of
Due to its computational efficiency triangle and
the system and obtain local time from the GSM
trapezoid membership functions are used extensively
network which will be used as one of the important
in real-time applications.
input for our fuzzy system.
Inference engine is known as the heart of
fuzzy logic controller. Using unions or intersection
the fuzzy inference engine obtains the set of rules c) Appliance Node
fire in the fuzzy system. Norms can be used as The appliance node in Figure 4 consists of a
intersection operation and co-norms can be used as set of sensors and control relay depending on the
union operation. An individual rule based inference type of appliance to which it is connected. In our
engine has been implemented in our current system; case node N2 has a temperature sensor to measure
the output of this fuzzy inference engine is an temperature of water and a control relay to turn the
intersection of the individual input fuzzy sets. heater on or off.
A fuzzy control rule is implemented by fuzzy
implication where the logical connective AND is
implemented by the minimum operator. We can use
any norm to design the logical AND operator in
fuzzy logic as shown in equation (1).
ܴଵ ǣ ݂݅ሺݔ ݅ܣݏ ܽ݊݀ݔଶ ݅ܣݏଶ ǥ ܽ݊݀ݔ ݅ܣݏ ሻܶܰܧܪሺܤݏ݅ݖሻ
(1)
Where, R1 is the rule number. x0, x1… xn, z
are input variables, A0, A1…An, B, are fuzzy
variables. Defuzzification is the process of
converting fuzzy output variables to crisp outputs. A
number of mathematical procedures have been
suggested for defuzzification. The procedure for
selecting the right defuzzification method is not
particularly defined, but it depends on the type of
Figure 2: Power measurement node
application and the computational power available in
-1 to 1. When a load (such as a micro generator)
generates power we obtain a negative power factor
[18].
ଵ
Figure 7: Fuzzy Logic System for water heater node
ܴܵܯ௨௧ ൌ ට ሺܫଵ ଶ ܫଶ ଶ ڮ ܫ ଶ ) (4)
For the antecedents in our fuzzy system we
ݐ݊݁ݎܽܣ௪ ൌ ܴܵܯ௩௧ ܵܯܴ כ௨௧ (5) assume that the input for ‘time’ can be in the range
of 0 to 1440 minutes. Based on the maximum export
ܴ݈݁ܽ௪ capacity the variable ‘power’ is set at 6kW. And
ܲݎ݁ݓ௧ ൌ ൘ݐ݊݁ݎܽܣ (6)
௪
70°C is set for maximum water ‘temperature’. And
the consequents for controlling the relay, the output
Power factor determines the real power flow can be in the range of 0 to 100 divided into
to the load in. It is a pure number value ranging from RELAY_ON and RELAY_OFF. Figure 8 - Figure
11 illustrate the antecedents and consequents Table 1: Rules for water heater appliance node
designed for the fuzzy logic controller. The inferred
TIME POWER WATER HEATER
fuzzy output from the inference engine is solved by
TEMP LOAD
height defuzzification method as seen in equation
NIGHT GOOD COLD R_ON
(7).
NIGHT GOOD WARM R_ON
σ
సభ ఒ כ NIGHT GOOD HOT R_OFF
כݔൌ σ
(7) NIGHT EXCESS COLD R_ON
సభ ఒ
NIGHT EXCESS WARM R_ON
NIGHT EXCESS HOT R_OFF
MORNING GOOD COLD R_OFF
MORNING GOOD WARM R_OFF
MORNING GOOD HOT R_OFF
MORNING EXCESS COLD R_ON
MORNING EXCESS WARM R_ON
MORNING EXCESS HOT R_OFF
AFTERNOON GOOD COLD R_OFF
AFTERNOON GOOD WARM R_OFF
Figure 8: Input variable for (temperature)
AFTERNOON GOOD HOT R_OFF
AFTERNOON EXCESS COLD R_ON
AFTERNOON EXCESS WARM R_ON
AFTERNOON EXCESS HOT R_OFF
EVENING GOOD COLD R_OFF
EVENING GOOD WARM R_OFF
EVENING GOOD HOT R_OFF
EVENING EXCESS COLD R_ON
EVENING EXCESS WARM R_ON
EVENING EXCESS HOT R_OFF
Figure 9: Input variable for (time)
Table 2: Rules for resistive load
DEVICES POWER RESISTIVE
LOAD
D_ON GOOD R_OFF
D_ON EXCESS R_ON
D_OFF GOOD R_OFF
D_OFF EXCESS R_ON