IS250 Spring 2010 chuang@ischool.berkeley.edu Physical Layer IS250 Spring 2010 chuang@ischool.berkeley.edu.

Slides:



Advertisements
Similar presentations
Signal Encoding Techniques
Advertisements

1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Signal Encoding Techniques
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Signal Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
Digital to Analog Many carrier facilities are analog Many transmission media are also analog (microwave, radio) We can carry digital values over analog.
1 Digital Data, Analog Signals (5.2) CSE 3213 Fall May 2015.
EE302 Lesson 21: Transmission of Binary Data in Communication Systems
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
1 Chapter 2. Transmission Fundamentals Wen-Shyang Hwang KUAS EE.
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
Physical Layer (Part 1) Advanced Computer Networks.
Chapter 3 Data and Signals
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
1 Physical Layer. 2 Receiver Communication channel Transmitter Figure 3.5 Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication.
William Stallings Data and Computer Communications 7th Edition
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
Networks: Physical Layer1 Physical Layer. Networks: Physical Layer2 Receiver Communication channel Transmitter Figure 3.5 Copyright ©2000 The McGraw Hill.
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 5 “Data Communication Fundamentals”.
1 Physical Layer. 2 Analog vs. Digital  Analog: continuous values over time  Digital: discrete values with sharp change over time.
Data Transmission The basics of media, signals, bits, carries, and modems (Part II)
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
CS3502, Data and Computer Networks: the physical layer-3.
Chapter 6. Signal Encoding Techniques
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
Lecture 3-1: Coding and Error Control
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
1 Chap. 3 Data Transmission & Transmission Media.
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
ECEN 621, Prof. Xi Zhang ECEN “ Mobile Wireless Networking ” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings,
1 Ch 6 Long-Distance Communication Carriers, Modulation, and Modems.
CE 4228 Data Communications and Networking
Data Transmission. 1. Terminology Transmitter Receiver Medium —Guided medium e.g. twisted pair, optical fiber —Unguided medium e.g. air, water, vacuum.
Data Transmission The basics of media, signals, bits, carries, and modems (Part III)
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.
Data Encoding Reading Assignment : Stallings Chapter 2, pp , Chapter 4, pp , , Terminology –Data entities that convey.
1 CSCD 433 Network Programming Fall 2013 Lecture 4 Physical Layer Line Coding Continued.
Aegis School of Telecommunication 1 Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas Dean Telecom.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques Digital data, digital signal Equipment less complex and expensive than.
Physical Layer PART II. Position of the physical layer.
Electromagnetic Spectrum
Physical Layer (Part 1) Computer Networks C13.
Chapter : Digital Modulation 4.2 : Digital Transmission
1 st semester 1436/  When a signal is transmitted over a communication channel, it is subjected to different types of impairments because of imperfect.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
CSI 4118Fall Part 1.1 Signals, Media, And Data Transmission.
Advanced Computer Networks
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,
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
Signal Encoding Techniques
Transmission Fundamentals
KOMUNIKASI DATA Materi Pertemuan 10.
William Stallings Data and Computer Communications 7th Edition
CS441 – Mobile & Wireless Computing Communication Basics
Physical Layer (Part 2) Data Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
Signals, Media, And Data Transmission
Chapter 4 Transmission Impairments and Multiplexing
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

IS250 Spring 2010 chuang@ischool.berkeley.edu Physical Layer IS250 Spring 2010 chuang@ischool.berkeley.edu

Summary Physical layer is concerned with the communication of data encoded as signals transmitted over a medium Fundamental techniques: encoding, modulation, multiplexing Channel capacity influenced by hardware bandwidth, encoding scheme, transmission impairments (noise and attenuation)

Outline Fundamental concepts Data encoding (Ch. 6, 10) Data, signal, transmission (Ch. 5) Transmission media (Ch. 7) Multiplexing (Ch. 11) Transmission impairments (Ch. 8.2) Data encoding (Ch. 6, 10) Channel capacity (Ch. 7)

Communication System Transmitter, receiver, medium http://i.ehow.com/images/GlobalPhoto/Articles/4996474/illustration-main_Full.jpg

