Chapter 2: Computer Networks

Similar documents
OSI Reference Model. Application Layer. Presentation Layer. Session Layer. Chapter 4: Application Protocols. Transport Layer.

Lecture 5 Transmission

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Class 4 ((Communication and Computer Networks))

Computer Networks

DATA TRANSMISSION. ermtiong. ermtiong

The Last Mile Problem

Physical Layer. Networked Systems 3 Lecture 5

Introduction to LAN/WAN. Physical Layer

Transmission Medium/ Media

Physical Layer. Networked Systems Architecture 3 Lecture 6

The Physical Layer Outline

Last Time. Transferring Information. Today (& Tomorrow (& Tmrw)) Application Layer Example Protocols ftp http Performance.

Computer Networks Lecture -4- Transmission Media. Dr. Methaq Talib

Maximum date rate=2hlog 2 V bits/sec. Maximum number of bits/sec=hlog 2 (1+S/N)

Chapter 2. Physical Layer

Figure 4-1. Figure 4-2 Classes of Transmission Media

Wireless Networks. Why Wireless Networks? Wireless Local Area Network. Wireless Personal Area Network (WPAN)

William Stallings Data and Computer Communications 7 th Edition. Chapter 4 Transmission Media

TECHNICAL ARTICLE: DESIGN BRIEF FOR INDUSTRIAL FIBRE OPTICAL NETWORKS

Books: 1. Data communications by William L Schweber 2. Data communication and Networking by Behrouz A F0rouzan

Transmission Media. - Bounded/Guided Media - Uubounded/Unguided Media. Bounded Media

Week 2 Lecture 1. Introduction to Communication Networks. Review: Analog and digital communications

is a method of transmitting information from one place to another by sending light through an optical fiber. The light forms an electromagnetic

Lectureo5 FIBRE OPTICS. Unit-03

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

CSE 461 Bits and Links. David Wetherall

Media. Twisted pair db/km at 1MHz 2 km. Coaxial cable 7 db/km at 10 MHz 1 9 km. Optical fibre 0.2 db/km 100 km

Module 3: Physical Layer

Optical Fiber Communications p. 1 Introduction p. 1 History of Optical Fibers p. 1 Optical Fibers Versus Metallic Cable Facilities p.

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

William Stallings Data and Computer Communications. Bab 4 Media Transmisi

CSEP 561 Bits and Links. David Wetherall

Data Transmission via Modem. The Last Mile Problem. Modulation of Digital Signals. Modem Standards (CCITT)

Optical Fiber. n 2. n 1. θ 2. θ 1. Critical Angle According to Snell s Law

CPSC Network Programming. How do computers really communicate?

CS601 Data Communication Solved Objective For Midterm Exam Preparation

Lecture 2: Links and Signaling. CSE 123: Computer Networks Stefan Savage

Lecture 2: Links and Signaling"

Introduction to Fiber Optics

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

ECE 435 Network Engineering Lecture 16

DEPARTMENT OF CSE QUESTION BANK

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal

CSE 461: Bits and Bandwidth. Next Topic

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

Transmission Media. Transmission Media 12/14/2016

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

DEFINITIONS AND FUNDAMENTAL PRINCIPLES IDC

Industrial Automation

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Transmission Media. Beulah A L/CSE. 2 July 2008 Transmission Media Beulah A. 1

Fiber Optic Communications Communication Systems

Chapter 3: Physical Layer

Module 2. Studoob.in - Where Learning is Entertainment

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

UNIT-1. Basic signal processing operations in digital communication

ECE 435 Network Engineering Lecture 20

Chapter 4: Practical Communication Systems. 18/09/2016 Nurul/DEE 3413/Practical Com System 1

Physical-Layer Services and Systems

Data Communications. Unguided Media Multiplexing

Lecture 21: Links and Signaling

In this section of my blog, I will be discussing different transmission methods and why those particular methods are used in particular situations:

COM 46: ADVANCED COMMUNICATIONS jfm 07 FIBER OPTICS

IST 220 Exam 1 Notes Prepared by Dan Veltri

CSE 561 Bits and Links. David Wetherall

2. The Basic principle of optical fibre (Or) Working principle of optical fibre (or) Total internal reflection

Chapter-1: Introduction

Department Of Computer Science ASSAM UNIVERSITY, SILCHAR

Fiber Optic Communication Systems. Unit-05: Types of Fibers.

Fiber Optic Principles. Oct-09 1

Telematics Chapter 3: Physical Layer

Point-to-Point Communications

ITL Basics of Encoding and Wiring

Copper and Fiber Optic Cables

Jaringan Komputer. Outline. The Physical Layer

EECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University

Physical Layer. Networked Systems (H) Lecture 3

Optical Communications and Networks - Review and Evolution (OPTI 500) Massoud Karbassian

