Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Similar documents
Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

Outline / Wireless Networks and Applications Lecture 2: Networking Overview and Wireless Challenges. Protocol and Service Levels

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Last Time. Transferring Information. Today (& Tomorrow (& Tmrw)) Application Layer Example Protocols ftp http Performance.

Lecture 5 Transmission

Physical Layer: Outline

E-716-A Mobile Communications Systems. Lecture #2 Basic Concepts of Wireless Transmission (p1) Instructor: Dr. Ahmad El-Banna

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Lecture Fundamentals of Data and signals

Lecture 3: Data Transmission

Chapter 3. Data Transmission

EC 554 Data Communications

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

Data and Computer Communications. Chapter 3 Data Transmission

CS441 Mobile & Wireless Computing Communication Basics

Data Communication. Chapter 3 Data Transmission

Data Communications and Networks

Data and Computer Communications Chapter 3 Data Transmission

Lecture 2 Physical Layer - Data Transmission

Physical Layer. Networks: Physical Layer 1

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

Part II Data Communications

Signal Characteristics

Data Communications & Computer Networks

Chapter 3 Data Transmission COSC 3213 Summer 2003

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Chapter 3 Data Transmission

COMP211 Physical Layer

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

Outline / Wireless Networks and Applications Lecture 5: Physical Layer Signal Propagation and Modulation

CPSC Network Programming. How do computers really communicate?

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Course 2: Channels 1 1

Data Transmission. ITS323: Introduction to Data Communications. Sirindhorn International Institute of Technology Thammasat University ITS323

DATA TRANSMISSION. ermtiong. ermtiong

Chapter 3 Data and Signals

Basic Concepts in Data Transmission

Simple Algorithm in (older) Selection Diversity. Receiver Diversity Can we Do Better? Receiver Diversity Optimization.

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42

Project = An Adventure : Wireless Networks. Lecture 4: More Physical Layer. What is an Antenna? Outline. Page 1

Point-to-Point Communications

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

Wireless Intro : Computer Networking. Wireless Challenges. Overview

CSE 461 Bits and Links. David Wetherall

CS307 Data Communication

Chapter 2. Physical Layer

Data Transmission (II)

CSEP 561 Bits and Links. David Wetherall

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

CSE 561 Bits and Links. David Wetherall

The Physical Layer Outline

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Transmission Impairments

BSc (Hons) Computer Science with Network Security. Examinations for Semester 1

Lecture 2: Links and Signaling. CSE 123: Computer Networks Stefan Savage

PRINCIPLES OF COMMUNICATION SYSTEMS. Lecture 1- Introduction Elements, Modulation, Demodulation, Frequency Spectrum

Encoding and Framing

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

Chapter 3 Digital Transmission Fundamentals

Cable Testing TELECOMMUNICATIONS AND NETWORKING

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions

Physical Layer. Networked Systems (H) Lecture 3

Chapter-15. Communication systems -1 mark Questions

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal

Computer Networks - Xarxes de Computadors

Some key functions implemented in the transmitter are modulation, filtering, encoding, and signal transmitting (to be elaborated)

Lecture 2: Links and Signaling"

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

Downloaded from 1

Page 1. Outline : Wireless Networks Lecture 6: Final Physical Layer. Direct Sequence Spread Spectrum (DSSS) Spread Spectrum

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

Computer Networks

Computer Networks. Practice Set I. Dr. Hussein Al-Bahadili

TSEK02: Radio Electronics Lecture 2: Modulation (I) Ted Johansson, EKS, ISY

Lecture (01) Data Transmission (I)

Chapter 7. Multiple Division Techniques

Chapter 3 Data and Signals 3.1

Vehicle Networks. Wireless communication basics. Univ.-Prof. Dr. Thomas Strang, Dipl.-Inform. Matthias Röckl

Fundamentals of Digital Communication

a. Find the minimum number of samples per second needed to recover the signal without loosing information.

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal

Introduction to LAN/WAN. Physical Layer

