Вы находитесь на странице: 1из 12

A Hybrid Multi-channel MAC protocol with Virtual Mechanism and Power

Control for Wireless Sensor Networks

Yang Yuwang*1, Ju Yutao2, Jin Baoshen3,Yu Jimin1 ,Sun Yamin1,Yang Jingyu1


1Computer Department of Nanjing University of Science and Technology,Jiangsu,China
2Mechanical Electrical Engineering Department of Nanjing University of Science and
Technology,Jiangsu,China
3 R&D center, ZTE communication Company,Nanjing,Jiangsu,China
*Corresponding author, E-mail address: yuwangyang608@163.com.
**other authors: E-mail address:{yutaoju,Baoshenjin,jiminyu,yamingsun,jingyuwang}@mail.njust.edu.cn

ABSTRACT
A Hybrid Multi-channel MAC protocol with Virtual Mechanism and Power
Control for Wireless Sensor Networks (HM-VMPC) is designed and implemented
in this paper. This kind of protocol integrates dynamic channel assignment
mechanism and quasi-reservation mechanism effectively. It employs a virtual
MAC frame mechanism to support larger network layer packets, and a
multi-channel virtual carrier sensing mechanism to estimate idle or busy channels
effectively, and has the function of intelligent power control which adjusts the
transmission power levels automatically according to the distance among network
nodes, therefore reduces the energy consumption and prolongs the life of the entire
network. This protocol provides proper solution to the hidden and exposed
terminal problem in wireless sensor network, and improves the network
performance. HM-VMPC is compatible with the physical layer of IEEE 802.15.4
standards, and is able to run on SARD (Sensor Applications Reference Design)
board from Freescale company. The performance of HM-VMPC is tested and
compared with other classical MAC protocols. Experiments show that HM-VMPC
is suitable to solve the problem of hidden and exposed terminal in multi-hop
wireless networks, and can control the power more effectively to reduce the energy
consumption of network nodes for prolonging the life of the entire network.

Keywords: multi-hop wireless network, MAC protocol, dynamic channel


assignment, sensor network

