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

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

CS263: Wireless Communications and Sensor Networks

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

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

Spread Spectrum. Chapter 18. FHSS Frequency Hopping Spread Spectrum DSSS Direct Sequence Spread Spectrum DSSS using CDMA Code Division Multiple Access

CHAPTER 2. Instructor: Mr. Abhijit Parmar Course: Mobile Computing and Wireless Communication ( )

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

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

EECS 380: Wireless Technologies Week 7-8

Spread Spectrum: Definition

Multiplexing Module W.tra.2

Wireless LAN Applications LAN Extension Cross building interconnection Nomadic access Ad hoc networks Single Cell Wireless LAN

Multiple Access Schemes

Access Methods and Spectral Efficiency

Outline / Wireless Networks and Applications Lecture 14: Wireless LANs * IEEE Family. Some IEEE Standards.

CSCD 433/533 Wireless Networks

Multiple Access Techniques for Wireless Communications

Lecture 7: Centralized MAC protocols. Mythili Vutukuru CS 653 Spring 2014 Jan 27, Monday

Multiple Access System

Chapter 1 Acknowledgment:

Multiple Access Techniques

Quick Introduction to Communication Systems

Wireless Networks (PHY): Design for Diversity

Digi-Wave Technology Williams Sound Digi-Wave White Paper

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

Physical Layer: Modulation, FEC. Wireless Networks: Guevara Noubir. S2001, COM3525 Wireless Networks Lecture 3, 1

Wireless Transmission & Media Access

Chapter 7 Multiple Division Techniques for Traffic Channels

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

Mobile & Wireless Networking. Lecture 2: Wireless Transmission (2/2)

Breaking Through RF Clutter

Multiple Access. Difference between Multiplexing and Multiple Access

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Difference Between. 1. Old connection is broken before a new connection is activated.

CIS 632 / EEC 687 Mobile Computing. Mobile Communications (for Dummies) Chansu Yu. Contents. Modulation Propagation Spread spectrum

Spread Spectrum Modulation

Wireless Intro : Computer Networking. Wireless Challenges. Overview

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Wireless Communication in Embedded System. Prof. Prabhat Ranjan

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Lecture 9: Spread Spectrum Modulation Techniques

Code Division Multiple Access.

OFDMA and MIMO Notes

Part A: Spread Spectrum Systems

Page 1. Overview : Wireless Networks Lecture 9: OFDM, WiMAX, LTE

Understanding and Mitigating the Impact of Interference on Networks. By Gulzar Ahmad Sanjay Bhatt Morteza Kheirkhah Adam Kral Jannik Sundø

Introduction to Wireless and Mobile Networking. Hung-Yu Wei g National Taiwan University

Chapter 2 Overview - 1 -

Part A: Spread Spectrum Systems

SPREAD SPECTRUM (SS) SIGNALS FOR DIGITAL COMMUNICATIONS

UNIK4230: Mobile Communications. Abul Kaosher

UNIT 4 Spread Spectrum and Multiple. Access Technique

SEN366 (SEN374) (Introduction to) Computer Networks

Year : TYEJ Sub: Digital Communication (17535) Assignment No. 1. Introduction of Digital Communication. Question Exam Marks

Keysight Technologies Testing WLAN Devices According to IEEE Standards. Application Note

HOW DO MIMO RADIOS WORK? Adaptability of Modern and LTE Technology. By Fanny Mlinarsky 1/12/2014

Mobile Communications TCS 455

Wireless Medium Access Control and CDMA-based Communication Lesson 16 Orthogonal Frequency Division Medium Access (OFDM)

Cellular Wireless Networks. Chapter 10

CDMA - QUESTIONS & ANSWERS

Keysight Technologies Making G Transmitter Measurements. Application Note

S.D.M COLLEGE OF ENGINEERING AND TECHNOLOGY

Overview of Digital Mobile Communications

Exam 3 is two weeks from today. Today s is the final lecture that will be included on the exam.

Lecture LTE (4G) -Technologies used in 4G and 5G. Spread Spectrum Communications

