Professional Documents
Culture Documents
System Design and Implementation Automation System of Expert System On Hydroponics Nutrients Control Using Forward Chaining Method PDF
System Design and Implementation Automation System of Expert System On Hydroponics Nutrients Control Using Forward Chaining Method PDF
Abstract—In this paper, presented the design of an determine condition of solutions to problem in hydroponics
embedded system that used to controlling nutrients content system. In addition, this intelligence system can also be used to
for hydroponics. The embedded system implanted artificial fabricate the habitat culture according to the characteristics and
intelligence using Forward Chaining method to take the needs of the hydroponics plant. Implementing several types of
conclusion of nutrient condition. Embedded system also sensors that attached to the hydroponics system installation,
help users in measuring parameters needed by plant, they are potential of hydrogen (pH) sensor, electrical
calculate nutrient needs and the right conditions of conductivity (EC) sensor, temperature sensor, its will measure
nutrients, and determine the conclusion using forward and get the required data, then will be processed by the system
chaining method. The embedded system developed by and will get the appropriate output. The data obtained will the
potential of hydrogen sensor, electrical conductivity sensor, be stored to the Cloud. Do that hydroponics owners can access
temperature sensor and cooling fan, water pump. through internet. Utilizing internet of things technology.
Intelligent system are expected to assist hydroponics owners in
Keywords— hydroponics, embedded system, automation monitoring the state and automatic maintenance of the crop
system, expert system, forward chaining. being cultivated wherever and whenever.
The
The tank
tank No Calculate
Calculate the
water
water
the Pump
Pump 11 right turned on
filled?
filled? turned
turned on
on
requirement
requirement
pH levels is too high Added pH Down
Yes
K011
and excess ppm levels solution and water
Temperature
Temperature pH
pH Level
Level pH levels is too high Added pH Down
of
of nutrients
nutrients
K012
No pH
pH level
level over
over No
and lack of ppm levels solution and ABMix
Temperature pH
pH level
level is Pump
Pump 22
pH levels is too low Added pH Up
No Temperature is the
the upper
upper
is
is too
too high
high appropriate?
appropriate? turned
turned on
on
limit?
limit?
K013
Yes
Yes Yes
and excess ppm levels solution and water
Pump
Pump 33
pH levels is too low Added pH Up
Pump
Pump 44 ppm
ppm turned
turned on
on
K014
and lack of ppm levels solution and ABMix
turned
turned on
on Value
Value
Fan
Fan turned
turned on
on
No Ppm
Ppm value
value Calculate
Calculate
No
Ppm
Ppm Value
Value is
is pH levels is too high,
Added pH Down
over
over the
the nutririons
nutririons needs
needs appropriate?
appropriate?
upper
upper limit
limit
excess ppm levels and
Yes Yes
K015 solution, water and
Pump
Pump 55
turned
turned on temperature is not
fan turned on
on
right
Finish pH levels is too high,
Finish
Added pH Down
fig 2 Flow chart of system lack of ppm levels and
K016 solution, ABMix and
temperature is not
fan turned on
right
Figure 2 shows the flow charts diagram that occurs in pH levels is too low,
Added pH Up
embedded systems. Data input taken from ultrasonic sensor, pH excess ppm levels and
K017 solution, water and
sensor, EC sensor, and temperature sensor. After get the temperature is not
fan turned on
conclusion from forward chaining then the microcontroller will right
command the actuator cooling fan and water pump to execute pH levels is too low,
Added pH Up
to neutralize the nutrient. lack of ppm levels and
K018 solution, ABMix and
temperature is not
fan turned on
A. Knowledge Base Design right
Table 1 List of Nutrient Condition Table 1 shows the list of nutrient condition based on
measurment result on system, nutrients condition as
Condition conclusions that accur in the state of nutrient solution.
Nutrient Condition Solution
ID
The system works B. Symptoms List
K001 Nutrient normal
normally
Nutrient temperature Cooling Fan turned Table 2 List of Measurement Indication
K002
is not right on
K003 Excess ppm levels Added water Symptom ID Measurement Symptoms
Added ABMix G001 Ppm level within limits
K004 Lack of ppm levels
solution G002 Ppm level above the limits
G003 Ppm level below the lmits
7 5 4 3
8 7 6 7 5 4
K1
Table 2 shows the list of mesurement indication on nutrient. Yes Yes Yes
No
8
Yes Yes
No
8
Yes
The indication as result measurements from the sensor. K10 K15 K13
Yes
K6 K12
Yes Yes
No
8
K17 K16 K14
Yes
7
G 650
0
√ √ √ √ √ √ √ √ √
0 645
8
0 3 6 9 12 15 18 21 24 27
Inf √ : relations Time (minutes)
Table 3 show the table decision nutrient conditions based on Sensor EC TDS Meter
relationship symptoms of measurement result and conclusions
nutrient conditions of the built system fig 4 DFR0300 Calibration
biggest difference value of 6 ppm. While the smallest difference Figure 5 shows the calibration result of comparison
value is 0 ppm. Can be calculated the average difference measurement between DS18B20 sensor and thermometer
measurement DFR0300 sensor with TDS meter is 2.1 ppm. The obtained difference between two result. The maximum
difference is still within the tolerance limit of the sensor that is difference is 0.37oC and the minimum difference is 0.2C. within
<10% of the measurement result. So it can be conclude that the an average difference is 0.258oC. in the tolerance of 0.5oC
DFR0300 sensor can be used properly and correctly to measure accuracy. So, it can be conclude that the DS18B20 sensor can
nutrient levels. be used properly to measuring water temperature
60
32
Temperature (oC)
40
30
20
28
0
26 0.5 1 1.5 2 2.5
24 Time (s)
0 3 6 9 12 15 18 21 24 27
Time (minutes) Discharge
Fan = On
30 Pump 1 = Off
20 Pump 2 = Off (Rule 2)
pH = 6.0
19 July Pump 3 = Off Nutririon
7 ppm = 695 equal
10 2017 Pump 4 = Off temperature
temp = 26 is not right
Pump 5 = Off
0 Fan = On
1 3 5 7 9 11 13 15 17 19 21 23 25 Pump 1 = Off
Time (minutes) Pump 2 = Off (Rule 2)
pH = 6.1
21 July Pump 3 = Off Nutririon
8 ppm = 685 equal
2017 Pump 4 = Off temperature
temp = 27 is not right
Cooling Fan Pump 5 = Off
Fan = On
Pump 1 = Off
fig 7 Cooling Fan pH = 5.9
Pump 2 = Off
(Rule 1)
23 July Pump 3 = Off
9 ppm = 680 Normal equal
in Figure 7 shows that there is temperature reduction to the 2017 Pump 4 = Off Nutrition
temp = 25
Pump 5 = Off
optimum temperature need by the plant suggested by the expert.
Fan = Off
To get the optimum temperature the cooling fan takes 23 Pump 1 = Off
minutes to lower the temperature from 32 oC to 25oC. So, Pump 2 = Off
pH = 6.0 (Rule 1)
cooling fan can be used to reduce the temperature of nutrient 1 25 July Pump 3 = Off
ppm = 662 Normal equal
0 2017 Pump 4 = Off
solution. temp = 25
Pump 5 = Off
Nutrition
Fan = Off
Table 6 Forward Chaining
Observ Forward
N
ation
Sensor
Actuator Action Chaining Inf Forward chaining experiment to test the system is working
o Measurement
Time conclusion in accordance with the rules of Forward Chaining method. The
Pump 1 = Off test is performed by monitoring the measurement of sensor and
Pump 2 = Off
pH = 6.1 (Rule 1) the action of the actuators compared to the expert system
7 July Pump 3 = Off
1 ppm = 629 Normal equal concept that have been prepared with the truth status approved
2017 Pump 4 = Off Nutrition
temp = 25
Pump 5 = Off by an expert.
Fan = Off
Pump 1 = Off The result of forward chaining test on the hydroponics
Pump 2 = Off (Rule 2) nutrition control automation system is show in Tabel 6. Sensor
pH = 6.1
9 July Pump 3 = Off Nutririon
2 ppm = 569 equal measurement is taking data of pH, ppm, and temperature. After
2017 Pump 4 = Off temperature
temp = 26 is not right going through a process with forward chaining method will
Pump 5 = Off
Fan = On produce output that will activate the actuator according to the
Pump 1 = Off (Rule 6) conclusion.
Pump 2 = On Lack of
pH = 6.2
11 July Pump 3 = On ppm level
3 ppm = 539 equal Pump 1 is used to drain the water, pump 2 as a pH Up
2017 Pump 4 = Off and
temp = 27 temperature solution flow drainer, pump 3 as a pH Down flow drainer, pump
Pump 5 = Off
Fan = On is not right 4 to drain the A solution, pump 5 to drain B solution, then pump
IV. CONCLUSION
Based on the result of the experiments, it can be concluded
that the nutrient control automation system in hydroponics
using forward chaining method can run well as desired and the
forward chaining as the decision making. And also can perform
data retrieval functions, send data to the cloud, and run actuators
for nutrient control.
REFERENCES