EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz.

Slides:



Advertisements
Similar presentations
Teknik Enkoding Pertemuan 08 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Advertisements

1 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
Physical Layer – Part 2 Data Encoding 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.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
Networks: Data Encoding1 Data Encoding Techniques.
Data Encoding Techniques
Signal Encoding Lesson 05 NETS2150/2850
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)
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,
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.
Line Coding, Modem, RS232 interfacing sequences.
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.
Chapter 3 Digital Transmission Fundamentals Line Coding Error Detection and Correction.
: Data Communication and Computer Networks
British Computer Society (BCS)
Line Coding Acknowledgments:
Digital Communications
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.
Pulse Code Modulation (PCM)
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part V) DIGITAL TRANSMISSION-LINE ENCODING Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga.
ECE 4710: Lecture #12 1 Normalized A =  2 Unipolar NRZ Advantages: 1) Easy to generate for TTL (0, +5V) 2) Single supply voltage 3) Best FNBW Disadvantages:
ECE 4710: Lecture #13 1 Bit Synchronization  Synchronization signals are clock-like signals necessary in Rx (or repeater) for detection (or regeneration)
ECE 4710: Lecture #11 1 Binary vs. Multi-Level Bit Message: t 5 V T s = 1 msec T 0 = 8 T s = 8 msec R = (8/8 ms) = 1 kbps FNBW.
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.
Line Coding and Binary Keying Modulation
1 Chapter 5 Encoding. 2 Figure 4-1 Transformation of Information to Signals.
Chapter 4 (part 1_a) Baseband Data Transmission EKT 357 Digital Communications.
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. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
CSE 320 Data Communications
Presentation on Line coding technique Given by Mithun Majumdar IT/14/40.
EE 551/451, Fall, 2006 Communication Systems
What is Line Coding? Mapping of binary information sequence into the digital signal that enters the channel Ex. “1” maps to +A square pulse; “0” to –A.
Chapter 4. Digital Transmission
Introduction to Information Technologies
Computer Communication & Networks
4.2 Digital Transmission Pulse Modulation (Part 2.1)
DIGITAL TRANSMISSION PART C
Physical Layer (Part 2) Data Encoding Techniques
Chapter 4 Digital Transmission
Physical Layer – Part 2 Data Encoding Techniques
Lecture 1 Line Encoding 2nd semester
CT1303 LAN Rehab AlFallaj.
Line Codes and Their Spectra
Line Codes and Their Spectra
NET301 Lecture 5 10/18/2015 Lect5 NET301.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
CCE Computer Networks Chapter 5: Encoding Information must be encoded into signals before it can be transported across communication media Information.
Chapter 4 Digital Transmission
Lecture 2: Line Encoding 1nd semester By: Adal ALashban.
DATA COMMUNICATION Lecture-15.
Physical Layer – Part 2 Data Encoding Techniques
Data Transmission And Digital Communication
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
Chapter 5: Encoding Information must be encoded into signals before it can be transported across communication media Information can be either Digital,
CS433 - Data Communication and Computer Networks
Presentation transcript:

EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz University 1 Dr Hassan Yousif Lec-5: Line coding

Line Coding Introduction: Binary data can be transmitted using a number of different types of pulses. The choice of a particular pair of pulses to represent the symbols 1 and 0 is called Line Coding and the choice is generally made on the grounds of one or more of the following considerations: – Presence or absence of a DC level. – Power Spectral Density- particularly its value at 0 Hz. – Bandwidth. – BER performance (this particular aspect is not covered in this lecture). – Transparency (i.e. the property that any arbitrary symbol, or bit, pattern can be transmitted and received). – Ease of clock signal recovery for symbol synchronisation. – Presence or absence of inherent error detection properties.

What is Line Coding? Mapping of binary information sequence into the digital signal that enters the channel –Ex. “1” maps to +A square pulse; “0” to –A pulse Line code selected to meet system requirements: –Transmitted power: Power consumption = $ –Bit timing: Transitions in signal help timing recovery –Bandwidth efficiency: Excessive transitions wastes bw –Low frequency content: Some channels block low frequencies long periods of +A or of –A causes signal to “droop” Waveform should not have low-frequency content –Error detection: Ability to detect errors helps –Complexity/cost: Is code implementable in chip at high speed?

Different Types of Line Coding

Dr Hassan Yousif5 NRZ-inverted (differential encoding) Unipolar NRZ Bipolar encoding Manchester encoding Differential Manchester encoding Polar NRZ Line coding examples

Unipolar Signalling Unipolar signalling (also called on-off keying, OOK) is the type of line coding in which one binary symbol (representing a 0 for example) is represented by the absence of a pulse (i.e. a SPACE) and the other binary symbol (denoting a 1) is represented by the presence of a pulse (i.e. a MARK). There are two common variations of unipolar signalling: Non-Return to Zero (NRZ) and Return to Zero (RZ).

Unipolar Signalling Unipolar Non-Return to Zero (NRZ): In unipolar NRZ the duration of the MARK pulse ( Ƭ ) is equal to the duration (T o ) of the symbol slot V 0

