1 CSE3213 Computer Network I Chapter 3.3-3.6 Digital Transmission Fundamentals Course page: Slides modified from Alberto.

Slides:



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

Fundamentals of Data & Signals (Part II) School of Business Eastern Illinois University © Abdou Illia, Spring 2015 (February18, 2015)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 DATA AND SIGNALS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Chapter 2 Data and Signals
TRANSMISSION FUNDAMENTALS Recap Questions/Solutions
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Physical Layer – Part 2 Data Encoding Techniques
TRANSMISSION FUNDAMENTALS Review
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
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet.
Networks: Data Encoding1 Data Encoding Techniques.
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.
Data Encoding Techniques
William Stallings Data and Computer Communications 7th Edition
Chapter 2 Fundamentals of Data and Signals
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Technology CSE3020 Week 2
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Data Communication Networks Lec 8 and 9. Physical Layer and Media Bottom-most layer. Interacts with transmission media. Physical part of the network.
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,
Formatting and Baseband Modulation
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
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.
Part 2 Physical Layer and Media
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
Chapter 15: Data Transmission Business Data Communications, 6e.
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.
EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz.
Data Communications Chapter 5 Data Encoding.
Computer Communication & Networks
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Chapter #5 Pulse Modulation
Aegis School of Telecommunication 1 Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas Dean Telecom.
Chapter 3 Digital Transmission Fundamentals Line Coding Error Detection and Correction.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Physical Layer: Data and Signals
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Physical Layer PART II. Position of the physical layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Electromagnetic Spectrum
ECE 4710: Lecture #13 1 Bit Synchronization  Synchronization signals are clock-like signals necessary in Rx (or repeater) for detection (or regeneration)
1 CSCD 433 Network Programming Fall 2011 Lecture 4 Physical Layer Transmission.
Chapter 7 Fundamentals of Digital Transmission. Baseband Transmission (Line codes) ON-OFF or Unipolar (NRZ) Non-Return-to-Zero Polar (NRZ)
Lecture Focus: Data Communications and Networking  Transmission Impairment Lecture 14 CSCS 311.
1 st semester 1436/  When a signal is transmitted over a communication channel, it is subjected to different types of impairments because of imperfect.
1 CSCD 433 Network Programming Fall 2013 Lecture 5a Digital Line Coding and other...
Advanced Computer Networks
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
1587: COMMUNICATION SYSTEMS 1 Digital Signals, modulation and noise Dr. George Loukas University of Greenwich,
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Data and Computer Communications Chapter 3 – Data Transmission.
Computer Engineering and Networks, College of Engineering, Majmaah University Some Basics Mohammed Saleem Bhat CEN-444 Networks Structure.
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
Computer Communication & Networks
What is Line Coding? Mapping of binary information sequence into the digital signal that enters the channel Ex. “1” maps to +A square pulse; “0” to –A.
Principios de Comunicaciones EL4005
William Stallings Data and Computer Communications 7th Edition
Signals Prof. Choong Seon HONG.
Fundamentals of Data & Signals (Part II)
Presentation transcript:

1 CSE3213 Computer Network I Chapter Digital Transmission Fundamentals Course page: Slides modified from Alberto Leon-Garcia and Indra Widjaja

2 Digital Representation of Analog Signals

3 Digitization of Analog Signals 1.Sampling: obtain samples of x(t) at uniformly spaced time intervals 2.Quantization: map each sample into an approximation value of finite precision –Pulse Code Modulation: telephone speech –CD audio 3.Compression: to lower bit rate further, apply additional compression method –Differential coding: cellular telephone speech –Subband coding: MP3 audio –Compression discussed in Chapter 12

4 Sampling Rate and Bandwidth A signal that varies faster needs to be sampled more frequently Bandwidth measures how fast a signal varies What is the bandwidth of a signal? How is bandwidth related to sampling rate? 1 ms t x 2 (t) t 1 ms x 1 (t)

5 Periodic Signals A periodic signal with period T can be represented as sum of sinusoids using Fourier Series: “DC” long-term average fundamental frequency f 0 =1/T first harmonic kth harmonic x(t) = a 0 + a 1 cos(2  f 0 t +  1 ) + a 2 cos(2  2f 0 t +  2 ) + … + a k cos(2  kf 0 t +  k ) + … | a k | determines amount of power in kth harmonic Amplitude specturm | a 0 |, | a 1 |, | a 2 |, …

