Data and Signals in Data Communication: Physical Layer Fundamentals
Physical Layer Communication Architecture
- Communication at the physical layer involves transmitting data and signals between source and destination entities across interconnected networks.
- Network architecture consists of layered protocols (Application, Transport, Network, Data-link, Physical) operating across local area network (LAN) switches, wide area network (WAN) switches, routers, point-to-point WAN links, and Internet Service Providers (ISPs).

Data and Signals Fundamentals
Analog and Digital Data:
- Information can be classified as either analog or digital.
- Analog data refers to continuous information (e.g., an analog clock with hour, minute, and second hands moving continuously).
- Digital data refers to information that has discrete states (e.g., a digital clock jumping discretely from 8:05 to 8:06).
Analog and Digital Signals:
- Data must be converted into electromagnetic signals for transmission.
- An analog signal has infinitely many levels of intensity over a period of time. As the wave transitions from value A to value B, it passes through an infinite continuous range of values along its path.
- A digital signal can have only a limited number of defined discrete values (often simplified to binary values and ).

- Periodic and Nonperiodic Signals:
- A periodic signal completes a pattern within a measurable time frame, termed a period (), and repeats that pattern over subsequent identical periods. The completion of one full pattern is called a cycle.
- A nonperiodic (or aperiodic) signal changes continuously without exhibiting a pattern or cycle that repeats over time.
- Both analog and digital signals can exist in periodic or nonperiodic forms.
- Data communication utilizes periodic analog signals and nonperiodic digital signals.
Periodic Analog Signals
- Sine Wave Fundamentals:
- The sine wave is the most fundamental form of a periodic analog signal, representing a smooth and continuous rolling flow.
- Each cycle consists of a single arc above the time axis followed by a single arc below it.

- Peak Amplitude:
- Peak amplitude is the absolute value of a signal's highest intensity, proportional to the energy carried by the signal.
- For electric signals, peak amplitude is measured in Volts ().
- Direct current (DC) voltage, such as a constant output from a standard AA battery, represents a constant value equivalent to a zero-frequency sine wave.

- Period and Frequency:
- Period () is the amount of time, expressed in seconds, required to complete one full cycle.
- Frequency () is the number of periods or cycles completed in , expressed in Hertz ().
- Period and frequency are inversely related:

Units of Period and Frequency:
- Seconds () correspond to Hertz () =
- Milliseconds () = correspond to Kilohertz () =
- Microseconds () = correspond to Megahertz () =
- Nanoseconds () = correspond to Gigahertz () =
- Picoseconds () = correspond to Terahertz () =
Household Power Example:
- Standard electric power distributed to homes operates at a frequency of .
- The period of this power signal is calculated as:
- Phase:
- Phase (or phase shift) describes the position of the waveform relative to time , indicating the status or alignment of the first cycle.
- Measured in degrees () or radians ().
- A phase shift of starts at time with zero amplitude and increases toward a positive peak.
- A phase shift of (equivalent to a time shift of ) starts at time at maximum peak amplitude and decreases.
- A phase shift of (equivalent to a time shift of ) starts at time with zero amplitude and decreases toward a negative peak.

- Wavelength:
- Wavelength () binds the period or frequency of a simple sine wave to the propagation speed () of the transmission medium.
- Wavelength represents the distance one cycle occupies in space as it travels through a medium:

Time and Frequency Domains
Time-Domain Representation:
- A time-domain plot displays changes in signal amplitude with respect to time (amplitude-versus-time plot).
- Phase is not explicitly visualized in a standard time-domain plot.
Frequency-Domain Representation:
- A frequency-domain plot displays peak amplitude with respect to frequency (amplitude-versus-frequency plot).
- A single simple sine wave is represented in the frequency domain by a single vertical spike, where the position along the horizontal axis indicates frequency and height indicates peak amplitude.
- Frequency-domain plots provide a compact representation when analyzing complex or multiple sine waves.

