All information in a computer can be viewed as a string of bits: just 1s and 0s. Different types of information are represented in bits in different ways:
Whatever the type of data, the goal of the physical layer is to take a string of bits and transmit them to a receiver across some medium. There are lots of ways that this can be done, today we will look at some of the most common techniques and issues.
To be transmitted across some medium, the digital data must be transformed into an analog signal. This is called modulation. The receiver must then convert the analog signal back into digital data, which is called demodulation. This is done by a modem (which is short for modulator-demodulator).
All analog signals can be viewed as waves:
Properties of waves
In order to represent data in a signal, some part of it must be modulated, or changed. Basic modulation techniques include amplitude modulation (AM) and frequency modulation (FM). These are used for radio signals.
Frequency modulation (top) vs. amplitude modulation
Modern modems use much more complex modulation schemes in order to maximize the efficiency of transmission. The most widely used method is quadrature amplitude modulation (QAM). QAM is an amplitude modulation, like AM, but essentially combines two signals together as one. The two signals are out of phase with each other by 90°. The frequency is kept constant, and because the two signals are also out of phase by a fixed amount, they can be separated mathematically by the receiver.
Bandwidth in network terms refers to the width of the band that a signal is transmitted at. Here a band is a range of allowable frequencies. So bandwidth is measured in Hz and refers to the frequency of a signal.
The Bandwidth determines the theoretical speed of a channel, because a modulated signal must be modulated at a certain frequency. However, there are other factors such as the modulation scheme being used, as well as the signal-to-noise ratio of the transmission.
Throughput is the actual transmission rate of a channel. Throughput is measured in bits per second, or Mbit/s for millions of bits per second.
What has higher throughput, a 10 Mbit/s Internet connection, or a person driving a terabyte hard drive to his friend's house two hours away?
Wired transmissions involve sending a signal across a physical cable from one location to another. There are a few commonly used sorts of cables. One of which is twisted pair Ethernet cables.
A twisted pair Ethernet cable (stock image)
These cables are formed by a set of twisted pairs of wires. Each wire in a pair transmits the same signal, but reversed. When the wires are twisted around each other, radiation from them cancels out, so there is less interference with other wires.
There are different versions of standard Ethernet cables with different qualities. These are called "categories" or "cat" for short:
|Category||Max Transmission Speed||Max Bandwidth|
|3||10 Mbit/s||16 MHz|
|4||16 Mbit/s||20 MHz|
|5||1000 Mbit/s||100 MHz|
|6||10000 Mbit/s||500 MHz|
|7||10000 Mbit/s||600 MHz|
Cat3 and Cat4 cables are older and not used any longer. Cat5 cables are still somewhat used, but becoming obsolete. Cat6 and Cat7 are still very widely used. Cat8 is being developed currently.
Another widely used guided transmission is coaxial cable, often just called "coax". Coax cables have better shielding than twisted pair cables, so they can span longer distances without losing their signal.
A coaxial cable (from Wikipedia)
Coax cables consist of one copper wire surrounded by insulation, and then metal shielding, surrounded by more insulation. The bandwidth of coax depends on the length and construction, but can reach 1000 MHz.
A very different sort of wired connection is a fiber optic one. Fiber optic cables do not transmit an electrical signal at all, instead they carry light from the sender to the receiver. A burst of light signifies a '1', and the absence of light signifies a 0. The sender contains a light source. The receiver has a light sensor which reproduces the original electrical signal.
Optical fibers (from Wikipedia)
The above picture shows bare optical fibers. When used for transmission, these optical fibers are insulated and grouped together in a sleeve.
Fiber optic cables are extremely fast - the limiting factor is the conversion to and from light, not the transmission of the light itself. They are generally not used for individual network connections, but form a large part of the Internet backbone. The backbone is the part of the Internet that contains large amounts of traffic between many different parties.
Wireless transmissions are broadcast as electro-magnetic waves through the air. WiFi is governed by the IEEE 802.11 standard. Currently WiFi uses 2.4 GHz or 5.8 GHz frequencies. For comparison, below are other parts of the electromagnetic spectrum:
|AM Radio||525 - 1705 kHz|
|FM Radio||87.5 - 108 MHz|
|Microwave Ovens||2.45 GHz|
|WiFi||2.4 - 5.8 GHz|
|Infrared||300 GHz - 430 THz|
|Visible Light||430 - 750 THz|
|Ultraviolet Light||750 THz - 30 PHz|
|X-Rays||30 PHz - 30 EHz|
|Gamma Rays||30 - 300 EHz|
The higher a frequency, the shorter the range of the signal. That is why AM radio carries further than FM (though FM has better quality). This means that, while 5.8 GHz WiFi is faster, 2.4 GHz WiFi is still used: it has better range.
Broadcasts over frequencies is governed in the United States by the Federal Communications Commission (FCC). By federal law no broadcasts can be sent without approval. The FCC divides the electromagnetic spectrum into bands which are set aside for certain uses. Since 1994, the FCC has auctioned off bands to the highest bidder. Other nations have similar agencies governing the broadcast of radio waves.
Bluetooth is another wireless transmission. It transmits at 2.4 to 2.485 GHz, similar to WiFi. The main technical difference between WiFi and Bluetooth at the physical layer is that Bluetooth transmits less wattage, which decreases the effective range of broadcast. The range depends on the Bluetooth class:
There are more major differences between Bluetooth and WiFi at the higher levels of the network. Bluetooth is for point-to-point, "ad-hoc" networking, while WiFi is part of the larger Internet.
Older generations of mobile phones (3G and prior) used GSM or CDMA as the underlying broadcast scheme. Both of these provide support for data and voice separately, with packet switching and circuit switching respectively. These standards operated in different frequencies, typically from 800 MHz to 2 GHz.
Newer phones use the LTE (Long-Term Evolution) standard, which is an evolution of GSM. LTE also works across multiple frequencies, according to the location and carrier, from 600 MHz to 2.6 GHz. Unlike GSM and CDMA, LTE mobile phones use packet-switching for all communications, including voice.
Cell phone networks use cell towers to relay data between phones and between other parts of the Internet. Sometimes they are disguised as trees.
A cell phone tower on Route 3 near Fredericksburg
The physical layer deals with the actual transmission of bits from one location to another directly connected to it by some medium. There are many questions the physical layer does not answer:
The first two questions are addressed by the data link layer. The third by the network layer.
Copyright © 2018 Ian Finlayson | Licensed under a Creative Commons Attribution 4.0 International License.