Figure 6.1 Modes of transmission: (a) baseband transmission; (b) modulated transmission.

Size: px
Start display at page:

Download "Figure 6.1 Modes of transmission: (a) baseband transmission; (b) modulated transmission."

Transcription

1 Figure 6. Modes of transmission: (a) baseband transmission; (b) modulated transmission. (a) Binary data +V Time V Transmitter line interface Receiver line interface Signal power f Frequency Bandwidth of transmission medium, f, determines maximum bit rate that can be used (b) Binary data Amplitude modulated signal Time Transmitter (modulator) Receiver (demodulator) Signal power f f c f 2 Frequency f c = carrier signal (single-frequency audio tone) Bandwidth (f 2 f ) determines maximum bit rate that can be used

2 Figure 6.2 Effect of attenuation, distortion, and noise on transmitted signal. Transmitted data +V Transmitted signal Time, t V Typical received signal with noise t Sampling instants t Received data Bit error bit cell period

3 Figure 6.3 Copper wire transmission media: (a) two-wire and multiwire open lines; (b) unshielded twisted pair; (c) shielded twisted pair; (d) coaxial cable. (a) Terminating connectors Single pair Flat ribbon (b) each wire insulated Single pair Insulating outer cover Multicore (c) Protective screen (shield) Insulating outer cover (d) Insulating outer cover Center conductor Dielectric insulating material Braided outer conductor

4 Figure 6.4 Optical fiber transmission media: (a) cable structures; (b) transmission modes. (a) Optical cladding Plastic coating Optical core Single core Multicore (b) Electrical input signal Electrical output signal Optical transmitter (i) Multimode stepped index Optical receiver (ii) Multimode graded index (iii) Monomode

5 Figure 6.5 Satellite systems: (a) broadcast television; (b) data communications. (a) Satellite Antenna (b) Up link Down link Earth ground stations VSATs VSATs Earth Hub station VSAT = very small aperture terminal

6 Figure 6.6 Ground-based radio transmission: (a) single cell; (b) multiple cells. (a) Radio field of coverage of base station BS Fixed network/computer BS = base station = user computer/terminal (b) F 2 F 3 F F 2 BS BS BS BS F 3 F F 2 F 3 F BS BS BS BS BS F 2 F 3 F F 2 BS BS BS BS F, F 2, F 3 = frequencies used in cell

7 Figure 6.7 Sources of signal impairment. Transmitted data +V Transmitted signal Time V Attenuation Limited bandwidth Attenuation and distortion effects Delay distortion Line noise Received signal Combined effect Sampling signal Received data Bit error

8 Figure 6.8 Effect of limited bandwidth: (a) alternative binary signals; (b) frequency components of a periodic binary sequence; (c) examples of received signals; (d) bandwidth representations. (a) Signal period, T Binary signal Bit period, T b v(t) +V Unipolar signal T 3T/4 T/2 T/4 T/4 T/2 3T/4 T Time, t +V Bipolar signal T 3T/4 T/2 T/4 T/4 T/2 3T/4 T V t (b) +V Transmitted signal, v(t) T/4 3T/4 5T/4 7T/4 t V +V' ω t Frequency components 3ω +5ω V' +V'/3 V'/3 +V'/5 V'/5 t t (c) ω 3ω t Example received signals ω 3ω + 5ω t (d) Signal power Bandwidth alternatives f 3f 5f Frequency

9 Figure 6.9 Examples of (binary) eye diagrams resulting from intersymbol interference: A, ideal; B, typical. Some example signal transitions A B Sampling pulses

10 Figure 6. Adaptive NEXT cancelers: (a) circuit schematic; (b) example waveforms. (a) DTE Transmit circuit (A) Transmitted signal Receive circuit (E) + Adaptive NEXT canceler (D) (C) Near-end crosstalk (NEXT) (B) Received signal (b) Transmitted signal, A Time, t Without crosstalk, B t Received signal With crosstalk, C t Adaptively attenuated transmitted signal, D t Received signal, E t

11 Figure 6. Asynchronous transmission: (a) principle of operation; (b) timing principles. (a) Transmitter Serial-out TxD RxD Serial-in Receiver PISO SIPO msb lsb lsb msb Parallelin Parallelout PISO = TxD = l/msb = parallel in, serial out transmit data out least/most significant bit SIPO = RxD = serial in, parallel out receive data in (b) TxC Time TxD lsb msb φ φ φ φ φ φ φ φ Mark(ing) Space Start bit 7/8-bit character/byte Stop bit(s) RxD lsb msb φ φ φ φ φ φ φ φ Mark(ing) Space RxC Time Actual edge within one clock cycle φ = or being transmitted

12 Figure 6.2 Examples of three different receiver clock rate ratios: (a) ; (b) 4; (c) 6. (a) Start bit st data bit 2nd data bit RxD Time RxC ( ) Shift (sampling) pulse Bit rate counter preset to Actual bit cell centers (b) RxD Time RxC ( 4) (c) Shift (sampling) pulse 2 RxC periods Bit rate counter preset to 2 RxD Bit rate counter preset to 4 4 RxC periods 4 RxC periods Actual bit cell centers Time RxC ( 4) Shift (sampling) pulse 8 RxC 6 RxC periods 6 RxC periods periods Bit rate counter preset to 8 Actual bit cell centers Bit rate counter preset to 6

13 Figure 6.3 Frame synchronization with different frame contents: (a) printable characters; (b) string of bytes. (a) Start bit Stop bit(s) STX "F" "R" "L" ETX Marking Frame contents (printable characters) (b) DLE STX DLE ETX Marking Inserted DLE Frame contents (byte string)

14 Figure 6.4 Alternative bit/clock synchronization methods with synchronuous transmission: (a) clock encoding; (b) digital phaselock-loop (DPLL). (a) Transmitter TxD RxD Receiver (b) Transmitter TxD RxD Receiver

15 Figure 6.5 Synchronous transmission clock encoding methods: (a) Manchester; (b) differential Manchester. (a) Bitstream TxC Phase (Manchester) encoded signal, TxD/RxD Extracted and delayed clock, RxC Received data + (b) Bitstream TxC Differential Manchesterencoded signal, TxD + + Either Or Extracted clock, RxC Decoded (received) data

16 Figure 6.6 DPLL operation: (a) bit encoding; (b) circuit schematic; (c) in phase; (d) clock adjustment rules. (a) Bitstream Non-return-to-zero (NRZ) signal NRZ inverted (NRZI) signal (b) Received bitstream, RxD Either Or RxC (c) Actual transitions Received bitstream, RxD 32 CLK Generated sampling (clock) pulses, RxC 32 clocks 32 clocks (d) Assumed transitions Actual transition possibilities 32 CLK Generated sampling (clock) pulses, RxC 32 clocks 3 clocks Segment/phase Clock adjustment 3 clocks 32 clocks 33 clocks 34 clocks A B C D E ±

17 Figure 6.7 Character-oriented synchronous transmission: (a) frame format; (b) character synchronization; (c) data transparency (character stuffing). (a) Direction of transmission Time SYN SYN STX ETX Character synchronization Start-of-frame character Frame contents (printable characters) End-of-frame character (b) Direction of transmission SYN SYN SYN Time Receiver enters hunt mode STX Frame contents Receiver detects SYN character Receiver in character synchronization (c) Direction of transmission Additional DLE inserted Time SYN SYN DLE STX DLE DLE DLE ETX Start-of-frame sequence Frame contents (binary data) End-of-frame sequence

