Communication Basics

The physical layer is the lowest layer of the computer network architecture. It carries raw bit streams over a physical transmission medium. To understand how it works, you first need the basic concepts of communication.

1. Channel: the “road” for Data

Channel

A channel is the physical path over which data travels, much like a road connecting two places. Information cannot move from one place to another without a path, and that path is the channel.

Types of Channel

By Transmission Medium

A wired channel behaves like a motorway:

  • Twisted pair: like an ordinary road, cheap but with a limited speed (telephone lines, network cables)
  • Optical fibre: like high-speed rail, extremely fast and highly resistant to interference
  • Coaxial cable: like an expressway, between twisted pair and optical fibre

A wireless channel behaves like an air route:

  • Radio waves: broadcasting, television signals
  • Microwaves: satellite communication, radar
  • Infrared: remote controls, short-range communication

By Transmission Direction

This is the difference between a one-way road and a two-way road:

TypeExplanationEveryday exampleCharacteristic
SimplexTransmission in one direction onlyRadio broadcast → listenerOne side can only send, the other can only receive
Half duplexBidirectional but not simultaneousWalkie-talkieLike a single-lane bridge, the two sides take turns
Full duplexBidirectional and simultaneousTelephone conversationLike a dual carriageway, both sides can talk and listen at once

Characteristics of a Channel

Every channel has its own character, much as every road has its own properties:

  1. Bandwidth: like the width of the road, it decides how many vehicles can pass
  2. Transmission distance: like the length of the road, it affects signal attenuation
  3. Interference resistance: like the quality of the road, it affects transmission stability
  4. Delay: like the traffic conditions, it affects arrival time

2. Signal: the “carrier” of Data

Signal

A signal is the physical representation of data. Just as goods need a truck to be transported, data needs a signal to carry it.

Analog Signals vs Digital Signals

These are two different ways of transporting data:

Analog Signals: a Continuous Curve

Characteristics:

  • Vary continuously, smooth like a wave
  • Can take infinitely many values
  • Easily affected by interference

Everyday examples:

  • 🎵 The audio signal of a traditional radio
  • 📺 The antenna signal of an old television
  • 🌡️ A thermometer reading (a continuous value)
HighLow

Analog signal: a continuously varying curve, smooth like a wave

Digital Signals: Stepping Stairs

Characteristics:

  • Vary discretely, jumping like a staircase
  • Can take only a finite number of values (usually 0 and 1)
  • Highly resistant to interference

Everyday examples:

  • 💻 Data inside a computer
  • 📱 A text message sent from a phone
  • 💡 The state of a switch (on/off)
HighLow

Digital signal: discrete jumps, with only a finite number of values (usually 0 and 1)

Why Do Computer Networks Use Digital Signals?

Converting Signals

Sometimes an analog signal has to be converted into a digital signal, or the other way round:

Analog → digital (sampling, quantisation, encoding) is done by an ADC (analog-to-digital converter); digital → analog is done by a DAC (digital-to-analog converter).

Practical examples:

  • 🎤 Recording: sound (analog) → MP3 file (digital)
  • 🎧 Listening to music: MP3 file (digital) → sound (analog)
  • 📷 Taking a photograph: light (analog) → image file (digital)

3. Bandwidth: the “ceiling” on Transmission Capability

Bandwidth

Bandwidth is the range of frequencies a channel can pass. Just as the width of a road decides how many vehicles can pass at once, bandwidth decides how much data can be transmitted.

Two Meanings of Bandwidth

Physical Bandwidth (Frequency Bandwidth)

Unit: Hz (hertz)

Meaning: the range of frequencies the channel can pass

Examples:

  • Telephone line: 300-3400 Hz, a bandwidth of about 3.1 kHz
  • FM broadcast: 88-108 MHz, a bandwidth of 20 MHz
  • WiFi 2.4GHz: 2400-2483.5 MHz, a bandwidth of 83.5 MHz

Data Bandwidth (Transmission Rate)

Unit: bps (bits per second)

Meaning: the amount of data that can be transmitted per second

Examples:

  • Dial-up: 56 kbps
  • Home broadband: 100 Mbps
  • Fibre broadband: 1000 Mbps (1 Gbps)

