Chapter 2
Chapter 2
Chapter 2
Data and Signals
3.1
Objectives
3.2
Note
3.3
3-1 ANALOG AND DIGITAL
3.4
Analog and Digital Data
Data can be analog or digital.
Analog data are continuous and take
continuous values.
Digital data have discrete states and take
discrete values.
3.5
Analog and Digital Signals
3.6
Figure 3.1 Comparison of analog and digital signals
3.7
3-2 PERIODIC ANALOG SIGNALS
In data communications, we commonly use periodic
analog signals and nonperiodic digital signals.
Periodic analog signals can be classified as simple or
composite. A simple periodic analog signal, a sine wave,
cannot be decomposed into simpler signals. A composite
periodic analog signal is composed of multiple sine
waves.
Topics discussed in this section:
Sine Wave
Wavelength
Time and Frequency Domain
Composite Signals
Bandwidth
3.8
Figure 3.2 A sine wave
3.9
Figure 3.3 Two signals with the same phase and frequency,
but different amplitudes
3.10
Note
3.11
Figure 3.4 Two signals with the same amplitude and phase,
but different frequencies
3.12
Table 3.1 Units of period and frequency
3.13
Example 3.1
3.14
Example 3.2
Solution
First we change 100 ms to seconds, and then we
calculate the frequency from the period (1 Hz = 10 −3
kHz).
3.15
Frequency
• Frequency is the rate of change with respect
to time.
• Change in a short span of time means high
frequency.
• Change over a long span of
time means low frequency.
3.16
Note
3.17
Note
3.18
Figure 3.5 Three sine waves with the same amplitude and frequency,
but different phases
3.19
Example 3.3
Solution
We know that 1 complete cycle is 360°. Therefore, 1/6
cycle is
3.20
Figure 3.6 Wavelength and period
3.21
Figure 3.7 The time-domain and frequency-domain plots of a sine wave
3.22
Note
3.23
Example 3.7
3.24
Figure 3.8 The time domain and frequency domain of three sine waves
3.25
Signals and Communication
A single-frequency sine wave is not
useful in data communications
We need to send a composite signal, a
signal made of many simple sine waves.
According to Fourier analysis, any
composite signal is a combination of
simple sine waves with different
frequencies, amplitudes, and phases.
3.26
Composite Signals and
Periodicity
If the composite signal is periodic, the
decomposition gives a series of signals
with discrete frequencies.
If the composite signal is nonperiodic, the
decomposition gives a combination of
sine waves with continuous frequencies.
3.27
3-3 DIGITAL SIGNALS
In addition to being represented by an analog signal,
information can also be represented by a digital signal.
For example, a 1 can be encoded as a positive voltage
and a 0 as zero voltage. A digital signal can have more
than two levels. In this case, we can send more than 1 bit
for each level.
3.29
Example 3.16
3.30
Example 3.17
3.31
Example 3.18
3.32
Figure 3.17 The time and frequency domains of periodic and nonperiodic
digital signals
3.33