T325 Summary T305 T325 B BLOCK 3 4 PART III T325. Session 11 Block III Part 3 Access & Modulation. Dr. Saatchi, Seyed Mohsen.

ECS455: Chapter 4 Multiple Access

Chapter 7. Multiple Division Techniques

Medium Access Control. Wireless Networks: Guevara Noubir. Slides adapted from Mobile Communications by J. Schiller

Part 3. Multiple Access Methods. p. 1 ELEC6040 Mobile Radio Communications, Dept. of E.E.E., HKU

Chapter 2 Overview - 1 -

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 9: Multiple Access, GSM, and IS-95

ADVANCED WIRELESS TECHNOLOGIES. Aditya K. Jagannatham Indian Institute of Technology Kanpur

Outline. Wireless Networks (PHY): Design for Diversity. Admin. Outline. Page 1. Recap: Impact of Channel on Decisions. [hg(t) + w(t)]g(t)dt.

SNS COLLEGE OF ENGINEERING COIMBATORE DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

Final Exam (ECE 408/508 Digital Communications) (05/05/10, Wed, 6 8:30PM)

Physical Layer: Outline

Mobile Communication Systems. Part 7- Multiplexing

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

Mobile Computing. Chapter 3: Medium Access Control

MOBILE COMPUTING 4/8/18. Basic Call. Public Switched Telephone Network - PSTN. CSE 40814/60814 Spring Transit. switch. Transit. Transit.

Lecture 5 Transmission

Diversity Techniques

Chapter 2: Wireless Transmission. Mobile Communications. Spread spectrum. Multiplexing. Modulation. Frequencies. Antenna. Signals

Signal Encoding Criteria

By Ryan Winfield Woodings and Mark Gerrior, Cypress Semiconductor

Medium Access Control

MIMO I: Spatial Diversity

WCDMA Basics Chapter 2 OBJECTIVES:

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

OFDMA PHY for EPoC: a Baseline Proposal. Andrea Garavaglia and Christian Pietsch Qualcomm PAGE 1

MIMO RFIC Test Architectures

QUESTION BANK EC 1351 DIGITAL COMMUNICATION YEAR / SEM : III / VI UNIT I- PULSE MODULATION PART-A (2 Marks) 1. What is the purpose of sample and hold

Ten Things You Should Know About MIMO

Structure of the Lecture

Chapter 2 Overview. Duplexing, Multiple Access - 1 -

Bit Error Rate Performance Evaluation of Various Modulation Techniques with Forward Error Correction Coding of WiMAX

OFDM Systems For Different Modulation Technique

Cellular Network. Ir. Muhamad Asvial, MSc., PhD

Text Book & Reference Book

Transcription:

18-452/18-750 Wireless Networks and Applications Lecture 6: Physical Layer Diversity and Coding Peter Steenkiste Carnegie Mellon University Spring Semester 2017 http://www.cs.cmu.edu/~prs/wirelesss17/ Outline RF introduction Modulation and multiplexing Channel capacity Antennas and signal propagation Modulation Diversity and coding» Space, time and frequency diversity OFDM Typical Bad News Good News Story Peter A. Steenkiste 1 Peter A. Steenkiste 2 Diversity Techniques Space Diversity The quality of the channel depends on time, space, and frequency Space diversity: use multiple nearby antennas and combine signals» Both at the sender and the receiver Time diversity: spread data out over time» Useful for burst errors, i.e., errors are clustered in time Frequency diversity: spread signal over multiple frequencies» For example, spread spectrum Distribute data over multiple channels» Channels experience different frequency selective fading, so only part of the data is affected Peter A. Steenkiste 3 Use multiple antennas that pick up/transmit the signal in slightly different locations If antennas are sufficiently separated, instantaneous channel conditions are independent» Antennas should be separated by ½ wavelength or more If one antenna experiences deep fading, the other antenna has a strong signal Represents a wide class of techniques» Use on transmit and receive side - channels are symmetric» Level of sophistication of the algorithms used» Can use more than two antennas! Peter A. Steenkiste 4 Page 1

