Presentation is loading. Please wait.

Presentation is loading. Please wait.

2014/10/11 1 Physical Layer. 2014/10/11 2 Purpose of Physical Layer Provides the means to transport across the network media the bits that make up a Data.

Similar presentations


Presentation on theme: "2014/10/11 1 Physical Layer. 2014/10/11 2 Purpose of Physical Layer Provides the means to transport across the network media the bits that make up a Data."— Presentation transcript:

1 2014/10/11 1 Physical Layer

2 2014/10/11 2 Purpose of Physical Layer Provides the means to transport across the network media the bits that make up a Data Link layer frame. –This layer accepts a complete frame from the Data Link layer and encodes it as a series of signals that are transmitted onto the local media. –The encoded bits that comprise a frame are received by either an end device or an intermediate device.

3 2014/10/11 3 At this stage of the communication process … User data has been segmented by the Transport layer Placed into packets by the Network layer Further encapsulated as frames by the Data Link layer The purpose of the Physical layer is to create the electrical, optical, or microwave signal that represents the bits in each frame. –These signals are then sent on the media one at a time.

4 2014/10/11 4 It is also the job of the Physical layer to … Retrieve these individual signals from the media Restore them to their bit representations Pass the bits up to the Data Link layer as a complete frame.

5 2014/10/11 5 Delivery of frames across the local media requires … The physical media and associated connectors A representation of bits on the media Encoding of data and control information Transmitter and receiver circuitry on the network devices

6 2014/10/11 6 Physical Layer

7 2014/10/11 7 Physical Layer Operation The media does not carry the frame as a single entity –The media carries signals, one at a time, to represent the bits that make up the frame.

8 2014/10/11 8 Three basic forms of network media Copper cable –Coaxial cable –Twisted pairs (UTP or STP) Fiber Wireless

9 2014/10/11 9 Representations of signals on Media

10 2014/10/11 10 Identifying a Frame When the Physical layer encodes the bits into the signals for a particular medium, it must also distinguish where one frame ends and the next frame begins. –Otherwise, the devices on the media would not recognize when a frame has been fully received or … the destination device would not be able to properly reconstruct the frame

11 2014/10/11 11 Identifying a Frame Although, indicating the beginning of frame is often a function of the Data Link layer. –However, in many technologies, the Physical layer may add its own signals to indicate the beginning and end of the frame.

12 2014/10/11 12 Identifying a Frame To enable a receiving device to clearly recognize a frame boundary, the transmitting device adds signals to designate the start and end of a frame. –These signals represent particular bit patterns that are only used to denote the start or end of a frame.

13 2014/10/11 13 Physical Layer Standard

14 2014/10/11 14 Physical layer standards defined … Physical and electrical properties of the media Mechanical properties (materials, dimensions, pinouts) of the connectors Bit representation by the signals (encoding) Definition of control information signals

15 2014/10/11 15 Signals

16 2014/10/11 16 Connectors

17 2014/10/11 17 Cables

18 2014/10/11 18 Three fundamental functions of the Physical layer The physical components Data encoding Signaling

19 2014/10/11 19 Encoding & Signaling Encoding is a method of converting a stream of data bits into a predefined code. The method of representing the bits is called the signaling method

20 2014/10/11 20 Ways to represent signal in medium Bit Time

21 2014/10/11 21 Example – NRZ (Non-Return to Zero) A 0 may be represented by one voltage level on the media during the bit time and a 1 might be represented by a different voltage on the media during the bit time.

22 2014/10/11 22 NRZ This simple method of signaling is only suited for slow speed data links. NRZ signaling –uses bandwidth inefficiently –is susceptible to electromagnetic interference –the boundaries between individual bits can be lost when long strings of 1s or 0s are transmitted consecutively

23 2014/10/11 23 Example – Manchester Encoding (used by 10 Mbps Ethernet) Use transitions, or the absence of transitions, to indicate a logic level. –indicates a 0 by a high to low voltage transition in the middle of the bit time. –indicates a 1 by a low to high voltage transition in the middle of the bit time.

24 2014/10/11 24 Encoding – grouping of bits In this section, we use of the word encoding to represent the symbolic grouping of bits prior to being presented to the media. By using an encoding step before the signals are placed on the media, we improve the efficiency at higher speed data transmission.

25 2014/10/11 25 Grouping of bits  Coding Group The higher the speeds on the media, the more likely that data will be corrupted. –By using the coding groups, we can detect errors more efficiently. As the demand for data speeds increase, we seek ways to represent more data across the media, by transmitting fewer bits. –Coding groups provide a method of making this data representation.

26 2014/10/11 26 Code Group A code group is a consecutive sequence of code bits that are interpreted and mapped as data bit patterns. –For example, code bits could represent the data bits 0011 –Often used as an intermediary encoding technique for higher speed LAN technologies.

27 2014/10/11 27 Code Groups

28 2014/10/11 28 By transmitting symbols … Both the error detection capabilities and timing synchronization between transmitting and receiving devices are enhanced. –These are important considerations in supporting high speed transmission over the media. may introduce overhead in the form of extra bits to transmit, but improve the robustness of a communications link.

29 2014/10/11 29 Example of Code Group (4B/5B encoding used in 100base-TX) In 4B/5B, each byte to be transmitted is broken into four-bit pieces or nibbles and encoded as five-bit values known as symbols. –4 bits of data are turned into 5-bit code symbols for transmission over the media system.

30 2014/10/11 30 NO more than one leading 0 and NO more than two trailing 0s

