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

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

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

Chapter 3. Data Transmission

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

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. Simplex. Direct link.

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

Lecture 5 Transmission

Data Communication. Chapter 3 Data Transmission

Data Communications & Computer Networks

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

EC 554 Data Communications

Part II Data Communications

Data and Computer Communications Chapter 3 Data Transmission

Physical Layer: Outline

Physical Layer. Networks: Physical Layer 1

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

COMP211 Physical Layer

Chapter 3 Data Transmission

Data and Computer Communications. Chapter 3 Data Transmission

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

Chapter 3 Data Transmission COSC 3213 Summer 2003

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

CS441 Mobile & Wireless Computing Communication Basics

Lecture 2 Physical Layer - Data Transmission

Data Communications and Networks

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

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

Signal Characteristics

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

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

CPSC Network Programming. How do computers really communicate?

Basic Concepts in Data Transmission

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

DATA TRANSMISSION. ermtiong. ermtiong

Wireless Intro : Computer Networking. Wireless Challenges. Overview

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Chapter 3 Data and Signals

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Data Transmission (II)

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

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

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

Chapter 2. Physical Layer

CS307 Data Communication

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

Lecture (01) Data Transmission (I)

CSE 461 Bits and Links. David Wetherall

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

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

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

CSEP 561 Bits and Links. David Wetherall

The Physical Layer Outline

CSE 561 Bits and Links. David Wetherall

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

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

Physical Layer. Networked Systems (H) Lecture 3

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

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

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

HY448 Sample Problems

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

Transmission Impairments

Encoding and Framing

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

Course 2: Channels 1 1

Point-to-Point Communications

Cable Testing TELECOMMUNICATIONS AND NETWORKING

Computer Networks

Wireless Communications

Chapter-15. Communication systems -1 mark Questions

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

Lecture 2: Links and Signaling"

Chapter 3 Digital Transmission Fundamentals

Computer Networks - Xarxes de Computadors

Downloaded from 1

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

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

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

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

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

Antennas & Propagation. CSG 250 Fall 2007 Rajmohan Rajaraman

UNIT-1. Basic signal processing operations in digital communication

Chapter 7. Multiple Division Techniques

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

Introduction to LAN/WAN. Physical Layer

ENGR 4323/5323 Digital and Analog Communication

EE4601 Communication Systems

TSEK02: Radio Electronics Lecture 6: Propagation and Noise. Ted Johansson, EKS, ISY

Unit 3 - Wireless Propagation and Cellular Concepts

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

DATA COMMUNICATION. Channel and Noise

Chapter 2: Fundamentals of Data and Signals

Fundamentals of Digital Communication

Wireless Networked Systems. Lec #1b: PHY Basics

Data com ch#3 (part 2)

