Академический Документы
Профессиональный Документы
Культура Документы
Research Article
A Routing Algorithm for WiFi-Based Wireless Sensor Network
and the Application in Automatic Meter Reading
Li Li,1 Xiaoguang Hu,1 and Baochang Zhang2
1
2
School of Automation Science and Electrical Engineering, BeiHang University, Beijing 100191, China
Science and Technology on Aircraft Control Laboratory, School of Automation Science and Electrical Engineering, BeiHang University,
Beijing 100191, China
1. Introduction
Many countries have been carrying their own Smart Grid
plan into reality [1, 2]. Although the focuses of their plans
are different, the intellectualization of power utilization for
terminal users is important work in most countries. As
the footstone of the Smart Grid, the new generation of
AMR system in Smart Grid not only can collect the data of
power meters remotely, but also can have functions of power
rationing, multirate billing, remote on-off control, power line
loss test, antistealing, and the monitoring and management
of power line and meters. Those functions should send data
to terminal users, such as power meters, which is different
from the old AMR systems. So a new generation of AMR
architecture should be researched to meet the Smart Grids
new requirements [3].
There are many kinds of AMR communication technologies in the world now, such as Radio Frequency (RF) [4, 5],
ZigBee-based wireless sensor network (WSN) [68], GPRS
and 3G [9, 10], Power Line Carrier Communication (PLC)
[1113], and 485 bus. Among these technologies, WSN and
2
a company invested by Intel, developed the famous lowpower WiFi sensor chips GS 1010 [14], and G2 Microsystems
developed the G2C5x series chips [15]. It was reported that
power consumption of GS 1010 sensor nodes is so low that
a WiFi node can work five to ten years with an AA battery;
of course, the working time also depends on the frequencies
and time when the chip wakes up to work. Yu-Ping Chen
compared GS 1010 with ZigBee sensors in standby and startup
power consumption and got the conclusion that the average
standby and startup power consumption of the WiFi sensor
chip is less than the ZigBee sensor [23].
In China, some researchers have done much work in this
area too. Shuang has developed a WiFi-based sensor node
with GS 1010 chip and realized data transition and node
positioning function [16]. Hongyi et al. have also realized
remote environments monitoring system indoor and outdoor
with GS 1010 chip [17]. Bin and Qiang have also done
much application research work in these fields [18, 19]. Wu
has designed and developed the hardware of a WiFi-based
wireless sensor network node with ARM9-based S3C2440
processor [20]. There are more researchers who discussed
and described the new applications with WiFi sensor network
node [21, 22].
The aforementioned researchers mainly focus on hardware design and application of WiFi sensor node. However, the research work on routing protocols and security
algorithm of WiFi-based wireless sensor network is much
less. The current WiFis AP is powered by a power line
with unrestricted power and has higher calculation ability
and large storage space. The routing protocols and security
algorithms of the current WiFi technology are complex
and nodes energy saving has not been considered in the
protocols. Nodes of wireless sensor networks are powered
by batteries and are usually used in an unattended area. So
the cost is higher when it is used in large-scale application.
And the hardwares storage space and calculating ability of the
WSN node are very limited. For the pervious reason, current
WiFi technology cannot be directly applied to wireless sensor
networks. We must upgrade the protocols and improve the
security algorithms to meet the new requests.
On the basis of study work of original WiFi routing
protocol HWMP, new method on improving the energy
saving ability of HWMP to adapt the new features is described
in this paper. Simulation work on the new routing protocol
has been done with NS2, and the simulation results show that
the life cycle of the network is extended to some degree.
Cluster node
Sink node
Sensor node
MP
802.11s mesh links
Internet
MAP
MPP
STAs
MP
MP
MAP
MAP
MP
Gas meter
Water
meter
Manage center
Gas meter
WiFi
WiFi
Water meter
WiFi
Internet
of Things
WiFi
Concentrative
server
WiFi
WiFi
WiFi
WiFi
WiFi
User computer
WiFi
WiFi
WiFi
WiFi
WiFi
WiFi
Water meter
Gas meter
Water meter
Gas meter
Gas meter
Water meter
5
of Information Transmission Problems under the Russian
Academy of Sciences [28], we find that HWMP code is
similar to AODV protocol code of NS2. They are all mainly
composed of protocol body, routing table, broadcast timer,
route cache timer, cache broadcast ID timer, and route cache
queue.
When a packet is received, which means the function
recv(Packet , Handler ) is called, different functions are
called to deal with it according to the packet type.
No
Registration
flag set?
On-demand routing
(RM-AODV)
No
Yes
Registration mode
Nonregistration mode
1
,
]
1 fr
(1)
= (
=1
1
),
energy
(2)
Link
cnt
1
,
Metric = =
=1 energy
=1
(3)
1
.
energy
(4)
5. Simulation
In order to verify the effect of the improved E-HWMP
protocol, we did simulation tests. In the tests, the energy
model of NS2 is used. Energy model of NS2 can be started
by TCL language in the energy simulation process and run
according to the parameters set in TCL script. Surely the
left energy information in the current node should be called
Octets: 1
Element
ID
Length
Flags
Hop
count
TTL
6
4
0 or 6
Originator Originator
Path
Originator
HWMP
mesh
discovery
external
sequence
STA
ID
address
address number
Lifetime
Metric
Energylost
4
Target
HWMP
sequence
number
Target
count
Per target
flags
Target
address
Per target
flags
Target
address
Target
address
Element
ID
Length
Flags
Hop
count
TTL
Lifetime
Metric
6
Originator
mesh
Energylost
STA
address
6
Target
mesh
STA
address
4
Target
HWMP
sequence
number
0 or 6
Target
external
address
4
Originator
HWMP
sequence
number
58
56
Simulation time
Transfer protocol
Packet types
Transmission rate
Transmission distance
Mac layer
Antenna type
Node moving speed
54
52
50
48
46
44
42
100 s
UDP
CBR
1 Mbps
200 m
802.11 DCF
Omnidirectional antenna
Fixed
40
38
50
100
150
200
Number of nodes
250
300
E-HWMP
HWMP
0.1
0.09
0.08
0.07
0.06
0.05
0.04
0.03
0.02
0.01
0
50
100
150
200
Number of nodes
250
300
E-HWMP
HWMP
85
80
75
70
65
60
55
nodes is 100, 150, or 300. But there is more time delay when
the number of nodes is 200.
As is shown in Figure 9, the life cycle of the first timeout
node in E-HWMP is extended to a certain degree when there
are 100 nodes in the system and the initial energies are 5 J, 10 J,
and 15 J, respectively.
Furthermore, in the proactive routing test an 8 12 point
matrix is built, which can simulate the network topology of
the building meter reading system. The distance between two
adjacent nodes is 200 meters. The root node which simulates
the concentrator of buildings is located on the top of the
lattice, and it is connected with other nodes in the middle of
lattice by one hop. The topology is shown in Figure 10.
The results of this simulation show that the time of the
first timeout node of E-HWMP is 71.1927 s, while the time of
the first timeout node of HWMP is 70.0268 s. There is more
than a 1-second delay in the time of first timeout node in the
E-HWMP protocol compared with HWMP protocol.
50
6. Conclusion
45
40
8
9
10
11
12
Initialized energy of nodes (J)
13
14
15
E-HWMP
HWMP
Compared with the original HWMP, the life cycle of the first
timeout node in E-HWMP is extended to a certain degree and
the existing period of the network is prolonged, at the same
time, there is no large difference in the end-to-end time delay
between E-HWMP and HWMP.
The result of the simulation of the AMR system under
proactive routing model in the situation of apartment building shows that E-HMWP is more suitable than HWMP for
the remote AMR network.
Acknowledgments
All authors do not have a direct financial relation with Wireless Software Research and Development Group of Institute of
Information Transmission Problems of the Russian Academy
of Sciences (as in reference [28]), which cannot lead to a
conflict of interests for any of the authors. This work was
supported in part by the Natural Science Foundation of
China, under Contracts 61039003 and 61272052, and part by
the Fundamental Research Funds for Central Universities.
References
[1] Q. Song, J. Tang, and X. Feng, Development and analysis of
Smart Grid at home and abroad, Electrotechnics Electric, no. 3,
pp. 14, 2010.
[2] S. Fang, Strategic plan for the Smart Grid in Europe and
America, Sino-Global Energy, no. 6, p. 107, 2009.
[3] L. Li, X. Hu, J. Huang, and K. He, Design of new architecture
of AMR system in Smart Grid, in Proceedings of the 6th
IEEE Conference on Industrial Electronics and Applications
(ICIEA 11), pp. 20252029, June 2011.
[4] A. Ali, N. A. Razali, N. H. Saad, and N. Vitee, Implementation
of Automatic Meter Reading (AMR) using radio frequency (RF)
module, in Proceedings of the IEEE International Conference on
Power and Energy (PECon 12), pp. 876879, December 2012.
[5] C. Brasek, Urban utilities warm up to the idea of wireless automatic meter reading, IEE Computing and Control Engineering,
vol. 15, no. 6, pp. 1014, 2004.
[6] P. Corral, B. Coronado, A. C. de Castro Lima, and O. Ludwig,
Design of automatic meter reading based on Zigbee, IEEE
Latin America Transactions, vol. 10, no. 1, pp. 11501155, 2012.
[7] C. Prapasawad, K. Pornprasitpol, and W. Pora, Development
of an automatic meter reading system based on ZigBee PRO
Smart Energy Profile IEEE 802. 15. 4 standard, in Proceedings of
the IEEE International Conference on Electron Devices and Solid
State Circuit (EDSSC 12), pp. 13, December 2012..
[8] N.-Q. Nhan, M.-T. Vo, T.-D. Nguyen, and H.-T. Huynh,
Improving the performance of mobile data collecting systems
for electricity meter reading using Wireless Sensor Network, in
Proceedings of the International Conference on Advanced Technologies for Communications (ATC 12), pp. 241246, October
2012.
[9] T. Khalifa, K. Naik, and A. Nayak, A survey of communication
protocols for automatic meter reading applications, IEEE
Communications Surveys and Tutorials, vol. 13, no. 2, pp. 168
182, 2011.
[10] X. Chen, Y. Zhang, and L. Wang, Hardware design of the
wireless automatic meter reading system based on GPRS, in
Proceedings of the 10th World Congress on Intelligent Control and
Automation (WCICA 12), pp. 45364540, July 2012.
[11] B. Sivaneasan, P. L. So, and E. Gunawan, A new routing protocol
for PLC-based AMR systems, IEEE Transactions on Power
Delivery, vol. 26, no. 4, pp. 26132620, 2011.
[12] Q. Chen-Xi and H. Xiao-Guang, The realization of broadband
carrier communication in remote automatic meter reading
system, in Proceedings of the 10th IEEE International Conference
on Industrial Informatics (INDIN 12), pp. 10731076, July 2012.
[13] M. Popa, Gateway design and implementation in an automatic
meter reading system based on Power Line Communications,
in Proceedings of the 7th International Conference on Networked
Computing and Advanced Information Management (NCM 11),
pp. 295298, June 2011.
[14] D. M. Dobkin and B. Aboussouan, Low power Wi-Fi (IEEE
802. 11) for IP smart objects, Gainspan Corporation White
Paper, 2009.
[15] G2 Microsystems, Ultra Low-power Wi-Fi Datasheet V0. 95,
2006, http://www.g2microsystems.com.
[16] H. Shuang, Design and Application of a Wi-Fi Based Wireless
Sensor Networks Node, Beijing University of Posts and Telecommunications, 2010.
[17] L. Hongyi, Z. Fang, L. Zhaohui et al., Design and implementation of an indoor and outdoor environment remote monitoring
[18]
[19]
[20]
[21]
[22]
[23]
[24]
[25]
[26]
[27]
[28]
Advances in
Operations Research
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
Advances in
Decision Sciences
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
Journal of
Applied Mathematics
Algebra
Volume 2014
Journal of
The Scientific
World Journal
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
International Journal of
Differential Equations
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
Volume 2014
Advances in
Combinatorics
Hindawi Publishing Corporation
http://www.hindawi.com
Mathematical Physics
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
Journal of
Complex Analysis
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
International
Journal of
Mathematics and
Mathematical
Sciences
Mathematical Problems
in Engineering
Journal of
Mathematics
Hindawi Publishing Corporation
http://www.hindawi.com
Volume 2014
Volume 2014
Volume 2014
Volume 2014
Discrete Mathematics
Journal of
Volume 2014
Discrete Dynamics in
Nature and Society
Journal of
Function Spaces
Hindawi Publishing Corporation
http://www.hindawi.com
Abstract and
Applied Analysis
Volume 2014
Volume 2014
Volume 2014
International Journal of
Journal of
Stochastic Analysis
Optimization
Volume 2014
Volume 2014