Next Article in Journal
Effects of Peroral Microbiota Transplantation on the Establishment of Intestinal Microorganisms in a Newly-Hatched Chick Model
Previous Article in Journal
Evaluation of the Use of a Material with Struvite from a Wastewater Treatment Plant as N Fertilizer in Acid and Basic Agricultural Soils
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Integration of Sensing Framework with a Decision Support System for Monitoring Water Quality in Agriculture

by
Siti Nadhirah Zainurin
1,
Wan Zakiah Wan Ismail
1,*,
Siti Nurul Iman Mahamud
2,
Irneza Ismail
1,
Juliza Jamaludin
1 and
Nor Azlina Ab. Aziz
3
1
Advanced Devices and System, Faculty of Engineering and Built Environment, Universiti Sains Islam Malaysia, Nilai 71800, Negeri Sembilan, Malaysia
2
Western Digital Media, Bayan Lepas 11900, Pulau Pinang, Malaysia
3
Faculty of Engineering and Technology, Multimedia University, Ayer Keroh 75450, Melaka, Malaysia
*
Author to whom correspondence should be addressed.
Agriculture 2023, 13(5), 1000; https://doi.org/10.3390/agriculture13051000
Submission received: 10 January 2023 / Revised: 21 February 2023 / Accepted: 1 March 2023 / Published: 30 April 2023
(This article belongs to the Section Digital Agriculture)

Abstract

:
Water is an essential element for every plant to survive, absorb nutrients, and perform photosynthesis and respiration. If water is polluted, plant growth can be truncated. The aim of this research is to develop a water quality monitoring system for agriculture purposes based on integration of sensing framework with a smart decision support method. This research consists of three stages: (1) the first stage: developing sensing framework which has four different water quality parameter sensors such as potential hydrogen (pH), electrical conductivity (EC), temperature, and oxidation-reduction potential (ORP), (2) the second stage: developing a hardware platform that uses an Arduino for sensor array of data processing and acquisition, and finally (3) the third stage: developing soft computing framework for decision support which uses python applications and fuzzy logic. The system was tested using water from many sources such as rivers, lakes, tap water, and filtered machine. Filtered water shows the highest value of pH as the filtered machine produces alkaline water, whereas tap water shows the highest value of temperature because the water is trapped in a polyvinyl chloride (PVC) pipe. Lake water depicts the highest value of EC due to the highest amount of total suspended solids (TSS) in the water, whereas river water shows the highest value of ORP due to the highest amount of dissolved oxygen. The system can display three ranges of water quality: not acceptable (NA), adequate (ADE) and highly acceptable (HACC) ranges from 0 to 9. Filtered water is in HACC condition (ranges 7–9) because all water quality parameters are in highly acceptable ranges. Tap water shows ADE condition (ranges 4–7) because one of the water quality parameters is in adequate ranges. River and lake water depict NA conditions (ranges 0–4) as one of the water quality parameters is in not acceptable ranges. The research outcome shows that filtered water is the most reliable water source for plants due to the absence of dissolved solids and contaminants in the water. Filtered water can improve pH and reduce the risk of plant disease. This research can help farmers to monitor the quality of irrigated water which eventually prevents crop disease, enhances crop growth, and increases crop yield.

1. Introduction

Water is an important element in many daily activities such as drinking, cooking, agricultural, recreational and business sectors. Agriculture is a highly water dependent sector globally and accounts for 70% of total water consumption worldwide [1]. Agriculture is frequently linked to non-urban pollutants. Organic materials, fertilizers, sediments, and pesticides are all examples of agricultural pollutants [1].
In Malaysia, water pollution occurs due to urban land use (87%), agricultural land use (82%), forest land use (77%), and other land uses (44%) [2]. The use of possibly polluted water, especially wastewater in agriculture, can lead to the accumulation of chemical and biological pollutants in crops, livestock products, land, and water resources, which eventually affects consumers.
Crops need water for several metabolic processes such as photosynthesis and respiration. Water is used to transport amino acids, dissolved nutrients, and other active substances from the soil to each part of the crop [3]. Thus, water quality is an important element to assist the growth of crops. Many methods have been adopted such as using spectroscopy [4,5], optics, and laser sensing [6,7], Arduino [8], Internet of Things (IoT) and real time monitoring [9,10,11], multi-sensor array [12], and cyber physical systems [13,14,15]. Reviews on water quality monitoring methods have been done recently involving electronics and optical sensing [16,17]. Real-time monitoring of water quality parameters is needed to assist authority and farmers [9,18]. The surface water quality index method for irrigation is an important tool to determine the overall impact of various parameters that are used as a single variable [19]. The irrigation water quality index (IWQI) model was developed by combining eight water quality parameters; sodium adsorption rate (SAR), residual sodium carbonate (RSC), electrical conductivity (EC), pH, total dissolved solids (TDS), sodium (Na), and chloride (Cl) [19,20]. In addition, El Osta et al. [21] studied the suitability of groundwater for drinking and irrigation using water quality indices and multivariate modeling.
In comparison to the previous methods, Hong et al. [9] applied IoT and Arduino ATMega328 to interface with multiple sensors such as pH, temperature, turbidity, and total dissolved solids (TDS) to monitor water quality of rivers or streams. Decision-making for water quality was not included, and the data was more complex. Meanwhile, Khatri et al. [22] used Raspberry Pi as the main microcontroller whereas the system in Mahajan et al. [23] used an Arduino as the microcontroller. The system in Mahajan et al. [23] also used graphical user interface (GUI) for human–machine interface (HMI) and fuzzy modeling in Python to display results from five different types of water sensors to monitor water quality, but analysis for each type of water was not shown in the study. Additionally, Taru et al. [8] used an Arduino, interfaced with the LabVIEW to control water quality parameters such as pH, turbidity, and temperature.
Here, we developed a water quality monitoring system by integrating a sensing framework with a smart decision-making method for testing water sources used in irrigation such as a river, lake, tap, and a filtered device. The water quality parameters were detected using four sensors; pH, temperature, electrical conductivity (EC), and oxidation-reduction potential (ORP). These four parameters are commonly used to measure water quality [24]. The sensors were controlled by an Arduino, and Python programming language was used to display the data. Fuzzy logic was applied for the decision-making method based on a range of water quality parameters in terms of membership functions. Our developed system improves the method in Taru et al. [8] by adding sensors such as electrical conductivity (EC) and oxidation-reduction potential (ORP). The previous method, He et al. [25] was more complex to be applied by consumers due to many mathematical derivations involved. The system used water quality index method to conduct scientific analysis at the end of the process to decide on water quality. Our developed system applies fuzzy logic which is useful because the approach is less mathematically intensive than neural networks and genetic algorithms [22]. Thus, the proposed system can provide simplicity and flexibility to produce reliable results.

