Information Sources And Signals

Slides:



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

EET260 Introduction to digital communication
Chapter 2 Fundamentals of Data and Signals
Analogue to Digital Conversion (PCM and DM)
Lecture 26 Physical Layer Ch 4: Digital Transmission
5/6-Overview of Data Communications Dr. John P. Abraham Professor UTPA.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Information Sources and Signals
Information Sources & Signals
1 Lecture 27 Physical Layer (Data and Signals) University of Nevada – Reno Computer Science & Engineering Department Fall 2010 CPE 400 / 600 Computer Communication.
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.
DIGITAL COMMUNICATIONS.  The modern world is dependent on digital communications.  Radio, television and telephone systems were essentially analog in.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Chapter 2 : Business Information Business Data Communications, 5e.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Chapter 2 Fundamentals of Data and Signals
Module 3.0: Data Transmission
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.
Chapter 2 : Business Information Business Data Communications, 4e.
Chapter 1: Introduction Business Data Communications, 4e.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Modulation Modulation => Converts from digital to analog signal.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
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,
Chapter Seven: Digital Communication
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.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
CSC361/661 Digital Media Spring 2002
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
Data Communications Chapter 5 Data Encoding.
Digital Communications
6-Information Sources and Signals Dr. John P. Abraham Professor UTRGV.
Multimedia Elements: Sound, Animation, and Video.
Chapter #5 Pulse Modulation
CIS-325: Data Communications1 CIS-325 Data Communications Dr. L. G. Williams, Instructor.
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)
Chapter 4 Digital Transmission.
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.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
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.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
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.
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.
McGraw-Hill©2003 The McGraw-Hill Companies, Inc. Chapter 6 Physical Layer.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Information Sources And Signals. Friday Group research assignment 1 Use class time to work on it.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Transmission Media.
COMPUTER NETWORKS and INTERNETS
Introduction to electronic communication systems
Pulse Code Modulation (PCM)
Modulation Modulation => Converts from digital to analog signal.
Analog to Digital Encoding
Presentation transcript:

Information Sources And Signals

Review: Composite Signals and Frequency Domain Representations Time Domain Representation Frequency Domain Representation 2 2

Signal Bandwidth A Measure of Signal Frequency Range The difference between the highest and the lowest frequencies contained in a signal.

What Is the Bandwidth of This Signal? 2 - 1 = 1Hz

If a signal is decomposed into three sine waves with frequencies of 300, 700, and 1200 Hz, what is its bandwidth?

Why Should We Care about Bandwidth? We need to know the bandwidth of a signal to make sure the communication channel is wide enough to transmit it.

An Analogy

In reality, The bandwidth of a signal is much larger than what is allowed by a communication channel. We need to chop off some frequency components of a signal so that it can be transmitted AND as much information as possible can be preserved.

Digital Signals

Digital Signals Use voltage to represent digital values A positive voltage  a logical one (1) Zero or a negative voltage  a logical zero (0) +5 volts is usually what we use in computer hardware. +5 or 0 -> 1 or 0 Two levels: 1 bit

Digital Signal Levels Some physical mechanisms can support more than two signal levels. For example, consider a system that uses four levels of voltage: -5 volts, -2 volts, +2 volts, and +5 volts

Digital Signal Levels More signal levels a system has, more bits need to be sent out per unit time.

Bits and Signal Levels Often we use bits to describe signal levels How many bits can we represent using 4 levels? -5, -2, 2, 5 How many bits can we represent using 8 levels? How many levels do we need to represent n bits?

More Bits, Better? More bits a system can deliver at a given time period, more information it can transfer. Can we increase the signal levels as many as possible? Mathematically, it is doable. Practically, electronic systems cannot distinguish between signal levels (voltage levels) that differ by small amounts.

What’s the bandwidth of digital signals? Fourier Analysis: http://www.mathcs.org/java/programs/FFT/index.html = Time Domain Representation Frequency Domain Representation

Digital Signals The bandwidth of a digital signal is infinite! Accurate representation of a digital signal requires an infinite set of sine waves. Transmitting/reproducing digital signals is impractical Engineers adopt a compromise: generate analog waves that closely approximate the digital signal approximation involves building a composite signal from only a few sine waves the quality of approximation depends on the channel bandwidth 16 16