TSEK02: Radio Electronics Lecture 2: Modulation (I) Ted Johansson, EKS, ISY

EE 304 TELECOMMUNICATIONs ESSENTIALS HOMEWORK QUESTIONS AND ANSWERS

UNIT-1. Basic signal processing operations in digital communication

Information theory II. Fisica dell Energia - a.a. 2017/2018

Outline / Wireless Networks and Applications Lecture 7: Physical Layer OFDM. Frequency-Selective Radio Channel. How Do We Increase Rates?

Sirindhorn International Institute of Technology Thammasat University

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Data and Computer Communications. Tenth Edition by William Stallings

Chapter 2: Fundamentals of Data and Signals

Chapter 1 Acknowledgment:

HY448 Sample Problems

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

Transcription:

Announcements 18-759: Wireless Networks Lecture 3: Physical Layer Please start to form project teams» Updated project handout is available on the web site Also start to form teams for surveys» Send mail if you have ideas for topics (with papers)» Will post a list next week Peter Steenkiste Departments of Computer Science and Electrical and Computer Engineering Spring Semester 2016 http://www.cs.cmu.edu/~prs/wirelesss16/ Peter A. Steenkiste 1 Peter A. Steenkiste 2 Outline Bird s Eye View RF introduction» Time versus frequency view» A cartoon view Modulation and multiplexing Channel capacity Antennas and signal propagation Equalization and diversity Modulation and coding Spectrum access Peter A. Steenkiste 3 Internet Architecture The Internet Wireless Protocols End-to-end Challenges Wireless Network Wireless Communication Peter A. Steenkiste 4 Page 1

From Signals to Packets RF Introduction Packet Transmission Packets Sender Receiver 010001010101110010101010101110111000000111101010111010101010110101101011 Header/Body Header/Body Header/Body RF = Radio» Electromagnetic signal that propagates through ether» Ranges 3 KHz.. 300 GHz» Or 100 km.. 0.1 cm (wavelength) Bit Stream 0 0 1 0 1 1 1 0 0 0 1 Digital Signal Analog Signal Peter A. Steenkiste 5 Travels at the speed of light Can take both a time and a frequency view Peter A. Steenkiste 6 Spectrum Allocation in US Cartoon View 1 Energy Wave Think of it as energy that radiates from an antenna and is picked up by another antenna.» Helps explain properties such as attenuation» Density of the energy reduces over time and with distance Useful when studying attenuation» Receiving antennas catch less energy with distance» Notion of cellular infrastructure Peter A. Steenkiste 7 7 Peter A. Steenkiste 8 Page 2

Cartoon View 2 Rays of Energy (Not so) Cartoon View 3 Electro-magnetic Signal Can also view it as a ray that propagates between two points Rays can be reflected etc.» Can provide connectivity without line of sight A channel can also include multiple rays that take different paths» Helps explain properties such as multipath Signal that propagates and has an amplitude and phase» Can be represented as a real number and that changes over time» Loosely represented as a frequency Simple example is a sine wave Can change amplitude, phase and frequency What is the relevance to networking? Peter A. Steenkiste 9 Peter A. Steenkiste 10 Simple Example: Sine Wave Sine Wave Parameters RF signal travels at the speed of light Can look at a point in space: signal will change in time according to a sine function Can take a snapshot in time: signal will look like a sine function in space Time (point in space) General sine wave» s(t ) = A sin(2 ft + ) Example on next slide shows the effect of varying each of the three parameters» (a) A = 1, f = 1 Hz, = 0; thus T = 1s» (b) Reduced peak amplitude; A=0.5» (c) Increased frequency; f = 2, thus T = ½» (d) Phase shift; = /4 radians (45 degrees) note: 2 radians = 360 = 1 period Space (snapshot in time) Peter A. Steenkiste 11 Peter A. Steenkiste 12 Page 3