Unipolar Signalling Unipolar Non-Return to Zero (NRZ): In unipolar NRZ the duration of the MARK pulse ( Ƭ ) is equal to the duration (T o ) of the symbol slot. Advantages: – Simplicity in implementation. – Doesn’t require a lot of bandwidth for transmission. Disadvantages: – Presence of DC level (indicated by spectral line at 0 Hz). – Contains low frequency components. Causes “Signal Droop” (explained later). – Does not have any error correction capability. – Does not posses any clocking component for ease of synchronisation. – Is not Transparent. Long string of zeros causes loss of synchronisation.

Unipolar Signalling Return to Zero (RZ): In unipolar RZ the duration of the MARK pulse ( Ƭ ) is less than the duration (T o ) of the symbol slot. Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half V 0 ToTo Ƭ

Unipolar Signalling Return to Zero (RZ): In unipolar RZ the duration of the MARK pulse ( Ƭ ) is less than the duration (T o ) of the symbol slot. Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half V 0 ToTo Ƭ

Unipolar Signalling Unipolar Return to Zero (RZ): Advantages: – Simplicity in implementation. – Presence of a spectral line at symbol rate which can be used as symbol timing clock signal. Disadvantages: – Presence of DC level (indicated by spectral line at 0 Hz). – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Occupies twice as much bandwidth as Unipolar NRZ. – Is not Transparent

Polar Signalling In polar signalling a binary 1 is represented by a pulse g 1 (t) and a binary 0 by the opposite (or antipodal) pulse g 0 (t) = -g 1 (t). Polar signalling also has NRZ and RZ forms V -V 0 Figure. Polar NRZ

Polar Signalling In polar signalling a binary 1 is represented by a pulse g 1 (t) and a binary 0 by the opposite (or antipodal) pulse g 0 (t) = -g 1 (t). Polar signalling also has NRZ and RZ forms. +V -V 0 Figure. Polar RZ

Polar Signalling Polar Non-Return to Zero (NRZ): Advantages: – Simplicity in implementation. – No DC component. Disadvantages: – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Does not posses any clocking component for ease of synchronisation. – Is not transparent.

Polar Signalling Polar Return to Zero (RZ): Advantages: – Simplicity in implementation. – No DC component. Disadvantages: – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Does not posses any clocking component for easy synchronisation. However, clock can be extracted by rectifying the received signal. – Occupies twice as much bandwidth as Polar NRZ.

BiPolar Signalling Bipolar Signalling is also called “alternate mark inversion” (AMI) uses three voltage levels (+V, 0, -V) to represent two binary symbols. Zeros, as in unipolar, are represented by the absence of a pulse and ones (or marks) are represented by alternating voltage levels of +V and –V. Alternating the mark level voltage ensures that the bipolar spectrum has a null at DC And that signal droop on AC coupled lines is avoided. The alternating mark voltage also gives bipolar signalling a single error detection capability. Like the Unipolar and Polar cases, Bipolar also has NRZ and RZ variations.

BiPolar Signalling Figure. BiPolar NRZ V -V 0

BiPolar Signalling BiPolar / AMI NRZ: Advantages: – No DC component. – Occupies less bandwidth than unipolar and polar NRZ schemes. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Possesses single error detection capability. Disadvantages: – Does not posses any clocking component for ease of synchronisation. – Is not Transparent.

BiPolar Signalling Figure. BiPolar RZ V -V 0

BiPolar Signalling BiPolar / AMI RZ: Advantages: – No DC component. – Occupies less bandwidth than unipolar and polar RZ schemes. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Possesses single error detection capability. – Clock can be extracted by rectifying (a copy of) the received signal. Disadvantages: –Is not Transparent.

Manchester Signalling In Manchester encoding, the duration of the bit is divided into two halves. The voltage remains at one level during the first half and moves to the other level during the second half. A ‘One’ is +ve in 1 st half and -ve in 2 nd half. A ‘Zero’ is -ve in 1 st half and +ve in 2 nd half. Note: Some books use different conventions.

Manchester Signalling Figure. Manchester Encoding V -V 0 Note: There is always a transition at the centre of bit duration.

Manchester Signalling The transition at the centre of every bit interval is used for synchronization at the receiver. Manchester encoding is called self-synchronizing. Synchronization at the receiving end can be achieved by locking on to the the transitions, which indicate the middle of the bits. It is worth highlighting that the traditional synchronization technique used for unipolar, polar and bipolar schemes, which employs a narrow BPF to extract the clock signal cannot be used for synchronization in Manchester encoding. This is because the PSD of Manchester encoding does not include a spectral line/ impulse at symbol rate (1/T o ). Even rectification does not help.

Manchester Signalling Manchester Signalling: Advantages: – No DC component. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Easy to synchronise with. – Is Transparent. Disadvantages: – Because of the greater number of transitions it occupies a significantly large bandwidth. – Does not have error detection capability. These characteristic make this scheme unsuitable for use in Wide Area Networks. However, it is widely used in Local Area Networks such as Ethernet and Token Ring.

Manchester code “1” maps into A/2 first T/2, -A/2 last T/2 “0” maps into -A/2 first T/2, A/2 last T/2 Every interval has transition in middle –Timing recovery easy –Uses double the minimum bandwidth Simple to implement Used in 10-Mbps Ethernet & other LAN standards Manchester Encoding