Data Communication Capter 2
Data Communication Capter 2
Chapter 2.
BITS College
Figure 2-1 A simple example of an analog waveform The waveform of a symphonic overture with noise
1 4
0.8 1
3
0.6
0.4 2 0.5
0.2
1
0
0
0
-0.2
-0.5
-0.4 -1
-0.6
-2
-1
-0.8
-1 -3
0 10 20 30 40 50 60 70 80 90 100 0 10 20 30 40 50 60 70 80 90 100 -1.5
0 10 20 30 40 50 60 70 80 90 100
A computer generated signal a waveform with noisse super imposed recovered signal after applying filter
o One of the primary shortcomings of analog data and analog signals is how difficult it is
to separate noise from the original waveform.
Digital Data and Digital Signal
Digital data and digital signals are composed of a discrete or fixed number
of values, rather than a continuous or infinite number of values.
Digital data takes on the form of binary 1s and Os. But digital signals are
more complex. To keep the discussion as simple as possible, we will
introduce two forms of digital signal.
The first type of digital signal takes the shape of what is called a "square
wave." These square waves are relatively simple patterns of high and low
voltages. (such as 5 volts) and a low voltage (such as 0 volts).
Digital Data and Digital Signal
When data is transmitted as a signal, the signal will always incur some
level of noise. In the case of digital signals, however, it is relatively simple
to pass the noisy digital signal through a filtering device that removes a
significant amount of the noise and leaves the original digital signal intact.
Despite this strong advantage that digital has over analog, not all systems
use digital signals to transmit data. One possible reason is that the
electronic equipment used to transmit a signal usually dictates the type of
signals that can be transmit
Digital Data and Digital Signal
The second form of digital signal involves more complex combinations of
modulated analog signals.
Even though the resulting signal is a composition of analog signals, we can
treat the end product as a digital signal because there are a discrete
number of signal combinations and levels.
The important characteristics of signals.
Analog and Digital signals have three basic components:
Amplitude : the height of the wave above (or below) a given reference point
Frequency: the number of times a signal makes a complete cycle within a given time frame
phase: the position of the waveform relative to a given moment of time, or relative to time zero
signal data
Analog Analog
Digital Digital
Analog Digital
Digital Analog
CONVERTING DATA INTO SIGNALS (cont,...)
R
e
Pictures in the left shws Analog signal represented by Descret (digital values), while
the pictures in the right side shows Digital signal being represented by two diffent
frequencies (Frequency Shift Keying , FSK)
Pulse modulation
Pulse modulation consists essentially of sampling analog information
signals and then converting those samples into discrete pulses and
transporting the pulses from a source to a destination over a physical
transmission medium.
The four predominant methods of pulse modulation include
o pulse width modulation (PWM),
o pulse position modulation (PPM),
o pulse amplitude modulation (PAM),
o and pulse code modulation (PCM).
Pulse modulation
o (a) analog signal;
o (b) sample pulse;
o (c) PWM;
o (d) PPM;
o (e) PAM;
o (f) PCM
With PCM, the analog signal is sampled and then
converted to a serial n-bit binary code for
transmission. Each code has the same number of
bits and requires the same length of time for
transmission. PAM is used as an intermediate.
Nyquist Criterion: Sampling Rate
The Nyquist sampling theorem establishes the minimum
sampling rate (fs) that can be used for a given PCM
system.
For a sample to be reproduced accurately in a PCM
receiver, each cycle of the analog input signal (fa) must
be sampled at least twice. Consequently, the minimum
sampling rate is equal to twice the highest input
frequency. Mathematically, the minimum Nyquist
sampling rate is
fs ≥ 2fa
where fs _ minimum Nyquist sample rate (hertz)
fa _ maximum analog input frequency (hertz)
The Relationship Between Frequency and Bits per Second
Two formulas express the direct relationship between the
frequency of a signal and its data transfer rate: Nyquist's
theorem and Shannon's theorem.
Nyquist's theorem calculates the data transfer rate of a
signal using its frequency and the number of signaling levels;
Data rate = 2 x f x log2 (L)
f is the frequency of the signal and L is the number of signaling
levels.
For example
Given a 3100-Hz signal and two signaling levels (like a high
amplitude and a low amplitude), the resulting channel capacity
is 6200 bps, which results from
2 x 3100 x log2 (2) = 2 x 3100 x I. Hypothet ical signaling
And technique with four signal
levels
A 3100-Hz signal with four signaling levels yields 12,400bps.
The Relationship Between Frequency
and Bits per Second
Note further that the Nyquist formula does not incorporate noise, which is always present.
Thus, many use the Nyquist formula not to solve for the data rate, but instead, given the
data rate and frequency, to solve for the number of signal levels L
Shannon's theorem calculates the maximum data transfer rate of an analog signal (with
any number of signal levels) and incorporates noise
Data rate = f x log2 (1 + S/N)
in which the data rate is in bits per second, f is the frequency of the signal, S is the
power of the signal in watts, and N is the power of the noise in watts.
Consider a 3100-Hz signal with a power level of 0.2 watts and a noise level of 0.0002 watts:
Data rate= 3100 x log2 (1 + 0.2 / 0.0002) = 3100 x log2 (1001)
= 3100 X 9.97
= 30,901 bps
Review before we move to Digital
In 400 BC.
1833, Carl Friedrich Gauss 26 paralle lines
1831 Samuel F. B. Morse telegraph.
1870s, Boudot Code ,1874 Multiplexcer
1875 – telephone A. Graham Bell
1899- Marconi Radio
1930 First computer, 1932,..
1945 –ENIAC
1951 UNIVAC
1957 Transistor, sputnic
1970 Microprocessor
1980 PC,...
Digital Transmission
Digital transmission is the transmittal of digital signals between two or
more points in a communications system.
The signals can be binary or any other form of discrete-level digital pulses.
The original source information may be digital or analog that have been
converted to digital pulses prior to transmission.
Digital signals are simpler to measure and evaluate than analog signals.