Data Encoding g(p (part 2)

Wireless Transmission & Media Access

Transcription:

Announcement 18-759: Wireless Networks Lecture 3: Physical Layer Peter Steenkiste Departments of Computer Science and Electrical and Computer Engineering Spring Semester 2010 http://www.cs.cmu.edu/~prs/wirelesss10/ Peter A. Steenkiste 1 Please start to form project teams» Updated project handout is available on the web site» Project ideas will be posted soon Also start to form teams for surveys» Use 2009 list as an example» Will update list later this month Blackboard site has been enable, but:» Only use the digital dropbox for project assignments as described in the handout» Do not use for homeworks» Use the web site for all information Peter A. Steenkiste 2 Outline 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 A Reminder about Prerequisites Internet Architecture The Internet Wireless Protocols End-to-end Challenges Wireless Network Wireless Communication Peter A. Steenkiste 4 Page 1

Wireless Networks Builds on RF Introduction General networking:» Internet architecture: who is responsible for what?» How is it affected by wireless links or congestion in wireless multi-hop networks?» How is it affected by mobility?» How about variable link properties and intermittent connectivity? Wireless communications:» How does signal environment affect performance of a wireless link?» What wireless communication challenges can be hidden from higher layer protocols? Peter A. Steenkiste 5 RF = Radio» Electromagnetic signal that propagates through ether» Ranges 3 KHz.. 300 GHz» Or 100 km.. 0.1 cm (wavelength) Travels at the speed of light Can take both a time and a frequency view Peter A. Steenkiste 6 Time Domain View: Periodic versus Aperiodic Signals Simple Example: Sine Wave 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 Aperiodic signal - analog or digital signal pattern that doesn't repeat over time Can make an aperiodic signal periodic by taking a slice T and repeating it» Often what we do implicitly 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 Peter A. Steenkiste 7 Space Peter A. Steenkiste 8 Page 2

Key Parameters of (Periodic) Signal Sine Wave Parameters 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 9 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; enc f = 2, thus T = ½» (d) Phase shift; φ = π/4 radians (45 degrees) note: 2π radians = 360 = 1 period Peter A. Steenkiste 10 Space and Time View Revisited -Domain Concepts 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 11 Peter A. Steenkiste 12 Page 3

The Domain Signal = Sum of Sine Waves 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. = Amplitud de + 1.3 X + 0.56 X Time Peter A. Steenkiste 13 + 1.15 X Peter A. Steenkiste 14 -Domain Concepts Cartoon View 1 Energy Wave 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 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 i antennas catch less energy with ithdistance» Notion of cellular infrastructure Peter A. Steenkiste 15 Peter A. Steenkiste 16 Page 4

Cartoon View 2 Rays of Energy Outline 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 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 Peter A. Steenkiste 17 Peter A. Steenkiste 18 Analog and Digital Signals Digital Signal Modulation 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 19 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 it versions are sometimes called shift keying» Amplitude (ASK), (FSK), Phase (PSK) Shift Keying Discussed later in more detail Peter A. Steenkiste 20 Page 5

Amplitude and Modulation Baseband versus Carrier Modulation 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 21 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 22 Amplitude Carrier Modulation Multiple Users Can Share the Ether Signal Carrier Modulated Carrier Peter A. Steenkiste 23 Different users use Different carrier frequencies Peter A. Steenkiste 24 Page 6

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 Multiplexing Techniques -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 25 Peter A. Steenkiste 26 versus Time-division Multiplexing Use of Spectrum 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. Frequen ncy Time Slot Frame Bands Peter A. Steenkiste 27 Different users use the wire at different points in time. Aggregate bandwidth also requires more spectrum. Peter A. Steenkiste 28 Page 7

FDM Example: AMPS TDM Example: GSM 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 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 Peter A. Steenkiste 29 Peter A. Steenkiste 30 Reuse in Space Outline 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, RF introduction Modulation an multiplexing Channel capacity Antennas and signal propagation Equalization and diversity Modulation and coding Spectrum access Peter A. Steenkiste 31 Peter A. Steenkiste 32 Page 8

Relationship between Data Rate and Bandwidth Increasing the Bit Rate 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 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 33 Peter A. Steenkiste 34 Adding Detail to the Signal So Why Don t we Always Send a High Bandwidth Signal? Peter A. Steenkiste 35 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 36 T R Page 9

Transmission Channel Considerations 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» Thanks to our EE friends 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 37 Channel Capacity 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 Peter A. Steenkiste 38 The Nyquist Limit Decibels A noiseless channel of bandwidth B can at most ttransmit 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 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 Peter A. Steenkiste 39 Peter A. Steenkiste 40 Page 10

Signal-to-Noise Ratio Shannon Capacity Formula 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 number of required intermediate repeaters SNR sets upper bound on achievable data rate 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 Peter A. Steenkiste 41 Peter A. Steenkiste 42 Shannon Discussion Example of Nyquist and Shannon Formulations 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. ( 1+ Γ) C = B log 2 SNR/ 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 = 251 Using Shannon s formula 6 C = 10 log 2 ( SNR) 6 ( 1+ 251) 10 8 = 8Mbps Peter A. Steenkiste 43 Peter A. Steenkiste 44 Page 11

Example of Nyquist and Shannon Formulations How many signaling levels are required? C = 2B log M 6 8 10 = 2 4 = log M M =16 2 2 6 ( 10 ) log 2 M Unused Slides Peter A. Steenkiste 45 Peter A. Steenkiste 46 Analog and Digital Information Analog versus Digital Transmission Initial RF use was for analog information» Radio and TV stations» The information that is sent is of a continuous nature Data networks (e.g. the Internet) are used for digital information: text files, databases, etc.» Information consists of discrete units (e.g. bits) We can also send analog information as digital data» Sample the signal, i.e. analog -> digital» Why?» We can also send digital information as analog information, e.g. modem Analog: aog transmit ta tanalog aogsg signals aswithout regard to content» Attenuation limits length of transmission link» Cascaded amplifiers boost signal s energy for longer distances but cause distortion Analog data can tolerate (some) distortion But introduces errors in digital data Digital: can recognize the content of signal» Attenuation endangers integrity of data» Repeaters can recover the signal and retransmit Also true of analog signal that carries digital data: repeater can recover signal and generate new clean analog signal Peter A. Steenkiste 47 Peter A. Steenkiste 48 Page 12

Example Impact of Technology: Modem Rates Classifications of Transmission Media M odem rate 100000 10000 1000 100 1975 1980 1985 1990 1995 2000 Year Peter A. Steenkiste 49 Copper: twisted pair versus coax cable» Variety of modulation techniques are used Fiber: modulate an optical signal» Lots of capacity available!» Typically uses simple modulation schemes Wireless: no solid medium to guided signal» Wide variety of distances: frequencies, distances,» Often uses very aggressive modulation techniques (later) Peter A. Steenkiste 50 Conclusion Computer engineering gbackground with a course in signals = target audience No background in signals will require some extra effort Electrical engineering background with no background in network possible» If you commit to extra effort to catch up on some networking principles i we can provide reading list» Still need to have some programming experience for the project Peter A. Steenkiste 51 Page 13