DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing.

Slides:



Advertisements
Similar presentations
Signal Encoding Techniques
Advertisements

Lecture 26 Physical Layer Ch 4: Digital Transmission
Data and Computer Communications
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
Chapter 5 – Signal Encoding and Modulation Techniques
Signal Encoding Techniques
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Signal Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
ICSA 341 (Updated 12/2001) Encoding There are four types of encoding possible. –Digital Encoding of Digital Data –Digital Encoding of Analog Data –Analog.
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
Computer Networks1 Chapter 4 Digital Transmission.
William Stallings Data and Computer Communications 7th Edition
Networks: Data Encoding1 Data Encoding Techniques.
Data Encoding Techniques
Chapter 2 Fundamentals of Data and Signals
Signal Encoding Lesson 05 NETS2150/2850
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
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.
Dr. Paramjeet Singh HoD,Dept. of CSE PTU GZS Campus Bathinda Subject: Computer Networks Topic: Encoding and modulating Punjab EDUSAT Society1.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 5 “Data Communication Fundamentals”.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Data Transmission Techniques Data to be transmitted is of two types 1.Analog data 2.Digital data Therefore,
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.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-9: Communication Techniques,Spectrum and bandwidth week 10- q-2/ 2008 Dr.
Chapter 6. Signal Encoding Techniques
Data Communications Chapter 5 Data Encoding.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques  Digital data, digital signal Equipment less complex and expensive than.
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 Networks บทที่ 2 พื้นฐานข้อมูลและ สัญญาณ อาจารย์ผู้สอน : ดร. วีรพันธุ์ ศิริฤทธิ์ .
BZUPAGES.COM 4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
: 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.
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.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques Digital data, digital signal Equipment less complex and expensive than.
A digital signal is a sequence of discrete discontinuous voltage pulses. Each pulse is a signal element (symbol). Binary data are transmitted by encoding.
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
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Excerpts from Slides of Chapter 4 Forouzan Digital Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
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
Chapter 4. Digital Transmission
Introduction to Information Technologies
Signal Encoding Techniques
CHAPTER : 04 Encoding & Modulation
Chapter 4 Digital Transmission.
Signal Encoding Techniques
Chapter 4 Digital Transmission.
4. TRANSMISI DIGITAL.
Encoding Prof. Choong Seon HONG.
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
Encoding.
Presentation transcript:

DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing an analog - Sending voice in telephone (Decrease effect of noise ) Digital-to-Analog conversion - Modulating a digital signal - Sending computer data through public telephone line Analog-to-Analog conversion - Modulating an analog signal - Sending music from radio station

Data Encoding - Representative Reasons Digital information, digital signal: In general, the equipment for encod­ing digital information into a digital signal is less complex and less expensive than digital-to- analog equipment. Analog information, digital signal: Conversion of analog information to digital form permits the use of modern digital transmission and switching equipment. Digital information, analog signal: Some transmission media, such as optical fiber and satellite, will propagate only analog signals. Analog information, analog signal: Analog information is easily converted to an analog signal.

Advantages of Digital Transmission a) Cost. The advent of large-scale integration (LSI) and very-large-scale integration (VLSI) has caused a continuing drop in the cost and size of digital circuitry. Analog equipment has not shown a similar drop. Furthermore, maintenance costs for digital circuitry are a fraction of those for analog circuitry. b) Data Integrity. With the use of digital repeaters rather than analog amplifiers, the effects of noise and other signal impairments are not cumulative. Thus, it is possible to transmit data longer distances and over lower-quality lines by digital means while maintaining the integrity of the data. c) Capacity Use. It has become economical to build transmission links of very high bandwidth, including satellite channels and optical fiber. A high degree of multiplexing is needed to effectively use such capacity, and this is more easily and cheaply achieved with digital (time-division) rather than analog (frequency-division) techniques. d) Security and Privacy. Encryption techniques can be readily applied to digital data and to analog data that have been digitized. e) Integration. By treating both analog and digital information digitally, all signals have the same form and can be treated similarly. Thus, economies of scale and conve­nience can be achieved by integrating voice, video, image, and digital data.

Digital-to-digital conversion Encoding data into a digital signal

Signal level versus data level Bbbb

DC component Bbbbb

Example 1 A signal has two data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = 1/10 -3 = 1000 pulses/s Bit Rate = Pulse Rate x log 2 L = 1000 x log 2 2 = 1000 bps