Page 2 Selection Diversity Simple Algorithm in (older) 802.11 Receiver diversity: receiver picks the antenna with the best SNR» Very easy Transmit diversity: sender picks the antenna that offers the best channel to the receiver» Transmitter can learn the channel conditions based on signals sent by the receiver x 1 x 2» Leverages channel reciprocity h 1 h 2 Peter A. Steenkiste 5 x y h 1 h 2 y 1 y 2 Combine transmit + receive selection diversity» Assume packets are acknowledged why? How to explore all channels to find the best one or at least the best transmit antenna Receiver:» Uses the antenna with the strongest signal» Always use the same antenna to send the acknowledgement gives feedback to the sender Sender:» Picks an antenna to transmit and learns about the channel quality based on the ACK» Needs to occasionally try the other antenna to explore the channel between all four channel pairs Transmit Receiver Peter A. Steenkiste 6 Receiver Diversity Can we Do Better? Receiver Diversity Optimization But why not use both signals?» 2 Signals contain more information than 1» What can go wrong? Simply adding the two signals has drawbacks:» Signals may be out of phase, e.g. kind of like multi-path; can reduce the signal strength!» We want to make sure we do not amplify the noise Maximal ratio combining: combine signals with a weight that is based on their SNR» Weight will favor the strongest signal (highest SNR)» Also: equal gain combining as a quick and dirty alternative x h 1 h 2 Multiply y with the complex conjugate h * of the channel vector h» Aligns the phases of the two signals so they amplify each other» Scales the signals with their magnitude so the effect of noise is not amplified Can learn h based on training data y 1 y 2 y = h * x + n Peter A. Steenkiste 7 Peter A. Steenkiste 8

Page 3 The Details Transmit Diversity Complex conjugates: same real part but imaginary parts of opposite signs h * y = h * (h * x + n) Where h * = [h 1* h 2* ] = [ a 1 +b 1 i a 2 -b 2 i] Result: signal x is scaled by a 12 + b 12 + a 22 + b 2 2 noise becomes: h 1* * n 1 + h 2* * n 2 Same as receive diversity but the transmitter has multiple antennas Maximum ratio combining: sender precodes the signal» Pre-align the phases at receiver and distribute power over the transmit antennas (total power fixed) How does transmitter learn channel?» Channel reciprocity: learn from packets received Y x 1 h 1 Peter A. Steenkiste 9 x 2 y y = h * x + n h 2 Peter A. Steenkiste 10 Adding Redundancy Combine Redundancy with Time Diversity Protects digital data by introducing redundancy in the transmitted data.» Error detection codes: can identify certain types of errors» Error correction codes: can fix certain types of errors Block codes provide Forward Error Correction (FEC) for blocks of data.» (n, k) code: n bits are transmitted for k information bits» Simplest example: parity codes» Many different codes exist: Hamming, cyclic, Reed- Solomon, Convolutional codes provide protection for a continuous stream of bits.» Coding gain is n/k» Turbo codes: convolutional code with channel estimation Peter A. Steenkiste 11 Fading can cause burst errors: a relatively long sequence of bits is corrupted Spread blocks of bytes out over time so redundancy can help recover from the burst» Example: only need 3 out of 4 to recover the data A B C A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 A1 B1 C1 A2 B2 C2 A3 B3 C3 A4 B4 C4 A B C Peter A. Steenkiste 12

Bits, Symbols, and Chips Discussion Redundancy and time diversity can be added easily at the application layer Can we do it lower in the stack? X bits» Need to adapt quickly to the channel So far: use bits to directly modulate the signal Idea: add a coding layer provides a level of indirection Can add redundancy and adjust level of redundancy quickly based on channel conditions X bits with redundancy Modulated signal Peter A. Steenkiste 13 Error coding increases robustness at the expense of having to send more bits» Technically this means that you need more spectrum But: since you can tolerate some errors, you may be able to increase the bit rate through more aggressive modulation Coding and modulation combined offer a lot of flexibility to optimize transmission Next steps:» Apply a similar idea to frequency diversity» Combine coding with frequency and time diversity in OFDM Peter A. Steenkiste 14 Summary Outline Space diversity really helps in overcoming fading» Very widely deployed» Will build on this when we discuss MIMO Coding is also an effective way to improve throughput» Widely used in all modern standards» Coding, combined with modulation, can be adapt quickly to channel conditions RF introduction Modulation and multiplexing Channel capacity Antennas and signal propagation Modulation Diversity and coding» Space, time and frequency diversity OFDM Typical Bad News Good News Story Peter A. Steenkiste 15 Peter A. Steenkiste 16 Page 4

