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.

34-10 Industrial Communication Systems<br />

Start of aperiodic<br />

window<br />

Requests in the<br />

urgent queue?<br />

No<br />

Aperiodic ongoing<br />

queue empty?<br />

Yes<br />

Yes<br />

No<br />

Time left to process<br />

buffer exchange?<br />

Yes<br />

ID_DAT(Aperiodic)<br />

RP_DAT(Aperiodic)<br />

No<br />

Time left to process<br />

buffer exchange?<br />

Yes<br />

ID_RQ<br />

RP_RQ<br />

No<br />

No<br />

Time left to process<br />

padding frame?<br />

PAD<br />

Yes<br />

End of aperiodic<br />

window<br />

FIGURE 34.8<br />

Sequence of transactions during the aperiodic window.<br />

3. Finally, the BA processes requests for aperiodic transfers that are stored in its ongoing aperiodic<br />

queue. For each transfer, the BA uses the same mechanism as the used for the periodic buffer<br />

transfers (ID _DAT followed by RP _DAT).<br />

It is important to note that a station can only request aperiodic transfers using responses to periodic<br />

variables that it produces and that are configured in the BAT. For the sake of simplicity, in<br />

the following sections we consider that all aperiodic requests concern the use of the AL service<br />

L_FREE_UPDATE.req(ID_*,Urgent), thus, only the urgent queues (both at the requesting station and<br />

at the BA) are considered. Finally, it is important to stress that the urgent queue in the BA is only processed<br />

if, and only if, the BA’s ongoing aperiodic queue is empty, as detailed in Figure 34.8. Also, it is important to<br />

note that at the end of a microcycle, a transaction is processed if, and only if, there is still time to complete it.<br />

34.5.5 Setting the WorldFIP BAT: Rate Monotonic Approach<br />

34.5.5.1 Model for the Periodic Buffer Transfers<br />

Assume a system with np periodic variables (Vp i , i = 1, …, np). Each periodic variable is characterized<br />

as<br />

Vp<br />

= ( Tp , Cp )<br />

(34.2)<br />

i i i<br />

where<br />

Tp i corresponds to the periodicity of Vp i (assume a multiple of 1.ms)<br />

Cp i is the length of the transaction corresponding the buffer transfer of Vp i (as given by<br />

Equation 34.1)<br />

34.5.5.2 Building the WorldFIP BAT (RM Approach)<br />

For the periodic traffic, end-to-end <strong>communication</strong> deadlines can be guaranteed by an a priori test since<br />

the BAT implements a static schedule of the periodic variables. In this section, we provide tools and<br />

analysis for setting the WorldFIP BAT according to a rate monotonic (RM) approach [4].<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!