Communication System Transmitter, receiver, medium Data, Signal, Transmission Data: entities that convey meaning (can be digital or analog) Signals: electric or electromagnetic representations of data (can be digital or analog) Transmission: communication of data by propagation and processing of signals

Data and Signal Digital data, digital signal Analog data, digital signal Digital data, analog signal Analog data, analog signal Data

Transmission Media Guided (wired): twisted pair, coaxial cable, optical fiber Unguided (wireless): RF, microwave (terrestrial & satellite), infra-red

Frequencies you may be using today Radio: 535-1605kHz (AM); 88-108MHz (FM) TV: 54-88MHz; 174-216MHz; 470-806MHz Cell phones: 850, 900, 1800, 1900MHz Cordless phones: 900MHz, 2.4GHz, 5.8GHz Wi-Fi: 2.4GHz (802.11b/g); 5GHz (802.11a) Q: how do radio/tv stations and receivers, cell phones and towers, etc., share the airwaves? Q: how are 500 channels of TV programming sent over the cable?

Multiplexing Combining multiple data streams into a single signal Allows resource sharing (e.g., of a communication channel) Many different forms of multiplexing Time division multiplexing (TDM) GSM, SONET Frequency division multiplexing (FDM) Applications: Broadcast radio/TV, DSL Wave division multiplexing (WDM) for fiber optic communication Orthogonal FDM (OFDM) used in DSL, 802.11, 802.16, etc. Spread spectrum Flavors: Frequency hopping (FHSS), direct sequence (DSSS) Transmitter & receiver coordinates via pseudo-random number generator Basis for CDMA (code-division multiple access) technologies Spatial multiplexing e.g., wireless MIMO antennae used in 802.11n

Outline Fundamental concepts Data encoding (Ch. 6, 10) Data, signal, transmission (Ch. 5) Transmission media (Ch. 7) Multiplexing (Ch. 11) Transmission impairments (Ch. 8.2) Data encoding (Ch. 6, 10) Channel capacity (Ch. 7)

Transmission Impairments Signal received may differ from signal transmitted Analog transmission: degradation of signal quality Digital transmission: bit errors Causes Attenuation Noise Source: http://www.telebyteusa.com/primer/fig9.gif

Attenuation and Noise Attenuation Signal strength falls off with distance Received signal strength: must be enough to be detected must be sufficiently higher than noise to be received without error Attenuation is an increasing function of frequency Noise: additional signals inserted between transmitter and receiver Thermal: thermal agitation of electrons (also called “white noise”) Intermodulation: signals that are the sum and difference of original frequencies sharing a medium Crosstalk: signal from one line is picked up by another Impulse: irregular pulses or spikes that are high in amplitude and short in duration, e.g., external electromagnetic interference

Analog v. Digital Transmission Digital transmission better than analog transmission in supporting long distance communication. Why? Analog signal transmitted without regard to content Signal is subject to attenuation and noise Amplifiers can be used to boost signal strength, but noise is also amplified Digital transmission involves processing of content Repeaters can be used to boost signal strength Repeater receives signal, extracts bit pattern, retransmits clean signal without noise Attenuation is overcome, and noise is not amplified

Outline Fundamental concepts Data encoding (Ch. 6, 10) Data, signal, transmission (Ch. 5) Transmission media (Ch. 7) Multiplexing (Ch. 11) Transmission impairments (Ch. 8.2) Data encoding (Ch. 6, 10) Channel capacity (Ch. 7)

Encoding Techniques Digital data, digital signal Analog data, digital signal Digital data, analog signal Analog data, analog signal Data

1. Digital Data, Digital Signal Digital signal as discrete, discontinuous voltage pulses Binary data encoded into signal elements Bit duration (function of data rate), voltage levels have to be specified Example 1: RS-232 Example 2: USB USB uses NRZI (non-return-to-zero inverted) encoding Presence of transition encodes a “1” Absence of transition encodes a “0” Data rates: 1.5Mbps, 12Mbps, 480Mbps 0v 3.2v

