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

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

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

Lecture 5 Transmission

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

Physical Layer: Outline

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

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

Lecture Fundamentals of Data and signals

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

Chapter 3. Data Transmission

EC 554 Data Communications

Data and Computer Communications. Chapter 3 Data Transmission

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

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

Lecture 3: Data Transmission

Data Communication. Chapter 3 Data Transmission

CS441 Mobile & Wireless Computing Communication Basics

Part II Data Communications

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

Data and Computer Communications Chapter 3 Data Transmission

Lecture 2 Physical Layer - Data Transmission

Data Communications and Networks

Data Communications & Computer Networks

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

Course 2: Channels 1 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

Signal Characteristics

Chapter 3 Data Transmission

Physical Layer. Networks: Physical Layer 1

Chapter 3 Data Transmission COSC 3213 Summer 2003

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

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

COMP211 Physical Layer

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

CPSC Network Programming. How do computers really communicate?

Wireless Intro : Computer Networking. Wireless Challenges. Overview

Point-to-Point Communications

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

DATA TRANSMISSION. ermtiong. ermtiong

Chapter 3 Data and Signals

Chapter 2. Physical Layer

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

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

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

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

CS307 Data Communication

Data Transmission (II)

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

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

Basic Concepts in Data Transmission

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

The Physical Layer Outline

CSE 561 Bits and Links. David Wetherall

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Transmission Impairments

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

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

CSE 461 Bits and Links. David Wetherall

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

ENGR 4323/5323 Digital and Analog Communication

Introduction to LAN/WAN. Physical Layer

Lecture 2: Links and Signaling"

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

Computer Networks - Xarxes de Computadors

UNIT-1. Basic signal processing operations in digital communication

CSEP 561 Bits and Links. David Wetherall

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

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

Encoding and Framing

Antennas and Propagation

Fundamentals of Digital Communication

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

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

Chapter-15. Communication systems -1 mark Questions

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

IST 220 Exam 1 Notes Prepared by Dan Veltri

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

Antennas & Propagation. CSG 250 Fall 2007 Rajmohan Rajaraman

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

Wireless Networked Systems. Lec #1b: PHY Basics

Antennas and Propagation

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

Cable Testing TELECOMMUNICATIONS AND NETWORKING

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

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

Chapter 7. Multiple Division Techniques

Physical Layer. Networked Systems (H) Lecture 3

Downloaded from 1

Antennas and Propagation. Chapter 5

Computer Networks

Chapter 3 Digital Transmission Fundamentals

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

Introduction to the Communication Process. Digital Transmission MEEC

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

Antenna & Propagation. Basic Radio Wave Propagation

Chapter-1: Introduction

Fundament Fundamen als t of Communications

Transcription:

Outline 18-452/18-750 Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing Peter Steenkiste Carnegie Mellon University Spring Semester 2017 http://www.cs.cmu.edu/~prs/wirelesss17/ Peter A. Steenkiste 1 RF introduction» A cartoon view» Communication» Time versus frequency view Modulation and multiplexing Channel capacity Antennas and signal propagation Modulation Diversity and coding OFDM Peter A. Steenkiste 2 From Signals to Packets Cartoon View 1 A Wave of Energy Packet Transmission Packets Bit Stream Digital Signal Sender Receiver 010001010101110010101010101110111000000111101010111010101010110101101011 Header/Body Header/Body Header/Body 0 0 1 0 1 1 1 0 0 0 1 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 Analog Signal Peter A. Steenkiste 3 Peter A. Steenkiste 4 Page 1

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.» We can have provide connectivity without line of sight A channel can also include multiple rays that take different paths multi-path» Helps explain properties such as signal distortion, fast fading, Signal that propagates and has an amplitude and phase» Can be represented as a complex number and that changes over time with a certain frequency Simple example is a sine wave» Has an amplitude, phase, and frequency Relevance to» that can change over time Networking? Peter A. Steenkiste 5 Peter A. Steenkiste 6 Sine Wave Parameters Changing Parameters of Sine Wave Relevance to Networking? 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 Peter A. Steenkiste 7 Peter A. Steenkiste 8 Page 2

Simple Example: Sine Wave Key Idea of Wireless Communication 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» Signal at different points are (roughly) copies of each other Can take a snapshot in time: signal will look like a sine function in space Relevance to Networking? Space (snapshot in time) Time (point in space) Peter A. Steenkiste 9 The sender sends an EM signal and changes its properties over time» Changes reflect a digital signal, e.g., binary or multi-valued signal» Can change amplitude, phase, frequency, or a combination Receiver learns the digital signal by observing how the received signal changes» Note that signal is no longer a simple sine 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 10 Challenge Outline Cats? This is very informal!» Sender changes signal and receiver observes changes Wireless network designers need more precise information about the performance of wireless links» Can the receiver always decode the signal?» How many Kbit, Mbit, Gbit per second?» Does the physical environment, distance, mobility, weather, season, the color of my shirt, etc. matter? We need a more formal way of reasoning about wireless communication: Represent the signal in the frequency domain! RF introduction» A cartoon view» Communication» Time versus frequency view Modulation and multiplexing Channel capacity Antennas and signal propagation Modulation Diversity and coding OFDM Peter A. Steenkiste 11 Peter A. Steenkiste 12 Page 3