Optical Fiber Communication

Examination Optoelectronic Communication Technology. April 11, Name: Student ID number: OCT1 1: OCT 2: OCT 3: OCT 4: Total: Grade:

Optical fibre. Principle and applications

ROM/UDF CPU I/O I/O I/O RAM

Chapter 4: Transmission Media

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Transmission Media. Two main groups:

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

Understanding and Inspecting THE DIGITAL BUS. by Jim Sparks

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

EE 304 TELECOMMUNICATIONs ESSENTIALS HOMEWORK QUESTIONS AND ANSWERS

Systems. Roland Kammerer. 29. October Institute of Computer Engineering Vienna University of Technology. Communication in Distributed Embedded

Data Communication (CS601)

Pulses in Fibers. Advanced Lab Course. University of Bern Institute of Applied Physics Biomedical Photonics

PRINCIPLES OF COMMUNICATION SYSTEMS. Lecture 1- Introduction Elements, Modulation, Demodulation, Frequency Spectrum

Data and Computer Communications. Chapter 3 Data Transmission

OPTICAL NETWORKS. Building Blocks. A. Gençata İTÜ, Dept. Computer Engineering 2005

Computer Networks MCQS MCQs Questions

There are lots of problems or challenges with fiber, Attenuation, Reflections, Dispersion and so on. So here we will look at these problems.

Transcription:

Chapter 2: Computer Networks 2.1: Physical Layer: representation of digital signals 2.2: Data Link Layer: error protection and access control 2.3: Network infrastructure 2.4 2.5: Local Area Network examples 2.6: Wide Area Network examples 2.7: DSL as Last Mile network Chapter 4: Application Protocols Chapter 3: Internet Protocols OSI Reference Model Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Computer Networks Physical Layer Page 1

Local Area Networks Communication infrastructure for a restricted geographical area (10 m up to some km) Usually maintained by one local organization Linked are PCs/Workstations/..., for exchanging information and sharing peripherals and resources Transmission capacity up to 1,000 Mbit/s Transmission delay of a message in the range of milliseconds (~10 ms) Simple connection structures ( Simple is beautiful ) Topologies Bus Star Ring Tree Meshed network LAN Page 2

Metropolitan Area Network (MAN) Designed for larger distances than a LAN, usage e.g. in a whole town Similar technologies as in a LAN In general, only 1 or 2 cables without additional components Main difference to LANs: Time slots MAN Page 3

Wide Area Network (WAN) Bridging of any distance Connects LANs and MANs over large distances Irregular topology, based on current needs Consists out of stations (routers) which are connected through point-to-point with each other Mostly quite complex interconnection of subnetworks which are owned by independent organizations WAN Router LAN Host Page 4

Layer 1 Physical Layer Connection parameters mechanical electric and electronic functional and procedural More detailed: Physical transmission medium (Copper cable, optical fiber, radio,...) Pin usage in network connectors Representation of raw bits (Code, voltage, etc.) Data rate Control of bit flow: serial or parallel transmission of bits synchronous or asynchronous transmission simplex, half-duplex or full-duplex transmission mode Page 5

Transmission Media Copper conductor Braided outer conductor Coaxial cable Twisted Pair Interior insulation Protective outer insulation Several media, varying in transmission technology, capacity, and bit error rate (BER) Glass core Optical fiber Satellites Glass cladding Plastic Radio connections Page 6

Twisted Pair Lehrstuhl für Informatik 4 Characteristics: Data transmission through electrical signals Problem: electromagnetic signals of the environment can disturb the transmission within copper cables Solution: two insulated, twisted copper cables Twisting reduces electromagnetic interference with environmental disturbances Simple principle (costs and maintenance) Well known (e.g. telephony) Can be used for digital as well as analogous signals Bit error rate ~ 10-5 Copper core Insulation Page 7

Types of Twisted Pair Category Category 3 Two insulated, twisted copper cables Shared protective plastic covering for four twisted cable pairs Category 5 Similar to Cat 3, but more windings/cm Covering is made of Teflon (better insulation, resulting in better signal quality on long distances) Category 6,7 Each cable pair is covered with an additional silver foil Used today mostly is Cat 5. Shielding UTP (Unshielded Twisted Pair) No additional shielding STP (Shielded Twisted Pair) Each cable pair is shielded separately to avoid interferences between the cable pairs Nevertheless, mostly UTP is used. Page 8

Coaxial Cable Lehrstuhl für Informatik 4 Structure Insulated copper cable as center conductor Braided outer conductor reduces environmental disturbances Interior insulation seperates center and outer conductor Braided outer conductor Copper conductor Interior insulation Protective outer insulation Characteristics: Higher data rates over larger distances than twisted pair: 1-2 GBit/sec up to 1 km Better shielding than for twisted pair, resulting in better signal quality Bit Error Rate ~ 10-9 Early networks were build with coaxial cable, in the last ten years however it was more and more replaced by twisted pair. Page 9