Space and Time View Revisited Key Idea of Wireless Communication Peter A. Steenkiste 13 The sender sends an EM signal and changes its properties over time» Changes reflect a digital signal, e.g., binary or multivalued signal» Amplitude, phase, frequency Receiver learns the digital signal by observing how the received signal changes» Note that signal is no longer a simple sign wave or even a periodic signal The wireless telegraph is not difficult to understand. The ordinary telegraph is like a very long cat. You pull the tail in New York, and it meows in Los Angeles. The wireless is exactly the same, only without the cat. Peter A. Steenkiste 14 Time Domain View: Periodic versus Aperiodic Signals Key Parameters of (Periodic) Signal Periodic signal - analog or digital signal pattern that repeats over time» s(t +T ) = s(t ) where T is the period of the signal» Allows us to take a frequency view important to understand wireless challenges and solutions Aperiodic signal - analog or digital signal pattern that doesn't repeat over time» Hard to analyze Can make an aperiodic signal periodic by taking a time slice T and repeating it» Often what we do implicitly Peter A. Steenkiste 15 Peak amplitude (A) - maximum value or strength of the signal over time; typically measured in volts (f )» Rate, in cycles per second, or Hertz (Hz) at which the signal repeats Period (T ) - amount of time it takes for one repetition of the signal» T = 1/f Phase ( ) - measure of the relative position in time within a single period of a signal Wavelength ( ) - distance occupied by a single cycle of the signal» Or, the distance between two points of corresponding phase of two consecutive cycles Peter A. Steenkiste 16 Page 4

Key Property of Periodic EM Signals The Domain Any electromagnetic signal can be shown to consist of a collection of periodic analog signals (sine waves) at different amplitudes, frequencies, and phases The period of the total signal is equal to the period of the fundamental frequency» All other frequencies are an integer multiple of the fundamental frequency Strong relationship between the shape of the signal in the time and frequency domain» Discussed in more detail later Peter A. Steenkiste 17 A (periodic) signal can be viewed as a sum of sine waves of different strengths.» Corresponds to energy at a certain frequency Every signal has an equivalent representation in the frequency domain.» What frequencies are present and what is their strength (energy) Again: Similar to radio and TV signals. Time Amplitude Peter A. Steenkiste 18 Signal = Sum of Sine Waves -Domain Concepts = + 1.3 X + 0.56 X + 1.15 X Peter A. Steenkiste 19 Fundamental frequency - when all frequency components of a signal are integer multiples of one frequency, it s referred to as the fundamental frequency Spectrum - range of frequencies that a signal contains Absolute bandwidth - width of the spectrum of a signal Effective bandwidth (or just bandwidth) - narrow band of frequencies that most of the signal s energy is contained in Peter A. Steenkiste 20 Page 5

Outline Analog and Digital Signals RF introduction Modulation and multiplexing - review» Analog versus digital signals» Forms of modulation» Baseband versus carrier modulation» Multiplexing Channel capacity Antennas and signal propagation Equalization and diversity Modulation and coding Spectrum access Sender changes the signal, e.g. the amplitude, in a way that receiver can recognize Analog: a continuously varying electromagnetic wave that may be propagated over a variety of media, depending on frequency» Wired: Twisted pair, coaxial cable, fiber» Wireless: Atmosphere or space propagation» Cannot recover from distortions, noise Digital: discreet changes in the signal that correspond to a digital signal» Less susceptible to noise but can suffer, e.g., attenuation» Can regenerate signal along the path (repeater versus amplifier) Peter A. Steenkiste 21 Peter A. Steenkiste 22 Digital Signal Modulation Amplitude and Modulation Sender changes the nature of the signal in a way that the receiver can recognize Amplitude modulation (AM): change the strength of the carrier based on information» High values -> stronger signal (FM) and phase modulation (PM): change the frequency or phase of the signal» or Phase shift keying Digital versions are sometimes called shift keying» Amplitude (ASK), (FSK), Phase (PSK) Shift Keying Discussed later in more detail 0 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 0 0 1 1 0 1 1 0 0 0 1 Peter A. Steenkiste 23 Peter A. Steenkiste 24 Page 6

