1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...

Slides:



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

Topics discussed in this section:
(Data and Signals - cont)
Pensinyalan (2) Perbandingan antara sinyal analog dan digital.
CMP206 – Introduction to Data Communication & Networks Lecture 3 – Bandwidth.
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.
Lecture 26 Physical Layer Ch 4: Digital Transmission
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
1 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
Theoretical basis for data communication
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Chapter Two Fundamentals of Data and Signals
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
Chapter 4 Digital Transmission
Computer Networks1 Chapter 4 Digital Transmission.
Lab 2 COMMUNICATION TECHNOLOGY II. Capacity of a System The bit rate of a system increases with an increase in the number of signal levels we use to denote.
Chapter 2 Fundamentals of Data and Signals
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Chapter 3 Data and Signals
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.
Local Asynchronous Communication
1 Computer Communication & Networks Lecture 5 Physical Layer: Data & Signals Waleed Ejaz
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Part 2 Physical Layer and Media
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Communications Chapter 5 Data Encoding.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
1 Kyung Hee University Digital Transmission. 2 Kyung Hee University 4 장 Digital Transmission 4.1 Line Coding 4.2 Block Coding 4.3 Sampling 4.4 Transmission.
การสื่อสารข้อมูลและเครือข่าย คอมพิวเตอร์ Data Communication and Networks บทที่ 2 พื้นฐานข้อมูลและ สัญญาณ อาจารย์ผู้สอน : ดร. วีรพันธุ์ ศิริฤทธิ์ .
BZUPAGES.COM 4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
British Computer Society (BCS)
Chapter 4 Digital Transmission.
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
Physical Layer PART II. Position of the physical layer.
Data Comm. & Networks Lecture 6 Instructor: Ibrahim Tariq.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Spring 2007Data Communications, Kwangwoon University4-1 Chapter 4. Digital Transmission 1.Digital-to-Digital Conversion 2.Analog-to-Digital Conversion.
Electromagnetic Spectrum
Chapter 3 Data and Signals. 3.2 Last Lecturer Summary Bit Rate Bit Length Digital Signal as a Composite Analog Signal Application Layer Distortion Noise.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Channel capacity A very important consideration in data communications is how fast we can send data, in bits per second, over a channel.
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.
Spring 2006Data Communications, Kwangwoon University3-1 Chapter 3. Signals 1.Analog and digital 2.Analog signals 3.Digital signals 4.Analog versus digital.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 CSCD 433 Network Programming Fall 2013 Lecture 5a Digital Line Coding and other...
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
Chapter 3 TRANSMISSION IMPAIRMENT. 3-4 TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes.
Powerpoint Templates Computer Communication & Networks Week # 04 1 Lecture only.
Channel Capacity Bandwidth – In cycles per second of Hertz – Constrained by transmitter and medium Data rate – In bits per second – Rate at which data.
Computer Communication & Networks
Chapter 4. Digital Transmission
CSCD 433/533 Network Programming
. Who is Most Merciful and Beneficial With the Name of Allah
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Nyquist and Shannon Capacity
CSCD 433 Network Programming
Sampling Theorems- Nyquist Theorem and Shannon-Hartley Theorem
CSE 313 Data Communication
Topics discussed in this section:
Presentation transcript:

1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...

Physical Layer Topics Digital transmission of digital data Physical limits of networks for data Encoding data onto signals 2

Summary so Far Analog Communication – Objective is to transform waveform – Varies continuously with time – Distortions unavoidable – More difficult to reproduce signal at receiver Digital Communication – Objective is to transmit a symbol – Binary is 0 or 1 – Done by transmitting positive voltage for 1, negative voltage for 0 – Receiver interprets symbol – Can handle a lot of distortion and still discern symbol

Purpose of Digital Transmission Transfer sequence of 0's and 1's from transmitter on left to receiver on right Interested in bit rate in bits/s Can look at cross section of pipe, R Think of channel as pipe diameter As R increases, volume of information flow/s increases d meters Channel transmit receive R

Summary of Analog and Digital Conversions

6 Data Rate Limits Important consideration in data communications is How fast we can send data, in bits per second, over a channel? Also concerned with errors... Data rate depends on three factors: 1. Available bandwidth 2. Number of levels used to represent signals 3. Quality of the channel (the level of noise)

7 Fundamental Limits of Digital Transmission Quality measured by: 1. Transmission speed or bit rate 2. Bit error rate in fraction of bits received in error

8 Nyquist Maximum 1924, Henry Nyquist of AT&T developed an equation for a perfect channel with finite capacity His equation expresses – Maximum data rate for a finite bandwidth noiseless channel – Noiseless means no measurement for errors

9 Noiseless Channel: Nyquist Bit Rate Defines theoretical maximum bit rate for Noiseless Channel Bit Rate = 2 X Bandwidth X log 2 L L = number of signal levels

Digital Signals can be encoded for optimal transmission For example, 1 can be encoded as positive voltage and 0 as zero voltage But, digital signals can have more than two levels In this case, we can send more than 1 bit for each level. 10 Signal Levels of Digital Signals

Ex. Two digital signals: one with two signal levels and the other with four signal levels 11

