Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sam_CN_UNIT- Ib 1 1/14/2014 THE PHYSICAL LAYER Transmission (physical ) media THE PHYSICAL LAYER Transmission (physical ) media For the transmission of.

Similar presentations


Presentation on theme: "Sam_CN_UNIT- Ib 1 1/14/2014 THE PHYSICAL LAYER Transmission (physical ) media THE PHYSICAL LAYER Transmission (physical ) media For the transmission of."— Presentation transcript:

1 Sam_CN_UNIT- Ib 1 1/14/2014 THE PHYSICAL LAYER Transmission (physical ) media THE PHYSICAL LAYER Transmission (physical ) media For the transmission of bit stream from one machine to another, various physical media can be used They differ in terms of bandwidth, delay, cost, easy of installation and maintenance

2 Sam_CN_UNIT- Ib 2 1/14/2014 Transmission (physical) media Transmission media can be divided into 2 types, guided media and unguided media Transmission media can be divided into 2 types, guided media and unguided media Guided media – Magnetic media, Twisted Pair (copper wire), Coaxial Cable and fiber optics Guided media – Magnetic media, Twisted Pair (copper wire), Coaxial Cable and fiber optics Unguided media - radio, Microwave, Infrared and light wave transmission Unguided media - radio, Microwave, Infrared and light wave transmission

3 Sam_CN_UNIT- Ib 3 1/14/2014 Guided transmission media Magnetic media One of the most common ways to transport data from one computer to another is to write them onto magnetic tapes or floppy disks, physically transport the tapes or disks to the destination machine and read them back in again One of the most common ways to transport data from one computer to another is to write them onto magnetic tapes or floppy disks, physically transport the tapes or disks to the destination machine and read them back in again

4 Sam_CN_UNIT- Ib 4 1/14/2014 Guided Media: Twisted Pair Guided Media: Twisted Pair Twisted pair is the oldest and still most common transmission medium used in telephone system Twisted pair is the oldest and still most common transmission medium used in telephone system It consists of two insulated copper wires, typically about 1 mm thick. The wires are twisted together to reduce electrical interference from similar pairs close by It consists of two insulated copper wires, typically about 1 mm thick. The wires are twisted together to reduce electrical interference from similar pairs close by Twisted pairs can run several km without amplification, but for longer distances repeaters are needed Twisted pairs can run several km without amplification, but for longer distances repeaters are needed Twisted pairs can be used for either analog or digital transmission. The bandwidth depends on the thickness of the wire and the distance traveled (several mbps for a few km can be achieved) Twisted pairs can be used for either analog or digital transmission. The bandwidth depends on the thickness of the wire and the distance traveled (several mbps for a few km can be achieved)

5 Sam_CN_UNIT- Ib 5 1/14/2014 Twisted pair cabling comes in several varieties, two of which are important for computer networks: Twisted pair cabling comes in several varieties, two of which are important for computer networks: Category 3 twisted pairs - gently twisted, 4 pairs typically grouped together in a plastic sheath Category 3 twisted pairs - gently twisted, 4 pairs typically grouped together in a plastic sheath Category 5 twisted pairs - introduced in 1988. More twists per cm than category 3 and teflon insulation, which results in less crosstalk and better quality signal over longer distances Category 5 twisted pairs - introduced in 1988. More twists per cm than category 3 and teflon insulation, which results in less crosstalk and better quality signal over longer distances (a) Category 3 TP (b) Category 5 TP

6 Sam_CN_UNIT- Ib 6 1/14/2014 Guided Media: Coaxial Cable Outer conductor shields the inner conductor from picking up stray signal from the air High bandwidth ( 1 to 2 Gbps) but lossy channel Repeater is used to regenerate the weakened signals Two kinds of coaxial cables are widely used: Baseband(50-ohm) - used for digital transmissions Broadband(75-ohms) - used for analog transmissionsCategoryImpedanceUseRG-59 75 75 Cable TV RG-58 50 50 Thin Ethernet RG-11 50 50 Thick Ethernet Coaxial cable or coax is a copper-cored cable surrounded by a heavy shielding and is used to connect computers

