Hawari 2021 J. Phys. Conf. Ser. 2107 012032
Hawari 2021 J. Phys. Conf. Ser. 2107 012032
Series
H F Hawari, P P Chantar
Department of Electrical and Electronic Engineering, Universiti Teknologi
PETRONAS 32610, Bandar Seri Iskandar, Perak, Malaysia.
Email: [email protected]
1. Introduction
Fresh water is a very precious resource. It is vital for human survival and health, the production of
food and energy, industrial activity, and the functioning of the entire global economy, as well as for
the survival of other animals, plants, and natural ecosystems [1]. However, water scarcity has become
a main issue in certain areas of our country due to various growth in economics, population,
urbanization and also includes the human growth. The demand for fresh water has been increasing for
the past 100 years [1].
As we look into Malaysia’s current status, there are reports suggested that five trillion cubic metres
of groundwater reserves in Malaysia. There are many cases also being reported of inaccurate manual
or abuse meter reading, lacking in policy making and supervision [2]. Thus, all these major problems
conclude in ground water exploitation increasing in many cities. This has resulted in millions of
payment delinquencies to the authorities. The government could not overcome these loses without
stopping this problem and as a result, all these illegal water smuggling has resulted in increasing Non-
Revenue Water (NRW).
In Malaysia, according to the Eighth, Ninth and Tenth Malaysia Plan, the federal government has
invested about RM 2.6 billion from the year 1996 to 2010 for NRW cutting program [2]. However,
Malaysia still suffers from NRW rate remaining very high in some states, standing between 20 to 60 %
with the overall average of 36.8 % from the year 2000 till now [2]. If we look deeper into this issue,
there are certain states in our country which are facing a major NRW issue reaching the 50 % stage.
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
This indicates that half of the state’s ground water has been consumed due to illegal exploitation. In
2014 until 2017, Kedah, Kelantan, Perlis and Selangor have always reached the 50 % mark of NRW
[4]. Such high rates of NRW jeopardize Malaysia’s water security in the long-term, potentially leading
to negative effects on the country’s social, environmental and economic well-being [3].
IoT is defined as internetworking physical objects embedded with electronics, sensors, network
connectivity and actuators which can be used to collect and exchange the data [4,5]. In this proposed
IoT system, collected sensor’s data will be sent to a base station where it will be analyzed accordingly.
The final output will be updated to cloud and a developed mobile application for real time monitoring.
Moreover, the communication module used in this project is LoRa which is also known as Long
Range (LoRa) which would allow monitoring remote areas with no internet or line coverage.
Therefore, this research offers potential opportunity for local water utility agency to collect and
analyze data in real time through cloud portal together with mobile application by using a wireless
long-range communication.
2
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
The Ultrasonic sensor will be attached on the groundwater pipeline to read information of the water
flowrate. Then, the flow rate data will be sent to the Arduino Uno by the analog input. Arduino will
perform calculation to get the volume of the liquid flowed by multiplying with the time taken. The
flow volume information of the groundwater will be sent to the server system through a LoRa
communication module. On the other hand, the server system only consisting of an Arduino Uno,
LoRa module and ESP8266 Wi-Fi module. The server system will receive data through the LoRa
Module in a long range and send the information through the ESP8266 to the internet. The ESP8266
will update all the data to the Thingspeak cloud portal and Mobile Application continuously to view
real-time data. Figure 2 shows the working mechanism for the server system.
(a) (b)
Figure 3. UTP Testing Location (a) LOS Testing Radius (b) NLOS Testing Radius
3
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
(a) (b)
Figure 4. Testing Location (a) LOS Testing Radius (b) NLOS Testing Radius
4
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
For the LOS testing results, the results for TX power 23 which is the strongest signal power is first
discussed. For TX power 23, the total distance that can be achieve by the LoRa module is 900 m. As
in figure 5, after 900 m, the signal will be not available. The RSSI value starts -22 at 50 m and reaches
-101 at 900 m which is very weak. Between 50 m to 400 m the signal looks strong but after 500 m the
signal strength is becoming weaker. The standard deviation for the RSSI values is also very low,
which is only between 2 to 4. This shows that the RSSI values are steady and without major
fluctuation. There were 22 packet data sent during testing. There are no packet losses at this stage.
For TX power 14, the total distance that is able to achieve by the LoRa module is only 700 m. TX
power 14 is the moderate signal power. The signal could not detect after 700 m. The RSSI value starts
-31 at 50 m and reaches -91 at 700 m. The distance between 50 m to 300 m the signal looks strong but
after 400 m, the signal strength is becoming weaker. The standard deviation for the RSSI values also
stays low between 2 to 4 which indicates that the RSSI values are still steady and there is no major
fluctuation. All the 22-packet data were able to be received as well. There are still no packet losses
found at this stage of testing which is a very positive result.
Finally, for TX power 5, which is the weakest signal power of all, the total distance that is able to
achieve by the LoRa module is only 100 m. This signal becomes lost after 100 m. This shows a very
poor result in terms of distance. he RSSI value also starts at -77 at 50m and reaches -95 at 100 m. The
signal strength is very weak even at the shortest distance. The standard deviation for the RSSI values
stays between 3 which indicates that the RSSI values are still steady and there is no major fluctuation.
There are still no packet losses found at this stage as well with all the packet data being received.
Overall, the best results are obtained with TX Power 23 in terms of distance and RSSI. TX power
14 is still applicable for shorter distances but TX power 5 is not applicable at all for field usage. TX
power 5 does not really fulfil the requirement of Long-Range requirement as it can only cover up to
100 m. All three TX powers do not have any packet losses during testing which indicates a very good
sign. The standard deviation also stays within 4 which is a very good sign.
5
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
First as we look at TX power 23 the strongest signal power, the total distance that is able to achieve
by the LoRa module is only 600 m. As in Figure 6, the signal was observed to be lost after 600 m.
This shows that in NLOS, the distance achieved is short even with the strongest signal power. At 50
m, the signal strength is at -55 and slowly rises and finally reaches -108 at 600 m. At 50 m to 200 m,
the signal is strong but after 300 m the signal strength is becoming very weaker. The standard
deviation for the RSSI values is also very low between 1 to 4.93 The RSSI values fluctuate slightly
more than LOS testing, but still within acceptable range. For the packet losses, there was 1 packet loss
observed during 400 m range with an existing RSSI value of -96. This is due to the reflection
distractions of buildings and other materials between the transmitter and receiver. This packet loss
happened only once during this testing.
For TX power 14, the total distance that is able to achieve by the LoRa module is only 300 m
which is very short. The signal could not be detected after 300 m. The RSSI value starts at a very weak
strength of -78 at 50m and reaches -98 at 700 m. The whole signal was very weak. The standard
deviation for the RSSI values was between 1 to 4 which indicates that the RSSI values are still steady
and there is no major fluctuation. There was 1 packet loss observed during testing at 300 m. 300 m
was the last received signal before the signal was lost. Overall, with TX Power 23, better results were
obtained in terms of distance and RSSI compared to TX power 14.
For NLOS, TX power 14 itself is not applicable for field usage as it only covers a very short
distance of 300 m. This does not fulfil the requirement of long range. TX power 5 was not tested since
there were no signal even at 50 m. Therefore, it is not applicable. There were two packet losses
observed during this testing which indicates that there might be some error in results sometimes due to
packet losses. The overall standard deviation also stays within 4.93 which is still acceptable
6
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
For the per day calculation, the data will be renewed every day at 12:00 am. For the per week
calculation, the data will be renewed on every Sunday 12:00 am. Finally, the per month calculation
will be renewed on the 1st of every month on 12:00 am. All these four data will be sent to the
Thingspeak Cloud portal to be recorded and observed. Figure 7 illustrates the results on the
Thingspeak cloud portal.
4. Conclusion
Nowadays, underground water monitoring system is very important as water scarcity has been a
developing problem in our society. Several state water utility companies in Malaysia have been facing
various issues on ground water monitoring such as water theft, meter tampering, lock out access &
inaccuracy meter reading. All these issues have leaded to NRW. This IoT real-time groundwater
monitoring system will be the best solution to the government for all the issues they are facing. This
system utilizes ultrasonic sensors for water monitoring as it provides accuracy, precision and
feasibility. Cloud portal & mobile application will also be accessible for easier monitoring. For the
communication module, the results on the RSSI, distance, TX power and packet losses shows a good
and accurate result even in long distance of LOS and NLOS. Therefore, the proposed system shows its
effectiveness in monitoring underground water monitoring through wider LoRa coverage compared to
the conventional wireless systems. For further recommendations, this underground water
monitoring system can be further improved by including solar powered battery to automatically
recharge so that this system will last longer and be more efficient instead using a LiPo battery.
7
International Conference on Man Machine Systems (ICoMMS 2021) IOP Publishing
Journal of Physics: Conference Series 2107 (2021) 012032 doi:10.1088/1742-6596/2107/1/012032
References
[1] World Water Assessment Programme (Nations Unies), The United Nations World Water
Development Report 2018 (United Nations Educational, Scientific and Cultural Organization,
New York, United States) [Online]. Available at: www.unwater.org/publications/world-water
development-report-2018/
[2] Earle S. (2019, September). Groundwater Extraction: Physical Geology. (2nd ed.) [Online].
Available at: https://opentextbc.ca/geology/chapter/14-3- groundwater- extraction/
[3] “Laporan Ketua Audit Negara Tahun 2015" Negeri Selangor Siri 2, October 23, 2015. [Online].
Available at https://www.audit.gov.my/index.php/ms/auditor/archives/federal-archives/613-
laporan-ketua-audit-negara-persekutuan-tahun-2015-siri-2
[4] H. F. Hawari, A. A. Zainal and M. R. Ahmad 2019 Development of real time internet of things
(IoT) based air quality monitoring system Indonesian Journal of Electrical Engineering and
Computer Science 13(3) pp 1039- 1047
[5] B. D. C. Hu, H. Fahmi, L. Yuhao, C. C. Kiong, and A. Harun 2018 Internet of Things (IOT)
monitoring system for elderly,” in Proceedings of the 2018 International Conference on
Intelligent and Advanced System (ICIAS), pp 1–6, IEEE, Kuala Lumpur, Malaysia
[6] Lembaga Urus Air Selangor 2017 [ONLINE] Available at: https://www.luas.gov.my/