2. Materials and Methods

The developed system was basically divided into three stages; (1) Developing a sensing framework; (2) Developing a hardware platform, and (3) Developing a soft computing framework. The flow chart of the system is shown in Figure 1. Four sensors to monitor water quality parameters; pH, temperature, electrical conductivity (EC), and oxidation-reduction potential (ORP) were applied, and data from the sensors were displayed. The water quality parameters were chosen because the parameters were commonly sampled or monitored for water quality [26]. Fuzzy logic was used for decision making and parameter ranges of membership functions (MF) were selected.
Testing and collecting data were performed from August to December 2021 during the movement control order (MCO) using water sources such as Limau River (Kulim, Kedah), Azure Lake (Kulim, Kedah), tap, and filter device (Cuckoo, Yangsan, South Korea). Limau River and Azure Lake water were quite turbid compared to tap and filtered water.

2.1. First Stage: Developing Sensing Framework

At the first stage, four different water quality parameter sensors were selected: pH, electrical conductivity (EC), temperature, and oxidation-reduction potential (ORP). The water sample is neutral if the pH value is ~7 [27,28,29]. pH is an important parameter to measure the acidity and alkalinity of the water [30,31]. Alkalinity and pH are among important factors to determine suitable irrigation water [32]. A good pH range is important for crop growth and to increase the quality and quantity of production.
EC sensor is also important to determine the quality of water and to detect the presence of chemicals [33]. EC needs to be paired with the temperature sensors to determine the accuracy of the reading. Dissolved minerals can appear in water which also can be referred to total dissolved solids (TDS) or total dissolved salts. If these minerals exist at high concentrations, they can be toxic to the water. EC sensor can detect the TDS and can be used as an indicator of salt concentration. Higher concentration of dissolved minerals in water results in higher conductivity and EC value in water [33]. Meanwhile, the purer the water, the lower the conductivity of electricity which also refers to a good insulator. Thus, the EC value of safe water that can be used cannot exceed 400 μS/cm [34].
ORP sensors can measure the oxidization of water where it can detect the cleanliness of the water. Lower ORP values indicate a higher possibility of pollution [35]. ORP measures the capability of water to break down waste products. The process of oxidizing occurs when the substance lacks some electrons. The increase in oxidizing agents gives a higher ORP value, whereas the increase in reducing agents indicates a lower ORP value [35]. The ORP of water is an important key indicator of contamination levels. The acceptable range of ORP value for water should be high, between 300 and 500 millivolts. A low ORP reading indicates less dissolved oxygen, an increase in toxicity of certain metals and pollutants, and many dead and decaying materials in the water [35,36]. According to the United States Environmental Protection Agency (EPA), the acceptable range of ORP value in water is around 250 mV [37]. Filtered water can have a range of reading between 357 mV to –25 mV depending on the brand and type of filters [38]. Lozano et al. [14] stated that nicotine, arsenic trioxide, and Escherichia coli are very sensitive to water quality parameters such as pH, electrical conductivity, and dissolved oxygen. Thus, it is beneficial and useful to monitor these parameters.
The individual sensor nodes are able to support open-source architectures that could reduce the total device cost significantly [13,39]. In addition, the sensors were easily connected to an Arduino. In this study, the sensors consisted of a pH sensor (SEN0161, Analog, 0 pH to 14 pH, Gravity Series, DFRobot, Shanghai, China), used to measure the acidity and alkalinity of the irrigated water; electrical conductivity (EC) sensor (DFR0300-H, Output voltage: 0 V to 3.2 V with gravity connector, DFRobot, Shanghai, China), used to measure the ability of irrigated water to conduct electrical current; temperature sensor (DFR0198, Digital Temperature Sensor, Waterproof, DS18B20, −55 °C to 125 °C, DFRobot, Shanghai, China), used to measure the suitability of irrigated water for plant; and oxidation-reduction potential (ORP) sensor (SEN0165, measuring range from −2000 mV to 2000 mV, suitable temperature from 5 to 70 °C, DFRobot, Shanghai, China), used to measure the oxidation of irrigated water.
Calibrations of the sensors were done to determine the accuracy of the reading from all sensors where the reading (actual) was compared with the reference standard and the percentage relative error was measured. The percentage relative error, P was calculated based on Equation (1) [22]. In the developed system, the percentage relative errors of sensors ranged from 0 to 1%.
P e r c e n t a g e   r e l a t i v e   e r r o r ,   P = A c t u a l r e f e r e n c e A c t u a l × 100