1 INTRODUCTION protocols.
Schedule based MAC protocols include
MAC layer of wireless sensor networks is Self-Organizing Medium Access Control for Sensor
particularly important for controlling all the incoming Networks(SMACS)[2],Eavesdrop-And-Register
and outgoing packet directly. MAC protocols have (EAR)[2] algorithm, Distributed Energy Aware MAC
direct impact on the utilization of channels, QoS Layer Protocol (DE-MAC)[3], Energy Efficient MAC
(Quality of Service) of the entire network and node protocol for Sensor Networks (EMACS)[4] protocols.
battery life [1].The difference of MAC protocols To this kind of protocols, the time period staring from
between wireless and traditional wired network is network nodes embedded with this protocol is
that, besides the consideration of fair channel access decided by the scheduling algorithm, which fully
and collision-free data transmission, it has to focus on adapts to topology change and maintains optimal
saving the battery power and improving the network attributes. The disadvantage of SMACS is
scalability of MAC protocols. In addition, because of that the node coming from different sub-network may
the restriction of sensor node capacity, the MAC never have communication opportunity. The EAR
protocol itself cannot be too complicated. algorithm maintains seamless connection among
In order to solve the exposed and hidden terminal mobile nodes, but only suitable for those networks
problem, channel access fairness, QoS guarantee, which remain overall static. The core idea of
power control and other issues faced by multi-hop DE-MAC is to allow nodes to exchange the
wireless MAC protocols, many wireless MAC energy-level information, but the drawback is that
protocols have been put forward which can be even while in the time slot of its neighbor node
divided into four types. They are schedule based, possession, it must keep awake, too.
competition based, collision-free, and hybrid MAC Competition based MAC protocols generally
employ the broadcast channel, and CSMA ( Carrier DMAC are single channel protocols whose
Sense Multiple Access ) operation mode, deal with performance become worse when the network size
hidden and exposed terminal problem by signaling increases. And the unique exposed and hidden
control with additional information. Such protocols terminal problem cannot always been resolved by
include sensor MAC(S-MAC)[5], Timeout single-channel MAC protocols. The traditional
MAC(T-MAC) Protocol[6], Directional MAC multi-channel MAC protocols are based on fixed
(D-MAC) [7], Adaptive Rate control protocol [8], channel allocation and require more complicated and
Radio protocol[9], Wise MAC[10], Aloha[11], extended expensive hardware. The application of multi-channel
IEEE 802.11 based Route Access Protocol (RAP) and dynamic channel allocation technology can
MAC[12] and non-persistent CSMA with preamble completely solve the problem of hidden and exposed
sample(NP-SCMA-PS)[13]. The S-MAC protocol terminals, solve the channel distribution, access
employs IEEE802.11 standards to avoid the collision. control, collision and competition issues effectively,
However it does not give enough protection to nodes further can significantly increase network capacity,
with less energy. T-MAC employs adaptive overall performance and network life.
performance parameters based on S-MAC, but it can Wireless sensor network nodes are usually
not overcome problems such as node early sleep, powered by batteries with limited amount of energy.
virtual cluster and multi-hop synchronization. DMAC Some techniques to reduce energy consumption are
is a MAC layer protocol of high energy efficiency of interest. One way to conserve energy is to use
and low delay based on data assemblage, but it isn't power saving mechanisms[23, 24]. Another technique is
suitable for data communication among arbitrary to use power control schemes which suitably change
nodes. transmitting power to reduce energy consumption [25,
26, 27,28,29,30]
Collision-free MAC protocols include Spatial . Moreover, power control can potentially
TDMA (Time Division Multiple Access) [13], the be used to improve spatial reuse of the wireless
Implicit Prioritized Access Protocol[14] which has channel.
high throughout especially under the circumstance of In this paper, we design a protocol of
high payload. The traffic-adaptive medium access multi-channel MAC protocol-HM-VMPC (a Hybrid
protocol (TRAMA)[15] which avoids competition Multi-channel MAC protocol with Virtual
due to concealing interrupt, but brings long delay. Mechanism and Power Control) based on half-duplex
Hybrid MAC protocols include TDMA-DMA[16] transceiver.
and Contention Aware Transport (CAT)[17]. In second section of this paper a new
TDMA-DMA employs the advantages of physical multi-channel MAC protocol called HM-VMPC is
layer, but its channel utilization rate is low. The designed, which is compatible with the standard
power utilization rate is high for CAT protocol, but IEEE 802.15.4 physical layer of wireless sensor
its cost is large for implementing mobile networks as well as power control capability. The
performance.. overall design of HM-VMPC protocol is analyzed
The earlier multi-channel MAC protocols mostly followed by the main mechanism which the protocol
adopt fixed channel assignment mode by using uses such as virtual carrier sensing, virtual data frame,
different band width [16,18] or spreading frequency dormant mechanism and intelligent power control
codes [19] to divide a single channel into multiple strategy.
ones. These protocols reduce collision effectively, but In third section the HM-VMPC protocol is
increase the complication, node cost and energy implemented under the CodeWarrior IDE by SARD
consumption. development board used as multi-hop wireless
The study has found that the idle listening is the network nodes.
major energy consumption in the wireless multi-hop In forth section experiments are finished and
network, so the protocols with any kind of channel compared with several classic single-channel MAC
access mechanism closes the communication protocols, so analysis of the advantages and
modules while no node data transmission in order to disadvantages of HM-VMPC is obtained. The
reduce idle listening for idle energy consumption experiment uses four SARD boards as the sensor
reduction. To prevent the sleep mechanism impacting node hardware to make up a multi-hop sensor
on neighboring node connection, frame structure is network to confirm the HM-VMPC protocol
used to divide into equal interval frame. Nodes in the performance, and one personal computer which have
entire network or in the same virtual cluster use the serial port as task management center to demonstrate
synchronized frame to obtain connection[21]. the data received by sink nodes. This paper uses
Intra-node in the slot allocation generally is fair, but energy consumption and the packets loss rate to
it also selects the key points, and gives the key points measure the performance of HM-VMPC protocol.
more transmission time slots to adapt the network
communication payload or balance the nodes from 2 HM-VMPC design
the view of energy consumption [20].
Some MAC protocols such as S-MAC, T-MAC,
2.1 Overall Design of the HM-VMPC protocol
The overall design of HM-VMPC protocol is as dynamic channel for data exchange among nodes on
following: demand in time. When the nodes need to transmit
The whole channels are divided into N data, the protocol books a data channel by
sub-channels, and one of these taken as a control RTS/CTS/RES handshake mechanism, and releases
channel is reserved to send control orders, book data the channel when the mission completes.
channels. The other sub-channels are taken as data HM-VMPC protocol cites the reservation
channels. Dynamic channel assignment and mechanism of multi-channel CSMA protocol, and
quasi-reservation mechanism from references this kind of multi-channel mechanism based on the
[31,32,33,34]
similar to those from multi-channel CSMA reservation mechanism has better capability
protocols are applied to manage and maintain these compared with pure stochastic election for idle
data channels. channel mechanism. Even the band width of each
The traditional virtual sensing mechanism [35] is sub-channels is very small, the advantage of adopting
improved, and virtual multi-channel carrier sensing reservation mechanism still exists.
scheme for this protocol is designed. This scheme
takes the Multiplicative Increase Linear 2.2.2 RTS-CTS-RES handshake mechanism
Decrease(MILD) as the retreat algorithm, and is HM-VMPC protocol uses sequent three
supported by RTS(request-to-send)/CTS(clear-to- handshake mechanism of RTS/CTS/RES on the
-send)/RES(Reservation) Mechanism. control channel to book a data channel accepted by
Data channels are reserved by the RTS / CTS / both communication sides. In addition, the adjacent
RES mechanism which runs on the control channel, nodes receive CTS frame and set the promissory
and are acceptable to both sides of the receiver and channel busy, use this collaboration to solve the
transmitter. hidden terminal problem. RES frame is designed to
Traditional stop-wait protocol[36] is improved to solve exposed terminal problem, which has the main
transmit sequence data of virtual sub-frame produced contents of promissory channel number and data
from its original virtual data frame. After a receiver length of this communication, it receives adjacent
completes the reception, it reorganizes the sub-frame nodes which send RES frame, gains promissory
into a complete virtual frame. Further this virtual data channel number and transmission data length,
frame is transmitted to the upper network layer, and estimates the sustaining time of exchange data. After
then the function of MAC protocol is finished. three-time handshake, promissory data channels are
Moreover, in this protocol design, the thought of assigned to the two nodes which transmit data this
energy consumption reduction from S-MAC[5] is time. The timing sequence can be seen in Fig.2.1.
improved to reduce energy consumption of nodes by
the periodic dormant mechanism.
2.2.3 Virtual data frame mechanism
The protocol improves the time synchronization of
TPSN (Timing-sync Protocol for Sensor Networks) After three-times handshake, transmitter and
[21]
to be more concise and efficient. receiver will monopolize promissory data channel,
Intelligent power control technology is used to begin to send data frame at promissory data channel.
save energy due to battery life limited, reduce the IEEE 802.11 Distributed Coordination Function
packet collision and improve the utilization of (DCF)、S-MAC、T-MAC protocols all book to send a
channels. long message data frame after establishing the
communication. HM-VMPC protocol improves this
kind of classical algorithms.
2.2 Main mechanisms adopted by HM-VMPC
In HM-VMPC, a virtual data frame mechanism is
protocol applied to divide the original virtual data frame into
2.2.1 Dynamic channel assignment and channel many sub-virtual frames, and then the improved stop-
wait protocol is used to transmit sequence data of
reservation mechanisms
virtual sub-frames. The main improvement is in the
This protocol divides the channel into N following:
unduplicated sub-channels, and takes a public At the transmitter node:
sub-channel as the control channel, which is used to 1) The MAC layer constructs a sub-data frame
send control command, book data channel, send which is waiting to be sent in order, initializes the
broadcasting and so on. Then, the remaining N-1 frame, and the sequence number is set to be zero,
sub-channels are taken as data channels, and the 2) Let the data frame be delivered to the
dynamic channel assignment technique is adopted to transmission buffer,
manage these channels. HM-VMPC protocol can 3) The data frame in the buffer is transmitted,
support 16 sub-channels correspondent to the and the channel is sensing to enter wait and
hardware design based on IEEE802.15.4 from acknowledgment state, and the timer starts at the
Freescale company. Each node maintains a list which same time,
records the current usage of sub-channels, assigns
Transmitter A
B L S
Control Channel
RTS CTS RES

