CACS303 Computer Networking

Computer NetworkingUnit 213 min read

Physical Layer: Media, Impairments & Signal Transmission

Unit 2 of Computer Networking covers transmission media (guided/unguided), signal impairments (attenuation, noise, distortion), and how physical layer protocols ensure reliable data transfer—with real-world examples from Nepal’s telecom and internet infrastructure.

TAKEAWAYS:

  • Transmission media are classified into guided (copper, fiber) and unguided (wireless) types, each with distinct speed, cost, and distance trade-offs.
  • Signal impairments (attenuation, noise, distortion) degrade data integrity, requiring error correction and amplification techniques.
  • Twisted-pair cables (UTP/STP) and fiber optics dominate modern networks due to their balance of cost, bandwidth, and immunity to interference.
  • Modulation techniques (AM, FM, digital) convert data into signals suitable for transmission over different media.
  • Real-world applications: Ncell’s 4G uses microwave transmission; NTC’s fiber backbone minimizes attenuation; eSewa’s payment system relies on error-free copper cables.

Core Concepts: Transmission Media

The physical layer is the foundation of computer networks, responsible for transmitting raw bits over physical media. Media can be guided (bound by physical paths) or unguided (wireless). Below is a comparison of key media types:

Twisted-Pair (UTP/STP)CoaxialFiber-Optic (Single/Multi-mode)Guided MediaMicrowaveSatelliteInfraredUnguided MediaTransmission Media
Hierarchy of transmission media types with Nepal-relevant examples

1. Guided Media

Microwave TowerSatelliteWi-Fi Router
Nepal's wireless transmission media in use today
a) Twisted-Pair Cables
  • Types:
    • UTP (Unshielded Twisted Pair): Cheap, used in Ethernet (Cat5e, Cat6), prone to interference.
    • STP (Shielded Twisted Pair): Shielded wires reduce noise; used in high-security environments.
  • Advantages:
    • Low cost, easy to install, flexible.
  • Disadvantages:
    • Limited bandwidth (~1 Gbps for Cat6), susceptible to electromagnetic interference (EMI).
  • Example:
    • Nepal’s NTC fiber backbone uses single-mode fiber for long-distance, while UTP cables connect homes to ISPs (e.g., Worldlink).

twisted pair cable diagramUTP vs. STP cable structure (left: UTP, right: STP with foil shielding) (Image: Dirk8B, CC BY-SA 4.0, via Wikimedia Commons)

b) Coaxial Cables
  • Structure: Copper core + insulator + braided shield + outer jacket.
  • Uses:
    • Cable TV (e.g., Cable Nepal), older Ethernet (10BASE5).
  • Advantages:
    • Higher bandwidth than UTP (~10 Mbps–1 Gbps), resistant to interference.
  • Disadvantages:
    • Rigid, expensive, difficult to install.
c) Fiber-Optic Cables
  • Types:
    • Single-mode fiber (SMF): Thin core (~9 µm), long-distance (100+ km), used in backbone networks (e.g., NTC’s fiber optic rings).
    • Multimode fiber (MMF): Thicker core (~50/62.5 µm), short-distance (<2 km), used in data centers.
  • Advantages:
    • High bandwidth (100 Gbps+), immune to EMI, lightweight, secure (no signal leakage).
  • Disadvantages:
    • Expensive, requires precise installation (cleaving, splicing).
  • Example:
    • Nepal Stock Exchange (NEPSE) uses fiber-optic links to connect trading terminals across Kathmandu, ensuring low-latency stock price updates.
CoreSingle-mode (9 µm)CladdingMultimode (50/62.5 µm)BufferSilica glassJacketPlastic
Cross-section of fiber-optic cable (NTC uses single-mode for long-haul)

2. Unguided Media (Wireless)

a) Microwave Transmission
  • How it works: Line-of-sight (LOS) radio waves (2–40 GHz) transmitted via parabolic antennas.
  • Uses:
    • Long-distance backbone (e.g., Ncell’s 4G towers connect to central offices via microwave links).
    • Satellite communications.
  • Limitations:
    • Attenuation due to rain/fog, requires LOS (no obstructions).
  • Example:
    • Nepal Telecommunications Company (NTC) uses microwave links to connect remote districts like Darchula to the national grid.