2. Analog Data, Digital Signal Step 1: convert analog data into digital data via sampling and quantization (e.g., pulse code modulation) Example: 4-bit PCM Analog data input (in red) 16 quantized levels can be represented using 4 bits Therefore each sample converted into 4 binary bits Digital data output: 1001101111001101111011101111… Step 2: digital data can then be transmitted using digital encoding schemes (previous slide) Variations: delta PCM, adaptive DPCM

3. Analog Data, Analog Signals Example: broadcast radio, TV Carrier signal modulated by analog data Types of analog modulation Amplitude modulation (AM) Frequency modulation (FM) Phase modulation (PM) Why modulate analog signals? Higher frequency can give more efficient transmission Permits frequency division multiplexing by using different carrier frequencies for different channels (see slide on multiplexing) carrier data

4. Digital Data, Analog Signal Example: using a modem (modulator-demodulator) to send data over analog public telephone system Digital Modulation very similar to Analog Modulation: ASK (amplitude shift keying): values represented by different amplitudes of carrier Usually, one amplitude is zero, i.e., detect presence or absence of carrier FSK (frequency shift keying): values represented by different frequencies (near carrier) PSK (phase shift keying): phase of carrier signal shifted to represent data Can be combined: e.g., QAM (quadrature amplitude modulation) is combination of ASK and PSK

Outline Fundamental concepts Data encoding (Ch. 6, 10) Data, signal, transmission (Ch. 5) Transmission media (Ch. 7) Multiplexing (Ch. 11) Transmission impairments (Ch. 8.2) Data encoding (Ch. 6, 10) Channel capacity (Ch. 7)

Channel Capacity Hardware cannot change signal states (e.g., voltage levels) instantaneously  transmission systems have limited bandwidth Bandwidth (B): maximum rate that the hardware can change a signal (measured in Hertz, or cycles per second) Data rate (D): rate at which data can be communicated (measured in bits per second) Channel capacity (C): maximum data rate, which is determined by hardware bandwidth

Channel Capacity Nyquist (1928): D < 2B the number of independent pulses that could be put through a telegraph channel per unit time is limited to twice the bandwidth of the channel Hartley (1928): D < 2B log2(K) where K is the number of distinct messages that can be sent Nyquist result is special case of K=2

Example dial-up modem w QAM (Comer 10) B = 2400Hz V.32 modem: K = 32 D < 2*2400*log232 = 24000bps V.32bis modem: K = 128 D < 2*2400*log2128 = 33600bps But these modems can only support data rates of 9600bps and 14400bps, respectively. Why?

Shannon’s Theorem (1948) Channel capacity in the presence of noise: C = B log2(1+S/N) Where C is effective channel capacity B is hardware bandwidth S/N is the Signal-to-Noise Ratio Combining Hartley’s Law and Shannon’s Theorem -- Implication: the number of effectively distinguishable messages (K) is determined by the signal-to-noise ratio: K = sqrt(1+S/N)

Decibels (dB) Engineers like to express signal-to-noise ratio in decibels (dB) using the following quantity: 10log10(S/N) Example: a signal-to-noise ratio of 100 is expressed as 20dB Example: a signal-to-noise ratio of 30dB is the same as 10^(30/10) or 1000

Application Conventional telephone system Engineered for voice Bandwidth is 3000Hz SNR ~= 30dB Effective capacity is: 3000log2(1+1000) ~= 30000bps Conclusion (Comer, p.130): dial-up modems have little hope of exceeding 28.8Kbps Q: So what about those 56k modems? Actual data rate dependent on line quality 56k modems use digital as opposed to analog signals on the telephone lines; else fall back to 33.6kbps Never caught on since DSL became widely available

Implications Nyquist/Hartley: encoding more bits per cycle will improve data rate Shannon: no amount of clever engineering can overcome the fundamental physical limits of a real transmission system

Summary Physical layer is concerned with the communication of data encoded as signals transmitted over a medium Fundamental techniques: encoding, modulation, multiplexing Channel capacity influenced by hardware bandwidth, encoding scheme, transmission impairments (noise and attenuation)