CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet.

Slides:



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

CMP206 – Introduction to Data Communication & Networks Lecture 3 – Bandwidth.
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.
Theoretical basis for data communication
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
1/15 KLKSK Pertemuan III Analog & Digital Data Shannon Theorem xDSL.
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
Chapter 6: Data Transmission Business Data Communications, 4e.
Physical Layer (Part 1) Advanced Computer Networks.
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
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 2 Introduction to Networks and the Internet.
Chapter 15: Data Transmission Business Data Communications, 5e.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 4 Introduction to Networks and the Internet.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 7 Introduction to Networks and the Internet.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Network Technology CSE3020 Week 2
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 4 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 3 Introduction to Networks and the Internet.
The Physical Layer: Data Transmission Basics
Networks: Physical Layer1 Physical Layer. Networks: Physical Layer2 Receiver Communication channel Transmitter Figure 3.5 Copyright ©2000 The McGraw Hill.
1 Computer Communication & Networks Lecture 5 Physical Layer: Data & Signals Waleed Ejaz
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Digital Data Patrice Koehl Computer Science UC Davis.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Chapter 6: Data Transmission Business Data Communications, 4e.
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
Part 2 Physical Layer and Media
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
Chapter 15: Data Transmission Business Data Communications, 6e.
Sharif University of Technology The Physical Layer defines the mechanical, electrical, and timing interfaces to the network. Topics in this chapter: 
Data Transmission. 1. Terminology Transmitter Receiver Medium —Guided medium e.g. twisted pair, optical fiber —Unguided medium e.g. air, water, vacuum.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
The physical layer. 2 Physical Layer  Sending raw bits across “the wire”.  Issues: –What’s being transmitted. –Transmission medium. –How it’s being.
Aegis School of Telecommunication 1 Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas Dean Telecom.
1 Information in Continuous Signals f(t) t 0 In practice, many signals are essentially analogue i.e. continuous. e.g. speech signal from microphone, radio.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Physical Layer: Data and Signals
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Physical Layer PART II. Position of the physical layer.
Data Comm. & Networks Lecture 6 Instructor: Ibrahim Tariq.
1 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Physical Layer (Part 1) Computer Networks C13.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
Spring 2006Data Communications, Kwangwoon University3-1 Chapter 3. Signals 1.Analog and digital 2.Analog signals 3.Digital signals 4.Analog versus digital.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
1 CSCD 433 Network Programming Fall 2013 Lecture 5a Digital Line Coding and other...
ECE 101 An Introduction to Information Technology Analog to Digital Conversion.
Powerpoint Templates Computer Communication & Networks Week # 04 1 Lecture only.
PAM Modulation Lab#3. Introduction An analog signal is characterized by the fact that its amplitude can take any value over a continuous range. On the.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
1 CSCD 433 Network Programming Fall 2016 Lecture 4 Digital Line Coding and other...
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Computer Communication & Networks
Communications Theory
Communications Theory
William Stallings Data and Computer Communications 7th Edition
Introduction to electronic communication systems
REVIEW Physical Layer.
Presentation transcript:

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet

CMPE 150- Introduction to Computer Networks 2 Announcements Labs: –1 slot either M or W 4-6pm. –1 slot either T or Th 10am-12 or 12-2pm.

CMPE 150- Introduction to Computer Networks 3 Last class… Finished (finally) overview, terminology, basic concepts, etc. Today: PHY.

CMPE 150- Introduction to Computer Networks 4 The Physical (PHY) Layer

CMPE 150- Introduction to Computer Networks 5 PHY Transmitting information on wires. How is information represented? –Digital systems. –Analog systems.

CMPE 150- Introduction to Computer Networks 6 Analog Technology Analog devices maintain exact physical analog of information. –E.g., microphone: the voltage v(t) at the output of the mic is proportional to the sound pressure v(t)

CMPE 150- Introduction to Computer Networks 7 Digital Technology It uses numbers to record and process information –Inside a computer, all information is represented by numbers. Analog-to-digital conversion: ADC Digital-to-analog conversion: DAC ADCDAC