Bandwidth-Limited Signals Having less bandwidth (harmonics) degrades the signal 8 sine waves Lost! Bandwidth 4 sine waves Lost! 2 sine waves Lost! CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011

Speed/Capacity of Data Transmittion We use bit rate (bits per second) to measure the speed/capacity of transmission. Two factors to consider when measuring the bit rate. The number of signal levels How many bits at each level? How long does a system have to stay at a given level? Should be long enough to guarantee the signal to be received. We use Baud to measure how many times the signal can change per second

Baud Baud rate is confined by hardware. Some numbers (theoretical) Dial-in (v.90): 56k ISDN: 128k DSL: 300k – 1,500k (1.5M) Cable: 300k – 6,000k (6M) (could go higher) T1: 1.5M T3: 44M 100Base-T: 100M Baud rates on real connections may be lower. 19 19

Bit Rate If a system with two signal levels operates at 1000 baud, how many bits he system can transfer per second? How about a system that operates at 2000 baud and has four signal levels 20 20

Synchronization and Agreement about Signals Diverse signals and systems means different signal levels and baud rates. Different signal levels + Different baud rates  Troubles! The systems at both ends must be able to measure time precisely. if one end transmits a signal with 10 elements per second, the other end must expect exactly 10 elements per second

Example of Synchronization Error

Synchronization and Agreement about Signals Handshaking http://www.freesound.org/samplesViewSingle.php?id=19036 http://www.windytan.com/2012/11/the-sound-of-dialup-pictured.html At slow speeds, easy At high speeds, many challenges if one end transmits a signal with 109 elements per second, the other end must expect exactly 109 elements per second (not 109-1, not 109+1) 1 0 0 0 0 0 0 0 0 0 0 … 0 Um, how many zeros was that?

Manchester Encoding For computers, detecting a transition in signal level is much easier than measuring the signal level A transition from 0V to +5V  logical 1 A transition from +5V to 0V  logical 0 Transitions occur in the middle of each time slot

Converting an Analog Signal to Digital Pulse code modulation

Converting an Analog Signal to Digital The three steps used PCM Sampling an analog signal. Quantizing the sampled value. Encoding the quantized value. 4.5 5.7 3.2 01000101 01010111 00110010 26 26

How many samples do we need? too few samples: may only give a crude approximation of the original signal too many samples: more digital data will be generated, which uses extra bandwidth

The Nyquist Theorem and Sampling Rate A mathematician named Nyquist discovered exactly how much sampling is required: fmax : the highest frequency in the composite signal. Sample a signal at least twice as fast as the highest frequency that must be preserved.

Q: At what rate should we sample the following signal?

Example: Bit Rate of Telephone System Audio bandwidth Acceptable quality: preserving frequency up to 4k Sampling rate (baud) = 2*4K = 8K Quantization: Reasonable quality reproduction: 8 bits / 256 levels

Digital Audio Audio frequency Sampling frequency 20 Hz – 20k Varied from individual to individual Teenbuzz: http://download.npr.org/anon.npr-mp3/atc/atc_teenbuzz.mp3 Sampling frequency MP3: 44.1kHz DVD-audio: 48 kHz

Encoding and Data Compression Data compression refers to a technique that reduces the number of bits required to represent data Data compression is relevant to a communication system because reducing the number of bits used to represent data reduces the time required for transmission a communication system can be optimized by compressing data Chapter 29 discusses compression in multimedia applications There are two types of compression: Lossy - some information is lost during compression Lossless - all information is retained in the compressed version

Encoding and Data Compression Lossy compression is generally used with data that a human consumes, such as an image, video/audio The key idea is that the compression only needs to preserve details to the level of human perception a change is acceptable if humans cannot detect the change JPEG (used for images) compression or MPEG-3 (abbreviated MP3 and used for audio recordings) employ lossy compression Lossless compression preserves the original data without missing anything lossless compression can be used for documents or in any situation where data must be preserved exactly when used for communication, a sender compresses the data before transmission and the receiver decompresses the result arbitrary data can be compressed by a sender and decompressed by a receiver to recover an exact copy of the original 33 33

Friday Group research assignment 1 due at 11:59pm Use class time to work on it