7 Sam_CN_UNIT- Ib 7 1/14/2014 Guided media: Fiber Optics Optical fibers use light to send information through the optical medium. It uses the principal of total internal reflection Modulated light transmissions are used to transmit the signal

8 Sam_CN_UNIT- Ib 8 1/14/2014 Fiber Optic Networks Fiber optics can be used for LANs as well as for long-haul transmission Fiber optics can be used for LANs as well as for long-haul transmission Tapping onto it is more complex than connecting to a copper wire Tapping onto it is more complex than connecting to a copper wire Figure: A fiber optic ring with active repeaters

9 Sam_CN_UNIT- Ib 9 1/14/2014 Guided media: Fiber Optics (contd) Light travels through the optical media by the way of total internal reflection Light travels through the optical media by the way of total internal reflection Modulation scheme used is intensity modulation Modulation scheme used is intensity modulation Two types of Fiber media :Single and Multimode Two types of Fiber media :Single and Multimode Multimode Fiber can support less bandwidth than Single mode Fiber Multimode Fiber can support less bandwidth than Single mode Fiber Single mode Fiber has a very small core and carry only one beam of light. It can support Gbps data rates over > 100 Km without using repeaters Single mode Fiber has a very small core and carry only one beam of light. It can support Gbps data rates over > 100 Km without using repeaters

10 Sam_CN_UNIT- Ib 10 1/14/2014 Single and Multimode Fiber Single-mode fiber Single-mode fiber Carries light pulses along single path Carries light pulses along single path Uses Laser Light Source Uses Laser Light Source Multimode fiber Multimode fiber Many pulses of light generated by LED travel at different angles Many pulses of light generated by LED travel at different angles

11 Sam_CN_UNIT- Ib 11 1/14/2014 Comparison of Fiber Optics and Copper wire Advantages of fibers: much higher bandwidth low attenuation (30 km distance of repeaters vs. 5 km for copper) noise-resistance not affected by corrosive chemicals much lighter than copper - easier installation and maintenance difficult to tap - higher security Disadvantages of fiber: unfamiliar technology so far unidirectional communication more expensive interfaces than electrical ones

12 Sam_CN_UNIT- Ib 12 1/14/2014 Unguided (Wireless) Transmission media Provides mobility to communication nodes Right of way and cable laying costs can be reduced Susceptible to rain, atmospheric variations and objects in transmission path Very useful in difficult terrain where cable laying is not possible

13 Sam_CN_UNIT- Ib 13 1/14/2014 Unguided (Wireless) Transmission media Indoor : 10 – 50m : BlueTooth, WLAN Short range Outdoor : 50 – 200m: WLAN Mid Range Outdoor : 200m – 5 Km : GSM, CDMA, WLAN Point-to-Point, Wi-Max Long Range Outdoor : 5 Km – 100 Km : Microwave Point-to-Point Long Distance Communication : Across Continents : Satellite Communication

14 Sam_CN_UNIT- Ib 14 1/14/2014 Unguided (Wireless) Transmission media The Electromagnetic Spectrum: The amount of information that an electromagnetic wave can carry is related to its bandwidth. With current technology, it is possible to encode a few bits per hertz at low frequencies

15 Sam_CN_UNIT- Ib 15 1/14/2014 Unguided media: The Electromagnetic Spectrum BandRange Propagatio n Application VLF 3–30 KHz Ground Long-range radio navigation LF 30–300 KHz Ground Radio beacons and navigational locators MF 300 KHz–3 MHz Sky AM radio HF 3–30 MHz Sky Citizens band (CB), ship/aircraft communication VHF 30–300 MHz Sky and line-of-sight VHF TV, FM radio UHF 300 MHz–3 GHz Line-of- sight UHF TV, cellular phones, paging, satellite SHF 3–30 GHz Line-of- sight Satellite communication EHF 30–300 GHz Line-of- sight Long-range radio navigation

16 Sam_CN_UNIT- Ib 16 1/14/2014 Unguided media: Radio wave transmission Radio waves are easy to generate, can travel long distance, and penetrate buildings easily, so they are widely used for communication, both indoors and outdoors. Radio waves are also omnidirectional, meaning that they travel in all directions from the source, so that the transmitter and receiver do not have to be carefully aligned physically