2.2. Second Stage: Development of Hardware Platform

The second stage consisted of the development of a hardware platform that used an Arduino for sensor array of data processing and acquisition. Implementation of a hardware system is an important part of data display and acquisition because complex data matrices are generated through a sensor array [13]. To connect with the sensor array, Arduino Mega 2560 and Arduino Uno were used where the Arduino board operated with an external supply range between 6 and 20 volts, whereas the system used voltage between 5 and 15 V [8]. Arduino was used in the system because it was easy to implement and inexpensive compared to other microcontroller platforms [31]. A low-power platform device was adequate to sustain overall operations and batteries simultaneously. The data points were generated from a multi-sensor array unit and were displayed in the Arduino serial monitor.

2.3. Third Stage: Developing Soft Computing Framework

The third stage consisted of a soft computing framework that utilized the features of Python programming languages and fuzzy logic for effective decision support.

2.3.1. Python Framework

Python is an open-source, high-level programming language that supports data processing and computing frameworks [22]. Python has an extensive library such as NumPy, Panda, SciPy, and Scikit-Learn for powerful toolsets such as Mathematics, Statistics, and Computational Science and other scientific domains [22]. In this system, the data from the Arduino were supplied to Python through a serial port. The system used the functionalities of scientific NumPy and Matplotlib libraries simultaneously. With the wide use of Python in many ranges of tools, the NumPy library is basically the core library for scientific and numeric computing, whereas the output segment of Python is produced by Matplotlib [13].
To generate and collect the data points that were produced from multiple sensors, the system interfaced Python with Arduino software, an integrated development environment (IDE). The coding simulation used C/C++ programming languages at the serial monitor. Pycharm module text editor was used to interface Python with the Arduino. Pyserial and Numpy libraries were installed and imported to Python. To read data from the sensors, the Pycharm module editor was used to compute the codes.

2.3.2. Fuzzy Logic Approach

For the decision support process, the system assisted the user to decide whether the quality of water in the distribution network was not acceptable (NA), adequate (ADE), or highly acceptable (HACC). Multiple sensor nodes generated a huge data set of information. Fuzzy logic is one of the effective techniques that can support the decision support system. Fuzzy logic can translate natural language expression into a mathematical universe [13]. In a fuzzy inference system (FIS), the linguistic rule is presented. Vagueness in decision-making and reasoning can be included in FIS results in a less mathematically intensive way than neural networks, and it supports approximate reasoning. There are three important steps to design fuzzy logic: (1) Each variable is given a membership function, (2) fuzzy inference is implemented based on the inference method, and (3) the defuzzification method is selected to determine water quality [22]. There are basically two processes in FIS which are fuzzification and defuzzification. Fuzzification is a process where the inputs are converted from a crisp value to a linguistic variable, which is then fed into the system of inference, whereas defuzzification is the process backward from fuzzification where a new set of linguistic variables is converted to a crisp value [22]. Generally, a few steps were used to develop the decision support system. In the first step, the range of parameters of water quality was selected. Then, suitable membership functions (MFs) were picked based on the complexity of the system that was considered for decision-making [22]. In our system, the triangular membership function was chosen to fuzzify the crisp variable into a linguistic variable because it was simple, linear, and gave the best response [22]. Three parameters are important in the triangular membership function, l, m, and n, given by Equation (2) [22].
f x ; l , m , n = 0   f o r   x < l x l m l   f o r   l x m n x n m   f o r   m x n 0   f o r   x > n
meanwhile, Equations (3)–(5) show the logic operations in the fuzzy logic. A and B are two subsets [22].
μ A B x = max μ A x , μ B x
μ A B x = min μ A x , μ B x
μ A ¯ x = 1 μ A x
After that, the ”if–then” rule was applied with three principles by using four fuzzy inputs (temperature, pH, EC and ORP), and single defuzzified output (water quality) based on Mamdani FIS method. The method utilizes the centroid defuzzification method to generate a more accurate response and is spontaneous rather than the Takagi-Sugeno model system [22].
Three MFs (membership functions) were assigned; not acceptable (NA), adequate (ADE), and highly acceptable (HACC). Finally, the MFs were arranged based on different ranges of water quality parameters. Table 1 shows the MFs arrangement for various water quality parameters. The pH of water is in the NA range if the value is more than 8.5 (high alkaline) and less than 5.7 (high acid), whereas the temperature is in the NA range if the value is more than 35 °C and less than 2 °C. EC and ORP are in the NA range if the value of EC is more than 1000 S/m and 600 mV, respectively. The chosen parameter ranges are based on international water quality standards for safe water to be used by humans. We believe that if water is safe for humans, it is safe for plants and animals. The parameter range can be adjusted accordingly depending on types of crops and plants to solve issues in irrigated agriculture such as salinity, water infiltration rate, ion toxicity, and excessive nutrients. Higher salts in water can affect yield, and chloride in water can cause crop damage and reduce yield [40,41]. Our system is limited to sensing four water quality parameters but can be upgraded by adding more water quality parameters such as chloride, sodium, nitrate, and heavy metals.
Formation of rules with the selected MFs was basically done by using Python programming language with the help of Skfuzzy module (fuzzy logic toolbox). Python frameworks can operate with fuzzy sets and develop them based on designated rules to define water quality. The principles of the rules are given as follows:
  • If any of the water quality parameters are NA, overall water quality will be NA;
  • If all water quality parameters are HACC, then overall water quality will be HACC, otherwise it will be ADE;
  • Based on two assumptions; (1) water quality of the individual parameters will fluctuate between HACC and ADE provided that no single water quality parameters are NA, and (2) if a single water quality parameter is ADE, the overall water quality will be ADE.

