multiplexing nete 0510 presented by dr.apichan kanjanavapastit

38
Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Upload: prosper-atkinson

Post on 24-Dec-2015

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Multiplexing

NETE 0510

Presented by

Dr.Apichan Kanjanavapastit

Page 2: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

What is Multiplexing

• Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single data link

• Today’s technology includes high-bandwidth media such as optical fiber, each of these has a carrying capacity far in excess of that needed for the average transmission signal

• An efficient system maximizes the utilization of all facilities

Page 3: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Many to One/One to Many

• In a multiplexed system, n devices share the capacity of one link• The stream of traffic from each device is sent to a multiplexer

(MUX), which combines them into a single stream (many to one)• At the receiving end, that stream is fed into a demultiplexer

(DEMUX), which separates the stream back into its component transmissions (one to many) and directs them to their intended receiving devices

Page 4: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Categories of Multiplexing

• Signals are multiplexed using 3 basic techniques: frequency-division multiplexing (FDM), time-division multiplexing (TDM), and wave-division multiplexing (WDM)

• TDM is further subdivided into synchronous TDM (usually just called TDM) and asynchronous TDM, also called statistical TDM or concentrator

Page 5: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Frequency-Division Multiplexing (FDM)

• FDM is an analog technique • In FDM, signals generated by each sending device

modulate different carrier frequencies• Carrier frequencies are separated by enough bandwidth

to accommodate the modulated signal

Page 6: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

The FDM Process: Multiplexing

Page 7: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

The FDM Process: Demultiplexing

Page 8: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Amplitude Modulation Techniques for Analog Signals

• Amplitude Modulation (AM)

• Double-sideband suppressed carrier (DSB-SC) modulation

• Single-sideband suppressed carrier (SSB) modulation

Page 9: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Amplitude Modulation (AM)

AM modulator

0 4 kHz

10 kHz

10 kHz 14 kHz6 kHz

1 cosc cv t A m t t

Page 10: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Double-sideband suppressed carrier modulation (DSB-SC)

DSB-SC modulator

0 4 kHz

10 kHz

10 kHz6 kHz

cosc cv t A m t t

14 kHz

Page 11: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Single-sideband suppressed carrier (SSB)

DSB-SC modulator

0 4 kHz

10 kHz

10 kHz6 kHz 14 kHz Band PassFilter

10 kHz6 kHz

SSB

Page 12: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#1

• Five channels, each with a 100-kHz bandwidth, are to be multiplexed together. What is the minimum bandwidth of the link if there is a need for a guard band of 10 kHz between the channels to prevent interference?

Page 13: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#2

• Four digital signals, each transmitting at data rate of 1 Mbps, use a satellite channel of 1 MHz. Design an appropriate configuration, using FDM.

Page 14: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

ITU-T Multiplexing Plan for Analog Telephone System

Page 15: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

ITU-T Multiplexing Plan for Analog Telephone System (cont.)

104-108kHz

108 kHz

Incoming Ch.

1

104-108kHz

104 kHz

2

104-108kHz

64 kHz

12

Multiplex signal

6460 68 7672 80 84 88 92 96 100 104 108

12 11 10 9 8 7 6 5 4 3 2 1

BPF

BPF

BPF

Page 16: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

F=108

F=104

F=100

F=96

F=92

F=88

F=84

F=80

F=76

F=72

F=68

F=64

F=612

F=564

F=516

F=468

F=420

F=3396

F=3148

F=2900

F=2652

F=2356

F=2108

F=1860

F=1612

F=1364

F=1116

12 voice frequencyChannel input (0-4 kHz)

Group multiplexer

5 Group inputs

Supergroup multiplexer

Group output12 VF. 48 kHz bandwidth

Supergroup output60VF. 240 kHz bandwidth

108

104

100

96

92

88

84

80

76

72

68

64

60

552

504

456

408

360

312

30482844

28362569

25882348

23402100

20441804

17961556

15481308

13001060

1052812

804564

Mastergroup multiplexer

Mastergroupoutput600VF.

2.52 MHz bandwidth

10 Supergroup inputs

Page 17: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Application Example of FDM: Cable TV

• Coaxial cable has a bandwidth up to several hundreds megahertz

• The bandwidth of the coaxial cable is normally divided into 6 MHz using FDM

• Each band provides a TV channel or data transmission

Page 18: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Wave-Division Multiplexing (WDM)

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

• Combining and splitting of light sources are easily handled by a prism

Page 19: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Recall Attenuation in Optical Fiber

800 900 1000 1100 1200 1300 1400 1500 1600 1700

0.5

1.0

1.5

2.0

2.5

3.0

FirstWindow Second

