• A link is

  • Connection-oriented service

  • Connection-less service

  • Link Classification

    • Last-Mile
    • Backbone
    • LAN

Signal processing

  • ADC (analog-to-digital converter) is a device that converts a continuous analog signal to a discrete digital signal

    • Sampling converts a continuous-time signal to a discrete-time signal, a sequence of numbers , where:
      • is the sampling period (or sampling interval).
      • is the sampling frequency (or sampling rate) which is the number times per second the original analog voltage is measured (“sampled”)
    • Quantization replaces input values by an approximation from a finite set of values
      • The resolution (or bit depth) is the number of bits or values for the voltage of each sample (=measurement)
      • The difference between the original continuous analog signal and its digital approximation is called the quantization error (or quantization noise)
  • DAC (digital-to-analog converter) is a device that converts a digital signal to an analog signal

    • Spectral band
    • frequency band
    • Digital data
    • A digital signal is a signal that represents data as a sequence of discrete values
    • analog signal
    • analog data
  • The spectrum of a signal is the range of frequencies it contains

  • The center frequency of a channel is defined in two ways:

    • (arithmetic mean, most common)
    • (geometric mean)
  • The (analog) bandwidth (or frequency bandwidth) (רוחב סרט) is the range of frequencies that a channel can transmit, defined as (unit: Hz)

    • The effective bandwidth refers to the range of frequencies within which a significant portion of the signal’s power or energy is concentrated.
  • Fractional bandwidth:

  • The symbol rate (or baud rate) is the number of symbols transmitted per unit time

    • the number of times the signal changes state per second
    • (unit: baud (Bd) = symbols per second)
  • The symbol duration time is the time taken to transmit one symbol (unit: seconds)

  • (Nyquist’s formula)

    • (for a noiseless channel)
    • : symbol rate (in )
    • : modulation order (number of distinct symbols, or distinct amplitude (or phase, or frequency) levels)
    • : bit rate (in )
    • = number of bits encoded per symbol
    • is the bandwidth of the channel (Hz)
    • is the Nyquist rate (in symbols per second (baud)), which is the maximum symbol rate
    • is the channel capacity (in bps) (maximum bit rate)
  • The Nyquist rate of a signal is defined as (in samples per second (Hz)), where is the highest frequency present in the signal (in Hz)

  • The Nyquist frequency (in Hz) is defined as , where is the sampling rate (in samples per second (Hz)), and is the highest frequency that can be accurately represented when sampling at .

  • (Shannon–Hartley theorem) is the channel capacity (in bps) (maximum possible data rate) of a channel with bandwidth (in Hz) and signal-to-noise ratio

  • is the spectral efficiency (in bps/Hz)

  • : signal-to-noise ratio (SNR) (unitless)

    • : signal-to-noise ratio (in dB)
    • : signal power (in watts)
    • : noise power (in watts)
  • Nyquist–Shannon sampling theoremtodo

Performance

Bandwidth

  • (unit: bits per second, bps)
  • The bit rate (קצב נתונים) is the number of bits transmitted per a unit of time (unit: bps, bits per second)
  • The data bandwidth (or digital bandwidth or simply bandwidth) is the maximum data rate that can be transmitted over a communication channel
Throughput
  • Network throughput (or just throughput) (in bps) is a measurement of the average amount of data that actually passes through a network in a specific time frame, taking into account the impact of latency

Latency

  • latency is the amount of time it takes for a packet of data to travel between two points across a network connection
  • latency (also called delay (?)todo) is the time it takes for data to pass from one point on a network to another
  • (Propagation delay)
  • (Transmission delay)
  • (Queueing delay)
  • (Processing delay)
  • round-trip time (RTT) (or (round-trip delay (RTD)): the time it takes for a signal to travel from the source to the destination and back again

Bandwidth-delay product

  • The bandwidth-delay product, , in bits, is the amount of data that can be in transit in the network at any given time

Stop-and-wait

File transfer time

  • Minimum transfer time:

    • , where is the number of RTTs needed for handshaking
    • (Continuous pipeline)
    • (Stop-and-wait)
    • (window-limited)
      • is the window size (packets per RTT)
    • is the number of packets needed to transmit the file

encoding

  • baseline wander

350

An arbitrary bit pattern in various binary line code formats (source: commons.wikimedia.org)

  • non-return to zero (NRZ or NRZ‑L): low: 0, high: 1
  • non-return to zero inverted (NRZI): change at the start: 1, no change at the start: 0
  • Manchester: transition at the midpoint.
    • (G. E. Thomas) low-to-high: 1, high-to-low: 0
    • (IEEE 802.3) low-to-high: 0, high-to-low: 1
  • Differential Manchester: transition at the midpoint. change at the start: 0, no change at the start: 1

modulation

DataSignalEncoding/Conversion Technique
AnalogAnalogAM, FM
Digital(Square-wave) digitalNRZ, NRZI, Manchester, Differential Manchester
Digital(Discrete) analog
AnalogDigital

Framing

  • A frame

errors

  • A bit error is when a bit is received incorrectly (0 instead of 1 or vice versa)

  • A burst error is when a sequence of bits is received incorrectly

  • The bit error ratio is defined as

  • The bit error probability is defined as

  • error detection:

    • goal: transmit a message of length with redundant bits
    • the sender transmits . The receiver receives and checks if , if yes, assume no error with high probability, else, error detected
  • internet checksum

    • message is divided into words of 16 bits:
    • the checksum is (where is the bitwise NOT operation. The sum is done using ones’ complement addition)
    • the sender sends
    • the receiver computes (using ones’ complement addition) and checks if , if yes, assume no error, else, error detected