Professional Documents
Culture Documents
Week 3 Data and Signals
Week 3 Data and Signals
Week 3 Data and Signals
Physical Layer
One of the major functions of the physical layer is to move data in the form of
electromagnetic signals across a transmission medium.
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.
Generally, the data usable to a person or application are not in a form that can
be transmitted over a network. For example, a photograph must first be
changed to a form that transmission media can accept. Transmission media work
by conducting energy along a physical path. For transmission, data needs to be
changed to signals.
Physical Layer
This chapter is divided into six sections:
Note
3.4
3-1 ANALOG AND DIGITAL
Data can be analog or digital. The term analog data refers to
information that is continuous; digital data refers to information that
has discrete states. Analog data take on continuous values. Digital data
take on discrete values.
For example, an analog clock that has hour, minute, and second hands
gives information in a continuous form; the movements of the hands
are continuous.
On the other hand, a digital clock that reports the hours and the
minutes will change suddenly from 8:05 to 8:06.
3.6
Signals
• Analog Signal
• An analog signal is a continuous wave denoted by a sine wave and may vary in
signal strength (amplitude) or frequency (time).
• Digital Signal
• A digital signal is described as using binary (0s and 1s), and therefore, cannot take on any
fractional values.
The vertical axis represents the value or strength of a signal. The
horizontal axis represents time.
Note
3.8
Figure 3.1 Comparison of analog and digital signals
3.9
Both Analog and Digital signals can take on of
two forms:
• Periodic Signal
• Aperiodic Signal
3.10
Note
3.11
3-2 PERIODIC ANALOG SIGNALS
A periodic signal completes a pattern within a measurable time frame, called a period, and
repeats that pattern over subsequent identical periods.
The completion of one full pattern is called a cycle.
A nonperiodic signal changes without exhibiting a pattern or cycle that repeats over time.
Sine Wave
Wavelength
Time and Frequency Domain
Composite Signals
3.12
Bandwidth
The sine wave is the most fundamental form of a periodic analog
signal.
3.13
A sine wave can be represented by 3 parameters:
• Peak amplitude
• Frequency
• Phase
These three parameters fully describe a sine wave.
3.14
The peak amplitude of a signal is the absolute value of its highest intensity,
proportional to the energy it carries.
3.15
Example 3.2
The voltage of a battery is a constant; this constant value can be considered a sine wave.
For example, the peak value of an AA battery is normally
1.5 V.
3.16
Period and Frequency
• Period : refers to the amount of time, in seconds, a signal needs to
complete one cycle.
• Frequency: refers to the number of periods in 1 sec.
OR
Frequency of the signal is the no. of times a signal makes a complete cycle
within a given time frame.
3.17
Note
3.18
Two signals with the same amplitude and phase, but different frequencies
3.19
3.20
Example 3.3
The power we use at home has a frequency of 60 Hz. The period of this sine wave can be
determined as follows:
3.21
Example 3.5
Solution
First we change 100 ms to seconds, and then we calculate the frequency from the period
(1 Hz = 10−3 kHz).
3.23
Note
3.25
Note
3.26
Three sine waves with the same amplitude and frequency, but different phases
3.27
3.28
Example 3.6
A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and
radians?
Solution
We know that 1 complete cycle is 360°. Therefore, 1/6 cycle is
3.29
Wavelength
Wavelength is another characteristic of a signal traveling
through a transmission medium.
The wavelength is the distance a simple signal can travel in one period.
3.31
Time and Frequency Domains
• A signal can be represented as a function of time, i.e. it varies with
time.
• However, it can be also expressed as a function of frequency, i.e. a
signal can be considered as a composition of different frequency
components.
3.32
Time and Frequency Domains
A sine wave is comprehensively defined by its amplitude, frequency,
and phase. We have been showing a sine wave by using what is called a
time-domain plot. The time-domain plot shows changes in signal
amplitude with respect to time (it is an amplitude-versus-time plot).
Phase is not explicitly shown on a time-domain plot.
3.33
Time and Frequency Domains
3.34
Time and Frequency Domains
It is obvious that the frequency domain is easy to plot and conveys the
information that one can find in a time domain plot.
The advantage of the frequency domain is that we can immediately see the
values of the frequency and peak amplitude.
3.35
Time-Domain and Frequency Domain plot
• Time-Domain plot shows changes in signal amplitude w.r.t time.
• Frequency Domain plot show the relationship between amplitude
and frequency. This plot is only concerned with the peak value and
the frequency.
3.36
Note
3.37
Example 3.7
The frequency domain is more compact and useful when we are dealing with more
than one sine wave. For example, Figure 3.8 shows three sine waves, each with
different amplitude and frequency. All can be represented by three spikes in the
frequency domain.
3.38
The time domain and frequency domain of three sine waves
3.39
Note
3.40
Note
3.41
3.42
3.43
Note
3.44
The bandwidth of periodic and nonperiodic composite signals
3.45
Example 3.10
The spectrum has only five spikes, at 100, 300, 500, 700,
and 900 Hz (see Figure 3.13).
3.46
Figure 3.13 The bandwidth for Example 3.10
3.47
Example 3.11
3.49
3-3 DIGITAL SIGNALS
3.50
3-3 DIGITAL SIGNALS
3.51
3-3 DIGITAL SIGNALS
3.52
3-3 DIGITAL SIGNALS
The bit rate is the number of bits sent in 1s, expressed in bits per
second (bps).
3.53
3-3 DIGITAL SIGNALS
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.
3.54
Transmission of Digital Signals
3.55
Transmission of Digital Signals
Although the output signal is not an exact replica of the original signal,
the data can still be deduced from the received signal. Note that
although some of the frequencies are blocked by the medium, they
are not critical.
3.56
Broadband Transmission (Using Modulation)
Broadband Transmission (Using Modulation) means changing the
digital signal to an analog signal for transmission.
Modulation allows us to use a bandpass channel—a channel
with a bandwidth that does not start from zero. This type of channel is
more available than a low-pass channel.
3.57
Broadband Transmission (Using Modulation)
3.58
3-4 TRANSMISSION IMPAIRMENT
3.59
Attenuation
• Attenuation means a loss of energy
• Attenuation is measured in decibels(dB). It measures the relative
strengths of two signals or one signal at two different point.
• Attenuation(dB) = 10log10(P2/P1)
P1 is power at sending end and P2 is power at receiving end.
3.61
Example 3.26
3.62
Solution of Example 3.26
Example 3.27
3.64
Solution of Example 3.27
Distortion
• Distortion means signal changes its form or shape.
3.70
Signal-to-Noise Ratio (SNR)
• It is a measure that compares the level of a desired signal to the level
of background noise.
• SNR is defined as the ratio of average signal power to the average
noise power, often expressed in decibels.
3.72
Solution
• The values of SNR and SNRdB can be calculated as follows:
3.5 DATA RATE LIMITS
• Noiseless Channel: Nyquist Bit Rate
• Noisy Channel: Shannon Capacity