- Multiple Sine Waves Domain Analysis:
- Consider three sine waves with amplitudes of , , and at frequencies of , , and respectively.
- In the frequency domain, these are concisely represented by three individual discrete spikes at positions , , and with heights corresponding to , , and .

Composite Signals and Bandwidth
Composite Signals:
- A single frequency sine wave can carry power (e.g., power line) or simple binary signals (e.g., security alarm trigger), but cannot transmit complex data.
- Data communications requires a composite signal made of many simple sine waves combined together.
- According to Fourier analysis, any composite signal can be decomposed into a combination of simple sine waves with different frequencies, amplitudes, and phases.
Periodic Composite Signals:
- A periodic composite signal can be decomposed into a series of discrete frequency sine waves (harmonics) such as fundamental frequency , , , etc.


- Nonperiodic Composite Signals:
- Nonperiodic composite signals produce a continuous frequency spectrum rather than discrete spikes.
- An example is human speech transmitted via a microphone or telephone line, spanning continuous frequencies up to .

- Signal Bandwidth:
- Bandwidth () is the range of frequencies contained within a composite signal, calculated as the difference between the highest frequency () and the lowest frequency ():

- Bandwidth Calculations and Examples:
- Discrete Periodic Signal Example: A periodic signal composed of five sine waves at , , , , and with peak amplitudes of has a bandwidth of:

- Continuous Spectrum Example: A periodic signal with bandwidth and highest frequency containing all integer frequencies has a lowest frequency of:

- Symmetric Nonperiodic Signal Example: A nonperiodic signal with bandwidth , middle frequency , peak amplitude , and extreme amplitudes spans from:

- Real-World Radio Frequency Allocations:
- AM Radio Stations: Each station is assigned a bandwidth within the total assigned spectrum range of to .
- FM Radio Stations: Each station is assigned a bandwidth within the total assigned spectrum range of to .
Digital Signals and Transmission
- Signal Levels and Bit Capacity:
- A digital signal uses discrete voltage levels (e.g., positive voltage for binary and zero voltage for binary ).
- When a digital signal possesses discrete voltage levels, the number of bits () carried per level is calculated as:

- Two-Level Signal (): Each level represents (). Sending yields a bit rate of .
- Four-Level Signal (): Each level represents (). Sending yields a bit rate of .
- Eight-Level Signal (): Number of bits per level is:
Nine-Level Signal Example: Calculating bits per level. Because bits per level must be an integer power of , per level are required to cover levels.
- Bit Rate and Bit Length:
Bit rate is the number of bits transmitted per second, expressed in bits per second ().
Bit length is the physical distance one bit occupies on the transmission medium:
- Spectral Analysis of Digital Signals:
- Fourier analysis demonstrates that a digital signal is a composite analog signal with an infinite bandwidth.
- Vertical signal transitions in the time domain correspond to an infinite frequency (), while flat horizontal signal levels correspond to zero frequency ().

- Baseband Transmission:
- Baseband transmission sends a digital signal directly across a channel without converting it to an analog wave.
- Requires a low-pass channel (a channel with a bandwidth starting at ).



Local Area Network (LAN) Channel Allocation:
- In a wired LAN, the entire link bandwidth serves as a dedicated baseband channel.
- Bus topology LANs use multipoint time-sharing where only two stations communicate simultaneously.
- Star topology LANs provide dedicated physical communication links between each station and the central hub/switch.
Baseband Bandwidth and Harmonic Approximation:
- To approximate a digital signal at bit rate , low-pass channels pass odd harmonics:
- Harmonic 1 minimum bandwidth requirement:
- Harmonics 1 and 3 bandwidth requirement:
- Harmonics 1, 3, and 5 bandwidth requirement:
Baseband Bandwidth Examples:
- Transmission:
- Rough approximation (Harmonic 1):
- Better approximation (Harmonics 1, 3):
- High accuracy approximation (Harmonics 1, 3, 5):
- Low-Pass Channel: Max bit rate achievable utilizing the first harmonic is .
Broadband Transmission:
- Broadpass/Bandpass channels have a lower frequency limit greater than ().
- Digital signals cannot be directly transmitted over a bandpass channel; they must be modulated onto an analog carrier wave.