Window

ThirdWindow

ATTEN

UA

TIO

N (

dB

/km

)

WAVELENGTH (nm)

1310nm 1550nm850nm

Page 20: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Time-Division Multiplexing (TDM)

• TDM is a digital process that can be applied when the data rate capacity of the transmission medium is greater than the data rate required by the sending and receiving ends

• TDM can be implemented in 2 ways: TDM and asynchronous TDM

Page 21: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Synchronous TDM

• In synchronous TDM, the term synchronous has a different meaning from synchronous transmission

• Hear synchronous means that the multiplexer allocates exactly the same time slot to each device at all times, whether or not a device has anything to transmit

• Time slots are grouped into frames. A frame consists of one complete cycle of time slots

Page 22: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Interleaving in Synchronous TDM

• Synchronous TDM can be compared to a very fast rotating switch

• As the switch opens in front of a device, that device has the opportunity to send a specified amount of data into the path

• The switch moves from device to device at a constant rate and in a fixed order. This process is called interleaving which can be done by bit, by byte, or by any other data unit

Page 23: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Interleaving in Synchronous TDM (cont.)

Page 24: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#3

• The data rate for each input connection is 1 kbps. If 1 bit at a time is multiplexed (a unit is 1 bit), what is the duration of (a) each input slot, (b) each output slot, and (c) each frame?

Page 25: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#4

• The figure below shows synchronous TDM with a data stream for each input and one data stream for the output. The unit of data is 1 bit. Find (a) the input bit duration, (b) the output bit duration, (c) the output bit rate, and (d) the output frame rate.

Page 26: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#5

• 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.

Page 27: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#6

• A 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?

Page 28: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Multiple Slots Multiplexing

Page 29: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example#7

• Two channels, one with a bit rate of 100 kbps and another with a bit rate of 200 kbps, are to be multiplexed. How this can be achieved? What is the frame rate? What is the frame duration? What is the bit rate of the link?

Page 30: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Framing Bits in Synchronous TDM

• Because the time slot order in a synchronous TDM system does not vary from frame to frame, very little overhead information needs to be included in each frame

• However, various factors can cause timing inconsistencies. For this reason, one or more synchronization bits are usually added to the beginning of each frame

Page 31: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Framing Bits in Synchronous TDM (cont.)

• These bits, called framing bits, that allows the demultiplexer to synchronize with the incoming stream so that it can separate the time slot accurately

• In most cases, this synchronization information consists of one bit per frame, alternating between 0 and 1

Page 32: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example of a Data Rate Calculation in Synchronous TDM

• There are 4 input sources on a synchronous TDM link, where transmissions are interleaved by character

• If each source is creating 250 characters per second, and each frame is carrying 1 character from each source, the transmission path must be able to carry 250 frames per second

• Assuming that each frame is 33 bits long: 32 bits for the 4 characters plus 1 framing bit; the data rate of the multiplexed line will be 8250 bps (250 frames with 33 bits per frame)

Page 33: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Bit Stuffing in Synchronous TDM

• Recall that the time-slot length is fixed and it is possible to connect devices of different data rate to a synchronous TDM

• For this technique to work, the different data rates must be integer multiples of each other

• When the speeds are not integer multiple of each other, they can be made to behave as if they were, by a technique called bit stuffing

Page 34: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Bit Stuffing in Synchronous TDM (cont.)

• The multiplexer adds extra bits to a device’s source stream to force the speed relationships among the various devices into integer multiples of each other

• The extra bit are then discarded by the demultiplexer

Page 35: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Asynchronous TDM• In synchronous TDM, since the time slots are preassigned and

fixed, whenever a connected device is not transmitting, the corresponding slot is empty and that much of the path is wasted

• Asynchronous TDM or statistical TDM is designed to avoid this type of waste

• In this context, asynchronous means flexible or not fixed• The number of time slots in asynchronous TDM frame is based

on a statistical analysis of the number of input lines that are likely to be transmitting at any given time

Page 36: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Asynchronous TDM (cont.)

• Like synchronous TDM, asynchronous TDM allows a number of lower-speed input lines to be multiplexed to a single higher-speed line

• Unlike synchronous TDM, the total speed of the input lines can be greater than the capacity of the path

• In asynchronous TDM, the frame can contain a lower number of time slots when compared with synchronous TDM

Page 37: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Example of Asynchronous TDM Frames

Page 38: Multiplexing NETE 0510 Presented by Dr.Apichan Kanjanavapastit

Addressing and Overhead in Asynchronous TDM

• Addressing and Overhead– In the absence of fixed positional relationships, each

time slot must carry an address telling the demultiplexer how to direct the data.