: Data Communication and Computer Networks

Slides:



Advertisements
Similar presentations
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Advertisements

Lecture 26 Physical Layer Ch 4: Digital Transmission
Chapter 4 Digital Transmission
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
Information Sources 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.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 Digital Transmission Stephen Kim 4.1.
Data Communication Networks Lec 8 and 9. Physical Layer and Media Bottom-most layer. Interacts with transmission media. Physical part of the network.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
LECTURE 5 CT1303 LAN. DATA ENCODING Digital signal: is a sequence of discrete, discontinuous voltage pulses. Each pulse is a signal element Binary data.
DIGITAL-TO-DIGITAL CONVERSION
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Data Communications Chapter 5 Data Encoding.
Line Coding, Modem, RS232 interfacing sequences.
ECE 4371, Fall, 2015 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Chapter 4 Digital Transmission.
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.
Chapter 4 Digital Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
British Computer Society (BCS)
Chapter 4 Digital Transmission.
DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
9/12/ Digital Transmisison - Lin 1 CPET/ECET Digital Transmission Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
A digital signal is a sequence of discrete discontinuous voltage pulses. Each pulse is a signal element (symbol). Binary data are transmitted by encoding.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part V) DIGITAL TRANSMISSION-LINE ENCODING Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga.
Digital Transmission & Analog Transmission. 4.#2 1. DIGITAL-TO-DIGITAL CONVERSION Digital Data -> Digital Signal Three techniques: 1.line coding (always.
Chapter 4 Digital Transmission.
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.
DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing.
Unit 1 Lecture 6 1. Different Conversion/Transmission Schemes 2 Before we discuss various line coding schemes, let us first have an idea of different.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4 Digital Transmission
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Excerpts from Slides of Chapter 4 Forouzan Digital Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 Chapter 5 Encoding. 2 Figure 4-1 Transformation of Information to Signals.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CSE 320 Data Communications
Data Communications and Networking
Lecturer: Mrs. Rohani bt Hassan
Chapter 4 Digital Transmission
Chapter 4. Digital Transmission
Introduction to Information Technologies
Chapter 4 Digital Transmission.
Chapter 4 Digital Transmission
Chapter 4 Digital Transmission
Chapter 4 Digital Transmission.
4. TRANSMISI DIGITAL.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Chapter 4 Digital Transmission
Chapter 5. Data Encoding Digital Data, Digital Signals
Chapter 4 Digital Transmission
Chapter 4 Digital Transmission 4.# 1
Presentation transcript:

01204325: Data Communication and Computer Networks Digital Transmission 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved

Outline Line coding Encoding considerations DC components in signals Synchronization Various line coding methods

Line Coding Process of converting binary data to digital signal

Signal Levels vs. Data Levels Number of signal levels Number of different voltage levels allowed in a signal Number of data levels Number of voltage levels that actually represent data values

Signal vs. Data Elements

One pulse (one signal element) Pulse Rate vs. Bit Rate t 00 11 01 10 -3 -1 +1 +3 One pulse (one signal element) BitRate = PulseRate × b = PulseRate × log2L b – number of bits per pulse L – number of different signal elements Bit rate  Bits per second Pulse rate  Baud (pulses or signals per second)

One pulse (one signal element) Pulse Rate vs. Bit Rate Example: In Manchester Encoding, if the bit rate is 10 Mbps, what is the pulse rate? 1 1 1 1 t One bit One pulse (one signal element)

Encoding Considerations Signal spectrum Lack of DC components Lack of high frequency components Clocking/synchronization Error detection Noise immunity Cost and complexity

DC Components DC components in signals are not desirable Cannot pass thru certain devices Leave extra (useless) energy on the line t 1 Signal with DC component t 1 Signal without DC component

Synchronization To correctly decode a signal, receiver and sender must agree on bit interval t 1 Sender sends: 01001101 t 1 Receiver sees: 0100011011

Providing Synchronization Separate clock wire Self-synchronization Sender Receiver data clock t 1