18 Figure 6.8 Bit-oriented synchronous transmission: (a) framing structure; (b) zero bit insertion circuit location; (c) example transmitted frame contents. (a) Direction of transmission Line idle Opening flag Frame contents Closing flag (b) Enable/disable Transmitter Receiver Enable/disable TxC RxC (c) Direction of transmission Opening flag Additional zero bits inserted Frame contents Closing flag

19 Figure 6.9 Parity bit method: (a) position in character; (b) XOR gate truth table and symbol; (c) parity bit generation circuit; (d) two examples. (a) Transmitted character/byte Time lsb msb Stop bit(s) Parity bit Start bit (b) Bit Bit 2 XOR Bit Bit 2 + Output (c) B 6 B 5 B 4 B 3 B 2 B B Inverter Even parity bit Odd parity bit (d) (Even parity) (Odd parity)

20 Figure 6.2 Block sum check method: (a) row and column parity bits; (b) s complement sum. (a) P R B 6 B 5 B 4 B 3 B 2 B B = STX Transverse (row) parity bits (odd) Frame contents Direction of transmission = ETX = BCC Longitudinal (column) parity bits (even) P R = example of undetected error combination BCC = block check character = row parity bit (b) At sending side: At receiving side: [] Invert Example contents = s-complement sum [] Contents BCC = Zero in s-complement = BCC

21 Figure 6.2 Error burst examples. Direction of transmission Transmitted message = Received message = Minimum of 6 error-free bits 6-bit error burst Minimum of 4 error-free bits 4-bit error burst

22 Figure 6.22 CRC error detection example: (a) FCS generation; (b) two error detection examples. (a) Frame contents: With appended zeros: Generator polynomial: Transmitted frame: = Quotient (ignored) = Remainder (FCS/CRC) (b) Remainder = : no errors Remainder : error detected Error burst

23 Figure 6.23 Idle RQ error control scheme: (a) error free; (b) corrupted I-frame; (c) corrupted ACK-frame. (a) Timer started Timer stopped Timer started Timer stopped Primary, P I(N + ) ACK(N) I(N + ) ACK(N + ) Time Secondary, S I(N + ) (b) Timer started Timer restarted Timer stopped Primary, P I(N + ) NAK(N) ACK(N) Time Secondary, S = Frame corrupted (c) Timer started Timer expires/restarted Timer stopped Primary, P I(N + ) ACK(N) ACK(N) Time Secondary, S Duplicate detected

24 Figure 6.24 Idle RQ link utilization. Timer started Timer stopped Timer started Timer stopped Primary, P I(N + ) I(N + ) ACK(N) ACK (N + ) Time Secondary, S I(N + ) T p T ix T ip T p T ax T ap T p T ix T ip T p T ax T ap = Frame propagation delay (P S) = Frame transmission time (P S) = Frame processing time in S = ACK propagation delay (S P) = ACK transmission time (S P) = ACK processing time in P

25 Figure 6.25 Effect of propagation delay as a function of data transmission rate; parts correspond to Example 6.8. (a) km, T p = 5 µs (i) kbps (ii) Mbps (b) 2 km, T p = ms (i) kbps (ii) Mbps (c) 5 km, T p = 67 ms (i) kbps (ii) 25 bits Mbps bits

26 Figure 6.26 Continuous RQ frame sequence without transmission errors. N N + N + 2 N + 3 N + 4 N + 5 V(S) N N + N N + 2 N + N N + 3 N + 2 N + N + 4 N + 3 N + 2 N + 4 N + 3 Contents of link retransmission list Primary, P I(N + ) I(N + 2) I(N + 3) I(N + 4) I(N + 2) I(N + 3) I(N + 4) I(N + ) ACK(N) ACK(N + ) ACK(N + 2) ACK(N + 3) Time Secondary, S I(N + ) I(N + 2) I(N + 3) I(N + 4) N N + N + 2 N + 3 N + 4 Contents of link receive list V(R) N N + N + 2 N + 3 N + 4 V(S) V(R) = = send sequence variable receive sequence variable

27 Figure 6.27 Selective repeat: (a) effect of corrupted I-frame; (b) effect of corrupted ACK-frame. P enters retransmission state P leaves retransmission state (a) N N + N + 2 N + 3 N + 4 N + 5 N + 5 N + 5 N + 5 V(S) N N + N N + 2 N + N N + 3 N + 2 N + N + 4 N + 3 N + 2 N + N + N + 4 N + 3 N + 2 N + N + 4 N + 3 N + 2 N + N + 4 N + 3 N + 2 Contents of link retransmission list Primary, P I(N + ) I(N + 2) I(N + 3) I(N + 4) I(N + ) I(N + 2) I(N + ) I(N + 3) I(N + 4) I(N + ) ACK(N) NAK(N + ) ACK(N + ) Time Secondary, S I(N + 2) I(N + 3) I(N + 4) I(N + ) N N + 2 N + 2 N + 2 N + 3 N + 3 N + 4 N + 2 N + 3 N + 4 N + Contents of link receive list N N N + N + N + N + N + N + 5 N + 5 V(R) S enters retransmission state S leaves retransmission state (b) P enters retransmission state P leaves retransmission state N N + N + 2 N + 3 N + 4 N + 4 N + 4 N + 4 V(S) N + 3 N N + N N + 2 N + N N + 2 N + N N N + 3 N + 2 N N + 3 N Contents of link retransmission list Primary, P I(N + ) I(N + 2) I(N + 3) I(N + ) ACK(N) I(N + 2) ACK(N + ) I(N + 3) ACK(N + 2) ACK(N + 3) ACK(N) Time Secondary, S I(N + ) I(N + 2) I(N + 3) N N + N + 2 N + 3 Contents of link receive list corrupted frame N N + N + 2 N + 3 N + 4 N + 4 V(R)

28 Figure 6.28 Go-back-N retransmission strategy: (a) corrupted I- frame; (b) corrupted ACK-frame. (a) P enters retransmission state N N + N + 2 N + 3 N + 4 N + 5 P leaves retransmission state V(S) N N + N N + 2 N + N N + 3 N + 2 N + N + 4 N + 3 N + 2 N + N + 4 N + 3 N + 2 N + Contents of link retransmission list Primary, P I(N + ) I(N + 2) I(N + 3) I(N + 4) I(N + ) I(N + 2) I(N + 4) I(N + 2) I(N + ) I(N + 3) I(N + 4) I(N + ) ACK(N) NAK(N + ) ACK(N + ) Time Secondary, S I(N + 2) I(N + 3) I(N + 4) I(N + ) N N + 2 N + 3 N + 4 N + Contents of link receive list N N + N + N + N + N + N + 2 V(R) Frames discarded (b) N N + N + 2 N + 3 N + 4 N + 5 V(S) N + 4 N N + N N + 2 N + N N + 3 N + 2 N + N N + 3 N + 2 N + N N + 4 N + 3 Contents of link retransmission list Primary, P I(N + ) I(N + 2) I(N + 3) I(N + 4) I(N + ) ACK(N) I(N + 2) ACK(N + ) I(N + 3) ACK(N + 2) I(N + 4) ACK(N + 3) Time Secondary, S I(N + ) I(N + 2) I(N + 3) I(N + 4) N N + N + 2 N + 3 N + 4 Contents of link receive list corrupted frame N N + N + 2 N + 3 N + 4 N + 5 V(R)

29 Figure 6.29 Flow control principle: (a) sliding window example; (b) send and receive window limits. (a) Frames already acknowledged Frames waiting to be acknowledged Flow stopped Frames waiting to be sent Order of transmission Lower window edge (LWE) Upper window edge (UWE) Send window, K = 3 (b) Protocol Send window Receive window Idle RQ Selective repeat Go-back-N K K K

