CSE 320 Data Communications

Slides:



Advertisements
Similar presentations
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
Advertisements

4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
Lecture 26 Physical Layer Ch 4: Digital Transmission
Data and Computer Communications
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
Data and Computer Communications Chapter 5 – Signal Encoding Techniques.
1 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
Chapter 5 – Signal Encoding and Modulation Techniques
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
William Stallings Data and Computer Communications 7th Edition
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transmitting digital signals How do we encode digital signals for transmission? How can we interpret those signals?
Signal Encoding Lesson 05 NETS2150/2850
The Physical Layer, Encoding Schemes: -Physical Transmission of Bits- Chapter 2.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
 Information must be transformed into signals before it can be transformed across the communication media  How this information is transformed depends.
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)
Sami Al-Wakeel 1 Data Transmission and Computer Networks Data Encoding.
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,
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Aegis School of Telecommunication Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas.
Data Communications Chapter 5 Data Encoding.
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.
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.
BZUPAGES.COM 4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4 Digital Transmission.
: Data Communication and Computer Networks
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.
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.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
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.
Digital Line Encoding Converting standard logic level to a form more suitable to telephone line transmission. Six factors must be considered when selecting.
Signal Encoding Techniques Ir. Hary Nugroho MT.. Data Transmission.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education,
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Chapter 4. Digital Transmission
Data Conversion Methods
Signal Encoding Techniques
Chapter 4 Digital Transmission
Signal Encoding Techniques
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
CT1303 LAN Rehab AlFallaj.
Lecture 6: Signal Encoding Techniques
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
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
Presentation transcript:

CSE 320 Data Communications Signal Encoding Techniques Chapter 5

Encoding Techniques Digital Signal Digital data Analog Signal Analog data Digital Signal Analog Signal Which option to choose? Requirements to meet Media & communications facilities

Digital Data,Digital Signal Less expensive and less complex than digital to analog modulation. Digital Data,Analog Signals Some transmission media, such as optical fiber and unguided media , will only propagate analog signals.

Digital Data  Digital Signal Topics discussed in this section: Line Coding Line Coding Schemes Block Coding Scrambling

Digital Data, Digital Signal Discrete, discontinuous voltage pulses Each pulse is a signal element Binary data encoded into signal elements

Line Coding Line coding is the process of converting binary data, a sequence of bits, to a digital signal.

Signal Vs Data Element

Pulse /Modulation /Signal/ Baud Rate versus Bit Rate The pulse rate defines the number of pulses/signals sent in one second. Also known as Baud Rate. The bit rate defines the number of bits per second.

BaseLine Wandering Receiver calculates the running average of received signal power. Average = baseline A log strings of 0’s and 1’s can cause a drift in the baseline.

DC Components Direct-current (dc) component (zero frequency). This component is undesirable for two reasons: If the signal is to pass through a system (such as a transformer) that does not allow the passage of a dc component, the signal is distorted and may create errors in the output. This component is extra energy residing on the line and is useless.

Digital Data  Digital Signal Receiver needs to know Timing of bits Signal levels Factors affecting successful interpretation of signals Signal-to-Noise ratio (SNR) Eb/N0 Data Rate Bandwidth

Self-Synchronization The receiver’s bit intervals must correspond exactly to the senders bit intervals.

Self-Synchronization includes timing information in the data being transmitted. Achieved by there are transitions in the signal that alert the receiver to the beginning, middle or end of the pulse.

Line Encoding Schemes

NRZ-L- Unipolar

NRZ-L & NRZ-I (Bipolar)

Nonreturn to Zero (NRZ) 0 1 0 0 1 1 0 0 0 1 1 NRZ-L NRZ Two different voltages for 0 and 1 bits Voltage constant during bit interval No transition (i.e. no return to zero voltage) Options: 1. Absence of voltage for zero, constant positive voltage for one 2. More often, negative voltage for one value and positive for the other NRZI Inverted on ones Constant voltage pulse for duration of bit Data encoded as presence or absence of signal transition at beginning of bit time Transition (low to high or high to low) denotes a binary 1 No transition denotes binary 0 An example of differential encoding NRZI

NRZ

NRZ – Pros and Cons Pros Cons Used for magnetic recording Easy to engineer Make good use of bandwidth Cons DC component Lack of synchronization capability Used for magnetic recording Not often used for signal transmission

