Data Communications and Computer Networks
Data Communications and Computer Networks
COMMUNICATIONS
AND COMPUTER
NETWORKS
Analog and Digital Data
■ Analog Data
– Analog refers to something that is continuous in time
– Continuous– A set of specific points of data and all
possible points between them
■ Example
– An analog clock that has hour, minute, and second hands
gives information in a continuous form; the movement of
the clock are continuous.
Analog and Digital Data
■ Digital Data
– Digital refers to something that is discrete
– Discrete– A set of specific points of data with no points in
between
■ Example
– A digital clock that reports the hours and the minutes will
change suddenly from 8:05 to 8:06
Analog and Digital Data
■ Data can be Analog or Digital
■ Example of ANALOG Data is Human voice
– When somebody speaks, a continuous wave is created in the
air.
– This can be captured by a Microphone and converted to an
Analog Signal
■ An example of DIGITAL data is Data stored in the memory of a
computer in the form of 1s and 0s.
– They can be converted to a digital signal or modulated into
an analog signal for transmission across a medium.
Note
Direction of
propagation
Time and Frequency Domain
■ Time Domain plots show changes in signal amplitude w.r.t
Time
■ It is an Amplitude versus Time Plot
■ Phase and Frequency are not explicitly measured on a Time
domain plot
■ To show the relationship between amplitude and Frequency,
we can use what is called a Frequency Domain Plot
Time and Frequency Domain
Time and Frequency Domain
■ The frequency domain is more compact and useful when we
are dealing with more than one sine wave.
■ For example
– Figure on the next slide, shows three sine waves, each with
different amplitude and frequency. All can be represented
by three spikes in the frequency domain.
Time and Frequency Domain
Example
Time and Frequency Domain
Example
■ Figure shows 3 signals with different frequencies and its time
and frequency domain presentations
■ Figure compares the time domain (instantaneous amplitude
w.r.t Time) and the Frequency domain (Max amplitude w.r.t
Frequency)
■ Low Frequency signal in frequency domain corresponds to a
signal with longer period in Time domain & vice versa.
■ A signal changing rapidly in Time domain corresponds to High
frequency in Frequency domain
Composite Signals
■ Second type of analog signals is composite signals
■ A composite signal is made of many simple sine waves
■ In data communication single-frequency sine wave is not
useful, we need to send a composite signal to communicate
data
Note
sine waves.
Composite Periodic Signal
Decomposition of a Composite
Periodic Signal
Time and Frequency Domain of a
Non-periodic Signal
Bandwidth
■ The range of frequencies contained in a composite signal is its
bandwidth.
■ The bandwidth is normally a difference between two numbers.
■ For example
– If a composite signal contains frequencies between 1000
and 5000, its bandwidth is 5000 − 1000, or 4000.
Bandwidth of Periodic and Nonperiodic
Composite Signals
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.
Digital Signals
■ two signals, one with two levels and the other with four.
Bit Rate
■ Most digital signals are nonperiodic, and thus period and
frequency are not appropriate characteristics.
■ Another term—bit rate (instead of frequency)—is used to
describe digital signals.
■ The bit rate is the number of bits sent in 1s, expressed in bits
per second (bps).
Bit Interval and Bit Rate
■ Bit Interval (seconds)
– Time required to send one single bit
■ Bit Rate (bps)
– Number of bits sent per second