Course contentsShow
← Computer Science
Lesson 1443 of 2,87233. Networking FundamentalsFree lesson

Signal Encoding and Modulation

How digital data is encoded into analog or digital signals for transmission over physical channels.

Signal Encoding and Modulation

What You'll Learn

You'll learn how digital data (bits) is transformed into physical signals—either analog or digital—so they can travel across cables, fiber, or wireless channels.


The Core Idea

Computers work with binary data (0s and 1s), but physical transmission media like copper wires or radio waves carry signals—patterns of voltage, light, or electromagnetic waves. Signal encoding is the process of representing digital data as a signal suitable for transmission, and modulation is how we impress that data onto a carrier wave (especially for analog channels).

Think of it like converting a written letter into Morse code for transmission over a telegraph: the content stays the same, but the form changes to match the medium.


Digital Encoding

When encoding digital data onto a digital signal, we map bits to voltage levels, pulses, or transitions:

  • Non-Return-to-Zero (NRZ): 1 = high voltage, 0 = low voltage. Simple, but long runs of the same bit can cause synchronization issues.
  • Manchester Encoding: Each bit period has a transition—0 transitions low-to-high, 1 high-to-low. Self-clocking and more reliable.
  • 4B/5B: Maps every 4 data bits to a 5-bit pattern that ensures enough transitions for clock recovery.

Analog Modulation

For analog channels (e.g., radio, telephone lines), we modulate a continuous carrier wave:

  • Amplitude Modulation (AM): Vary signal strength to encode data.
  • Frequency Modulation (FM): Vary the frequency.
  • Phase Modulation (PM): Shift the wave's phase.

These techniques let digital data ride along analog media, enabling everything from dial-up modems to Wi-Fi.


Key Takeaway:
Signal encoding and modulation convert digital data into physical signals—either digital patterns or modulated analog waves—so bits can travel across real-world transmission media.