Challenge Time Domain View: Periodic versus Aperiodic Signals Cats, really? This is very informal!» Sender changes signal and receiver observes changes Wireless network designers need more precise information about the performance of wireless links» Can the receiver always decode the signal?» How many Kbit, Mbit, Gbit per second?» Does the physical environment, distance, mobility, weather, season, the color of my shirt, etc. matter? We need a more formal way of reasoning about wireless communication: Represent the signal in the frequency domain! Peter A. Steenkiste 13 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 14 Key Parameters of (Periodic) Signal Key Property of Periodic EM Signals 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 15 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 There is a strong relationship between the shape of the signal in the time and frequency domain» Discussed in more detail later Peter A. Steenkiste 16 Page 4

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) We can translate between the two formats using a fourier transform Time Amplitude Bandwidth Peter A. Steenkiste 17 = + 1.3 X + 0.56 X + 1.15 X Peter A. Steenkiste 18 Outline Signal Modulation RF introduction Modulation and multiplexing - review» Analog versus digital signals» Forms of modulation» Baseband versus carrier modulation» Multiplexing Channel capacity Antennas and signal propagation Modulation Diversity and coding OFDM Sender sends a carrier signal and changes it in a way that the receiver can recognize» The carrier is sine wave with fixed amplitude and frequency 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 also called shift keying» Amplitude (ASK), (FSK), Phase (PSK) Shift Keying Discussed in more detail in a later lecture Peter A. Steenkiste 19 Peter A. Steenkiste 20 Page 5

Amplitude and Modulation Amplitude 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 Signal Carrier Modulated Carrier Peter A. Steenkiste 22 Analog and Digital Signals Multiplexing The signal that is used to modulate the carrier can be analog or digital» Wired: Twisted pair, coaxial cable, fiber» Wireless: Atmosphere or space propagation Analog: a continuously varying electromagnetic wave that may be propagated over a variety of media, depending on frequency» Cannot recover from distortions, noise» Can amplify the signal but also amplifies the noise Digital: discreet changes in the signal that correspond to a digital signal» Can recover from noise and distortion:» Regenerate signal along the path: demodulate + remodulate Peter A. Steenkiste 23 Capacity of the transmission medium usually exceeds the capacity required for a single signal Multiplexing - carrying multiple signals on a single medium» More efficient use of transmission medium A must for wireless spectrum is huge!» Signals must differ in frequency (spectrum), time, or space Peter A. Steenkiste 24 Page 6

Multiple Users Can Share the Ether 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 Different users use Different carrier frequencies Peter A. Steenkiste 25 Peter A. Steenkiste 26 versus Time-division Multiplexing Reuse in Space 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 27 Time Slot Frame Bands 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 28 Page 7

Outline Relationship between Data Rate and Bandwidth RF introduction Modulation and multiplexing - review Channel capacity Antennas and signal propagation Modulation Diversity and coding OFDM 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 Can we make this more precise? Peter A. Steenkiste 29 Peter A. Steenkiste 30 Increasing the Bit Rate Adding Detail to the Signal Time Increases the rate at which the signal changes.» Proportionally increases all signals present, and thus the spectral bandwidth 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 31 Peter A. Steenkiste 32 Page 8

So Why Don t we Always Send a Very High Bandwidth Signal? Propagation Degrades RF Signals Channels have a limit on the type of signals they can carry effectively Wires only transmit signals in certain frequency ranges Stronger attenuation and distortion outside of range Wireless radios are only allowed to use certain parts of the spectrum The radios are optimized for that frequency band Distortion makes it hard for receiver to extract the information A major challenge in wireless Peter A. Steenkiste 33 T R Attenuation in free space: signal gets weaker as it travels over longer distances» Radio signal spreads out free space loss» Refraction and absorption in the atmosphere Obstacles can weaken signal through absorption or reflection.» Reflection redirects part of the signal Multi-path effects: multiple copies of the signal interfere with each other at the receiver» Similar to an unplanned directional antenna Mobility: moving the radios or other objects changes how signal copies add up» Node moves ½ wavelength -> big change in signal strength Peter A. Steenkiste 34 Propagation Degrades RF Signals Transmission Channel Considerations Attenuation in free space: signal gets weaker as it travels over longer distances» Radio signal spreads out free space loss» Refraction and absorption in the atmosphere Obstacles can weaken signal through absorption or reflection.» Reflection redirects part of the signal Multi-path effects: multiple copies of the signal interfere with each other at the receiver» Similar to an unplanned directional antenna Mobility: moving the radios or other objects changes how signal copies add up» Node moves ½ wavelength -> big change in signal strength Peter A. Steenkiste 35 Example: grey frequencies get attenuated significantly For wired networks, channel limits are an inherent property of the wires» Different types of fiber and copper have different properties» Capacity also depends on the radio and modulation used» Improves over time, even for same wire 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 36 Page 9

RF Introduction Spectrum Allocation in US 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 37 Peter A. Steenkiste 38 38 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 39 Peter A. Steenkiste 40 Page 10

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 41 Peter A. Steenkiste 42 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 43 Peter A. Steenkiste 44 Page 11

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 C 10 6 log 2 6 1 251 10 8 8Mbps Peter A. Steenkiste 45 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 46 6 8 10 2 10 4 log2 M M 16 2 6 log 2 M Bird s Eye View The Internet End-to-end Challenges Wireless Network Internet Architecture Wireless Protocols Wireless Communication Peter A. Steenkiste 57 Page 12