23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

50-6 Industrial Communication Systems<br />

• Data are sent from one participant to another (peer-to-peer-topology). As in the first scenario, the<br />

receiver must always be capable of receiving.<br />

• Data are sent from the PAN coordinator to one participant. The participant asks periodically<br />

for data at the coordinator. The coordinator sends an ACK and the data if something is available,<br />

otherwise it sends a null packet. The coordinator is always in receiving mode when not<br />

transmitting.<br />

50.5.2.2 Slotted Mode<br />

In the slotted mode, there is a superframe structure coordinated by the PAN coordinator as the transmitter<br />

of periodic beacons. The superframe is started by the beacon (without using CSMA/CA) and<br />

followed by 16 equal time slots. The beacons are used to synchronize the attached devices to identify the<br />

PAN and to describe the structure of the superframes.<br />

For low-latency applications, the PAN coordinator may optionally dedicate portions of the active<br />

superframe to GTSs. The GTSs form the contention-free period (CFP), which always appears at the end<br />

of the active superframe. The other slots are right after the beacon and are the so-called contention access<br />

slots. Any device wishing to communicate during the contention access period (CAP) between two beacons<br />

has to compete with other devices using a slotted CSMA/CA mechanism. All transactions have to<br />

be completed by the time of the next network beacon. The first nine slots shall always be CAP slots, which<br />

can be used by any device, while the following optional up to seven slots may be allocated by the coordinator<br />

for individual devices upon a request. Figure 50.5 shows the concept of the superframe structure.<br />

With the superframe order (SO) parameter, the superframe can be divided in an active and inactive<br />

phase. The active phase consists of 16 identical time slots as described above followed by the inactive<br />

phase where the PAN coordinator as, of course, also the other participants can enter a low power sleep<br />

mode to save batteries. This is an improvement compared to the unslotted mode; however, it comes with<br />

a higher synchronization effort. Also here, there are three basic <strong>communication</strong> scenarios:<br />

• Data are sent from participating nodes to the PAN coordinator. The participant tries to obtain a<br />

CAP slot with CSMA/CA if no GTS for it has been defined in the superframe structure. If a GTS<br />

has been reserved, it can send data immediately after synchronizing to its slot.<br />

• When a peer-to-peer <strong>communication</strong> is initiated, participants synchronize themselves before<br />

transmitting the data in one of the CAP slots.<br />

• If data are sent from the PAN coordinator to one participant, it shows this information in the following<br />

beacon. The participant listens periodically to the beacons and responds in the CAP slots<br />

to pick up the data.<br />

Contention<br />

access period<br />

(CAP)<br />

Optional<br />

guaranteed<br />

time slots (GTS)<br />

Beacon<br />

0<br />

1<br />

8 9 10 15<br />

Beacon<br />

Inactive<br />

Superframe duration<br />

FIGURE 50.5<br />

Superframe.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!