Professional Documents
Culture Documents
DSL
PSTN
Original PSTN
UTP
UTP
Invention of tube amplifier enabled long distance Between central offices used FDM spaced at 4 kHz
(each cable carrying 1 group = 12 channels)
UTP
modem
modem
To send data, it is converted into 4 kHz audio (modem) Data rate is determined by Shannon's capacity theorem
there is a maximum data rate (bps) called the "capacity" that can be reliably sent through the communications channel the capacity depends on the BW and SNR In Shannon's days it worked out to about 25 kbps today it is about 35 kbps (V.34 modem - 33.6 kbps)
Stein Intro DSL 5
Digital PSTN
CO SWITCH
last mile
TDM
analog
last mile Subscriber Line
PSTN
digital
TDM
CO SWITCH
Digital PSTN
Sample 4 kHz audio at 8 kHz (Nyquist) Need 8 bits per sample = 64 kbps
Multiplexing 64 kbps channels leads to higher and higher rates
Can switch (cross connect) large number of channels Noise and distortion could be eliminated due to Shannon's theorems 1. Separation theorem 2. Source coding theorem 3. Channel capacity theorem
Stein Intro DSL 7
PSTN
CO SWITCH
modem
network/ ISP
But data rates do not increase ! Simulate analog channel so can achieve Shannon rate < native 64 kbps rate
Internet
router
UTP
What is UTP?
The achievable data rate is limited by physics of the subscriber line The subscriber line is an Unshielded Twisted Pair of copper wires
UTP characteristics
Resistance per unit distance Capacitance per unit distance Inductance per unit distance Cross-admittance (assume pure reactive) per unit distance
X
UTP resistance
Influenced by gauge, copper purity, temperature Resistance is per unit distance
UTP capacitance
Capacitance depends on interconductor insulation About 15.7 nF per kft Only weakly dependent on gauge Independent of frequency to high degree
UTP inductance
Higher for higher gauge 24 gauge 0.188 mH per kft 26 gauge 0.205 mH per kft Constant below about 10 kHz
UTP admittance
Insulation good so no resistive admittance Admittance due to capacitive and inductive coupling Self-admittance can usually be neglected
Propagation loss
Voltage decreases as travel along cable Each new section of cable reduces voltage by a factor 1v 1/2 v 1/4 v
Va / Vb = e -g x = H(f,x)
where x is distance between points a and b
24 AWG 26 AWG
Why twisted?
from Alexander Graham Bells 1881 patent
n
a V = (a+n) - (b+n)
Cross-talk due to capacitive and/or inductive mismatch |I2| = Q f V1 where Q ~ (Cbc-Cbd) or Q~(Lbc-Lad)
Loading coils
Long loops have loading coils to prevent voice distortion What does a loading coil do?
Bridge taps
There may also be bridged taps Parallel run of unterminated UTP
unused piece left over from old installation placed for subscriber flexibility
Other problems
Splices Subscriber lines are seldom single runs of cable
In the US, UTP usually comes in 500 ft lengths So splices must be made every 500 ft Average line has >20 splices Splices are pressure connections that add to attenuation Over time they corrode and may spark, become intermittent, etc.
Gauge changes
US binder groups typically start off at 26 AWG Change to 24 AWG after 10 kft In rural areas they may change to 19 AWG after that
Binder groups
UTP are not placed under/over ground individually In central offices they are in cable bundles with 100s of other UTP In the outside plant they are in binder groups
We will see that these pairs interfere with each other a phenomenon called cross-talk (XTALK)
CSA guidelines
1981 AT&T Carrier Service Area guidelines advise as follows for new deployments No loading coils Maximum of 9 kft of 26 gauge (including bridged taps) Maximum of 12 kft of 24 gauge (including bridged taps) Maximum of 2.5 kft bridged taps Maximum single bridged tap 2 kft Suggested: no more than 2 gauges
Present US PSTN
UTP only in the last mile (subscriber line)
70% unloaded < 18kft 15% loaded > 18kft 15% optical or digital to remote terminal + DA (distribution area)
PIC, 19, 22, 24, 26 gauge Built for 2W 4 KHz audio bandwidth
severe attenuation cross-talk in binder groups (25 - 1000 UTP) lack of intermanufacturer consistency
Resistance design > 18Kft loaded line - no DSL possible Resistance design unloaded <18 Kft <1300 W - ADSL CSA reach - HDSL DA (distribution area) 3-5 kft - VDSL
xDSL
xDSL
Need higher speed digital connection to subscribers
Analog modem
network/ ISP
CO SWITCH
PSTN
POTS-C POTS-R
POTS SPLITTER
UTP
POTS SPLITTER
PDN
router
WAN
xTU-R
POTS
DC 4 kHz
xDSL
frequency
Stein Intro DSL 31
Splitter
Splitter separates POTS from DSL signals
Must guarantee lifeline POTS services! Hence usually passive filter Must block impulse noise (e.g. ring) from phone into DSL
ADSLforum/T1E1.4 specified that splitter be separate from modem No interface specification (but can buy splitter and modem from different vendors) Splitter requires installation Costly technician visit is the major impediment to deployment ADSL has splitterless versions to facilitate residential deployment
C = BW log2 ( SNR + 1 )
C(bits/Hz) SNR(dB) / 3
So by using more BW we can get higher transfer rates! But what is the BW of UTP?
Maximum reach
To use Shannon's capacity theorem we need to know how much noise there is One type of noise that is always present
(above absolute zero temperature) is thermal noise
Maximum reach is the length of cable for reliable communications ASSUMING ONLY THERMAL NOISE
is a good approximation We can compute the maximum reach from known UTP attenuation
RF ingress
Near End Cross Talk (NEXT) Far End Cross Talk (FEXT)
Sources of Interference
XMTR RCVR
NEXT
RCVR XMTR
FEXT
THERMAL NOISE
RCVR XMTR
RF INGRESS
XMTR RCVR
Ungers discovery
What happens with multiple sources of cross-talk? Unger (Bellcore) : 1% worst case NEXT
(T1D1.3 185-244)
NEXT
Only close points are important
FEXT
Entire parallel distance important
(80% US loops)
300 m (SONET
Time division inverse mux Dynamic Spectral Management (Cioffi) Ethernet link aggregation
Duplexing
Up to now we assumed that only one side transmits Bidirectional (full duplex) transmission requires some form of duplexing
For asymmetric applications we usually speak of DS downstream and US upstream Four methods are in common use:
Half duplex mode (4W mode) (as in E1/T1) Echo cancellation mode (ECH) Time Domain Duplexing (requires syncing all binder contents) Frequency Domain Duplexing
POTS
DC 4 kHz
Stein Intro DSL 44
US
DS
frequency
data streams
physical line
data stream
physical lines
Duplexing = 2 data streams in 2 directions on 1 physical line Multiplexing = N data streams in 1 direction on 1 physical line Inverse multiplexing = 1 data stream in 1 direction on N physical lines
duplexing
4W to 2W HYBRID
demodulator
DSL Flavors
DSL is often called xDSL since there are many varieties (different x) e.g. ADSL, HDSL, SHDSL, VDSL, IDSL, etc. There were once many unconnected types but now we divide them into three main families The differentiation is by means of the application scenario
HDSL (symmetric, mainly business, data + telephony) ADSL (asymmetric, mainly residential, Internet access) VDSL (very high rate, but short distance)
PSD(dBm/Hz)
F(MHz)
G.993 VDSL (G.993.1 VDSL G.994 HANDSHAKE G.995 GENERAL (INFO) G.996 TEST G.997 PLOAM G.998 bonding (G.998.1 ATM
G.993.2 VDSL2)
Transport protocol (ATM, STM, PTM) Transport Protocol Specific - Transmission Convergence (TPS-TC)
HDSL
2 Mbps (4-6W)
3.6-4.5 km
3 km 3 km 3 km
Not DSL
2 groups in digital TDM AMI line code Beyond CSA range should use DLC (direct loop carrier) Repeaters every 6 Kft Made possible by Bell Labs invention of the transistor
Bring 1.544 Mbps to customer private lines Use two UTP in half duplex mode Requires expensive line conditioning One T1 per binder group
T1 line conditioning
In order for a subscribers line to carry T1
Single gauge CSA range No loading coils No bridged taps Repeaters every 6 Kft (starting 3 Kft) One T1 per binder group Labor intensive (expensive) process Need something better (DSL)
ITU-T G.961 describes IDSL There are 4 appendices: Appendix I - 4B3T (AKA MMS43) Appendix II - 2B1Q Appendix III - AMI Time Compression Multiplex (TDD) Appendix IV - SU32 (3B2T + ECH)
Stein Intro DSL 56
HDSL2
With the success of HDSL, customers requested HDSL service that would : require only a single UTP HDSL attain at least full CSA reach be spectrally compatible w/ HDSL, T1, ADSL, etc.
SHDSL
Uses Trellis Coded 16-PAM with various shaping options Does not co-exist with POTS service on UTP Can uses regenerators for extended reach single-pair operation 192 kbps to 2.312 Mbps in steps of 8 kbps 2.3 Mbps should be achieved for reaches up to 3.5 km dual-pair operation (4-wire mode) 384 kbps to 4.608 Mbps in steps of 16 kbps line rate is the same on both pairs Latest standard (G.shdsl.bis - G.991.2 2003 version) bonding up to 4 pairs rates up to 5696 kbps optional 32-PAM (instead of 16-PAM) dynamic rate repartitioning
Stein Intro DSL 59
ADSL
Asymmetric - high rate DS, lower rate US Originally designed for video on demand
Why asymmetry?
NEXT is the worst interferer stops HDSL from achieving higher rates
ADSL Duplexing
US uses low DMT tones (e.g. 8 - 32) If over POTS / ISDN lowest frequencies reserved
P O T S
US
DS
32
256
* 4.3125 kHz
Stein Intro DSL 62
US
DS
F(MHz)
ADSL - continued
ADSL system design criterion BER 10-12
(1 error every 2 days at 6 Mbps)
Raw modem can not attain this low a BER! For video on demand: RS and interleaving can deliver (error bursts of 500 msec) but add 17 msec delay For Internet: TCP can deliver high raw delay problematic So the G.992.1 standard defines TWO framers fast (noninterleaved ) and slow (interleaved) buffers
ADSL standard
ITU (G.dmt) G.992.1, ANSI T1.413i2 standard
DS - 6.144 Mbps (minimum) US- 640 kbps First ADSL data implementations were CAP (QAM)
DMT allows approaching water pouring capacity DMT is robust DMT requires more complex processing DMT may require more power
Splitterless ADSL
Splitterless ADSL, UAWG, G.lite, G.992.2, G.992.4
Splitterless operation fast retrain power management to eliminate clipping initialization includes probing telephone sets for power level microfilters modems usually store environment parameters G.992.2 - cost reduction features
G.992.1 compatible DMT compatible using only 128 tones 512 Kbps US / 1.5 Mbps DS (still >> V.34 or V.90 modems) features removed for simplicity simpler implementation (only 500 MIPS < 2000 MIPS for full rate)
Stein Intro DSL 67
ADSL2
ADSL uses BW from 20 kHz to 1.1 MHz ADSL2 Increases rate/reach of ADSL by using 20 kHz - 4.4 MHz Also numerous efficiency improvements better modulation reduced framing overhead more flexible format (see next slide) stronger FEC reduced power mode misc. algorithmic improvements for given rate, reach improved by 200 m 3 user data types - STM, ATM and packet (Ethernet) ADSL2+ dramatically increased rate at short distances
Bit Swapping (dynamic change of DMT bin bit/power allocations) Seamless Rate Adaptation (dynamic change of overall rate)
Frame bearers
Multiple (up to 4) frame bearers (data flows) Multiple latencies for different frame bearers (FEC/interleave lengths) Dynamic rate repartitioning (between different latencies)
Annex J All digital ADSL with ISDN in binder Annex K Transmission Protocol Specific functions (STM, ATM, PTM) Annex L Reach Extended ADSL2 over POTS Annex M Extended US BW over POTS
VDSL
Optical network expanding (getting closer to subscriber)
Optical Network Unit ONU at curb or basement cabinet FTTC (curb), FTTB (building) These scenarios usually dictates low power
VDSL2
DMT line code (same 4.3125 kHz spacing as ADSL) VDSL uses BW of 1.1 MHz - 12 MHz (spectrally compatible with ADSL) VDSL2 can use 20 kHz - 30 MHz
new band-plans (up to 12 MHz, and 12-30 MHz) increased DS transmit power various algorithmic improvements borrowed improvements from ADSL2 3 user data types - STM, ATM and PTM
Europe - six band plans (2 A and 4 B) A (998) US0 from 25 DS1 from 138 or 276 US1 3750-5200 DS2 5200-8500 B (997) US0 from 25 or 120 or nonexistent DS1 from 138 or 276 US1 3000-5100 DS2 5100-7050
HPNA (G.PNT)
Studies show that about 50% of US homes have a PC 30% have Internet access, 20% have more than one PC!
Computers, peripherals interconnect (and connect to Internet?) using internal phone wiring (user side of splitter) Does not interrupt lifeline POTS services Does not require costly or messy LAN wiring of the home Presently 1 Mbps, soon 10 Mbps, eventually 100 Mbps!
Shannon Theory
Analog signals become contaminated by noise Amplification doesn't help - noise is amplified too Bits can not be degraded in a minor way - either 0 or 1 When bit flip - Error Correcting Codes can fix
Rigorous proof:
Source - channel separation theorem Source encoding theorems Channel capacity theorems
Stein Intro DSL 79
Separate source coding from channel coding No efficiency loss source encoder channel encoder
channel analog signal
info
bits
channel decoder
bits
source decoder
info
Shocking news to analog engineers Previously thought: only increasing power decreases error rate
If both limitations:
C = BW log2 ( SNR + 1 )
S log2 (SNR(f) + 1) BW
Only SNR(f) is important !
log2 (SNR(f) + 1) df
N(f) / A(f)
Line Codes
DC isnt exactly zero Still can have a long run of +1 OR -1 that will decay Even without decay, long runs ruin timing recovery (see below)
No long +1 runs, so DC decay not important Still there is DC Half width pulses means twice bandwidth!
NRZ - Bandwidth
The PSD (Power Spectral Density) of NRZ is a sinc ( sinc(x) = sin(x) ) x
The first zero is at the bit rate (uncertainty principle) So channel bandwidth limits bit rate DC depends on levels (may be zero or spike)
Stein Intro DSL 91
NRZ
-1
1
+3 +1
4-PAM
(2B1Q)
-1
-3
GRAY CODE
8-PAM
111
001
010
011
010
000
110
Each level is called a symbol or baud Bit rate = number of bits per symbol * baud rate
100 => +7 101 => +5 111 => +3 110 => +1 010 => -1 011 => -3 001 => -5 000 => -7
PAM - Bandwidth
BW (actually the entire PSD) doesnt change with n !
BAUD RATE
So we should use many bits per symbol But then noise becomes more important
(Shannon strikes again!)
OOK - Bandwidth
PSD of -1/+1 NRZ is the same, except there is no DC component If we use OOK the sinc is mixed up to the carrier frequency
ASK
What about Amplitude Shift Keying - ASK ?
2 bits / symbol
11
10
01
01
00
11
01
Generalizes OOK like multilevel PAM did to NRZ Not widely used since hard to differentiate between levels
Is FSK better?
FSK
FSK is based on orthogonality of sinusoids of different frequencies
Make decision only if there is energy at f1 but not at f2 Uncertainty theorem says this requires a long time So FSK is robust but slow (Shannon strikes again!)
f1
f2
Stein Intro DSL 97
PSK
Even better to use sinusoids with different phases!
BPSK
1 bit / symbol
or QPSK
2 bits / symbol Bell 212 2W 1200 bps V.22
11
10
01
01
00
11
01
QAM
Finally, best to use different phases and amplitudes
11
10
01
01
00
11
01
x(t) = A(t) cos ( 2 p fc t + f(t) ) A(t) is the instantaneous amplitude f(t) is the instantaneous phase
Actually all bandwidth limited signals can be written this way Analog AM, FM and PM FSK changes the derivative of f(t)
The way we defined them A(t) and f(t) are not unique
x(t) = A(t) cos ( 2 p fc t + f(t) ) y(t) = H x(t) = A(t) sin ( 2 p fc t + f(t) ) A(t) = x2(t) + y2(t)
x(t)
Star watching
For QAM we can draw a diagram with
QAM constellations
16 QAM
V.22bis 2400 bps
2W
first non-Bell modem (Carterphone decision)
1664 points
Multicarrier Modulation
NRZ, RZ, etc. have NO carrier PSK, QAM have ONE carrier MCM has MANY carriers Each is essentially an independent, standalone modem Achieve maximum capacity by direct water pouring! PROBLEM Basic FDM requires has Inter Channel Interference To reduce effect require guard frequencies Squanders good bandwidth
OFDM
Sinc function has zero at center of nearby modem This implies that the signals are orthogonal - no ICI No guard frequencies are needed Dont need N independent modems efficient digital implementation by FFT algorithm
DMT
Measure SNR(f) during initialization Water pour QAM signals according to SNR(f) Each individual signal narrowband --- no ISI Symbol duration > channel impulse response time --- no ISI No equalizer required
DMT - continued
frequency
time
Stein Intro DSL 108
proprietary HDSL/ADSL/VDSL
DMT
Bit scrambling
We can get rid of long runs that cause DC at the bit level
out in D D
...
...
Bits randomized for better spectral properties Self synchronizing Original bits can be recovered by descrambler
in D D
...
...
out
Timing
Proper timing
Improper timing
The amplitude is NOT really constant (energy cut-off) Contains a component at baud rate Sharp filter and appropriate delay
Carrier recovery
Need carrier recovery for PSK / QAM signals
DPSK
ISI - BW reduction
QAM ISI
The symbols overlap and interfere Constellations become clouds Only previous symbol
Moderate ISI
Severe ISI
Stein Intro DSL 117
Equalizers
ISI is caused by the channel acting like a low-pass filter
channel filter
equalizer
demodulator
This is called a linear equalizer Can use compromise (ideal low-pass) equalizer plus an adaptive equalizer Usually assume the channel is all-pole so the equalizer is all-zero (FIR) How do we find the equalizer coefficients?
Training equalizers
Basically a system identification problem
Initialize during training using known data (can be reduced to solving linear algebraic equations) Update using decision directed technique (e.g. LMS algorithm) once decisions are reliable Sometimes can also use blind equalization e
e = e (ai)
Equalizers - continued
Noise enhancement
noise
modulator
channel filter
equalizer
demodulator
This is a basic consequence of using a linear filter But we want to get as close to the band edges as possible There are two different ways to fix this problem!
Equalizers - DFE
ISI is previous symbols interfering with subsequent ones
Once we know a symbol (decision directed) we can use it to directly subtract the ISI!
linear equalizer
slicer
feedback filter
out
Slicer is non-linear and so breaks the noise enchancement problem But, there is an error propogation problem!
channel filter
demodulator
Needs nonlinear modulo operation Needs results of channel probe or DFE coefficients to be forwarded
N dmin
The average squared distance from the center E = <r2> The maximum distance from the center R
Usually
Maximum E and R are given bits/symbol = log2 N PAR = R/r Perr is determined mainly by dmin
Received point classified to nearest constellation point Each point has associated bits (well thats a lie, but hold on) Sum of errors is the PDSNR
Multidimensional constellations
PAM and PSK constellations are 1D QAM constellations are 2D (use two parameters of signal) By combining A and f of two time instants ... we can create a 4D constellation From N times we can make 2N dimensional constellation!
2D 4 nearest neighbors
ND 2N nearest neighbors!
Trellis coding
Modems still make mistakes Traditionally these were corrected by ECCs (e.g. Reed Solomon) This separation is not optimal Proof: incorrect hard decisions - not obvious where to correct soft decisions - correct symbols with largest error
How can we efficiently integrate demodulation and ECC? This was a hard problem since very few people were expert in ECCs and signal processing
Subset 0 Subset 1 00 01 10 11
If we knew which subset was transmitted, the decision would be easy So we transmit the subset and the point in the subset But we cant afford to make a mistake as to the subset So we protect the subset identifier bits with an ECC
OPTIS - continued
OPTIS - continued
DMT processing
bit handling ((de)framer, CRC, (de)scrambler, RS, (de)interleaver) tone handling (bit load, gain scaling, tone ordering, bit swapping) QAM modem (symbolizer, slicer) signal handling (cyclic prefix insertion/deletion, (I)FFT,
interpolation, PAR reduction)