30 Figure 6.3 Sequence numbers: (a) maximum number for each protocol; (b) example assuming eight sequence numbers. (a) Protocol Idle RQ Selective repeat Go-back-N Maximum number of frame identifiers 2 2K + K + (b) Lower window edge (LWE) Sequence numbers Go-back-N, K = 7 Sequence numbers incremented modulo 8 Upper window edge (UWE)

31 Figure 6.3 Example layered architecture showing the layer and sublayer interfaces associated with the idle RQ protocol.

32 Figure 6.32 Abbreviated names used in the specification of the idle RQ primary. Incoming events Name Interface Meaning LDATAreq LS_user L_DATA.request service primitive received ACKRCVD MAC_provider ACK-frame received from S TEXP TIM_provider Wait-ACK timer expires NAKRCVD MAC_provider NAK-frame received from S States Name IDLE WTACK Meaning Idle, no message transfer in progress Waiting an acknowledgment Outgoing events Name Interface Meaning TxFrame MAC_user Format and transmit an I-frame RetxFrame MAC_user Retransmit I-frame waiting acknowledgment LERRORind LS_provider Error message: frame discarded for reason specified Predicates Name P P Meaning N(S) in waiting I-frame = N(R) in ACK-frame CRC in ACK/NAK-frame correct Specific actions State variables [] = Start_timer using TIM_user queue Vs = Send sequence variable [2] = Increment Vs PresentState = Present state of protocol entity [3] = Stop_timer using TIM_user queue ErrorCount = Number of erroneous frames [4] = Increment RetxCount received [5] = Increment ErrorCount RetxCount = Number of retransmissions for [6] = Reset RetxCount to zero this frame

33 Figure 6.33 Specification of idle RQ primary in the form of: (a) a state transition diagram; (b) an extended event state table; (c) pseudocode. (a) ACKRCVD/NAKRCVD; [5] ACKRCVD; [3] [6] LDATAreq; TxFrame, [] [2] NAKRCVD; RetxFrame, [] [4] TEXP; RetxFrame, [] [4] (b) Incoming event Present state IDLE LDATAreq ACKRCVD TEXP NAKRCVD WTACK = [5], IDLE (error condition) = TxFrame, [] [2], WTACK 2 = P and P: [3] [6], IDLE = P and NOT P: RetxFrame, [] [4], WTACK = NOT P and NOT P: [5], IDLE 3 = RetxFrame, [] [4], WTACK 4 = NoAction, WTACK

34 Figure 6.33 Continued. (b) Incoming event Present state IDLE WTACK LDATAreq ACKRCVD TEXP NAKRCVD = [5], IDLE (error condition) = TxFrame, [] [2], WTACK 2 = P and P: [3] [6], IDLE = P and NOT P: RetxFrame, [] [4], WTACK = NOT P and NOT P: [5], IDLE 3 = RetxFrame, [] [4], WTACK 4 = NoAction, WTACK (c) program IdleRQ_Primary; const MaxErrCount; MaxRetxCount; type Events = (LDATAreq, ACKRCVD, TEXP, NAKRCVD); States = (IDLE, WTACK); var EventStateTable = array [Events, States] of..4; PresentState : States; Vs, ErrorCount, RetxCount : integer; EventType : Events; procedure Initialize; Initializes state variables and contents of EventStateTable procedure TxFrame; procedure RetxFrame; Outgoing event procedures } procedure LERRORind; procedure Start_timer; } Specific action procedures procedure Stop_timer; function P : boolean; } Predicate functions function P : boolean; begin end. Initialize; repeat Wait receipt of an incoming event EventType := type of event case EventStateTable [EventType, PresentState] of : beginerrorcount := ErrorCount + ; PresentState = IDLE; if(errorcount = MaxErrCount) thenlerrorind end; : begintxframe; Start_timer; Vs := Vs + ; PresentState := WTACK end; 2: beginif(p and P) then begin Stop_timer; RetxCount := ; PresentState := IDLE end; else if (P and NOTP) then begin RetxFrame; Start_timer; RetxCount := RetxCount + ; PresentState := WTACK end; else if (NOTP and NOTP) then begin PresentState := IDLE; ErrorCount := ErrorCount + if (ErrorCount = MaxErrorCount) then begin LERRORind; Initialize; end; end; 3: begin RetxFrame; Start_timer; RetxCount := RetxCount + ; PresentState := WTACK; if (RetxCount = MaxRetxCount) then begin LERRORind; Initialize; end; end; 4: begin NoAction end; until Forever;

35 Figure 6.34 Specification of idle RQ secondary: (a) abbreviated names; (b) state transition diagram; (c) extended event state table; (d) pseudocode. (a) Incoming events Name Interface Meaning IRCVD MAC_provider I-frame received from P States Name WTIFM Meaning Waiting a new I-frame from P Outgoing events Name Interface Meaning LDATAind LS_provider Pass contents of received I-frame to user AP with an L_DATA.indication primitive TxACK(X) MAC_user Format and transmit an ACK-frame with N(R) = X TxNAK(X) MAC_user Format and transmit a NAK-frame with N(R) = X LERRORind LS_provider Issue error message for reason specified Predicates Name Meaning P N(S) in I-frame = Vr P CRC in I-frame correct P2 N(S) in I-frame = Vr Specific actions State variables [] = Increment Vr Vr = Receive sequence variable [2] = Increment ErrorCount ErrorCount = Number of erroneous frames received (b) IRCVD ; TxNAK IRCVD + ; LDATAind, TxACK, [] [2] (c) Incoming event IRCVD Present state WTIFM = NOT P: TxNAK, [2] = P and P2: TxACK = P and P: LDATAind, TxACK, []

36 Figure 6.34 Continued. (d) program IdleRQ_Secondary; const. MaxErrorCount; type Events = IRCVD; States = WTIFM; var EventStateTable = array [Events, States] of ; EventType : Events; PresentState : States; Vr, X, ErrorCount : integer; procedure Initialize; procedure LDATAind; procedure TxACK(X); procedure TxNAK(X); procedure LERRORind; function P : boolean; } function P : boolean; Predicate functions function P2 : boolean; } Initializes state variables and contents of EventStateTable } Outgoing event procedures begin end. Initialize; repeat Wait receipt of incoming event; EventType := type of event; case EventStateTable[EventType, PresentState] of : X := N(S) from I-frame; if (NOTP) then TxNAK(X); else if(p and P2) then TxACK(X); else if(p and P) then begin LDATAind; TxACK(X); Vr := Vr + ; end; else beginerrorcount := ErrorCount + ; if (ErrorCount = MaxErrorCount) then begin LERRORind; Initialize; end; end; until Forever;

37 Figure 6.35 Time sequence diagram showing the link layer service primitives: (a) connection-oriented (reliable) mode; (b) connectionless (best-effort) mode. (a) Source Destination Source LS_user Source link layer Destination link layer Correspondent LS_user L_CONNECT.request L_CONNECT.confirm L_DATA.request V(S) := etc. SETUPframe UAframe I-frame V(R) := etc. L_CONNECT.indication ACKframe L_DATA.indication L_DISCONNECT.request L_DISCONNECT.confirm DISCframe UAframe L_DISCONNECT.indication Time (b) L_UNITDATA.request I-frame L_UNITDATA.indication Frames Event control blocks (ECBs)

38 Figure 6.36 HDLC frame format and types: (a) standard/extended format; (b) standard control field bit definitions; (c) extended control field bit definitions. Note: With the indicated direction of transmission, all control field types are transmitted bit 8/6 first.