Receiver B
S
Control Channel RTS CTS RES

Transmitter

&Receiver DATA ACK


Promissory Channel

Nearby node of A
RTS RES
Control channel

Nearby node of A
Promissory Channel NAV(RES)

Nearby node of B

Control channel CTS

Nearby node of B

Promissory Channel NAV(CTS)

Figure 2.1: time sequence of node A transmitting data to node B with HM-VMPC protocol

4) If acknowledgment frame ACK is received, mechanism in HM-VMPC is much more suitable for
the node judges whether the total number of the data network transmission with large traffic.
frame reaches. If it is true, it proves that the virtual Virtual frame mechanism in HM-VMPC can
data frame has been sent out completely, then this reduce packet collision, increase network throughout,
data transmission is ended and the node starts to shorten the time delay and so on.
sense the control channel again. If not, the node
continues to obtain a new data frame in order. If a 2.2.4 Multi-channel virtual carrier sensing
denial frame is received or the timing counter is technique
overtime, then it changes to the step 3) to re-transmit A multi-channel virtual carrier sensing
data frame. mechanism is designed to estimate idle or busy
At the receiver node: channels effectively. HM-VMPC protocol design
1) Parameters are initialized, takes CSMA/CS method as basic channel
2) The node starts to wait for data frame. If it competition mechanism, but HM-VMPC protocol
receives a data frame, examines whether there is uses a list of Idle and Busy Channel(IBC), a list of
transmission mistake on the CRC check. If there is no Network Assignment Vectors (NAVs) and a timer to
mistake, it continues the next step. If there exists replace NAV of the single channel protocol, because
mistake, then it structures a denial frame to transmit the protocol is used for network nodes of
and goes to step 2) again, multi-channel, it should assign a NAV for each data
3) The node picks out the data frame ID, channel of the node to record their idle-busy state.
constructs and transmits the ACK frame. If the ID is HM-VMPC protocol adopts an IBC list, NAVs
not the expected one, then it transfers to step 2). If the list and a timer to replace the NAV in single-channel
ID is the one, then it takes data section from the protocol. Because the protocol is for multi-channel
received data frame into the buffer in order, mechanism, it should assign a NAV about idle and
4) The node judges whether the total number of busy state for each channel of nodes. The basic
the data frame reaches. if it does, it shows that the principle is as following.
virtual data frame has been all received completely, When a sensing cycle starts, NAVs and IBC lists
the node can pass the payload to the upper network are initialized. That is the physical verification of the
layer. Otherwise, it goes to step 2) and continues to data channel. If the channel will be idle, the
wait for receiving a new sub-data frame. corresponding bit in the list is set to 1, if the channel
HM-VMPC employs virtual frame mechanism is busy, let the corresponding bit be 0. Each bit in the
for performance improvement. This kind of virtual IBC list is correspondent to an element in NAVs.
frame mechanism is compatible with long message When the node receives the CTS and RES from
division mechanism of S-MAC protocol, as long as adjacent nodes, it will amend the NAV correspondent
sub-data-frame of virtual frame is defined as the short to the reservation channel in NAV list, and based on
message length of S-MAC, and at the same time, the time interval set by the timer, non-0 in the NAV
virtual frame length itself is defined as the long value is constantly revised in the list of NAV. Value
message length of S-MAC. But the design concept of 0 stands for a idle channel. If the node hopes to send
frame treatment from HM-VMPC and S-MAC or receive data, the NAVs list is checked to determine
protocols is different, and the virtual frame whether a channel is idle.
1 T2 T3 2
Receiver

