Information Sources & Signals: CECS 474 Computer Network Interoperability
Information Sources & Signals: CECS 474 Computer Network Interoperability
CHAPTER 6
Information Sources &
Signals
Tracy Bradley Maples, Ph.D.
Computer Engineering & Computer Science
California State University, Long Beach
Notes for Douglas E. Comer, Computer Networks and Internets (5th Edition)
Analog and Digital Signals
Data communications deals with two types of information:
• analog
• digital
Defn: An analog signal is characterized by a continuous mathematical function
When the input changes from one value to the next, it does so by moving
through all possible intermediate values.
Defn: A digital signal has a fixed set of valid levels
When the input changes from one value to the next, each change consists of
an instantaneous move from one valid level to another.
Periodic and Aperiodic Signals
Signals are broadly classified as
• periodic
• aperiodic (sometimes called nonperiodic)
The classification depends on whether the signals repeat or do not repeat.
Q: Why does data communications (not Computer Networking) seem obsessed with sine
functions and composite signals?
A1: Signals that result from modulation are usually composite signals
A2: The mathematician Fourier discovered that it is possible to decompose a composite
signal into its constituent parts into a set of sine functions, each with a frequency,
amplitude, and phase.
Time and Frequency Domain Representations
• The y-axis gives the amplitude, and the x-axis gives the frequency
Example: The function asin(2πt) is represented by a single line of height a that is
positioned at x = t
For example, +5 volts can be used for a logical one and 0 volts for a logical zero
If only two levels of voltage are used, each level corresponds to one data bit (0 or 1)
Some physical transmission mechanisms can support more than two signal levels,
When multiple digital levels are available each level can represent multiple bits.
For Example:
consider a system
that uses four
voltage levels:
-5 volts, -2 volts,
+2 volts, +5 volts
Thus, both the baud rate and the number of signal levels control the bit rate of a system.
Synchronization and Agreement About Signals
The electronics at both ends of a physical medium must have circuitry to measure time
precisely and synchronize with the data as it arrives.
Example: If one end transmits a signal with 10 elements per second, the other end must
expect exactly 10 elements per second.
Building electronic systems that agree at the high speeds used in modern networks is
extremely difficult.
A fundamental issue that arises from the way data is represented concerns synchronization
of sender/receiver.
Line Coding
The mathematician Nyquist determined the answer to the question of how much
sampling is required:
sampling rate = 2* fmax
Sample a signal at least twice as fast as the highest frequency that must be preserved
Nyquist Theorem and Telephone System Transmission
Thus, when converting a voice signal from analog to digital the signal should be
sampled at a rate of 8000 samples per second.
The PCM standard used by the phone system quantifies each sample into:
Data compression refers to a technique that reduces the number of bits required to
represent data.
The key idea is that the compression only needs to preserve details to the level of human
perception:
Example: JPEG (used for images) compression or MPEG-3 (abbreviated MP3 and used for audio
recordings) employ lossy compression