650 likes | 833 Views
Long Distance Digital Connection. Telephony. The prefix “tele” refers to doing or moving something over a distance The root “phone” refers to sound, especially that connected with speech Thus the telephone is a device that transmits speech over long distance
E N D
Telephony • The prefix “tele” refers to doing or moving something over a distance • The root “phone” refers to sound, especially that connected with speech • Thus the telephone is a device that transmits speech over long distance • Telephony (te lef’ e nē) is the science/technology associated with the transmission of speech over long distances
Telephony (Cont.) • Because an extensive phone system was already in place, long distance computer networks could use the phone system to transmit data and avoid the expense of lying down new transmission cables. • The divisions between telephony, tele-communications and computer networking have become blurred.
Analog or Digital • Because speech is itself an analog signal (pressure waves in the atmosphere), traditional telephony has been based on transmission of analog electric and/or electromagnetic signals. • However, the idea of digitizing audio signals predates computer networks by decades.
PCM • Shannon and co-workers (Oliver and Pierce) proposed Pulse Code Modulation in 1948. • Recall that when a digital signal reaches a repeater, small amounts of noise can be eliminated from the signal before it is amplified and forwarded; whereas when an analog signal reaches a repeater the noise is amplified right along with the information. • In an analog signal, all values are valid and so one cannot distinguish between the noise and the signal.
Digitizing • Consider for example an analog voltage signal. It can be continuous in two senses: • The voltage varies continuously in time • At a given instance, the voltage can take on any value from a continuum. • To digitize the signal, the time continuum and the voltage continuum have to be converted into discrete sets of values.
Analogy: Digitizing an image Discretize color Discretize space
Sampling • Breaking up the time continuum is known as “sampling.” • Motion pictures are an example of sampling: a rapid succession of snapshots (still pictures) are taken, if the sampling frequency (the number of pictures/frames per second) is sufficiently high, the brain perceives the playback as continuous motion. • Muybridge demo
(pseudo)-Analog wave Continuous values Continuous in time
Another Nyquist Theorem • Recall that signals can be thought of as being comprised of sine waves of various frequencies (Fourier). • Nyquist says that to accurately represent a signal, one’s sampling frequency must be at least double its highest constituent frequency. • One wants to sample its ups and its downs.
Nyquist Sampling Example • In the following sequence of graphs, a sine wave is sampled. • The frequency of the sine wave is doubled each time, while the sampling frequency is kept fixed. • Case E does not resemble a sine wave but alternates up and down with the correct frequency – i.e. the sampling has captured the most essential feature • Case F oscillates very quickly (alternating up and down), but its amplitude seems to vary at a much lower frequency. This was not a feature of the actual wave being sampled. • Case G only has the slowly varying feature whereas the actual wave sampled varying quite rapidly.
A: sf=10, f=0.159sf: sampling freq. F: freq. The sampling frequency is much higher the “actual” frequency and the behavior is captured well.
E : sf=10, f=2.546 The sampling frequency is about 4 times higher than the actual frequency – the actual oscillation is captured but the shape is not.
F : sf=10, f=5.093 The sampling frequency is about 2 times higher than the actual frequency – the actual oscillation is captured, but the shape is not and spurious low frequency effects have been introduced.
G : sf=10, f=10.186 The sampling frequency is about equal to the actual frequency – the actual oscillation is missed entirely, only the spurious low frequency effects remain. It’s like we sampled Mariah Carey and we got Barry White.
The 8000 Hz decision • Most humans can hear sounds ranging in frequency from 20 Hz to 20,000 Hz. • But for purposes of digitizing and transmitting speech, the telephone industry decided that they wanted to represent accurately signals in a range up to 4000 Hz. • Thus they opted for a sampling frequency of 8000 Hz (a la Nyquist). • A bandwidth of 3000 Hz was considered sufficient, but it was upped to 4000Hz.
Period • Whereas the frequency (f) is the number of cycles that go by in a set amount of time (usually a second), the period (T) is the amount of time required for a single cycle. • The frequency and period are reciprocals f = (1/T) or T=(1/f) • If the sampling frequency is 8000 Hz, the sampling period is 0.000125 s = 125 s (microseconds) = (1/8000 Hz).
The other half of the problem • At the instant one is sampling, the signal can still take on an infinite number of values. • Digitizing requires one to choose a discrete set of allowed values. • For example, to digitize an image one can choose two values (black and white) or allow for shades of gray or allow for combinations of red, blue and green, etc. • For the phone system, it was decided that 256 values would be allowed. • 256 values can be represented by 8 bits.
A digital audio channel • So the telephone company’s standard for digital audio required 64,000 bits/second = 8,000 samples/second 8 bits/sample • This 64 Kbps rate can be seen throughout telephony and is known as DS0 (digital signal).
T-carrier system • Bell introduced the first successful system for digitized voice transmission using the 64 Kbps rate (DS0) in the 1960s. • The rate has been kept as a standard and the basis for subsequent standards. • The US and Europe developed separate standards. • The US standards were set up by ANSI (American National Standards Institute).
DS-X Standards C: concatenated
T-carrier system • A T-1 line (1.544 Mbps), commonly used by businesses to connect to their Internet service provider (ISP), corresponds to 24 DS0 channels. • A T-3 line (44.736 Mbps) corresponds to 28 T-1 lines or 672 (2428) DS0 and is commonly used by ISPs. • One can also lease “a fractional T-1,” in which one rents some portion of the 24 channels in a T-1 line, with the other channels going unused.
A leased line • Unlike dial-up connections, a leased line is always active. It is a permanent telephone connection between two nodes. • Usually used by businesses to connect distant offices. • Typically one pays a fixed monthly rate based on the distance between the nodes and the speed of the circuit. • The line is used exclusively by the lessee, so the carrier can assure a given level of quality.
T1 and T3 • T1 and T3 lines are entirely digital. • They use pulse code modulation (PCM) and Time-Division Multiplexing (TDM). • They provide full duplex capability by using four wires • two wires (one for signal and one for return) for receiving • two for sending • Originally the four wires were two twisted pair wires, but now they can be coaxial cable, optical fiber, or even wireless media like digital microwave.
T1 Frame • T1 can be used for voice or for data transmission. • Voice signals are sampled at 8000 Hz and each sample is encoded using 8 bits. • With 24 such channels being multiplexed (TDM), a 192-bit frame (24 channels 8 bits/channel) is sent every 125s. • One bit separates consecutive frames, so each frame is actually a 193-bit block. • The 193 bits/frame multiplied by 8,000 frames/sec yield 1.544 Mbps data rate.
T1 (Cont.) • T1 lines typically use copper wire and within or even between cities (metropolitan areas). • A T1 Outstate System has been developed for longer distances between cities. • It's probable that your Internet access provider is connected to the Internet as a point-of-presence (POP) on a T1 line owned by a major telephone network. • POP: Locations where an Internet Service Provider offers access to its network.
CSU/DSU • Channel Service Unit/Data Service Unit. • Required for both ends of a T1 or T3 line. • The CSU and DSU perform different tasks. They are combined into one unit. • The CSU is a device that performs protective and diagnostic functions, like: • Lightning protection • “Ones density:” if more than 15 consecutive 0’s are sent, raises alarm or “stuffs” • Loopback (used for testing the lines)
CSU/DSU (Cont.) • The DSU is a device that connects a terminal to a digital line. • Converts data, which is digital, to a form appropriate for the T1 line, which is also digital but uses different encoding, voltage values, etc. • A kind of modem.
DSU/CSU • The DSU/CSU combination may also take on some other duties • Multiplexing (putting many signals on one line) • Data Compression
Comparison shopping • There are various competing technologies for establishing long distance connections • There are two basic criteria for the comparison • Transmission rate (a.k.a. capacity) • Cost
Local loop • Connection between the phone company’s Central Office and an individual home or business. • To connect computers from an individual’s home or small office, one uses • Modem • ISDN • DSL • Cable modem
ISDN • Integrated Services Digital Network • CCITT/ITU standards for digital transmission over ordinary telephone copper wire • ITU International Telecommunications Union • CCITT, (now ITU-T) is an body for generating telecommunications standards. • A service offered by telephone companies to connect computers over long distances (MAN or WAN) • Since it’s telephone companies, that 64 Kbps rate will be seen here too.
ISDN (Cont.) • One can send voice, video or data at speeds better than modems (modem’s best: 56 Kbps). • Hence I for “integrated.” • Uses ISDN adapter in place of modem. • Uses a mixture of packet switching and circuit switching.
D ISDN Services • There are two standard levels of ISDN service: Basic rate (interface) (for home use) and Primary rate (interface) (for business use). • Basic rate: • Consists of three channels, two B (bearer) channels and one D (delta) channel. • The B channels operate at 64 Kbps, are full duplex and carry voice or data.
ISDN Services (Cont.) • The D channel operates at 16 Kbps, is full duplex and carries “signaling” (control) information used to request services from the B channels. • One can use one B channel for voice and the second for data or they can be combined (“bonded”) to give the effect of one 128Kbps channel.
ISDN Services • Primary rate: • 23 64-Kbps B channels • Primary rate in Europe has 30 B channels • 1 64-Kbps D channel, although sometimes addition D channels are installed.
B-ISDN • The original ISDN is a baseband technology (one signal). • Broadband ISDN, B-ISDN transmits many signals simultaneously across the same medium. It has a transmission rates of 1.5 Mbps. • uses fiber optic cable • not widely available