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.

Embedded Networks in Civilian Aircraft Avionics Systems 24-11<br />

Credit<br />

1 + Jit/BAG<br />

1<br />

BAG<br />

BAG<br />

BAG<br />

BAG<br />

BAG<br />

BAG<br />

BAG<br />

t<br />

FIGURE 24.9<br />

AFDX VLs shaping and policing.<br />

100.Mbps capacity. Moreover, the network integrator is responsible for VL placement: A multipath<br />

VL (a tree originating from the emitter) has to be statically allocated on the network’s physical topology<br />

and the path can be chosen from among several possibilities.<br />

One must note that guaranteeing bandwidth on the network requires that all VLs remain compliant<br />

with their specified BAG and S max parameters; otherwise, the sum of some VL bandwidths could possibly<br />

exceed the 100.Mbps capacity. For this reason, every VL is shaped inside the emitter end system, and<br />

all incoming VLs are also controlled by policers at the switch level; frames exceeding the VL’s contract<br />

are deleted by the switches (leaky bucket algorithm) as represented in Figure 24.9.<br />

24.6.4.2 VL Latency Guarantee<br />

The <strong>communication</strong> latency of an ARINC 429 data bus is very easy to measure. It is simply the time<br />

required to emit data plus a negligible propagation time; it is absolutely deterministic.<br />

The picture is completely different for a VL on an AFDX network. Obviously, the latency of a frame<br />

cannot be predicted as it depends on whether or not the frame will be delayed by other frames sharing a<br />

section of its path. Thus, a strong form of determinism cannot be obtained; a weaker form of determinism<br />

is proposed, it is based on VL end-to-end latency upper bounding methods. VLs competing for a<br />

given switch output port generate contentions in the output port queue and can be delayed depending<br />

on the number of confluent VLs and their characteristics (maximum frame size for example).<br />

Of course, end-to-end latencies have to be compared to the real-time constraints of avionics <strong>communication</strong>s,<br />

but in reality, these constraints are very different from one avionics function to another. Thus,<br />

in the early prototype specifications, a maximum latency of 1.ms per switch crossing was integrated into<br />

the switch specification. When four or five switches are crossed, the maximum obtained latency is comparable<br />

with the highest “freshness” required for some critical data. At 100.Mbps, 1.ms of continuous<br />

emission of minimum-sized frames represents nearly 150 frames exiting from an output port’s queue.<br />

Of course, the physical size of the switches’ queues is the actual constraint: overflowing this queue<br />

capacity necessarily implies lost frames.<br />

24.6.4.3 VL Jitter Issues<br />

Jitter is the third parameter of a VL, after the BAG and S max . As the AFDX definition in the ARINC<br />

664 standard states, jitter is considered null at the output of the end system shapers applied to each<br />

VL. Since the VLs are multiplexed in the end system just after having been shaped, as represented<br />

in Figure 24.10, jitter is non-null at the output of the multiplexer and is limited by two bounds: the<br />

first one comes from the calculation of the multiplexer’s latency and the second is an absolute value<br />

of 500.μs.<br />

This value has been chosen as half the minimal BAG in order to avoid burst occurrences where a<br />

frame pertaining to some VLs would be overtaken by a following frame of the same VL. Of course,<br />

avoiding this problem in end <strong>systems</strong> does not prevent it from occurring later down the network.<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!