13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Automated Meter Read<strong>in</strong>g and SCADA Application 231IdleTokenWait<strong>in</strong>g for anwser(2) Response to rootResponse (1)(3) Token sentFig. 4. Poll<strong>in</strong>g scheme 2.Where– CT 1 - Collect Time for schedule 1.– N - Network nodes.– PTS - Poll<strong>in</strong>g Token Size.– AT S- Answer Token Size.Second collect<strong>in</strong>g algorithm is shown <strong>in</strong> figure 4. An application layer <strong>in</strong> allthe nodes receives the order. This node passes the token to one of its children,and waits for a response. When it is received, (figure 4(1)) the node sends datato the root (figure 4(2)), and it passes the collect order to the next child (figure4(3)). Only when there are no more children to be polled, will the node answerwith its own data. Only one token is be<strong>in</strong>g passed between parent and children, sono path header <strong>in</strong>formation is necessary, and the answer token is simultaneouslyflow<strong>in</strong>g to the root. To prevent a lost token, a timeout period guarantees thetoken passes to the next child.Us<strong>in</strong>g the previous scenario, we can compute an approximate collect<strong>in</strong>g timevalue for that schedule. Neglect<strong>in</strong>g <strong>in</strong>itial transmissions and second order effects,the majority of transmissions are caused <strong>by</strong> answer token pass<strong>in</strong>g. Poll<strong>in</strong>g tokenpass<strong>in</strong>g occurs simultaneously and so does not have any significant effect. In thisway:CharSizeCT 2 = N · ATS · NT ·(8)BaudRateThe ratio between CT 2 and CT 1 :CT 2CT 1=N · ATS · NTN · PTS · NT + N · ATS · NT = 11+ PTSAT SUsual PTS and AT S values allow a relative decrement of about 70 per cent.A greater reduction can be reached <strong>by</strong> us<strong>in</strong>g multiple tokens. If collisions or(9)

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

Saved successfully!

Ooh no, something went wrong!