Data Comm Chap 2
Data Comm Chap 2
NETWORKING
2. Physical Layer
Presented by:
Dr. Sachin Agrawal
ECE Department
Outline
• Introduction
The physical layer is the foundation on which the network is built. The properties of
different kinds of physical channels determine the performance (e.g., throughput,
latency, and error rate).
We will begin with a theoretical analysis of data transmission. Then we will cover two
kinds of transmission media: guided (copper wire and fiber optics), and wireless
(terrestrial radio). Each of these technologies has different properties that affect the
design and performance of the networks that use them.
In the early 19th century, the French mathematician Jean-Baptiste Fourier proved that any
reasonably behaved periodic function, g(t) with period T can be constructed as the sum of a
(possibly infinite) number of sines and cosines:
where f = 1/T is the fundamental frequency, an and bn are the sine and cosine amplitudes of the
nth harmonics (terms), and c is a constant. Such a decomposition is called a Fourier series. From
the Fourier series, the function can be reconstructed; that is, if the period, T, is known and the
amplitudes are given, the original function of time can be found.
2
2. Basis for Data Communication
2.2 Signals
Definition: Signals are physical representations of data used for communication. They
can be analog or digital. Analog signals are continuous and can take an infinite number
of values within a range, such as the hands of an analog clock. Digital signals are
discrete, taking on a limited number of values, like the changing digits on a digital
clock.
3
2. Basis for Data Communication
2.2 Signals
Key Parameters:
Period and Frequency: The period (T) is the time required to complete one
cycle of a signal, measured in seconds. Frequency (f) is the number of cycles per
second, measured in Hertz (Hz). They are inversely related: 𝑓=1/T and 𝑇=1/f.
Wavelength: Wavelength (𝜆λ) is the distance over which the signal's shape
repeats. It can be calculated using the speed of light (c) and frequency (f): 𝜆=𝑐𝑓.
Wavelengths are typically measured in micrometers (µm).Composite Signals:
Composite signals combine multiple sine waves of different frequencies, amplitudes,
and phases. The bandwidth of a composite signal is the range of frequencies it
occupies, calculated as the difference between the highest and lowest frequencies (
𝐵=𝑓𝐻−𝑓L ).
4
2. Basis for Data Communication
2.3 Data transfer Rate:
Shannon Capacity: For noisy channels, the maximum data rate is:
Capacity=Bandwidth×log2(1+SNR) where SNR is the signal-to-noise ratio. This
formula reflects the channel's capacity to handle noise.
These concepts are fundamental for understanding how data is transmitted, the limits
6
of data transfer rates, and the impact of various factors on network performance.
3. Guided Transmission Media
Transmission media is nothing but the physical layer or medium. The physical layer is
to transport bits from one machine to another. Various physical media can be used for
✓ Unguided media, such as terrestrial wireless, satellite, and lasers through the air.
7
3. Guided Transmission Media
3.1 Magnetic Media
The most common ways to transport data from one computer to another is
to write them
onto magnetic tape or removable media. Physically transport the tape or
disks to the destination
machine, and read them back in again. A simple calculation will make this
point clear.
Structure: Comprises two insulated copper wires twisted together, with one wire
carrying the signal and the other serving as a ground reference.
Advantages:
Easy installation
Flexible and cost-effective
Supports high-speed transmission (up to 100 meters)
Common in LAN technologies like Ethernet
Disadvantages:
Lower bandwidth compared to coaxial cables
Less effective against interference
Applications: Widely used in telephone lines and local area networks (e.g., 10Base-
10
T, 100Base-T).
3. Guided Transmission Media
3.2 Twisted Pairs
2. Shielded Twisted Pair (STP)
Description: Similar to UTP but with a metal foil or braided-mesh covering each
pair of conductors to prevent electromagnetic noise.
Advantages:
Reduces electromagnetic interference and crosstalk
Suitable for both analog and digital transmission
Higher capacity and improved signaling rates compared to UTP
Disadvantages:
More difficult to manufacture
Heavier
Applications: Used in telephone lines for voice and data, and in DSL lines for high-
speed connections. 11
3. Guided Transmission Media
3.3 Coaxial Cable
Another common transmission medium is the coaxial cable. Two kinds of coaxial
cable are widely used. One kind, 50-ohm cable, is commonly used when it is
intended for digital transmission from the start. The other kind, 75-ohm cable, is
commonly used for analog transmission and cable television.
The construction and shielding of the coaxial cable give it a good combination of
high
bandwidth and excellent noise immunity.
Advantages:
Convenience: No additional wiring required. Devices can transmit and
receive data simply by plugging into an electrical outlet.
Example: TVs and receivers can stream movies over electrical wiring.
Both power signal and data signal are transmitted over the same electrical wires.
• Overcoming Challenges:
Despite challenges, it’s possible to achieve data rates of 100 Mbps or more.
Advanced communication schemes:
Resist impaired frequencies.
Handle bursts of errors. 14
International standards for power-line networking are under development.
3. Guided Transmission Media
3.5 Fiber Optics
Fiber optics are used for long-haul transmission, high-speed LANs, and high-speed
internet access (e.g., Fiber to the Home, FttH).
Fig. 2.4 (a) Three examples of a light ray from inside a silica fiber
impinging on the air/silica boundary at different angles. (b) Light 16
trapped by total internal reflection.
3. Guided Transmission Media
3.5 Fiber Optics
Light Sources and Detectors
Light Sources:
LEDs (for short distances, multi-mode fiber).
Semiconductor lasers (for long distances, single-mode fiber).
Detectors:
Photodiodes convert light signals to electrical pulses at the receiving end.
17
3. Guided Transmission Media
3.5 Fiber Optics
Fig. 2.6 (a) Side view of a single fiber. (b) End view of a sheath with three fibers.
19
3. Guided Transmission Media
3.5 Fiber Optics
Fiber Optic Connections
Connector-based: Easy reconfiguration, but 10-20% light loss.
Mechanical splicing: Carefully aligned fiber ends with around 10% light loss.
Fusion splicing: Melting two fibers for a nearly seamless connection, with
minimal attenuation.
Advantages:
Long-distance transmission (e.g., AM radio).
Can penetrate walls (useful indoors).
ionosphere.
4. Wireless Transmission Medium
4.3. Microwaves
Frequency Range: 1 GHz – 300 GHz.
Characteristics:
Line-of-sight transmission.
High data rates possible.
Cannot penetrate walls.
23
4. Wireless Transmission Medium
4.4 Infrared Waves
Short-range:
Cannot penetrate walls.
Reduces interference between devices in separate rooms.
24
4. Wireless Transmission Medium
4.5 Comparison of Wireless Media
25
5. Circuit Switching and Telephone
5.1 Introduction to Switching Network
Switching is the process of routing data or voice signals through various network
paths to ensure they reach the intended destination.
26
5. Circuit Switching and Telephone
5.1 Introduction to Switching Network
Traditional Telephony: This method has been the backbone of telephone systems
for over a century. When a call is made, the network sets up a specific path for the
entire duration of the call.
Example: When you dial a phone number, the network creates a direct line from
your phone to the recipient’s phone, ensuring a continuous connection for the
duration of the call.
28
5. Circuit Switching and Telephone
5.2 Circuit Switching
Network
How Circuit Switching Works
Step 2: Dedicated Path: Once a path is set, it remains reserved exclusively for that
call, even if no data is being transmitted at some points (such as during pauses in a
conversation).
Step 3: Communication: The caller and receiver can now communicate in real time
with no additional delays, as the path is already established.
Step 4: Termination: After the call is finished, the path is released, and the system
makes it available for new connections.
29
5. Circuit Switching and Telephone
5.2 Circuit Switching Network
Key Characteristics of Circuit Switching
Dedicated Path: A fixed, reserved path is established between two endpoints before
communication begins.
Connection Setup Time: There is a delay (up to 10 seconds for long-distance calls)
between dialing and the call being connected, as the system searches for an
available path.
1. Dedicated Connection: The path is reserved for the entire duration of the call,
ensuring no interruptions or slowdowns due to network congestion.
3. Low Latency: After the path is set up, there is almost no delay, with only signal
propagation time (based on the distance) affecting performance.
31
5. Circuit Switching and Telephone
5.2 Circuit Switching
Network
Disadvantages of Circuit Switching
2. Setup Time: The time taken to establish a circuit can be slow for real-time
applications (e.g., several seconds for long-distance calls), which can be
problematic for services like credit card verification or modern internet
communications.
Circuit Switching:
Used primarily in traditional telephone networks.
Establishes a dedicated path before communication starts.
Continuous communication with no delays after the connection is
established.
Requires large infrastructure to ensure dedicated paths.
2. Trunks: Trunks are the high-capacity transmission media that connect various
switching offices, capable of carrying multiple calls simultaneously through
multiplexing. Typically, these use optical fiber or satellite links.
3. Switching Offices: Switching offices connect multiple local loops and trunks,
34
allowing dynamic connections between different subscribers without a permanent
physical link. Different levels include end offices, tandem offices, and regional
offices.
5. Circuit Switching and Telephone
5.3 Telephone Network Network
35
5. Circuit Switching and Telephone
5.3 Telephone Network
Network
Circuit Switching in the Telephone Network
Circuit switching is the primary technique used by traditional telephone networks.
The core idea is to establish a dedicated, physical path between the caller and
receiver for the duration of the call.
Call Setup: When a call is initiated, the switching equipment in the telephone
network locates a path between the calling and receiving parties. This process
involves establishing an end-to-end connection before any voice or data can be
transmitted. Once established, this dedicated path remains reserved exclusively for
the call until it is terminated.
The telephone network evolved over time, initially using analog technology and now
supporting digital signals and data transfer. While modern communication systems 37
have shifted toward packet-switching for internet and data services, the telephone
network still uses circuit switching for traditional voice calls. This provides reliable,
Thank You