3. Results and Discussion

Four types of water sources were tested in the system; filtered, tap, river, and lake water. In the first stage, four types of sensors (pH, temperature, EC, and ORP sensors) were used to determine the quality of water: In the final stage, the sensor’s reading was inserted into the fuzzy logic system by using Jupyter software that is available online. Table 2 shows the results of each sensor for four types of water. The values were averaged from 30 measurements every day. Taking many measurements is important to observe if any fluctuation occurs in sensor’s reading.
To decide on the water quality of each sample, the fuzzy logic approach was applied to the data. Four rules were applied in the system. The rules were generated based on the reading of each sensor which referred to the range of parameters that were acceptable for irrigation purposes. Three membership functions (MFs) such as not acceptable (NA), adequate (ADE), and highly acceptable (HACC) were assigned to the specific parameter ranges. First, the membership functions should be synchronized to the reading of the pH, EC, ORP, and temperature based on the assigned ranges. For example, if pH is 8.2, it is in HACC condition, whereas if the EC reading is 530 mS/cm, it is in adequate condition. Then, the rules can be computed, and the output can be generated. Figure 2a–e show the graphical representation of data outputs based on rules that were formulated. It shows that the water quality range for NA ranges from 0 to 4, ADE ranges from 4 to 7, and HACC ranges from 7 to 10. The vertical coordinate shows the degree of membership function (MF) where the water quality ranges are assigned by MF. MF can provide decision to validate water quality.
The output of four water samples is depicted from Figure 3, Figure 4, Figure 5 and Figure 6 which consists of filtered water, tap water, river water, and lake water. Figure 3 shows that filtered water is in the HACC ranges where the overall water quality is 8.19. The decision is made because the readings of pH, EC, ORP, and temperature sensors are in HACC ranges.
Figure 4 shows that tap water is in the ADE ranges where the overall water quality is 5.5. Tap water shows that pH is 8.11, which is in HACC ranges; EC is 120 μS/cm, which is in HACC ranges; ORP is 422 mV, which is in ADE ranges; and temperature is 29.68, which is in HACC ranges. Based on the rules in Section 2.3.2, if any of water quality sensors are in ADE ranges, the overall water quality is ADE.
Figure 5 shows that river water is in the NA ranges where the overall water quality is 1.52. The rule applied to the river water is based on the readings of pH in NA ranges, EC in HACC ranges, ORP in HACC ranges, and temperature in HACC ranges. If one of the water quality sensors is in NA ranges, the overall water quality is NA.
Figure 6 shows that lake water is in the NA ranges where the overall water quality is 1.497. Overall quality of lake water is NA as the water quality parameter, EC lies at NA regions, similar to river water. The rule applied to the lake water is based on the readings of pH in HACC ranges, EC in NA ranges, ORP in ADE ranges, and the temperature in HACC ranges.
Table 3 summarizes the decision-making on water quality for filtered water, tap water, river water, and lake water in terms of pH, temperature, ORP, and EC. The water quality decision made is based on fuzzy logic rules as explained in Section 2.3.2. Meanwhile, Table 4 shows that only filtered water produces HACC results. The rest of the samples show that tap water is ADE for irrigation, whereas river and lake water are NA for irrigation.
Among four types of water samples, filtered water shows the highest pH value. It indicates that filtered water is good for irrigation. River water is found to be acidic. The toxicity can be caused by acid rain or industrial pollution with the presence of metals such as aluminum, copper, and zinc, as well as acidifying chemicals such as calcium oxide and sodium carbonates [27]. High sodium or low calcium in water can decrease the amount of irrigation water entering the soil to such an extent that insufficient water infiltrated to supply the crop [40].
Tap water depicts the lowest EC value, 0.12 mS/cm showing that tap water has less TDS. Lake water has the highest EC value showing a good electricity conductor suggesting a high amount of TDS. Chemicals such as chloride, phosphate, and nitrate ions in water can increase the electrical conductivity which shows the possibility of water pollution [42]. Besides that, the ions may accumulate in a sensitive crop to the high concentration that can cause crop damage and reduce yields [40].
Based on the observations, the ORP value of filtered water is 243.6 mV which is in the acceptable range for safe water to be used. Meanwhile, the ORP values of tap water, lake water, and river water are 422 mV, 417 mV, and 259 mV, respectively. The ORP values for tap and lake water are in healthy ranges.
Fuzzy logic was implemented to determine the acceptable range for safe water to be used. The result categorized the filtered water as HACC, tap water as ADE, and both river and lake water as NA. These findings support previous studies which reported that domestic filters improved water quality [28], and Malaysian tap water quality was safe to be used [29,43]. Both river and lake water are untreated water, therefore it is expected that the water quality from these two sources is not acceptable. Thus, we believe that the proposed system, which consists of a sensing and decision support method, is efficient to monitor water quality. In comparison with the previous methods, the developed system introduces soft computing for water quality status. It has high autonomy and fast quality detection due to quick process of decision-making, and it is efficient and flexible. It is also communicative where the data can be shared and connected throughout the system.

