You are on page 1of 6

2010 International Conference on Innovative Computing and Communication and 2010 Asia-Pacific Conference on Information Technology and Ocean

Engineering

A Remote Wireless Sensor Networks for Water Quality Monitoring


Ji Wang 1 Xiao-li Ren1*
Information School, Information School,
Guangdong Ocean University, Guangdong Ocean University
Zhanjiang , China Zhanjiang , China
e-mail: zjouwangji@163.com e-mail: rxl.2005@163.com
Yu-li Shen2 Shuang-yin Liu 1
Computer Science and Engineering School, Information School,
ZhongKai University of Agriculture and Technology, Guangdong Ocean University,
Guangzhou, China Zhanjiang , China
e-mail: 2100a@21cn.com e-mail: xlqwyf@sina.com

Abstract —To resolve real-time the traditional water A typical wireless sensor network consists of a
quality detection method, a novel system of remote water gateway nodes and several nodes distributed or
quality measuring and monitoring based on wireless positioned in the environment of interest[3]. Each node
sensor network (WSN) and Code Division Multiple is expected to detect events of interest and estimate
Access (CDMA) technology is proposed. The WSNs can parameters that characterize these events. The resulting
monitor the targets and water quality information of the information at a node needs to be transmitted to the
waters through the cooperation of a large amount of gateway nodes either directly, or in a “multi-hop”
sensors. The optimization of node distribution is studied fashion involving automatic routing through several
with the intention of reducing the energy consumption other nodes in the network. Implementation of such a
and ensuring the effective information acquisition in network requires hardware components, and
wireless sensor network. The functions of remote corresponding software modules to program these
detection and real-time monitoring of natural water are components in a cooperative manner.
implemented through the CDMA wireless data The WSN, which faces a watery environment, is
transmission. This system has a simple architecture, and composed of wireless sensor nodes, communication
isn’t confined by the geographical position. The
nodes(cluster head), gateway node ,and a remote center
experimental results show that this system can run stably,
computer system. This WSN is shown in Fig.1. Sensor
and its operation is convenient.
Keywords : Water quality parameters(WQP), wireless
nodes have been distributed with the purpose of
sensor networks, remote monitoring and measuring, Code detecting waters, implementing data collection,simple
Division Multiple Access processing, and communication with gateway node
(cluster head), and so on. The collected data is
transmitted to gateway nodes through communication
I. INTRODUCTION nodes gradually, then it is connected to the Internet
It is important to set up advanced real-time online through (Code Division Multiple Access), CDMA
monitoring systems for water source development and networks, at last transmitted to the control center. At the
utilization. Usually water pollution monitoring needs a same time the system could achieve full-duplex
sample from the targeted area, then that sample is communication between administrator and WSNs.
analyzed in the lab, which is high cost and low
efficiency. Water samples change and if pollution is not
detected in a timely fashion, the transmission may
affect the analyzed results. Therefore, we developed a
real-time online remote water quality monitoring
system based on the Wireless Sensor Networks (WSNs)
[1]. WSNs have been growing rapidly in the past few
years. Lots of research has been done on WSN
communications,power conservation, routing
algorithms,etc.However,most research mainly focuses
on terrestrial sensor networks.Research on sensor
networks facing territorial waters is limited[2].It’s very
important to conduct research on sensor networks
facing territorial waters because they can benefit many
areas of science and industry ,such as water quality
monitoring ,ocean graphic data collection,disaster
Fig.1. System structure scheme
detection and prevention ,oilfield monitoring ,etc.

978-0-7695-3942-3/10 $26.00 © 2010 IEEE 7