CMPE 150- Introduction to Computer Networks 8 Digital Technology All signals (including multimedia) can be encoded in digital form. Digital information does not get distorted while being stored, copied or communicated.

CMPE 150- Introduction to Computer Networks 9 Digital Communication Technology Early example: the telegraph (Morse code). –Uses dots and dashes to transmit letters. –It is digital even though uses electrical signals. The telephone has become digital. CDs and DVDs. Digital communication networks form the Internet. The user is unaware that the signal is encoded in digital form.

CMPE 150- Introduction to Computer Networks 10 Two Levels are Sufficient Computers encode information using only two levels: 0 and 1. A bit is a digit that can only assume the values 0 and 1 (it is a binary digit). A word is a set of bits –Example: ASCII standard for encoding text A = ; B = ; … A byte is a word with 8 bits.

CMPE 150- Introduction to Computer Networks 11 Definitions 1 KB = 1 kilobyte = 1,000 bytes = 8,000 bits 1 MB = 1 megabyte = 1,000 KB 1 GB = 1 gigabyte = 1,000 MB 1 TB = 1 terabyte = 1,000 GB 1 Kb = 1 kilobit = 1,000 bits 1 Mb = 1 megabit = 1,000 Kb 1 Gb = 1 gigabit = 1,000 Mb 1 Tb = 1 terabit = 1,000 Gb

CMPE 150- Introduction to Computer Networks 12 Digitization Digitization is the process that allows us to convert analog to digital (implemented by ADC). Analog signals: x(t) –Defined on continuum (e.g. time). –Can take on any real value. Digital signals: q(n) –Sequence of numbers (samples) defined by a discrete set (e.g., integers).

CMPE 150- Introduction to Computer Networks 13 Digitization - Example x(t) q(n) Analog signal x(t)Digitized signal q(n)

CMPE 150- Introduction to Computer Networks 14 Some Definitions Interval of time between two samples: –Sampling Interval (T). Sampling frequency F=1/T. E.g.: if the sampling interval is 0.1 seconds, then the sampling frequency is 1/0.1=10. –Measured in samples/second or Hertz. Each sample is defined using a word of B bits. –E.g.: we may use 8 bits (1 byte) per sample.

CMPE 150- Introduction to Computer Networks 15 Bit-rate Bit-rate = numbers of bits per second we need to transmit –For each second we transmit F=1/T samples. –Each sample is defined with a word of B bits. –Bit-rate = F*B. Example: if F is 10 samples/s and B=8, then the bit rate is 80 bits/s.

CMPE 150- Introduction to Computer Networks 16 Example of Digitization Time (seconds) 012 F=4 samples/second B=4 bits/sample Bit-rate=BF=16 bits/second

CMPE 150- Introduction to Computer Networks 17 Bit-rate - Example 1 What is the bit-rate of digitized audio? –Sampling rate: F= 44.1 KHz –Quantization with B=16 bits –Bit-rate = BF= Kb/s –Example: 1 minute of uncompressed stereo music takes more than 10 MB!

CMPE 150- Introduction to Computer Networks 18 Bit-rate - Example 2 What is the bit-rate of digitized speech? –Sampling rate: F = 8 KHz –Quantization with B = 16 bits –Bit-rate = BF = 128 Kb/s

CMPE 150- Introduction to Computer Networks 19 Data Transmission Analog and digital transmission. –Example of analog data: voice and video. –Example of digital data: character strings Use of codes to represent characters as sequence of bits (e.g., ASCII). Historically, communication infrastructure for analog transmission. –Digital data needed to be converted: modems (modulator-demodulator).

CMPE 150- Introduction to Computer Networks 20 Digital Transmission Current trend: digital transmission. – Cost efficient: advances in digital circuitry. (VLSI). Advantages: –Data integrity: better noise immunity. –Security: easier to integrate encryption algorithms. –Channel utilization: higher degree of multiplexing (time-division mux’ing).

CMPE 150- Introduction to Computer Networks 21 Signals and Systems What is a signal? What is a system?

