copyright 2008-2014 kenneth m. chipps ph.d. block encoding line signaling multiplexing on wired...

Post on 22-Dec-2015

215 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

Block EncodingLine SignalingMultiplexing

On Wired MediaLast Update 2014.07.10

4.3.0

1

Objectives

• Learn about the block encoding line signaling and multiplexing methods used on wired media

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

2

Guided Media

• Wired or guided media as used in data networks can be made of copper or glass as in UTP or fiber optic cable

• At the lowest level of layer 1 of the OSI model - the physical layer - the bit stream is placed onto the media

• In this case wired media made of copper or glass

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

3

Encoding and Signaling

• Speeds on Ethernet networks are determined by the block encoding and line signaling used

• Block encoding takes several bits and sends it out as a new code word using a look up table

• Line signaling converts a digital word into a serial bit stream that is then placed onto the wired media

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

4

Ethernet at Layer 1

• Since an Ethernet based local area network using copper based UTP wired media is the most common type of network we will concentrate on the block encoding and line signaling it uses to illustrate how this layer does its work

• Here is a table from a Dell white paper from 2001 that summarizes the methods at the three main Ethernet LAN speeds

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

5

Ethernet at Layer 1

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

6

Ethernet at Layer 1

• In addition when used to extend the physical size or coverage area inside a single building an Ethernet based LAN can be extended using a backbone cable

• 1000Base-SX is the most commonly used method for this application

• 1000BASE-SX uses multimode fiber optic cable to deliver gigabit speeds

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

7

Ethernet at Layer 1

• The wavelength used is from the near infrared region at 770 to 860 nanometers

• The standard distances are between 220 meters using 62.5 µm fiber and 550 meters using 50 µm fiber

• Longer distances are commonly seen when good quality fiber, optics, and terminations are used

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

8

Ethernet at Layer 1

• These then are the four methods we will examine– 10BASE-T at 10 Mbps– 100BASE-TX at 100 Mbps– 1000BASE-T at 1000 Mbps– 1000BASE-SX at 1000 Mbps

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

9

Forms of Ethernet

• Each of these four main forms or speeds of Ethernet based LANs and building backbone connections uses a different set of block encoding and line signaling

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

10

Encoding and Signaling Used

• 10BASE-T at 10 Mbps over UTP– Block Encoding

• Manchester

– Line Signaling• Differential

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

11

Encoding and Signaling Used

• 100BASE-TX at 100 Mbps over UTP– Block Encoding

• 4B/5B

– Line Signaling• MLT-3

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

12

Encoding and Signaling Used

• 1000BASE-T at 1000 Mbps over UTP– Block Encoding

• 4D-PAM-5

– Line Signaling• PAM-5

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

13

Encoding and Signaling Used

• 1000BASE-SX at 1000 Mbps over multimode fiber optic cable– Block Encoding

• 8B/10B

– Line Signaling• NRZ

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

14

Ethernet at Layer 1

• Let’s examine the copper based cabling methods first

• As it comes in off the UTP cable here is where we see the line signaling method as illustrated in the Dell white paper

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

15

Ethernet at Layer 1

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

16

Details on Each Method

• Let’s examine each of these in more detail

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

17

10BASE-T

• Block Encoding– Manchester

• Line Signaling– Differential

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

18

Manchester

• A Manchester code uses a level transition in the middle of each bit period

• For a binary 1, the first half of the period is high, and the second half is low

• For a binary 0, the first half is low, and the second half is high

• It is comprised of +/-2.5 Volt pulses, operating at frequencies of 5 MHz and 10 MHz

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

19

Differential

• A differential Manchester code also uses a transition in the middle of the bit period

• The difference lies in how the transition is interpreted

• To represent a 1, the level remains the same as it was at the end of the previous bit period and then changes at midpoint

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

20

Differential

• To represent a 0, the level changes both at the beginning of the bit period and at the end

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

