Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Chapter : Digital Modulation 4.2 : Digital Transmission
Fundamentals of Data & Signals (Part II) School of Business Eastern Illinois University © Abdou Illia, Spring 2015 (February18, 2015)
Chapter 2 Fundamentals of Data and Signals
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 DATA AND SIGNALS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University.
Lecture 26 Physical Layer Ch 4: Digital Transmission
ECE 4321: Computer Networks Chapter 3 Data Transmission.
CMP206 – Introduction to Data Communication & Networks Lecture 2 – Signals.
Chapter Two Fundamentals of Data and Signals
Fundamentals of Data and Signals
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Sixth Edition.
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
Physical Layer CHAPTER 3. Announcements and Outline Announcements Credit Suisse – Tomorrow (9/9) Afternoon – Student Lounge 5:30 PM Information Session.
Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Introduction to Wireless Communications. Wireless Comes of Age Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding alphanumeric.
Chapter 3 Data and Signals
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
Chapter 2 Fundamentals of Data and Signals
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
Lecture 3 Data Encoding and Signal Modulation
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Analog and Digital Transmission Interfaces and Multiplexing (Physical Layer) Lita Lidyawati 2012.
Data Communication and Networking 332 Hardware Components of Data Communication.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Fundamentals of Digital Communication
Lecture 1 Signals in the Time and Frequency Domains
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Part 2 Physical Layer and Media
Chapter 3 Data and Signals
Data Communications Chapter 5 Data Encoding.
Chapter #5 Pulse Modulation
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.
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)
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
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.#2 4-1 DIGITAL-TO-DIGITAL CONVERSION line coding, block coding, and scrambling. Line coding is always needed; block.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
◦ We sometimes need to digitize an analog signal ◦ To send human voice over a long distance, we need to digitize it, since digital signals are less prone.
Chapter 2 Fundamentals of Data and Signals
Chapter : Digital Modulation 4.2 : Digital Transmission
1 Signals. 2 Signals Introduction Introduction Analog and Digital Analog and Digital.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
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.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
Data Communications and Computer Networks Chapter 1 Network Architecture Models Logical and physical connections.
1 CSCD 433 Network Programming Fall 2013 Lecture 5a Digital Line Coding and other...
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
Data Communication and Networking Digital Transmission Chapter 4.
Computer Communication & Networks
Chapter Two Fundamentals of Data and Signals
CHAPTER 3 Physical Layer.
Introduction to electronic communication systems
CHAPTER 3 Physical Layer.
Fundamentals of Networking and
Fundamentals of Data & Signals (Part II)
Analog to Digital Encoding
Presentation transcript:

Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals

Data Communications & Computer Networks, Second Edition2 Introduction - Data and Signals Data are entities that convey meaning (computer file, music on a CD, results from a blood gas analysis machine) Signals are the electric or electromagnetic encoding of data (telephone conversation, web page download) Computer networks and data / voice communication systems transmit signals Data and signals can be analog or digital

Data Communications & Computer Networks, Second Edition3 Analog versus Digital Analog is a continuous waveform, with examples such as (naturally occurring) music and voice.

Data Communications & Computer Networks, Second Edition4 Analog versus Digital Digital is a discrete or non-continuous waveform with examples such as computer 1s and 0s.

Data Communications & Computer Networks, Second Edition5 Analog versus Digital It is harder to separate noise from an analog signal than it is to separate noise from a digital signal.

Data Communications & Computer Networks, Second Edition6 Analog versus Digital Noise in a digital signal. You can still discern a high voltage from a low voltage.

Data Communications & Computer Networks, Second Edition7 Analog versus Digital Noise in a digital signal. Too much noise - you cannot discern a high voltage from a low voltage.

Data Communications & Computer Networks, Second Edition8 All Signals Have Three Components Amplitude Frequency Phase

Data Communications & Computer Networks, Second Edition9 Amplitude The amplitude of a signal is the height of the wave above or below a given reference point.