DOI 10.1109/CICC-ITOE.2010.9
II. METHODS kHz ,omplying with ARIB STDT-67 and EN 300
220.Its main operating parameters can be programmed
AˊHardware Design of Sensor Nodes via a serial bus, thus making CC1020 a very flexible
A commercial hardware platform that we have been and easy to use transceiver.
investigating consists of processor communication 3 ˅ Sensor Unit ˖The sensor unit includes water
radio boards ommonly referred to as “motes”[4,5]. quality parameter sensors,and signal amplifier circuit.
Each mote includes a battery-powered device, a sensor How to choose sensors is one of the key technologies in
unit, a power unit, a two-way ISM band radio the monitoring system. Currently the water quality
transceiver unit (includes an RF antenna), an ADC unit, monitoring sensors are mainly fiber sensors, biological
a processor that runs TinyOS-based code, and logger sensors, original film microelectrode. Thick-film
memory capable of storing a high number of microelectrodes are mainly used for the detection of
measurements. Cluster nodes communicate with their ammonia, chlorine , dissolved oxygen,and heavy metals
cluster head directly, and there is no sensor unit. Two (Cu, Pb, Cd, Hg, Ag, etc.). The system sensors seleck
types of motes in this commercial system,which can be OrbiSint W CPS 11 of pH value (own temperature
found in Figure 2. sensor Pt100), OxyMax W COX 41 of dissolved
oxygen, ConduMax W CLS12 of conductivity sensor,
and other water quality indicator sensors.A simple
sensor circuit can be directly connected to the port of
MCU. It is inconvenient to put the highly accurate or
bulky sensors with the other sensor nodes, This
grouping of sensors can be donethrough a standard
interface part of the RS232 to connect.
TLC2252 operational amplifiers are the core
structures in the signals amplification circuit of water
quality parameters. Various water quality parameters
sensors output weak voltage signal of millivolt
level,through water quality parameters signal
Fig.2. Wireless sensor node structure amplification circuit into a multi-channel 0 to 3.3V
voltage signal, and sent to the microprocessor module
1˅ Microprocessor˖Given the present monitoring A/D converter to complete the water quality parameters
situation, AT91R40008 (Atmel company) is used as the collection. R4 adjustments can be adapted to different
microprocessor. The microcontroller is a member of the parametersƍ accuracy.The special sensor interface
Atmel AT91 16/32-bit microcontroller family, which is circuit is shown in figure 3:
based on the ARM7TDMI processor core. This
processor has a high-performance, such as 32-bit RISC
architecture with a high-density, 16-bit instruction
set ,and has very low power consumption. Furthermore,
it features 256K bytes of on-chip SRAM, and a large
number of internally banked registers, resulting in very
fast exception handling, and making the device ideal for
real-time control applications. It is mainly in charge of
sensor management, data processing, and data transfer
in the work state.
2 ˅ radio-frequency module ˖ The Micro-power
wireless data transceiver module selected was the
CC1020 (Chipcon company). CC1020 is a true single-
chip UHF transceiver designed for very lowpower
consumption and very low voltage(+3.0~5.0V) wireless
applications. The circuit is mainly intended for the ISM Fig.3.Block diagram of sensors interface
(Industrial, Scientific and Medical) and SRD (Short
Range Device) frequency bands at 402, 424, 426, 429, 4 ˅ Gateway Node Design˖A sink consists of a
433, 447, 449, 469, 868 and 915 MHz, but can easily be mote attached to a mote-interface-board that is
programmed for multi-channel operation at other interfaced to a CDMA via the parallel port. The
frequencies in the 402 - 470 and 804 - 940 MHz range. gateway is composed of the data terminal equipment
The CC1020 is especially suited for narrow-band (DTE) and CDMA data transmission equipment (DCE).
systems with channel spacings of 12.5 or 25 DTE and DCE communicate through RS232. DCEs

8
connected CDMA networks to send and receive data
transparently in order to achieve communication
between DTE connected to the internet and monitoring
center. As shown in figure 4, it uses the same central
processing unit AT91R4008 to manage sensor nodes
and RF transceiver module to receive or sent the data .
CDMA module is mainly composed of a module built
by the Simcom company, in order to transmit
monitoring data to the monitoring host computer. Fig.5. Structure of remote monitoring center

B System Software Design