6 Example Fourier Series T 2 = 1 ms t x 2 (t) t T 1 =0.25 ms x 1 (t) Only odd harmonics have power x 1 (t) = 0 + cos(2  4000t) + cos(2  3(4000)t) + cos(2  5(4000)t) + … 44 4545 4343 x 2 (t) = 0 + cos(2  1000t) + cos(2  3(1000)t) + cos(2  5(1000)t) + … 44 4545 4343

7 Spectra & Bandwidth Spectrum of a signal: magnitude of amplitudes as a function of frequency x 1 (t) varies faster in time & has more high frequency content than x 2 (t) Bandwidth W s is defined as range of frequencies where a signal has non-negligible power, e.g. range of band that contains 99% of total signal power Spectrum of x 1 (t) Spectrum of x 2 (t)

8 Bandwidth of General Signals Not all signals are periodic –E.g. voice signals varies according to sound –Vowels are periodic, “s” is noiselike Spectrum of long-term signal –Averages over many sounds, many speakers –Involves Fourier transform Telephone speech: 4 kHz CD Audio: 22 kHz s (noisy ) | p (air stopped) | ee (periodic) | t (stopped) | sh (noisy) X(f) f 0 WsWs “speech”

9 Sampler t x(t) t x(nT) Interpolation filter t x(t) t x(nT) (a) (b) Nyquist: Perfect reconstruction if sampling rate 1/T > 2W s Sampling Theorem

10 Digital Transmission of Analog Information Interpolation filter Display or playout 2W samples / sec 2W m bits/sec x(t) Bandwidth W Sampling (A/D) Quantization Analog source 2W samples / sec m bits / sample Pulse generator y(t) Original Approximation Transmission or storage

11 input x(nT) output y(nT)               Quantization error: “noise” = x(nT) – y(nT) Quantizer maps input into closest of 2 m representation values  /2 3  /2 5  /2 7  /2 -  /2 -3  /2 -5  /2 -7  /2 Original signal Sample value Approximation 3 bits / sample Quantization of Analog Samples

12 W = 4KHz, so Nyquist sampling theorem  2W = 8000 samples/second PCM (“Pulse Code Modulation”) Telephone Speech (8 bits/sample): Bit rate= 8000 x 8 bits/sec= 64 kbps Example: Telephone Speech

13 Channel Characteristics

14 Transmission Impairments Caused by imperfections of transmission media Analog signal: impairments degrade signal quality Digital signal: impairments cause bit errors Three main types of transmission impairments –Attenuation –Distortion –Noise

15 Attenuation Loss in power signal –A signal loses its energy while traveling through a medium –Loss in signal power as it is transferred across a system Overcome by boosting the signal –Analog  amplifiers –Digital  repeaters

16 Attenuation (cont.) Attenuation is usually expressed in decibel (dB) Atten.(f) =10 log 10 P in /P out [dB] P in /P out = A 2 in /A 2 out = 1/A 2 Atten.(f) =20 log 10 1/A 2 [dB] Channel t t A in cos 2  ftA out cos (2  ft +  (f)) A out A in A(f) =

17 Attenuation (cont.) Loss positive dB Gain negative dB Overall just sum them up

18 Channel Distortion Channel has two effects: –If amplitude response is not flat, then different frequency components of x(t) will be transferred by different amounts –If phase response is not flat, then different frequency components of x(t) will be delayed by different amounts In either case, the shape of x(t) is altered Let x(t) corresponds to a digital signal bearing data information How well does y(t) follow x(t)? y(t) =  A(f k ) a k cos ( 2  f k t + θ k + Φ(f k )) Channel y(t) x(t) =  a k cos ( 2  f k t + θ k )

19 Amplitude Distortion Let x(t) input to ideal lowpass filter that has zero delay and W c = 1.5 kHz, 2.5 kHz, or 4.5 kHz t 1 ms x(t) W c = 1.5 kHz passes only the first two terms W c = 2.5 kHz passes the first three terms W c = 4.5 kHz passes the first five terms  x(t) = sin( )cos(2  1000t) + sin( )cos(2  2000t) + sin( )cos(2  3000t) + … 44 44 44 44 2424 3434

20 Amplitude Distortion (cont.) As the channel bandwidth increases, the output of the channel resembles the input more closely

