Data Encoding and Decoding Professor: Dr. Miguel Alonso Jr.

Slides:



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

1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
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
4.2 Digital Transmission Pulse Modulation (Part 2.1)
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
Signal Encoding Lesson 05 NETS2150/2850
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
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,
EE 350 / ECE 490 Analog Communication Systems 2/23/2010R. Munden - Fairfield University 1.
Formatting and Baseband Modulation
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz.
Data Communications Chapter 5 Data Encoding.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
Binary Codes. Binary Code A binary code is just an assignment of information to bit patterns.
Line Coding, Modem, RS232 interfacing sequences.
ECE 4371, Fall, 2015 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
6-Information Sources and Signals Dr. John P. Abraham Professor UTRGV.
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 Computer Networks
British Computer Society (BCS)
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.
A digital signal is a sequence of discrete discontinuous voltage pulses. Each pulse is a signal element (symbol). Binary data are transmitted by encoding.
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.
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.
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
Line Coding and Binary Keying Modulation
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
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.
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
CSE 320 Data Communications
Binary Codes.
Chapter 4. Digital Transmission
4.2 Digital Transmission Pulse Modulation (Part 2.1)
DIGITAL TRANSMISSION PART C
Data Conversion Methods
Prepared By Mr. Arshad Ahmad
Chapter 4 Digital Transmission
Chapter 4 Digital Transmission
Lecture 1 Line Encoding 2nd semester
CT1303 LAN Rehab AlFallaj.
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
Chapter Nine: Data Transmission
Lecture 2: Line Encoding 1nd semester By: Adal ALashban.
Data Transmission And Digital Communication
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
Disadvantages of Analog Transmission
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:

Data Encoding and Decoding Professor: Dr. Miguel Alonso Jr.

Outline u-law encoding Encoding Formats NRZ RZ Bi-phase and Miller Alphanumeric Encoding Coding Principles Code Error Detection and Correction

U-law Encoding before PCM Useful for when the analog signal is to vary throughout its entire range. i.e. the signal will change from a very strong to a very weak signal Solution: u-law companding Vout = Vmax * ln(1+u*Vin/Vmax) / ln (1+u)‏ u defines the amount of compression u = 0, no compression Early Bell systems u=100, for a 7 bit PCM code

Encoding Formats For transmitting PCM codes short distances, typically 5 Volts represents a logic 1, and 0 volts represents a logic 0 But for transmission over long distances through wire, or through fiber optic lines or RF (radio frequencies), the binary data must be encoded so that the highs and lows are easily detected Systems are typically serial, either Synchronous – clocking information needs to be added Asynchronous – no clocking information necessary

Commonly used digital signal encoding formats NRZ – non return to zero RZ – return to zero Phase-encoded and delay encoded Multilevel binary

NRZ Easiest to implement Data does not return to zero during an interval or frame No – self synchronization, synchronization must be added NRZ-L (level)‏ 1 – high level 0 – low level NRZ-M (mark)‏ 1 – transition at the beginning of the interval 0 – no transition NRZ-S (space)‏ 1 – no transition 0 – transition at the beginning of the interval

RZ Same limitations and disadvantages of NRZ RZ (unipolar)‏ 1 – transition at the beginning of the interval 0 – no transition RZ(bi-polar)‏ 1 – positive transition in the first half of the interval 0 – negative transition in the first half of the interval RZ-AMI (alternate – mark inversion)‏ 1 – transition with the clock interval alternating in direction 0 – no transition

Bi-phase and Miller Codes No – DC component and self synchronizing Biphase – M (bi-phase mark)‏ 1 - transition in the middle of the clock interval 0 – no transition in the middle of the clock interval Note: always a transition at the beginning of the clock interval Biphase – L /Manchester ((ethernet standard IEEE LAN)‏ 1 – transition from high to low in the middle of the clock interval 0 – transition from low to high in the middle of the clock interval

Biphase – S 1 – no transition in the middle of the clock interval 0 - transition in the middle of the clock interval Note: there is always a transition at the beginning of the clock interval Differential Manchester 1 – transition in the middle of the clock interval 0 – transition at the beginning of the clock interval Miller/delay modulation 1 – transition in the middle of the clock inteval 0 – no transition at the end of the clock interval unless followed by a zero

Alpha-Numeric Coding ASCII (American Standard Code for Information Exchange)‏ 128 possible combinations ( 7 bits)‏ 1 parity bit ( used for error detection LSB transmitted first First 3 bits indicate number, letter, or character Lower 4 bits are BCD progression

BCD (Binary coded decimal)‏ EBCDIC ( Extended Binary-Coded Decimal Interchange Code)‏ Hexadecimal Numbering System

Coding Principles Hamming Distance: Minimum distance between each defined state Error Detection and Correction based on Dmin Dmin – 1 errors can be detected if Dmin is even, then Dmin/2 – 1 errors can be corrected if Dmin is odd, the 1/2*(Dmin -1) errors can be corrected

Error detection Parity A single bit is added to each code representation if # of 1's is even, even parity if odd, odd parity Parity Generator/Checker: XOR Gates 1 for odd parity, 0 for even parity 0 for no errors if used as a checker

Error Handling ARQ Automatic Request for Retransmission Symbol Substitution Most Systems use ARQ ACK (positive acknowledgment is sent back to the transmitter if no error is detected)‏ NAK (negative acknowledgment is sent back if an error is detected and the the transmitter repeats that block of data.