1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.

Slides:



Advertisements
Similar presentations
Fundamentals of Data & Signals (Part II) School of Business Eastern Illinois University © Abdou Illia, Spring 2015 (February18, 2015)
Advertisements

Chapter 2 Fundamentals of Data and Signals
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
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
ECE 4321: Computer Networks Chapter 3 Data Transmission.
CMP206 – Introduction to Data Communication & Networks Lecture 2 – Signals.
Chapter Two Fundamentals of Data and Signals
Physical Layer – Part 2 Data Encoding Techniques
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.
Chapter 3 Data and Signals
William Stallings Data and Computer Communications 7th Edition
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
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.
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
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.
Modulation Modulation => Converts from digital to analog signal.
Fundamentals of Data & Signals School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 5, Tuesday 2/6/2007)
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.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
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)
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Data Communications Chapter 5 Data Encoding.
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.
BZUPAGES.COM 4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
: 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)
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
Digital Transmission & Analog Transmission. 4.#2 1. DIGITAL-TO-DIGITAL CONVERSION Digital Data -> Digital Signal Three techniques: 1.line coding (always.
Day 4 Encoding Data. So… We have analog and digital data, and analog and digital signals. –We can use any combination of the above –Why? Shouldn’t we.
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.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
Chapter 2 Fundamentals of Data and Signals
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.
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 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.
1587: COMMUNICATION SYSTEMS 1 Digital Signals, modulation and noise Dr. George Loukas University of Greenwich,
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
Data Communication and Networking Digital Transmission Chapter 4.
Chapter Two Fundamentals of Data and Signals
CHAPTER 3 Physical Layer.
Introduction to electronic communication systems
CHAPTER 3 Physical Layer.
Physical Layer (Part 2) Data Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
MODULATION AND DEMODULATION
Fundamentals of Networking and
Fundamentals of Data & Signals (Part II)
Modulation Modulation => Converts from digital to analog signal.
Chapter 5. Data Encoding Digital Data, Digital Signals
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach

2 Data Communications and Computer Networks Chapter 2 What we cover: Data vs signals Signals – digital and analog; aspects Conversion: A to D; D to A Data encoding

3 Data Communications and Computer Networks Chapter 2 Introduction Computer networks transmit signals Signals are the electric or electromagnetic encoding of data Data and signals can be analog or digital

4 Data Communications and Computer Networks Chapter 2 Data vs Signals Data is what we want to transmit Data is usually stored Signals are what we use to transmit the data Signals are transient

5 Data Communications and Computer Networks Chapter 2 Data and Signals Examples of data include: computer files movie on a DVD music on a compact disc collection of samples from a blood gas analysis device

6 Data Communications and Computer Networks Chapter 2 Data and Signals Examples of signals include: telephone conversation over a telephone line live television news interview from Europe web page download over your telephone line via the Internet others?

7 Data Communications and Computer Networks Chapter 2 Analog versus Digital Analog is a continuous waveform, with examples such as music and video.

8 Data Communications and Computer Networks Chapter 2 Analog versus Digital Digital is a discrete or non-continuous waveform with examples such as computer 1s and 0s.

9 Data Communications and Computer Networks Chapter 2 Analog versus Digital It is harder to separate noise from an analog signal than it is to separate noise from a digital signal.

10 Data Communications and Computer Networks Chapter 2 Analog versus Digital Noise in a digital signal. You can still discern a high voltage from a low voltage.

11 Data Communications and Computer Networks Chapter 2 Analog versus Digital Noise in a digital signal. Too much noise - you cannot discern a high voltage from a low voltage.

12 Data Communications and Computer Networks Chapter 2 All Signals Three Components Amount - Amplitude Time - Frequency Phase

13 Data Communications and Computer Networks Chapter 2 Amplitude The amplitude of a signal is the height of the wave above or below a given reference point.

14 Frequency The frequency is the number of times a signal makes a complete cycle within a given time frame. Measured in Hz (hertz = cycles/second) Period is the length of one cycle = 1/frequency Spectrum - The range of frequencies that a signal spans from minimum to maximum. Human speech: 300 Hz to 3100 Hz Bandwidth - The absolute value of the difference between the lowest and highest frequencies of a signal. Human speech: 2800 Hz

15 Data Communications and Computer Networks Chapter 2

16 Data Communications and Computer Networks Chapter 2 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.

17 Data Communications and Computer Networks Chapter 2

18 Data Communications and Computer Networks Chapter 2 Loss or Gain of Signal Strength All signals experience loss (attenuation). Attenuation and gain is denoted as a decibel (dB) loss or gain. Decibel losses (and gains) are additive.

