Physical Layer: Signals, Capacity, and Coding

Slides:



Advertisements
Similar presentations
Chapter 3: DATA TRANSMISSION
Advertisements

Fundamentals of Data & Signals (Part II) School of Business Eastern Illinois University © Abdou Illia, Spring 2015 (February18, 2015)
Chapter 2 Fundamentals of Data and Signals
1 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Data and Computer Communications Data Transmission.
TRANSMISSION FUNDAMENTALS Recap Questions/Solutions
Chapter Two Fundamentals of Data and Signals
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
1/15 KLKSK Pertemuan III Analog & Digital Data Shannon Theorem xDSL.
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
Data and Computer Communications
TRANSMISSION FUNDAMENTALS Review
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
Introduction to Wireless Communications. Wireless Comes of Age Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding alphanumeric.
Chapter 3 Data and Signals
Chapter 15: Data Transmission Business Data Communications, 5e.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
William Stallings Data and Computer Communications 7th Edition
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
Network Technology CSE3020 Week 2
Modulation Modulation => Converts from digital to analog signal.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Noise and SNR. Noise unwanted signals inserted between transmitter and receiver is the major limiting factor in communications system performance 2.
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
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.
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
Chapter 3 – Data Transmission: Concepts and Terminology
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
CE 4228 Data Communications and Networking
Data Transmission. 1. Terminology Transmitter Receiver Medium —Guided medium e.g. twisted pair, optical fiber —Unguided medium e.g. air, water, vacuum.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
Data Encoding Reading Assignment : Stallings Chapter 2, pp , Chapter 4, pp , , Terminology –Data entities that convey.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
Data and Computer Communications by William Stallings Eighth Edition Data Transmission Click to edit Master subtitle style Networks and Communication Department.
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.
British Computer Society (BCS)
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Physical Layer PART II. Position of the physical layer.
ECE 4710: Lecture #13 1 Bit Synchronization  Synchronization signals are clock-like signals necessary in Rx (or repeater) for detection (or regeneration)
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
1 CSCD 433 Network Programming Fall 2013 Lecture 5a Digital Line Coding and other...
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 3 – Data Transmission.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
1587: COMMUNICATION SYSTEMS 1 Digital Signals, modulation and noise Dr. George Loukas University of Greenwich,
Data and Computer Communications Chapter 3 – Data Transmission.
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
Data and Computer Communications Chapter 3 – Data Transmission.
Dr. Clincy Professor of CS
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
William Stallings Data and Computer Communications 7th Edition
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Dr. Clincy Professor of CS
Physical Layer – Part 2 Data Encoding Techniques
Important Concepts at the Physical Layer
Fundamentals of Data & Signals (Part II)
Modulation Modulation => Converts from digital to analog signal.
Chapter 5. Data Encoding Digital Data, Digital Signals
Chapter 3. Data Transmission
Physical Layer – Part 2 Data Encoding Techniques
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
Chapter Three: Signals and Data Transmission
Presentation transcript:

Physical Layer: Signals, Capacity, and Coding CS 4251: Computer Networking II Nick Feamster Fall 2008

This Lecture What’s on the wire? How much will fit? Frequency, Spectrum, and Bandwidth How much will fit? Shannon capacity, Nyquist How is it represented? Encoding

Digital Domain Digital signal: signal where intensity maintains constant level for some period of time, and then changes to some other level Amplitude: Maxumum value (measured in Volts) Frequency: Rate at which the signal repeats Phase: Relative position in time within a single period of a signal Wavelength: The distance between two points of corresponding phase ( = velocity * period)

Any Signal: Sum of Sines Our building block: Add enough of them to get any signal f(x) you want! How many degrees of freedom? What does each control? Which one encodes the coarse vs. fine structure of the signal?

Fourier Transform Continuous Fourier transform: Discrete Fourier transform: F is a function of frequency – describes how much of each frequency f contains Fourier transform is invertible

Skipping a Few Steps Any square wave with amplitude 1 can be represented as:

Spectrum and Bandwidth Any time domain signal can be represented in terms of the sum of scaled, shifted sine waves The spectrum of a signal is the range of frequencies that the signal contains Most signals can be effectively represented in finite bandwidth Bandwidth also has a direct relationship to data rate…