1 ˅ Software structure of sensor networks: A
waters network can not simply set its sampler nodes to
sleep for a day between water quality parameter
readings, and then awake to check environmental
conditions. This is because nodes must be ready to
respond as soon as an event of interest occurs. Which
in our case, a water quality pollution event.
Fig.4. Structure of sink Furthermore, when a sampling node awakes, all the
router and gatherer nodes that it relies on to deliver its
Underwater sensor networks have recently attracted message to the node,must also awake. Clock drift
an increasing interest from the researchers who mainly between nodes makes the coordination of waking
focused on terrestrial sensor networks before numerous cycles a difficult task.
underwater sensor networks are deployed for water The data transmission uses the master-secondary
quality monitoring [6]. A novelty of our design is a station mode. the gateway node ,as the master station
wireless sensor network for water quality monitoring controls the time order of communication in the
which arms to develop a wireless sensor network network, and the other nodes (collection nodes,
featuring “plug and play” sensor platforms, novel communication nodes) as the secondary station which
sensors and low power consumption communications. has a fixed address, So can be addressed by the master
The zigbee communication standard is used in the station.The collection nodes mainly responsible for the
sensor network to meet the low power consumption monitoring data, and transmission of variety of sensor
requirements. A customized sensor board with mult original data to communication nodes; The
“plug and play” sensor interfaces for a multi-agent task communication nodes carry out simple computations
is developed in our project to sense and transmit only the required and partially processed
temperature,pH,DO,heavy metal ,et.al. All sensor nodes data to gateway node group in the interruption path.The
are put into an IP-68 waterproof case. In the waters sensor node software design is divided into gateway
quality system, a buoy is used as the water quality node software and secondary-node software.
monitoring nods. On the buoy, multiple 100 watt solar Given the driver's needs, the gateway node uses the
panels, eight 100Ah 12V batteries, water quality open source operating system-TinyOS; an open source
sensors, and an intelligent controller for sensing the embedded operating system, mainly used in the field of
data collection and distribution are installed. The buoy wireless sensor networks.TinyOS(Tiny Micro-threading
nodes transmits real-time data to the remote center by Operating System) is developed by UC Berkeley. The
using a cellular Code Division Multiple Access architecture component -based operating system makes
(CDMA) Internet Protocol modem. it possible to update quickly, which in turn reduces
5˅Main Control Center˖ The remote monitoring code length limited by the network memorizer. TinyOS
center consists of the CDMA gateway and the data components include network protocol, distributed
center.In addition,the remote monitioring center also server, sensor drive,and data-identified tool. Good
includes the database and monitioring software .Usually power management is a result of the event-driven
the monitoring center sets up a master server with fixed implementation model, and the model also allows for
IP address, installing Windows Server 2003 operating flexibility in scheduling. TinyOS, and the NesC
system, using a scripting language of ASP compiling to programming language, use a modular,interface driven
read the sensor location information and ID number. syntax, but there is still a high degree of interaction
install SQL Server 2003 database management software between components. To program the nodes so that
to analyze and process proscenium data and provide different nodes can use different configurations of the
storage service. The center structure as shown in Fig.5: same code-base requires effective high-level

