EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.

Slides:



Advertisements
Similar presentations
Signal Encoding Techniques
Advertisements

Teknik Enkoding Pertemuan 08 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
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.
Data and Computer Communications
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.
Data and Computer Communications
S IGNAL E NCODING T ECHNIQUES Engr. Mehran Mamonai Department of Telecommunication.
Chapter 4 Digital Transmission
4.2 Digital Transmission Pulse Modulation (Part 2.1)
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
William Stallings Data and Computer Communications 7th Edition
Signal Encoding Lesson 05 NETS2150/2850
3. Encoding Techniques and Spread Spectrum
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
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 and Computer Communications
Data Encoding.
Signal Encoding Techniques
EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz.
Data and Computer Communications
FIT 1005 Networks & Data Communications
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
: Data Communication and Computer Networks
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
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.
Digital Transmission & Analog Transmission. 4.#2 1. DIGITAL-TO-DIGITAL CONVERSION Digital Data -> Digital Signal Three techniques: 1.line coding (always.
Spring 2007Data Communications, Kwangwoon University4-1 Chapter 4. Digital Transmission 1.Digital-to-Digital Conversion 2.Analog-to-Digital Conversion.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
Session 2. Objectives: By the end of this session, the student will be able to: Distinguish between data and signals. Cite the advantages of digital data.
Unit 1 Lecture 7 1. Bipolar Encoding Bipolar encoding, like RZ, uses three voltage levels: positive, negative and zero. Unlike RZ, however, the zero level.
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.
CSE 320 Data Communications
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
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
DIGITAL TRANSMISSION PART C
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 5. Data Encoding Digital Data, Digital Signals
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
CS433 - Data Communication and Computer Networks
Presentation transcript:

EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010

Learning Outcome By the end of this chapter, students are expected to be able to explain link level baseband encoding for transmission

Chapter Content Polarity in baseband encoding Encoding techniques –NRZ-L, NRZI –Bipolar –Biphase Modulation rate Scrambling techniques

Polarity in Baseband Encoding

Baseband Encoding Definition: encoding of the signal in the spectrum range from 0 Hz to the data rate frequency Use: encoding of data for short distances, LAN, Ethernet

Polarity in Encoding Unipolar –All signals follow the values of the binary Amplitude Time

Polarity in Encoding Polar –One signal sign follows one data binary Amplitude Time

Polarity in Encoding Bipolar –3 levels of signal: +ve, −ve, 0 –Binary 0 is level 0; binary 1 alternates sign Amplitude Time

Encoding Techniques

Nonreturn to Zero-Level (NRZ-L) Two different voltages for 0 and 1 bits –Negative voltage for 1 –Positive voltage for Amplitude Time

Nonreturn to Zero-Inverted (NRZI) Bit 1: Transition at the beginning of bit time Bit 0: No transition A kind of differential encoding – data is represented by transition rather than level Amplitude Time transitions

Advantages of NRZ Coding Easiest to engineer Make efficient use of bandwidth –Most of the energy in NRZ-L & NRZ-I signals (80%) is between DC and half of the bit rate –e.g. If NRZ code is used to generate a signal with data rate of 9600 bps, then most of the energy in the signal is concentrated between DC & 4800 Hz

Spectral Density of Various Schemes Normalized frequency (f/R) NRZ Manchester, differential Manchester B8ZS, HDB3 AM, pseudoternary

Disadvantages of NRZ Coding Presence of DC component (zero frequency) –Presents problems for a system that cannot pass low frequencies e.g. Telephone line can’t pass frequencies below 300 Hz

Disadvantages of NRZ Coding –Also presents problems for a system that uses electrical coupling via transformer There must be direct physical attachment of transmission component Electrical (AC) coupling via transformer, which provides excellent electrical isolation that reduces interference, is not possible e.g. A long distance link may use one or more transformers to isolate different parts of the line electrically

Disadvantages of NRZ Coding Lack of synchronization capability –Consider long string of 1-s and 0-s for NRZ-L or long string of 0-s for NRZI –The output is a constant voltage over a long period of time –A drift between the timing of transmitter & receiver will result in loss of synchronization between both devices

Disadvantages of NRZ Coding Due to these lacking, it is unattractive for signal transmission applications Due to these shortcomings, it is only used in direct devices connection like in digital magnetic recording

Bipolar-AMI Alternate Mark Inversion A kind of multilevel binary encoding Binary 0: No line signal Binary 1: +ve or –ve pulses alternately Time