Data Communications & Computer Networks, Second Edition10 Frequency The frequency is the number of times a signal makes a complete cycle within a given time frame. Spectrum - The range of frequencies that a signal spans from minimum to maximum. Bandwidth - The absolute value of the difference between the lowest and highest frequencies of a signal.

Data Communications & Computer Networks, Second Edition11

Data Communications & Computer Networks, Second Edition12 Frequency For example, consider an average voice: The average voice has a frequency range of roughly 300 Hz to 3100 Hz. The spectrum would thus be Hz The bandwidth would be 2800 Hz

Data Communications & Computer Networks, Second Edition13 Phase The phase of a signal is the position of the waveform relative to a given moment of time or relative to time zero. A change in phase can be any number of angles between 0 and 360 degrees. Phase changes often occur on common angles, such as 45, 90, 135, etc.

Data Communications & Computer Networks, Second Edition14

Data Communications & Computer Networks, Second Edition15 Signal Strength All signals experience loss (attenuation). Attenuation is denoted as a decibel (dB) loss. Decibel losses (and gains) are additive.

Data Communications & Computer Networks, Second Edition16 Signal Strength So if a signal loses 3 dB, is that a lot? A 3 dB loss indicates the signal lost half of its power. dB = 10 log 10 (P2 / P1) -3 dB = 10 log 10 (X / 100) -0.3 = log 10 (X / 100) = X / = X / 100 X = 50

Data Communications & Computer Networks, Second Edition17 Converting Digital Data into Digital Signals There are numerous techniques available to convert digital data into digital signals. Let’s examine four techniques: NRZ-L NRZ-I Manchester Differential Manchester

Data Communications & Computer Networks, Second Edition18

Data Communications & Computer Networks, Second Edition19 Note how with a Differential Manchester code, every bit has at least one signal change. Some bits have two signal changes per bit (baud rate is twice the bps).

Data Communications & Computer Networks, Second Edition20 4B/5B Digital Encoding Yet another encoding technique that converts four bits of data into five-bit quantities. The five-bit quantities are unique in that no five-bit code has more than 2 consecutive zeroes. The five-bit code is then transmitted using an NRZ-I encoded signal.

Data Communications & Computer Networks, Second Edition21

Data Communications & Computer Networks, Second Edition22 Converting Digital Data into Analog Signals Three basic techniques: Amplitude modulation Frequency modulation Phase modulation

Data Communications & Computer Networks, Second Edition23 Amplitude Modulation One amplitude encodes a 0 while another amplitude encodes a 1 (amplitude shift keying).

Data Communications & Computer Networks, Second Edition24 Amplitude Modulation Some systems use multiple amplitudes.

Data Communications & Computer Networks, Second Edition25 Multiple Signal Levels Why use multiple signal levels? We can represent two levels with a single bit, 0 or 1. We can represent four levels with two bits: 00, 01, 10, 11. We can represent eight levels with three bits: 000, 001, 010, 011, 100, 101, 110, 111 Note that the number of levels is always a power of 2.

Data Communications & Computer Networks, Second Edition26 Frequency Modulation One frequency encodes a 0 while another frequency encodes a 1 (frequency shift keying).

Data Communications & Computer Networks, Second Edition27 Phase Modulation One phase change encodes a 0 while another phase change encodes a 1 (differential phase shift keying).

Data Communications & Computer Networks, Second Edition28 Quadrature Phase Modulation Four different phase angles are used: 45 degrees 135 degrees 225 degrees 315 degrees

Data Communications & Computer Networks, Second Edition29

Data Communications & Computer Networks, Second Edition30 Quadrature Amplitude Modulation In this technology, 12 different phases are combined with two different amplitudes. Since only 4 phase angles have 2 different amplitudes, there are a total of 16 combinations. With 16 signal combinations, each baud equals 4 bits of information. (2 ^ 4 = 16)

Data Communications & Computer Networks, Second Edition31

