and application of LR-WPAN in areas related to physical, chemical and biological
processes, among others.
Due to these limitations, the search for new protocols and techniques has greatly
increased, and has become an enormous challenge in this area. Such developments,
however, require a test network that, in most cases, is not feasible from an economic
viewpoint owing to the fact that these networks are made up of hundreds, sometimes,
thousands of very expensive sensor units.
Based on what has just been said, the construction of a computational model in
order to support both the reduction in power consumption and the optimization process
has become of crucial importance in terms of costs and complexity.
It will be presented in this paper a model analysis of the IEEE 802.15.4, mainly the
link layer, by means of an access protocol to the Carrier Sense Multiple Access - Colli-
sion Avoidance (CSMA-CA) unslotted environment. Nevertheless, few are the methods
for simulating, verifying and validating such systems. Among these methods, one can
find the hierarchical coloured Petri nets. Hierarchical Coloured Petri Nets (HCPN) are
very much useful for modelling dynamic and concurrency systems, such as a wireless
sensor network.
The remaining sections of this paper have been organized as follows: Section 2 gives
full details of the mechanism CSMA-CA unslotted ; Section 3 presents a brief descrip-
tion of HCPN; Section 4 describes our Mechanism CSMA-CA unslotted HCPN model;
Section 5 presents an analysis of the model; and Section 6 exhibits the conclusions and
points towards further developments.
2 Defining the Mechanism CSMA-CA
The CSMA-CA mechanism is utilized in various network technologies, especially in
wireless technologies (e.g. in IEEE 802.ll and 802.15.4). This is a contention based-
mechanism that attempts to avoid a collision situation in the network by checking the
channel before transmission. Should the mechanism find the channel busy, a random
time, termed backoff, is then devised so as to try again until it accesses the channel;
either by reaching or even exceeding the backoff. In such cases, transmission fails, and
the frame is retransmitted [5].
The CSMA-CA algorithm cannot be used for beacon frame transmissions, acknowl-
edgement frames or data transmitted over a Contention-Free Period (CFP). The LR-
WPAN employs two different kinds of mechanism in order to access the channel: the
CSMA-CA slotted or the CSMA-CA unslotted; the CSMA-CA slotted being out of the
scope of this paper. Further information regarding this mechanism can be found in [1].
For the mechanism LR-WPAN unslotted, any devices in need of transmitting data or
Medium Access Control (MAC) commands must wait for some random time. Transmis-
sion will only be possible when the channel becomes free after the backoff; otherwise,
the device will create another backoff and attempts to access the channel once again.
Such procedure will be repeated until the channel is accessed, or until waiting upper
limits are achieved. Further details about these limits will be given later in this paper.
Figure 1, redrawn from [1], shows the CSMA-CA unslotted algorithm, where vari-
ables NB (Number Backoff (periods)) and BE (Backoff Exponent) are initialized in
50