Advantages of Bipolar-AMI No loss of synchronization if a long string of 1-s occur –Each 1 introduces a transition –Receiver can resynchronize on that transition –Long string of 0-s would still be a problem No net DC component –1-s signals alternate in voltage –0-s is at zero volt –Hence 0 DC component

Pseudoternary Inversion of AMI A kind of multilevel binary encoding Binary 1: No line signal Binary 0: +ve or –ve pulses alternately Time

Disadvantages of Multilevel Binary Long string of 0-s (AMI) and 1-s (pseudoternary) still present a problem –Common technique: insert additional bits that force transition – called scrambling Less efficient than NRZ –The receiver has to distinguish 3 levels –Requires ~3dB of power for the same BER as NRZ –BER is higher for the same SNR as NRZ

Disadvantages of Multilevel Binary BER SNR (dB) AMI, pseudoternary, ASK, FSK NRZ, biphase, PSK, QPSK 3 dB

Manchester A kind of biphase encoding Transition in the middle of each bit period Binary 1: Low to High transition Binary 0: High to Low transition Time

Differential Manchester A kind of biphase & differential encoding Binary 0: Transition at start of bit period Binary 1: No transition at start of bit period Time

Advantages of Biphase Encoding Synchronization –Biphase codes are self-clocking codes –Predictable transition during each bit period –Receiver can synchronize on that transition No DC component Error detection –Absence of expected transition can be used to detect errors Due to these advantages it is popular for LAN connection

Disadvantages of Biphase Encoding Requires double the bandwidth of non- biphase encoding Requires more signaling power Due to these disadvantages it is not popular in long distance connection

Modulation Rate

Data Rate Also known as BIT Rate Definition: The rate at which data (or bits) are communicated per second Unit: bit per second (bps) Example: 1000 bps means 1000 bit is transmitted and received in 1 second

Modulation Rate Also known as BAUD rate or SYMBOL rate Definition: The MAXIMUM no. symbol at which the signal in communication channel can have per second Unit: baud per second Example: Consider an NRZ optical signaling between red & green. If the system has to produce the colors at max 2400 times per second then it is 2400 baud per second

Baud vs Bit Rate 1 signal symbol may represent more that 1 bits Hence this gives room for more than 1 bps in each baud rate –bps = baud × no. bit per baud Example: Consider an NRZ optical signaling between green (00), red (01), yellow (10) and blue (11). If the system has to produce the colors at max 2400 times per second then it is 2400 baud per second. Since there are 2 bits per symbol, then it is 4800 bps.

Baud vs Bit Rate D= R / L = R / log 2 M D=Modulation rate, baud R=Data rate, bps L=Number of bits per symbol or signal element M=Number of different symbols used = 2 L In general:

Baud vs Bit Rate NRZL Time Manchester Time 1 bit/μs 1 sym/μs 1 bit/μs 2 sym/μs Data rate = 1 Mbps Modulation rate = 1 Mbaud Data rate = 1 Mbps Modulation rate = 2 Mbaud

Scrambling Techniques

Multilevel binary with scrambling techniques –Commonly used in long-distance transmission Sequences that would result in a constant voltage level would be replaced with a new filling sequence The filling sequence would provide enough transitions for the receiver’s clock to maintain synchronization

Scrambling Techniques The filling sequence must be recognized by the receiver & to be replaced with the original data sequence The filling sequence is the same length as the original sequence, hence there is no data rate penalty

Scrambling Techniques Design goals: –No DC component –No long sequence of zero-level line signal –No reduction in data rate –Error detection capability Two scrambling techniques commonly used in long-distance transmission –B8ZS –HDB3

B8ZS Bipolar with 8-Zeros Substitution Based on Bipolar-AMI encoding –Long string of 0-s may result in loss synchronization Replaces strings of eight 0-s with: If the last voltage pulse preceding this 8 0-s was +ve, then they are encoded with − 0 − + If the last voltage pulse preceding this 8 0-s was -ve, then they are encoded with − −

B8ZS Bipolar-AMI B8ZS This technique forces 2 code violations, which is unlikely to occur due to noise, and the parity is also maintained

HDB3 High-Density Bipolar 3-Zeros Based on Bipolar-AMI encoding Replaces strings of four 0-s with: No. bipolar pulses since last substitution Polarity of Preceding PulseOddEven −0 0 0 − − 0 0 −

HDB3 Bipolar-AMI HDB3 Consider pulses count at this point is odd