1 / 63

Long Distance Digital Connection

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

parry
Télécharger la présentation

Long Distance Digital Connection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Long Distance Digital Connection

  2. 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

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. Analogy: Digitizing an image Discretize color Discretize space

  8. 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

  9. (pseudo)-Analog wave Continuous values  Continuous in time 

  10. Sampled Wave

  11. 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.

  12. 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.

  13. 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.

  14. B : sf=10, f=0.318

  15. C : sf=10, f=0.637

  16. D : sf=10, f=1.273

  17. 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.

  18. 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.

  19. 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.

  20. 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.

  21. 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).

  22. 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.

  23. Sine: 5 values

  24. Sine: 9 values

  25. Sine: 17 values

  26. Sine: 33 values

  27. 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).

  28. 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).

  29. DS-X Standards C: concatenated

  30. DS-X Standards (Cont.)

  31. 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 (2428) 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.

  32. 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.

  33. 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.

  34. T1 for Voice (Shay Fig 3.20)

  35. 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 125s. • 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.

  36. 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.

  37. 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)

  38. 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.

  39. DSU/CSU (Fig 12.2)

  40. DSU/CSU • The DSU/CSU combination may also take on some other duties • Multiplexing (putting many signals on one line) • Data Compression

  41. 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

  42. Comparing Rates

  43. Comparing Rates (Cont.)

  44. 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

  45. 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.

  46. 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.

  47. 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.

  48. 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.

  49. 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.

  50. 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

More Related