Optical Fiber Lehrstuhl für Informatik 4 Characteristics: Nearly unlimited data rate (theoretically up to 50.000 GBit/s) over very large distances Wavelength in the range of microns (determined by availability of light emitters and attenuation of electromagnetic waves: range of the wavelength around 0.85µm, 1.3µm and 1.55µm are used) Insensitive to electromagnetic disturbances Good signal-to-noise-ratio Bit Error Rate: ~ 10-12 Page 10

Optical Transmission Structure of an optical transmission system Optical source (converts electrical into optical signals; normally in the form 1 light pulse ; 0 no light pulse ) Communication medium (optical fiber) Detector (converts optical into electrical signals) electrical signal optical signal electrical signal optical source optical fiber optical detector Physical principle: Total reflection of light at another medium Medium 2 Medium 1 Refractive index: Indicates refraction effect relatively to air Page 11

Optical Fiber Lehrstuhl für Informatik 4 Structure of a fiber Core: optical glass (extremely thin) Internal glass cladding Protective plastic covering The transmission takes place in the core of the cable: Core has higher refractive index, therefore the light remains in the core Ray of light is reflected instead of transiting from medium 1 to medium 2 Refractive index is material dependent A cable consists of many fibers Medium 2 optical source (LED, Laser) Medium 1 (core) Medium 2 Page 12

Problems with Optical Fiber The ray of light is increasingly weakened by the medium! Absorption can weaken a ray of light gradually Impurities in the medium can deflect individual rays Dispersion (less bad, but transmission range is limited) Rays of light are spreading in the medium with different speed: - Ways (modes) of the rays of light have different length (depending on the angle of incidence) - Rays have slightly different wavelengths (and propagation speed) Refractive index in the medium is not constant (effect on speed) Here only a better quality of radiation source and/or optical fiber helps! kurzes, Electrical starkes input signal Signal Optical Glasfaser Fiber langes, Electrical schwaches output signal Signal Page 13

Types of Fiber Lehrstuhl für Informatik 4 The profile characterizes the fiber type: X axis: Size of refractive index Y axis: Thickness of core and cladding Note: Single mode does not mean that only one wave is simultaneous on the way. It means that all waves take the same way. Thus dispersion is prevented. Single mode fiber Core diameter: 8-10 µm All rays can only take one way No dispersion (homogeneous signal delay) Expensive due to the small core diameter r n 2 n 1 Page 14

Optical Fiber Types Simple multimode fiber Core diameter: 50 µm Different used wavelengths Different signal delays High dispersion r n 2 n 1 Multimode fiber with gradient index Core diameter: 50 µm Different used wavelengths Refractive index changes continuously Low dispersion r n 2 n 1 Page 15

Radiation Sources and Detectors Radiation sources Light emitting diodes (LED) cheap and reliable (e.g. regarding variations in temperature) broad wavelength spectrum, i.e. high dispersion and thus small range capacity is not very high Laser diodes expensive and sensitive high capacity small wavelength spectrum and thus high range Photon detector Photodiodes differ in particular within signal-to-noise ratio Through the usage of improved material properties of the fibers, more precise sources of light and thus reduction of the distances between the utilizable frequency bands, the amount of available channels constantly increases. Page 16

Encoding of Information Shannon: The fundamental problem of communication consists of reproducing on one side exactly or approximated a message selected on the other side. Objective: useful representation (encoding) of the information to be transmitted Encoding categories Source encoding (Layer 6 and 7) Channel encoding (Layer 2 and 4) Cable encoding (Layer 1) Encoding of the original message E.g. ASCII-Code (text), tiff (pictures), PCM (speech), MPEG (video), Representation of the transmitted data in code words, which are adapted to the characteristics of the transmission channel (redundancy). Protection against transmission errors through error-detecting and/or -correcting codes Physical representation of digital signals Page 17

Baseband and Broadband The transmission of information can take place either on the baseband or on broadband. This means: Baseband The digital information is transmitted over the medium as it is. For this, encoding procedures are necessary, which specify the representation of 0 resp. 1 (cable codes). Broadband The information is transmitted analogous (thereby: larger range), by modulating it onto a carrier signal. By the use of different carrier signals (frequencies), several information can be transferred at the same time. While having some advantages in data communications, broadband networks are rarely used baseband networks are easier to realize. But in optical networks and radio networks this technology is used. Page 18

Continuous vs. Discrete Transmission On baseband, discrete (digital) signals are transmitted. On broadband, continuous (analogous) signals are transmitted Signal theory: each periodical function (with period T) can be represented as a sum of weighted sinus functions and weighted cosinus functions: s( t) = a + [ a cos( 2πnFt) + b sin( πnft) ] 0 n n 2 n= 1 F = 1/T is base frequency Meaning: a series of digital signals can be interpreted as such a periodical function. Using Fourier Analysis: split up the digital representation in a set of analogous signals transported over the cable. Page 19

