1.3 Data and Signals
1.3 Data and Signals
o One of the major functions of the physical layer is to move data in the form of
electromagnetic signals across a transmission medium.
o Whether you are collecting numerical statistics from another computer, sending
animated pictures from a design workstation, or causing a bell to ring at a distant
control center, you are working with the transmission of data across network
connections.
For example, data are stored in computer memory in the form of Os and ls.
o Both analog and digital signals can take one of two forms: periodic or non
o The peak amplitude of a signal is the absolute value of its highest intensity,
proportional to theenergy it carries.
o Period refers to the amount of time, in seconds, a signal needs to complete 1 cycle.
Frequencyrefers to the number of periods in 1 s.
o Note that period and frequency are just one characteristicdefined in two ways.
o Period is the inverse of frequency, and frequency is the inverse of period,as the
following formulas show.
Phase
o The term phase, or phase shift, describes the position of the waveform relative
to time 0. If think of the wave as something that can be shifted backward or
forward along the time axis, phase describes the amount of that shift.
o It indicates the status of the first cycle.
o Phase is measured in degrees or radians [360° is 2pi rad; 1° is 2pi/360 rad, and
1 rad is 360/(2pi)].
o A phase shift of 360° corresponds to a shift of a complete period; a phase shift
of 180° corresponds to a shift of one- half of a period; and a phase shift of 90°
corresponds to a shift of one-quarter of a period.
Prepared By: T.Santhini AP/CA Page 4
DEPARTMENT NAME:MASTER OF COMPUTER APPLICATIONS
Class: I MCA Batch: 2023-2025
Course code:23CAR08 Course Title: DATA COMMUNICATION
AND NETWORKS
Example
A sine wave is offset 1/6 with respect to time 0. What is its phase in degrees and
radians?
1.3.2 Wavelength
o Wavelength binds the period or the frequency of a simple sine wave to the
propagation speedof the medium
o While the frequency of a signal is independent of the medium, the wavelength depends
on both the frequency and the medium.
o The wavelength is the distance a simple signal can travel in one period.
Prepared By: T.Santhini AP/CA Page 5
DEPARTMENT NAME:MASTER OF COMPUTER APPLICATIONS
Class: I MCA Batch: 2023-2025
Course code:23CAR08 Course Title: DATA COMMUNICATION
AND NETWORKS
o Wavelength can be calculated if one is given the propagation speed (the speed of
light) and theperiod of the signal.
Wavelength = (propagation speed) * period= propagation speed / frequency
o The propagation speed of electromagnetic signals depends on the medium and on the
frequency of the signal. For example, in a vacuum, light is propagated with a speed of
3 x 108 m/ s. Thatspeed is lower in air and even lower in cable.
o
Time and Frequency Domains
o We have been showing a sine wave by using what is called a time- domain plot.
o The time- domain plot shows changes in signal amplitude with respect to time.
o To show the relationship between amplitude and frequency, we can use what is
called a frequency-domain plot.
o A frequency- domain plot is concerned with only the peak value and the frequency.
Changes of amplitude during one period are not shown.
o The advantage of the frequency domain is that we can immediately see the values of
the frequency and peak amplitude. A complete sine wave is represented by one spike.
The positionof the spike shows the frequency; its height shows the peak amplitude.
o The advantage of the frequency domain is that we can immediately see the values of
the frequency and peak amplitude. A complete sine wave is represented by one spike.
The positionof the spike shows the frequency; its height shows the peak amplitude.
o The advantage of the frequency domain is that we can immediately see the values of
the frequency and peak amplitude.
o A complete sine wave is represented by one spike.
o The positionof the spike shows the frequency; its height shows the peak amplitude.
Composite Signals
o Simple sine waves have many applications in daily life. We can send a single
sine wave to carry electric energy from one place to another.
o For example, the power company sends a single sine wave with a frequency of
60 Hz to distribute electric energy to houses and businesses.
o In the first case, the sine wave is carrying energy; in the second, the sine wave
is a signal of danger.
o If we had only one single sine wave to convey a conversation over the phone, it
would make no sense and carry no information.
o We would just hear a buzz. Fourier showed that any composite signal is actually
a combination of simple sine waves with different frequencies, amplitudes, and
phases.
o A composite signal can be periodic or non periodic.
o A periodic composite signal can be decomposed into a series of simple sine
waves with discrete frequencies that have integer values (1, 2, 3, and so on).
o A non periodic composite signal can be decomposed into a combination of an
infinite number of simple sine waves with continuous frequencies, frequencies
that have real values.
Bandwidth
o The range of frequencies contained in a composite signal is its bandwidth. The
bandwidth is normally a difference between two numbers.
o For example, if a composite signal contains frequencies between 1000 and
5000, its bandwidth is 5000— 1000, or 4000.
o The figure depicts two composite signals, one periodic and the other
nonperiodic.
o The bandwidth of the periodic signal contains all integer frequencies between
1000 and 5000(1000, 1001, 1002,..).
o The bandwidth of the nonperiodic signals has the same range, but the
frequencies are continuous
Example
A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the
lowest frequency? Draw the spectrum if the signal contains all frequencies of the same
amplitude.
Solution
Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then
The spectrum contains all integer frequencies. We show this by a series of spikes.
Example
A digital signal has eight levels. How many bits are needed per level? We calculate the
numberof bits from the formula
Bit Rate
Most digital signals are nonperiodic, and thus period and frequency are not appropriate
characteristics. Another term-bit rate is used to describe digital signals. The bit rate is
the number of bits sent in 1s, expressed in bits per second (bps). The above Figure
shows the bit rate for two signals.
Bit Length
We discussed the concept of the wavelength for an analog signal: the distance one
cycle occupies on the transmission medium. We can define something similar for a
digital signal: the bit length. The bit length is the distance one bit occupies on the
transmission medium.
o Let us consider the case of a nonperiodic digital signal, similar to the ones we
encounter in data communications.
o We can transmit a digital signal by using one of two different approaches: baseband
transmission or broadband transmission (using modulation).
Baseband transmission
o Requires that we have a low-pass channel, a channel with a bandwidth that starts
from zero.
o This is the case if we have a dedicated medium with a bandwidth constituting only
one channel.
o The figure shows two low-pass channels: one with a narrow bandwidth and the other
with a wide bandwidth.
1.3.2.1 Attenuation
o Attenuation means a loss of energy.
o That is why a wire carrying electric signals gets warm, if not hot, after a while.
Some of the electrical energy in the signal is converted to heat.
o To compensate for this loss, amplifiers are used to amplify the signal.
Decibel
o To show that a signal has lost or gained strength, engineers use the unit of the
decibel.
o The decibel (dB) measures the relative strengths of two signals or one signal at two
different points.
o Note that the decibel is negative if a signal is attenuated and positive if a signal is
amplified.
1.3.2.2Distortion
o Distortion means that the signal changes its form or shape.
o Each signal component has its own propagation speed through a medium and,
therefore, its own delay in arriving at the final destination.
o Differences in delay may create a difference in phase if the delay is not exactly
the same as the period duration. In other words, signal components at the
receiver have phases different from what they had at the sender.
o The shape of the composite signal is therefore not the same. The Figure shows
the effect of distortion on a composite signal.
Noise
o Noise is another cause of impairment. Several types of noise, such as thermal
noise, induced noise, crosstalk, and impulse noise, may corrupt the signal.
o Thermal noise is the random motion of electrons in a wire which creates an extra
signal not originally sent by the transmitter. Induced noise comes from sources
such as motors and appliances.
o These devices act as a sending antenna, and the transmission medium acts as
the receiving antenna. Crosstalk is the effect of one wire on the other. One wire
acts as a sending antenna and the other as the receiving antenna.
o Impulse noise is a spike (a signal with high energy in a very short time) that
comes from power lines, lightning, and so on. The Figure shows the effect of
noise on a signal.
As we will see later, to find the theoretical bit rate limit, we need to know the ratio of the
signal power to the noise power. The signal-to-noise ratio is defined as
We need to consider the average signal power and the average noise power because these
may change with time. The Figure shows the idea of SNR. SNR is actually the ratio of what
is wanted (signal) to what is not wanted (noise). A high SNR means the signal is less
corrupted by noise; a low SNR means the signal is more corrupted by noise. Because SNR
is the ratio of two powers, it is often described in decibel units, SNRdB, defined as
Example
The power of a signal is 10 mW and the power of the noise is 1 μW; what are the
values of SNR and SNRdB ?
Solution
bandwidth is the bandwidth of the channel, L is the number of signal levels used to
represent data, and Bit Rate is the bit rate in bits per second.
o According to the formula, we might think that, given a specific bandwidth, we can
have any bit rate we want by increasing the number of signal level.
o If the number of levels in a signal is just 2, the receiver can easily distinguish between
a 0 and a 1.
o If the level of a signal is 64, the receiver must be very sophisticated to distinguish
between 64 different levels.
o In other words, increasing the levels of a signal reduces the reliability of the system.