4. Conclusions

In conclusion, we have developed a water quality monitoring system by integrating a sensing framework with a decision support method that can be applied in agriculture. Four sensors; pH, temperature, ORP, and EC, controlled by an Arduino were used in the system where it can support the decision making of water quality using fuzzy logic. The membership functions were selected for decision-making methods such as Not Acceptable (NA), Adequate (ADE), and Highly Acceptable (HACC). Results show that filtered water is HACC and tap water is ADE, whereas both river and lake water show NA conditions for irrigation purposes. The system is user-friendly, applies an open-source platform, and reduces the complexity of data obtained from multiple sensors. The system can assist farmers in identifying polluted water and make decisions on reliable irrigation water based on the generated data. Then, they can opt for the best water resources.
In future, the system can be applied to test polluted rivers in Malaysia such as the Kim Kim River in Johor, the Klang River in Selangor, and the Melaka River in Melaka. The system can be further improved by adding chemical and biological sensors to detect any bacteria or virus in the water and integrating with IoT for easy monitoring using mobile phones.

Author Contributions

Conceptualization, project supervision, and administration, funding acquisition, W.Z.W.I.; Writing—original daft preparation, S.N.I.M.; writing—additional information, S.N.Z.; review and editing, I.I. and J.J.; and reviewing and proofreading, N.A.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Ministry of Higher Education, Malaysia under Fundamental of Research Grant Scheme, grant number FRGS/1/2021/WAB02/USIM/02/1 and Universiti Sains Islam Malaysia (USIM) under a matching grant with Multimedia University, grant number (USIM/MG/MMU-PPKMT-ZDA/FKAB/SEPADAN-S/70822). The article processing charge (APC) was funded by Universiti Sains Islam Malaysia (USIM).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All supporting data are available upon request.

Acknowledgments

We would like to acknowledge our funder, the Ministry of Higher Education, Malaysia (MOHE), all members of the Faculty of Engineering and Built Environment (FKAB), USIM and our families.

Conflicts of Interest

