Lecture02 Phy Intro
Lecture02 Phy Intro
EM wave (carrier)
Transmitted
(passband)
Used in AM radio
Error prone and not resilient to distortions
Communication using radio waves (2)
Better idea – digital modulation.
Convert “signal” into stream of bits.
Sample signal at fixed intervals, discrete time signals
Quantize the signal value into discrete levels. For
example, 4 levels can be represented by 2 bits: 00, 01,
10, 11
Use bits to modulate the amplitude of the carrier.
If 1, send the carrier signal. If 0, no signal. This is
amplitude shift keying, there are many more
modulation techniques.
Advantage over analog: even if distorted, can easily
tell apart 0 and 1
Communication using radio waves (3)
Note: I am drawing smooth curves for ease, but always think of them
as discrete samples.
Wireless signal propagation
What happens when you transmit the modulated signal
over the air?
Signal travels over multiple paths – multiple copies
Each copy of the signal suffers different attenuation
Path loss (inverse square law)
Reflection, refraction, diffraction, shadowing, scattering etc
Each copy of the signal may also have its frequency shifted
slightly (Doppler shift due to movement)
Finally, there is always background thermal noise
Various channel models exist to characterize these effects
Received signal is sum of multiple different copies of the
signal + noise
Wireless signal propagation (2)
Wireless channel is described by channel impulse response “h” – what do
you receive when you send one impulse.
Ideally, you only receive the impulse (with some propagation delay).
With multipath, you receive multiple copies of the impulse, each scaled by
different amounts.
Input impulse
Channel output
Transmitted signal “x”, channel “h”, noise “n”, then received signal is y =
h*x + n
Here “*” is the convolution operator. That is, for each sample in signal, we
consider the impulse response, and add up all these components over all
samples.
Need to estimate and compensate for this “h” at receiver – channel
equalization.
Wireless signal propagation (3)
Net effect of the wireless channel
Signal is attenuated (weakened) at longer
timescales due to path loss etc
Variations at smaller timescales due to multipath
fading (multiple copies combine constructively or
destructively)
Finally, background thermal noise
Path loss at longer
timescales
Transmitte
d Received
The concept of SNR
Signal to noise ratio (SNR) = Power of signal / power of noise
EM wave (carrier)
Transmitted (passband)
So, how fast can you send?
Let’s revisit question of how fast you can send. The analysis
becomes very simple in frequency domain
What is the difference between a faster pulse and a slower
pulse?
DFT of faster pulse has a wider frequency “band”, i.e.,
greater bandwidth than slower pulse
Bandwidth is inversely proportional to symbol
duration
More bandwidth -> more frequencies of EM
spectrum used
So, how fast can you send? (2)
How fast you can send depends on two factors
Your allocated frequency band. For example, 802.11g has 20
MHz channels allocated. So if you send faster than a certain
rate, your frequency domain signal will overlap with your
neighbor’s signal and lead to data loss. (Note how such an
analysis is easy with DFT!)
Your hardware capability to sample. More frequencies mean
that you must send out more samples. Nyquist’s sampling law
says that if your highest frequency in baseband is f, you must
sample at the rate of at least 2f. Faster sampling requires faster
hardware.
Once you decide the bandwidth of your signal (based on
above two factors), you know how fast your pulses can be
Wireless Channel Capacity
What is the “speed” of the wireless channel? For
example, you have a 100Mbps ethernet link.
What is the equivalent for a wireless channel?
The rate at which you can send information
depends on two factors
The rate at which you can send symbols, which
depends on bandwidth
How effectively you can distinguish the 0s and 1s in
each symbol, which depends on SNR
Wireless Channel Capacity (2)
Shannon’s capacity C = B * log2(1 + Ps/Pn)
B = bandwidth, Ps/Pn is SNR as a ratio (not dB)
For example, for a 20 MHz channel, and SNR 30 dB, what is C?
SNR = 20 dB, so Ps/Pn = 1000
C ~ 20M * log2(1001) ~ 20M * 10 ~ 200 Mbps
Shannon’s capacity is an upper bound. That is, if you try to
send at a rate R > C, you will see lots of errors.
That said, any scheme that sends at a rate R < C is not bound to
succeed, you must build your signal wisely.
Next lecture, we will see ways of constructing a transmission
signal (modulation, channel coding) that will get us close to
channel capacity.
Summary
Wireless physical layer uses electromagnetic waves of a
certain frequency spectrum
The bits in the data signal are used to modulate the carrier
to get the transmitted signal
Wireless channel causes path loss, multipath fading, and
other effects that weaken the transmitted signal
Signal to noise ratio (SNR) determines how easy it is to
recover the bits from the received signal
Bandwidth of the transmission determines how fast you
can send bits one after the other
Shannon gives us a way to calculate the maximum rate at
which we can send bits (capacity) as a function of
bandwidth and SNR