9.6 - ADSL
-
0:00 - 0:04Hi and welcome to Module 9.6 of Digital
Signal Processing. -
0:04 - 0:07This is our last module in our Data
Communications section, and with -
0:07 - 0:11everything that we've learned so far we
will be able to look inside an ADSL modem -
0:11 - 0:16and see how that works.
We will start by examining the nature of -
0:16 - 0:18the channel.
That ABSL works on. -
0:18 - 0:22Namely the copper wire links your home to
the nearest central office. -
0:22 - 0:26We will look at the signaling strategy
that is best put on place on such a -
0:26 - 0:28channel.
And finally we will look at a very -
0:28 - 0:31efficient implementation of that
signalling strategy that goes under the -
0:31 - 0:36name of discrete multi-tone modulation.
If we just take an abstract view of the -
0:36 - 0:40telephone network today, we see that we
have a link that goes. -
0:40 - 0:43From the home to the central office, and
in the central office, a fundamental -
0:43 - 0:48split takes place.
The voice communication, when you talk on -
0:48 - 0:53the phone, is sent to the voice network
and then relayed to the, what is called -
0:53 - 1:01the plain old telephone system, POTS.
The data part of your communication when -
1:01 - 1:06you use the ADSL is separated from the
voice content and sent to a DSLAM. -
1:06 - 1:10DSLAM stands for digital subscriber line
access multiplier. -
1:10 - 1:13And it's fundamentally a bank of modems
that manage to handle multiple -
1:13 - 1:18communications at the same time.
And the data here then goes on to the -
1:18 - 1:23internet in digital format.
So, if you want, what we're really -
1:23 - 1:25interested in is how to send the data
from your home to the central office, -
1:25 - 1:31because what happens afterwards is
already entirely in the digital domain. -
1:31 - 1:35But here, we have what is called a last
mile, a piece of copper wire, namely an -
1:35 - 1:38analog channel.
That connects your home to the central -
1:38 - 1:41office.
Now a copper wire has, naturally, a very -
1:41 - 1:47large bandwidth in excess of one 1MHz.
But because of the width of the bandwidth -
1:47 - 1:50and because the wire is not shielded, it
is actually likely to pick up a lot of -
1:50 - 1:54interference and noise.
If we look at how the ADSL channel is -
1:54 - 1:58organized and we're showing here just the
positive frequencies. -
1:58 - 2:03We can see three distinct regions.
The first one is the part reserved to the -
2:03 - 2:08telephone conversation, this is the base
band part of the channel up to about four -
2:08 - 2:12kilohertz.
Then we have a region that is devoted to -
2:12 - 2:16the upstream part of the data
communication, the data that you send up -
2:16 - 2:20to the internet, and then a downstream
part that is much larger that is used for -
2:20 - 2:25data download.
This asymmetry between upstream and -
2:25 - 2:31downstream is actually the reason why the
communication protocol is called ADSL. -
2:31 - 2:34ADSL stands for Asymmetric Digital
Subscriber Line. -
2:34 - 2:37If we now look at all the nasty things
that can happen on the channel when we -
2:37 - 2:42send data.
We can identify three fundamental sources -
2:42 - 2:45of worry.
The first one is an attenuation curve for -
2:45 - 2:49the channel that is completely uneven.
This could be due to imperfection in the -
2:49 - 2:53wire, parasitic capacitance, and so on,
so forth. -
2:53 - 2:57Then we might have very large noise or
interference in certain regions of the -
2:57 - 3:00spectrum.
For instance, you turn on your vacuum -
3:00 - 3:04cleaner, and that raises the noise floor
in the certain frequency band. -
3:04 - 3:09And thirdly we have very localized
interference from radio communications -
3:09 - 3:13now the radio band starts well within the
bandwidth of the ADSL channel for -
3:13 - 3:17instance from 15 to a hundred kilohertz
here you have ship to shore -
3:17 - 3:23communication.
Up to 500 kilohertz, you have airplane -
3:23 - 3:29communication, and over 500 kilohertz you
have the AM radio band. -
3:29 - 3:32So if you live near a radio station, for
instance, tough luck. -
3:32 - 3:35You have a lot of interference in the
upper regions of the ADSL band. -
3:35 - 3:39Since the channel is so wide, and the
type of disturbances is so diverse, it -
3:39 - 3:42would be extraordinarily difficult to try
to equalize and compensate for this -
3:42 - 3:47problems on a global scale.
So the ideal, instead, is to divide the -
3:47 - 3:53channel into independent sub channels.
And create each sub channel separately. -
3:53 - 3:58So here for instance, this channel
contains, highly localized, radio -
3:58 - 4:02frequency interference would not probably
be used because it would be to difficult -
4:02 - 4:07to compensate for that.
Here on these channels the noise level is -
4:07 - 4:10different and so for instance we can use
different signalling strategy according -
4:10 - 4:15to the local signal to noise ratio.
And similarly here for channels that have -
4:15 - 4:18a very large attenuation, probably
wouldn't be worth while to try and send -
4:18 - 4:22data over these thins.
But on the other hand that we will try to -
4:22 - 4:26exploit the cleanest sub channels to send
maximum amount of data. -
4:26 - 4:29Now to formalize the sub channel
structure. -
4:29 - 4:32Suppose that we want to allocate N
subchannels over the total positive -
4:32 - 4:35bandwidth.
We want the subchannels to have equal -
4:35 - 4:40bandwidth, so their bandwidth will be F
max over N, where F max is the maximum -
4:40 - 4:45frequency allowed for by the channel.
And we equally space the subchannels, by -
4:45 - 4:53sensoring them over k F max over N, with
k that goes from 0 to big N minus 1. -
4:53 - 4:58This means that the first channel K equal
to 0, will be bass-band. -
4:58 - 5:03And then the subsequent channels will be
bass-band, with center frequencies given -
5:03 - 5:07by this formula.
Now we want to translate this design, to -
5:07 - 5:11the digital domain, so we pick a sampling
frequency that is at least twice the -
5:11 - 5:17maximum frequency in the channel.
But careful now, because Fmax is quite -
5:17 - 5:20high.
The center frequency for each sub channel -
5:20 - 5:25will be omega K equal to 2 pi kFmax over
N divided by the sampling frequency. -
5:25 - 5:30And if we sample at the[UNKNOWN]
frequency, so Fs is equal twice Fmax, -
5:30 - 5:36then omegak becomes simple 2 pi over 2N
times k. -
5:36 - 5:39We will not simplify the 2's in the
fraction, because they will be useful -
5:39 - 5:43later.
The bandwidth of each subchannel, is also -
5:43 - 5:472 pi over 2N.
And so, if we want to send symbols over -
5:47 - 5:51any of these subchannels, remember the
modulation scheme that we've seen in the -
5:51 - 5:55previous modules, then we will have to
use an up-sampling factor, k, that is at -
5:55 - 6:01least 2N.
If we plot the result in visual domain. -
6:01 - 6:05Let's suppose that we just want to have
three sub-channels, we have something -
6:05 - 6:10that looks like this.
The center frequencies will be multiples -
6:10 - 6:15of 2 pi over 6, so we'll have 0.
2 pi over 6 and 4 pi over 6 and we will -
6:15 - 6:20center channels over these frequencies
and the band width of each channel will -
6:20 - 6:24be 2 pi over 6.
So the 1st channel is the base band -
6:24 - 6:28channel and then we have two pass band
channels with of course their negative -
6:28 - 6:33frequency counterpart.
The next step in ADSL communication is to -
6:33 - 6:37put a QAM modem on each subchannel
independently and we will decide on the -
6:37 - 6:42data rate for each modem.
Based on the signal to noise ratio of -
6:42 - 6:46each sub channel.
So if the noise floor is low, then we -
6:46 - 6:51will have a large constellation for that
sub channel and vice versa. -
6:51 - 6:56On channels that are unusable because of
noise or interference, we will just send -
6:56 - 7:00zeroes and we will not care about that.
The structure of the SQL scheme is of -
7:00 - 7:04course going to be communicated From the
transmitter to the receiver so that the -
7:04 - 7:09receiver knows where to expect data.
This is part of the handshaking procedure -
7:09 - 7:12between transmitter and receiver.
Now let's look more in detail at the -
7:12 - 7:15structure of the modem that we use on
each sub-channel. -
7:15 - 7:19This is a classic modulation scheme where
we start with a sequence of symbols as -
7:19 - 7:24produced by the mapper.
Then we have an up-sampling by a factor -
7:24 - 7:27of 2 N.
So inserting two n minus one zero's every -
7:27 - 7:32other sample and then filtering the
sequence with a low pass, usually a -
7:32 - 7:38raised cosine, with a cutoff frequency
two pi over two n, in this case. -
7:38 - 7:44This produces the complex base band
signal bk of n and this. -
7:44 - 7:47Complex baseband signal gets modulated
with a complex exponential whose -
7:47 - 7:51frequency is indexed by the channel
number. -
7:51 - 7:53And this is the center frequency of each
channel. -
7:53 - 8:00Omega ck is equal to 2pi over 2n times k.
And here we have, finally, the pass band -
8:00 - 8:04signal.
That fits the prescribed bandwidth of the -
8:04 - 8:08kth channel.
And normally, if we just had one channel, -
8:08 - 8:14we would put here a block that computes
the real part and then our d2a converter. -
8:14 - 8:19But here we have several modems in
parallel. -
8:19 - 8:21And so we have a structure that looks
like this. -
8:21 - 8:25Each channel will have two things that
vary with respect to the others: the -
8:25 - 8:29frequency of the modulation and of
course, the series of symbols produced by -
8:29 - 8:34the mapper.
We sum all the complex base band signals -
8:34 - 8:38together before taking the real part, and
then send in the signal To the D to A -
8:38 - 8:42converter.
Now this picture should ring a bell. -
8:42 - 8:46An indeed we have seen something that was
very very close to this back in module -
8:46 - 8:514.3.
So here's the picture to jog your memory -
8:51 - 8:56and remember that DFT reconstruction
formula could be interpreted as. -
8:56 - 9:00A bank of n oscillators.
Each oscillator would operate at a -
9:00 - 9:08frequency that was two pi over n times k.
And we would scale each oscillator with -
9:08 - 9:13an amplitude, a of k, and with a phase
offset, five k. -
9:13 - 9:17We would run this machine for big n
samples. -
9:17 - 9:21And we will get our signal out.
Now, the difference between this scheme -
9:21 - 9:25and what we just saw is fundamentally
that, in this scheme, a of k and phi of k -
9:25 - 9:31are kept constant for the whole duration
of the generation process. -
9:31 - 9:37So while n goes from zero to big n minus
one, a of k and phi of k stay the same. -
9:37 - 9:41Whereas in the modem scheme that we seen
before. -
9:41 - 9:46The symbol sequence which is a complex
symbol sequence so embeds both magnitude -
9:46 - 9:50and phase will change at each new value
of n. -
9:50 - 9:56So is there a way to map the modem
structure to the inverse DFT structure? -
9:56 - 10:00We can do that if we manage to find a way
to keep the symbols constant over the -
10:00 - 10:06whole duration.
So we will show how to do that and we -
10:06 - 10:10will show that if we manage to do that,
then ADSL transmission can be efficiently -
10:10 - 10:16implemented with simple an inverse FFT.
The name of this technique is discrete -
10:16 - 10:21multitone modulation.
So the great ADSL trick is very simple. -
10:21 - 10:27Instead of using a[INAUDIBLE] sign in the
up sampler, let's use a bad filter. -
10:27 - 10:34Simply the indicator function for the
interval 0 to 2n-1 and see what happens. -
10:34 - 10:37So the impulse response of the upsampling
filter is now this one. -
10:37 - 10:41And please notice that this is just an
un-normalized moving average filter and -
10:41 - 10:48the frequency response of course is this
one, we have seen it many times before. -
10:48 - 10:53With the first 0 here in pi over N.
If we compare the frequency response of -
10:53 - 10:57the moving average if you want, or the
indicator function with that of the -
10:57 - 11:05filter that we should be using, namely a
low pass filter with cut of pi over 2N. -
11:05 - 11:08Then we see that the performance of the
filter is not very good. -
11:08 - 11:12Nonetheless, the thing will work,
especially thanks to some clever little -
11:12 - 11:15tricks in the way we choose the
transmission symbols. -
11:15 - 11:18But we will not have time to go into
that. -
11:18 - 11:21So let's go back to the subchannel modem.
The thing to remark here is that the -
11:21 - 11:25symbols from the mapper.
Come in at a rate of B symbols per -
11:25 - 11:29second.
And because of the upsampling, samples -
11:29 - 11:34out of the modulator, come out at a rate
of 2NB samples per second. -
11:34 - 11:37So this part works much faster than this
part here. -
11:37 - 11:42Now the carrier, is periodic with period
2N. -
11:42 - 11:49And so, each symbol Will influence a full
period of the carrier. -
11:49 - 11:53If we use a standard low pass filter
here, for every value of n here, so for -
11:53 - 11:57every value of the carrier there will be
a different value in this Base band -
11:57 - 12:05sequence that comes out of the sample.
On the other hand if we use the indicator -
12:05 - 12:10function as the input response the net
result is that the values of bk of n will -
12:10 - 12:17be constant over chunks of 2N samples.
In that case we can simplify this whole -
12:17 - 12:22scheme like so where now the only clock
in the system is the output clock N. -
12:22 - 12:28So now the oscillator in the modulator.
Runs freely, at a frequency which is a -
12:28 - 12:35multiple of 2 pi over 2N.
This frequency is periodic, with period -
12:35 - 12:402N, so.
And for each chunk of 2N samples, we go -
12:40 - 12:45look for the symbol.
The corresponds to this interval so if -
12:45 - 12:50say n is equal to 0 here, n is equal to
2n here, n is equal to 4n here and n is -
12:50 - 12:56equal to 6n here for this interval we
will go look for a of zero and multiply -
12:56 - 13:04this portion of the carrier by this
value. -
13:04 - 13:10Able to look for a one, here a two, and
so on and so on. -
13:10 - 13:14So with this simplification, the whole
transmitter can be sketched like so. -
13:14 - 13:19We have the symbols from different sub
channels that get multiplied by the -
13:19 - 13:25carrier and kept constant over intervals
of two and outward samples. -
13:25 - 13:29The whole thing gets summed together.
We get the aggregate bandpass signal, we -
13:29 - 13:34take the real part, and we're ready for
the D2A converter. -
13:34 - 13:38We can now write explicitly, the formula
for the aggregate bandpass signal c n. -
13:38 - 13:43And this is the sum over all subchannels,
of the symbol For that subchannel for -
13:43 - 13:49that interval, multiplied by e to the j
two pi over two n, nk. -
13:49 - 13:53Now because of the way the index to the
ak sequence is computed, these symbols -
13:53 - 13:58will stay constant over intervals for the
output index. -
13:58 - 14:03That are 2n long.
So for instance, for small n that goes -
14:03 - 14:09from 0, to 2n minus 1, these values will
stay constant. -
14:09 - 14:14And again, for values of the output index
that g from 2n. -
14:14 - 14:172, 4 and minus 1.
So we could compute two big N values for -
14:17 - 14:22the sequence CN in one fell swoop if we
exploit the fact that this guy looks -
14:22 - 14:29remarkably like an inverse DFT.
As a matter of fact, by looking at the -
14:29 - 14:33argument here, we can say that this is
almost an inverse DFT over two big end -
14:33 - 14:38points.
The two things that are missing are the -
14:38 - 14:43normalizing factor in front, 1 over 2N
And the terms in the sum for the index k -
14:43 - 14:49that goes from n to 2n minus 1.
But that's not a problem. -
14:49 - 14:53We can supplement this elements.
And so we can compute a chunk of two big -
14:53 - 14:57n output samples in one go as an inverse
dft over two n points of a vector that is -
14:57 - 15:04given by n channel symbols.
And has another big n zeros appended to -
15:04 - 15:08the end of it.
The index for the subchannel symbols is -
15:08 - 15:13given by the value of the output index
divided by 2 n and we take the integer -
15:13 - 15:16part.
But we can do even better because in the -
15:16 - 15:20end, remember, we're interested in the
real part of the vector c of n. -
15:20 - 15:24And we can write that real part as c of n
plus the conjugate of c of n divided by -
15:24 - 15:282.
Now it is easy to prove, and it's left as -
15:28 - 15:33an exercise, that the conjugate of the
inverse DFT of a vector, is equal to the -
15:33 - 15:39inverse DFT of the conjugate of the time
reversed vector. -
15:39 - 15:43And, when we time reverse a finite length
vector It's useful to think of the -
15:43 - 15:48periodic extension.
With this result and knowing that c of n -
15:48 - 15:55is equal to 2n times the inverse DFT of a
vector that is zeros in its latter part. -
15:55 - 16:01We can sum cn with it's conjugate to
obtain that the real part of cn is equal -
16:01 - 16:06to N times the inverse DFT of a vector
that is given by twice the symbol for the -
16:06 - 16:13base band sub channel.
The reason why we can write this is -
16:13 - 16:18because the baseband signal will always
have real value symbols, because it's a -
16:18 - 16:22baseband, followed by the complex symbols
for the n minus one remaining -
16:22 - 16:28subchannels, followed by The conjugate of
the symbols, for the N minus 1 remaining -
16:28 - 16:36subchannels, but going from channel N
minus 1, to channel 1. -
16:36 - 16:41Schematically, we can draw up the ADSL
transmitter, as one big inverse FFT, and -
16:41 - 16:48the inputs to this FFT are twice the
baseband symbol. -
16:48 - 16:52Followed by the symbols for the
subchannels from one to n minus one, and -
16:52 - 16:56then we take these values, we conjugate
them, and we flip their order, and we put -
16:56 - 17:04those in the remaining inputs of the FFT.
Now we run the inverse FFT and we get two -
17:04 - 17:09n output samples in one go.
We use a parrel to serial device to -
17:09 - 17:13output the samples one at a time and here
we have our d to i converter to put them -
17:13 - 17:18on the channel.
Once the n samples have been put out we -
17:18 - 17:22go back, we fetch another set of n
symbols from the n mamppers of the sub -
17:22 - 17:27channels.
Then we repeat the process. -
17:27 - 17:32An actual ADSL modem uses a maximum
frequency for the channel of 1004 -
17:32 - 17:39kilohertz divides this channel in to 256
sub-channels. -
17:39 - 17:44Each QAM modem for the sub-channel.
Can independently choose between zero and -
17:44 - 17:49fifteen bits per symbol.
Now the first seven channels are left off -
17:49 - 17:52because that is the band used by the
voice communication over a telephone -
17:52 - 17:56channel.
Channels seven through 31 are used for -
17:56 - 17:59data upstream.
And the rest is left for data downstream -
17:59 - 18:05for a maximum theoretical throughput of
14.9 megabits per second. -
18:05 - 18:08This would happen if all the downstream
sub channels could use their maximum -
18:08 - 18:12theoretical rate Which is a rare
occurrence. -
18:12 - 18:18And these are the specs of the on-line
modem that you most probably used to -
18:18 - 18:22watch this on-line class.
- Title:
- 9.6 - ADSL
- 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.6 - ADSL | ||
Claude Almansi edited English subtitles for 9.6 - ADSL | ||
Claude Almansi commented on English subtitles for 9.6 - ADSL | ||
Claude Almansi edited English subtitles for 9.6 - ADSL | ||
Claude Almansi added a translation |