lecture 14

20
Data Communications & Networking Data Communications & Networking Lecture-14 Lecture-14 Course Instructor : Sehrish Rafiq Department Of Computer Science University Of Peshawar

Upload: sehrish-rafiq

Post on 26-May-2015

181 views

Category:

Business


1 download

TRANSCRIPT

Page 1: Lecture 14

Data Communications & Data Communications & NetworkingNetworkingLecture-14Lecture-14

Course Instructor : Sehrish Rafiq

Department Of Computer Science

University Of Peshawar

Page 2: Lecture 14

Lecture OverviewLecture Overview

WDM Similarity to FDM Applications of WDMTDM Data rate in TDM Interleaving

Page 3: Lecture 14

WDMWDM(Wave Division Multiplexing)(Wave Division Multiplexing)

WDM is designed to use the high data rate capability of fiber optic cable.

Using a fiber-optic cable for one single line wastes the available bandwidth.

Multiplexing allows us to connect several lines in to one.

Page 4: Lecture 14

Similarity to FDMSimilarity to FDM

WDM is conceptually the same as FDM,except that the multiplexing and demultiplexing involve optical signals transmitted through fiber-optic channels.

We are combining different signals of different frequencies.

However the difference is that the frequencies are very high.

Page 5: Lecture 14

WDMWDM

Page 6: Lecture 14

Prisms in WDMPrisms in WDM

Page 7: Lecture 14

Applications of WDMApplications of WDM

One application of WDM is the SONET network in which multiple optical fiber lines are multiplexed and demultiplexed.

Note:- A new Method called DWDM(dense WDM) can Multiplex a very large number of channels by spacing channels closer to one another. It achieves even greater efficiency.

Page 8: Lecture 14

TDMTDM(Time Division Multiplexing)(Time Division Multiplexing)

TDM is a digital process that allows several connections to share the high bandwidth of a link.

Instead of sharing a portion of bandwidth as in FDM,time is shared.

Each connection occupies a portion of time in the link.

Page 9: Lecture 14

TDMTDM

Page 10: Lecture 14

Time slots and framesTime slots and frames The dataflow of each connection is divided in to units and

the link combines one unit of each connection to make a frame.

The size of the unit can be 1 bit or several bits.

For n input connections, a frame is organized in to a minimum of n time slots.

Each slot carrying one unit from each connection. Time slots are combined in to frames.

A frame consists of one complete cycle of time slots with one slot dedicated to each sending device.

Page 11: Lecture 14

Data rate in TDMData rate in TDM

In TDM, the data rate of the link that carries data from n connections must be n times the data rate of a connection to guarantee the flow of data.

The duration of a unit in a connection is n times the duration of a time slot in a frame.

If we consider that the bit rate and bit duration are inverses of each other then the above requirement makes sense.

Page 12: Lecture 14

TDMTDM

Page 13: Lecture 14

Example 1Example 1

Four 1-Kbps connections are multiplexed together. A unit is 1 bit. Find (1) the duration of 1 bit before multiplexing, (2) the transmission rate of the link, (3) the duration of a time slot, and (4) the duration of a frame?

SolutionSolution

We can answer the questions as follows:1. The duration of 1 bit is 1/1 Kbps, or 0.001 s (1 ms).2. The rate of the link is 4 Kbps.3. The duration of each time slot 1/4 ms or 250 s. 4. The duration of a frame 1 ms.

Page 14: Lecture 14

InterleavingInterleaving TDM can be visualized as two fast rotating switches, one on

the multiplexing side and the other on the demultiplexing side.

The switches are synchronized and rotate at the same speed.

On the multiplexing side, as the switch opens in front of a connection, that connection has the opportunity to send a unit on to the path .

This process is called interleaving. On the demultiplexing side, as the switch opens in front of a

connection that connection has the opportunity to receive a unit from the path.

Page 15: Lecture 14

InterleavingInterleaving

Page 16: Lecture 14

Example 2Example 2

Four channels are multiplexed using TDM. If each channel sends 100 bytes/s and we multiplex 1 byte per channel, show the frame traveling on the link, the size of the frame, the duration of a frame, the frame rate, and the bit rate for the link.

SolutionSolution

Each frame carries 1 byte from each channel.So the size of each frame is 4 bytes or 32 bits.Each channel is sending 100 bytes per second and a frame carries 1 byte from each channel, the frame rate must be 100 frames per second and each frame contains 32 bits so the bit rate is 100x 32 or 3200bps.This is actually four times the bit rate of each channel which is 100x8=800bps.

Page 17: Lecture 14

Example 2Example 2

Page 18: Lecture 14

Example 3Example 3A multiplexer combines four 100-Kbps channels using a time slot of 2 bits. Show the output with four arbitrary inputs. What is the frame rate? What is the frame duration? What is the bit rate? What is the bit duration?

SolutionSolutionThe link carries 50,000 frames per second since each frame contains 2 bits per channel.The frame duration is therefore 1/50000s .The frame rate is 50000 frames per second.Each frame carries 8 bits.The bitrate is 50000x8=400000bits or 400kps.Each bit duration is 1/400000s.The frame duration is 8 times the bit duration because each frame is carrying 8 bits.

Page 19: Lecture 14

Example 3Example 3

Page 20: Lecture 14

Thanks!!!Thanks!!!