The Foundation of All Communication
The Physical Layer is the lowest layer of the OSI model — the foundation everything else is built on. It's concerned with one thing: transmitting raw bits (0s and 1s) over a physical medium. No addresses, no protocols, no error correction — just bits on a wire, light in a fiber, or radio waves in the air.
Think of it like the road system. The Physical Layer is the actual asphalt and concrete — it doesn't care what vehicles drive on it or where they're going. It just provides the surface for movement.
What Does the Physical Layer Define?
The Physical Layer specifies:
- Electrical specifications — What voltage levels represent 0 and 1. How bits are encoded onto the wire.
- Mechanical specifications — The physical shape and size of connectors (like RJ-45 for Ethernet).
- Functional specifications — What each pin on a connector does.
- Procedural specifications — The sequence of events for establishing and releasing a connection.
Data Representation
At the Physical Layer, data is just a stream of bits. But how do you turn 0s and 1s into physical signals?
- Electrical signals (copper cables) — Different voltage levels represent 0 and 1. A positive voltage might mean 1, a negative voltage might mean 0.
- Light signals (fiber optic) — Pulses of light represent 0 and 1. A laser or LED flashes on and off to create the bit stream.
- Radio waves (wireless) — Different frequencies, amplitudes, or phases of radio waves encode the bits.
Key Concepts
- Bandwidth — The maximum data rate of a link, measured in bits per second (bps). A 1 Gbps Ethernet link can transmit 1 billion bits per second.
- Throughput — The actual data rate achieved, which is usually less than bandwidth due to overhead and errors.
- Latency (Delay) — The time it takes for a bit to travel from sender to receiver. Affected by distance, propagation speed, and processing time.
- Noise — Unwanted electrical or electromagnetic interference that can corrupt signals. Shielded cables reduce noise.
Bandwidth is like the width of a highway — it determines how many cars can travel simultaneously. Throughput is how many cars actually do travel. Latency is how long it takes a single car to reach its destination.
Transmission Modes
How data flows on the wire:
- Simplex — Data flows in one direction only. Like a TV broadcast — you receive but never send.
- Half-duplex — Data flows in both directions, but only one at a time. Like a walkie-talkie — you talk, then listen, but can't do both simultaneously.
- Full-duplex — Data flows in both directions simultaneously. Like a phone call — both parties can talk at the same time. Most modern networks use full-duplex.