Analogous Representation of Digital Signals The original signal is approximated by continuously considering higher frequencies. But: Attenuation weakening of the signal Distortion the signal is going out of shape Reasons: The higher frequencies are attenuated more than lower frequencies. Speed in the medium depends on frequency Distortion from the environment Page 20

Cable Code: Requirements How can digital signals be represented electrically? As high robustness against distortion as possible 1 1 Transmission 0 0 T 2T 3T 4T 5T 6T 7T t 0 0 T 2T 3T 4T 5T 6T 7T t Efficiency: as high data transmission rates as possible by using code words binary code: +5V/- 5V? ternary code: +5 V/0V/- 5V? quaternary code: 4 states (coding of 2 bits at the same time) Synchronization with the receiver, achieved by frequent changes of voltage level regarding to a fixed cycle Avoiding direct current: positive and negative signals should alternatively arise Page 21

NRZ: Non Return to Zero Simple approach: Encode 1 as positive tension (+5V) Encode 0 as negative tension (- 5V) +5V 0 1 0 1 1 0 0 1-5V Advantage: Very simple principle The smaller the clock pulse period, the higher the data rate Disadvantage: Loss of clock synchronization as well as direct current within long sequences of 0 or 1 Page 22

Differential NRZ Differential NRZ: similar principle to NRZ Encode 1 as tension level change Encode 0 as missing tension level change +5V -5V 0 1 0 1 1 0 0 1 Very similar to NRZ, but disadvantages only hold for sequences of zeros. Page 23

Manchester Code For automatic synchronization, with each code element the clock pulse is transferred. Used is a tension level change in the middle of each bit: encode 0 as tension level change of positive (+5V) to negative (-5V) encode 1 as tension level change of negative (- 5V) to positive (+5V) +5V -5V 0 1 0 1 1 0 0 1 Advantages Clock synchronization with each bit, no direct current End of the transmission easily recognizable Disadvantage Capacity is used only half! Page 24

Differential Manchester Code Variant of the Manchester Code. Similar as it is the case for the Manchester code, a tension level change takes place in the bit center, additionally a second change is made: Encode 1 as missing level change between two bits Encode 0 as level change between two bits +5V -5V 0 1 0 1 1 0 0 1 Page 25

4B/5B Code Lehrstuhl für Informatik 4 Disadvantage of the Manchester code: 50% efficiency, i.e. 1B/2B Code (one bit is coded into two bits) An improvement is given with the 4B/5B Code: four bits are coded in five bits: 80% efficiency Functionality: Level change with 1, no level change with 0 (differential NRZ code) Coding of hexadecimal characters: 0, 1,, 9, A, B,, F (4 bits) in 5 bits, so that long zero blocks are avoided Selection of the most favorable 16 of the possible 32 code words (maximally 3 zeros in sequence) Further 5 bit combinations for control information Expandable to 1000B/1001B Codes? Page 26

4B/5B Code Table (used in FDDI) Decimal Data Transmitted Symbol Assignment 0 0000 00000 Q uiet -line state (status) 1 0001 00001 Invalid 2 0010 00010 Invalid 3 0011 00011 Invalid 4 0100 00100 Halt -line state (status) 5 0101 00101 Invalid 6 0110 00110 Invalid 7 0111 00111 R-Reset (logical 0)-control (control) 8 1000 01000 Invalid 9 1001 01001 Data 10 1010 01010 Data 11 1011 01011 Data 12 1100 01100 Invalid 13 1101 01101 T-Ending delimiter (control) 14 1110 01110 Data 15 1111 01111 Data 16 10000 Invalid 17 10001 K-starting delimiter (control) 18 10010 Data 19 10011 Data 20 10100 Data 21 10101 Data 22 10110 Data 23 10111 Data 24 11000 J-starting delimiter (control) 25 11001 S - set (logical 1) - control (control) 26 11010 Data 27 11011 Data 28 11100 Data 29 11101 Data 30 11110 Data Chapter 2.1: Physical 31 Layer 11111 Idle-line state (status) Worst case: 11100 01110 3 Zeros Page 27

Modes of Operation: Simplex, Half-duplex & Full-duplex Sendeeinrichtung Sender Simplex S Transmission in only one direction Distribution of information (broadcast, television) Medium Leitung Empfangseinrichtung Receiver E R Half-duplex Bi-directional operable transmission medium Transmission of the communication partners takes place mutually Communication partners must agree on who may send S E R single-railed railroad line RE S S Full-duplex simultaneous transmission in both directions realizable through: two cables a cable with two channels simultaneous sending with filtering S S RE E R S Page 28