Differential Encoding In complex transmission layouts, it is easy to lose sense of polarity Therefore Data represented by changes (i.e., transitions) rather than levels More reliable detection of transition rather than level

Manchester Encoding & Differential Manchester Encoding

Biphase (Manchester and D-Manchester) 0 1 0 0 1 1 0 0 0 1 1 Man Manchester Transition in middle of each bit period Transition serves as clock and data Low to high represents 1 High to low represents 0 Used by IEEE 802.3 (Ethernet LAN) Differential Manchester Mid-bit transition is clocking only Transition at start of a bit period represents 0 No transition at start of a bit period represents 1 This is a differential encoding scheme Used by IEEE 802.5 (Token Ring LAN) D-Man

Biphase -- Pros and Cons Synchronization on mid bit transition (self clocking) No dc component Error detection Absence of expected transition Cons At least one transition per bit time and possibly two Maximum modulation rate is twice NRZ Requires more bandwidth

Modulation Rate

Multilevel Binary Use more than two levels Bipolar-AMI zero represented by no line signal one represented by positive or negative pulse No loss of sync if a long string of ones (zeros still a problem) Lower bandwidth

Bipolar-AMI

Multilevel Transition, three level- MLT-3, There is no transition at the beginning of a 0 bit. The signal transitions from one level to the next at the beginning of a 1 bit Transition occurs using three levels of signals (+1, 0, -1).

MLT-3

Biploar AMI and MLT-3 Example 0 1 0 0 1 1 1 0 0 1 1 Biploar AMI Manchester Transition in middle of each bit period Transition serves as clock and data Low to high represents 1 High to low represents 0 Used by IEEE 802.3 (Ethernet LAN) Differential Manchester Mid-bit transition is clocking only Transition at start of a bit period represents 0 No transition at start of a bit period represents 1 This is a differential encoding scheme Used by IEEE 802.5 (Token Ring LAN) MLT-3

Block Coding

Block Coding/Scrambling NRZ, Bipolar AMI, MLT-3 all has a common problem. Long sequence of 0 can make the receiver lose synchronization Solutions: Change the bit stream before encoding with NRZ-I so that there is no long streams of 0s.

Solutions: Block Coding Scrambling Changes a block of m bits to a block of n bits. Referred to as mB/nB encoding.

Block Coding Three Steps Process: Division Substitution Line Coding /Combination

Step 1-Division The sequence of bits in data in divided into m Bits. For example in 4B/5B encoding, the original bit sequence is divided into 4-bit codes/sequence.

Step 2-Substitution Each m bits sequence is substituted for a n bit code.

4B/5B Block Coding 4-bit code ==16 different combinations 5-bit code== 32 possible combinations. So not all of 5-bit codes are required. Selection of the 5-bit code is such that each code contains no more than “one leading 0 and no more than two trailing 0s.” (3 consecutive 0s)

Table : 4B/5B encoding

Step 3: Line Coding After substitution, a line coding scheme, exp NRZ- I is chosen to create a signal. A very simple line coding scheme is chosen, because the block coding procedure provides two desirable features (??) of complex line coding schemes.

Block Coding-Pros/Cons Solves the synchronization problem but not the DC component problem. If DC is unacceptable, use bipolar or biphase encoding. Increases the baud rate by 20%, still better than Manchester schemes.

Scrambling Use scrambling to replace sequences that would produce constant voltage Filling sequence Must be recognized by receiver and replace with original Same length as original Design Goals No dc component No long sequences of zero level line signal No reduction in data rate Error detection capability

Types of Scarmbling: B8ZS HDB3 Bipolar With 8 Zeros Substitution Commonly used US. HDB3 High Density Bipolar 3 Zeros Based on Bipolar AMI Commonly used Europe and Japan.

B8ZS Based on bipolar-AMI Causes two violations of AMI code If octet of all zeros and last voltage pulse preceding was positive encode as 000+-0-+ If octet of all zeros and last voltage pulse preceding was negative encode as 000-+0+- Causes two violations of AMI code Unlikely to occur as a result of noise

B8ZS

Putting all together in Ethernet

Ethernet Evolution

Categories of Standard Ethernet

10Base5 implementation

10Base2 implementation

10Base-T implementation

10Base-F implementation

Standard Ethernet implementations

Categories of Fast Ethernet

Encoding for Fast Ethernet

Summary