The Relationship Between Bandwidth and Transmission Rate

What Bandwidth Means in Practice

Everyday analogy:

ScenarioBandwidth analogySpeed analogy
A single-lane back road1 laneSlow, easily congested
A dual carriageway4 lanesFast, smooth
A long bridge across a river8 lanesVery fast, heavy traffic
A fibre network100 lanesExtremely fast, enormous data volumes

Practical impact:

  • 📶 At 10 Mbps: downloading a 1GB film ≈ 13 minutes
  • 📶 At 100 Mbps: downloading a 1GB film ≈ 1.3 minutes
  • 📶 At 1000 Mbps: downloading a 1GB film ≈ 8 seconds

4. Symbol, Baud, and Rate: the “units” of Transmission

These three concepts are easily confused, so take them one at a time.

Symbol: the “atom” of a Signal

Symbol

A symbol is the smallest unit of a digital signal, just as an atom is the smallest unit of matter. One symbol is one signal change.

In plain terms:

  • One high-to-low or low-to-high change in a digital signal is one symbol
  • One symbol can carry one bit (0 or 1)
  • It can also carry several bits (for example 00, 01, 10, 11)

Examples:

  • Binary symbols: only two states, 1 symbol = 1 bit

    High level = 1
    Low level = 0
  • Quaternary symbols: four states, 1 symbol = 2 bits

    High high = 11
    High low = 10
    Low high = 01
    Low low = 00

Baud Rate: the “speed” of Symbols

Baud Rate

The baud rate is the number of symbols transmitted per second, like the number of trucks passing each second.

Unit: Baud

Calculation: Baud rate = number of symbols / seconds

Examples:

  • A baud rate of 1200 Baud = 1200 symbols transmitted per second
  • A baud rate of 2400 Baud = 2400 symbols transmitted per second

Bit Rate: the “speed” of Data

Bit Rate

The bit rate is the number of bits transmitted per second, like the number of crates of goods carried each second.

Unit: bps (bits per second)

The important relationship: Bit rate = baud rate × number of bits per symbol

Worked Examples

Comparison table:

Modulation schemeNumber of symbol statesBits per symbolBaud rateBit rate
Binary2110001000
Quaternary4210002000
Octal8310003000
Hexadecimal16410004000

The underlying rule: n=log⁡2Mn = \log_2 M

where:

  • nn = number of bits per symbol
  • MM = number of symbol states

5. Source and Sink: the “Start and End” of Communication

Source: the “Origin” of Information

Source

The source is the party that sends information and produces the data to be transmitted. It is like the sender of a parcel.

Common sources:

  • 📱 A phone: sends text messages and photos
  • 💻 A computer: sends files and email
  • 🎤 A microphone: captures sound
  • 📹 A camera: captures video
  • 🌡️ A sensor: captures temperature, humidity, and similar data

Sink: the “Destination” of Information

Sink

The sink is the party that receives information and processes the data. It is like the recipient of a parcel.

Common sinks:

  • 📱 A phone: receives text messages and photos
  • 💻 A computer: receives files and email
  • 🔊 A speaker: plays back sound
  • 🖥️ A monitor: displays images
  • 📊 A database: stores data

The Communication Model

A complete communication process is like the movement of a parcel:

Source (data is produced)
Encoding (packing)
Channel (transport)
Decoding (unpacking)
Sink (data is received)

The role of each stage:

StageParcel analogyRole in communication
SourceSenderProduces the data
Transmitting devicePackerTurns the data into signals
ChannelDelivery truckCarries the signals
Receiving deviceUnpackerTurns the signals back into data
SinkRecipientReceives the data

6. The Complete Communication System Model

A complete communication system has several stages, just as a complete logistics system does:

Source
Transmitting Device
Channel
Receiving Device
Sink

Details of Each Part

1. Source

Role: produces the original information

Examples:

  • A person speaking
  • A computer generating a file
  • A sensor collecting data

2. Transmitter

Role: converts the information into signals suited to transmission