39 Figure 6.37 HDLC normal response mode: example frame sequence diagram with single primary and secondary (i.e. no piggyback acknowledgments). Contents of retransmission list 2 Sender (P) N(R) = I() acknowledged 2 3 Retransmit from I() V(S) V(R) I(, /P = ) RR(/F = ) I(, ) I(2, /P = ) REJ (/F = ) I(, ) V(S) V(R) N(S) = V(R) frame accepted frame corrupted N(S) V(R) frame rejected Receiver (S) 2 3 N(R) = 2 I() acknowledged N(R) = 3 I(2) acknowledged 3 I(2, /P = ) RR(2/F = ) RR(3/F = ) Time N(S) = V(R) frame accepted 2 N(S) = V(R) frame accepted 3 3

40 Figure 6.38 HDLC asynchronous balanced mode: piggyback acknowledgment procedure. Combined P/S Combined P/S Contents of retransmission list V(S) V(R) V(S) V(R) Contents of retransmission list N(S) = V(R) frame accepted 2 4 N(S) = V(R) frame accepted 2 5 I(, 3) I(, 3) I(3, ) I(4, ) I(5, ) N(S) = V(R) frame accepted N(S) = V(R) frame accepted N(S) = V(R) frame accepted N(R) = I() acknowledged N(S) = V(R) frame accepted N(R) = 2 I() acknowledged 6 I(3, 6) I(4, 6) RR() I(2, 5) I(5, 7) I(6, ) I(7, 2) 7 N(S) = V(R) frame accepted N(S) = V(R) frame accepted N(R) = 5 I(3) I(4) 3 acknowledged 4 5 N(S) = V(R) frame accepted N(R) = 6 I(5) acknowledged N(S) = V(R) frame accepted RR(5) N(S) = V(R) frame accepted N(R) = 7 I(6) acknowledged 7 5 N(R) = 5 I(2, 3, 4) acknowledged 6 RR(6) 6 N(R) = I(7) acknowledged 6 N(R) = 6 I(5) acknowledged 6 Time

41 Figure 6.39 HDLC window flow control procedure. Contents of retransmission list Combined P/S RetxCount V(S) V(R) K = 3 V(S) V(R) Combined P/S Contents of retransmission list RetxCount I(, ) I(, ) I(2, ) A 2 2 I(, ) 3 RR() RR() I(3, ) RR(3) 4 3 A A = window closed Time

42 Summary Figure 6.4 HDLC summary: (a) service primitives; (b) state transition diagram (ABM).

43 Figure 6.4 Summary of topics discussed relating to digital communications. Digital communication basics Digital transmission Transmission media Signal impairments Transmission control modes Asynchronous Synchronous Bit/clock synchronization Character/byte synchronization Block/frame synchronization Error detection methods Parity Block sum check Cyclic redundancy check Protocol basics Error control Flow control Link management Protocol specification methods HDLC

44 Example 6. A -bit block of data is to be transmitted between two computers. Determine the ratio of the propagation delay to the transmission delay, a, for the following types of data link: (i) m of twisted-pair wire and a transmission rate of kbps, (ii) km of coaxial cable and a transmission rate of Mbps, (iii) 5 km of free space (satellite link) and a transmission rate of Mbps. Assume that the velocity of propagation of an electrical signal within each type of cable is 2 8 ms, and that of free space 3 8 ms. Answer: S (i) T p = = = 5 7 s V 2 8 N T x = = =.s R 3 T p 5 7 a = = = 5 6 T x.

45 6. Continued S 3 (ii) T p = = = 5 5 s V 2 8 N T x = = = 3 s R 6 T p 5 5 a = = = 5 2 T x 3 S 5 7 (iii) T p = = =.67 s V 3 8 N T x = = = 4 s R 6 T p.67 a = = =.67 3 T x 4

46 Example 6.2 A transmission channel between two communicating DTEs is made up of three sections. The first introduces an attenuation of 6 db, the second an amplification of 2dB, and the third an attenuation of db. Assuming a mean transmitted power level of 4 mw, determine the mean output power level of the channel. Answer: Either: 4 For first section, 6 = log Hence P 2 =.475 mw P 2 P2 For second section, 2 = log Hence P 2 = 4.75 mw For third section, = log Hence P 2 =.475 mw P 2 That is, the mean output power level =.475mW Or: Overall attenuation of channel = (6 2) + = 6 db Hence 6 = log 4 P 2 and P 2 =.475 mw

47 Example 6.3 A binary signal of rate 5 bps is to be transmitted over a communications channel. Derive the minimum bandwidth required assuming (i) the fundamental frequency only, (ii) the fundamental and third harmonic, and (iii) the fundamental, third, and fifth harmonics are to be received. Answer: The worst-case sequence at 5 bps has a fundamental frequency component of 25 Hz. Hence the third harmonic is 75 Hz and the fifth harmonic 25 Hz. The bandwidth required in each case is as follows: (i) 25 Hz; (ii) 75 Hz; (iii) 25 Hz.

48 Example 6.4 Data is to be transmitted over the access line to a PSTN using a transmission scheme with eight levels per signaling element. If the bandwidth of the PSTN is 3 Hz, deduce the Nyquist maximum data transfer rate. Answer: C = 2W log 2 M = 2 3 log 2 8 = = 8 bps In practice the data transfer rate will be less than this because of other effects such as noise.

49 Example 6.5 Assuming that a circuit through a PSTN has a bandwidth of 3 Hz and a typical signal-to-noise power ratio of 2 db, determine the maximum theoretical information (data) rate that can be achieved. Answer: S SNR = log ( N) S Therefore: 2 = log ( ) Hence: S = N Now: S C = W log 2 ( + N) Therefore: C = 3 log 2 ( + ) = bps N

50 Example 6.6 A block of data is to be transmitted across a serial data link. If a clock of 9.2 khz is available at the receiver, deduce the suitable clock rate ratios and estimate the worst-case deviations from the nominal bit cell centers, expressed as a percentage of a bit period, for each of the following data transmission rates: (i) (ii) 2 bps 24 bps (iii) 96 bps Answer: It can readily be deduced from Figure 6.2 that the worst-case deviation from the nominal bit cell centers is approximately plus or minus one half of one cycle of the receiver clock. Hence: (i) (ii) At 2 bps, the maximum RxC ratio can be 6. The maximum deviation is thus ± 3.25%. At 24 bps, the maximum RxC ratio can be 8. The maximum deviation is thus ± 6.25%. (iii) At 96 bps, the maximum RxC ratio can be 2. The maximum deviation is thus ± 25%. Clearly, the last case is unacceptable. With a low-quality line, especially one with excessive delay distortion, even the second may be unreliable. It is for this reason that a 6 clock rate ratio is used whenever possible.

51 Example 6.7 A series of 8-bit message blocks (frames) is to be transmitted across a data link using a CRC for error detection. A generator polynomial of is to be used. Use an example to illustrate the following: (a) the FCS generation process, (b) the FCS checking process. Answer: Generation of the FCS for the message is shown in Figure 6.22(a). Firstly, four zeros are appended to the message, which is equivalent to multiplying the message by 2 4, since the FCS will be four bits. This is then divided (modulo 2) by the generator polynomial (binary number). The modulo-2 division operation is equivalent to performing the exclusive-or operation bit by bit in parallel as each bit in the dividend is processed. Also, with modulo-2 arithmetic, we can perform a division into each partial remainder, providing the two numbers are of the same length, that is, the most significant bits are both s. We do not consider the relative magnitude of both numbers. The resulting 4-bit remainder () is the FCS, which is then appended at the tail of the original message when it is transmitted. The quotient is not used. At the receiver, the complete received bit sequence is divided by the same generator polynomial as used at the transmitter. Two examples are shown in Figure 6.22(b). In the first, no errors are assumed to be present, so that the remainder is zero the quotient is again not used. In the second, however, an error burst of four bits at the tail of the transmitted bit sequence is assumed. Consequently, the resulting remainder is nonzero, indicating that a transmission error has occurred.

