23.03.2017 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24-6 Industrial Communication Systems<br />

TI (terminal 1)<br />

TI (terminal 2)<br />

TI (terminal 3)<br />

M1<br />

M2<br />

M3<br />

Free<br />

space<br />

M1<br />

M2<br />

M3<br />

TG 2 TG 3<br />

SG<br />

TG 1<br />

TG 2 TG 3<br />

Basic protocol : periodic mode (when TI is sufficiently large)<br />

TI (terminal 2)<br />

TI (terminal 1)<br />

TI (terminal 3)<br />

M2<br />

M1<br />

M3<br />

M4<br />

M2<br />

M1<br />

SG<br />

TG 2 TG 1 TG 3<br />

TG 4<br />

SG<br />

TG 2<br />

TG 1<br />

Basic protocol : aperiodic mode (when TI is too small)<br />

FIGURE 24.4<br />

ARINC 629 basic protocol.<br />

transmissions of each terminal. Finally, the synchronization gap (SG) is a common quiet time, longer<br />

than any individual TG, which is used to synchronize all the terminals at the beginning of a new cycle.<br />

These three timers are used at each terminal in the following manner:<br />

• The TI timer starts immediately every time the terminal begins transmitting.<br />

• The SG timer starts immediately every time the bus is sensed quiet. This timer may be reset before<br />

it has elapsed if any activity is detected on the bus. This timer does not affect periodic mode but in<br />

aperiodic mode, after it has elapsed we know that all the terminals have had transmit access to the<br />

bus (as SG timer is greater than each TGi timer) and so a new cycle can begin.<br />

• A TGi timer will start after SG has elapsed. It also starts immediately every time the bus is sensed<br />

quiet. This timer may also be reset before it has elapsed if any bus activity is detected.<br />

If all three timers have elapsed, the local terminal begins transmitting. As all TGi are different, only<br />

one terminal will be allowed to transmit after any quiet time. In aperiodic mode, the terminals are<br />

scheduled in ascending order of their TGs.<br />

The assignment of timer values is done on a per-system basis and must address a trade-off between<br />

bus cycle time (all terminals transmit exactly once within a cycle) and terminal transmission frequency<br />

(all terminals must be allowed to transmit at a frequency suitable for data update rate requirements).<br />

24.5.2 Combined Protocol<br />

The CP has been proposed for combining periodic and aperiodic data transmission. As shown in Figure 24.5,<br />

three levels of transmission are handled: level one for periodic transmissions, level two for shorter (and higher<br />

priority) aperiodic transmissions, and level three for longer (and lower priority) aperiodic transmissions.<br />

As with BP, each terminal has a unique preassigned TG. The transmit interval (TI) is only applicable during<br />

the first periodic transmission in each cycle; for all other terminals, a concatenation event (CE) forces<br />

all unelapsed TI timers to be canceled. This has the effect of compressing periodic transmissions at the start<br />

of each cycle (separated only by TG delays). Two types of SGs are defined: the periodic synchronization gap<br />

(PSG), which is used for cycle level synchronization; and the aperiodic synchronization gap (ASG), which is<br />

needed to handle transition in a cycle between levels 1 and (and between levels 2 and 3). In order to guarantee<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!