< Return to Video

9.6 - ADSL

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

more » « less
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

English subtitles

Incomplete

Revisions