9
abstractions of basic behaviour. In each TinyOS-NesC 2˅Software Structure of Monitoring Center System˖
package, the available activities (commands and events) Software development uses Development Kit of
of the package are exposed by the interface of a single mobile network manufacturers.The remote monitoring
component. This component is responsible for database center is the centrums of monitoring center,
accessing all other sub-components, and translating whose function is to complete management, storage,
between context-sensitive and context-free formats. For analysis, computing, printing of the signal sent from
example, the Sensing package uses general-purpose remote gateways, and remotely monitoring the
interfaces to access the sensor board’s Analog-Digital- terminal node status.
Converter (ADC), but provides commands to retrieve First of all, the system should build a data source,
context-sensitive pollution samples and health samples list the data of the database, and records the data sent
giving current battery voltage. This component is also by Sink points, including the SIM (ID) number, data,
responsible for all configuration and initialisation of the real time, and so on. Then, it records sink point
package. For example, the Logging package requires attributes, which include name, attribute, the work
memory to be allocated before writing, and the state check codes, location, etc. Lastly, it defines the
Communication package requires configuration of radio system administrator, including the logo, password, etc.
parameters[7]. SQL defined the received data stream format to the ID
It was found that this approach worked well in 7E 08 YY MM DD HH MM X1X2 X3 P1 P2 OD. ID
finetuning specific behaviour for different, specialised is the number of the sensor, 7E08 is identifier of data,
nodes,while retaining communication consistency YY MM HH MM is the time of year, month, day,
between them.This approach also supports the hour ,and minute, X1X2X3 is the value of the
development of the network as a series of logical steps, concentration data, and P1 P2 OD is the check code [8].
where adding new features or new specialisations The human-machine interface of the data center
requirs little effort. For example, adding code to selected In Touch, providing powerful function
increase sampling during pollution involves utilising support, such as information seeking and testing,
the Rate Handler to notify the Timer, building data dynamic graphic, recording, system alarm, dynamic
aggregation requires a few lines of application code data supporting exchange, etc.
between the receiving and forwarding of samples.
Working with the NesC paradigm assisted us in C The System´s Communication Protocols
producing this structure. Defining application specific 1 )Wireless Sensor Network Protocol ˖ The sensor
interfaces makes different node specialisations concise nodes (collection node, communication node) use the
and easy to produce. However, the underlying Zigbee protocol[9] (shown in Figure7). IEEE802.15.4
implementations still use the generalized interfaces, and specification is short-range wireless technology that
are thus compatible with existing TinyOS components. works in the range of 2.4GHz, and is the protocol basis
Also, since NesC uses an interface implementation of the application layer and network layer of Zigbee.
wiring mechanism, it would be easy to substitute new
Based on this standard, a number of sensor nodes
radio or sensing modules, without affecting our overall
transmit data from one sensor node to another to
design.WSN software architecture is shown in Figure 6:
achieve the higher efficiency of energy-saving
communication. The system based on the routing
protocol of receiving the node location in the actual
data process, and such protocol ,directly determines the
next jump node according to the neighbor node ID No.
of the pre-existing collection.

Fig. 6 Flow chart of WSN software structure


Fig.7. ZigBee agreement string topology