CMPE 150- Introduction to Computer Networks 22 Signals and Systems (cont’d) Signal: electro-magnetic wave carrying information. –Time varying function produced by physical device (voltage, current, etc.). System: device (or collection thereof) or process (algorithm) having signals as input and output.

CMPE 150- Introduction to Computer Networks 23 Signals and Systems (cont’d)

CMPE 150- Introduction to Computer Networks 24 Signals and Systems (cont’d) Periodic signals: –f(t+T) = f(t) Period = T (seconds) Frequency = 1/ Period –“cycles” / sec. = Hertz (Hz)

CMPE 150- Introduction to Computer Networks 25 Fourier Analysis Math tool for studying/designing communication systems. In the early 19 th. Century, Fourier proved that periodic functions can be expressed as sum of sines and cosines.

CMPE 150- Introduction to Computer Networks 26 Fourier Series g(t) = c/2 + sum [a n sin (2  n f t)] + sum [b n cos (2  f t)], Where :. f = 1/T is the fundamental frequency.. a n and b n are the sine and cosine amplitudes of the n th harmonics.

CMPE 150- Introduction to Computer Networks 27 Fourier Analysis From the Fourier series, function can be reconstructed. I.e., if period T and amplitudes are known, original signal can be reconstructed using the corresponding Fourier series.

CMPE 150- Introduction to Computer Networks 28 Theoretical Basis for Data Communication Fourier Analysis Bandwidth-Limited Signals Maximum Data Rate of a Channel

CMPE 150- Introduction to Computer Networks 29 Bandwidth-Limited Signals

CMPE 150- Introduction to Computer Networks 30 Example Transmissionn of ASCII “b”: Root-mean-square amplitudes: –(a n 2 + b n 2 ) 1/2 –Proportional to energy transmitted at corresponding frequency.

CMPE 150- Introduction to Computer Networks 31 Bandwidth-Limited Signals (a) Binary signal and its root-mean-square Fourier amplitudes. (b) – (c) Successive approximations to the original signal.

CMPE 150- Introduction to Computer Networks 32 Bandwidth-Limited Signals (2) (d) – (e) Successive approximations to original signal.

CMPE 150- Introduction to Computer Networks 33 Transmission Distortion No transmission medium can transmit all Fourier components. Range of frequency transmitted without severe attenuation is called bandwidth, –Frequently, bandwidth is from 0 to frequency transmitted at half the power. Bandwidth is physical property of medium. –Depends on material, length, thickness.

CMPE 150- Introduction to Computer Networks 34 Data rates and Bandwidth Example: bit rate of b bits/sec. Time to send 8 bits is 8/b sec. First harmonic frequency is b/8 Hz. If information transmitted over regular phone line, cutoff frequency or bandwidth is 3KHz. I.e., highest harmonic transmitted is 3000/(b/8) or 24,000/b.

CMPE 150- Introduction to Computer Networks 35 Bandwidth-Limited Signals (3) Relation between data rate and harmonics.

CMPE 150- Introduction to Computer Networks 36 Noiseless Channel Capacity Transmission channels have finite capacity. In perfect (i.e., noiseless) channels, Nyquist (Nyquist, 1924) proved that: –Capacity (bps) = 2 H V (bps), where H is channel bandwdith (Hz) and V is number of discrete levels.

CMPE 150- Introduction to Computer Networks 37 Noise-Prone Channels Random (thermal) noise is due to molecule motion. Amount of thermal noise measured by signa- to-noise ratio (SNR). –SNR = S/N, where S is signal power and N is noise power. –SNR usually given in decibels (dB). –SNR in dB is 10 log 10 S/N. –If S/N is 10, SNR is 10dB; S/N is 100, SNR is 20dB.

CMPE 150- Introduction to Computer Networks 38 Shannon’s Theorem C (bps) = H log 2 (1+ S/N). Example: If channel’s bandwidth is 3KHz and SNR is 30 dB (analog telephone system), cannot transmit over 30,000 bps.