Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Physical Layer Shivkumar Kalyanaraman Rensselaer Polytechnic Institute

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Physical Media PHYSICAL MEDIA.
Physical Layer (Part 2) Data Encoding Techniques
Chapter 2 Fundamentals of Data and Signals
Wireless Transmission Fundamentals (Physical Layer) Professor Honggang Wang
1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Physical Layer – Part 2 Data Encoding Techniques
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
Chapter 3 Data and Signals
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transmission Media Slide 1 Overview Guided - wire Unguided -
20101 The Physical Layer Chapter Bandwidth-Limited Signals.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
Physical Layer – Part 2 Data Encoding Techniques
IS250 Spring 2010 Physical Layer IS250 Spring 2010
1 Chapter 2 The Physical Layer The lowest layer of reference model. It defines the mechanical, electrical, and timing interfaces to the network.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Lecture 3 Data Encoding and Signal Modulation
Network Technology CSE3020 Week 2
The Physical Layer: Data Transmission Basics
Analog and Digital Transmission Interfaces and Multiplexing (Physical Layer) Lita Lidyawati 2012.
Physical Layer B. Konkoth.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
1 Physical Layer. 2 Analog vs. Digital  Analog: continuous values over time  Digital: discrete values with sharp change over time.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
CS3502, Data and Computer Networks: the physical layer-3.
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Lecture 3-1: Coding and Error Control
2-1 Physical Layer l Theoretical basis for data communications n Fourier analysis n distortion –by different attenuation rates of different frequency components.
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
1 Recap - Introduction. 2 Three Concepts Services Interfaces Protocols.
Sharif University of Technology The Physical Layer defines the mechanical, electrical, and timing interfaces to the network. Topics in this chapter: 
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 9.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Transmission Media Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CE 4228 Data Communications and Networking
Data Communications Chapter 5 Data Encoding.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 2 Physical layer.
Data Encoding Reading Assignment : Stallings Chapter 2, pp , Chapter 4, pp , , Terminology –Data entities that convey.
Introduction to Network (c) Nouf Aljaffan
Aegis School of Telecommunication 1 Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas Dean Telecom.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
Physical Layer (Part 2) Data Encoding Techniques Computer Networks Spring 2012.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Physical Layer (Part 1) Computer Networks C13.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
Advanced Computer Networks
Signal Encoding Techniques Ir. Hary Nugroho MT.. Data Transmission.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education,
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Feb. 2, 2004 Prof. Paul Lin 1 CPET The Physical Layer - Signal Encoding & Modems Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology.
1587: COMMUNICATION SYSTEMS 1 Digital Signals, modulation and noise Dr. George Loukas University of Greenwich,
The Physical Layer Chapter 2. The Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
KOMUNIKASI DATA Materi Pertemuan 10.
William Stallings Data and Computer Communications 7th Edition
CS441 – Mobile & Wireless Computing Communication Basics
Physical Layer (Part 2) Data Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
Physical Layer Theoretical basis for data communications
Physical Layer Theoretical basis for data communications
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Physical Layer Shivkumar Kalyanaraman Rensselaer Polytechnic Institute Based in part upon the slides of Prof. Raj Jain (OSU)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-2 q The physical layer problem q Theory: Frequency vs time domain, Information theory, Nyquist criterion, Shannon’s theorem q Link characteristics: bandwidth, error rate, attenuation, dispersion q Transmission Media: q UTP, Coax, Fiber q Wireless: Satellite Overview

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-3 The physical layer problem q Two nodes communicating on a “link or medium”. What does it take to get “bits” across the “link or medium” ? q This means understanding the physical characteristics (aka parameters) and limitations of the link, and developing techniques and components which allow cost-effective bit-level communications. AB

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-4 What is information, mathematically ? o Answer given by Shannon’s Information Theory o Information is created when you reduce uncertainty o So, can we quantify information ? o If X is a discrete random variable, with a range R = {x 1, x 2, …}, and p i = P{X = x i }, then: o  i >=1 ( - p i log p i ) = a measure of “information” provided by an observation of X. o This is called the “entropy” function. o The entropy function also happens to be a measure of the “uncertainty” or “randomness” in X.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-5 Time Domain vs Frequency Domain Fig a f f + 3f 3f f Frequency Time Ampl. Frequency domain is useful in the analysis of linear, time- invariant systems.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-6 Why Frequency Domain ? Ans: Fourier Analysis q Can write any periodic function g(t) with period T as:  g(t) = 1/2 c +  a n sin (2  nft) +  b n cos (2  nft) q f = 1/T is the fundamental frequency q a n and b n amplitudes can be computed from g(t) by integration q You find the component frequencies of sinusoids that it consists of… q The range of frequencies used = “frequency spectrum” q Digital (DC, or baseband) signals require a large spectrum q Techniques like amplitude, frequency or phase modulation use a sinusoidal carrier and a smaller spectrum q The width of the spectrum (band) available: “bandwidth”

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-7 Bits/s vs Baud vs Hertz q Data rate vs signal rate vs Bandwidth q Information is first coded using a “coding” scheme, and then the code (called “signal”) is mapped onto the available bandwidth (Hz) using a modulation scheme. q Signal rate (of the code) is the number of signal element (voltage) changes per second. This is measured in “baud.” The signal rate is also called “baud-rate”. q Each baud could encode a variable number of bits. So, the “bit rate” of the channel (measured in bits/sec) is the maximum number of bits that that be coded using the coding scheme and transmitted on the available available bandwidth. q The bit-rate is a fundamental link parameter.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-8 Modulation techniques Fig 3.6 A Sin(2  ft+  ) ASK FSK PSK

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-9 Application: 9600 bps Modems  4 bits  16 combinations  4 bits/element  1200 baud q 12 Phases, 4 with two amplitudes Fig 3.8

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-10 Coding Terminology q Signal element: Pulse q Signal Rate: 1/Duration of the smallest element =Baud rate q Data Rate: Bits per second q Data Rate = F(Bandwidth, encoding,...) q Bounds given by Nyquist and Shannon theorems… q Eg signaling schemes: Non-return to Zero (NRZ), Manchester coding etc Pulse Bit +5V 0 -5V +5V 0 -5V

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-11 Coding Formats

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-12 Coding Formats q Nonreturn-to-Zero-Level (NRZ-L) 0= high level 1= low level q Nonreturn to Zero Inverted (NRZI) 0= no transition at beginning of interval (one bit time) 1= transition at beginning of interval q Manchester 0=transition from high to low in middle of interval 1= transition from low to high in middle of interval q Differential Manchester Always a transition in middle of interval 0= transition at beginning of interval 1= no transition at beginning of interval

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-13 Limits of Coding: Nyquist's Theorem q Says that you cannot stretch bandwidth to get higher and higher data rates indefinitely. There is a limit, called the Nyquist limit (Nyquist, 1924) q If bandwidth = H; signaling scheme has V discrete levels, then: q Maximum Date Rate = 2 H log 2 V bits/sec q Implication 1: A noiseless 3 kHz channel cannot transmit binary signals at a rate exceeding 6000 bps q Implication 2: This means that binary-coded signal can be completely reconstructed taking only 2 H samples per second

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-14 Nyquist's Theorem (Cont) q Nyquist Theorem: Bandwidth = H Data rate < 2 H log 2 V  Bilevel Encoding: Data rate = 2  Bandwidth 0 5V  Multilevel Encoding: Data rate = 2  Bandwidth  log 2 V Example: V=4, Capacity = 4  Bandwidth So, can we have V -> infinity to extract infinite data rate out of a channel ?

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-15 Digitization & quantization in telephony q The Nyquist result is used in digitization where a voice-grade signal (of bandwidth 4 kHz) is sampled at 8000 samples/s. q The inter-sample time (125 usec) is a well-known constant in telephony. q Now each of these analog sample is digitized using 8 bits q These are also called quantization levels q This results in a 64kbps voice circuit, which is the basic unit of multiplexing in telephony. q T-1/T-3, ISDN lines, SONET etc are built using this unit q If the quantization levels are logarithmically spaced we get better resolution at low signal levels. Two ways: q  -law (followed in US and Japan), and A-law (followed in rest of world) => all international calls must be remapped.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-16 Telephony digitization: contd  Sampling Theorem: 2  Highest Signal Frequency  4 kHz voice = 8 kHz sampling rate 8 k samples/sec  8 bits/sample = 64 kbps q Quantizing Noise: S/N = 6n - a dB, n bits, a = 0 to 1

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-17 Nonlinear Encoding q Linear: Same absolute error for all signal levels q Nonlinear:More steps for low signal levels Fig 3.13

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-18 Effect of Noise: Shannon's Theorem q Bandwidth = H Hz Signal-to-noise ratio = S/N q Maximum data rate = H log 2 (1+S/N) q Example: Phone wire bandwidth = 3100 Hz S/N = 1000 Maximum data rate = 3100 log 2 (1+1000) = 30,894 bps This is an absolute limit. In reality, you can’t get very close to the Shannon limit.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-19 Decibels q Attenuation = Log 10 Pin Pout q Example 1: Pin = 10 mW, Pout=5 mW Attenuation = 10 log 10 (10/5) = 10 log 10 2 = 3 dB q Example 2: S/N = 30 dB => 10 Log 10 S/N = 30, or, Log 10 S/N = 3. S/N = 10 3 Bel Pin Pout deciBel q Attenuation = 10 Log 10 Vin Vout deciBel q Attenuation = 20 Log 10 Since P=V 2 /R

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-20 Other link issues: Attenuation, Dispersion

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-21 Real Media: Twisted Pair q Unshielded Twisted Pair (UTP) q Category 3 (Cat 3): Voice Grade. Telephone wire. Twisted to reduce interferece q Category 4 (Cat 4) q Category 5 (Cat 5): Data Grade. Better quality. More twists per centimeter and Teflon insulation 100 Mbps over 50 m possible q Shielded Twisted Pair (STP)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-22 Coaxial Cable Fig 2.20

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-23 Baseband Coaxial Cable  Better shielding  longer distances and higher speeds q 50-ohm cable used for digital transmission  Construction and shielding  high bandwidth and noise immunity q For 1 km cables, 1-2 Gbps is feasible  Longer cable  Lower rate

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-24 Broadband Coaxial Cable (Cont) q 75-ohm cable used for analog transmission (standard cable TV) q Cables go up to 450 MHz and run to 100 km because they carry analog signals q System is divided up into multiple channels, each of which can be used for TV, audio or converted digital bitstream q Need analog amplifiers to periodically strengthen signal

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-25 q Dual cable systems have 2 identical cables and a head- end at the root of the cable tree q Other systems allocate different frequency bands for inbound and outbound communication, e.g. subsplit systems, midsplit systems

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-26 Optical Fiber q Index=Index of referection =Speed in Vacuum/ Speed in medium Modes q Multimode q Single Mode Cladding Core Cladding

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-27 Fiber Optics q With current fiber technology, the achievable bandwidth is more than 50,000 Gbps q 1 Gbps is used because of conversion from electrical to optical signals q Error rates are negligible q Optical transmission system consists of light source, transmission medium and detector

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-28 q Pulse of light indicates a 1-bit and absence 0-bit q Detector generates electrical pulse when light falls on it q Refraction traps light inside the fiber q Fibers can terminate in connectors, be spliced mechanically, or be fused to form a solid connection q LEDs and semiconductor lasers can be used as sources  Tapping fiber is complex  topologies such as rings or passive stars are used

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-29 Wavelength Bands q 3 wavelength bands are used Fig 2-6

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-30 Wireless Transmission q The Electromagnetic Spectrum q Radio Transmission q Microwave Transmission q Infrared and Millimeter Waves q Lightwave Transmission q Satellite Transmission

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-31 Electromagnetic Spectrum Fig 2-11

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-32 Low-Orbit Satellites q As soon as a satellite goes out of view, another replaces it q May be the technology that breaks the local loop barrier Fig 2.57

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-33 Summary q Link characteristics: q Bandwidth, Attenuation, Dispersion q Theory: q Frequency domain and time domain q Nyquist theorem and Shannon’s Theorem q Coding, Bit, Baud, Hertz q Physical Media: UTP, Coax, Fiber, Satellite