21

10BASE-T Waveform

• The resulting signal looks like this

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

22

10BASE-T Waveform

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

23

100BASE-TX

• Block Encoding– 4B/5B

• Line Signaling– MLT-3

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

24

4B/5B

• Before the byte is transferred with MLT-3, it is first encoded using 4B/5B encoding

• With 4B/5B encoding, each hexadecimal 4-bit digit is encoded into an essentially uncorrelated 5-bit code, using the 4B/5B translation table

• For example

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

25

4B/5B

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

26

4B/5B

• The 4B/5B block encoding method takes 4 bits of data and expands it to 5 coded bits

• Four of the coded bits contain the actual data in accordance with the table

• The fifth bit is added to transmit additional information such as

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

27

4B/5B

– The receiving station needs to receive the clock signal in order to decode the data accurately

– Sending the clock separately would not be a very efficient use of cabling bandwidth

– The 5-bit code word can be chosen so that a clock transition is present often enough for the receiving station to regenerate the clock

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

28

4B/5B

• The extra bit also allows the code-words to be chosen carefully so that an equal number of logical 0s and 1s are transmitted which means the digital signal has no DC component

• The 4B/5B encoding allows some error correction capability to be incorporated into the data stream

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

29

MLT-3

• MLT-3 stands for Multi-Level Transition with three levels

• Those levels being three voltage levels• MLT-3 cycles between V to 0 to +V then

back to V, repeating indefinitely• A logical zero is encoded by stopping the

cycle for one transition• A logical one is encoded by continuing the

cycleCopyright 2008-2014 Kenneth M. Chipps Ph.D.

www.chipps.com30

MLT-3

• MLT-3 uses these voltage levels operating at a frequency of 125 MHz– -1– 0– +1

• The level stays the same for consecutive logical ones or zeros

• A change in a bit means a change in the voltage level

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

31

MLT-3

• The change occurs in a circular, pattern 0V, +1, 0, -1,0, +1

• This circular, sinusoidal pattern change means that MLT-3 encoded data sine wave of a much lower frequency that the original, making it ideally suited for high speed data transmission over UTP

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

32

MLT-3

• To reduce, or spread out the electromagnetic emission, a scrambling process is applied before the signal is MLT-3 modulated

• The scrambler produces a non-repetitive bit sequence of the bits to be transmitted

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

33

100BASE-TX Waveform

• The resulting signal looks like this

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

34

100BASE-TX Waveform

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

35

1000BASE-T

• Block Encoding– 4D-PAM-5

• Line Signaling– PAM-5

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

36

4D-PAM-5

• In 1000BASE-T the system transmits and receives data on four wire pairs simultaneously – the 4D - using five voltage levels - PAM5 at each twisted pair

• Each 8 bits are converted to one transmission of four quinary symbols

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

37

4D-PAM-5

• When using PAM-5 or Five Level Pulse Amplitude Modulation each transmitted symbol represents one of five different levels– -2– -1– 0– +1– +2

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

38

4D-PAM-5

• Typically only 4 voltage levels are needed to generate 2 bits/symbol because there are only 4 possible combinations of 2 bits – 00, 01, 10, 11

• The transmitter can send 4 combinations of 2 bits as 4 distinct voltages and the receiver can decode each voltage level into the corresponding 2-bit combination

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

39

4D-PAM-5

• A 4-level signal has voltage transitions every 2 bit periods while a binary signal could have voltage transitions every bit period

• Therefore, the rate of transitions, or symbol rate of a 4-level signal is half the frequency of a 2 level signal

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

40

4D-PAM-5

• Thus, a 250MB/s data signal can be transmitted at a rate of 125Msymbols/s with only 4 voltage levels

• The 5th level in the Enhanced TX/T2 system allows for redundant symbol states that are used for error-correction coding

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

41

4D-PAM-5

