Beruflich Dokumente
Kultur Dokumente
10 November 2014
These sample problems include the material in the lectures and the
guided lab exercises.
1 Part 1
in dBm?
and
5 dBm
5 dBm = 10 10 dBm W 0.316 mW
The sum is then
0.25 mW?
6 dBm + 3 dB = 3 dBm
Solution:
3
10 log10 = 34.77 dB
0.001
0 dB.
Solution:
Solution: Find the noise factor F and gain G at each stage. Then
apply Friis formula.
For the cable,
1.5
G1 = 10 10 = 0.7080
1
F1 = = 1.4125
G1
hy448 sample problems 4
Then, use Friis formula to find the combined noise factor for the
original system:
F2 1 F 1 F 1
F = F1 + + 3 + 4
G1 G1 G2 G1 G2 G3
or
5.0119 1 6.3096 1 3.9811 1
F = 1.4125 + + + = 7.1607
0.7080 0.7080 100 0.7080 100 6.3096
then
NF = 10 log10 (7.1607) = 8.5495 dB
For the system with the RF amplifier as the first stage, we have
00 = 0
01 = 1
10 = 1
11 = 0
Using XOR, we can create a forward error correction code that
will allow us to potentially recover from some bit errors. We will
hy448 sample problems 5
divide our message into packets of length l; for each two consecutive
packets, we will transmit the packets, followed by their XOR.
For example, if l = 4, and we have the message {10001010}, we
can send the packets p1 = {1000}, p2 = {1010}, and p3 = {0010}.
At the receiver, if any two packets are received correctly, we can XOR
them to recover the third, enabling us to reconstruct the message.
With this FEC scheme, what is the ratio of message bits to total
bits sent over the link?
Suppose the transmitter adds a parity check bit at the end of each
packet, set to 0 if there are an even number of 1s in the packet and
1 if there are an odd number of 1s in the packet (making the total
count of 1s in the packet, including the parity bit, even).
As before, suppose we know that there will be at most one bit error
per FEC group. Using the combined FEC and parity check scheme,
we receive the following packets: 11011, 10101, and 00110.
With this combined parity check and FEC scheme, what is the
ratio of message bits to total bits sent over the link?
Solution:
With the FEC scheme described in this problem, we must send one
extra bit for every two bits of message data. The ratio of message
bits to total bits is 23 .
With the parity bit and FEC, the ratio of message bits to total bits
8
is 15 .
From the parity bit, we can see that the second packet (10101) has
an odd number of ones, and therefore has a bit error. Furthermore,
we know that the second bit of this packet is in error (from the
XOR). Therefore, we can recover the correct message: 11011110.
2 Part 2
fRF fIF
2.1 Frequency mixers
A transmitter is operating with an intermediate frequency f IF =
39 MHz. It is mixed with a local oscillator at f LO = 400 MHz, before fLO
transmitting (as in Figure 3).
We are interested in measuring the output of the transmitter, sep- Figure 3: Frequency mixer.
arately from any issues that may be introduced by an imperfect re-
ceiver. To do this, we use a spectrum analyzer tuned to the range
from 300 500 MHz. Spectrum analyzers are special-purpose devices
designed to show the true RF spectrum as accurately as possible.
The display of the spectrum analyzer is shown in Figure 4. In
particular, we measure power levels above the ambient noise power
at the following frequencies:
Using M = 4? M = 16?
log2 4 = 2
64 103
= 32 kHz
2
This is more than the maximum allowed bandwidth, so the data rate
of the signal cannot be supported.
The (modulation) spectral efficiency for 16-PSK is
log2 16 = 4
64 103
= 16 kHz
4
This is less than the maximum allowed bandwidth, so the data rate of
the signal can be supported.
With 16-PSK and coding, the required bandwidth will be
1 64 103
R 4
where R is the code rate. For a maximum of 20 kHz of bandwidth,
the highest code rate possible is 45 , which means we can send only
one bit of redundant information for four message bits.
2.3 ARQ
In an ARQ system, data is divided into blocks of size SB bytes. The
receiver and transmitter each keep a buffer that can store up to W
blocks (W is called the window size).
When a block is sent, the transmitter keeps it in its buffer until
it receives an acknowledgment from the receiver. If no acknowl-
edgment is received within a specified timeout period, the block is
re-transmitted. If the buffer becomes full, the transmitter must wait
for acknowledgment from the receiver, at which point it can remove
the acknowledged block(s) from the buffer.
Consider a wireless system, where ARQ acknowledgments for
blocks transmitted in frame i are received at the beginning of frame
i + 1. The frame length L F is the length of the frame, and its inverse
is the frame rate (number of frames per second).
hy448 sample problems 9
SB W
LF
For SB = 32 B, W = 512, and L F = 5 msec, the maximum through-
put is 3.277 MB/s.
For SB = 16 B, W = 128, and L F = 5 msec, the maximum through-
put is 409.6 kB/s.
With delayed acknowledgments, the maximum throughput the
connection can achieve is limited by the expression:
SB W
LF D