17 Sam_CN_UNIT- Ib 17 1/14/2014 Unguided media: Radio wave transmission In the VLF, LF, and MF bands, radio waves follow the curvature of the earth

18 Sam_CN_UNIT- Ib 18 1/14/2014 Unguided media: Radio wave transmission In the HF they bounce off the ionosphere

19 Sam_CN_UNIT- Ib 19 1/14/2014 Unguided media: Microwave transmission Above 100 MHz, the waves travel in straight lines and can therefore be narrowly focused. Concentrating all the energy into a small beam using a parabolic antenna gives a much higher signal to noise ratio Since the microwaves travel in a straight line, if the towers are too far apart, the earth will get in the way. Consequently, repeaters are needed periodically

20 Sam_CN_UNIT- Ib 20 1/14/2014 Unguided media: Microwave transmission Disadvantages: do not pass through buildings well multipath fading problem (the delayed waves cancel the signal) absorption by rain above 8 GHz severe shortage of spectrum Advantages: no right way is needed (compared to wired media) relatively inexpensive simple to install

21 Sam_CN_UNIT- Ib 21 1/14/2014 Unguided media: Infrared and Millimeter Waves Unguided infrared and millimeter waves are widely used for short-range communication. The remote controls used on televisions, VCRs, and stereos all use infrared communication They are relatively directional, cheap, and easy to build, but have a major drawback: they do not pass through solid objects This property is also a plus. It means that an infrared system in one room will not interfere with a similar system in adjacent room. It is more secure against eavesdropping

22 Sam_CN_UNIT- Ib 22 1/14/2014 Unguided media: Light wave transmission Affected by fog or rain A modern application is to connect LANs in two buildings via lasers mounted on their rooftops It offers very high BW and very low cost

23 Sam_CN_UNIT- Ib 23 1/14/2014 Switching: Circuit switching Two different switching techniques are used inside the telephone system: circuit switching and packet switching When a user place a telephone call, the switching equipment within the telephone system seeks out a physical "copper" (including fiber and radio) path from the caller telephone to the callee telephone. This technique is called circuit switching (Fig.(a)). An important property of circuit switching is the need to set up an end-to-end path before any data can be sent.

24 Sam_CN_UNIT- Ib 24 1/14/2014 Switching: Circuit switching (contd) It takes some set-up time during which there is no data transmission in progress. Long set-up times are for many computer applications undesirable

25 Sam_CN_UNIT- Ib 25 1/14/2014 Message switching An alternative switching strategy is message switching (Fig (b)).It was first used for telegram In this case, no physical copper path is established in advance. Instead, the store-and- forward technique for the entire messages is applied. With message switching, there is no limit on block size, which means that routers must have disks to buffer long blocks. It also means that a single block may tie up a router-router line for minutes, rendering message switching useless for interactive traffic

26 Sam_CN_UNIT- Ib 26 1/14/2014 Packet switching To get around these problems of circuit switching, packet switching was invented Packet-switching networks place a tight upper limit on block size

27 Sam_CN_UNIT- Ib 27 1/14/2014 Packet switching (contd) So no user can monopolize any transmission line very long and therefore these networks are well suited to handle interactive traffic. A further advantage of packet switching over message switching is (Fig.(c)) that the first packet of a multipacket message can be forwarded before the second has fully arrived, reducing delay and improving throughput. For these reasons, computer networks are usually packet switched, occasionally circuit switched, but never message switched

28 Sam_CN_UNIT- Ib 28 1/14/2014 (a) Circuit switching (b) Message switching (c) Packet switching

29 Sam_CN_UNIT- Ib 29 1/14/2014 A comparison of circuit switched and packet-switched networks

30 Sam_CN_UNIT- Ib 30 1/14/2014 Encoding techniques: Line coding It is the process of converting binary data to a digital signal 0 1 0 1 1 1 0 0 1 0 1 1 1 0 The number of values allowed in a particular signal as the number of signal values The number of values used to represent data as the number of data levels Line coding

31 Sam_CN_UNIT- Ib 31 1/14/2014 00 00 1 111 00 00 1 101 Two signal levels, two data levels Three signal levels, Two data levels