52 Example 6.8 A series of -bit frames is to be transmitted using an idle RQ protocol. Determine the link utilization for the following types of data link assuming a transmission bit rate of (a) kbps and (b) Mbps. Assume that the velocity of propagation of the first two links is 2 8 ms and that of the third link 3 8 ms. Also the bit error rate is negligible. (i) a twisted-pair cable km in length, (ii) a leased line 2 km in length, (iii) a satellite link of 5 km. Answer: The time taken to transmit a frame T ix is given by: Number of bits in frame, N T ix = Bit rate, R, in bps At kbps: T ix = = s 3 At Mbps: T ix = = 3 s 6 S T p = and U = V + 2a 3 (i) T p = 2 8 = 5 6 s 5 6 (a) a = = 5 6 and hence ( + 2a) and U = 5 6 (b) a = = 5 3 and hence ( + 2a) and U = (ii) T p = = 3 s (a) a = = 3 and hence ( + 2a) and U = 3 (b) a = = and hence ( + 2a) > and U = =

53 6.8 Continued 5 6 (iii)t p = =.67s (a) a = =.67 and hence ( + 2a) > and U = = (b) a = = 67 and hence ( + 2a) > and U = =

54 Example 6.9 Use the frame sequence diagram shown earlier in Figure 6.23 and the list of abbreviated names given in Figure 6.34(a) to specify the operation of the idle RQ secondary using (i) a state transition diagram, (ii) an extended event state table, (iii) pseudocode. Answer: The specification of the idle RQ secondary in each form is given in Figure 6.34(b), (c), and (d) respectively. Note that just two state variables are needed for the secondary: the receive sequence variable shown as V r in the specification which holds the sequence number of the last correctly received I-frame, and ErrorCount which keeps a record of the number of erroneous I-frames received. Again, if ErrorCount reaches a defined maximum limit an error message LERRORind is output to the network layer in an ECB.

Physical-Layer Services and Systems

Physical-Layer Services and Systems Physical-Layer Services and Systems Figure Transmission medium and physical layer Figure Classes of transmission media GUIDED MEDIA Guided media, which are those that provide a conduit from one device

More information

CSCI-1680 Physical Layer Rodrigo Fonseca

CSCI-1680 Physical Layer Rodrigo Fonseca CSCI-1680 Physical Layer Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Janno< Administrivia Signup for Snowcast milestone Make sure you signed up Make sure you are on

More information

Transmission Principles

Transmission Principles Transmission Principles Serialization, Bit synchronization, Framing, Error Checking Physical Aspects of Transmission, Modem Agenda Introduction Bit synchronization asynchronous synchronous Frame synchronization

More information

Representation of Information. Transmission Principles. Agenda. Transmission of Information

Representation of Information. Transmission Principles. Agenda. Transmission of Information Representation of Information information is stored, processed and exchanged by computer systems in binary form bit (binary digit) values or Transmission Principles Serialization, Bit synchronization,

More information

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions EECS 122: Introduction to Computer Networks Encoding and Framing Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776

More information

Chapter 2. Physical Layer

Chapter 2. Physical Layer Chapter 2 Physical Layer Lecture 1 Outline 2.1 Analog and Digital 2.2 Transmission Media 2.3 Digital Modulation and Multiplexing 2.4 Transmission Impairment 2.5 Data-rate Limits 2.6 Performance Physical

More information

Datacommunication I. Layers of the OSI-model. Lecture 3. signal encoding, error detection/correction

Datacommunication I. Layers of the OSI-model. Lecture 3. signal encoding, error detection/correction Datacommunication I Lecture 3 signal encoding, error detection/correction Layers of the OSI-model repetition 1 The OSI-model and its networking devices repetition The OSI-model and its networking devices

More information

Encoding and Framing

Encoding and Framing Encoding and Framing EECS 489 Computer Networks http://www.eecs.umich.edu/~zmao/eecs489 Z. Morley Mao Tuesday Nov 2, 2004 Acknowledgement: Some slides taken from Kurose&Ross and Katz&Stoica 1 Questions

More information

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal Questions Encoding and Framing Why are some links faster than others? What limits the amount of information we can send on a link? How can we increase the capacity of a link? EECS 489 Computer Networks

More information

MULTIPLE CHOICE QUESTIONS

MULTIPLE CHOICE QUESTIONS CHAPTER 7 2. Guided and unguided media 4. Twisted pair, coaxial, and fiber-optic cable 6. Coaxial cable can carry higher frequencies than twisted pair cable and is less sus-ceptible to noise. 8. a. The

More information

Digital to Digital Encoding

Digital to Digital Encoding MODULATION AND ENCODING Data must be transformed into signals to send them from one place to another Conversion Schemes Digital-to-Digital Analog-to-Digital Digital-to-Analog Analog-to-Analog Digital to

More information

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26! CSE 123: Computer Networks Alex C. Snoeren Project 1 out Today, due 10/26! Signaling Types of physical media Shannon s Law and Nyquist Limit Encoding schemes Clock recovery Manchester, NRZ, NRZI, etc.

More information

Error Detection and Correction

Error Detection and Correction . Error Detection and Companies, 27 CHAPTER Error Detection and Networks must be able to transfer data from one device to another with acceptable accuracy. For most applications, a system must guarantee

More information

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c) King Saud University College of Computer and Information Sciences Information Technology Department First Semester 1436/1437 IT224: Networks 1 Sheet# 10 (chapter 3-4-5) Multiple-Choice Questions 1. Before

More information

Lecture 3 Data Link Layer - Digital Data Communication Techniques

Lecture 3 Data Link Layer - Digital Data Communication Techniques DATA AND COMPUTER COMMUNICATIONS Lecture 3 Data Link Layer - Digital Data Communication Techniques Mei Yang Based on Lecture slides by William Stallings 1 ASYNCHRONOUS AND SYNCHRONOUS TRANSMISSION timing

More information

Data and Computer Communications. Chapter 3 Data Transmission

Data and Computer Communications. Chapter 3 Data Transmission Data and Computer Communications Chapter 3 Data Transmission Data Transmission quality of the signal being transmitted The successful transmission of data depends on two factors: characteristics of the

More information

Computer Networks - Xarxes de Computadors

Computer Networks - Xarxes de Computadors Computer Networks - Xarxes de Computadors Outline Course Syllabus Unit 1: Introduction Unit 2. IP Networks Unit 3. Point to Point Protocols -TCP Unit 4. Local Area Networks, LANs 1 Outline Introduction

More information

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering Cohorts: BCNS/17A/FT & BEE/16B/FT Examinations for 2016-2017 Semester 2 & 2017 Semester 1 Resit Examinations for BEE/12/FT

More information

EC 554 Data Communications

EC 554 Data Communications EC 554 Data Communications Mohamed Khedr http://webmail. webmail.aast.edu/~khedraast.edu/~khedr Syllabus Tentatively Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week

More information

and coding (a.k.a. communication theory) Signals and functions Elementary operation of communication: send signal on

and coding (a.k.a. communication theory) Signals and functions Elementary operation of communication: send signal on Fundamentals of information transmission and coding (a.k.a. communication theory) Signals and functions Elementary operation of communication: send signal on medium from point A to point B. media copper