Data Communications & Computer Networks, Second Edition32 Higher Data Transfer Rates How do you send data faster? 1. Use a higher frequency signal (make sure the medium can handle the higher frequency) 2. Use a higher number of signal levels In both cases, noise can be a party pooper.

Data Communications & Computer Networks, Second Edition33 Maximum Data Transfer Rates How do you calculate a maximum data rate? Use Shannon’s equation: S(f) = f log 2 (1 + W/N) Where f = signal frequency, W is signal power, and N is noise power

Data Communications & Computer Networks, Second Edition34 Maximum Data Transfer Rates For example, what is the data rate of a 3400 Hz signal with 0.2 watts of power and watts of noise? S(f)= 3400 x log 2 ( /0.0002) = 3400 x log 2 (1001) = 3400 x 9.97 = bps

Data Communications & Computer Networks, Second Edition35 Converting Analog Data into Digital Signals To convert analog data into a digital signal, there are two basic techniques: Pulse code modulation (used by telephone systems) Delta modulation

Data Communications & Computer Networks, Second Edition36 Pulse Code Modulation The analog waveform is sampled at specific intervals and the “snapshots” are converted to binary values.

Data Communications & Computer Networks, Second Edition37 Pulse Code Modulation When the binary values are later converted to an analog signal, a waveform similar to the original results.

Data Communications & Computer Networks, Second Edition38 Pulse Code Modulation The more snapshots taken in the same amount of time, or the more quantization levels, the better the resolution.

Data Communications & Computer Networks, Second Edition39 Pulse Code Modulation Since telephone systems digitize human voice, and since the human voice has a fairly narrow bandwidth, telephone systems can digitize voice into either 128 levels or 256 levels. These levels are called quantization levels. If 128 levels, then each sample is 7 bits (2 ^ 7 = 128). If 256 levels, then each sample is 8 bits (2 ^ 8 = 256).

Data Communications & Computer Networks, Second Edition40 Pulse Code Modulation How fast do you have to sample an input source to get a fairly accurate representation? Nyquist says 2 times the bandwidth. Thus, if you want to digitize voice (4000 Hz), you need to sample at 8000 samples per second.

Data Communications & Computer Networks, Second Edition41 Delta Modulation An analog waveform is tracked, using a binary 1 to represent a rise in voltage, and a 0 to represent a drop.

Data Communications & Computer Networks, Second Edition42 Converting Analog Data into Analog Signals Many times it is necessary to modulate analog data onto a different set of analog frequencies. Broadcast radio and television are two very common examples of this.

Data Communications & Computer Networks, Second Edition43

Data Communications & Computer Networks, Second Edition44 Spread Spectrum Technology A secure encoding technique that uses multiple frequencies or codes to transmit data. Two basic spread spectrum technologies: Frequency hopping spread spectrum Direct sequence spread spectrum

Data Communications & Computer Networks, Second Edition45 Frequency Hopping Spread Spectrum

Data Communications & Computer Networks, Second Edition46 Direct Sequence Spread Spectrum This technology replaces each binary 0 and binary 1 with a unique pattern, or sequence, of 1s and 0s. For example, one transmitter may transmit the sequence for each binary 1, and for each binary 0. Another transmitter may transmit the sequence for each binary 1, and for each binary 0.

Data Communications & Computer Networks, Second Edition47 Data Codes The set of all textual characters or symbols and their corresponding binary patterns is called a data code. There are two basic data code sets plus a third code set that has interesting characteristics: ASCII EBCDIC Baudot Code

Data Communications & Computer Networks, Second Edition48

Data Communications & Computer Networks, Second Edition49

Data Communications & Computer Networks, Second Edition50 Data and Signal Conversions in Action Let us transmit the message “Sam, what time is the meeting with accounting? Hannah.” This message first leaves Hannah’s workstation and travels across a local area network.

Data Communications & Computer Networks, Second Edition51 Data and Signal Conversions in Action

Data Communications & Computer Networks, Second Edition52 Data and Signal Conversions in Action