Example 2 A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = 1000 pulses/s Bit Rate = Pulse Rate x log 2 L = 1000 x log 2 4 = 2000 bps

XXXXXXX xxxxxxxxxx

XXXXXXX

Unipolar Encoding Unipolar encoding uses only one voltage level.

Unipolar Encoding Problems  DC components - Cannot pass through some media (is not supported by some transmission media)  Synchronization problems can occur when the data contains long string of 1’s or 0’s - Beginning/ending problem ( ) - Distortion (four 1111 " five 11111) - Solved by separate line

XXXXXX XXXXX

Polar Encoding Two levels (+ and -) Polar encoding uses two voltage levels (positive and negative). NRZ (Nonreturn to Zero)

NRZ-L - Similar to unipolar with average zero value - Uses two levels +V and –V. In NRZ In NRZ-L the level of the signal is L the level of the signal is dependent upon the state of the bit. - Still susceptible to synchronization problems NRZ-I - Invert on ones - A transition (low-to-high or high-to-low) at the start of a bit interval denotes a 1 bit, no transition denotes a 0 bit - Will still be pray to synchronization problems 50% of the time

Polar Encoding RZ (Return to Zero) - Three levels (+ - 0) - 2 signal changes per bit " more BW + Synchronization

Note: A good encoded digital signal must A good encoded digital signal must contain a provision for contain a provision for synchronization.

Polar Encoding - Biphase Transition → bit represent and synchronization

Manchester and Differential Manchester Encoding In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. In differential Manchester encoding, the transition at the middle of the bit is used only for synchronization. The bit representation is defined by the inversion or noninversion at the beginning of the bit.

Xxxxxx

Bipolar In bipolar encoding, we use three levels: positive, zero, and negative. Alternate Mark Inversion (AMI) “1” are positive and negative alternately (- Long Steam of 0 + DC component = 0)

Bipolar AMI encoding Bbbbbb

Bipolar (solved long stream of “0” → using violation)

Bipolar Problems - DC component - Synchronization (Long stream of 0 or 1)

Block coding Bbb

Substitution in block coding Bbbb

Examples 4B/5B encoding Example of 8B/6T encoding

Analog to Digital Encoding

Step 1: Pulse Amplitude Modulation(PAM) Bbbbbb

Pulse Amplitude Modulation Note: Pulse amplitude modulation has some applications, but it is not used by itself in data communication. However, it is the first step in another very popular conversion method pulse code modulation.

Step 2: Quantized PAM Signal Bbbbbb

Step 3: Quantizing Using Sign and Magnitude Mmmm

Step 4: Pulse Code Modulation (PCM) Bbbbbbbbbbbbbb

Summary From Analog to PCM Nnnnn

From Analog to PCM Bbbbbbbbbbbb

From Analog to PCM Bbbbbbbbbbb

From Analog to PCM Bbbbbbbbbbbbbb

Nyquist theorem According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency. Example What sampling rate is needed for a signal with a bandwidth of 10,000 Hz (1000 to 11,000 Hz)? Solution The sampling rate must be twice the highest frequency in the signal: Sampling rate = 2 x (11,000) = 22,000 samples/s

Nyquist Theorem bb

Nyquist Theorem We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample? Solution The human voice normally contains frequencies from 0 to 4000 Hz. Sampling rate = 4000 x 2 = 8000 samples/s Bit rate = sampling rate x number of bits per sample = 8000 x 8 = 64,000 bps = 64 Kbps

Digital to Analog Encoding Bbbb

Mmmm

Amplitude Shift Keying (ASK) Bbbb

Bandwidth for ASK

Frequency Shift Keying (FSK) Bbbbbbb

Bandwidth for FSK Bbbbbbbbbbb

Phase Shift Keying (PSK) Bbbbbbbbbbbbb

PSK Constellation Bbbbbbbb

4-PSK Bbbbbb

4-PSK Constellation Bbbb

8-PSK Constellation Bbbbb

PSK Bandwidth Bbbb

Quadrature Amplitude Modulation (QAM) Bbbb

8-QAM Signal Bbb

16-QAM Constellation Bbb

Analog to Analog Encoding Bbb

Bbbb

Amplitude Modulation Bbb

AM Bandwidth Bbbb

AM Band Allocation Bbb

Frequency Modulation Bbb

FM Bandwidth Bbbb

FM Band Allocation Bbb