More information

Question Paper Profile

Question Paper Profile Question Paper Profile Max. Marks : 70 Time: 3 Hrs. Q.1) A) Attempt any FIVE of the following. 10 Marks a) Define the term Standard. State its two categories. b) List any two advantages of Unguided Media.

More information

Data and Computer Communications Chapter 3 Data Transmission

Data and Computer Communications Chapter 3 Data Transmission Data and Computer Communications Chapter 3 Data Transmission Eighth Edition by William Stallings Transmission Terminology data transmission occurs between a transmitter & receiver via some medium guided

More information

BSc (Hons) Computer Science with Network Security BEng (Hons) Electronic Engineering

BSc (Hons) Computer Science with Network Security BEng (Hons) Electronic Engineering BSc (Hons) Computer Science with Network Security BEng (Hons) Electronic Engineering Cohort: BCNS/16B/FT Examinations for 2016-2017 / Semester 1 Resit Examinations for BEE/12/FT MODULE: DATA COMMUNICATIONS

More information

Media. Twisted pair db/km at 1MHz 2 km. Coaxial cable 7 db/km at 10 MHz 1 9 km. Optical fibre 0.2 db/km 100 km

Media. Twisted pair db/km at 1MHz 2 km. Coaxial cable 7 db/km at 10 MHz 1 9 km. Optical fibre 0.2 db/km 100 km Media Attenuation Repeater spacing Twisted pair 10-12 db/km at 1MHz 2 km Coaxial cable 7 db/km at 10 MHz 1 9 km Optical fibre 0.2 db/km 100 km conniq.com provides an excellent tutorial on physical media.

More information

Digital Data Communication Techniques

Digital Data Communication Techniques Digital Data Communication Techniques Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse473-05/ 6-1 Overview

More information

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d. Qiz 1 Q1: 1.A periodic signal has a bandwidth of 20 Hz the highest frequency is 60Hz. what is the lowest frequency. a.20 b.40 c.60 d.30 2. find the value of bandwidth of the following signal S(t)=(1/5)

More information

Data Transmission. ITS323: Introduction to Data Communications. Sirindhorn International Institute of Technology Thammasat University ITS323

Data Transmission. ITS323: Introduction to Data Communications. Sirindhorn International Institute of Technology Thammasat University ITS323 ITS323: Introduction to Data Communications Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 23 May 2012 ITS323Y12S1L03, Steve/Courses/2012/s1/its323/lectures/transmission.tex,

More information

Lecture 3: Data Transmission

Lecture 3: Data Transmission Lecture 3: Data Transmission 1 st semester 1439-2017 1 By: Elham Sunbu OUTLINE Data Transmission DATA RATE LIMITS Transmission Impairments Examples DATA TRANSMISSION The successful transmission of data

More information

Lecture 2: Links and Signaling"

Lecture 2: Links and Signaling Lecture 2: Links and Signaling" CSE 123: Computer Networks Alex C. Snoeren HW 1 out tomorrow, due next 10/9! Lecture 2 Overview" Signaling Types of physical media Shannon s Law and Nyquist Limit Encoding

More information

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures Lecture 5 Transmission Peter Steenkiste School of Computer Science Department of Electrical and Computer Engineering Carnegie Mellon University 15-441 Networking, Spring 2004 http://www.cs.cmu.edu/~prs/15-441

More information

Chapter 4 Digital Transmission 4.1

Chapter 4 Digital Transmission 4.1 Chapter 4 Digital Transmission 4.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent

More information

BSc (Hons) Computer Science with Network Security. Examinations for Semester 1

BSc (Hons) Computer Science with Network Security. Examinations for Semester 1 BSc (Hons) Computer Science with Network Security Cohort: BCNS/15B/FT Examinations for 2015-2016 Semester 1 MODULE: DATA COMMUNICATIONS MODULE CODE: CAN1101C Duration: 2 Hours Instructions to Candidates:

More information

DigiPoints Volume 1. Leader Guide. Module 6 Error Detection and Correction

DigiPoints Volume 1. Leader Guide. Module 6 Error Detection and Correction Error Detection and Correction Page 6.i DigiPoints Volume 1 Module 6 Error Detection and Correction Summary This module describes typical errors that can exist in digital communications systems and describes

More information

Lecture 5 Transmission

Lecture 5 Transmission Lecture 5 Transmission David Andersen Department of Computer Science Carnegie Mellon University 15-441 Networking, Spring 2005 http://www.cs.cmu.edu/~srini/15-441/s05 1 Physical and Datalink Layers: 3

More information

Chapter 10 Error Detection and Correction 10.1

Chapter 10 Error Detection and Correction 10.1 Data communication and networking fourth Edition by Behrouz A. Forouzan Chapter 10 Error Detection and Correction 10.1 Note Data can be corrupted during transmission. Some applications require that errors

More information

RECOMMENDATION ITU-R BT *

RECOMMENDATION ITU-R BT * Rec. ITU-R BT.656-4 1 RECOMMENDATION ITU-R BT.656-4 * Interfaces for digital component video signals in 525-line and 625-line television systems operating at the 4:2:2 level of Recommendation ITU-R BT.601

More information

9.4. Synchronization:

9.4. Synchronization: 9.4. Synchronization: It is the process of timing the serial transmission to properly identify the data being sent. There are two most common modes: Synchronous transmission: Synchronous transmission relies

More information

Physical Layer. Networked Systems Architecture 3 Lecture 6

Physical Layer. Networked Systems Architecture 3 Lecture 6 Physical Layer Networked Systems Architecture 3 Lecture 6 Lecture Outline Physical layer concepts Wired links Unshielded twisted pair, coaxial cable, optical fibre Encoding data onto a wire Wireless links

More information

Data Communication. Chapter 3 Data Transmission

Data Communication. Chapter 3 Data Transmission Data Communication Chapter 3 Data Transmission ١ Terminology (1) Transmitter Receiver Medium Guided medium e.g. twisted pair, coaxial cable, optical fiber Unguided medium e.g. air, water, vacuum ٢ Terminology

More information

Data and Computer Communications

Data and Computer Communications Data and Computer Communications Error Detection Mohamed Khedr http://webmail.aast.edu/~khedr Syllabus Tentatively Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12

More information

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications Week 2 Lecture 1 Introduction to Communication Networks Review: Analog and digital communications Topic: Internet Trend, Protocol, Transmission Principle Digital Communications is the foundation of Internet

More information

Data Communications and Networks

Data Communications and Networks Data Communications and Networks Abdul-Rahman Mahmood http://alphapeeler.sourceforge.net http://pk.linkedin.com/in/armahmood abdulmahmood-sss twitter.com/alphapeeler alphapeeler.sourceforge.net/pubkeys/pkey.htm

More information

DIGITAL DATA COMMUNICATION TECHNIQUES

DIGITAL DATA COMMUNICATION TECHNIQUES 6 CHAPTER DIGITAL DATA COMMUNICATION TECHNIQUES 6.1 Asynchronous and Synchronous Transmission 6.2 Types of Errors 6.3 Error Detection 6.4 Error Correction 6.5 Line Configurations 6.6 Recommended Reading

More information

