Transmitting digital signals How do we encode digital signals for transmission? How can we interpret those signals?

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 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
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
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
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.
 Information must be transformed into signals before it can be transformed across the communication media  How this information is transformed depends.
ECOM 4314 Data Communications Fall September, 2010
Data Communication Networks Lec 8 and 9. Physical Layer and Media Bottom-most layer. Interacts with transmission media. Physical part of the network.
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)
Department of Electrical and Computer Engineering
Computer Communication & Networks
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
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
Multi Level, Multi Transition & Block Codes
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.
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.
: Data Communication and Computer Networks
British Computer Society (BCS)
Chapter 4 Digital Transmission.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
A. B. M. Nasiruzzaman Dept. of EEE, RUET 4B/5B Coding In 4B/5B, the 5 bit output that replaces the 4 bit input has no more than one leading zero and two.
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.
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.
Thapar University4-1 Digital Transmission 1.Digital-to-Digital Conversion 2.Analog-to-Digital Conversion 3.Transmission Mode 12/4/2015.
4.1 Digital Transmission. DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion.
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
Data Communication Digital Transmition
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Digital Line Encoding Converting standard logic level to a form more suitable to telephone line transmission. Six factors must be considered when selecting.
Dr. ClincyLecture 2 Slide 1 Chapter 4 Handout #3 Dr. Clincy Professor of CS 6 of 10.
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
Data Conversion Methods
Data Communication Networks
Prepared By Mr. Arshad Ahmad
Chapter 4 Digital Transmission
Lecture 1 Line Encoding 2nd semester
Dr. Clincy Professor of CS
NET301 Lecture 5 10/18/2015 Lect5 NET301.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Chapter 4 Digital Transmission
Chapter 5. Data Encoding Digital Data, Digital Signals
CS433 - Data Communication and Computer Networks
Chapter 4 Digital Transmission 4.# 1
Presentation transcript:

Transmitting digital signals How do we encode digital signals for transmission? How can we interpret those signals?

Baseband transmission Signal is sent without conversion to an analog signal. Requires a transmission channel with bandwidth that starts at 0Hz (a low-pass channel). For perfect preservation, requires a dedicated channel with infinite bandwidth. Usually, we just approximate Wide bandwidth channel: Ignore frequencies at the borders Narrow bandwidth: Use an analog signal and adjust frequency and phase to create an approximate match.

Figure 3.21 Rough approximation of a digital signal using the first harmonic for worst case

Figure 3.22 Simulating a digital signal with first three harmonics

Broadband transmission First convert digital signal to analog signal. Uses a bandpass channel - one whose bandwidth starts anywhere. The signal is modulated, which means we manipulate the frequency or amplitude to represent different components of digital data.

Transmission problems There are three major roadblocks that we need to be concerned about when exploring the physical level: –Attenuation: How rapidly does the signal fade as it propagates. –Distortion: How does the signal change as it is transmitted across the medium? –Noise: How do extraneous factors interfere with the signal being sent?

Converting digital data to a digital signal Data element: A bit is a data element - the shortest piece of data that can be sent –Data rate is the number of data elements sent in one second (bits per second) Signal element: A signal element is the shortest signal segment. –Signal rate is the number of signal elements sent in one second (baud). r is defined as the ratio of data elements to signal elements - i.e., how many bits are sent in each signal element.

Maximizing throughput High signal rates are obtained by using a broader range of frequencies, thus allowing for a broader range of possible signals Therefore, higher signal rates require higher bandwidths. Ideally, we want to maximize data rate and minimize signal rate. Increasing r, though, reduces reliability by requiring more sophisticated hardware on both the sending and receiving ends.

Bandwidth requirements The bandwidth required is related to the signal rate, since that determines how many frequencies are needed: B min = c  N  1/r

Issues to be aware of Baseline wandering Self-synchronization Error Detection Complexity

Line Coding Line coding is the primary way we encode digital data in digital signals. There are five primary groups of line coding schemes: –Unipolar –Polar –Bipolar –Multilevel –Multitransition

Unipolar line coding Either all signals levels are positive or they are all negative Non-Return-to-Zero (NRZ):

Polar line coding Voltages can be both positive and negative. Typically positive voltages are 0 and negative voltages are 1. NRZ-L: Level of voltage determines bit value NRZ-I: Inversion of signal determines bit value

Return to Zero (RZ): Use three values - positive, negative, and 0. Signal goes to 0 in the middle of each bit. Biphase: –Manchester: Transition in middle of bit - voltage value of start of bit determines bit value (like RZ and NRZ-L) –Differential Manchester: Transition in the middle of each bit whether there is a transition at beginning of bit determines value (like RZ and NRZ-I)

Bipolar Line Coding Always have three voltage levels - positive, 0, and negative. 0 volts is typically the 0 bit, while the 1 bit alternates between positive and negative. Long-distance lines

Multilevel line coding 2B1Q: (2 bit, 1 quaternary) 2-bit combinations are associated with specific changes in the input according to a transition table. DSL

8B6T (8 Bits, 6 Ternary): Groups of 8 bits are represented as sets of six signal elements with three possible levels. 100Base-4T cable.

4D-PAM5 (4 Dimensional five-level pulse amplitude modulation):For situations where multiple wires are available for simultaneous communication. –Uses four wires and four voltage levels –8 bits can be sent simultaneously using one signal element

Multitransition line coding MLT-3 (MultiLine Transmission, three level) –Similar to NRZ-I and differential Manchester in that transitions define bits. –Uses three voltage levels and three transition rules: 1.No transition means next bit is 0. 2.If the current level is non- zero, a transition to 0 means the next bit is 1. 3.If the current level is zero, a transition to the opposite of the last non-zero level is a 1.

Which is best? Well, none of them are great. Most don’t provide synchronization. The ones that do either require high bandwidth (Biphase, 8B6T) or multiple wires (4D-PAM5). None of these can inherently provide for any sort of error detection. To accomplish synchronization and, especially, error detection, there need to be redundant elements to the signal.

Block Coding Block coding tries to provide this redundancy. In block coding, we take a set of m bits and recode them as a longer group of n bits. –i.e., 4B/5B coding converts groups of four bits into groups of 5 bits. Isn’t this bad? Doesn’t it increase the size of the data stream we need to send?

The benefits of redundancy Representing 4 bits requires 16 data patterns. Having 5 bits available gives us 32 possible patterns. Among the benefits of this are: –Eliminate baseline drift by eliminating long strings of 0’s. –This also improves synchronization. –Some sequences can be used as control sequences for further synchronization. –What happens if the receiver gets a sequence that does not correspond to a valid one? Typically used with simpler line-coding schemes like NRZ

Long-distance transmission NRZ, even with block coding, still has the problem of DC components. Biphase schemes require too much bandwith for high-capacity long-distance transmission. Bipolar AMI coding avoids both these problems, but can generate long strings of 0’s, which affects synchronization.

Scrambling Scrambling those long strings of 0’s is the solution. Recall that bipolar encoding requires the voltage to alternate between high and low. With a long string of 0’s, we can use a violation signal (one that doesn’t alternate) as a substitute for a 0. B8ZS (Bipolar with 8 Zero Substitution) - North America HDB3 (High-Density Bipolar 3-zero) - outside NA