We declare no conflict of interest that can influence the representation or interpretation of reported research results. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Food and Agriculture Organization of the United Nations. Water Pollution from and to Agriculture—International Decade for Action. December 2017. Available online: https://wateractiondecade.org/2017/12/09/water-pollution-from-and-to-agriculture/ (accessed on 26 November 2022).
  2. Camara, M.; Jamil, N.R.; Bin Abdullah, A.F. Impact of Land Uses on Water Quality in Malaysia: A Review. Ecol. Process. 2019, 8, 10. [Google Scholar] [CrossRef]
  3. Filipović, A. Water Plant and Soil Relation under Stress Situations. In Soil Moisture Importance; IntechOpen: London, UK, 2020; p. 73. [Google Scholar] [CrossRef]
  4. Zhang, H.; Zhang, L.; Wang, S.; Zhang, L.S. Online Water Quality Monitoring Based on UV–Vis Spectrometry and Artificial Neural Networks in a River Confluence near Sherfield-on-Loddon. Environ. Monit. Assess. 2022, 194, 630. [Google Scholar] [CrossRef]
  5. Muhamad Kamil, N.A.I.; Nor’aini, Z.S.; Wan Ismail, W.Z.; Balakrishnan, S.R.; Juliza Jamaludin, J.; Ismail, I. Investigating the Quality of Milk using Spectrometry Technique and Scattering Theory. Eng. Technol. Appl. Sci. Res. 2021, 11, 7111–7117. [Google Scholar] [CrossRef]
  6. Lu, J.; Yuan, Y.; Duan, Z.; Zhao, G.; Svanberg, S. Short-Range Remote Sensing of Water Quality by a Handheld Fluorosensor System. Appl. Opt. 2020, 59, C1–C7. [Google Scholar] [CrossRef] [PubMed]
  7. Wan Ismail, W.Z.; Hurot, C.; Dawes, J.M. Properties of Random Lasers in a hollow core photonic crystal fiber. Laser Phys. 2020, 30, 035002. [Google Scholar] [CrossRef]
  8. Taru, Y.K.; Karwankar, A. Water Monitoring System Using Arduino with Labview. In Proceedings of the International Conference on Computing Methodologies and Communication (ICCMC) 2017, Erode, India, 18–19 July 2017; pp. 416–419. [Google Scholar] [CrossRef]
  9. Hong, W.J.; Shamsuddin, N.; Abas, E.; Apong, R.A.; Masri, Z.; Suhaimi, H.; Gödeke, S.H.; Noh, M.N.A. Water Quality Monitoring with Arduino Based Sensors. Environments 2021, 8, 6. [Google Scholar] [CrossRef]
  10. Palumbo, M.; D’imperio, M.; Tucci, V.; Cefola, M.; Pace, B.; Santamaria, P.; Parente, A.; Montesano, F.F. Sensor-Based Irrigation Reduces Water Consumption without Compromising Yield and Postharvest Quality of Soilless Green Bean. Agronomy 2021, 11, 2485. [Google Scholar] [CrossRef]
  11. Jamroen, C.; Yonsiri, N.; Odthon, T.; Wisitthiwong, N.; Janreung, S. A Standalone Photovoltaic/Battery Energy-Powered Water Quality Monitoring System Based on Narrowband Internet of Things for Aquaculture: Design and Implementation. Smart Agric. Technol. 2023, 3, 100072. [Google Scholar] [CrossRef]
  12. Hu, C.; Li, M.; Zeng, D.; Guo, S. A Survey on Sensor Placement for Contamination Detection in Water Distribution Systems. Wirel. Netw. 2018, 24, 647–661. [Google Scholar] [CrossRef]
  13. Bhardwaj, J.; Gupta, K.K.; Gupta, R. Towards a Cyber-Physical Era: Soft Computing Framework Based Multi-Sensor Array for Water Quality Monitoring. Drink. Water Eng. Sci 2018, 11, 9–17. [Google Scholar] [CrossRef]
  14. Lozano, C.V.; Vijayan, K.K. Literature Review on Cyber Physical Systems Design. Procedia Manuf. 2020, 45, 295–300. [Google Scholar] [CrossRef]
  15. Wang, Z.; Song, H.; Watkins, D.W.; Ong, K.G.; Xue, P.; Yang, Q.; Shi, X. Cyber-Physical Systems for Water Sustainability: Challenges and Opportunities. IEEE Commun. Mag. 2015, 53, 216–222. [Google Scholar] [CrossRef]
  16. Razman, N.A.; Wan Ismail, W.Z.; Muhammad Kamil, N.A.I.; Zainurin, S.N.; Ismail, I.; Jamaludin, J.; Sahrim, M.; Zainul Ariffin, K.N.; Balakrishnan, S.R.A. Review on Water Quality Monitoring Methods Based on Electronics and Optical Sensing. J. Adv. Res. Appl. Sci. Eng. Technol. 2022, 26, 1–7. [Google Scholar] [CrossRef]
  17. Zainurin, S.N.; Wan Ismail, W.Z.; Mahamud, S.N.I.; Ismail, I.; Jamaludin, J.; Ariffin, K.N.Z.; Wan Ahmad Kamil, W.M. Advancements in Monitoring Water Quality Based on Various Sensing Methods: A Systematic Review. Int. J. Environ. Res. Public Health 2022, 19, 14080. [Google Scholar] [CrossRef]
  18. Razman, N.A.; Wan Ismail, W.Z.; Abd Razak, M.H.; Ismail, I.; Jamaludin, J. Design and analysis of water quality monitoring and filtration system for different types of water in Malaysia. Int. J. Environ. Sci. Technol. 2022. [Google Scholar] [CrossRef] [PubMed]
  19. Rawat, K.S.; Singh, S.K.; Gautam, S.K. Assessment of Groundwater Quality for Irrigation Use: A Peninsular Case Study. Appl. Water Sci. 2018, 8, 233. [Google Scholar] [CrossRef]
  20. Tiri, A.; Belkhiri, L.; Asma, M.; Mouni, L. Suitability and Assessment of Surface Water for Irrigation Purpose. In Water Chemistry; IntechOpen: London, UK, 2020; pp. 1–18. Available online: https://www.intechopen.com/books/advanced-biometric-technologies/liveness-detection-in-biometrics (accessed on 22 December 2022).
  21. El Osta, M.; Masoud, M.; Alqarawy, A.; Elsayed, S.; Gad, M. Groundwater Suitability for Drinking and Irrigation Using Water Quality Indices and Multivariate Modeling in Makkah Al-Mukarramah Province, Saudi Arabia. Water 2022, 14, 483. [Google Scholar] [CrossRef]
  22. Khatri, P.; Kumar Gupta, K.; Kumar Gupta, R. Raspberry Pi-Based Smart Sensing Platform for Drinking-Water Quality Monitoring System: A Python Framework Approach. Drink. Water Eng. Sci. 2019, 12, 31–37. [Google Scholar] [CrossRef]
  23. Mahajan, P.; Shahane, P. An IoT Based System for Water Quality Monitoring. SSRN Electron. J. 2021. [Google Scholar] [CrossRef]
  24. Uddin, M.G.; Nash, S.; Olbert, A.I. A Review of Water Quality Index Models and Their Use for Assessing Surface Water Quality. Ecol. Indic. 2021, 122, 107218. [Google Scholar] [CrossRef]
  25. He, Y. Design of Water Quality Monitoring Platform Based on Embedded System. IOP Conf. Ser. Earth Environ. Sci. 2021, 631, 012020. [Google Scholar] [CrossRef]
  26. United States Environmental Protection Agency. Factsheets on Water Quality Parameters | US EPA. 5 January 2023. Available online: https://www.epa.gov/awma/factsheets-water-quality-parameters (accessed on 11 February 2023).
  27. Dirisu, C.G.; Mafiana, M.O.; Dirisu, G.B.; Amodu, R. Level of pH in Drinking Water of an Oil and Gas Producing Community and Perceived Biological and Health Implications. Eur. J. Basic Appl. Sci. 2016, 3, 53–60. [Google Scholar]
  28. Ahmed, M.F.; Bin Mokhtar, M.; Majid, N.A. Household Water Filtration Technology to Ensure Safe Drinking Water Supply in the Langat River Basin, Malaysia. Water 2021, 13, 1032. [Google Scholar] [CrossRef]
  29. Rahim, N.S.A.; Othman, N.; Talib, M.K.M.; Fattah, A.R.A.; Supramanium, S. The Usage of Home Water Filtration System in Malaysia. Int. J. Integr. Eng. 2020, 12, 253–259. [Google Scholar]
  30. Salunke, P.; Kate, J. Advanced Smart Sensor Interface in Internet of Things for Water Quality Monitoring. In Proceedings of the 2017 International Conference on Data Management, Analytics and Innovation (ICDMAI), Pune, India, 24–26 February 2017; pp. 298–302. [Google Scholar] [CrossRef]
  31. Ainuddin, A.N.M.; Wan Ismail, W.Z.; Aziz, N.A.A.; Husini, E.M.; Ariffin, K.N.Z.; Balakrishnan, S.R.; Suhaimi, S.; Ismail, I.; Jamaludin, J. Smart Automatic Cooling System with Reduced Humidity Effect for Pet House During COVID-19 Crisis. ASM Sci. J. 2022, 17, 1–8. [Google Scholar] [CrossRef]
  32. Cox, D. Understanding the Difference between Water pH and Alkalinity—Greenhouse Management. Available online: https://www.greenhousemag.com/article/greenhouse-0311-water-ph-alkalinity/ (accessed on 11 February 2023).
  33. Scherer, T.; Meehan, M. WQ1923—Using Electrical Conductivity and Total Dissolved Solids Meters to Field Test Water Quality; North Dakota State University: Fargo, ND, USA, 2019; Available online: https://www.ndsu.edu/agriculture/extension/publications/using-electrical-conductivity-and-total-dissolved-solids-meters-field-test (accessed on 31 October 2022).
  34. Meride, Y.; Ayenew, B. Drinking Water Quality Assessment and Its Effects on Residents Health in Wondo Genet Campus, Ethiopia. Environ. Syst. Res. 2016, 5, 1. [Google Scholar] [CrossRef]
  35. Oliver, R.T.; Jones, H.H.; Gray, D.M. Oxidation-Reduction Potential (ORP). In Analytical Instrumentation; Lipták, B.G., Ed.; Routledge: Abingdon, UK, 2003; pp. 1506–1513. [Google Scholar] [CrossRef]
  36. Ahuja, S. Overview: Evaluating Water Quality to Prevent Future Disasters. Sep. Sci. Technol. 2019, 11, 1–12. [Google Scholar] [CrossRef]
  37. Lin, W.C.; Brondum, K.; Monroe, C.W.; Burns, M.A. Multifunctional Water Sensors for PH, ORP, and Conductivity Using Only Microfabricated Platinum Electrodes. Sensors 2017, 17, 1655. [Google Scholar] [CrossRef]
  38. Daly, J. Water, Water Everywhere: The Importance of PH and ORP Measurement in Potable Water—South Fork Instruments. 2019. Available online: https://www.southforkinst.com/importance-of-ph-orp/ (accessed on 31 October 2022).
  39. Geetha, S.; Gouthami, S. Internet of Things Enabled Real Time Water Quality Monitoring System. Smart Water 2017, 2, 1. [Google Scholar] [CrossRef]
  40. Ayers, R.S.; Westcot, D.W. Water Quality for Agriculture; Food and Agriculture Organization of the United Nations: Rome, Italy, 1994. [Google Scholar]
  41. U.S. Environmental Protection Agency (EPA). Chapter 3: Water Quality Criteria. In Water Quality Standards Handbook; EPA-823-B-17-001; EPA Office of Water, Office of Science and Technology: Washington, DC, USA, 2017. [Google Scholar]
  42. Taherian, R.; Kausar, A. Electrical Conductivity in Polymer-Based Composites: Experiments, Modelling, and Applications; Elsevier: Amsterdam, The Netherlands, 2018. [Google Scholar]
  43. Ong, C.; Ibrahim, S.; Sen Gupta, B. A Survey of Tap Water Quality in Kuala Lumpur. Urban Water J. 2007, 4, 29–41. [Google Scholar] [CrossRef]