19 Data Communications and Computer Networks Chapter 2 Loss of Signal Strength Decibel is a relative loss or gain of signal dB = 10 log 10 (output power/input power) dB = 10 log 10 (P o /P i ) = 10 log 10 P o – 10 log 10 P i dB = dB o - dB i Attenuation is denoted as a decibel (dB) loss. Decibel losses (and gains) are additive. dB is RELATIVE; cannot be calculated for a single power level

20 Data Communications and Computer Networks Chapter 2 Loss or gain of Signal Strength Signal runs from point A to point C through point B Both lines and nodes can have a lose or gain. Rarely do lines have gains -10 dB + 20 dB – 15 dB = -5 dB

21 Data Communications and Computer Networks Chapter 2 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

22 Data Communications and Computer Networks Chapter 2 Converting data into signals - types Transmitting Digital data to digital signals Digital data with analog signals Analog data with digital signals Analog data with analog signals

23 Data Communications and Computer Networks Chapter 2 Converting Digital Data (0,1)’s into Digital Signals There are numerous techniques available to convert digital data into digital signals. Many systems are designed only to carry analog signals Let’s examine four techniques: NRZ-L (non return to zero level) NRZ-I (non return to zero – inverted) Manchester Differential Manchester

24 Data Communications and Computer Networks Chapter 2 Converting Digital Data NRZ-L & NRZ-I have synchronization problems No signal change at the beginning of each bit Requires to systems to have clocks in synch Manchester & Differential Manchester Each bit has signal change Encoding schemes are self-clocking

25 Data Communications and Computer Networks Chapter 2

26 Data Communications and Computer Networks Chapter 2 Bits per second (bps) = number of bits transmitted across a medium in a given second Baud rate: number of times a signal changes value per second bps and baud are not always the same

27 Data Communications and Computer Networks Chapter 2 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). Presence of transition at beginning of bit time means a zero

28 Data Communications and Computer Networks Chapter 2 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.

29 Data Communications and Computer Networks Chapter 2

30 Converting Digital Data into Analog Signals Modulation: change from one version to another Three basic techniques: Amplitude modulation Frequency modulation Phase modulation

31 Modem Device that converts digital data to analog signal and back again. MOdulator/DEModulator

32 Data Communications and Computer Networks Chapter 2 Amplitude Modulation One amplitude encodes a 0 while another amplitude encodes a 1.

33 Data Communications and Computer Networks Chapter 2 Amplitude Modulation Some systems use multiple amplitudes.

34 Data Communications and Computer Networks Chapter 2 Frequency Modulation One frequency encodes a 0 while another frequency encodes a 1.

35 Data Communications and Computer Networks Chapter 2 Phase Modulation One phase change encodes a 0 while another phase change encodes a 1. Here, only phase change for a 1.

36 Data Communications and Computer Networks Chapter 2 Quadrature Phase Modulation Four different phase angles are used: 45 degrees 135 degrees 225 degrees 315 degrees

37 Data Communications and Computer Networks Chapter 2

38 Data Communications and Computer Networks Chapter 2 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

39 Data Communications and Computer Networks Chapter 2 Pulse Code Modulation The analog waveform is sampled at specific intervals and the “snapshots” are converted to binary values.

40 Data Communications and Computer Networks Chapter 2 Pulse Code Modulation When the binary values are later converted to an analog signal, a waveform similar to the original results.

41 Data Communications and Computer Networks Chapter 2 Pulse Code Modulation The more snapshots taken in the same amount of time, the better the resolution.

42 Data Communications and Computer Networks Chapter 2 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).

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

44 Data Communications and Computer Networks Chapter 2 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.

45 Data Communications and Computer Networks Chapter 2

46 Data Communications and Computer Networks Chapter 2 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

47 Data Communications and Computer Networks Chapter 2 Frequency Hopping Spread Spectrum

48 Data Communications and Computer Networks Chapter 2 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.

49 Data Code – common digital data transmitted 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: ASCII (7 bit, 1 parity bit) EBCDIC (8 bit) [IBM computers] Number of possible codeable terms 2*N

50 Data Communications and Computer Networks Chapter 2

51 Data Communications and Computer Networks Chapter 2

52 Data Communications and Computer Networks Chapter 2 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.

53 Data Communications and Computer Networks Chapter 2 Data and Signal Conversions in Action Note the order of the signals in time

54 Data Communications and Computer Networks Chapter 2 Data and Signal Conversions in Action

55 Data Communications and Computer Networks Chapter 2 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 problem.

56 What we covered Data and Signal Signal components – amplitude, frequency, phase Transmission factors – noise and attenuation Four combinations data and signal Digital encoding schemes –Bit rate vs baud Digital data on analog signals requires modulation –AM, FM, PM Analog data to digital signals –PCM, delta M

57 What we covered Analog data over analog signal – modulate to another frequency Spread spectrum – frequency hopping Data codes – transmission of data codes –ASCII (American National Standard code for Information Interchange) the most common

58 Problems Set