10
Gateway communication with a sensor node uses To our knowledge, there have been no other protocols
the same protocol, and communication with the of experimental demonstrations of a network protocol
monitoring center uses the TCP / IP protocol, using that avoids congestion collapse for CDMA systems.
CDMA network access control center. In this paper we propose and demonstrate a
SMAC[10] is a MAC protocol designed to address transmission scheduling algorithm. We use an CDMA
the problem of energy efficient, coordinated sleeping, network supporting 3 (mult) users. Each user utilizes a
and making it well suited for our application. Nodes code-set of 16 chip-times, 8 wavelength, and code-
synchronise with their neighbors for a cycle of weight 6. We demonstrate the transmission scheduling
by delaying each user’s traffic to have the least
sleeping and waking. In the lowest duty cycle of 2-3%,
interference with the line traffic and show the increase
nodes sleep for approximately 12 seconds, and then
in system performance by orders of magnitude. To
awake for the coordinated transmission and reception establish a comparison with Aloha-CDMA, we transmit
of messages by reliable unicast ,or by broadcast. The the data with random delays and take an average over
SMAC software stack also provides a reliable physical various line state. Results from the measurements show
layer implementation with Manchester encoding.We that transmission scheduling can provide orders of
have implemented a reactive protocol for gathering magnitude improvement in bit error rate.
water quality data and advertising water quality
pollution events using event condition-action rules. III. EXPERIMENT
The nodes check for pollution each SMAC cycle (12 As of now,The blueprint was tested in the volcanic
seconds). If there are additional triggers during a lake of Huguangyan World Geopark,which is located
pollution period, then the timer is reset to 2 hours. In 18km in the south part of Zhanjiang in a long time
this way, sampler nodes will be gathering data at a monitoring regime. 11 monitoring nodes ,and 4
high frequency during pollution events, while clusters ,have been successfully designed along with a
interesting changes in pollution can be expected to sink node which displays the real-time date on the “3.5
occur. The gatherer node waits up to one minute to LCD”. The sensor network consists of one (or several)
aggregate pollution messages,and then forwards the super node and many small sensor nodes. The small
samples towards the sink. sensor nodes have a small solar panel and one or two
2 )CDMA network Protoco ˖ CDMA is a new sensors connected. The super-node has a more powerful
service of mobile data communication, providing a solar panel, and more sensors connected. The cluster
connection between user and data network, and high- head nodes send the gathered data to the super-node
speed wireless IP or X.25 services for the mobile users. (sink) step-by-step. All the small sensor nodes use the
It is used to transmit data in CDMA networks. Each low-power Zigbee radios, and the super-nodes use
user can occupy a number of wireless channels at the CDMA for transmitting data far away. The deployed
same time. The same wireless channel can be shared by WSN nodes transmit acpquired water quality
multiple users, having the advantages of "high speed" information including dissolved oxygen(DO) ,PH,
and "always-on". In this system, CDMA data transfer Conductivity. During the experiment,the data has been
operations need to realize the upper protocol, such as sampled once every other day,and the mean value is
PPP agreement on the user side, and the need for the calculated in the nodes gateway and the remote center
user using the TCP/UDP protocol to complete the data everyday as shows Tab.1 .
binding and down frames of CDMA operation. The TABLE I. COMPARING BETWEEN THE CONVENTIONAL
smallest CDMA data module is DTGS-800, which DETECTION DATA, AND THE SYSTEM MONITIORING DATA WHICH
inner sets up TCP/UDP protocol. So ,Microprocessor DISPLAY IN SINK AND THE REMOTE CENTER
directly sent AT instructions to the module to connect
WQP Do pH Conductivity
internet for data transmission long-distance. (mg·Lí1) (7.0~9.4) (μs/cm)
In our design an O-CDMA network protocol called No. 1 2 3 1 2 3 1 2 3
interference avoidance (IA) has been adopted to help Oct.1 8.8 8.8 8.7 8.7 8.5 8.5 355 355 354
manage congestion, and maintains a relatively-high
throughput, even under extreme loads[11,12]. The Oct.2 8.8 8.8 8.8 8.7 8.5 8.4 355 354 354
proposed media access protocol is interference Oct.3 8.7 8.6 8.6 8.4 8.4 8.2 355 353 353
avoidance. The protocol consists of two different Oct.4 8.7 8.7 8.7 8.7 8.6 8.6 355 353 352
functionalities, state estimation and transmission
The first group of conventional detection data have
scheduling. State estimation is a mechanism by which
been obtained by artificially sampling On-site, and
nodes on the network estimate the state of the line.
using conventional methods. The second group of mean
Transmission scheduling is a mechanism by which
value is displayed in nodes gateway of our designing
nodes use the estimated state to schedule their
system. the third group average is displayed in the
transmissions to avoid packet losses due to interference.
remote center. The results( shown in Figure 8)

11
demonstrate that there is very little Error between the exclusion zones; design of complex underwater
system monitoring data and conventional detection data. acoustic sensor networks which be applicable to deep
The system can replace conventional detection methods. waters(ocean and sea) , with varying degrees of
It was also evaluated that the system is capable of autonomy, decentralized control, and data-to-decision
working without exchange of the sensor for one year of integration.
continuous monitioring. After that time the sensors
should be regenerated in order to guarantee the system ACKNOWLEDGEMENTS
steady. This work was financially supported by Guangdong
(Located in southern China) Nature Science
 Foundation(7010116) and Zhanjiang (Located in
westen Guangdong) Torch-plan Projects˄20090725˅.
 
REFERENCES

[1] WANG Ji, XU Guo-bao, SHEN Yu-li, “A sea water monitor
 
system based on wireless sensor network,” Telecommunication
Engineering, 2008, 9RO48,No.9,pp23-28 (in Chinese) .
 [2]Prokopenko, M., Poulton, G. T., Price, D. C.,Wang, P., Valencia,