i-1th
level

Transmitter

i-th level
T1 SYNC-REQ T1 SYNC-ACK T2,T3 T4

Figure 2.2: Time synchronization timing

This process is shown in Fig.2.1. B、S、L denotes system resources.


retreat time, interval between short frames(SIFS), The time difference  between transmitter and
interval between long frames(LIFS) respectively. receiver is computed in following:
Let 1 denote transmission delay of synchronized
2.2.5 Synchronization mechanism request frame. Let 2 denote transmission delay of
HM-VMPC protocol takes some thoughts from synchronized response frame. T1, T2, T3, T4 are local
TPSN to synchronize time, and makes improvement time of request frame at the transmitter, local time of
to obtain concision and efficiency. Improved TPSN receiving request by receiver, local time of response
saves much more network resources, and does not at the receiver, local time of response receiving by
affect synchronal results, which is described as the transmitter respectively.
following. From reference[21]:
The root node first broadcasts synchronization
request frame TSR, and after the neighbor node
 (T2 - T1 ) - (T4 - T3 )
receives the TSR of the root node, sets the its own  
level as 1, records the sequence number of the root  2 (2.1)
node. They wait for a period of stochastic time  = (T2 - T1 ) + (T4 - T3 )
separately, exchange synchronization information
with the root node. After the 2nd level node senses
exchange information of the first level node, adds 1 Here the value of  and =1+ 2is only relevant
to its own level value in the TSR frame, records the to (T2 – T1)and(T4 – T3), and there is no direct
source ID in the TSR frame as its upper node number, relationship with time of processing and response of
withdraws and waits for a random time, requests receiver node, so it is very suitable for the wireless
again to implement the time synchronism with the sensor network with unstable performance.
first level node. Likewise, after the i-th level node Transmitter can compute time difference  with
sends out the request synchronization frame, its lower upper level node according to T1, T2, T3, T4, and
level node records the ID in TSR frame, sets its own adjust the local clock and make itself with upper level
level as i+1, withdraws and waits for a random time, node synchronous.
so it can guarantee the higher level node complete the
time synchronization, then requests again to carry on 2.2.6 Mechanism of the power control
the synchronization with the i-th level node. Finally All the handshake control frames
all the nodes synchronize with source node. In (RTS/CTS/RES)are transmitted with the biggest
synchronization process, if the node receives many power level in HM-VMPC. After the node receives
synchronized request frames, it should choose the p
smallest level node as its own higher level node. RTS, according to receiving power r and the

The packet of HM-VMPC adds level-established current total noise power pnoise of the receiver node,
information based on original synchronized request The sending level PLev of sending node used as
frame in TPSN, so the packet itself has level current data communication is computed through the
information when requested synchronization is intelligence power control processing, and this
transmitted to higher layers. Two stages in TPSN are information is informed to the transmitter node
merged to one, and then this mechanism reduces through CTS frame. The node sending information
protocol complexity, improves the entire network receives a CTS frame, analyzes a power level Plev and
synchronization speed, saves energy and network adjusts the transmitting power to send out a data
frame. If this time fails to send out the data frame, implements the clock synchronization at the
transmitter node will adopt higher transmitting power dormancy time interval. If the entire network clock
level to carry on again until the transmitter sends synchronization is not finished in a dormancy period,
packets successfully. it may continue in the next action period. The period
Receiver node computes the transmitting power value of clock synchronization relies on the timer
level PLev as following: precision of node hardware.
Supposed that the sensor nodes all have same The node joining latest will continue to maintain
transmitting power and level, maximum and the active sensing condition in order to maintain
pt ,max synchronization with the network as soon as possible,
minimum transmitting power are and Once the node finds any active node though sensing,
pt ,min pt ,max it transmits the request of synchronization, completes
respectively. From reference[22] , and the network time synchronism, and enters the active
pr satisfy the following relationship: dormancy period.

n
3 The implement of HM-VMPC protocol
  
pr  pt ,max .   g t .g r (2.2)
3.1 The implement platform of hardware
 4 d  The hardware of network nodes is SARD board
provided by Freescale Company, which can be used
Among them ,  is the wavelength of carrier to implement the design of the wireless multi-hop
wave, d is the distance of receiver A and transmitter sensor network compatible with IEEE 802.15.4
B, n is a path loss coefficient, and gt, gr are antenna standards.
gain of the transmitter and receiver respectively. The SARD is the platform solution of Zigbee-ready
from Freescale Company. Figure 3.1 shows the main
Under the normal condition,  、gt and gr are
components of SARD.
constant and n value is between 2 and 4.
After receiver node A receives a RTS, according ON/OFF Buttons Programming Port
to the background total power pnoise, receiving
s ,nR LED
sensitive level and the limiter of receiver
Signal-to-Noise(SNR), this mechanism can compute