21 Noise Unwanted signals that get inserted or generated somewhere between a transmitter and a receiver Types of noise –Thermal noise: result of random motion of electrons  depends on temperature –Intermodulation noise: generated during modulation and demodulation –Crosstalk: effect of one wire on the other –Impulse noise: irregular pulses or noise spikes i.e. electromagnetic disturbances

22 Data Rate Limit Nyquist Theorem: maximum rate at which digital data can be transmitted over a channel of bandwidth B [Hz] is C = 2xBxlog 2 M [bps] M is a number of levels in digital signals Theoretical limit In practice we need to use both Nyquist and Shannon to find what data rate and signal levels are appropriate for each particular channel

23 signal noise signal + noise signal noise signal + noise High SNR Low SNR SNR = Average Signal Power Average Noise Power SNR (dB) = 10 log 10 SNR virtually error-free error-prone Channel Noise affects Reliability

24 If transmitted power is limited, then as M increases spacing between levels decreases Presence of noise at receiver causes more frequent errors to occur as M is increased Shannon Channel Capacity: The maximum reliable transmission rate over an ideal channel with bandwidth W Hz, with Gaussian distributed noise, and with SNR S/N is C = W log 2 ( 1 + S/N ) bits per second Reliable means error rate can be made arbitrarily small by proper coding Shannon Channel Capacity

25 Example Consider a 3 kHz channel with 8-level signaling. Compare bit rate to channel capacity at 20 dB SNR 3KHz telephone channel with 8 level signaling Bit rate = 2*3000 pulses/sec * 3 bits/pulse = 18 kbps 20 dB SNR means 10 log 10 S/N = 20 Implies S/N = 100 Shannon Channel Capacity is then C = 3000 log ( ) = 19, 963 bits/second

26 Line Coding

27 What is Line Coding? Mapping of binary information sequence into the digital signal that enters the channel –Ex. “1” maps to +A square pulse; “0” to –A pulse Line code selected to meet system requirements: –Transmitted power: Power consumption = $ –Bit timing: Transitions in signal help timing recovery –Bandwidth efficiency: Excessive transitions wastes bw –Low frequency content: Some channels block low frequencies long periods of +A or of –A causes signal to “droop” Waveform should not have low-frequency content –Error detection: Ability to detect errors helps –Complexity/cost: Is code implementable in chip at high speed?

28 Line coding examples NRZ-inverted (differential encoding) Unipolar NRZ Bipolar encoding Manchester encoding Differential Manchester encoding Polar NRZ

29 Spectrum of Line codes Assume 1s & 0s independent & equiprobable NRZ has high content at low frequencies Bipolar tightly packed around T/2 Manchester wasteful of bandwidth

30 Unipolar & Polar Non-Return-to-Zero (NRZ) Unipolar NRZ “1” maps to +A pulse “0” maps to no pulse High Average Power 0.5*A *0 2 =A 2 /2 Long strings of A or 0 –Poor timing –Low-frequency content Simple Polar NRZ “1” maps to +A/2 pulse “0” maps to –A/2 pulse Better Average Power 0.5*(A/2) *(-A/2) 2 =A 2 /4 Long strings of +A/2 or –A/2 –Poor timing –Low-frequency content Simple Unipolar NRZ Polar NRZ

31 Bipolar Code Three signal levels: {-A, 0, +A} “1” maps to +A or –A in alternation “0” maps to no pulse –Every +pulse matched by –pulse so little content at low frequencies String of 1s produces a square wave –Spectrum centered at T/2 Long string of 0s causes receiver to lose synch Zero-substitution codes Bipolar Encoding

32 Manchester code & mBnB codes “1” maps into A/2 first T/2, - A/2 last T/2 “0” maps into -A/2 first T/2, A/2 last T/2 Every interval has transition in middle –Timing recovery easy –Uses double the minimum bandwidth Simple to implement Used in 10-Mbps Ethernet & other LAN standards mBnB line code Maps block of m bits into n bits Manchester code is 1B2B code 4B5B code used in FDDI LAN 8B10b code used in Gigabit Ethernet 64B66B code used in 10G Ethernet Manchester Encoding

33 Differential Coding Errors in some systems cause transposition in polarity, +A become – A and vice versa –All subsequent bits in Polar NRZ coding would be in error Differential line coding provides robustness to this type of error “1” mapped into transition in signal level “0” mapped into no transition in signal level Same spectrum as NRZ Errors occur in pairs Also used with Manchester coding NRZ-inverted (differential encoding) Differential Manchester encoding