Transmission Impairments
- Impairments occur during transmission through imperfect media, causing the received signal to differ from the transmitted signal.
- The three primary causes of impairment are attenuation, distortion, and noise.

- Attenuation and Decibels:
- Attenuation is the loss of signal energy caused by resistance in the transmission medium, converting electrical energy to heat.
- Amplifiers are placed along transmission lines to compensate for attenuation.

- Signal strength changes are measured in decibels ():
- Half Power Example: If power is halved ():
- A loss of () corresponds to losing half of the original power.
- Tenfold Power Example: If power is increased 10 times ():
- Cascading Points Example: For a multi-segment link (Point 1 to Point 4) with attenuation, amplification, and attenuation, the net decibel change is:

- Unit: Measures signal power relative to ():
- For a signal power of :
- Cable Loss Calculation Example: A cable with a loss rate of and initial power :
- Distortion:
- Distortion occurs in composite signals when individual frequency components travel at different speeds through the medium, arriving with varying delays and phase shifts.

- Noise:
- Noise is external unwanted energy introduced into the transmission system.
- Thermal Noise: Random motion of electrons in conductors creating unwanted background signals.
- Induced Noise: Signal interference from external devices such as motors and appliances.
- Crosstalk: Electromagnetic interference caused by one wire affecting an adjacent wire.
- Impulse Noise: High-energy spikes from power lines or lightning strikes.

- Signal-to-Noise Ratio (SNR):
- Ratio of average signal power to average noise power:

- High SNR Calculation Example: Signal power , noise power :
- Ideal Noiseless Channel: Noise power , yielding:
Data Rate Limits
- Nyquist Bit Rate (Noiseless Channel):
- Defines theoretical maximum bit rate for a noiseless channel:
- Where is channel bandwidth in Hertz and is the number of signal levels used.
- Two-Level Example (, ):
- Four-Level Example (, ):
- Required Levels Example (, ):
Selecting integer power of 2: levels achieves ; levels achieves .
- Shannon Capacity (Noisy Channel):
Determines the theoretical highest data rate capacity () for a noisy channel:
- Extreme Noise Example ():
- Standard Telephone Line Example (, ):
- High SNR Example (, ):
- Simplified High-SNR Formula: When SNR is extremely large, , simplifying to:
- Combined Limit Application Example:
- Given channel bandwidth and :
- Step 1: Use Shannon Capacity to determine upper bound:
- Select a operating data rate below capacity limit: .
- Step 2: Apply Nyquist formula to calculate signal levels ():
Network Performance Metrics
Bandwidth Dimensions:
- Bandwidth in Hertz (): Range of frequencies passed by a physical medium.
- Bandwidth in Bits per Second (): Speed of data transmission supported by a channel.
- Subscriber line with bandwidth yields up to with modern modems; expanding line bandwidth to yields .
Throughput:
- Measure of actual data transmission rate achieved through a link ().
- Throughput Example: A bandwidth network passing an average of frames per minute, with each frame containing :
- Latency (Delay) Components:
- Latency is the time required for an entire message to reach the destination after the first bit leaves the source, consisting of four delay components:
- Latency Calculations:
- Transatlantic Propagation Example: Distance , propagation speed :
- Small Message / High Bandwidth Example ( message, bandwidth, distance):
- Propagation delay dominates due to small packet size and high speed.
- Large Message / Low Bandwidth Example ( image, bandwidth, distance):
Transmission delay dominates due to large file size and low throughput.
- Bandwidth-Delay Product:
Represents the maximum volume of bits that can fill a transmission link (pipe) at any instant:

- Case 1 (, ): Volume .

- Case 2 (, ): Volume .

- Jitter:
- Jitter is the variation in arrival delay among consecutive data packets.
- Disrupts time-sensitive applications such as real-time audio and video streaming (e.g., arrival delays fluctuating between , , and cause playback distortion).