Figure 1. Flow chart of the system.
Figure 1. Flow chart of the system.
Agriculture 13 01000 g001
Figure 2. Graphical representation based on the fuzzy rule for (a) pH, (b) temperature, (c) electrical conductivity (EC), and (d) oxidation reduction potential (ORP) for tap water. (e) The water quality graph shows that the sample is in adequate condition. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Figure 2. Graphical representation based on the fuzzy rule for (a) pH, (b) temperature, (c) electrical conductivity (EC), and (d) oxidation reduction potential (ORP) for tap water. (e) The water quality graph shows that the sample is in adequate condition. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Agriculture 13 01000 g002aAgriculture 13 01000 g002b
Figure 3. Decision support for water quality of filtered water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Figure 3. Decision support for water quality of filtered water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Agriculture 13 01000 g003
Figure 4. Decision support for water quality of tap water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Figure 4. Decision support for water quality of tap water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Agriculture 13 01000 g004
Figure 5. Decision support for water quality of river water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Figure 5. Decision support for water quality of river water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Agriculture 13 01000 g005
Figure 6. Decision support for water quality of lake water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Figure 6. Decision support for water quality of lake water. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Agriculture 13 01000 g006
Table 1. The parameter ranges for safe water based on three different membership functions (MFs) of fuzzy logic [13,40,41]. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Table 1. The parameter ranges for safe water based on three different membership functions (MFs) of fuzzy logic [13,40,41]. NA, ADE and HACC refer to Not Acceptable, Adequate, and Highly Acceptable respectively.
Parameter‘NA’
(Not Acceptable)
‘ADE’
(Adequate)
‘HACC’
(Highly Acceptable)
‘NA’
(Not Acceptable)
pH<5.76.0–6.56.5–8.5>8.5
Electrical Conductivity (mS/cm)-350–1000100–400>1000
Oxidation-Reduction Potential (mV)-300–600100–250>600
Temperature (°C)<21.9–109–35>35
Table 2. The average reading of sensors for four types of water in terms of potential hydrogen (pH), temperature, Electrical Conductivity (EC) and Oxidation-Reduction Potential (ORP).
Table 2. The average reading of sensors for four types of water in terms of potential hydrogen (pH), temperature, Electrical Conductivity (EC) and Oxidation-Reduction Potential (ORP).
Types of Water SourcesSensors
pHTemperatureEC (mS/cm)ORP (mV)
Filtered Water8.1328.510.31243.6
Tap Water8.1129.680.12422
River5.8627.730.27259
Lake7.2827.740.88417
Table 3. Decision support on water quality for each sample based on pH, temperature, ORP, and EC. Three membership functions (MFs) such as Not Acceptable (NA), Adequate (ADE), and Highly Acceptable (HACC) are applied.
Table 3. Decision support on water quality for each sample based on pH, temperature, ORP, and EC. Three membership functions (MFs) such as Not Acceptable (NA), Adequate (ADE), and Highly Acceptable (HACC) are applied.
Water SamplesDecision on Water Quality
pHTemperatureORPEC
Filtered waterHACCHACCHACCHACC
Tap waterHACCHACCADEHACC
River waterNAHACCHACCHACC
Lake waterHACCHACCADENA
Table 4. Decision support in terms of Not Acceptable (NA), Adequate (ADE), and Highly Acceptable (HACC) on overall water quality for each sample.
Table 4. Decision support in terms of Not Acceptable (NA), Adequate (ADE), and Highly Acceptable (HACC) on overall water quality for each sample.
Water SamplesOverall Decision on Water Quality
Filtered waterHACC
Tap waterADE
River waterNA
Lake waterNA
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zainurin, S.N.; Ismail, W.Z.W.; Mahamud, S.N.I.; Ismail, I.; Jamaludin, J.; Ab. Aziz, N.A. Integration of Sensing Framework with a Decision Support System for Monitoring Water Quality in Agriculture. Agriculture 2023, 13, 1000. https://doi.org/10.3390/agriculture13051000

AMA Style

Zainurin SN, Ismail WZW, Mahamud SNI, Ismail I, Jamaludin J, Ab. Aziz NA. Integration of Sensing Framework with a Decision Support System for Monitoring Water Quality in Agriculture. Agriculture. 2023; 13(5):1000. https://doi.org/10.3390/agriculture13051000

Chicago/Turabian Style

Zainurin, Siti Nadhirah, Wan Zakiah Wan Ismail, Siti Nurul Iman Mahamud, Irneza Ismail, Juliza Jamaludin, and Nor Azlina Ab. Aziz. 2023. "Integration of Sensing Framework with a Decision Support System for Monitoring Water Quality in Agriculture" Agriculture 13, no. 5: 1000. https://doi.org/10.3390/agriculture13051000

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop