1-2-Multiplexing Sharing a Medium-2011

Embed Size (px)

Citation preview

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    1/100

    1

    Introduction

    Under the simplest conditions, a medium can carry only onesignal at any moment in time.

    For multiple signals to share one medium, the medium must

    somehow be divided, giving each signal a portion of the total

    bandwidth.

    The current techniques that can accomplish this include

    frequency division multiplexing (FDM)

    time division multiplexing (TDM)

    Synchronous vs statistical

    wavelength division multiplexing (WDM)

    code division multiplexing (CDM)

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    2/100

    Multiplexing

    Multiplexor (MUX)

    Demultiplexor (DEMUX)

    Sometimes just called a MUX

    2

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    3/100

    Multiplexing

    Two or more simultaneous transmissions

    on a single circuit.

    Transparent to end user.

    Multiplexing costs less.

    3

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    4/100

    4

    Frequency Division Multiplexing

    Assignment of non-overlapping frequency ranges to each

    user or signal on a medium. Thus, all signals aretransmitted at the same time, each using different frequencies.

    A multiplexor accepts inputs and assigns frequencies to each

    device.

    The multiplexor is attached to a high-speed communications

    line.

    A corresponding multiplexor, or demultiplexor, is on the end

    of the high-speed line and separates the multiplexed signals.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    5/100

    5

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    6/100

    6

    Frequency Division Multiplexing

    Analog signaling is used to transmits the signals.

    Broadcast radio and television, cable television.

    This technique is the oldest multiplexing technique.

    Since it involves analog signaling, it is more susceptible to

    noise.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    7/100

    7

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    8/100

    8

    Time Division Multiplexing

    Sharing of the signal is accomplished by dividing available

    transmission time on a medium among users.

    Digital signaling is used exclusively.

    Time division multiplexing comes in two basic forms:

    1. Synchronous time division multiplexing, and

    2. Statistical, or asynchronous time division multiplexing.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    9/100

    9

    Synchronous Time Division

    Multiplexing

    The original time division multiplexing.

    The multiplexor accepts input from attached devices in a

    round-robin fashion and transmit the data in a never ending

    pattern.T-1 and ISDN telephone lines are common examples of

    synchronous time division multiplexing.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    10/100

    10

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    11/100

    11

    Synchronous Time Division

    Multiplexing

    If one device generates data at a faster rate than other devices,

    then the multiplexor must either sample the incoming data

    stream from that device more often than it samples the other

    devices, or buffer the faster incoming stream.

    If a device has nothing to transmit, the multiplexor must still

    insert a piece of data from that device into the multiplexed

    stream.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    12/100

    12

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    13/100

    13

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    14/100

    14

    Synchronous time division multiplexing

    So that the receiver may stay synchronized with the incomingdata stream, the transmitting multiplexor can insert alternating

    1s and 0s into the data stream.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    15/100

    15

    Synchronous Time Division

    Multiplexing

    Three types popular today:

    T-1 multiplexing (the classic)

    ISDN multiplexing

    SONET (Synchronous Optical NETwork)

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    16/100

    16

    The T1 (1.54 Mbps) multiplexor stream is a continuousseries

    of frames of both digitized data and voice channels.

    24 separate 64Kbps channels

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    17/100

    17

    The ISDN multiplexor stream is also a continuous stream offrames. Each frame contains various control and sync info.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    18/100

    18

    SONETmassive data rates

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    19/100

    Synchronous TDM

    Very popular

    Line will require as much bandwidth as all the

    bandwidths of the sources

    19

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    20/100

    20

    Statistical Time Division Multiplexing

    A statistical multiplexor transmits only the data from active

    workstations (or why work when you dont have to).

    If a workstation is not active, no space is wasted on the

    multiplexed stream.

    A statistical multiplexor accepts the incoming data streamsand creates a frame containing only the data to be transmitted.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    21/100

    21

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    22/100

    22

    To identify each piece of data, an address is included.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    23/100

    23

    If the data is of variable size, a length is also included.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    24/100

    24

    More precisely, the transmitted frame contains a collectionof data groups.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    25/100

    25

    Statistical Time Division Multiplexing

    A statistical multiplexor does not require a line over as high a

    speed line as synchronous time division multiplexing sinceSTDM does not assume all sources will transmit all of the

    time!

    Good for low bandwidth lines (used for LANs)

    Much more efficient use of bandwidth!

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    26/100

    26

    Wavelength Division Multiplexing

    (WDM)

    Give each message a different wavelength (frequency)

    Easy to do with fiber optics and optical sources

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    27/100

    27

    Dense Wavelength Division

    Multiplexing (DWDM)Dense wavelength division multiplexing is often called just

    wavelength division multiplexing

    Dense wavelength division multiplexing multiplexes multipledata streams onto a single fiber optic line.

    Different wavelength lasers (called lambdas) transmit the

    multiple signals.

    Each signal carried on the fiber can be transmitted at adifferent rate from the other signals.

    Dense wavelength division multiplexing combines many (30,

    40, 50, 60, more?) onto one fiber.

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    28/100

    28

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    29/100

    29

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    30/100

    30

    Code Division Multiplexing (CDM)

    Old but now new method

    Also known as code division multiple access (CDMA)

    An advanced technique that allows multiple devices to

    transmit on the samefrequencies at the sametime using

    different codesUsed for mobile communications

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    31/100

    31

    Code Division Multiplexing

    An advanced technique that allows multiple devices to

    transmit on the samefrequencies at the sametime.

    Each mobile device is assigned a unique 64-bit code (chip

    spreading code)

    To send a binary 1, mobile device transmits the unique code

    To send a binary 0, mobile device transmits the inverse of

    code

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    32/100

    32

    Code Division Multiplexing

    Receiver gets summed signal, multiplies it by receiver code,adds up the resulting values

    Interprets as a binary 1 if sum is near +64

    Interprets as a binary 0 if sum is near64

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    33/100

    33

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    34/100

    What did we cover

    Multiplexing

    Types of multiplexing

    TDM Synchronous TDM (T-1, ISDN, optical fiber)

    Statistical TDM (LANs)

    FDM (cable, cell phones, broadband)

    WDM (optical fiber) CDM (cell phones)

    34

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    35/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    36/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    37/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    38/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    39/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    40/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    41/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    42/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    43/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    44/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    45/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    46/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    47/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    48/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    49/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    50/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    51/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    52/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    53/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    54/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    55/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    56/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    57/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    58/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    59/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    60/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    61/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    62/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    63/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    64/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    65/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    66/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    67/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    68/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    69/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    70/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    71/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    72/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    73/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    74/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    75/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    76/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    77/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    78/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    79/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    80/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    81/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    82/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    83/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    84/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    85/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    86/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    87/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    88/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    89/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    90/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    91/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    92/100

    CSMA/CD

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    93/100

    CSMA/CD

    3 1 7 Noise

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    94/100

    3.1.7 Noise

    Noise is unwanted electrical, electromagnetic, or radio frequency energy that can degrade and distort the qualityof signals and communications of all types. Noise occurs in digital and analog systems. In the case of analogsignals, the signal becomes noisy and scratchy. For instance, a telephone conversation can be interrupted bynoises in the background. In digital systems, bits can sometimes merge, becoming indistinguishable to thedestination computer. The result is an increase in the bit-error rate, which is the number of bits that weredistorted so much that the destination computer reads the bit incorrectly. A clearly defined digital signal does notalways reach its destination without some change. Electrical noise can occur on the line. When the two signalsmeet, they can merge into a new signal . The original clear signal can be interpreted incorrectly by the receivingdevice .

    Also, signals that are external to the cables, such as the emissions of radio transmitters and radars, or the

    electrical fields that emanate from electric motors and florescent light fixtures, can interfere with the signals thatare traveling down cables. This noise is called Electromagnetic Interference (EMI) when it occurs from electricalsources, and Radio Frequency Interference (RFI) when it occurs from radio, radar, or microwave sources. Noise canalso be conducted from AC lines and lightning.

    Each wire in a cable can act like an antenna. When this happens, the wire actually absorbs electrical signals fromother wires in the cable and from electrical sources outside the cable. If the resulting electrical noise reaches ahigh enough level, it can become difficult for the computer to discriminate the noise from the data signal.

    Optical and wireless systems experience some of these forms of noise but are immune to others. For example,optical fiber is immune to most forms of crosstalk (interference from adjacent cables) and noises associated withAC power, and ground reference problems. Radio waves and microwaves are immune as well, but these can be

    affected by simultaneous transmissions on adjacent radio frequencies. For copper links, external noise is picked up from appliances in the vicinity, electrical transformers, the

    atmosphere, and even outer space. During severe thunderstorms or in locations where many electrical appliancesare in use, external noise can affect communications. The biggest source of signal distortion for copper wire occurswhen signals inadvertently pass out of one wire within the cable and onto an adjacent one. This is called crosstalk

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    95/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    96/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    97/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    98/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    99/100

  • 8/3/2019 1-2-Multiplexing Sharing a Medium-2011

    100/100