32 Sam_CN_UNIT- Ib 32 1/14/2014 DC Component Some line coding schemes leave a residual direct-current (dc) component (zero- frequency) This component is undesirable for 2 reasons: 1.If the signal is to pass through a system that does not allow the passage of a dc component, the signal is distorted and may create errors in the output.

33 Sam_CN_UNIT- Ib 33 1/14/2014 2.This component is extra residing on the line and is useless 00 00 1 111 00001 1 11 Signal with dc component Signal without dc component

34 Sam_CN_UNIT- Ib 34 1/14/2014 DC Component The first signal has a dc component; the positive voltages are not cancelled by the –ve voltages The first signal has a dc component; the positive voltages are not cancelled by the –ve voltages The second has no dc component; the +ve voltages are canceled by any –ve voltages The second has no dc component; the +ve voltages are canceled by any –ve voltages The first does not pass through a transformer properly, the second The first does not pass through a transformer properly, the second does

35 Sam_CN_UNIT- Ib 35 1/14/2014 Line coding schemes Line coding UnipolarPolarBipolar Line coding NRZRZ Manchester Differential Manchester

36 Sam_CN_UNIT- Ib 36 1/14/2014 Unipolar: uses only one voltage level 00 00 1 111 Polar: Uses 2 voltage levels. one positive and one negative

37 Sam_CN_UNIT- Ib 37 1/14/2014 POLAR: NRZ ( Non-Return-to-Zero) Codes 2 popular forms are used, NRZ-L and NRZ-I Uses two different voltage levels (one positive and one negative) as the signal elements for the two binary digits. 1.NRZ-L(NRZ-Level) +ve voltage – 0 -ve voltage – 1 The voltage is constant during the bit interval NRZ-L is used for short distances between terminal and modem or terminal and computer

38 Sam_CN_UNIT- Ib 38 1/14/2014 Non-Return-to-Zero-Invert on ones) POLAR :NRZ- I (Non-Return-to-Zero-Invert on ones) 2.NRZ-I:It is the transition between +ve and –ve voltage. Signal change each time when a 1 is encountered. 0 bit is represented by no change.

39 Sam_CN_UNIT- Ib 39 1/14/2014 Manchester encoding Uses an inversion at the middle of each bit interval for both synchronization and bit representation A negative-to-positive transition represents a binary 1 A positive-to-negative transition represents a binary 0 Used in 802.3 baseband coaxial cable and CSMA/CD twisted pair

40 Sam_CN_UNIT- Ib 40 1/14/2014 Differential Manchester Encoding The inversion at the middle of the bit interval is used for synchronization, but the presence or absence of an additional transition at the beginning of the interval is used to identify the bit Transition means 0 No transition means binary 1 This coding is the opposite convention from NRZ-I Used in 802.5 (token ring) with twisted pair

41 Sam_CN_UNIT- Ib 41 1/14/2014 00 00 1 111 00 00 1 111 MANCHESTER DIFFERENTIAL MANCHESTER

42 Sam_CN_UNIT- Ib 42 1/14/2014 Bipolar encoding Uses three levels: +ve, zero and –ve. Zero level – 0 1s are represented by alternating positive and negative voltages even if the 1s are not consecutive A common bipolar encoding scheme is called bipolar alternate mark inversion (AMI) Mark – 1. neutral zero voltage – 0

43 Sam_CN_UNIT- Ib 43 1/14/2014 101 0 11001 Unipolar NRZ NRZ-Inverted (Differential Encoding) Bipolar Encoding Differential Manchester Encoding Polar NRZ Manchester Encoding

44 Sam_CN_UNIT- Ib 44 1/14/2014 Integrated Services Digital Network (ISDN) ISDN stands for Integrated Services Digital Network Its primary goal is to integrate the voice and non- voice services The key ISDN service will continue to be voice but with many enhanced features

45 Sam_CN_UNIT- Ib 45 1/14/2014 ISDN services Telephones with multiple buttons for instant call setup to arbitrary telephones anywhere in the world displaying the caller's telephone number, name and address while ringing connecting the telephone to a computer enabling the caller's database record to be displayed on the screen as the call comes in call forwarding conference calls worldwide on line medical, burglar, and smoke alarms giving the address to speed up response

46 Sam_CN_UNIT- Ib 46 1/14/2014 ISDN Architecture

