Date post: | 23-Apr-2019 |
Category: |
Documents |
Upload: | truongnguyet |
View: | 216 times |
Download: | 0 times |
A&D 8 Copyright 1998, Professor John T.Gorgone
1
ANALOG VS DIGITAL
A&D 8 Copyright 1998, Professor John T.Gorgone
2
BASICS OF DATA COMMUNICATIONS
n Analog Data - Data modulated or changed to conform to a voice transmission format.
n Digital Data - Data transported in a digital or discrete line code format.
The transport of data through a telecommunications network can beclassified into two overall transport techniques:
Analog Data Digital Data
Data Transport System
A&D 8 Copyright 1998, Professor John T.Gorgone
3
ANALOG SIGNALING OF ANALOGDATA AND DIGITAL DATA
Analog Signals - Data represented with continuously varying Electromagnetic Wave
Modem
Analog Data
Digital Data
Voice(Sound Waves)
Binary VoltagePulses
Analog Signal
Analog Signal
A&D 8 Copyright 1998, Professor John T.Gorgone
4
DIGITAL SIGNALING OF ANALOGDATA AND DIGITAL DATA
Digital Signals - Data represented with a sequence of voltage pulses
Digital Transmitter
Analog Data
Digital Data
Analog Signal
Digital Data
DigitalSignal
DigitalSignal
CODEC
A&D 8 Copyright 1998, Professor John T.Gorgone
5
EXAMPLES OF PERIODIC SIGNALSAmplitude
T(a) Sine wave
t
(b) Square wave
t
A&D 8 Copyright 1998, Professor John T.Gorgone
6
CHARACTERISTICS OF AN ANALOG SIGNAL
n ANALOG - means that the signal is continuous rather than either on or off.
n Both sound and light are analog signals spread over a wide range of frequencies.
n Amplitude, frequency, and phase are characteristics of an analog signal.
A&D 8 Copyright 1998, Professor John T.Gorgone
7
The amplitude of the wave is a measure of the loudness of the sound:
The Greater the Amplitude
The Louder the Sound!!!
SOFT LOUD!!!
Who wrotethis report?
!#@!#@
A&D 8 Copyright 1998, Professor John T.Gorgone
8
SINE WAVE PROPERTIES(Amplitude)
Amplitude
Amplitude
Modifiable via Adjustment to Voltage Level
A&D 8 Copyright 1998, Professor John T.Gorgone
9
SINE WAVE PROPERTIES(Frequency)
The frequency (f) of a periodic signal is defined as the number of cycles passing any given point per second.
It is customary to express the frequency in hertz (Hz), meaning vibrations per second or cycles per second. The shorter the wavelength, the higher the frequency, or the pitch of the sound.
LowHigh
A&D 8 Copyright 1998, Professor John T.Gorgone
10
SINE WAVE PROPERTIES(FREQUENCY)
1 Cycle1 Cycle
One cycle per second = one Hertz (Hz)Cycle = One wavelength
A&D 8 Copyright 1998, Professor John T.Gorgone
11
SINE WAVE PROPERTIES(PHASE)
360°
Phase is the relative position within a cycle.
A&D 8 Copyright 1998, Professor John T.Gorgone
12
Use of Modems in Data Transmission
HOSTCOMPUTER
HOSTCOMPUTER
Modems
Modulation Demodulation
A&D 8 Copyright 1998, Professor John T.Gorgone
13
n Use a signal appropriate to the channel:"Carrier" (for telephone signal in 300-3400 Hz range)Add data to it - "Modulate" the signal
MODULATION OF ANALOG SIGNALS
Convert: Digital to Analog >>>>> ModulationAnalog to Digital >>>>> Demodulation
Function performed via modem (Modulator/Demodulator)
ModemDigital DigitalModem
Analog Signal
Modulation Techniquesn Amplitude Modulation (AM)n Frequency Modulation (FM)n Phase Modulation (PM)
A&D 8 Copyright 1998, Professor John T.Gorgone
14
n Long distances - deterioration due to capacitance, resistance, and noise.
DIGITAL vs. ANALOG TRANSMISSION
Problems with Digital (Baseband) Transmission
Need frequent repeaters (every 300M - 2KM) to regenerate the signal.Regenerated signal = original
n Accommodate the channel - Fit within the bandwidth of the channel (e.g., telephone system 300-3400Hz).
Problems with Analog Transmission
n Signal to noise ratio - Better over long distances but amplifiers cannot clean up signal in analog form.
Use Digital over short distances or with repeaters, use Analog where it is needed to fit the channel.
A&D 8 Copyright 1998, Professor John T.Gorgone
15
Digital vs. Analog Transmission
n Digital signals can be transmitted in a manner that largely overcomes the problems of noise.
n With digital transmission each repeater regenerates the on/off pulses.
n Fresh, new, clean pulses with the noise removed are reconstructed and sent on to the next repeater where the reconstruction process is performed again.
n Another advantage of digital transmission is the digital signals are already in an appropriate form for computer processing.
A&D 8 Copyright 1998, Professor John T.Gorgone
16
n A disadvantage of digital transmission is that the original analog signal can never be reproduced exactly because the input analog signal must be quantized. That is, it must be represented by a limited set of specific discrete values.
Digital vs. Analog Transmission (continued)
A&D 8 Copyright 1998, Professor John T.Gorgone
17
n Analog information such as a human voice needs to be converted to digital form before it can be transmitted over a digital channel.
This conversion is performed by a device called a CODEC (from Coder/Decoder).
Any analog data- - sound, heat, light, TV pictures, color photographs - - can be digitized into a bit stream and transmitted over a digital channel.
The most common technique used today to transmit analog signals in digital form is called pulse code modulation (PCM).
Digital vs. Analog Transmission (continued)
A&D 8 Copyright 1998, Professor John T.Gorgone
18
ANALOG AND DIGITAL SIGNALINGOF ANALOG AND DIGITAL DATA
Analog Signals - Represent data with continuously varying
electromagnetic wave.
Modem
Analog Data
Digital Data
Voice(Sound Waves)
Binary VoltagePulses
Analog Signal
Analog Signal
A&D 8 Copyright 1998, Professor John T.Gorgone
19
ANALOG AND DIGITAL SIGNALINGOF ANALOG AND DIGITAL DATA
Digital Signals - Represent data with sequence of voltage pulses.
Analog Data
Analog SignalCODEC Digital Signal(Sound Waves)
Digital Transmitter
Digital Data
Digital SignalBinary Voltage
Pulses
A&D 8 Copyright 1998, Professor John T.Gorgone
20
– Digital Technology: The advent of large scale integration (LSI) and very large scale integration (VLSI) technology have caused a drop in cost. Analog transmission has not shown a similar drop.Data Integrity: With the use of repeaters rather than amplifiers, the effects of noise and other signal impairments are not cumulative. Thus we can transmit longer distances and over less expensive lines while maintaining the data integrity.Capacity Utilization: It has become very economical to build transmission links of very high bandwidth, including satellite and fiber optics. The high degree of multiplexing needed to utilize this capacity is more easily achieved with digital rather than analog techniques.Security and Privacy: Encryption techniques can be readily applied to digital data and analog data that have been digitized.Integration: By treating both digital and analog data digitally, both signals have the same form and can be treated economically.
Why has the use of Analog Transmission dropped while Digital Transmission increased?
A&D 8 Copyright 1998, Professor John T.Gorgone
21
BASIC MODULATION TECHNIQUES
n Transmission of information represented in binary form over an analog channel requires a process called modulation.
n When no information is being passed, a steady alternating current of constant amplitude and frequency called a carrier signal is present.
n Some characteristics of the carrier current must be altered to represent bits of information.
A&D 8 Copyright 1998, Professor John T.Gorgone
22
SIGNAL MODULATION
Carrier Signal
Digital Data
AmplitudeModulation
Frequency Modulation
PhaseModulation
1 0 1 10
A&D 8 Copyright 1998, Professor John T.Gorgone
23
BASIC MODULATION TECHNIQUES
Modem Modem
1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0
1 0 1 1 0 1 1 0
n AMPLITUDE modulation (AM) converts digital data to analog signals using a single frequency carrier signal. A high amplitude wave denotes a binary 1 and a low amplitude wave denotes a binary 0.
A&D 8 Copyright 1998, Professor John T.Gorgone
24
BASIC MODULATION TECHNIQUES
n FREQUENCY shift keying (FSK) uses a constant amplitude carrier signal and two frequencies to distinguish between 1 and 0.
Modem Modem
1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0
1 0 1 1 0 1 1 0
A&D 8 Copyright 1998, Professor John T.Gorgone
25
BASIC MODULATION TECHNIQUES
n PHASE shift keying (PSK) uses a phase shift at transition points in the carrier frequency to represent 1 or 0.
Modem Modem
1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0
1 0 1 1 0 1 1 0
180 phase shiftso
A&D 8 Copyright 1998, Professor John T.Gorgone
26
BASIC MODULATION TECHNIQUES
n DIFFERENTIAL phase shift keying (DPSK) uses different phase shifts to represent four possible combinations of 0 and 1 bits. In the example, 45 degrees represents 00, 135 degrees stands for 01, 225 degrees for 11, and 315 degrees for 10. The pairs of bits are called dibits.
Modem Modem
1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 010 11 01 10
A&D 8 Copyright 1998, Professor John T.Gorgone
27
THE PROCESS OF CHANGING THE CARRIER SIGNAL IS CALLED
MODULATION
n The number of carrier signal changes per second is called the Line Signaling Rate and is measured in Baud. Thus, 2400 baud means 2400 carrier signal changes per second.
n The communications equipment in which modulation is performed is called a Modem (MOdulate/DEModulate).
n There are four common modulation techniques:– Amplitude– Phase shift keying– Frequency shift keying– Differential phase shift keying
A&D 8 Copyright 1998, Professor John T.Gorgone
28
AMPLITUDE MODULATION (AM):n Varies the amplitude of the signal to transmit
information.
n A constant frequency is used with a high amplitude wave representing 1 and a low amplitude wave representing 0.
n Use of four amplitude levels allows four combinations of two bits (00, 10, 01, 11) to be sent with a single change in signal.
n Amplitude Modulation is seldom used without other forms of modulation because the signals it produces are susceptible to noise, and it takes a long time (relative to other modulation techniques) to sample the signal.
A&D 8 Copyright 1998, Professor John T.Gorgone
29
FREQUENCY SHIFT KEYINGMODULATION (FSK)
n A constant amplitude signal is modulated between two frequencies to represent 0 and 1.
n FSK modulation is less affected by noise on the transmission lines than is amplitude modulation.
A&D 8 Copyright 1998, Professor John T.Gorgone
30
PHASE SHIFT KEYING (PSK)
n PSK uses a phase shift at transition points in the carrier signal to represent 0's and 1's.
n Phase is the measure of relative time that the sine wave crosses through zero amplitude. Just at the time the carrier signal is crossing zero it is shifted one-half cycle. So instead of continuing to increase in positive value, the signal repeats the 0 to maximum negative value cycle.
n PSK is affected even less by noise than frequency shift keying (FSK) and is used for higher speed transmission above 2000 bps.
A&D 8 Copyright 1998, Professor John T.Gorgone
31
DIFFERENTIAL PHASE SHIFT KEYING (DPSK)
n DPSK uses different phase shifts to represent different combination of bits.
n To represent the four dibits (00, 10, 11) four phase shifts are required.
n By sending dibits instead of single bits over the same carrier signal, DPSK modems can achieve higher transfer rates.
A&D 8 Copyright 1998, Professor John T.Gorgone
32
COMBINATION MODULATION TECHNIQUES
n High speed modems use combination modulation techniques to achieve high data transfer rates.
n For example, to transmit four bits per signal change, a combination of differential phase shift keying (DPSK) and amplitude modulation (AM) techniques can be used.
n Sixteen different signal states can be derived using a combination of 12 different phases and two amplitude levels.
n The line signaling rate for a 9600 bps modem using such a technique is 2400 baud, since each change in the signal represents four bits.
A&D 8 Copyright 1998, Professor John T.Gorgone
33
PHASE AND AMPLITUDE STATES OFCOMBINATION MODULATION TECHNIQUES
0111
0100 0101
1100
1101
1111
1110 1010
1001
1011
1000
0110 0010
0011
0001
0000
Phase referencesignal
(previous 4 bits)
Note: 4 of the 12 phases use 2 amplitudes to achieve 16 representations.
A&D 8 Copyright 1998, Professor John T.Gorgone
34
n Pulse Code Modulation (PCM) is based on a sampling theorem.
If voice data are limited to frequencies below 4000Hz, 8000 analog samples per second would be sufficient to completely characterize the voice signal.
These samples are represented as narrow pulses whose amplitude is proportional to the value of the original signal.
This process is known as Pulse Amplitude Modulation (PAM)
To produce PCM data, the PAM samples are quantized. That is, the amplitude of each PAM pulse is approximated by a N-bit integer, in the example, N = 3. The 8 = 2**3 levels are available for approximating the PAM pulses.
PAM AND PCM
A&D 8 Copyright 1998, Professor John T.Gorgone
35
PULSE CODE MODULATION
Ts
3.0
1.3
2.8
5.94.1
1.4
6.2(a) Original signal
(b) PAM pulses
A&D 8 Copyright 1998, Professor John T.Gorgone
36
PULSE CODE MODULATION
3
1
3
64
1
6
(c) PCM pulses011001110001011110100
(d) PCM output
A&D 8 Copyright 1998, Professor John T.Gorgone
37
DIGITAL VOICE TRANSMISSION
n Analog to digital voice encoding:– PCM most popular - used by telephone
carriers.
n 8 bit samples at 8 Khz rate - 64Kbps digital bit stream per voice call:
– Analog signal is band limited: 300-3400 Hz.– Sample at 2X highest frequency:
8000 samples/sec.
A&D 8 Copyright 1998, Professor John T.Gorgone
38
DIGITAL VOICE TRANSMISSION
n Each 8-bit sample represents signal amplitude:
Time{Amplitude
S ABS Value - Function performed by a CODEC chip.8 - BITS
A&D 8 Copyright 1998, Professor John T.Gorgone
39
DATA ENCODING
n Analog Data, Digital Signals– PAM– PCM– Delta Modulation (DM)
n Analog Data, Analog Signals– Amplitude Modulation– Angle Modulation– FM– PM
n Digital Data, Digital Signals– NRZ– RZ– Biphase– Delay Modulation– Multilevel Binary
n Digital Data, Analog Signals– Encoding Techniques
l ASKl FSKl PSK
Difference between Analog and Digital Data and Analog and Digital Signals.