程序代写 PHY FUNDAMENTALS I

PHY FUNDAMENTALS I
Coding and Modulation

1. Frequency, Wavelength, Amplitude, and Phase

Copyright By PowCoder代写 加微信 powcoder

2. Electromagnetic Spectrum
3. Time and Frequency Domains
4. Decibels
5. Coding and modulation
6. Channel Capacity (Nyquist’s and Shannon’s Theorems)
7. Hamming Distance and Error Correction
8. Multiple Access Methods (TDMA, FDMA, CDMA)
9. Spread Spectrum (Frequency Hopping and Direct Sequence)
10. Doppler Shift, Doppler Spread, Coherence Time
11. Duplexing

Frequency, Period, and Phase
q A Sin(2pft + ⌽), A = Amplitude, f=Frequency, ⌽ = Phase, Period T = 1/f,
Frequency is measured in Cycles/sec or
Amplitude = 0.5
Phase = 45°

Phase and Amplitude: 2D Representation
q Sine wave with a phase of 45°
In-phase component I + Quadrature component Q

Wavelength
q Distance occupied by one cycle
q Distance between two points of corresponding phase in two
consecutive cycles
q Wavelength = l
q Assuming signal velocity v
Ø c = 3×108 m/s (speed of light in free space) = 300 m/μs

Example: converting frequency to wavelength
q Frequency = 2.5 GHz