Functions:

  • Encoding: encodes the data into a digital signal
  • Modulation: modulates the digital signal onto a carrier
  • Amplification: increases the signal power

Examples:

  • The transmit circuit of a phone
  • The transmit module of a router
  • The transmitter of a radio station

3. Channel

Role: the medium over which the signals travel

Types:

  • Wired: twisted pair, optical fibre, coaxial cable
  • Wireless: radio, microwave, infrared

Characteristics:

  • Bandwidth limits
  • Attenuation
  • Delay
  • Noise

4. Receiver

Role: turns the signals back into information

Functions:

  • Demodulation: extracts the signal from the carrier
  • Decoding: turns the signal back into data
  • Filtering: removes noise interference

Examples:

  • The receive circuit of a phone
  • The receive module of a router
  • The receive circuit of a radio

5. Sink

Role: receives and processes the information

Examples:

  • A person hearing a voice
  • A computer storing a file
  • A monitor displaying an image

6. Noise Source

Noise

Noise is any factor that interferes with signal transmission, like the various obstacles encountered during transport.

Types of noise:

TypeSourceEffectRemedy
Thermal noiseHeating of electronic componentsRandom interferenceLower the temperature, shield
CrosstalkInterference from adjacent signal linesSignal distortionTwisted pair, shielding
Impulse noiseLightning, motor start-upBursts of interferenceFiltering, error correction
AttenuationTransmission distanceWeakening of the signalRepeaters, amplifiers

Everyday analogies:

  • 🚗 Making a call on a noisy street (environmental noise)
  • 📻 Poor reception in the mountains (attenuation)
  • 📱 No signal in a lift (shielding)

Practical Examples

Example 1: Making a Phone Call

The complete communication process of a phone call:

  1. Source: you speak (a sound signal, an analog signal)
  2. Transmitting device: the microphone turns the sound into an electrical signal
  3. Encoding: the phone converts the analog signal into a digital signal
  4. Modulation: the digital signal is modulated onto radio waves
  5. Channel: it travels over base stations and the fibre network
  6. Demodulation: the other phone extracts the signal from the radio waves
  7. Decoding: the digital signal is converted back into an analog signal
  8. Receiving device: the speaker turns the electrical signal into sound
  9. Sink: the other person hears your voice

Example 2: Browsing the Web

  1. Source: you click a link
  2. Transmitting device: the computer encodes the request into a digital signal
  3. Channel: it travels over the network cable / WiFi
  4. Relaying: it passes through several routers
  5. Receiving device: the server receives the request
  6. Processing: the server processes the request
  7. Source: the server returns the page data
  8. Channel: it travels back over the network
  9. Receiving device: the computer receives the data
  10. Sink: the browser displays the page

Exercises

Exercise 1

What is a channel, and how can channels be classified?

ChannelTransmission MediumSimplexHalf DuplexFull Duplex

Approach

Start from the definition of a channel, then classify it along the three axes that matter in practice: the medium it runs over, the direction the data flows, and the way several signals share it.

Steps

  1. State the definition: the physical path over which data travels.
  2. Classify by transmission medium: wired channels and wireless channels.
  3. Classify by transmission direction: simplex, half duplex, and full duplex.
  4. Classify by multiplexing method: time, frequency, and code division multiplexing.

Answer

A channel is the physical path over which data travels. It is the medium through which information is transmitted, much like a road connecting two places.

The classification of channels:

  1. By transmission medium:

    • Wired channels: twisted pair, optical fibre, coaxial cable
    • Wireless channels: radio waves, microwaves, infrared
  2. By transmission direction:

    • Simplex channel: one direction only (such as broadcasting)
    • Half duplex channel: bidirectional but not simultaneous (such as a walkie-talkie)
    • Full duplex channel: bidirectional and simultaneous (such as a telephone)
  3. By multiplexing method:

    • Time division multiplexing: different signals at different times
    • Frequency division multiplexing: different signals at different frequencies
    • Code division multiplexing: different signals with different codes

Exercise 2

What is the difference between an analog signal and a digital signal, and why do computer networks mainly use digital signals?

Analog SignalDigital SignalInterference ResistanceADCDAC

Approach