Baseband versus Carrier Modulation Amplitude Carrier Modulation Baseband modulation: send the bare signal» Use the lower part of the spectrum Baseband modulation has limited use» Everybody competes only makes sense for point-to-point links, but unattractive for wireless» Use of higher frequencies requires transmission of a single high bandwidth signal» Some media only transmit higher frequencies, e.g. optical Carrier modulation: use the (information) signal to modulate a higher frequency (carrier) signal» Can be viewed as the product of the two signals» Corresponds to a shift in the frequency domain Also applies to frequency and phase modulation» E.g. change frequency of the carrier instead of its amplitude Peter A. Steenkiste 25 Signal Carrier Modulated Carrier Peter A. Steenkiste 26 Multiple Users Can Share the Ether Multiplexing Capacity of transmission medium usually exceeds capacity required for transmission of a single signal Multiplexing - carrying multiple signals on a single medium» More efficient use of transmission medium Different users use Different carrier frequencies Peter A. Steenkiste 27 Peter A. Steenkiste 28 Page 7

Multiplexing Techniques versus Time-division Multiplexing -division multiplexing (FDM)» divide the capacity in the frequency domain Time-division multiplexing (TDM)» Divide the capacity in the time domain» Fixed or variable length time slices Peter A. Steenkiste 29 With frequency-division multiplexing different users use different parts of the frequency spectrum.» I.e. each user can send all the time at reduced rate» Example: roommates» Hardware is slightly more expensive and is less efficient use of spectrum With time-division multiplexing different users send at different times.» I.e. each user can sent at full speed some of the time» Example: a time-share condo» Drawback is that there is some transition time between slots; becomes more of an issue with longer propagation times The two solutions can be combined. Peter A. Steenkiste 30 Time Slot Frame Bands Use of Spectrum FDM Example: AMPS Different users use the wire at different points in time. Aggregate bandwidth also requires more spectrum. US analog cellular system in early 80 s. Each call uses an up and down link channel.» Channels are 30 KHz About 12.5 + 12.5 MHz available for up and down link channels per operator.» Supports 416 channels in each direction» 21 of the channels are used for data/control» Total capacity (across operators) is double of this Peter A. Steenkiste 31 Peter A. Steenkiste 32 Page 8

TDM Example: GSM Reuse in Space Global System for Mobile communication.» First introduced in Europe in early 90s Uses a combination of TDM and FDM. 25 MHz each for up and down links. Broken up in 200 KHz channels» 125 channels in each direction» Each channel can carry about 270 kbs Each channel is broken up in 8 time slots» Slots are 0.577 msec long» Results in 1000 channels, each with about 25 kbs of useful data; can be used for voice, data, control General Packet Radio Service (GPRS).» Data service for GSM, e.g. 4 down and 1 up channel Frequencies can be reused in space» Distance must be large enough» Example: radio stations Basis for cellular network architecture Set of base stations connected to the wired network support set of nearby clients» Star topology in each circle» Cell phones, 802.11, Peter A. Steenkiste 33 Peter A. Steenkiste 34 Outline Relationship between Data Rate and Bandwidth RF introduction Modulation an multiplexing Channel capacity Antennas and signal propagation Equalization and diversity Modulation and coding Spectrum access The greater the (spectral) bandwidth, the higher the information-carrying capacity of the signal Intuition: if a signal can change faster, it can be modulated in a more detailed way and can carry more data» E.g. more bits or higher fidelity music Extreme example: a signal that only changes once a second will not be able to carry a lot of bits or convey a very interesting TV channel Peter A. Steenkiste 35 Peter A. Steenkiste 36 Page 9

