Unit 2

Physical Layer Fundamentals

Role: Converts bits into signals and vice versa. It manages bit synchronization (clocking), physical topology (bus, star), and standards such as RS-232, Ethernet PHY, and Wi-Fi PHY.

Key Metrics

Metric Description Formula / Example
BandwidthMax data rate (Hz or bps)100 MHz = ~200 Mbps (Nyquist)
Data RateBits/sec capacityShannon: C = B log₂(1 + SNR)
ThroughputActual speed after overhead1 Gbps link → 940 Mbps real
LatencyPropagation delaySpeed of light: 200,000 km/s in fiber

Example: Ethernet cable carries 1s as +5V pulses, 0s as 0V, at 10⁹ pulses/sec for Gigabit.

Digital Transmission & Line Coding

Digital Transmission sends data as discrete binary signals (square waves). Unlike analog, digital signals regenerate cleanly via repeaters.

Scheme How It Works Pros / Cons Use Case
NRZ1=high, 0=lowSimple / No sync for long 0sUSB 1.0
NRZIChange=1, No change=0Better sync / DC imbalanceUSB 2.0
ManchesterMid-bit transitionSelf-clocking / 50% rate lossEthernet 10Base-T
4B/5B4 bits → 5-bit codeError detect / 25% overheadFast Ethernet
MLT-33 levels (+1,0,-1)Low EMI / Complex100Base-TX
Diagram (Digital Signal Flow): Bits: 1 0 1 1 0 NRZ: ____ ____ ____ → Repeater (Regenerate) → ____ ____ Manchester: _/‾\_ ‾\_/ _/‾\_ _/‾\_ ‾\_/

Transmission Modes

ModeDirectionExample
SimplexOne-wayKeyboard → PC
Half-DuplexTwo-way, one at a timeWalkie-talkie
Full-DuplexSimultaneous two-wayPhone call
Real Example: Wi-Fi PHY encodes bits into OFDM symbols (64 subcarriers) for 802.11ac (1.3 Gbps).

Multiplexing

Type Works On How / Pros Example
FDMAnalogSplit bandwidth / No sync neededAM/FM Radio, Cable TV
TDMDigitalTime slots / Full bandwidth usePCM telephony (E1/T1)
WDMOpticalDifferent wavelengths / Huge capacityFiber backbone (DWDM)
CDMDigital/AnalogUnique codes / Secure3G Mobile (CDMA)
STATMUXDigitalDynamic slots / EfficientISDN, Frame Relay
Diagram (FDM): Source1 --+ f1 Modulator --> Composite Signal (f1+f2+f3) --> f1 Demod --> Dest1 Source2 --+--> f2 ~~~~/\/\/~~~~/\/\/~~~~ f2 Demod --> Dest2 Source3 --+ f3 Modulator --> Guard Bands Prevent Overlap f3 Demod --> Dest3 TDM Example (Frame): Time Slots: | Ch1 | Ch2 | Ch3 | Ch1 | Ch2 | Ch3 | (Sync bit at start)

Transmission Media

Guided Media (Wired):

TypeBandwidthDistanceAttenuationUse Case
Twisted Pair100 MHz - 1 GHz100mHighLAN (Ethernet)
Coaxial1 GHz500mMediumCable TV
Fiber Optic100 THz100km+Very LowInternet Backbone

Unguided Media (Wireless):

TypeFrequencyRangeIssuesExample
Radio3 KHz - 40 GHz10kmInterferenceWi-Fi, Bluetooth
Microwave2 - 40 GHz50kmLOS, WeatherCellular Towers
Infrared300 GHz - 400 THz10mWalls blockTV Remote
Diagram (Media Comparison): Twisted Pair: [RJ45]--//~~//~~--[PC] (Twists reduce crosstalk) Coaxial: [Core][Shield]--===--[TV] Fiber: [Core][Cladding]--***--[Router] (*=Light pulses)

Circuit Switched Networks

Establishes a dedicated end-to-end path before data transfer. Phases: 1. Setup, 2. Data Transfer, 3. Teardown.

AspectCircuit SwitchingPacket Switching
Resource UseDedicated (wasteful if idle)Shared (statistical mux)
DelayFixed (predictable)Variable (queuing)
EfficiencyPoor for bursty dataHigh
Diagram (Circuit Switch Network): Station A --+-- Switch1 --+-- Switch2 --+-- Station D | Ch1 | Ch1 | Ch1 Station B --+-- Ch2 +-- Ch2 +-- Station E Path A→D: Dedicated Ch1 across switches (reserved till hangup)
Real Example: Old landline call (64 Kbps circuit). Modern VoIP uses Packet Switching.
Unit 1 Unit 3 Unit 4 Unit 5