9.2 - Controlling the bandwidth
-
0:01 - 0:04Hi, and welcome to module 9.2 of digital
signal processing. -
0:04 - 0:08We are talking about digital
communication systems, and in this -
0:08 - 0:13module, we will talk about how to fulfil
the bandwidth constraint. -
0:13 - 0:16The way that we're going to do this is by
introducing an operation called -
0:16 - 0:20upsampling.
And we will see how upsampling will allow -
0:20 - 0:24us to fit the spectrum generated by the
transmitter onto the band allowed for by -
0:24 - 0:28the channel.
Remember that our assumption is that the -
0:28 - 0:31signal generated by the transmitter is a
wide sequence. -
0:31 - 0:35And therefore, it's spiral spectral
density will be full band. -
0:35 - 0:39What we need to do is to shrink the
support of it's spiral spectral density -
0:39 - 0:42so that it fits on the band allowed by
the channel. -
0:42 - 0:45The way we do this is by using multirate
techniques. -
0:45 - 0:49In multirate, the goal is to increase or
decrease the number of samples of a -
0:49 - 0:52digital signal.
One way to do this is to interpolate the -
0:52 - 0:56digital signal into a continuous time
signal. -
0:56 - 0:59And then resample the interpolation at a
different sampling rate. -
0:59 - 1:03However, we want to avoid the transition
to discrete time, and we want to perform -
1:03 - 1:07this aritficial change of sampling rate
entirely in the digital domain. -
1:07 - 1:11Let's consider the up sampling operation,
which is really what we're interested in. -
1:11 - 1:15And let's look at how to do this, going
through an interpolation and resampling -
1:15 - 1:19operation first.
So we have a discrete time signal here, -
1:19 - 1:25we interpolate with the given period Ts.
We obtain a continuous time signal and -
1:25 - 1:28then we sample this continuous time
signal with a period that is k times -
1:28 - 1:32smaller than the original interpolation
sample, and we obtain another discrete -
1:32 - 1:37times sequence here.
Graphically, assume this is our discrete -
1:37 - 1:42times signal.
The interpolation to continuous time will -
1:42 - 1:46give us this and the resampling with a
smaller sampling period will give us a -
1:46 - 1:49higher density of samples on the same
curve so that the resulting upsampled -
1:49 - 1:55signal would look like this.
Now, we are interpolating to continuous -
1:55 - 1:59time, so the choice of the sampling
period is completely arbitrary for -
1:59 - 2:03simplicity as per usual, which is Ts
equal to 1, and here we have that the -
2:03 - 2:09interplay signal is given by the standard
sync interplay formula. -
2:09 - 2:13When we resample, with the period that is
1 over k, k times smaller than the -
2:13 - 2:19original, we are taking samples of the
interplayed function at n over big K. -
2:19 - 2:24And the result Is an interpolation
formula, where the sync function now, is -
2:24 - 2:29centered at fractional intervals, so n
over big K. -
2:29 - 2:33In the frequency domain, the process
looks like so. -
2:33 - 2:40Imagine we have a discreet time signal,
whose spectrum is limited to 3 pi over 4. -
2:40 - 2:44We interpolate it to continuous time, and
we get an analog spectrum that looks like -
2:44 - 2:49this, where our nyquist frequency is
omega n, equal to pi over Ts. -
2:49 - 2:54When we resample, with the sampling
period which is k times smaller, that is -
2:54 - 2:59equivalent to multiplying nyquist
frequency by k. -
2:59 - 3:02So we make it bigger and we move it over
here. -
3:02 - 3:05And when we plot the result in digital
spectrum. -
3:05 - 3:10We map, as per usual, the nyquist
frequency to pi, which corresponds to a -
3:10 - 3:15contraction of the frequency spectrum by
a factor of K. -
3:15 - 3:19If here, we choose k, which is equal to
3. -
3:19 - 3:22We get that what was the highest
frequency of the spectrum, 3 pi over 4, -
3:22 - 3:28now becomes pi over 4.
Can we do this completely in the digital -
3:28 - 3:30domain?
Well the idea is that we need to increase -
3:30 - 3:35the number of samples by a factor of K.
And obviously the sample sequence will -
3:35 - 3:40have to coincide with the original values
when the index of the up sample sequence -
3:40 - 3:45is a multiple of K.
There are several reasons why this is so, -
3:45 - 3:49but probably the most intuitive one is
that if we then discard the extra -
3:49 - 3:54samples, we should be able to obtain the
original sequence again. -
3:54 - 3:58So for lack of a better strategy, we can
start by building a sequence where we put -
3:58 - 4:02the original samples, every K samples and
then we put zeros everywhere else in -
4:02 - 4:07between.
So for example, for k equal to 3, the -
4:07 - 4:10upsample sequence, say this is m equal to
0, will be equal to x0 and m equal to -
4:10 - 4:14zero.
Then we put two zeros, then we put x1, -
4:14 - 4:18then we put two zero, then we put x2, and
then we put two zeroes. -
4:18 - 4:23We can see this in the time domain start
with the same sequence that we showed -
4:23 - 4:26before.
And what we are doing, we're simply -
4:26 - 4:31introducing zeroes between each stamp.
With this choice, the Fourier transform -
4:31 - 4:35of the upsample sequence is rather easy
to compute. -
4:35 - 4:41We just write out the standard DTFT
formula, but now here, we remember that -
4:41 - 4:50xu of m will be equal to zero every time
that m is not a multiple of K. -
4:50 - 4:54And so with this, we can simplify the sum
and use only the known zero terms. -
4:54 - 4:57And we get the sum from n that goes to
minus infinity to plus infinity of x of -
4:57 - 5:03n, which is our original sequence, that
multiplies e to the minis j, omega nK. -
5:03 - 5:09And so, this is simply a scaling of the
frequency axis by a factor of K. -
5:09 - 5:11Graphically, we can plot the digital
spectrum and we know that now, since -
5:11 - 5:15we're multiply the frequency access be a
factor of K, there will be a shrinkage of -
5:15 - 5:20the frequency access like this.
But we should never forget that the -
5:20 - 5:25digital spectrum is 2 pi periodic.
So lets plot this explicitly, for minus 5 -
5:25 - 5:28pi to 5 pi.
If we choose k equal to 3, we're mapping -
5:28 - 5:34the interval from minus 3 pi to 3 pi back
onto the minus pi, pi interval. -
5:34 - 5:37And when we do that, we get something
that is very close to what we obtained -
5:37 - 5:42going through the analog domain.
In the sense that this frequency here is -
5:42 - 5:46again pi over 4.
But, we have extra copies that have crop -
5:46 - 5:51in the main frequency interval.
Now, we know what to do in this cases, we -
5:51 - 5:56apply some drastic low pass filter to get
rid of them. -
5:56 - 6:00We choose an ideal low-pass filter with
cutoff frequency pi over K, because this -
6:00 - 6:06is where the original pi in the frequency
spectrum would be mapped to. -
6:06 - 6:09And this will get rid of the extra
copies, and leave us with a spectrum that -
6:09 - 6:14is identical to what we obtain using an
interpolator followed by a sampler. -
6:14 - 6:17So now let's look at the procedure back
in the time domain. -
6:17 - 6:22So the first step is to insert K minus 1
zeros after each sample, followed by an -
6:22 - 6:27ideal low-pass filter.
And we choose the cutoff frequency for -
6:27 - 6:31the filter to be pi over K as we saw in
the previous graph. -
6:31 - 6:37So now, the resulting sequence is simply
the convolution of the upsampled sequence -
6:37 - 6:41with zeroes.
And the impulse response of the filter -
6:41 - 6:45that, with this cutoff frequency will be
simply sink of n over K. -
6:45 - 6:50And if we work out the convolution sum,
we have this summation here. -
6:50 - 6:56But again, we remember that of these
terms, only 1 every K will be non zero. -
6:56 - 7:00So we replace i with mK, and we sum over
m. -
7:00 - 7:04And we get the sum for m that goes to
minus infinity to plus infinity of x of -
7:04 - 7:11m, sync of n over K minus m.
Which is exactly the same formula we got -
7:11 - 7:16using an interpolator and a sample.
As we've mentioned before, if we have an -
7:16 - 7:19upsampled sequence we can always recover
the original sequence by downsampling, -
7:19 - 7:23which means we keep only one sample out
of k and throw away the rest. -
7:23 - 7:27Now, this is obvious in the case of an
upsample sequence where we just introduce -
7:27 - 7:32K minus 1 zeroes every sample, but it is
also true for a filtered sequence where -
7:32 - 7:37we used an ideal filter.
Or any other filter that fulfills the -
7:37 - 7:42interpolation properties that we have
seen in module 6. -
7:42 - 7:46In other words, we want impulse response
to be equal to 1 for n equal to 0, and to -
7:46 - 7:53be equal to 0, for all multiples of K.
In general, downsampling is a more -
7:53 - 7:56complex operation that upsampling, just
like sampling is more complicated than -
7:56 - 8:00interpolation.
We have the pesky problem of aliasing, -
8:00 - 8:05because we are throwing away information.
We will not develop the properties of the -
8:05 - 8:08downsampling operator in detail because
we will not need it in the following. -
8:08 - 8:12But you're encouraged to read about
multirate signal processing in the book. -
8:12 - 8:16So let's go back to the bandwidth
constraint, as you remember the channel -
8:16 - 8:21imposes that we only use frequencies
between Fmin and Fmax. -
8:21 - 8:25We also want to translate these
requirements into the digital domain. -
8:25 - 8:29So we choose a sampling frequency and Fs
over two, half of our sampling frequency -
8:29 - 8:33will be our nyquist frequency in the
analog domain. -
8:33 - 8:37Now, here's a new trick.
Compute the positive bandwidth. -
8:37 - 8:41Namely, the width of the channel
bandwidth on the positive axis, and call -
8:41 - 8:44that W.
Now, pick the sample frequency so that -
8:44 - 8:47two things happen.
First of all, the sample frequency will -
8:47 - 8:51have to be at least twice the maximum
frequency that we can use in the channel -
8:51 - 8:56to avoid aliasing.
But then, we choose the sample frequency -
8:56 - 8:59as an integer multiple of the positive
bandwidth. -
8:59 - 9:05So we say that Fs is equal to KW for K a
positive integer. -
9:05 - 9:09With this choice when we translate the
analogue specifications into digital -
9:09 - 9:15domain and remember the formula is always
the same, 2 pi F over Fs. -
9:15 - 9:21What happens is that the bandwidth in
visual domain will be 2 pi W divided by -
9:21 - 9:28Fs which is equal to 2 pi over K and so.
We can simply upsample the symbol -
9:28 - 9:33sequence by k so that it's bandwidth will
move from two pi to two pi over k and -
9:33 - 9:40therefore, it's width will fit on the
band allowed for on the channel. -
9:40 - 9:43Now, upsampling does not change the data
rate, because we're creating a sequence -
9:43 - 9:47of symbols.
From the user data bitstream and then we -
9:47 - 9:49are introducing the zeros between
samples. -
9:49 - 9:52So, we are not introducing extra
information. -
9:52 - 9:56So, we produce and transmit W symbols per
second and then we have sampled that by K -
9:56 - 10:01to achieve a sample rate which is equal
to the sample of frequency. -
10:01 - 10:05W, therefore is the fundamental data rate
of the system and sometimes it's called -
10:05 - 10:10the baud rate of the system.
A golden rule for digital communication -
10:10 - 10:14systems is that the baud rate will be
equal to the positive bandwidth allowed -
10:14 - 10:19by the channel.
So here is our revised baud diagram for -
10:19 - 10:23the transmitter.
User data comes in as a bit stream. -
10:23 - 10:28The Scrambler makes sure that we have a
random sequence of symbols. -
10:28 - 10:32The mapper will create, the random
sequence of symbols. -
10:32 - 10:37We upsample the sequence by K.
We filter this with a low pass filter -
10:37 - 10:41with cutoff frequency pi over K, and we
obtain base band signal b of n, which is -
10:41 - 10:48centered in 0, and extends from minus pi
over K to pi over K. -
10:48 - 10:53Now, we need to move this base band
signal, to the pass band of the channel. -
10:53 - 10:56And to do so, we modulated with a cosine
carrier. -
10:56 - 11:00This frequency is the center frequency of
the channel's band. -
11:00 - 11:04This pass band signal s of n can now be
converted to the analog domain, before -
11:04 - 11:09being transmitted over the channel.
Graphically, assume these are the -
11:09 - 11:13specifications dictated by the channel
and translated to the digital domain. -
11:13 - 11:18So here we have the positive bandwidth,
and the negative bandwidth. -
11:18 - 11:22The sequence of symbols generated by the
mapper, is a wide sequence and therefore, -
11:22 - 11:28inspires spectral density Pa of e to the
j omega, is a full band signal. -
11:28 - 11:33Now when we upsample this sequence by a
factor of k, we reduce its spectral -
11:33 - 11:40support, to a baseband signal that goes
from a minus pi over K, 2pi over K. -
11:40 - 11:45And then, we modulate this with a cosine
carrier, to fit it onto the bands that -
11:45 - 11:51are available on the channel.
As a final note, since we are developing -
11:51 - 11:55a completely digital transmission system,
we will probably want to use FIR filters -
11:55 - 12:00in its implementation.
Now, we know that the sync filter that we -
12:00 - 12:04have used in the upsampling operator Will
be a notoriously difficult filter to -
12:04 - 12:08approximate with an FIR.
So what is used in practice is another -
12:08 - 12:13type of filter called a raised cosine.
The frequency response of the raised -
12:13 - 12:16cosine is shown here in this picture, and
you can see that the transition band is -
12:16 - 12:21no longer a discontinuity.
But it is actually a smooth transition -
12:21 - 12:25from past band to star band as a matter
of fact a raised cosine has a parameter -
12:25 - 12:29that you can tune to have an even gentler
transition then. -
12:29 - 12:34Now, the raised cosine remains an ideal
filter because you can see it is constant -
12:34 - 12:39over the pass band, and the stop band.
But it is much easier to approximate than -
12:39 - 12:42the sync.
Another good property of the raise -
12:42 - 12:46cosine, is that it fulfills the
interpolation property that we need to do -
12:46 - 12:51upsampling.
And the final selling pointing, is that -
12:51 - 12:56the impulse response, it can be shown
decays as 1 over n cubed. -
12:56 - 13:01So even short FIR approximations can get
a very good response. -
13:01 - 13:06[BLANK_AUDIO]
- Title:
- 9.2 - Controlling the bandwidth
- Description:
-
From the official description of 9.. videos:
Welcome to Week 8 of Digital Signal Processing.
This week's module is about digital communication systems and this is where it all comes together; from complex-valued signals, to spectral analysis, to stochastic processing, sampling and interpolation: everything plays a role in the design and implementation of a digital modem. Digital communications is an extremely vast and fascinating topic and it is arguably the pinnacle achievement of DSP in the sense that it's the domain where the most extraordinary quantitative progress has been made thanks to the digital paradigm. The fact that MOOCs such as this one are available to such an incredibly vast audience is just one of the tangible results of digital communication systems. It is only fitting, therefore, to devote the last module of our class to this subject.
We will start with the basics of data modulation and demodulation and we will progress to describing how your ADSL box works by way of its direct predecessor, the voiceband modem that spearheaded the Internet revolution by allowing for the first time the delivery of substantial data rates in the home.
![]() |
Claude Almansi edited English subtitles for 9.2 - Controlling the bandwidth | Jun 19, 2013, 4:22 PM |
![]() |
Claude Almansi edited English subtitles for 9.2 - Controlling the bandwidth | Jun 19, 2013, 4:22 PM |
![]() |
Claude Almansi commented on English subtitles for 9.2 - Controlling the bandwidth | Jun 19, 2013, 4:22 PM |
![]() |
Claude Almansi edited English subtitles for 9.2 - Controlling the bandwidth | Jun 19, 2013, 4:21 PM |
![]() |
Claude Almansi added a translation | Jun 19, 2013, 4:21 PM |