31 2014/10/ B/5B Code Symbols 16 of the possible 32 combinations of code groups are allocated for data bits the remaining code groups are used for control symbols and invalid symbols. –6 of the symbols are used for special functions identifying the transition from idle to frame data and end of stream delimiter. –The remaining 10 symbols indicate invalid codes.

32 2014/10/ B/5B Code Symbols 4B/5B ensures that there is at least one level change per code to provide synchronization. Most of the codes used in 4B/5B balance the number of 1s and 0s used in each symbol Unused symbols can be used to detect errors in the data stream

33 2014/10/11 33 Advantages using code groups Reducing bit level error Limiting the effective energy transmitted into the media Helping to distinguish data bits from control bits Better media error detection

34 2014/10/11 34 Reducing bit level error To properly detect an individual bit, the receiver must know how and when to sample the signal on the media. –requires the timing between the receiver and transmitter be synchronized This synchronization requires frequent transitions of bit state on the media –Code groups are designed so that an ample number of bit transitions to occur on the media –They do this by using symbols to ensure that not too many 1s or 0s are used in a row.

35 2014/10/11 35 Limiting energy transmitted into the media In many code groups, the symbols ensure that the number of 1s and 0s in a string of symbols are evenly balanced. –The process of balancing the number of 1s and 0s transmitted is called DC balancing. –This prevents excessive amounts of energy from being injected into the media

36 2014/10/11 36 Distinguish Data from Control The code groups have three types of symbols: –Data symbols –Control symbols –Invalid symbols The symbols representing the data have different bit patterns than the symbols used for control. –These differences allow the Physical layer in the receiving node to distinguish data from control information.

37 2014/10/11 37 Better Media Error Detection Invalid symbols are the symbols that could create long series of 1s or 0s on the media –they are not used by the transmitting node. –If a receiving node receives one of these patterns, the Physical layer can determine that there has been an error in data reception.

38 2014/10/11 38 Three ways measuring data transfer Bandwidth Throughput Goodput

39 2014/10/11 39 Bandwidth Digital bandwidth measures the amount of information that can flow from one place to another in a given amount of time. –typically measured in kilobits per second (kbps) or megabits per second (Mbps). The practical bandwidth of a network is determined by a combination of factors –the properties of the physical media and the technologies chosen for signaling and detecting network signals

40 2014/10/11 40 Throughput Throughput is the measure of the transfer of bits across the media over a given period of time. –throughput usually does not match the specified bandwidth in Physical layer implementations such as Ethernet. Many factors influence throughput. Among these factors are … –the amount of traffic –the type of traffic –and the number of network devices encountered on the network being measured

41 2014/10/11 41 Goodput Goodput is the measure of usable data transferred over a given period of time –of most interest to network users. Goodput accounts for bits devoted to protocol overhead. –throughput minus traffic overhead for establishing sessions, acknowledgements, and encapsulation

42 2014/10/11 42 Types of Media Copper Fiber Wireless

43 2014/10/11 43 Standards usually define … (example for copper media) Type of copper cabling used Bandwidth of the communication Type of connectors used Pinout and color codes of connections to the media Maximum distance of the media

44 2014/10/11 44 Copper media

45 2014/10/11 45 Unshielded Twisted Pairs (UTP)

46 2014/10/11 46 Shielded Twisted Pairs (STP)

47 2014/10/11 47 EIA/TIA Pin-out definition

48 2014/10/11 48 Cross-Connect (EIA 568B) for directly connecting two hubs/switches, or two computers Tx+ Tx- Rx+ X X Rx- X X WO O WG B WB G WBr Br WG G WO B WB O WBr Br

49 2014/10/11 49 Straight Through (EIA 568B) for connecting computers to hubs/switches Tx+ Tx- Rx+ X X Rx- X X WO O WG B WB G WBr Br

50 2014/10/11 50 Roll Over (EIA 568B) for connecting computer to router, console cables Tx+ Tx- Rx+ X X Rx- X X WO O WG B WB G WBr Br Br WBr G WB B WG O WO

51 2014/10/11 51 Copper Media Connectors

52 2014/10/11 52 Good Wiring Practice

53 2014/10/11 53 Coaxial Cable

54 2014/10/11 54 Safety of Copper Media Undesirable voltages and currents can include damage to network devices and connected computers, or injury to personnel. –It is important that copper cabling be installed appropriately, and according to the relevant specifications and building codes

55 2014/10/11 55 Safety of Copper Media Cable insulation and sheaths may be flammable or produce toxic fumes when heated or burned. Building authorities or organizations may stipulate related safety standards for cabling and hardware installations.

56 2014/10/11 56

57 2014/10/11 57 Fiber Cable

58 2014/10/11 58

59 2014/10/11 59 Modes of Fiber

60 2014/10/11 60 Single Mode Fiber usually emitted from a laser

61 2014/10/11 61 單模光纖 當光纖直徑降至光波長的幾倍時, 光纖將如光波 導管, 且光線只能直線前進, 成為單一模式光纖 (Single-mode fiber)

62 2014/10/11 62 Multi Mode Fiber usually emitted from a LED

63 2014/10/11 63 全反射與光纖訊號傳遞

64 2014/10/11 64 直徑比較

65 2014/10/11 65 Example of Fiber Spec

66 2014/10/11 66 Wireless Media

67 2014/10/11 67 Types of Wireless Networks

68 2014/10/11 68

69 2014/10/11 69 Characteristics of Ethernet Media

70 2014/10/11 70 Characteristics of Wireless Media


Download ppt "2014/10/11 1 Physical Layer. 2014/10/11 2 Purpose of Physical Layer Provides the means to transport across the network media the bits that make up a Data."

Similar presentations


Ads by Google