the minimum power of signal


p
a for correct
MCU
receiving information by node A, then node B should RS232
MC13192
adopt the minimum transmitting power pb which
satisfies:
Antenna

n DC IN
  
pa  pb .   g t .g r (2.3)
 4 d  Transformer Sensor

Although, two parameters n and d are unknown, Figure 3.1: SARD Board
they can be regarded as constants in the very short
time intervals. Further pb can be expressed as: Application

  p  
pb  min  max  pa . t ,max , pt ,min  , pt ,max  (2.4) HM-VMPC

  pr  
Initialization/ Simple MAC Layer
Configration
Phisical Layer
Then, the node A searches minimum transmitting
power level PLev to satisfy formula(2.4) in the power Hardware Configration
Hardware Drivers
level list, and fill the power control information field File

within CTS frame, further transmits the CTS to the


node B.
Hardware

2.2.7 Periodic dormancy


As continuous sensing is an important factor
Figure 3.2: Architectures of simple MAC and
affecting energy consumption for sensor networks. In
HM-VMPC
order to not let the clock synchronization increase the
extra network burden, HM-VMPC protocol
SYNC start

Send TSR?

Y
Send TSR by
CSMA,set Timer N
Avoid collision for
a while
Start listening
Set local level, channel
record upper node
ID
A frame
Y detected

Need to modify ID
of upper node? Is local
Y Is TSR? N
TSA?
Y N
N Target ID is Get time
Local ID? difference,
sync with upper
Y node
Send TSA

N N

End?

Y
End

Figure 3.3: Flow chart of synchronization mechanism

Several nodes can constitute various types of Control flow is implemented like the time
network such as star network and mesh network synchronization mechanism in HM-VMPC taken as
through different network protocols. an example represented by fig.3.3.

3.2 The software development implementation 4 Experimental design and result analysis
The HM-VMPC development platform of the
software is the Development Studio of the Freescale Fig 4.1 stands for the experiment environment.
CodeWarrior 5.7.0. In fig.4.1, the sensor network node is
SARD itself has a simple MAC protocol stack, encapsulated in order to be deployed. The battery is
and the layer relationship with HM-VMPC is shown outside of the box for replacing easily.
in figure 3.2 .The simple MAC layer provides some
interfaces for the HM-VMPC.
Single to Multiple Channel
Competition
60

rate(/1000)
Packets loss
40
Single Channel CSMA
20
HM-VMPC Protocol

0
20 40 60 80 100 120
Frame Length(Bytes)

Figure 4.1: experiment environment of multi-hop Figure 4.2: Single to multiple channel competition
sensor networks

4.1 Experiment of channel competition the probability of collision of frames in simple


The collision of HM-VMPC data packet is CSMA transmission channel is also increasing, which
analyzed through packet loss rate comparison of causes the packet loss rate rising. However,
HM-VMPC protocol with CSMA protocol under one HM-VMPC protocol is multi-channel, and there is no
to multi-node communication. collision on data channels, only the frame collision
Let three nodes send data frame to one master on the control channel causes packet loss. Therefore,
node at the same time. Every node uses the same the trend of HM-VMPC packet loss rate changing
biggest transmitting power of 3.6dBm, and the with frame size is not obvious. Its packet loss rate
distance between nodes and the master node is 5 increases mainly due to the slow response speed of
meters. The time-gap of inter-frame is a random master node caused by the network traffic increase.
number which is not more than 2000 millisecond.
The frame size is taken as 20B, 40B, 60B, 80B, 4.2 Exposed terminal experiment
100B, 120B respectively for 6 group tests, and each The exposed terminal problem solved by
group test lasts for 1000 seconds, and the packet loss HM-VMPC protocol is analyzed through loss rate
rate is recorded. comparison test of HM-VMPC with single channel
In figure 4.2, when the MAC frame length is IEEE 802.11 under exposed terminal environment.
short, the packet loss rate of the non-handshake Let the master node as the exposed transmitting
single channel CSMA protocol is lower than that of terminal and the exposed receiving terminal
HM-VMPC protocol. This is because when the frame respectively. Sending nodes in the network use the
size is short, the network traffic is small, and the same transmitting power of 3.6dbm, and the time-gap
probability that the data frame collision is small. of inter-frame is a random number which is not more
Although HM-VMPC protocol is multi-channel, but than 1500 millisecond. Figure 4.3 and the Figure 4.4
three-times handshake control packet transmitting on stand for the network topology of the exposed
the control channel exists more collision. terminal experiment. Here “0” stands for the master
But along with MAC frame size increases, the node, “pc” stands for a personal computer.
increasing trend of the packet loss rate of the simple The frame size is taken as 20B, 40B, 60B, 80B,
CSMA network is faster than that of HM-VMPC 100B, 120B respectively for 6 group tests, and each
protocol. This is because along with the increase of group test counts 1000 data packets, and the test
MAC frame, the entire network traffic increases, and results are in figure 4.5 and figure 4.6.