12 Example 1 Have a noiseless channel Bandwidth of 3000 Hz transmitting a signal with two signal levels The maximum bit rate can be calculated as Bit Rate = 2  3000  log 2 2 = 6000 bps log2(2) = 1

13 Example 2 Consider the same noiseless channel Transmitting a signal with four signal levels – For each level, we send two bits The maximum bit rate can be calculated as: Bit Rate = 2 x 3000 x log 2 4 = 12,000 bps Bit Rate = 2 x 3000 x log 2 4 = 12,000 bps log2(4) = 2 log2(4) = 2

14 We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we need? Solution We can use the Nyquist formula: Example 3 Since this result is not a power of 2, we need to either increase number of levels or reduce bit rate. If we have 128 levels, the bit rate is 280 kbps. If we have 64 levels, the bit rate is 240 kbps.

15 Increasing the levels of a signal may reduce the reliability of the system Note

16 Capacity of a System Bit rate of a system increases with an increase in number of signal levels we use to denote symbol A symbol can consist of a single bit or “n” bits. The number of signal levels = 2 n. But, as number of levels goes up, spacing between level decreases -> Increasing probability of an error occurring presence of transmission noise

17 Increasing Levels In theory, can increase the bit rate by increasing the number of levels Yet, random noise limits the bit rate in practice Noise causes measurement system to make mistakes

18 What is Communication Channel Noise? Noise Interference from sources like radio waves Electrical wires, and Bad connections that alter the data Distortion Alteration in signal caused by communication channel itself Noise generated by components is categorized as thermal noise Also known as additive noise.

19 Claude Shannon Noisy Channel Claude Shannon developed mathematical theory in 1940's for noisy channels Then, defined amount of information that a message could carry This allowed networks to plan for capacity of information

20 Noisy Channel: Shannon Capacity Defines theoretical maximum bit rate for Noisy Channel: Capacity = Bandwidth X log 2 (1+SNR)

21 Examples of Nyquist and Shannon Formulas

22 Example 1 Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero In other words, the noise is so strong that the signal is faint, Eq. Capacity = Bandwidth X log 2 (1+SNR) For this channel capacity is calculated as: C = B log 2 (1 + SNR) = B log 2 (1 + 0) = B log 2 (1) = B  0 = 0

23 C = B log 2 (1) = B X 0 = 0 This means that the capacity of this channel is zero regardless of the bandwidth In other words, we cannot receive any data through this channel !!! Result of High Noise

24 Example 2 We can calculate theoretical highest bit rate of a regular telephone line A telephone line normally has bandwidth of 3000 bps The signal-to-noise ratio is usually 3162 For this channel the capacity is calculated as C = B log 2 (1 + SNR) = 3000 log 2 ( ) = 3000 log 2 (3163) C = 3000  = 34,860 bps

25 Example continued C = 3000 X11.62 = 34,860 bps Result C = 3000 X11.62 = 34,860 bps This means that highest bit rate for a telephone line is kbps If we want to send data faster than this, we can either increase bandwidth of line or improve signal-to-noise ratio.

26 Example 3 We have channel with 1 MHz bandwidth The SNR for this channel is 63, What is the appropriate bit rate and signal level? Solution C = B log 2 (1 + SNR) = 10 6 log 2 (1 + 63) = 10 6 log 2 (64) = 6 Mbps Then we use Nyquist formula to find the number of signal levels. 6 Mbps = 2  1 MHz  log 2 L 6,000,000 2,000,000 = log 2 L L = 2 3  L = 8 First, we use Shannon's formula to find our upper limit of channel capacity

27 The Shannon capacity gives us the upper limit; the Nyquist formula tells us how many signal levels we need. Note

28 Digital Line Coding

29 Digital Line Coding Method for converting digital binary information sequence into digital signal Selecting coding technique involves several considerations Previously we said... – Wanted to maximize bit rate over channels with limited bandwidth Yet, LAN's have other concerns – Ease of timing recovery from signal So, receiving clock can maintain its synchronization with transmitting clock – Some methods better at noise and interference

30 Line Coding Schemes Unipolar: Uses one voltage level Polar: Uses two voltage levels Bipolar: Uses three or more voltage levels

31 In unipolar encoding, we use only one voltage level, positive Note

32 Unipolar Encoding How many bits per clock tick?

33 In polar encoding, we use two voltage levels: positive & negative Note

34 Polar: NRZ-L and NRZ-I Encoding

35 In NRZ-L, level of voltage determines value of the bit In NRZ-I, inversion or lack of inversion determines value of the bit Note

36 Polar: RZ Encoding

37 Polar: Manchester Encoding Link to Manchester Encoding's Use in Ethernet

38 In Manchester and differential Manchester encoding, the transition at the middle of the bit is used for clock synchronization. Note

39 Reception Errors Timing mismatch between sending and receiving computers

40 In bipolar encoding, we use three levels: positive, zero, and negative. Note

41 Bipolar: AMI (Alternative Mark Inversion) Encoding

42 Summary

Looked at digital data over digital channels Theoretical maximum limits of transmitting bits in presence of noise and without Line encoding makes it possible to send more data as efficiency of coding increases

44 Assignment 2 – Is Up