Increasing the Bit Rate Adding Detail to the Signal Time Increases the rate at which the signal changes.» Proportionally increases signals present, and thus the spectral BW Increase the number of bits per change in the signal» Adds detail to the signal, which also increases the spectral BW Amplitude Peter A. Steenkiste 37 Peter A. Steenkiste 38 So Why Don t we Always Send a High Bandwidth Signal? Transmission Channel Considerations Channels have a limit on the type of signals it can carry Wires only transmit signals in certain frequency range Attenuation and distortion outside of range Distortion makes it hard for receiver to extract the information Wireless radios are only allowed to use certain parts of the spectrum Radios optimized for that frequency Peter A. Steenkiste 39 T R Example: grey frequencies get attenuated significantly For wired networks, channel limits are an inherent property of the channel» Different types of fiber and copper have different properties As technology improves, these parameters change, even for the same wire» EE technology improvements For wireless networks, limits are often imposed by policy» Can only use certain part of the spectrum» Radio uses filters to comply Good Signal Bad Peter A. Steenkiste 40 Page 10

Channel Capacity The Nyquist Limit Data rate - rate at which data can be communicated (bps)» Channel Capacity the maximum rate at which data can be transmitted over a given channel, under given conditions Bandwidth - the bandwidth of the transmitted signal as constrained by the transmitter and the nature of the transmission medium (Hertz) Noise - average level of noise over the communications path Error rate - rate at which errors occur» Error = transmit 1 and receive 0; transmit 0 and receive 1 A noiseless channel of bandwidth B can at most transmit a binary signal at a capacity 2B» E.g. a 3000 Hz channel can transmit data at a rate of at most 6000 bits/second» Assumes binary amplitude encoding For M levels: C = 2B log 2 M» M discrete signal levels More aggressive encoding can increase the actual channel bandwidth» Example: modems Factors such as noise can reduce the capacity Peter A. Steenkiste 41 Peter A. Steenkiste 42 Decibels Signal-to-Noise Ratio A ratio between signal powers is expressed in decibels decibels (db) = 10log 10 (P 1 / P 2 ) Is used in many contexts:» The loss of a wireless channel» The gain of an amplifier Note that db is a relative value. Can be made absolute by picking a reference point.» Decibel-Watt power relative to 1W» Decibel-milliwatt power relative to 1 milliwatt Ratio of the power in a signal to the power contained in the noise that is present at a particular point in the transmission» Typically measured at a receiver Signal-to-noise ratio (SNR, or S/N) signal power ( SNR ) db 10log10 noise power A high SNR means a high-quality signal Low SNR means that it may be hard to extract the signal from the noise SNR sets upper bound on achievable data rate Peter A. Steenkiste 43 Peter A. Steenkiste 44 Page 11

Shannon Capacity Formula Shannon Discussion Equation: C B log 2 1 SNR Represents error free capacity» It is possible to design a suitable signal code that will achieve error free transmission (you design the code) Result is based on many assumptions» Formula assumes white noise (thermal noise)» Impulse noise is not accounted for» Various types of distortion are also not accounted for We can also use Shannon s theorem to calculate the noise that can be tolerated to achieve a certain rate through a channel Bandwidth B and noise N are not independent» N is the noise in the signal band, so it increases with the bandwidth Shannon does not provide the coding that will meet the limit, but the formula is still useful The performance gap between Shannon and a practical system can be roughly accounted for by a gap parameter» Still subject to same assumptions» Gap depends on error rate, coding, modulation, etc. C B log 2 1 SNR/ Peter A. Steenkiste 45 Peter A. Steenkiste 46 Example of Nyquist and Shannon Formulations Example of Nyquist and Shannon Formulations Spectrum of a channel between 3 MHz and 4 MHz ; SNR db = 24 db B 4 MHz 3 MHz 1MHz SNR db 24 db 10log10 SNR SNR 251 Using Shannon s formula 6 C 10 log 2 6 1 251 10 8 8Mbps Peter A. Steenkiste 47 How many signaling levels are required? C 2B log M Look out for: db versus linear values, log 2 versus log 10 Peter A. Steenkiste 48 6 8 10 2 10 4 log2 M M 16 2 6 log 2 M Page 12