P., Hoschke, N., Farmer, A.J., Hedley, M., Lewis, C., and Scott, D.
RFW RFW RFW RFW
A. ,“Self-organising impact sensing networks in robust aerospace
vehicles,” In Fulcher, J. (ed.) Advances in Applied Artificial
Fig.8(a) Do (dissolved oxygen) data comparing Intelligence, pp.186-223,Idea Group Inc., 2006.
[3]Prokopenko, M.,Wang, P., Price, D, “Complexity Metrics for
 Self-monitoring Impact Sensing Networks,” Proceedings of 2005
NASA/DoD Conference on Evolvable Hardware (EH-05),
 Washington D.C.,USA, 2005.

 [4] Vasilescu, I., Kotay, K., Rus, D., Corke, P., Dunbabin, M., and

 Schmidd, P. (2005). Data collection, storage and retrieval with an
 underwater sensor network, In Proc. IEEE SenSys, Diego, California,

USA ,2005,pp.154-165.

[5] Dong Zhou , Ten Hwang Lai, “Analysis and Implementation of
RFW RFW RFW RFW Scalable Clock Synchronization Protocols in IEEE 802.11 Ad Hoc
Networ,” IEEE International Conference on Mobile Ad-hoc and
Fig.8(b) PH data comparing Sensor Systems (MASS), October 2004.
[6] Fiorelli, E., Leonard, N. E., Bhatta, P., Paley, D., Bachmayer, R.,
 and Fratantoni, D. M. “Multi-AUV control and adaptive sampling in
Monterey Bay.” In Proceedings of the IEEE Autonomous
  Underwater Vehicles: Workshop on Multiple AUV Operations
(Sebasco, ME, USA, June 2004).
 
[7] Prokopenko,M.,Poulton,G.T.,Price,D.C.,et.al. “Self-organising
  impact sensing networks inrobust aerospace vehicles.”In
 Fulcher,J.(ed.)Advancesin Applied Arti¿cial Intelligence,186-
223,Idea GroupInc.,2006.
RFW RFW RFW RFW
[8] Rachel Cardell-oliver, Keith Smettem, Mark Kranz, Kevin
Mayer, “Field Testing a Wireless Sensor Network for Reactive
Fig.8(a) conductivity data comparing Environmental Monitoring,” In In International Conference on
Intelligent Sensors, Sensor Networks and Information Processing
(2004), pp. 14-17.
IV. CONCLUSIONS [9]Prokopenko, M., Wang,P.,Price, D.C., Valencia,P., Foreman,
M.,Farmer, A.J., “Self-organising Hierarchiesin Sensor and
This paper presents a blueprint of the water Communication Networks, ” Arti¿cialLife, Specialissue on Dynamic
pollution monitoring using a wireless sensor network. Hierarchies,Vol.11(4), 2005,pp.407–426.
The work of the whole system is developd in [10] P. Saghari, P. Kamath*, V. Arbab, M. Haghi, A. E. Willner, J.
Guangdong Ocean University. The simulated A. Bannister*, J. D. Touch*, “Experimental Demonstration of an
Interference-Avoidance-Based Protocol for O-CDMA Networks,”
experiment results show the proposed system can Optics Express, Vol. 15, Issue 25, pp. 16442-16447.
realize the reliable and high-speed communication
[11] Xiyu Shi, Christopher Adams, Ahmet Kondoz, “A few
between the remote control center and WSNs.So, the powerful nodes enhance mobile network connectivity,” Online
system is suitable for site polluted water continuous Journal: “SPIE Communications & Networking Newsroom,”
monitoring because of its working stability and low 6 September 2006, SPIE Newsroom. DOI: 10.1117/2.1200608.0360.
power. Some of the tasks for future experiments include: [12] M. Stojanovic. “Retrofocusing techniques for high rate
identification of hazards to safety-critical structures; acoustic communications. ” Journal of the Acoustical Society of
America, March 2005,Vol.117,No.1,1173–1185.
perimeter formation for absorption barriers and traffic

12

You might also like