• Consequently, each of the four pairs attains 250 Mbps throughput, thus achieving 1 Gbps aggregate throughput over the four pairs

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

42

1000BASE-T Waveform

• The resulting signal looks like this

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

43

1000BASE-T Waveform

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

44

Ethernet at Layer 1

• Now let’s look at a fiber based method• As it comes in off the fiber optic cable here

is where we see the block encoding method as illustrated in a white paper from Juniper

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

45

Ethernet at Layer 1

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

46

1000BASE-SX

• Block Encoding– 8B/10B

• Line Signaling– NRZ

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

47

8B/10B

• In 8B/10B signaling every 8-bits of data is converted into a 10-bit symbol prior to transmission over the media

• The overhead associated with the extra bits requires that a signal transmission rate of 1.25 gigabaud be used to transfer a net 1000 Mbps of data

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

48

8B/10B

• The extra bits permit a unique symbol to be assigned for each valid 8-bit data combination, while allowing additional symbols to be defined to transfer control and other information

• Control symbols are used to signal conditions such as start of packet, end of packet, and idle

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

49

8B/10B

• This conversion is done utilizing a look-up table

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

50

NRZ

• NRZ - Non-Return-to-Zero line encoding is a binary code in which 1's are represented by one significant condition such as the presence or level of a signal and 0s are represented by some other significant condition such as an absence of a signal

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

51

1000BASE-SX Waveform

• The resulting signal looks like

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

52

1000BASE-SX Waveform

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

53

Wired Media Outside of a LAN

• Wired media is also used in larger networks such as campus, metropolitan, and wide area networks

• In these cases the wired media is always fiber optic cable

• Copper based cable should not be used for long runs in data networks other than those seen in the older proprietary telephone networks

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

54

Wired Media Outside of a LAN

• The block encoding and line signaling methods used in this longer distance networks varies by provider

• Ethernet and SONET based networks are common here

• To increase the throughput of these networks a multiplexing method is added

• To multiplex is to place more than one signal on the media at the same time

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

55

Wired Media Outside of a LAN

• Of course doing this requires that the signals be kept distinct in some way so they may be separated at the other end of the link

• There are several ways to do this• The two main ones used have been

– TDMA - Time Division Multiple Access– WDM – Wave Division Multiplexing

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

56

TDMA

• With TDMA each user is assigned the channel for an amount of time on a fixed, rotating basis

• The time slot is of a fixed or variable length for each station on its list of active stations

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

57

TDMA

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

58

TDMA

• Advantages of TDMA include – More efficient use of the bandwidth– Ability to send data and voice on the same

line• One disadvantage is that the channel

remains idle if the user has no data to transmit during the assigned time slot

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

59

TDMA

• Some systems are designed to sense the level of use and adjust the time slots accordingly

• These systems are also half duplex, as the channel can only send or receive, not both, during each cycle

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

60

WDM

• Wave division multiplexing is a version of frequency division multiplexing

• Except in this case colors of light are used to separate data

• There are two versions of this commonly used– CWDM – Coarse Wave Division Multiplexing– DWDM – Dense Wave Division Multiplexing

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

61

WDM

• Here is a slide from Steenbergen that shows this

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

62

WDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

63

WDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

64

CWDM

• Steenbergen defines CWDM this way

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

65

CWDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

66

CWDM

• CWDM normally uses 8 colors• For example a Cisco SFP uses the

following colors– Gray– Violet– Blue– Green

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

67

CWDM

– Yellow– Orange– Red– Brown

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

68

DWDM

• The difference between CWDM and DWDM is merely the number of colors used

• Steenbergen offers this about DWDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

69

DWDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

70

CWDM and DWDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

71

CWDM and DWDM

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

72

Sources

• The slides with the blue top are from a presentation to NANOG 57 in February 2013 by Richard Steenbergen

Copyright 2008-2014 Kenneth M. Chipps Ph.D. www.chipps.com

73

top related