Page 5 Spread Spectrum Frequency Hopping Spread Spectrum (FHSS) Spread transmission over a wider bandwidth» Don t put all your eggs in one basket! Good for military: jamming and interception becomes harder Also useful to minimize impact of a bad frequency in regular environments But what is the cost? What can be gained from this apparent waste of spectrum?» Immunity from various kinds of noise and multipath distortion» Can be used for hiding and encrypting signals» Several users can independently use the same higher bandwidth with very little interference Peter A. Steenkiste 17 Frequency Have the transmitter hop between a seemingly random sequence of frequencies» Each frequency has the bandwidth of the original signal Dwell time is the time spent using one frequency Spreading code determines the hopping sequence» Must be shared by sender and receiver (e.g. standardized) Time Peter A. Steenkiste 18 Example: Original 802.11 Standard (FH) 802.11 Spectrogram Used frequency hopping: 96 channels of 1 MHz» Only 78 used in US; other countries used different numbers» Each channel carries only ~1% of the bandwidth» Uses 2 GFSK or 4 GFSK for modulation (1 or 2 Mbps) The dwell time was configurable» FCC set an upper bound of 400 msec» Transmitter/receiver must be synchronized Standard defined 26 orthogonal hop sequences Transmitter used a beacon on fixed frequency to inform the receiver of its hop sequence Can support multiple simultaneous transmissions use different hop sequences» E.g. up to 10 co-located APs with their clients Peter A. Steenkiste 19 Peter A. Steenkiste 20

Page 6 Frequency Hopping Spectrogram Example: Bluetooth Uses frequency hopping spread spectrum in the 2.4 GHz ISM band Uses 79 frequencies with a spacing of 1 MHz» Other countries use different numbers of frequencies Frequency hopping rate is 1600 hops/s Signal uses GFSK» Mimimum deviation is 115 KHz Maximum data rate is 1 MHz Peter A. Steenkiste 21 Peter A. Steenkiste 22 Direct Sequence Spread Spectrum (DSSS) Spread Spectrum Each bit in original signal is represented by multiple bits (chips) in the transmitted signal Spreading code spreads signal across a wider frequency band» Spread is in direct proportion to number of bits used» E.g. exclusive-or of the bits with the spreading code The resulting bit stream is used to modulate the signal Original Signal 1 1 0 1 0 0 Spreading Code 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 1 0 1 XOR Transmitted Chips 1 1 0 1 0 1 0 1 1 1 1 0 1 1 0 1 0 1 Modulated Signal Peter A. Steenkiste 23 Peter A. Steenkiste 24

Page 7 Direct Sequence Spread Spectrum (DSSS) Properties Peter A. Steenkiste 25 Since each bit is sent as multiple chips, you need more bps bandwidth to send the signal.» Number of chips per bit is called the spreading ratio Given the Nyquist and Shannon results, you need more spectral bandwidth to do this.» Spreading the signal over the spectrum Advantage is that is transmission is more resilient.» Effective against noise and multi-path» DSSS signal will look like noise in a narrow band» Can lose some chips in a word and recover easily Multiple users can share bandwidth (easily).» Follows directly from Shannon (capacity is there)» Next topic Peter A. Steenkiste 26 Example: Original 802.11 Standard (DSSS) Spectrogram: DSSS-encoded Signal The DS PHY uses a 1 Msymbol/s rate with an 11- to-1 spreading ratio and a Barker chipping sequence» Barker sequence has low autocorrelation properties why?» Uses about 22 MHz Receiver decodes by counting the number of 1 bits in each word» 6 1 bits correspond to a 0 data bit Chips were transmitted using DBPSK modulation» Resulting data rate is1 Mbps (i.e. 11 Mchips/sec)» Extended to 2 Mbps by using a DQPSK modulation Requires the detection of a ¼ phase shift Time Frequency Peter A. Steenkiste 27 Peter A. Steenkiste 28

