Fuzzy Logic Controlled Motor Speed in Rotating Aquaponics Based On Lactuca Sativa Leaf Chlorosis and Necrosis and Environment Temperature
Fuzzy Logic Controlled Motor Speed in Rotating Aquaponics Based On Lactuca Sativa Leaf Chlorosis and Necrosis and Environment Temperature
Abstract—Necrosis and chlorosis are some of the leaf for herbs and leafy crops driven by a motor for its rotating
conditions that contribute to losses in crop production, which is mechanism. The crops rotate in a wheel-like structure and the
the browning and yellowing of leaves caused by improper speed of the motor indicates the frequency of watering of
irrigation and fertigation. A rotating aquaponics, crop crops in the system [2]. The physical appearance of the plant,
cultivation conceptualized initially by NASA to save space and
particularly the leaves, mimics essential aspects that are
grow their food on space stations is the inspiration of application
of this study. A fuzzy logic controlled (FLC) DC motor speed quickly modified by harmful viruses, bacteria, and fungus,
controller was developed using the Mamdani system to automate intruding weeds, and abiotic variables such as heat and water
the rotating mechanism that is responsible for watering turns of stresses [3–7]. Hence, it is imperative to maintain ideal values
lettuce crops. Using CIE L*, a*, color space, and environment of parameters such as the water intake of crops and
temperature as input linguistic values, the motor speed will temperature to avoid necrosis and chlorosis caused by
adjust depending on the status of the physical pigment condition underwatering (browning) and overwatering (yellowing)
of leaves as well as the intensity of temperature. The generated respectively.
fuzzy logic controller has four triangular membership functions Machine learning over the years has been utilized in the
with 16 rules on each of the inputs. This resulted in four possible
myriad field of applications such as agriculture that catalyze
outputs of rotating aquaponics motor speed measured in rpm:
very slow (0.25), slow (0.5), slightly fast (1.25), and fast (2). The smart farming solutions [8–12]. For detecting healthy and
modeled FLC was simulated in a Simulink environment in damaged corn leaves and estimating the leaf damaged
MATLABR2021 software and had a 10-step size and manifested percentage attributed by maize Cercospora leaf spot, a hybrid
essentially accurate results with 100% correct outputs based on gaussian quantum-behaved particle swarm and recurrent
input characteristics and rules developed. This developed FLC neural network (RNN) were used with R2 (0.949), RMSE
model is a substantial contribution to mitigating losses on lettuce (6.290), and inference time (3 seconds) results [13]. Hybrid
crops grown under rotating aquaponics by automating the water linear discriminant analysis and decision tree application were
absorption frequency depending on the status of the crop and the able to classify healthy and diseased grape leaves that is
temperature of its environment.
97.79% more accurate than support vector machine
Keywords—rotating aquaponics, fuzzy logic, motor, chlorosis classification, naïve Bayes, and k-nearest neighbors’
and necrosis, controlled environment engineering algorithm as well as quantify the infected percentage on
diseased leaves using regression tree (R2 = 0.943) [14]. A DC
I. INTRODUCTION motor fuzzy logic controller (FLC) is developed under the
Aquaponics, through the years, has been an emerging Mamdani system with two inputs: speed error and change in
practice in the agriculture field to maximize resources for the speed error. The parameters of a PID controller are chosen
more food production. It is the integration of aquaculture or using a trial-and-error process. Simulations using the
fostering of marine products as well as hydroponics which is Simulink program were used to examine FLC and
the soilless cultivation of crops. The growing demand and proportional-integral-derivative (PID) which has a more
losses of food supply are some of the reasons researchers complicated design [15]. In terms of settling time, rising time,
continue to find solutions on how to optimize sustainable peak time, and % overshoot, a speed controller for a DC series
aquaponics production [1]. wound motor utilizing FLC outperforms a DC motor without
Rotating hydroponics, an original idea for National a controller [16]. By adjusting the armature voltage in the
Aeronautics and Space Administration (NASA) space constant torque zone and the field current in the constant
stations’ application to grow their food, is a cultivation system power region, FLC was designed to control the speed of a DC
Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:43:52 UTC from IEEE Xplore. Restrictions apply.
motor utilizing combined armature voltage and field current conditions have the same b* pigment range. Fig. 2 shows the
[17]. These mentioned related studies show the apparent rise segmentation of necrotic and chlorotic areas on lettuce crops.
of machine learning applications specifically fuzzy logic (FL)
in control systems. However, FLC application on rotary
aquaponics is still an open research gap.
This paper aims to provide a DC motor speed controller
for rotating aquaponics for lettuce cultivation based on three
factors: temperature (T, °C), L*, and a* CIELab color space
components. Fuzzy logic was implemented in modeling a
motor speed controller under the Mamdani system and
assessed in Simulink in MATLAB program. A total of four Fig. 2. Entire leaf and damaged area segmentation [18].
output speeds quantified in revolution per minute (rpm) was
developed based on the three inputs that contribute to the TABLE I. CIE L*A*B* COLOR SPACE LETTUCE SEGMENTATION VALUES
necrosis and chlorosis build-up on lettuce [18]. A Simulink
functional block model of DC motor speed controller was Category L a* b*
generated. This is to determine the performance of the Necrotic 42.55 99.71 1.434 37.2 -1.06 58.78
modeled FLC. This approach will be helpful for the automated Chlorotic 89.47 99.71 -21.5 5.005 -1.06 58.78
variation of motor speed that is synonymous with the
frequency of watering of lettuce crops depending on the B. Fuzzy Logic Control Modeling
necessity and sufficiency of the input parameters. Zadeh (1965) proposed fuzzy logic as a multi-valued logic
to cope with ambiguous and uncertain concepts. Unlike
II. MATERIALS AND METHODS computers that recognize binary values only, FL mimics
The DC motor rotation speed is predicted using three input human cognition and judgment, giving an interpretation to
predictors: temperature (°C), L*, and a* color space values. words like "sometimes," "colder," or "hotter” [20]. In this
These are the values that would determine the needed research, 4 membership function with 16 rules was designed
frequency of water absorption in rotating aquaponics. Fig. 1 as FLC for each of the three inputs. A Mamdani controller was
shows the process of the FLC model development built from utilized, and linguistic variables were set of which have titles,
these signatures. MATLAB R2021a is the software utilized defined domain, range of values, and an interpretation of
for FLC modeling, FL rule setting, and prediction of motor values. Originally, Mamdani fuzzy systems were created to
rotation speed. mimic the actions of manual operations in charge of
supervising manufacturing processes [21].
Temperature (°C), L*, a* parameter values
Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:43:52 UTC from IEEE Xplore. Restrictions apply.
TABLE IV. INPUT VARIABLE TEMPERATURE DETAILS
Linguistic Value Notation Min. (°C) Max.
(°C)
Cold C 12 19.5
Normal N 16.5 25.5
Slightly Hot SH 22.5 31.5
Hot H 28.5 36
Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:43:52 UTC from IEEE Xplore. Restrictions apply.
FLC, display, and two scopes (one in input channel and one
on output) to determine the readings for every step size.
IV. CONCLUSION
A fuzzy logic-controlled DC motor speed controller is
presented in this paper. Under the Mamdani system, four
membership functions having 16 rules were created for each
of the three linguistic values which are L*, a*, and
temperature. Triangular membership function was utilized for
the inputs and results in a four-membership output which is
the speed of the DC motor rotation indicated as very slow for
0.25 rpm, slow for 0.5 rpm, slightly fast for 1.25 rpm, and fast
for 2 rpm. The developed fuzzy logic controller then
Step Sample underwent simulation to evaluate its performance. A ten-
Fig. 10. Input sampled based steps of linguistic variables: L* (blue line), T second step time was implemented, and all step time
(light blue line), and a* (orange line) on the y-axis.
Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:43:52 UTC from IEEE Xplore. Restrictions apply.
manifested essentially accurate results based on input [13] R. Concepcion, E. Dadios, J. Alejandrino, C. H. Mendigoria, H.
Aquino, and O. J. Alajas, “Diseased Surface Assessment of Maize
characteristics.
Cercospora Leaf Spot Using Hybrid Gaussian Quantum-Behaved
This developed FLC model is a substantial contribution to Particle Swarm and Recurrent Neural Network,” Apr. 2021. doi:
mitigating losses on lettuce crops grown under rotating 10.1109/IEMTRONICS52119.2021.9422515.
aquaponics by automating the water absorption frequency [14] O. J. Alajas, R. Concepcion, E. Dadios, E. Sybingco, C. H.
Mendigoria, and H. Aquino, “Prediction of Grape Leaf Black Rot
depending on the status of the crop and the temperature of its
Damaged Surface Percentage Using Hybrid Linear Discriminant
environment. In the future, it is recommended to consider Analysis and Decision Tree,” Jun. 2021. doi:
other additional inputs to have a better prediction and 10.1109/CONIT51480.2021.9498518.
observance of how chlorosis and necrosis occur on crops. [15] Y. A. Almatheel and A. Abdelrahman, “Speed control of DC motor
using Fuzzy Logic Controller,” Jan. 2017. doi:
ACKNOWLEDGMENT 10.1109/ICCCCEE.2017.7867673.
[16] N. L. Ismail, K. A. Zakaria, N. S. M. Nazar, M. Syaripuddin, A. S.
The researchers acknowledge the assistance given by De N. Mokhtar, and S. Thanakodi, “DC motor speed control using
La Salle University – Manila’s Intelligent System Laboratory fuzzy logic controller,” 2018. doi: 10.1063/1.5022920.
and the Department of Science and Technology of the [17] A. A. Sadiq, G. A. Bakare, E. C. Anene, and H. B. Mamman, “A
Fuzzy-Based Speed Control of DC Motor Using Combined
Engineering Research and Development for Technology in the Armature Voltage and Field Current,” IFAC Proceedings Volumes,
Philippines vol. 46, no. 20, 2013, doi: 10.3182/20130902-3-CN-3020.00146.
[18] R. Concepcion II and E. Dadios, “Lettuce Leaf Necrotic and
REFERENCES Chlorotic Surface Defect Assessment Using RNN Optimized by
[1] M. Rivera-Ferre, M. Ortega-Cerdà, and J. Baumgärtner, EM,” Beijing, 2020.
“Rethinking Study and Management of Agricultural Systems for [19] G. Rogers, “Impacts By Crop: Lettuce,” Applied Horticultural
Policy Design,” Sustainability, vol. 5, no. 9, Sep. 2013, doi: Research, 2021.
10.3390/su5093858. [20] M. Shamim, S. Enam, U. Qidwai, and S. Godil, “Fuzzy logic: A
[2] C. Kim, “The Green Wheel,” The Green Wheel, Jan. 19, 2013. ‘simple’ solution for complexities in neurosciences?,” Surgical
https://www.barrons.com/articles/SB50001424052748703596604 Neurology International, vol. 2, no. 1, 2011, doi: 10.4103/2152-
578235652208700088 (accessed Feb. 11, 2021). 7806.77177.
[3] Hadad, Luria, Smith, Sela, Lachman, and Dombrovsky, “Lettuce [21] C. Moraga, “Introduction to fuzzy logic,” Facta universitatis -
Chlorosis Virus Disease: A New Threat to Cannabis Production,” series: Electronics and Energetics, vol. 18, no. 2, 2005, doi:
Viruses, vol. 11, no. 9, Aug. 2019, doi: 10.3390/v11090802. 10.2298/FUEE0502319M.
[4] R. S. Concepcion, E. P. Dadios, J. N. Carpio, A. A. Bandala, and [22] R. Concepcion II, E. Dadios, J. Cuello, and B. Duarte, “Thermo-
E. Sybingco, “Phytopigments Profiling of Lactuca Sativa Leaf gas dynamics affect the leaf canopy shape and moisture content of
Chloroplast Photosystems via Vision-based Planar aquaponic lettuce in a modified partially diffused microclimatic
Chromatography,” Dec. 2020. doi: chamber,” Scientia Horticulturae, vol. 292, 2021. doi:
10.1109/HNICEM51456.2020.9400156. https://doi.org/10.1016/j.scienta.2021.110649.
[5] R. S. Concepcion II, E. P. Dadios, and J. Cuello, “Non-destructive [23] C. H. Mendigoria, H. Aquino, J. Alajas, R. Concepcion II, E.
in Situ Measurement of Aquaponic Lettuce Leaf Photosynthetic Dadios, E. Sybingco, A. Bandala, and R.R. Vicerra, “Varietal
Pigments and Nutrient Concentration Using Hybrid Genetic Classification of Lactuca Sativa Seeds Using an Adaptive Neuro-
Programming,” AGRIVITA Journal of Agricultural Science, vol. Fuzzy Inference System Based on Morphological Phenes,” Journal
43, no. 3, Oct. 2021, doi: 10.17503/agrivita.v43i3.2961. of Advanced Computational Intelligence and Intelligent
[6] R. Concepcion II, S. Lauguico, V. J. Almero, E. Dadios, A. Informatics, vol. 25, no. 5, pp. 618-624, 2021. doi:
Bandala, and E. Sybingco, “Lettuce Leaf Water Stress Estimation https://doi.org/10.20965/jaciii.2021.p0618
Based on Thermo-Visible Signatures Using Recurrent Neural
Network Optimized by Evolutionary Strategy,” Dec. 2020. doi:
10.1109/R10-HTC49770.2020.9356963.
[7] R. Concepcion et al., “Lactuca sativa leaf extract concentration
optimization using evolutionary strategy as photosensitizer for
TiO2-filmed Grӓtzel cell,” Optik, vol. 242, Sep. 2021, doi:
10.1016/j.ijleo.2021.166931.
[8] H. L. Aquino, R. S. Concepcion, E. P. Dadios, E. Sybingco, and A.
A. Bandala, “Trend Forecasting of Computer Vision Application in
Aquaponic Cropping Systems Industry,” Dec. 2020. doi:
10.1109/HNICEM51456.2020.9400070.
[9] N. M. Tiglao, M. Alipio, J. V. Balanay, E. Saldivar, and J. L.
Tiston, “Agrinex: A low-cost wireless mesh-based smart irrigation
system,” Measurement, vol. 161, Sep. 2020, doi:
10.1016/j.measurement.2020.107874.
[10] R. Concepcion, S. Lauguico, R. R. Tobias, E. Dadios, A. Bandala,
and E. Sybingco, “Genetic Algorithm-Based Visible Band
Tetrahedron Greenness Index Modeling for Lettuce Biophysical
Signature Estimation,” Nov. 2020. doi:
10.1109/TENCON50793.2020.9293916.
[11] R. Concepcion, S. Lauguico, E. Dadios, A. Bandala, E. Sybingco,
and J. Alejandrino, “Tomato Septoria Leaf Spot Necrotic and
Chlorotic Regions Computational Assessment Using Artificial Bee
Colony-Optimized Leaf Disease Index,” Nov. 2020. doi:
10.1109/TENCON50793.2020.9293743.
[12] S. C. Lauguico, R. S. Concepcion II, J. D. Alejandrino, R. R.
Tobias, D. D. Macasaet, and E. P. Dadios, “A Comparative
Analysis of Machine Learning Algorithms Modeled from Machine
Vision-Based Lettuce Growth Stage Classification in Smart
Aquaponics,” International Journal of Environmental Science and
Development, vol. 11, no. 9, 2020, doi:
10.18178/ijesd.2020.11.9.1288.
Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:43:52 UTC from IEEE Xplore. Restrictions apply.