Example: converting wavelength to frequency
q Wavelength = λ = 5 mm Frequency = f = c/λ
= (3×108 m/s)/(5×10-3 = (300×109)/5=60GHz

q The higher the frequency, the smaller the wavelength
q 900 MHz has a wavelength of 33.33 cm
q 2.4 GHz has a wavelength of 12.5 cm
q 60 Ghz has a wavelength of only 5 mm (this technology is called millimeter wave or mmWave)
known frequencies & wavelengths

Time and Frequency Domains

Electromagnetic Spectrum
q Wireless transmissions use the airwaves Ø Airwaves are radio frequencies
q Useful frequencies constitute the Spectrum q Spectrum is ‘virtual’
Ø We cannot touch and feel
q A gift from nature (the force field)
Ø Has been there ever since earth was created q A (limited) natural resource

Electromagnetic Spectrum
q Wireless communication mostly uses 100 kHz to 6 GHz
q > 6 GHz are currently being explored and 60 GHz is used in some latest WiFi products ©2020

Spectrum use by TV and cellular services
Broadcast TV (54 –806 MHz)
Cellular 1G (806-902MHz)
Cellular 2G (1.8-1.9 GHz)
Cellular 3G
(746-764MHz, 776-794 MHz, 1.7-1.8 GHz, 2.5-2.6 GHz)
Cellular 4G
(700MHz, 1.8GHz, 2.1GHz, 2.3GHz, 2.6GHz)
50MHz 1GHz

Spectrum regulation and licensing
q Many users use the same airspace
Ø Recipe for collision
Ø No one would get anything useful done
q Spectrum use is highly regulated
Ø By govt. authorities (eg FCC in the USA)
q Spectrum is often licensed
Ø By big companies, eg Telstra
Ø Gives exclusive rights to certain freq. bands Ø Interference avoidance by regulation

Spectrum allocation
q Bulk of it reserved for government use Ø Scientific exploration
Ø Public safety
Ø Military
q Some for commercial services Ø TV broadcast
Ø Mobile phone
q Some for free-to-use
Ø High-speed wireless local area network (WiFi) Ø Cordless phone handsets at home
Ø Can you name a few more?

Key principles of spectrum allocation
q Maximize spectrum utilization
q Spectrum made available to new technologies and
Ø Adapt to new market needs
q Fair licensing
q Promote competition
q Ensure spectrum availability for public safety, health, defense, scientific experiments…

Free/unregulated/license
q Not subject to license
q Has rules for products (eg power limitation)
q More frequencies are being released as license-exempt
q Some current license-exempt frequencies Ø 900 MHz
Ø 2.4 GHz ISM band (WiFi, Microwave etc.) Ø 5.2/5.3/5.8 GHz (WiFi, Cordless phone etc.) Ø Can you identify more?
exempt spectrum

q Tx_power for practical mobile systems vary by many orders of magnitude Ø 100kW or kilowatt (FM radio station)
Ø 500mW or milliwatt (cellular phone tx power) Ø 2.5mW(Bluetoothwith~10mrange)
Ø 100pW or picowatt (typical WiFi rx threshold) Ø Femto watt? (nanosensor communication)
Ø 1W=103 mW=106μW=109nW=1012 pW
q Decibel is a more convenient (logarithmic scale) unit to compare these
powers, which are many orders of magnitude apart
q Also path loss (attenuation) can be many orders of magnitude
Ø Path loss therefore is usually expressed in decibels ©2020

Decibel (dB) Formula
q In Honour of
q The number of decibels is ten times the logarithm to base 10 of the ratio of
two power quantities (dB = 10log10(P1/P2))
Ø The quantity “Bel” would be log10(P1/P2), but not used
q Decibel can be used for different purposes
1. Path Loss: To express path loss or attenuation: [P1 = transmit power;
P2 = receive power]
2. SNR: To express signal (P1) to noise (P2) ratio at the receiver
3. Signal Power: To express signal power (P1), which can be either transmit or receive power, to a reference power (P2)

Decibel Examples for
q Example 1: Pt = 10 mW, Pr= 5 mW (power reduced by half) Attenuation (path loss) = 10 log 10 (10/5) = 10 log 10 2 = 3 dB
q Example 2: Pt = 100 mW, Pr= 1 mW (power reduced by a factor of 100) Attenuation = 10 log 10 (100/1) = 10 log 10 100 = 20 dB
Power Ratio
10,000,000,000 (ten billion times)
100 (10 x 10)
1,000,000 (1 million times)
60 (10 x 6)
10 (ten times)
10 (10 x 1)
0.001 (10-3)
-30 (10 x -3)
0.0001 (10-4)
-40 (10 x -4)

Decibel Examples for
q Example 1: Psignal = 1 mW (received signal strength), Pnoise= 100 μW SNR=10log10 (1000/100)=10log10 10=10dB
q Example 2: Received signal strength is measured at 10 mW. What is the noise power if SNR = 10 dB?
SNR = 10 dB = 10 log 10 (10mW/Pnoise) Pnoise = 1 mW
Noise Ratio

Expressing Power in dBm
q dBm is in reference to 1 milliwatt
q First, express power in milliwatt
q Then apply the following formula to obtain dBm
Power in dBm = 10 log (power in milliwatt)

Conversion to
q dBW is in reference to 1 watt
q First express power in watt
q Then apply the following formula to obtain dBW
Power in dBW = 10 log (power in watt)

Relationship between dBm &
q Note that 1 W = 1000 mW
q This gives us following relationship
Ø Note log(axb) = log(a)+log(b) dBm = dBW + 30
If you’ve calculated a power in dBW, you can simply derive the equivalent dBm by adding 30 to dBW, and vice versa.

Examples for converting Watt to dBm/
q Example 1: Express 1 mW power in units of dBm
10 log (1) = 10×0 = 0 dBm
So, ZERO dBm does not mean there is no power !

Example (2)
q Example 2: Express 50 W in Ø (a) dBW
(a) P(dBW) = 10 log (50) = 17 dBW (b) P(dBm) = 10 log (50×1000) dBm
= 10 log (50) + 10 log (1000) dBm = 17 + 30 = 47 dBm

Coding Terminology
q Symbol: the smallest element of a signal with a given amplitude,
q Data Rate: Bits per second (bps)
q A symbol may carry multiple bits
Ø A binary signal with only two different symbols would carry 1 bit per
symbol (baud rate = data rate)
Ø For an M-ary signal, data rate = baud rate x log2(M)
frequency, and phase that can be detected
q Modulation Rate: = 1/symbol_duration = Baud rate (or symbol

Modulation
q Digital version of modulation is called keying
q Amplitude Shift Keying (ASK)
q Frequency Shift Keying (FSK)
q Phase Shift Keying (PSK): Binary PSK (BPSK)

Modulation (
q Differential BPSK: Does not require reference signal q Quadrature Phase Shift Keying (QPSK)

q Quadrature Amplitude and Phase Modulation
q 4-QAM, 16-QAM, 64-QAM, 256-QAM, …
q Used in DSL and wireless networks
q Constellation diagram (shows combinations of amplitudes and phases)
q 4-QAM Þ 2 bits/symbol, 16-QAM Þ 4 bits/symbol, … ©2020

QAM in Action
Wireless Technology
QAM Supported
WiFi 802.11n
16 QAM, 64 QAM
WiFi5 802.11ac
WiFi6 802.11ax

Channel Capacity
q Capacity = Maximum data rate (bps) for a channel
q Nyquist Theorem (noiseless channel): Bandwidth = B Hz
Baudrate <2B q Bi-level Encoding: Max. Data rate = 2 ́ Bandwidth q Multilevel: Capacity = 2 ́ Bandwidth ́ log 2 M M = Number of levels Example: M=4, Capacity = 4 ́ Bandwidth ©2020 Assume that you have discovered a novel material that has negligible electrical noise. What is the maximum data rate that this material could achieve over a phone wire having a bandwidth of 3100 Hz if data was encoded with 64-QAM? WehaveB=3100 M=64 Datarate=2×3100×log 64=37,200bps 2 Shannon's Theorem (noisy channel) q Bandwidth = B Hz Signal-to-noise ratio = S/N q Maximum number of bits/sec = B log2 (1+S/N) [error free communication] q Example: Phone wire bandwidth = 3100 Hz S/N = 30 dB 10Log10 S/N=30 Log10 S/N=3 S/N = 103 = 1000 Capacity = 3100 log 2 (1+1000) = 30,894 Hamming Distance q Hamming Distance between two sequences = Number of bits in which they disagree q Example: 011011 110001 --------- Difference 101010 Þ Distance = 3 Error Correction Example q 2-bit words transmitted as 5-bit/word Data Codeword Received = 00100 Þ Not one of the code words Þ Error Distance (00100,00000) = 1 Distance (00100,00111) = 2 Distance (00100,11001) = 4 Distance (00100,11110) = 3 Þ Most likely 00000 was sent. Corrected data = 00 b. Received = 01010 Distance(...,00000) = 2 = Distance(...,11110) Error detected but cannot be corrected c. Three-bit errors will not be detected. Sent 00000, Received 00111. Multiple Access Methods Time Division Multiple Access (communicating groups are taking turns) Code Division Multiple Access (all communicating groups are talking at the same time) Multiple Access FDMA (frequency division multiple access) q Each communicating group is using a different “code” q You can understand a conversation only if you know the code used in that conversation q Much like a multilingual party, where people from different languages are all talking at the same time (code = language) q Two popular coding methods for CDMA Ø Frequency hopping spread spectrum (FHSS) Ø Direct sequence spread spectrum (DSSS) Frequency Hopping Spread Spectrum 50 ms Time q Transmit over a narrowband, but continuously switch (hop) frequency over a wide spectrum Ø Spreads the transmission (power) over a wide spectrum ÞSpread Spectrum q Pseudo-random frequency hopping (both transmitter and receiver use the same pseud-random number sequence = code) Ø Developed initially for military Ø Patented by actress (idea came while playing a piano; tone changes continuously) FHSS Advantages and Disadvantages q Advantages Ø Difficult to intercept (appears as random ‘blips’) Ø Narrowband interference can't jam q Disadvantages Ø Requires increased bandwidth (ability to randomly hop between 1000 frequenciesà1000 more bandwidth) Ø Both time and frequency synchronization Sequence Spread Spectrum 01001011011011010010 code = 0100101101 Tx bits = data EXOR code q Many bits are transmitted for each data bit q Spreading factor = Code bits/data bit, 10-100 commercial (Min 10 by FCC), 10,000 for military q Signal bandwidth >10 × data bandwidth
q Code sequence synchronization
q Correlation between codes ÞInterference (Orthogonal to avoid interference)

Doppler Shift
q If the transmitter or receiver or both are mobile the frequency of received signal changes
q Moving towards each other Þ Frequency increases
q Moving away from each other Þ Frequency decreases
Frequency difference = velocity/Wavelength = v/λ = vf/c Example: 2.4 GHz Þ λ= 3×108/2.4×109 = 0.125m
v = 120km/hr = 120×1000/3600 = 33.3 m/s
Freq diff (Doppler shift) = 33.3/0.125 = 267 Hz

Doppler Spread and Coherence Time
f-vf/c f+vf/c
q Two rays will be received (original+reflection)
q Doppler Spread = 2vf/c = 2 × Doppler shift
q They will add or cancel-out each other as the receiver moves
q Coherence time: Time during which the channel response is constant = 1/Doppler spread = c/2vf = λ/2v

q What is the coherence time for a 2.4 GHz wifi link connecting a car travelling at 72 km/hr?
V=(72 x 1000)/3600 = 20 m/s
Doppler spread = 2vf/c = (2x20x2.4×109)/(3×108) = 320 Hz Coherence time = 1/320 = 0.003125 s = 3.125 ms

q Duplex = Bi-Directional Communication
q Frequency division duplexing (FDD) (Full-Duplex)
Frequency 1 Frequency 2
q Time division duplex (TDD): Half-duplex
q Many LTE deployments will use TDD.
Ø Allows more flexible sharing of DL/UL data rate
Ø Does not require paired spectrum
Ø Easy channel estimation Þ Simpler transceiver design Ø Con: All neighboring BS should time synchronize
Subscriber
Subscriber

1. Electric, Radio, Light, X-Rays, are all electromagnetic waves
2. Wavelength and frequency are inversely proportional ( wavelength = c/f)
3. Historically, wireless communications mostly used frequencies below 6 GHz, but beyond 6 GHz is actively explored in modern wireless networks.
4. Hertz and bit rate are related by Nyquist and Shannon’s Theorems
5. Nyquist’s theorem explains capacity for noiseless channels
6. Shannon’s capacity takes SNR into consideration
7. By spreading the original signal bandwidth over a much wider band, spread spectrum can provide better immunity against interference and jamming as well allowing multiple parties to communicate over the same frequency at the same time.
8. FHSS and DSSS are two fundamental methods of realizing spread spectrum
9. Doppler effect explains the shift in frequency experienced by mobile objects
10. Doppler spread is twice the Doppler shift
11. Channel coherence time is inversely proportional to doppler spread
12. FDD and TDD are two fundamental methods of resource allocation between the transmitter and the receiver so they both can exchange information with each other

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com