Abstract— South Africa could potentially face a shortage of meter generally only have a five year life expectancy. The
water in the near future. Efficient and low cost methods to magnetic flow meter is the next generation of meters that the
determine water usage are vital to help prevent this issue. Flow municipalities and water utilities will employ as the life
and usage meters are necessary to ensure accurate usage expectancy is much greater and these meters which are located
readings. An electromagnetic flow meter and a water usage meter
outside the pipe, thus there is no maximum pressure and head
were developed. The designed module can be implemented on a
standard water pipe at residential areas. The developed system loss to consider. The meter that designed in this paper is an
harvests energy using a solar panel. ultrasonic flow meter. Ultrasonic flow meters are usually used
in industrial, sewage and medical fields. Their non-invasive
Keywords— water flow meter; water usage; water supply. feature makes them popular for pipe systems that are large and
I. INTRODUCTION already existing. The problems addressed in this work are the
design of an electromagnetic water flow meter and a water
By the year 2020 South Africa could experience a critical usage meter that harvests energy from the sun. The proposed
shortage of water as a result of water demand from consumers system is completely independent of any external power
exceeding the water supply [1]. Therefore water utilities and sources.
municipalities would be required to perform appropriate The rest of this paper is organized as follows: some
planning and water management to avoid water usage background to put the proposed system in context is presented
restrictions in the future. Measurements from flow meters in Section II; an overview of the proposed system is given in
allow the water utility to make day-to-day decisions and long- Section III; the design and implementation are discussed in
term planning for the future, as well as charging customers for Section IV; the results are presented and discussed in Section
water used. Measurements are done by employees of the water V; and in Section VI, the paper is finally concluded.
utility and/or municipality. This introduces a human error
factor which could result in incorrect charges of customers and II. BACKGROUND
also affect future planning. Thus the problem addressed in this A. Electromagnetic flow meters
work was to eliminate the human error through sending the
An electromagnetic flow meter uses the principle of
water usage measurement directly to the water utility, hence
Faraday’s law of induction [8] which states that a potential
improving the service delivered to customers. Furthermore, difference can be measured across two electrodes in a fluid
Internet-of-Things (IoT) and Wireless Sensor Networks when a magnetic field is induced perpendicularly to the
(WSNs) [2] are ubiquitous and make lot of different electrodes. The electrodes have to be placed in the pipe and
monitoring applications possible [3], especially in harsh need to be in contact with the fluid in the pipe. When there is
environments, where water usage has to be monitored as well an electromagnetic field across the pipe the ions in the fluid
[4], [5]. The hardware platforms needed to develop these separate, into positive and negative ions, and induce a potential
applications need to be taken into consideration as well [6], difference across the electrodes. Therefore the fluid in the pipe
[7]. has to be a conductive fluid. To produce an electromagnetic
field across the pipe a Helmholtz coil will be implemented. A
Municipalities and water utilities generally own read and Helmholtz coil is used in order to create a uniform
maintain water meters. Currently employees are required to electromagnetic field across the pipe, to ensure that the ions in
drive to each and every meter owned in order to collect water the liquid will be separated evenly. This is important as
usage reading ideally on a monthly basis. Positive complete separation of the ions in the liquid is needed, to
displacement (PD) meters are usually used as they are measure the correct potential difference across the electrodes.
relatively accurate at low to moderate flow rates, which is the In order to reduce power consumption the magnetic field will
case in residential and small commercial applications, and be driven with a DC signal instead of the conventional AC
they are economical. signal.
To produce an electromagnetic field across the pipe a
However, due to the rotating parts and seals inside the flow Helmholtz coil can be implemented as in [9]. A Helmholtz coil
meter, as well as the built in strainer, some maintenance is can be used in order to create a uniform electromagnetic field
required from time to time to guarantee accuracy as these across the pipe, to ensure that the ions in the liquid will be
6212
The processing unit is a microcontroller. The to propagate along the path length in the measured flow. The
microcontroller is both the central controlling unit as well as ultrasonic frequency typically used to measure the flow of fluid
the time difference collection module. The microcontroller ranges between 0.4 to 2 MHz. For a short propagation path
selected for this work was the PIC32MX795F512L, as it has length the transducer frequency selected should be in the high
the ability to realize functions such as generating, collecting relative high range [13].
and processing the signals, accounting the time of the forward
(downstream) and reverse (upstream) direction transmission, The ultrasonic transducers that were selected had both
calculating the flow rate, as well as communicating with transmitting and receiving properties, and are waterproof, thus
external communication link and user interface. the impedance matching layer is matched with that of water.
The transducers also have a center frequency of 1.2 MHz, and
IV. DESIGN AND IMPLEMENTATION bandwidth of 0.1MHz. As mentioned, the ultrasound intensity
is reduced when the beam spread increases and with a wide
This section contains information on the design and bandwidth. From the datasheet the beam angle is 8 degrees
implementation of the proposed system. which was assumed to be the beam spread. The features of the
A. Electromagnetic flow meter design transducer include that its maximum operating temperature is
When designing the Helmholtz coil the magnetic field in and that its maximum pressure it is 1.6 MPa. Additionally from
the center of the coil is of the utmost importance as this would the datasheet its minimum parallel impedance is Ω and its
be the maximum magnetic field generated. Using Equation 1 electrostatic capacity is pF. These impedance values were
and setting z = 0, as the magnetic field in the center is of assumed to be the impedance of the transducer during both the
concern, the following formula is: transmitting and receiving operation mode. Furthermore, the
transducer is threaded at the end to ensure that transducer is
8 0 IN secure and stable when inserted in the structure of the flow
3
(1) meter, and the casing of the transducer is made of copper, thus
r it’s electrically conductive. The transducers are found in the
5 2
datasheet in reference [14].
where β is the magnetic field strength in the center of the two As mentioned, in the near field the sound field’s state of
coils (in T), µ0 is the permeability of air (in Henrys/m), r is the uniformity is affected by the constructive and destructive
coil radius (in m), I is the current (in A) and N is the number of interference. This is not considered as the optimal field to
turns per coil. Equation 1 gives the total strength of magnetic operate in, thus the distance (N) from the face of the transducer
field induced by both the coils. The magnetic field produced by where the near field end and the far field begins should be
the Helmholtz coil is directly proportional to the number of calculated. This was calculated for the transducer as follows:
turns on each coil and the amount of current sent through the
coils. The final design of the Helmholtz coil is illustrated d 2 F 0.0142 1.2 106
below. N 0.0397m 4cm (2)
4c 4 1480
6213
B. Energy harvesting results
Fig. 8 shows the measured potential difference across the
terminals of the battery, whilst the battery was charged using
the designed charging circuitry. The black dotted line is the
trend curve of the rate of charge. Between 09:00 and 11:30 the
battery had a 30W TV as a load and from 11:30 until 17:00
there was no load connected to the battery.
Fig. 5. Designed flow cell time-transit UFM with dimensions.
C. Energy harvesting
A 10W solar panel is connected to a battery, which is
charged during the day when exposed to sunlight. This serves
as the energy harvesting component of the system, illustrated
in Fig, 6.
6214
REFERENCES [Online]:http://www.google.com/patents?id=mgo7AAAAEBAJ&printse
c=abstract&zoom=4#v=onepage&q&f=false.
[1] Times Live Article: “Water crisis”. [Online]
:http://www.timeslive.co.za/local/articles913892.ece/Water-crisis-by- [10] S.R. Gyawali, “Design and construction of Helmholtz coil for
2020, [Last Accessed 03/04/2016]. biomagnetic studies on soybean‟, pp. 38-56, Aug. 2008.
[2] A. Abu-Mahfouz and G.P. Hancke, “An efficient distributed localisation [11] Don D. Ratnayaka, Malcolm J. Brandt, K. Michael Johnson, CHAPTER
algorithm for wireless sensor networks: based on smart reference- 16 - Valves and Meters, Water Supply (Sixth Edition), Butterworth-
Heinemann, Boston, 2009, Pages 599 - 629, 2009.
selection method”, International Journal of Sensor Networks, vol. 13,
no. 2, pp. 94 - 111, May 2013. [12] Leon Scholtz, Contracts Manager at Elster Kent Metering, Product
information specifications for Non-metallic products, 06/04/2012.
[3] A. Kumar and G.P. Hancke, “Energy Efficient Environment Monitoring
System Based on the IEEE 802.15.4 Standard for Low Cost [13] Y. Wang, "Development of multi-path ultrasonic flow meter based on
Requirements,” IEEE Sensors Journal, Vol.14, No.8, pp.2557-2566, embedded system," IEEE International Conference on Control and
August 2014. Automation (ICCA), pp. 689-692, 2010.
[4] C.P. Kruger and G.P. Hancke, “Implementing the Internet of Things [14] Donald A Neamen; Chapter 6 – Basic BJT amplifiers, Microelectronics
vision in industrial wireless sensor networks,” IEEE International – Circuit Analysis and Design (Third Edition), McGraw-Hill
Conference on Industrial Informatics, pp.627-632, July 2014. Companies, New York, pp. 369 – 561, 2007.
[5] B. Silva, R. M. Fisher, A. Kumar and G. P. Hancke, “Experimental Link [15] A.M. Abu-Mahfouz and G.P. Hancke. “ns-2 Extension to Simulate
Quality Characterization of Wireless Sensor Networks for Underground Localization Systems in Wireless Sensor Networks”, IEEE Africon
Monitoring,” IEEE Transactions on Industrial Informatics, vol. 11, no. 2011, September 2011.
5, pp. 1099-1110, Oct. 2015. [16] K. Markantonakis, M. Tunstall, G.P. Hancke, I. Askoxylakis and K.E.
[6] C.P. Kruger and G.P Hancke, “Benchmarking Internet of things Mayes, “Attacking Smart Card Systems: Theory and Practice”, Elsevier
devices,” IEEE International Conference on Industrial Informatics, Information Security Technical Reports, Vol. 14, No. 2, pp. 46-56, May
pp.611-616, July 2014. 2009.
[7] R. Fisher, L. Ledwaba, G.P. Hancke and C. Kruger, “Open Hardware: A [17] W.D. Chen, G.P. Hancke, K.E. Mayes, Y. Lien and J-H. Chiu. “Using
Role to Play in Wireless Sensor Networks?,” Sensors, 15(3), pp. 3G Network Components to Enable NFC Mobile Transactions and
6818-6844, 2015. Authentication”, IEEE International Conference on Progress in
Informatics and Computing (PIC 2010), December 2010.
[8] M.K. Bevir, “The theory of induced voltage electromagnetic
flowmeters”, J. Fluid Mechan., 1970, 43, (3), pp. 577–590. [18] G.P. Hancke, “Distance Bounding for RFID: Effectiveness of Terrorist
[9] Pulsed DC constant magnetic flowmeter, by Freund, Jr (1982 April 20). Fraud in the Presence of Bit Errors”, IEEE RFID-TA, pp. 91-96,
4325261. November 2012.
6215