Line Coding Methods Unipolar Polar Bipolar Multilevel Uses only one voltage level (one side of time axis) Polar Uses two voltage levels (negative and positive) E.g., NRZ, RZ, Manchester, Differential Manchester Bipolar Uses three voltage levels (+, 0, and –) for data bits Multilevel

Unipolar Simplest form of digital encoding Rarely used Only one polarity of voltage is used E.g., polarity assigned to 1 t 1

Polar Encoding Two voltage levels (+,-) represent data bits Most popular four Nonreturn-to-Zero (NRZ) Return-to-Zero (RZ) Manchester Differential Manchester

NRZ Encoding Nonreturn to Zero NRZ-L (NRZ-Level): Signal level depends on bit value NRZ-I (NRZ-Invert): Signal is inverted if 1 is encountered t 1 t 1 N = Bit rate Save = Average signal rate

RZ Encoding Return to Zero Uses three voltage levels: +, - and 0, but only + and - represent data bits Half way thru each bit, signal returns to zero t 1 ?

Manchester Encoding Uses an inversion at the middle of each bit For bit representation For synchronization = 0 = 1 t 1

Differential Manchester Encoding The inversion on the middle of each bit is only for synchronization Transition at the beginning of each bit tells the value t 1

Bipolar Encoding Bipolar encoding uses three voltage levels: +, - and 0 Each of all three levels represents a bit E.g., Bipolar AMI (Alternate Mark Inversion) 0V always represents binary 0 Binary 1s are represented by alternating + and - t 1

BnZS Schemes BnZS – Bipolar n-zero substitution Based on Bipolar AMI n consecutive zeros are substituted with some +/- levels provides synchronization during long sequence of 0s E.g., B8ZS t 1 Bipolar AMI B8ZS V B V – Bipolar violation B – Valid bipolar signal

Other Schemes mBnL m data elements are substituted with n signal elements E.g., 2B1Q (two binary, 1 quaternary) t 00 11 01 10 -3 -1 +1 +3 Bit sequence Voltage level 00 -3 01 -1 10 +3 11 +1

Block Coding Improves the performance of line coding Provides Synchronization Error detection t Division Substitution Line Coding …01011010001… : 0010 1101 0001 : 10110 01011 01010

4B/5B Encoding Table Data Code Data Code 0000 11110 1000 10010 0001 01001 1001 10011 0010 10100 1010 10110 0011 10101 1011 10111 0100 01010 1100 11010 0101 01011 1101 11011 0110 01110 1110 11100 0111 01111 1111 11101 Data Code Q (Quiet) 00000 I (Idle) 11111 H (Halt) 00100 J (start delimiter) 11000 K (start delimiter) 10001 T (end delimiter) 01101 S (Set) 11001 R (Reset) 00111

Analog to Digital Conversion Pulse Amplitude Modulation (PAM) Converts an analog signal into a series of pulses by sampling Analog signal PAM signal (Sampled analog data) PAM

Pulse Code Modulation (PCM) Converts an analog signal into a digital signal PAM Quantization Binary encoding Line coding

PCM: Quantization Converts continuous values of data to a finite number of discrete values 1 2 3 4 5 6 7 Input Output

PCM: Quantization Quantization

Quantization Error Assume sine-wave input and uniform quantization Known as the 6 dB/bit approximation See also: http://en.wikipedia.org/wiki/Quantization_error#Quantization_noise_model

Example: Quantization Error A telephone subscriber line must have an SNRdB above 40. What is the minimum number of bits per sample? Solution We can calculate the number of bits as Telephone companies usually assign 7 or 8 bits per sample.

PCM: Binary Encoding Maps discrete values to binary digits

PCM: The Whole Process

Sampling rate must be greater than twice the highest frequency Minimum Sampling Rate Nyquist Theorem: Sampling rate must be greater than twice the highest frequency Ex. Find the maximum sampling interval for recording human voice (freq. range 300Hz – 3000Hz) t sampling interval

Nyquist’s Sampling Theorem See also: Wagon-wheel effect Demo: sampling.py

Sampling and Bit Rate Ex. Calculate the minimum bit rate for recoding human voice, if each sample requires 60 levels of precision