Open-Zb: An Open-Source Implementation of The Ieee 802.15.4/zigbee Protocol Stack On Tinyos
Open-Zb: An Open-Source Implementation of The Ieee 802.15.4/zigbee Protocol Stack On Tinyos
1
IPP-HURRAY! Research Group, Polytechnic Institute of Porto, School of Engineering (ISEP/IPP), Porto, Portugal
2
Al-Imam Muhammad Ibn Saud University, Computer Science Dept., 11681 Riyadh, Saudi Arabia
[email protected], [email protected], [email protected], [email protected]
a) Slotted CSMA/CA
Experimental Ps
80% proposed an admission control algorithm that decides
Simulation Ps
70% whether to accept or reject a new GTS allocation based
on its requirement and traffic specifications.
60%
The i-GAME mechanism was implemented in the
50%
MAC and Network Layers, defining a new service
40% access point between these two layers - the MLME-
30% i-GAME. A detailed standard-like description of the
20% interfaces added to the Network layer and the
BO = SO = 5 enhancements to the MAC sub-layer for supporting the
10%
Offered Load (G ) i-GAME mechanism is presented in [29].
0%
Comparing with the standard IEEE 802.15.4, the
0% 50% 100% 150% 200% 250% 300%
i-GAME mechanism just needs to change the
management of the beacon GTS descriptors, which
Fig. 7. Network Throughput function of Offered
have to be included in the beacon in a round robin
Load obtained (simulation & experimentation)
sequence. The implicit GTS descriptors are managed
Simulation and experimental results allowed by the i-GAME Admission Control procedure by
observing similar behaviours, which consolidates the issuing the MLME_iGAME.response, which updates
consistency of the implemented version of the Slotted the GTS descriptors.
CSMA/CA mechanism.
As it could be expected, the simulation results for
Throughput and Probability of Success are higher that
the experimental results. We believe that this is mainly
because the simulation model does not consider some
of the physical constraints of the MICAz mote,
especially the processing power, the internal delays
due to TinyOS overheads and the normal interferences
of a real wireless medium.
One of the reasons for a lower performance with
lower SO is due to an increased probability of
transmission deference (e.g. frames that are deferred to
the next Superframe because the device is not able to
send them in the current one). The transmission
deference problem is more frequent with lower SO,
since the SD is smaller. Another factor for the lower
performance is the overhead of the beacon frame
transmission, which is more significant for lower SO
values. Fig. 8. Number of nodes allocating a GTS with
i-GAME versus the GTS length
4.2. Implicit GTS allocation mechanism The i-GAME mechanism assumes that when a node
wishes to allocate a time slot, it sends an implicit GTS
The IEEE 802.15.4 supports a GTS allocation request command (similar to the IEEE 802.15.4 GTS
mechanism, where a node explicitly allocates a number request command) that includes the desired flow
of time slots in each Superframe for its exclusive use. specification (the burst size, arrival rate and the delay
The limitation of this mechanism is inherent to the requirements) in addition to the standard IEEE
maximum number of seven available GTS that can be 802.15.4 GTS characteristics (direction and type). The
allocated in each Superframe, preventing other nodes PAN Coordinator evaluates the acceptance of the GTS
allocation by running the Admission Control algorithm cluster under its control) and also during the active
with the requested flow specifications. The i-GAME period of its parent.
Admission Control algorithm manages the number of The TDBS approach relies on a negotiation for
necessary GTS time slots in order to comply with the beacon broadcasting. Upon success of the association
requested flow specifications. This is accomplished by to the network, the ZR (behaving as a ZED) sends a
managing the GTS descriptors of the beacon frame negotiation message to the ZC (routed along the tree)
transmitted by the PAN Coordinator allowing the embedding the envisaged (BO, SO) pair requesting a
nodes that allocated a GTS to use them. beacon broadcast permit. Then, in case of a
Fig. 8 [5] depicts an example of the usage of the successfully negotiation, the ZC replies with a
GTS allocated time slots and the optimization of negotiation response message containing a beacon
bandwidth that can be achieved with the i-GAME transmission offset (the instant when the ZR starts
mechanism. To observe the impact of the delay transmitting the beacon). In case of rejection, the ZR
requirement on the improvement of the GTS must disassociate from the network.
efficiency, we have run the experimental scenario with
delay requirements of 900 ms, 700 ms, 500 ms and 300
ms (Fig. 8). Observe that relaxing the delay bound of 7
nodes (to 900 ms) requesting GTS allocation enables
to save up to 5 time slots as compared to explicit
allocation, while still satisfying the delay bounds. This
(saved) time can be used to extend the Contention-
Access Period, thus improving the utilization of the
network.