Compare the two signals on the three axes that separate them: how they vary, how many values they can take, and how they behave in the presence of interference. Then explain why the second property makes digital signals the natural choice for a computer network.

Steps

  1. Contrast continuity: the analog signal varies smoothly, the digital signal jumps between discrete levels.
  2. Contrast the set of values: infinitely many against a finite set.
  3. Contrast resistance to interference: the analog signal distorts, the digital signal does not.
  4. Give the reasons for the choice: interference resistance, storage, error correction, confidentiality, and compatibility.

Answer

The main differences:

  1. Continuity:

    • Analog signal: varies continuously, like a wave
    • Digital signal: varies discretely, like a staircase
  2. Values it can take:

    • Analog signal: infinitely many values
    • Digital signal: only a finite number of values (0 and 1)
  3. Resistance to interference:

    • Analog signal: easily distorted by interference
    • Digital signal: highly resistant to interference

Why digital signals are used:

  1. Strong resistance to interference: only 0 or 1 has to be judged, so errors are unlikely
  2. Easy to store: computers handle digital data well
  3. Well-established error correction: mature detection and correction algorithms exist
  4. Better confidentiality: digital data is easy to encrypt
  5. Good compatibility: it fits computer systems naturally

Exercise 3

What is the relationship between baud rate and bit rate? If a system runs at 2400 Baud and uses quaternary transmission, what is the bit rate?

Baud RateBit RateQuaternaryLogarithm

Approach

Start from the defining relationship, then apply it. The number of bits a symbol carries follows from the number of states the symbol has, so the bit rate is the baud rate multiplied by that number.

Steps

  1. State the relationship: bit rate = baud rate × number of bits per symbol.
  2. Read the given values: 2400 Baud, quaternary transmission.
  3. Note that a quaternary symbol has four states, so it carries log₂4 = 2 bits.
  4. Multiply the baud rate by the bits per symbol.
  5. Check the result against the intuitive reading of the figures.

Answer

The relationship:

Bit rate = baud rate × number of bits per symbol

The calculation:

Given:

  • Baud rate = 2400 Baud
  • Quaternary transmission (4 symbol states)

Calculation:

  1. A quaternary symbol can represent 4 states: 00, 01, 10, 11
  2. Number of bits per symbol = log₂4 = 2 bits
  3. Bit rate = 2400 × 2 = 4800 bps

Answer: the bit rate is 4800 bps

In plain terms:

  • A baud rate of 2400 Baud: 2400 symbols are transmitted each second (like 2400 trucks)
  • 2 bits per symbol: each truck carries 2 crates
  • A bit rate of 4800 bps: 4800 crates are carried each second

Exercise 4

Explain the role of each part of the communication system model, and give an example.

SourceTransmitterChannelReceiverSinkNoise

Approach

Walk through the model stage by stage, giving each stage its role, a concrete example, and the functions it performs. Then assemble the stages into one end-to-end example.

Steps

  1. List the five stages of the model plus the noise source.
  2. For each stage, give the role, an example, and the functions it performs.
  3. Close with a single example that chains all the stages together.

Answer

The communication system model:

Source
Transmitting Device
Channel
Receiving Device
Sink

The role of each part:

  1. Source: produces the original information

    • Example: a person speaking, a computer generating a file
  2. Transmitting device: converts the information into signals

    • Example: a microphone turning sound into an electrical signal
    • Functions: encoding, modulation, amplification
  3. Channel: the medium over which the signals travel

    • Example: twisted pair, optical fibre, radio waves
    • Characteristics: bandwidth, attenuation, noise
  4. Receiving device: turns the signals back into information

    • Example: a speaker turning an electrical signal into sound
    • Functions: demodulation, decoding, filtering
  5. Sink: receives and processes the information

    • Example: a person hearing a voice, a computer storing a file
  6. Noise source: interferes with signal transmission

    • Example: thermal noise, crosstalk, impulse noise

A complete example:

During a phone call: you (source) speak → the phone (transmitting device) encodes → radio waves (channel) carry it → the other phone (receiving device) decodes → the other person (sink) hears it

Found an issue with this content?

Tell us what could be improved.