Download Part II Data Transmission

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Multidimensional empirical mode decomposition wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Telecommunications engineering wikipedia , lookup

Heterodyne wikipedia , lookup

Single-sideband modulation wikipedia , lookup

Transcript
Data Transmission
The basics of media, signals, bits,
carries, and modems
(Part II)
Long-Distance Communication
• Encoding used by RS-232 cannot work in all
situations over long distances
– Electric current becomes weaker as it travels on wire
– Resulting signal loss may prevent accurate decoding
of data
– Signal loss prevents use of RS-232 over long
distances
• Different encoding strategies needed
Long Distance Communication
• Important fact: an oscillating signal travels
farther than direct current
• For long-distance communication
– Send a sine wave (called a carrier wave)
– Change (modulate) the carrier to encode data
• Note: modulated carrier technique used for
radio and television
Terminology
• Signal: means to transport data
• A signal can be periodic or aperiodic
Terminology (cont’d)
• Frequency (f): rate (cycles/sec or Hz) a
signal repeats. If periodic, period T = 1/f
• Spectrum: range of frequencies. A signal
may contain a number of frequencies.
• Bandwidth: width of spectrum signal(s)
spans over. E.g., traditional telephone line
can carry frequencies between 300 Hz and
3300 Hz, then the bandwidth = 3000 Hz.
Terminology (cont’d)
• Analog signal: electromagnetic waveform
(continuous) representation of (analog or
digital) data (e.g., voice sound, human speech:
20 ~ 3300 Hz)
• Digital signal: data are represented with
sequence of (discrete) voltage pulses (i.e., bitstream: constant positive voltage level may
represent binary 0, constant negative level may
represent binary 1).
Illustration Of A Carrier
• Carrier
– Usually a sine wave
– Oscillates continuously
• Frequency of carrier fixed
Encoding Data With A Carrier
• Modifications to basic carrier encode data for
transmission
• Technique called modulation
• Same idea as in radio, television transmission
• Carrier modulation used with all types of media
- copper, fiber, radio, infrared, laser
Types Of Modulation
• Amplitude modulation - strength, or amplitude
of carrier is modulated to encode data
• Frequency modulation - frequency of carrier is
modulated to encode data
• Phase shift modulation (used in data) - changes
in timing, or phase shifts encode data
Illustration Of Amplitude Modulation
• Strength of signal encodes 0 or 1
• One cycle of wave needed for each bit
• Data rate limited by carrier bandwidth
Illustration Of Phase-Shift Modulation
• Change in phase encodes K bits
• Data rate higher than carrier bandwidth
Phase-Shift Example
• Section of wave is omitted at phase shift
• Data bits determine size of omitted section
Modem
• Hardware device
• Useful for long-distant communication
• Contains separate circuitry for
– Modulation of outgoing signal
– Demodulation of incoming signal
• Name abbreviates modulator/demodulator
Illustration Of Modems Used
Over A Long Distance
• One modem at each end
• Separate wires carry signals in each direction
• Modulator on one modem connects to
demodulator on other
Types Of Modems
• Conventional
– Use four wires
– Transmit modulated electrical wave
• Optical
– Use glass fibers
– Transmit modulated light
• Wireless
– Use air/space
– Transmit modulated RF (Radio Frequency) wave
Types Of Modems (cont’d)
• Dialup
– Use voice telephone system
– Transmit modulated audio tone
Dialup Modem
• Circuitry for sending data
• Circuitry to mimic telephone operation
– Lifting handset
– Dialing
– Hanging up
– Detecting dial tone
• Full duplex on one voice channel
– Different carrier frequencies for each direction
– Filters eliminate interference
Operation of Dialup Modems
• Receiving modem waits for call in answer mode Other
modem, in call mode:
– Simulates lifting handset
– Listens for dial tone
– Sends tones (or pulses) to dial number
• Answering modem:
– Detects ringing
– Simulates lifting handset
– Sends carrier
• Calling modem:
– Sends carrier
• Data exchanged
56K Modems
• Traditional Modems:
– limitation on the data rate of 33.6 Kbps
maximum, both uploading and downloading
– determined by narrow bandwidth of the local
telephone line with up to 4 KHz
• 56K Modems:
– Uploading with 33.6 Kbps
– downloading with 56 Kbps
Cable Modems
• Cable TV provides a coaxial cable with
bandwidth up to 750 MHz
• With frequency division multiplexing
(discussed on Part III), two channels with
bandwidth of 6 MHz each can be used for
data transmission
• Speeds:
– downloading -- 3 ~ 10 Mbps currently
– uploading -- currently 500 Kbps ~ 1 Mbps
Modern Technology
• Full-duplex modem
– Provides 2-way communication
– Allows simultaneous transmission
– Uses four wires
• Half-duplex modem
– Does provide 2-way communication
– Transmits in one direction at any time
– Uses two wires
Reading Materials
• Chapter 6: Sections 6.1-6.5