Computer Networks. Week 03 Founda(on Communica(on Concepts. College of Information Science and Engineering Ritsumeikan University

Computer Networks. Week 03 Founda(on Communica(on Concepts. College of Information Science and Engineering Ritsumeikan University Computer Networks Week 03 Founda(on Communica(on Concepts College of Information Science and Engineering Ritsumeikan University Agenda l Basic topics of electromagnetic signals: frequency, amplitude, degradation

More information

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2 Data and Signals - Theoretical Concepts! What are the major functions of the network access layer? Reference: Chapter 3 - Stallings Chapter 3 - Forouzan Study Guide 3 1 2! What are the major functions

More information

DATA TRANSMISSION. ermtiong. ermtiong

DATA TRANSMISSION. ermtiong. ermtiong DATA TRANSMISSION Analog Transmission Analog signal transmitted without regard to content May be analog or digital data Attenuated over distance Use amplifiers to boost signal Also amplifies noise DATA

More information

CPSC Network Programming. How do computers really communicate?

CPSC Network Programming.   How do computers really communicate? CPSC 360 - Network Programming Data Transmission Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu February 11, 2005 http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Lecture 3 Concepts for the Data Communications and Computer Interconnection Lecture 3 Concepts for the Data Communications and Computer Interconnection Aim: overview of existing methods and techniques Terms used: -Data entities conveying meaning (of information) -Signals data

More information

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Stefan Savage

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Stefan Savage Lecture 3: Modulation & Clock Recovery CSE 123: Computer Networks Stefan Savage Lecture 3 Overview Signaling constraints Shannon s Law Nyquist Limit Encoding schemes Clock recovery Manchester, NRZ, NRZI,

More information

ROM/UDF CPU I/O I/O I/O RAM

ROM/UDF CPU I/O I/O I/O RAM DATA BUSSES INTRODUCTION The avionics systems on aircraft frequently contain general purpose computer components which perform certain processing functions, then relay this information to other systems.

More information

Basic Concepts in Data Transmission

Basic Concepts in Data Transmission Basic Concepts in Data Transmission EE450: Introduction to Computer Networks Professor A. Zahid A.Zahid-EE450 1 Data and Signals Data is an entity that convey information Analog Continuous values within

More information

Lecture Fundamentals of Data and signals

Lecture Fundamentals of Data and signals IT-5301-3 Data Communications and Computer Networks Lecture 05-07 Fundamentals of Data and signals Lecture 05 - Roadmap Analog and Digital Data Analog Signals, Digital Signals Periodic and Aperiodic Signals

More information

Data Communications & Computer Networks

Data Communications & Computer Networks Data Communications & Computer Networks Chapter 3 Data Transmission Fall 2008 Agenda Terminology and basic concepts Analog and Digital Data Transmission Transmission impairments Channel capacity Home Exercises

More information

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES Encoding Coding is the process of embedding clocks into a given data stream and producing a signal that can be transmitted over a selected medium.

More information

CSE 461 Bits and Links. David Wetherall

CSE 461 Bits and Links. David Wetherall CSE 461 Bits and Links David Wetherall djw@cs.washington.edu Topic How do we send a message across a wire or wireless link? The physical/link layers: 1. Different kinds of media 2. Fundamental limits 3.

More information

The Physical Layer Outline

The Physical Layer Outline The Physical Layer Outline Theoretical Basis for Data Communications Digital Modulation and Multiplexing Guided Transmission Media (copper and fiber) Public Switched Telephone Network and DSLbased Broadband

More information

You may use a calculator, but you may not use a computer during the test or have any wireless device with you.

You may use a calculator, but you may not use a computer during the test or have any wireless device with you. Department of Electrical Engineering and Computer Science LE/CSE 3213 Z: Communication Networks Winter 2014 FINAL EXAMINATION Saturday, April 12 2 to 4 PM CB 129 SURNAME (printed): FIRST NAME and INITIALS

More information

Lecture 6: Reliable Transmission"

Lecture 6: Reliable Transmission Lecture 6: Reliable Transmission" CSE 123: Computer Networks Alex C. Snoeren HW 2 out Wednesday! Lecture 6 Overview" Cyclic Remainder Check (CRC) Automatic Repeat Request (ARQ) Acknowledgements (ACKs)

More information

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Alex C. Snoeren

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Alex C. Snoeren Lecture 3: Modulation & Clock Recovery CSE 123: Computer Networks Alex C. Snoeren Lecture 3 Overview Signaling constraints Shannon s Law Nyquist Limit Encoding schemes Clock recovery Manchester, NRZ, NRZI,

More information

Sirindhorn International Institute of Technology Thammasat University

Sirindhorn International Institute of Technology Thammasat University Name...ID... Section...Seat No... Sirindhorn International Institute of Technology Thammasat University Midterm Examination: Semester 1/2009 Course Title Instructor : ITS323 Introduction to Data Communications

More information

OSI Reference Model. Application Layer. Presentation Layer. Session Layer. Chapter 4: Application Protocols. Transport Layer.

OSI Reference Model. Application Layer. Presentation Layer. Session Layer. Chapter 4: Application Protocols. Transport Layer. Chapter 2: Computer Networks 2.1: Physical Layer and Data Link Layer 2.2: Examples for Local Area Networks 2.3: Examples for Wide Area Networks 2.4: Wireless Networks OSI Reference Model Application Layer

More information

Physical Layer: Outline

Physical Layer: Outline 18-345: Introduction to Telecommunication Networks Lectures 3: Physical Layer Peter Steenkiste Spring 2015 www.cs.cmu.edu/~prs/nets-ece Physical Layer: Outline Digital networking Modulation Characterization

More information

CSEP 561 Bits and Links. David Wetherall

CSEP 561 Bits and Links. David Wetherall CSEP 561 Bits and Links David Wetherall djw@cs.washington.edu Topic How do we send a message across a wire or wireless link? The physical/link layers: 1. Different kinds of media 2. Fundamental limits

More information

Lecture 2 Physical Layer - Data Transmission

Lecture 2 Physical Layer - Data Transmission DATA AND COMPUTER COMMUNICATIONS Lecture 2 Physical Layer - Data Transmission Mei Yang Based on Lecture slides by William Stallings 1 DATA TRANSMISSION The successful transmission of data depends on two

More information

Physical Layer. Networked Systems 3 Lecture 5

Physical Layer. Networked Systems 3 Lecture 5 Physical Layer Networked Systems 3 Lecture 5 Lecture Outline Physical layer concepts Wired links Unshielded twisted pair, coaxial cable, optical fibre Encoding data onto a wire Wireless links Carrier modulation

More information

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst EITF25 Internet Techniques and Applications L2: Physical layer Stefan Höst Data vs signal Data: Static representation of information For storage Signal: Dynamic representation of information For transmission

More information

RECOMMENDATION ITU-R BT.1302 *

RECOMMENDATION ITU-R BT.1302 * Rec. ITU-R BT.1302 1 RECOMMENDATION ITU-R BT.1302 * Interfaces for digital component video signals in 525-line and 625-line television systems operating at the 4:2:2 level of Recommendation ITU-R BT.601

More information

Wireless Communications

Wireless Communications 3. Data Link Layer DIN/CTC/UEM 2018 Main Functions Handle transmission errors Adjust the data flow : Main Functions Split information into frames: Check if frames have arrived correctly Otherwise: Discard

More information

Wireless Communications

Wireless Communications 2. Physical Layer DIN/CTC/UEM 2018 Periodic Signal Periodic signal: repeats itself in time, that is g(t) = g(t + T ) in which T (given in seconds [s]) is the period of the signal g(t) The number of cycles

More information

B.E SEMESTER: 4 INFORMATION TECHNOLOGY

B.E SEMESTER: 4 INFORMATION TECHNOLOGY B.E SEMESTER: 4 INFORMATION TECHNOLOGY 1 Prepared by: Prof. Amish Tankariya SUBJECT NAME : DATA COMMUNICATION & NETWORKING 2 Subject Code 141601 1 3 TOPIC: DIGITAL-TO-DIGITAL CONVERSION Chap: 5. ENCODING

More information

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal Physical Layer Physical Layer Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits 10110 10110 Signal CSE 461 University of Washington 2 Topics 1. Coding

More information

UNIT-1. Basic signal processing operations in digital communication

UNIT-1. Basic signal processing operations in digital communication UNIT-1 Lecture-1 Basic signal processing operations in digital communication The three basic elements of every communication systems are Transmitter, Receiver and Channel. The Overall purpose of this system

More information

Chapter-1: Introduction

Chapter-1: Introduction Chapter-1: Introduction The purpose of a Communication System is to transport an information bearing signal from a source to a user destination via a communication channel. MODEL OF A COMMUNICATION SYSTEM

More information

Chapter 2: Computer Networks

Chapter 2: Computer Networks Chapter 2: Computer Networks 2.1: Physical Layer: representation of digital signals 2.2: Data Link Layer: error protection and access control 2.3: Network infrastructure 2.4 2.5: Local Area Network examples

More information

Chapter 3. Data Transmission

Chapter 3. Data Transmission Chapter 3 Data Transmission Reading Materials Data and Computer Communications, William Stallings Terminology (1) Transmitter Receiver Medium Guided medium (e.g. twisted pair, optical fiber) Unguided medium

More information

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Acknowledgements

More information

i) Physical, ii) Data-link, iii) Network, iv) Transport, v) Session, vi) Presentation, and vii) Application