pc pc

1 0 2 3 1 0 2 3

Figure 4.3: Topology of receiving exposed problem Figure 4.4: Topology of sending exposed problem
Packets loss rate when
Receiver exposed pc
Packets loss 50
rate(/1000) 802.11
40
HM-VMPC
30
1 0 2 3
20
10
0
20 40 60 80 100 120
Data length(Bytes)

Figure 4.5: Packets loss rate when receiver exposed Figure 4.7: Topology of receiver hidden

packet loss rate of hidden receiving terminal

Packets Loss Rate of 35


Transmitter exposed 30

Packet loss rate(/1000)


40 802.11 25
Packets loss
rate(/1000)

30 HM-VMPC 20

15
20
10 802.11
10 5 HM-VMPC

0 0
20 40 60 80 100 120
20 40 60 80 100 120 MAC frame length(Bytes)

MAC frame length(Bytes)

Figure 4.8: Packet loss rate of hidden receiving


Figure 4.6: Packets loss rate when transmitter
Terminal
exposed
Multi-channel MAC protocol-HM-VMPC is exposed terminal problem.
much better than the single channel protocol-IEEE
802.11 in the solution for exposed receiving terminal 4.3 Experiment of hidden receiving terminal
problem. As the network payload increases, the Let the master node as the hidden receiving
packet loss rate of single channel protocol increases terminal, Sending nodes in the network use the same
quickly, while that of HM-VMPC increases slowly. transmitting power of 3.6dbm, and the time-gap of
This is because when the network payload increases, inter-frame is a random number which is not more
the data amount transmitted on single channel grows than 1500 millisecond. Figure 4.7 stands for the
sharply, so the channel becomes quite jam. Therefore, network topology of the hidden terminal experiment.
probability of data frame collision increases, and this The frame size is taken as 20B, 40B, 60B, 80B,
leads to the loss rate increasing obviously. 100B, 120B respectively for 6 group tests, and each
HM-VMPC employs multi-channel scheme, the data group test counts 1000 data packets, and the test
and control information is transmitted separately, and results are in Figure 4.8.
more than one data channel may transmit data at the
same time, therefore it is not very obvious to MAC From the figure 4.8, multi-channel HM-VMPC
payload affecting multi-channel HM-VMPC has some advantage to solve the hidden terminal
protocol. problem. Under the condition of multi-channel, the
From Fig. 4.6, when the node is under the hidden receiver terminal can shake hands when the
exposed terminal condition, the packet loss rate of surrounding nodes transmit the data. Compared with
single channel IEEE 802.11 MAC protocol with the other protocols, this operation mode can avoid the
handshake mechanism is still high, and changes collision between data frames and control frames
obviously with the network payload. But the packet when handshake mechanism works. Thus the packet
loss rate of multi-channel HM-VMPC is lower than loss rate is reduced effectively. But, it is possible that
that of IEEE 802.11, and has no obvious change with the collision on the control channel between the
the network payload. This result shows the advantage frames of the HM-VMPC can happen, so there is still
of the multi-channel HM-VMPC protocol in solving some packet loss.
T ransmission power level with
Packet loss rate with power control on MAC
intelligent power control layer
16 With
14
50
power
Transmission power

12
45
control
40
Without

Packet loss rate(/1000)


10 35
power
level

30
8 With control
power 25
6
control 20
4 Without 15

2
power 10
control 5
0
0 5 10 15 20 25 30
0
0 5 10 15 20 25 30
Transmission range(/m) Transmission range(/m)

Figure 4.10: Rule of packet loss rate change


Figure 4.9: Effectiveness of intelligent power
control

