ComputerNetwork_C2_en
ComputerNetwork_C2_en
PHYSICAL LAYER
Chapter 2: roadmap
• 2.1. Introduction
– Packet encapsulation
– Basic for data communication
• 2.2. Functionality
• 2.3. Physical layer communication media
– 2.3.1. Wired
– 2.3.2. Wireless
• 2.4. Line coding
• 2.5 Multiplexing/De-multiplexing
2.1 Introduction
Application Application
Presentation Data Presentation
Session Session
segments
Transport Data Transport
packets
Network Data Network
frames
Data Link Data Data Link
Physical Physical
10010111001011010010110101011110101
2.1.1. Encapsulation
2.1.2. Basic for data communication
Relevant matters
❖How to convert information into digital data.
❖Types of transmission channels.
❖How to connect communication devices.
❖How to transmit a bit from the sending device to the receiving
device.
Time Domain Concepts
▪ Analog / Digital
o Analog signal - signal intensity varies in a smoothfashion over time
• No breaks or discontinuities in thesignal
o Digital signal - signal intensity maintains a constant level for some period of
time and then changes to another constant level
https://www.toppr.com/guides/physics-formulas/wavelength-frequency-formula/
Wireless and Mobile Networks 16
Frequency Domain Concepts
▪ In practice, an electromagnetic signal is
made up of many frequencies.
▪ Fourier Analysis
o Any signal is made up of components at
various frequencies, in which each
component is a sinusoid.
▪ Fundamental frequency - when all
frequency components of a signal are
integer multiples of one (the lowest)
frequency, it’s referred to as the
fundamental frequency
▪ The period of the total signal is equal
to the period of the fundamental
frequency
Wireless and Mobile Networks 17
Frequency Domain Concepts
3f
5f
7f
▪ Example
o Fundamental Freq =
o Max_Freq =
o BW =
▪ For power, dBW is used to denote a power level with respect to 1W as the
reference power level.
o Let say transmit power of a system is 100W.
o Question: What is the transmit power in unit of dBW?
o Answer: transmit _power(dBW) = 10log(100W/1W) = 10log(100) = 20dBW.
▪ Unlicensed Spectrum
o Anyone can operate in thespectrum
o Can have interference problems
o e.g.: ISM-Band: Industrial, Scientific and Medical frequency band
o 2.4 GHz
o e.g. : Wi-Fi usesISM band
In the VLF, LF, and MF bands, radio waves follow the ground.
In the HF and VHF bands, the ground waves tend to be absorbed by the earth.
However, the waves that reach the ionosphere, a layer of charged particles circling
the earth at a height of 100 to 500 km, are refracted by it and sent back to earth
RF: Wi-Fi (IEEE 802.11)
• Radio Frequency (RF)
– 2.4GHz
– 5.0 GHz
4G/5G
Digital
transmission
Analog
transmission
Line codes that help with bandwidth efficiency, clock recovery, and DC balance.
2.4 Why line coding?
• There should be self-synchronizing i.e., both receiver and sender
clock should be synchronized. It requires clock recovery.
• There should be no (low frequency) DC-component as long
distance transfer is not feasible for DC-component signal.
• There should be bandwidth efficiency since the channel capacity is
limited
• There should have some error-detecting capability.
• There should be immunity to noise and interference.
• There should be less complexity.
• There should be less base line wandering.
2.4. Line codes
– Unipolar (line code)
• NRZ
‘1’: positive
‘0’: zero
Signal does not return to zero at the middle of the bit, thus it is called NRZ.
Advantages
Simple
Lesser BW required
Disadvantages
No error correction done.
Presence of low frequency components may cause the signal droop.
No clock is present.
Loss of synchronization is likely to occur (especially for long strings of 1s and 0s).
2.4. Line codes (2)
– Polar
• RZ
• NRZ
‘1’: positive + zero
‘0’: negative + zero
‘1’: positive
Advantages ‘0’: negative
It is simple.
No low-frequency components are present.
Disadvantages
No error correction.
No clock is present.
The signal droop is caused at the places where the signal is non-zero at 0 Hz.
2.4. Line codes (3)
– Bipolar
• AMI
Advantages
It is simple.
No low-frequency components are present.
Occupies low bandwidth than unipolar and polar NRZ schemes.
This technique is suitable for transmission over AC coupled lines, as signal drooping doesn’t occur here.
A single error detection capability is present in this.
Disadvantages
No clock is present.
Long strings of data causes loss of synchronization.
2.4. Line codes (4)
• Popular line codes
– NRZ-L;
– NRZ-I;
– RZ;
– Manchester
– Etc.
2.5 Multiplexing/De-multiplexing
• Why need multiplexing?
– The medium can only have one signal at a time.
– There are multiple signals to share one medium.
– There is a possibility of collision.
– Transmission services are very expensive
• The two basic types of multiplexing techniques:
– Time division multiplexing (TDM)
– Frequency division multiplexing (FDM)
• In optical information, wavelength division multiplexing (WDM) is
also the FDM.
2.5 Multiplexing/De-multiplexing
• Multiplexing techniques are used only when the bandwidth of the
transmission channel is higher than the bandwidth of data sources.
• E.g: the signals from three sources can be combined (multiplex)
and sent over a single channel. At the receiving end, the combined
signals are separated into 3 separated original signals.
Frequency Division Multiplexing
• In the FDM, the signals are shifted into different frequency
ranges and sent through the media. Communication channels are
divided into different bands, and each signal transmission band
corresponds to one source.
Time Division Multiplexing
• Trong TDM, các tín hiệu số hóa được kết hợp và gửi thông qua các
kênh truyền thông. .
Summary
❖ Basic knowledge of data communication system
❖ Digitization forms of information
❖ Distinguish and calculate quantities related to the characteristics
of a transmission channel such as bandwidth, frequency, data rate,
noise, capacity and throughput of a transmission channel
❖ Describe and understand line codes
❖ Multiplexing/de-multiplexing techniques