Page 8 Outline From Signals to Packets RF introduction Modulation and multiplexing Channel capacity Antennas and signal propagation Equalization and diversity Modulation and coding» Coding and modulation» Amplitude, frequency, phase» Code division multiple access» OFDM Some newer technologies Spectrum access Peter A. Steenkiste 29 Packet Transmission Packets Bit Stream 0 0 1 0 1 1 1 0 0 0 1 Digital Signal Analog Signal Sender Receiver 0100010101011100101010101011101110000001111010101110101010101101011010111001 Header/Body Header/Body Header/Body Peter A. Steenkiste 30 Code Division Multiple Access CDMA Principle Users share spectrum, i.e., use it at the same time, but they use different codes to spread their data over the frequency» DSSS where users use different spreading sequences» Use spreading sequences that are orthogonal, i.e. they have minimal overlap» Frequency hopping with different hop sequences The idea is that users will only rarely overlap and the inherent robustness of DSSS will allow users to recover if there is a conflict» Overlap = use the same the frequency at the same time» The signal of other users will appear as noise Peter A. Steenkiste 31 Basic Principles of CDMA» D = rate of data signal» Break each bit into k chips - user-specific fixed pattern» Chip data rate of new channel = kd If k=6 and code is a sequence of 1s and -1s» For a 1 bit, A sends code as chip pattern <c1, c2, c3, c4, c5, c6>» For a 0 bit, A sends complement of code <-c1, -c2, -c3, -c4, -c5, -c6> Receiver knows sender s code and performs electronic decode function S u d d1 c1 d2 c2 d3 c3 d4 c4 d5 c5 d6 c6 <d1, d2, d3, d4, d5, d6> = received chip pattern <c1, c2, c3, c4, c5, c6> = sender s code Peter A. Steenkiste 32

CDMA Example CDMA for Direct Sequence Spread Spectrum User A code = <1, 1, 1, 1, 1, 1>» To send a 1 bit = <1, 1, 1, 1, 1, 1>» To send a 0 bit = < 1, 1, 1, 1, 1, 1> User B code = <1, 1, 1, 1, 1, 1>» To send a 1 bit = <1, 1, 1, 1, 1, 1> Receiver receiving with A s code» (A s code) x (received chip pattern) User A 1 bit: 6 -> 1 User A 0 bit: -6 -> 0 User B 1 bit: 0 -> unwanted signal ignored These signals will look like noise to the receiver Peter A. Steenkiste 33 Peter A. Steenkiste 34 CDMA Discussion CDMA Example CDMA does not assign a fixed bandwidth but a user s bandwidth depends on the traffic load» More users results in more noise and less throughput for each user, e.g. more information lost due to errors» How graceful the degradation is depends on how orthogonal the codes are» TDMA and FDMA have a fixed channel capacity Weaker signals may be lost in the clutter» This will systematically put the same node pairs at a disadvantage not acceptable» The solution is to add power control, i.e. nearby nodes use a lower transmission power than remote nodes CDMA cellular standard.» Used in the US, e.g. Sprint Allocates 1.228 MHz for base station to mobile communication.» Shared by 64 code channels» Used for voice (55), paging service (8), and control (1) Provides a lot error coding to recover from errors.» Voice data is 8550 bps» Coding and FEC increase this to 19.2 kbps» Then spread out over 1.228 MHz using DSSS; uses QPSK Peter A. Steenkiste 35 Peter A. Steenkiste 36 Page 9

Page 10 Summary Spread spectrum achieves robustness by spreading out the signal over a wide channel» Sending different data blocks on different frequencies, or» Spreading all data across the entire channel CDMA builds on the same concept by allowing multiple senders to simultaneously use the same channel» Sender and receive must coordinate so receiver can decode the data Peter A. Steenkiste 37