4.4 Power control experiment performance of the MAC protocol. It avoids collision
By the measurement of the transmitting power by the improvement method from CSMA/CA
levels of nodes embedded HM-VMPC protocol with (Carrier Sense Multiple Access with Collision
power control mechanism under different Avoidance), and the assistance with three handshake
communication distance, and the comparison of mechanism of RTS/CTS/RES, and also modifies
packet loss rate under the same distance with and periodic dormant monitoring mechanism of S-MAC
without power control mechanism, the effectiveness protocol. By improving the time synchronization
of the power control in HM-VMPC is verified. mechanism from TPSN, nodes achieve absolute time
Nodes transmit data frames to the master node in synchronization. Besides, it also introduces
the different distance, the length of MAC frame is reservation, dynamic channel allocation as well as an
125B, the interval time to send frame is 500 intelligent power control technique according to the
milliseconds (to ensure same number packets in the distance between the nodes is to adjust transmission
same time), the transmission distance has 7 groups power dynamically.
which are 0,5,10,15,20,25 and 30 meters respectively, The collision of HM-VMPC is tested through
each group test lasts 600 seconds. The average packet loss rate comparison of HM-VMPC protocol
transmitting power levels of each experiment are with CSMA protocol under one to multi-node
computed, and the packet loss rate in HM-VMPC communication.
with and without power control is compared. Nodes The exposed and hidden terminal problem solved
without power control transmit data frames with by HM-VMPC protocol is analyzed through loss rate
maximum power level. comparison test of HM-VMPC with single channel
Figure 4.9 shows the average transmitting power IEEE 802.11.
level of intelligent power control nodes in different By the measurement of the transmitting power
communication distance. When the distance increases, levels of nodes under different communication
the transmitting power increases, but the relationship distance, and the comparison of packet loss rate with
of transmitting power level and communication and without power control mechanism, the
distance is not linear. In half position of the effectiveness of the power control in HM-VMPC is
maximum distance (about 15 meters, the normal tested.
communication distance of the SARD nodes is about A large number of experiment show that
30 meters) does not change significantly. Clearly, HM-VMPC is suitable to solve exposed and hidden
intelligent power control mechanism can choose the terminal problem, and effectively reduce the energy
right transmitting power level based on the distance. consumption through the power control.
From Figure 4.10, in various communication
distances, HM-VMPC has almost the same packet Acknowledgment
loss after having intelligent power control. This The work in this paper is supported by the
shows that saving energy with power control does not National Natural Fund of China under contract
bring the decline of network performance. (60472060, 60473039), 863 High Technology Plan of
China (2006AA01Z119).
5 Conclusion
Reference:
In this paper, HM-VMPC protocol employs [1] E. Shih, S. H. Cho, N. Ickes, et al. Physical Layer
many effective mechanisms to improve the Driven Protocol and Algorithm Design for
Energy-Efficient Wireless Sensor Networks. The 7th Preamble Sampling for Low Power Ad hoc Wireless
annual international conference on Mobile computing Sensor Networks. 2002 Seventh International
and networking(MOBICOM’01),pp.272-286 (2001). Symposium on Computers and
[2] K. Sohrabi, J. Gao, V. Ailawadhi, and G. J. Communications( ISCC 2002), pp.685 – 692 (2002).
Pottie. Protocols for Self-Organization of a Wireless [14] Caccamo M., Zhang L.Y., Lui Sha, Buttazzo G.
Sensor Network. IEEE Personal Communications, An Implicit Prioritized Access Protocol for Wireless
No.5, Vol.7, pp. 16-27 (2000). Sensor Networks. Real-Time Systems Symposium,
[3] Ramaraju Kalidindi, Rajgopal Kannan, S. 2002, RTSS 2002, pp.39 – 48 (2002 ).
Sitharama Iyengar, Lydia Ray. Distributed Energy [15] Venkatesh Rajendran, Katia Obraczka, J. J.
Aware MAC Layer Protocol for Wireless Sensor Garcia-Luna-Aceves. Energy-efficient Collision-free
Networks. International Conference on Wireless Medium Access Control for Wireless Sensor
Networks, pp.282-286 (2003). Networks. Conference On Embedded Networked
[4] S. Dulman, L. van Hoesel, T. Nieberg, P. Sensor Systems archive, Proceedings of the 1st
Havinga, Collaborative Communication Protocols for international conference on Embedded networked
Wireless Sensor Networks, European research on sensor systems , pp.181 – 192 (2003).
middleware and architectures for complex and [16] SeongHwan Cho, Chandrakasan A.P. Energy
embedded cooperative systems, workshop held in Efficient Protocols for Low Duty Cycle Wireless
conjunction with IEEE ISADS 2003,pp. 3-7 (2003). Micro-sensor Networks.. 2001 IEEE International
[5] W. Ye, J. Heidemann, and D. Estrin. An Energy Conference on Acoustics, Speech, and Signal
Efficient MAC Protocol for Wireless Sensor Processing, (ICASSP '01), pp.2041 – 2044 (2001).
Networks. In Proceedings of the 2lst International [17]Chunlong Guo, Lizhi Charlie Zhong, Rabaey J.M.
Annual Joint Conference of the IEEE Computer and Low Power Distributed MAC for Ad hoc Sensor
Communications Societies (INFOCOM) Newyork, Radio Networks. Global Telecommunications
pp.1567-1576 (2002). Conference, 2001. GLOBECOM '01. IEEE, 5,
[6] T. vanDam and K. Langendoen. An Adaptive pp.2944 - 2948 (2001).
Energy-Efficient MAC Protocol for Wireless sensor [18] K. Sohrabi, J. Gao, V. Ailawadhi, et al. Protocols
Networks. The First ACM Conference on Embedded for Self-Organization of a Wireless Sensor Network.
Networked Sensor systems(Sensys2003), pp.171-180 IEEE Personal Communications. No.7,Vol.5,pp.
(2003). 16-27 (2000).
[7] Lu G., Krishnamachari B., Raghavendra C.S. An [19] C. Guo, L. C. Zhong, J. M. Rabaey. Low Power
Adaptive Energy-efficient and Low-latency MAC for Distributed MAC for Ad hoc Sensor Radio Networks.
Data Gathering in Wireless Sensor Networks. Parallel IEEE Global Telecommunications Conference
and Distributed Processing Symposium, 2004. (GLOBECOM’01).pp. 65-68 (2001).
Proceedings. 18th International, pp.26-30 ( 2004). [20] Y. C. Tay, K. Jamieson, H. Balakrishnan.
[8] Alec woo and David E. Culler. A Transmission Collision-minimizing CSMA and Its Applications to
Control Scheme for Media Access in Sensor Wireless Sensor Networks. IEEE Journal on Selected
Networks. In Proceeding of the seventh annual Areas in Communications, No.22,Vol.6,pp.
international conference on Mobile computing and 1048-1057 (2004).
networking, pp.221-235 (2001). [21] Ganeriwal S, Kumar R, Srivastava M B.
[9] G. Stein, K. Kabitzsch. A Radio Protocol for Timing-Sync Protocol for Sensor Networks. In:Proc
Low Power Wireless Sensor Networks. In 1st Int’l Conf on Embedded Systems(SenSys
Proceedings of the 5th IFAC Conference on Fieldbus 2003),Los Angels,CA. pp.138-149 (2003).
Systems and Their Applications, pp.53-58 (2003). [22] E.K.Wesel. Wireless Multimedia
[10] Enz C.C., El-Hoiydi A., Decotignie J.-D., Peiris Communications: Networking video, voice and data .
V. WiseNET. an Ultralow-power Wireless Sensor Addison-wesley , Reading Massachusetts, USA,
Network Solution. Computer. No.37,Vol.8,pp. 62- 70 1998.
( 2004). [23] Chen B, Jamieson K, Balakrishnan H, Morris R.
[11] El-Hoiydi A. Aloha with Preamble Sampling for SPAN. An Energy Efficient Coordination Algorithm
Sporadic Traffic in Ad hoc Wireless Sensor for Topology Maintenance in Ad hoc Wireless
Networks. 2002. IEEE International Conference on Networks. ACM Wireless Networks, No.8,Vol.5,pp.
Communications, No.5,Vol. 28,pp. 3418- 3423 481-494 (2002).
(2002 ). [24] E.-S. Jung and N. H. Vaidya. An Energy
[12] Chenyang Lu, Blum B.M., Abdelzaher T.F., Efficient MAC Protocol for Wireless LANs.
Stankovic J.A., Tian He. RAP: a Real-time Proceedings of IEEE INFOCOM, pp.1756–1764
Communication Architecture for Large-scale (2002).
Wireless Sensor Networks. Real-Time and Embedded [25] J.P. Ebert, B. Stremmel, E. Wiederhold, and A.
Technology and Applications Symposium, pp.55 – 66 Wolisz. An Energy-efficient Power Control
( 2002). Approach for WLANs. Journal of Communications
[13] El-Hoiydi A. Spatial TDMA and CSMA with and Networks (JCN), No.2,Vol.3,pp. 197-206 (2000).
[26] J. E. Wieselthier, G. D. Nguyen, and A.
Ephremides. On the Construction of Energy-Efficient
Broadcast and Multicast Trees in Wireless Networks.
In INFOCOM 2000, pp.585-594 (2000).
[27] J. E. Wieselthier, G. D. Nguyen, and A.
Ephremides. Resource-Limited Energy-Efficient
Wireless Multicast of Session Traffic. In Hawaii
International Conference on System Sciences HICSS
2001, pp.23-33(2001).
[28] S. Agarwal, S. Krishnamurthy, R. Katz, and S.
Dao. Distributed Power Control in Ad hoc Wireless
Networks. Proc. of Personal and Indoor Mobile
Radio Communication (PIMRC), pp.59-66(2001).
[29] A. A. Pires, J. F. de Rezende , and C. Cordeiro.
ALCA. A New Scheme for Power Control on 802.11
Ad hoc Networks. Proc. of IEEE International
Symposium on a World of Wireless, Mobile and
Multimedia Networks ( WoWMoM), pp.475-477
(2005).
[30] A. Muqattash and M. Krunz,. POWMAC.A
Single-Channel Power-Control Protocol for
Throughput Enhancement in Wireless Ad Hoc
Networks. Proc. of IEEE, No.23,Vol.5,pp. 1065-1084
(2005).
[31] P.M.Papazoglou, D.A.Karras,
R.C.Papademetriou. A Dynamic Channel Assignment
Simulation System for Large Scale Cellular
Telecommunications, HERCMA 2005, Athens,
Greece,pp.45-52( 2005).
[32] S.Hurley. Planning Effective Cellular Mobile
Radio Networks. IEEE Transactions on Vehicular
Technology, No.51,Vol.2,pp. 254-253 (2002).
[33] Ma M., Yang Y. A Novel Contention-Based
MAC Protocol with Channel Reservation for
Wireless LANs. Broadband Networks, 2005 2nd
International Conference on.Vol.1, pp.327 – 336
(2005).
[34] M. Salamah, and H. Lababidi, “Dynamically
Adaptive Channel Reservation Scheme for Cellular
Networks,” Computer Networks journal,
No.49,Vol.6,pp. 787-796 (2005).
[35] Mineo Takai, Jay Martin, Rajive Bagrodia, and
Aifeng Ren. Directional Virtual Carrier Sensing for
Directional Antennas in Mobile Ad hoc Networks. In
Proceedings of the 3rd ACM international
symposium on Mobile ad hoc networking and
computing, pp. 183–193 (2002).
[36] Varthis, E. G. and D. I. Fotiadis. A Comparison
of Stop-and-wait and Go-back-N ARQ Schemes for
IEEE 802.11e Wireless Infrared Networks. Computer
Communications,No.29,Vol.8,pp. 1015-1025 (2006).

Вам также может понравиться