Sampling and Quantization
- Digital Telephony:
- Sampling and Quantization
- synchronous networks
- telephone standards
- SONET
- ISDN, DSL, cable
Sampling and Quantization
- telephone carries voice faithfully up to 3000 Hz, then
drops quickly
- assuming we don't need above 4,000 Hz, how do we encode
that data digitally?
- Nyquist theorem: if you signal is band-limited to x Hz,
sampling 2x times per second will allow you to exactly reconstruct
the signal
- the samples are still analog: we divide the possible voltages
linearly (logarithmically?) into 256 intervals, and encode to the
nearest interval (quantization)
- for the telephone, every second, 8,000 samples of 8 bits, or 64,000 b/s,
or 8,000 samples of 7 bits, 56,000 b/s
Synchronous Networks
- a synchronous network such as the telephone network has
fundamental differences from an asynchronous data network:
- any substantial delay or queueing of data is not an option, so
the network must be designed not to introduce any
- TDM still works: each call has a slot and all calls are served
in round-robin order
- a multiplexer may have to delay each payload to be
synchronized with the envelopes it sends
- everything in the digital telephone network is designed to
carry data 8,000 times per second, or one message every 125 us
- faster lines can carry more than one byte in that time (there
are no lines slower than 56Kb/s or 64Kb/s)
- so a T-1 circuit (1544 Kb/s) carries 193 (1544 / 8 = 193.125)
bits 8,000 times per second, or about 24 bytes (24 telephone circuits)
Telephone Digital Standards
- a Data Service Unit connects to the computer side, a Channel Service Unit
connects to the telephone side: together, a DSU/CSU (WAN modem)
- T1/DS1: 24 (and 1/8) voice circuits, 1.544 Mb/s.
E1: 32 voice circuits, 2.048 Mb/s
- T3/DS3: 28 T1 circuits (and 27 additional voice circuits), 44.763 Mb/s
- STS-1/OC-1: 51.840 Mb/s ("Synchronous Transfer Signal"/"Optical
Carrier")
- STS-3/OC-3: 155.520 Mb/s
- OC-12: 622.080 Mb/s
- OC-48: 2.488320 Gb/s
- OC-192: 10 Gb/s
Frame Relay
- Framing technology for carrying data (not voice) over digital
public lines -- works over a variety of technologies, but most
commonly over synchronous circuits from 56K to T3 (44.763Mb/s)
- very simple header identifies virtual circuit. This circuit
is usually permanently set up -- provisioned -- at contract time
- payload delivered to the destination with high likelihood
- used for bridging LANs (e.g. between branches of the same company),
or for Internet connectivity
- much of the difference from DSL or cable modems is in the service
guarantees -- typically, more guarantees and less contention within the
back office
- customer premises include a frame relay router or a (simpler)
FRAD (Frame Relay Assembler/Disassembler) and telephone line
termination, e.g. a CSU/DSU
SONET
- Synchronous Optical NETwork (Synchronous Digital Hierarchy/SDH)
- SONET dictates:
- framing (multiples of 810 bytes, probabilistically identified)
- multiplexing
- payload encoding (payload "floats" in the frame, with part in
one frame and part in the successive frame)
- frame "header" is 2-dimensional, 3 out of every 90 bytes
- very complex
- a frame is sent every 125 us, meaning the minimum speed is?
(in-class exercise)
ISDN
- first digital technology to the home (over the local loop
connecting the telephone to the central office)
- two channels (4 wires), each capable of 64Kb/s, for a total
of 128Kb/s
- not popular:
- too expensive for most homes (much more expensive than a modem)
- too early for the web (you don't need that much bandwidth
for plain-text email)
- now superceded by other technologies
ADSL
- Asymmetric Digital Subscriber Line
- most of the traffic is in the direction from the central office
to the home (downstream)
- so reserve most of the bandwidth for downstream: up to 6.144 Mb/s
(only up to 640Kb/s upstream)
- bandwidth is available on the twisted pair of the local loop:
don't use baseband (RS-232 and Ethernet use baseband), but
broadband (like radio channels)
- adaptive technology: send more bits through the channels that
have high S/N ratio
- distance limitations, about 5Km CO to CPE, depending on the bandwidth
required
Other Versions of DSL
- Symmetric DSL (SDSL) -- different encoding, symmetric bandwidth
- High-Speed DSL (HDSL) -- symmetric, 1.544Mb/s in both directions
- Very high-Speed DSL (VDSL) -- symmetric, up to 52Mb/s in both directions,
requires new wiring to bring switch closer to the CPE
Cable Access
- the channel in a cable TV system not used for broadcasting TV
signals can be used as an ether to broadcast data packets
- cable modems are needed at both ends
- maximum rate up to 36Mb/s, but since this is a shared channel,
actual rate depends on traffic and number of channels
- cable not always designed for two-directional communication, e.g.
repeaters might only repeat in one direction. If this is the case,
can use cable channel for downstream traffic, and telephone for uplink
- in Hawaii, chiefly Road Runner
Introducing new technologies
- many networking technologies common in Hawaii before they
become common elsewhere
- partly perhaps due to the overall smaller distances and high
population density on Oahu -- deployment is cheaper
- example: road runner available in Hawaii before many other places
on the mainland
- example: wireless waikiki initiative, similar perhaps to Bryant
Park New York, but perhaps ahead of many other places across the
country/world