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.

61-10 Industrial Communication Systems<br />

Congestion window size<br />

26<br />

24<br />

22<br />

20<br />

18<br />

16<br />

14<br />

12<br />

10<br />

08<br />

06<br />

04<br />

02<br />

Threshold<br />

Time-out<br />

New threshold<br />

(a)<br />

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br />

Number of transmitted segments<br />

Sender<br />

Receiver<br />

Segment 1<br />

seq:2001,5000 bytes<br />

5000<br />

ack:7001 win:0<br />

ack:7001 win:1000<br />

Buffer<br />

1000 4000<br />

Buffer<br />

Segment 2<br />

seq:7001,1000 bytes<br />

Time<br />

(b)<br />

Time<br />

FIGURE 61.8<br />

Congestion Control Window Size. Sender side (a) (upper/left), receiver side control (b) (lower/right).<br />

61.2.7 Error Control<br />

TCP as a reliable protocol that uses unreliable underlying IP must implement error control. This error<br />

control includes detecting lost segments, out-of-order segments, corrupted segments, and duplicated<br />

segments. After detection, the error must be corrected. The error detection is implemented by using<br />

three features: segment checksum, segment acknowledgment, and time-out. Segments with incorrect<br />

checksum (Figure 61.9a) are discarded. Since TCP uses only positive acknowledgment, no negative<br />

acknowledgment can be sent, and both the corrupted segment error and the lost segment (Figure 61.9b)<br />

error are detected by time-out for receiving an acknowledgment by the sender.<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!