47 Sam_CN_UNIT- Ib 47 1/14/2014 ISDN Architecture (contd) The key idea behind ISDN is that of the digital bit pipe between the customer and the carrier through which bits flow in both directions. Whether the bits originate from a digital telephone, a digital terminal, a digital facsimile machine, or some other device is irrelevant. The digital bit pipe can support multiple independent channels by time division multiplexing of the bit stream. Two principal standards for the bit pipe have been developed: a low bandwidth standard for home use, and a higher bandwidth standard for business use that supports multiple channels identical to the home use channels

48 Sam_CN_UNIT- Ib 48 1/14/2014 ISDN Architecture (contd) Normal configuration for a home consists of a network terminating device NT1 (Fig. (a)) placed on the customer's premises and connected to the ISDN exchange in the carrier's office using the twisted pair previously used to connect the telephone. Normal configuration for a home consists of a network terminating device NT1 (Fig. (a)) placed on the customer's premises and connected to the ISDN exchange in the carrier's office using the twisted pair previously used to connect the telephone. The NT1 box has a connector into which a bus cable can be inserted. Up to 8 ISDN telephones, terminals, alarms, and other devices can be connected to the cable. The NT1 box has a connector into which a bus cable can be inserted. Up to 8 ISDN telephones, terminals, alarms, and other devices can be connected to the cable. From the customer's point of view, the network boundary is the connector on NT1 From the customer's point of view, the network boundary is the connector on NT1

49 Sam_CN_UNIT- Ib 49 1/14/2014 ISDN Architecture (contd) For large businesses, the model of Fig. (b) is used. There is a device NT2 called PBX (Private Branch eXchange - conceptually the same as an ISDN switch) there connected to NT1 and providing the interface for ISDN devices. CCITT defined four reference points (Fig.): U reference point = connection between the ISDN exchange and NT1, T reference point = connector on NT1 to the customer, S reference point = interface between the ISDN PBX and the ISDN terminal, R reference point = the connection between the terminal adapter and non-ISDN terminal.

50 Sam_CN_UNIT- Ib 50 1/14/2014 The ISDN Interface The ISDN bit pipe supports multiple channels interleaved by time division multiplexing. Several channel types have been standardized: The ISDN bit pipe supports multiple channels interleaved by time division multiplexing. Several channel types have been standardized: A - 4 kHz analog telephone channel A - 4 kHz analog telephone channel B - 64 kbps digital PCM channel for voice or data B - 64 kbps digital PCM channel for voice or data C - 8 or 16 kbps digital channel for out-of- C - 8 or 16 kbps digital channel for out-of- band signaling D - 16 kbps digital band signaling D - 16 kbps digital channel for out-of-band signaling channel for out-of-band signaling E - 64 kbps digital channel for internal E - 64 kbps digital channel for internal ISDN signaling ISDN signaling H - 384, 1536, or 1920 kbps digital channel. H - 384, 1536, or 1920 kbps digital channel.

51 Sam_CN_UNIT- Ib 51 1/14/2014 The ISDN Interface (contd) Three combinations have been standardized so far: Basic rate: 2B + 1D. It should be viewed as a replacement for POTS (Plain Old Telephone Service). Each of the 64 kbps B channels can handle a single PCM voice channel with 8 bits samples made 8000 times per second. D channel is for signaling (i.e., to inform the local ISDN exchange of the address of the destination). The separate channel for signaling results in a significantly faster setup time. Primary rate: 23B + 1D (US and Japan) or 30B + 1D (Europe). It is intended for use at the T reference point for businesses with a PBX. Hybrid: 1A + 1C

52 Sam_CN_UNIT- Ib 52 1/14/2014 The ISDN Interface (contd) Because ISDN is so focused on 64 kbps channels, it is referred to as N-ISDN (Narrowband ISDN), in contrast to broadband ISDN (ATM) Fig. (a) Basic rate digital pipe. (b) Primary rate digital pipe.

53 Sam_CN_UNIT- Ib 53 1/14/2014 Broadband ISDN and ATM The N-ISDN was not going to solve the actual communication problems, it tried to think of a new service The result was broadband ISDN (B-ISDN), basically a digital virtual circuit for moving fixed- sized packets (cells) at 155 Mbps Broadband ISDN is based on ATM technology that is fundamentally a packet-switching technology