Relationship: Data Rate and Bandwidth Goal: Representation of square wave in a form that receiver can distinguish 1s from 0s Signal can be represented as sum of sine waves Increasing the bandwidth means two things: Frequencies in the sine wave span a wider spectrum “Intervals” in the original signal occur more often [Include representation of square wave as sum of sine waves here. Derive data rate from bandwidth.]

Analog vs. Digital Signaling Analog signal: Continuously varying EM wave Digital signal: Sequence of voltage pulses Signal Analog Digital Signal occupies same spectrum as analog data Codec produces bitstream Digital data encoded using a modem Signal consists of two voltage levels Analog Data Digital

Transmission Impairments Attenuation The strength of a signal falls off with distance over any transmission medium Delay distortion Velocity of a signal’s propagation varies w/ frequency Different components of the signal may arrive at different times Noise

Attenuation Signal strength attentuation is typically expressed as decibel levels per unit distance Signal must have sufficient strength to be: Detected by the receiver Stronger than the noise in the channel to be received without error Note: Increasing frequency typically increases attentuation (often corrected with equalization)

Sources of Noise Thermal noise: due to agitation of electrons, function of temperature, present at all frequencies Intermodulation noise: Signals at two different frequencies can sometimes produce energy at the sum of the two Crosstalk: Coupling between signals

Channel Capacity The maximum rate at which data can be transmitted over a given communication path Relationship of Data rate: bits per second Bandwidth: constrained by the transmitter, nature of transmission medium Noise: depends on properties of channel Error rate: the rate at which errors occur How do we make the most efficient use possible of a given bandwidth? Highest data rate, with a limit on error rate for a given bandwidth

Nyquist Bandwidth Consider a channel that has no noise Nyquist theorem: Given a bandwidth B, the highest signal rate that can be carried is 2B So, C = 2B But (stay tuned), each signal element can represent more than one bit (e.g., suppose more than two signal levels are used) So … C = 2B lg M Results follow from signal processing Shannon/Nyquist theorem states that signal must be sampled at twice its highest rate to avoid aliasing

Shannon Capacity All other things being equal, doubling the bandwidth doubles the data rate What about noise? Increasing the data rate means “shorter” bits …which means that a given amount of noise will corrupt more bits Thus, the higher the data rate, the more damage that unwanted noise will inflict

Shannon Capacity, Formally Define Signal-to-Noise Ratio (SNR): SNR = 10 log (S/N) Then, Shannon’s result says that, channel capacity, C, can be expressed as: C = B lg (1 + S/N) In practice, the achievable rates are much lower, because this formula does not consider impulse noise or attenuation

Example Bandwidth: 3-4MHz S/N: 250 What is the capacity? How many signal levels required to achieve the capacity?

Modulation Baseband signal: the input Carrier frequency: chosen according to the transmission medium Modulation is the process by which a data source is encoded onto a carrier signal Digital or analog data can be modulated onto digital and analog signals

Data Rate vs. Modulation Rate Data rate: rate, in bits per second, that a signal is transmitted Modulation rate: the rate at which the signal level is changed (baud)

Digital Data, Digital Signals Simplest possible scheme: one voltage level to “1” and another voltage level to “0” Many possible other encodings are possible, with various design considerations…

Aspects of a Signal Spectrum: a lack of high-frequency components means that less bandwidth is required to transmit the signal Lack of a DC component is also desirable, for various reasons Clocking: Must determine the beginning and end of each bit position. Not easy! Requires either a separate clock lead, or time synchronization Error detection Interference/Noise immunity Cost and complexity

Nonreturn to Zero (NRZ) Level: A positive constant voltage represents one binary value, and a negative contant voltage represents the other Disadvantages: In the presence of noise, may be difficult to distinguish binary values Synchronization may be an issue

Improvement: Differential Encoding Example: Nonreturn to Zero Inverted Zero: No transition at the beginning of an interval One: Transition at the beginning of an interval Advantage Since bits are represented by transitions, may be more resistant to noise Disadvantage Clocking still requires time synchronization

Biphase Encoding Transition in the middle of the bit period Transition serves two purposes Clocking mechanism Data Example: Manchester encoding One represented as low to high transition Zero represented as high to low transition

Aspects of Biphase Encoding Advantages Synchronization: Receiver can synchronize on the predictable transition in each bit-time No DC component Easier error detection Disadvantage As many as two transitions per bit-time Modulation rate is twice that of other schemes Requires additional bandwidth