b) Satellite Communication
  • Types:
    • Geostationary (GEO): Fixed orbit (36,000 km), high latency (250 ms), used for TV broadcasting (e.g., Himalaya Satellite TV).
    • Low Earth Orbit (LEO): Low latency (~10 ms), used for Starlink (Elon Musk’s global internet).
  • Advantages:
    • Covers remote areas (e.g., Mustang, Nepal).
  • Disadvantages:
    • High cost, propagation delay, weather interference.
c) Infrared & Bluetooth
  • Infrared: Short-range (e.g., TV remotes), requires LOS.
  • Bluetooth: Low-power wireless (e.g., Khalti’s POS machines use Bluetooth for payment processing).

Signal Impairments: Why Data Gets Corrupted

Even with perfect media, signals degrade due to physical layer impairments. These are categorized into three types:

AttenuationNoiseDistortion
Physical layer impairments and their causes (Nepal's hilly terrain worsens bending loss)

1. Attenuation

  • Definition: Loss of signal strength over distance.
  • Causes:
    • Resistance (copper cables), absorption (fiber optics).
  • Solution:
    • Repeaters (amplify signal), regenerators (retime and reshape bits).
  • Example:
    • In Nepal’s hilly terrain, fiber-optic cables in Pokhara-Kathmandu require optical amplifiers every 80 km to maintain signal strength.

2. Noise

  • Types:

    Noise Type Cause Effect Example
    Thermal Noise Random electron motion (heat) Adds random bits to signal All electronic devices
    Crosstalk Interference from adjacent cables Distorts parallel signals UTP cables in crowded server racks
    Electromagnetic Interference (EMI) Power lines, motors Corrupts signal bits Nearby transformers in Kathmandu
    Impulse Noise Lightning, electrical surges Causes burst errors Power cuts during monsoon
  • Mitigation:

    • Shielding (STP cables, Faraday cages).
    • Error correction (e.g., HDLC checksums in Unit 5).

3. Distortion

  • Types:
    • Intersymbol Interference (ISI): Overlapping bits due to delay spread (common in coaxial cables).
    • Frequency Distortion: High-frequency signals attenuate more than low-frequency (affects voice over fiber).
  • Solution:
    • Equalizers (adjust signal frequencies).
    • Adaptive modulation (e.g., OFDM in Wi-Fi).

Modulation: Encoding Data for Transmission

Raw digital data (0s and 1s) must be encoded into signals (electrical, light, radio waves) for transmission. Common techniques:

AM (Amplitude Modulation)FM (Frequency Modulation)AnalogASK (Amplitude Shift Keying)FSK (Frequency Shift Keying)PSK (Phase Shift Keying)QAM (Quadrature Amplitude Modulation)DigitalModulation Techniques
Modulation hierarchy (QAM used in NTC's 100Gbps fiber)

1. Analog Modulation (Legacy Systems)

  • AM (Amplitude Modulation):
    • Used in radio broadcasting (e.g., Radio Nepal).
    • Problem: Susceptible to noise (amplitude changes).
  • FM (Frequency Modulation):
    • Used in FM radio, less noise-prone than AM.

2. Digital Modulation (Modern Networks)

  • ASK (Amplitude Shift Keying): Varies amplitude (e.g., old modems).
  • FSK (Frequency Shift Keying): Varies frequency (e.g., Bluetooth).
  • PSK (Phase Shift Keying): Varies phase (e.g., Wi-Fi 802.11).
  • QAM (Quadrature Amplitude Modulation):
    • Combines amplitude + phase (e.g., 5G, DSL broadband).
    • Example: Ncell’s 4G LTE uses 16-QAM/64-QAM for high-speed data.

Real-World Applications in Nepal

1. NTC’s Fiber-Optic Backbone

  • Media Used: Single-mode fiber (SMF) in ring topology.

  • Why Fiber?:

    • No EMI (unlike copper, which suffers from Kathmandu’s electrical noise).
    • Low attenuation (signals travel 100+ km without repeaters).
  • Impairment Challenge:

    • Bending loss in hilly terrain → NTC uses loose-tube fiber to prevent microbends.
  • Media Used: Microwave radio (28 GHz band).
  • Impairment Challenge:
    • Rain fade (heavy monsoon rains absorb signals).
  • Solution:
    • Adaptive power control (increases transmit power during rain).
    • Diversity antennas (multiple paths to avoid LOS blockage).

3. eSewa’s Payment System (Copper + Wireless Hybrid)

  • Media Mix:
    • UTP cables connect POS machines to banks.
    • Wi-Fi/4G transmits payment data to eSewa servers.
  • Impairment Risk:
    • Crosstalk in UTP cables → eSewa uses STP cables in high-traffic areas (e.g., Thamel).
    • Packet loss in Wi-Fi → TCP retransmissions (covered in Unit 9).

Worked Example: Calculating Attenuation in a Copper Cable

Scenario: A Cat5e UTP cable (100 m long) carries a 100 Mbps Ethernet signal. The attenuation rate is 20 dB/km at 100 MHz. Will the signal reach the destination without amplification?

Solution:

  1. Convert length to km: .
  2. Calculate total attenuation: .
  3. Check signal strength:
    • Ethernet’s max allowable attenuation: ~20 dB for 100 m.
    • Actual attenuation (2 dB) < Max (20 dB) → Signal reaches intact.

Real-World Tie-In:

  • Nepal’s ISPs (e.g., Worldlink) use Cat6 cables (lower attenuation) for 1 Gbps connections in apartments, reducing the need for repeaters.

Comparison Table: Transmission Media

Media Type Bandwidth Cost Distance Impairments Nepal Use Case
UTP (Cat6) Guided 1 Gbps Low <100 m Crosstalk, EMI Home ISP connections (Worldlink)
Fiber (SMF) Guided 100 Gbps+ High 100+ km Bending loss NTC backbone, NEPSE trading
Coaxial Guided 10 Mbps–1 Gbps Medium <500 m Attenuation Cable Nepal TV
Microwave Unguided 100 Mbps–1 Gbps Medium 50 km Rain fade, LOS needed Ncell 4G backhaul
Satellite (GEO) Unguided 50 Mbps Very High Global Latency, weather Himalaya Satellite TV

Exam Tip: How to Score Full Marks

  1. Define + Explain:

    • Always start with a clear definition (e.g., "Attenuation is the loss of signal strength over distance due to resistance and absorption in the medium.").
    • Follow with causes (e.g., "In copper cables, resistance causes attenuation; in fiber, absorption by impurities does.").
  2. Real-World Links:

    • Nepal-specific examples fetch extra marks. Mention:
      • NTC’s fiber for attenuation.
      • Ncell’s microwave for LOS impairments.
      • eSewa’s UTP for crosstalk.
  3. Diagrams:

    • Draw media comparisons (guided vs. unguided) or impairment causes in tables.
    • Label fiber vs. copper structures clearly.
  4. Common Mistakes to Avoid:

    • ❌ Saying "Fiber has no noise" → Correct: "Fiber is immune to EMI but can have bending loss."
    • ❌ Confusing attenuation (signal loss) with distortion (signal shape change).
    • ❌ Forgetting units (e.g., "20 dB/km" vs. "20 dB").
  5. Short-Answer Formula: For "Explain transmission impairments":

    Impairments degrade signals during transmission. They are:

    1. Attenuation (signal weakens over distance; cause: resistance/absorption; solution: repeaters).
    2. Noise (unwanted signals; types: thermal, crosstalk, EMI; solution: shielding/error correction).
    3. Distortion (signal shape changes; cause: ISI/dispersion; solution: equalizers). Example: In Nepal’s hilly areas, microwave links suffer rain fade, requiring adaptive power control.

Final Note: This unit tests conceptual understanding (e.g., why fiber > copper) and application (e.g., matching impairments to media). Practice drawing media structures and relating examples to Nepal’s tech (NTC, Ncell, eSewa). Use the comparison table as a quick revision tool!

Based on the TU BCA syllabus for Computer Networking (CACS303), unit 2.

Discussion

Loading…