i) Physical, ii) Data-link, iii) Network, iv) Transport, v) Session, vi) Presentation, and vii) Application 1a) Seven layers of ISO-OSI model are as follows: i) Physical, ii) Data-link, iii) Network, iv) Transport, v) Session, vi) Presentation, and vii) Application Among these layers transport, session, presentation,

More information

C06a: Digital Modulation

C06a: Digital Modulation CISC 7332X T6 C06a: Digital Modulation Hui Chen Department of Computer & Information Science CUNY Brooklyn College 10/2/2018 CUNY Brooklyn College 1 Outline Digital modulation Baseband transmission Line

More information

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013 ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013 Lecture 18 Today: (1) da Silva Discussion, (2) Error Correction Coding, (3) Error Detection (CRC) HW 8 due Tue. HW 9 (on Lectures

More information

Module 3: Physical Layer

Module 3: Physical Layer Module 3: Physical Layer Dr. Associate Professor of Computer Science Jackson State University Jackson, MS 39217 Phone: 601-979-3661 E-mail: natarajan.meghanathan@jsums.edu 1 Topics 3.1 Signal Levels: Baud

More information

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2 Physical Layer Lecture Progression Bottom-up through the layers: Application - HTTP, DNS, CDNs Transport - TCP, UDP Network - IP, NAT, BGP Link - Ethernet, 802.11 Physical - wires, fiber, wireless Followed

More information

1 V NAME. Clock Pulse. Unipolar NRZ NRZ AMI NRZ HDB3

1 V NAME. Clock Pulse. Unipolar NRZ NRZ AMI NRZ HDB3 NAME ES 442 Homework #9 (Spring 208 Due May 7, 208 ) Print out homework and do work on the printed pages.. Problem High Density Bipolar 3 (HDB3) (20 points) HDB3 is a line code developed to avoid long

More information

Point-to-Point Communications

Point-to-Point Communications Point-to-Point Communications Key Aspects of Communication Voice Mail Tones Alphabet Signals Air Paper Media Language English/Hindi English/Hindi Outline of Point-to-Point Communication 1. Signals basic

More information

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum Chapter 4 Transmission Media Overview Guided - wire Unguided - wireless Characteristics and quality determined by medium and signal For guided, the medium is more important For unguided, the bandwidth

More information

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai.

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai. Local Asynchronous Communication By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai. Bitwise Data Transmission Data transmission requires: Encoding bits as energy Transmitting energy through

More information

Digital Transmission

Digital Transmission Digital Transmission 4.1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three techniques: line coding, block coding,

More information

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link. Chapter 3 Data Transmission Terminology (1) Transmitter Receiver Medium Guided medium e.g. twisted pair, optical fiber Unguided medium e.g. air, water, vacuum Corneliu Zaharia 2 Corneliu Zaharia Terminology

More information

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013 ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013 Lecture 18 Today: (1) da Silva Discussion, (2) Error Correction Coding, (3) Error Detection (CRC) HW 8 due Tue. HW 9 (on Lectures

More information

CSE 461: Bits and Bandwidth. Next Topic

CSE 461: Bits and Bandwidth. Next Topic CSE 461: Bits and Bandwidth Next Topic Focus: How do we send a message across a wire? The physical / link layers: 1. Different kinds of media 2. Encoding bits, messages 3. Model of a link Application Presentation

More information

Digital Transmission

Digital Transmission Digital Transmission Line Coding Some Characteristics Line Coding Schemes Some Other Schemes Line coding Signal level versus data level DC component Pulse Rate versus Bit Rate Bit Rate = Pulse Rate x Log2

More information

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity Data Transmission Contents Data Signal Transmission Transmission Impairments Channel Capacity 2 Data/Signal/Transmission Data: entities that convey meaning or information Signal: electric or electromagnetic

More information

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2 Physical Layer Lecture Progression Bottom-up through the layers: Application - HTTP, DNS, CDNs Transport - TCP, UDP Network - IP, NAT, BGP Link - Ethernet, 802.11 Physical - wires, fiber, wireless Followed

More information

Chapter 3 Digital Transmission Fundamentals

Chapter 3 Digital Transmission Fundamentals Chapter 3 Digital Transmission Fundamentals Why Digital Communications? CSE 3213, Winter 2010 Instructor: Foroohar Foroozan A Transmission System Transmitter Receiver Communication channel Transmitter

More information

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE) Department of Electronics & Telecommunication Engg. LAB MANUAL SUBJECT:-DIGITAL COMMUNICATION SYSTEM [BTEC-501] B.Tech V Semester [2013-14] (Branch: ETE) KCT COLLEGE OF ENGG & TECH., FATEHGARH PUNJAB TECHNICAL

More information

Part II Data Communications

Part II Data Communications Part II Data Communications Chapter 3 Data Transmission Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal & Data Analog and Digital Data Transmission Transmission Impairments

More information

Communications I (ELCN 306)

Communications I (ELCN 306) Communications I (ELCN 306) c Samy S. Soliman Electronics and Electrical Communications Engineering Department Cairo University, Egypt Email: samy.soliman@cu.edu.eg Website: http://scholar.cu.edu.eg/samysoliman

More information

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals Kuang Chiu Huang TCM NCKU Spring/2008 Goals of This Class Through the lecture of fundamental information for data and signals,

More information

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media.

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media. Data Communication Prof. Ajit Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture No # 7 Transmission of Digital Signal-I Hello and welcome to today s lecture.

More information

Figure 8.1 CSMA/CD worst-case collision detection.

Figure 8.1 CSMA/CD worst-case collision detection. Figure 8.1 CSMA/CD worst-case collision detection. Figure 8.2 Hub configuration principles: (a) topology; (b) repeater schematic. Figure 8.3 Ethernet/IEEE802.3 characteristics: (a) frame format; (b) operational

More information

Chapter 2 Line Code Decoder

Chapter 2 Line Code Decoder Chapter 2 Line Code Decoder 2-1: Curriculum Objectives 1. To understand the theory and applications of line code decoder. 2. To understand the decode theory and circuit structure of NRZ. 3. To understand

More information