54 Sam_CN_UNIT- Ib 54 1/14/2014 Virtual Circuits versus Circuit Switching The basic broadband ISDN service is a compromise between pure circuit switching and pure packet switching The actual service offered is connection oriented, but it is implemented internally with packet switching Two kinds of connections are offered: Permanent virtual circuits - ordered by customers at carriers, remain in place for long time Switched virtual circuits - set up dynamically like telephone calls

55 Sam_CN_UNIT- Ib 55 1/14/2014 Virtual Circuits versus Circuit Switching The advantage of permanent over a switched virtual circuit is that there is no setup time, packets along permanent circuit can move instantly In a virtual circuit network, like ATM, when a circuit is established, what really happens is that route is chosen from source to destination, and all the switches (i.e., routers) along the way make table entries so that they can route any packet on that virtual circuit (Fig.). When a packet comes along, the switch inspects the packet header to find out which virtual circuit it belongs to. Then it looks up that virtual circuit in its tables to determine which communication line to send on

56 Sam_CN_UNIT- Ib 56 1/14/2014 Virtual circuit Fig. The dotted line shows a virtual circuit. It is simply defined by table entries inside the switches.

57 Sam_CN_UNIT- Ib 57 1/14/2014 Transmission in ATM Networks ATM stands for Asynchronous Transfer Mode. This mode can be contrasted with the synchronous T1 carrier (Fig.). ATM stands for Asynchronous Transfer Mode. This mode can be contrasted with the synchronous T1 carrier (Fig.).

58 Sam_CN_UNIT- Ib 58 1/14/2014 Transmission in ATM Networks T1: frames are generated precisely every 125 sec. This rate is governed by a master clock. Slot k of each frame contains 1 byte of data from the same source. ATM: has no requirements that cells rigidly alternate among the various sources. Cells arrive randomly from different sources. The stream of cells need not be continuous. Gaps between the data are filled by special idle cells. ATM does not standardize the format for transmitting cells. Cells are allowed to be sent individually

59 Sam_CN_UNIT- Ib 59 1/14/2014 In the original ATM standard, the primary rate was 155.52 Mbps, with an additional rate at four time that speed (622.08 Mbps). These rates were chosen to be compatible with SONET. ATM over T3 (44.736 Mbps) and FDDI (100 Mbps) is also foreseen. The transmission medium for ATM is normally fiber optics, but for runs under 100 m, coax or category 5 twisted pair are also acceptable. Each link goes between a computer and an ATM switch, or between two ATM switches. So, all ATM links are point-to-point. Each link is unidirectional. For full-duplex operation, two parallel links are needed. Transmission in ATM Networks

60 Sam_CN_UNIT- Ib 60 1/14/2014 B-ISDN ATM Reference Model

61 Sam_CN_UNIT- Ib 61 1/14/2014 B-ISDN ATM Reference Model It consists of 3 layers: Physical, ATM and ATM Adaptation Layer (AAL) plus what ever the user wants to put on top of that Physical Layer: Deals with physical medium: voltages, bit timing, media. It has 2 sub layers 1.Transmission convergence sub layer: Frame Generation. 2:Physical Medium Dependent sub layer: Flow of bits for cables ATM Layer: Deals with cells and cell transport. It defines the layout of a cell and tells what the header field mean. It also deals with establishment and release of virtual circuits. Congestion control too

62 Sam_CN_UNIT- Ib 62 1/14/2014 B-ISDN ATM Reference Model ATM Adaptation Layer: As most of the applications doesnt deal with cells directly, a layer above the ATM layer has been defined to allow users to send packets larger than a cell. The ATM interface segments these packets, transmits the cells individually and reassembles them at the other end It has 2 sub layers CS: Convergence Sub layer: Application Support SAR: Segmentation and reassemble sub layer. It packs the information received from cs into cells for transmission


Download ppt "Sam_CN_UNIT- Ib 1 1/14/2014 THE PHYSICAL LAYER Transmission (physical ) media THE PHYSICAL LAYER Transmission (physical ) media For the transmission of."

Similar presentations


Ads by Google