notesonly.in

One notebook for every subject — open it anywhere.

Log in

Spread Spectrum: FHSS and DSSS Basics With easy examples.

Spread spectrum is the counterintuitive idea of making your signal wider than it needs to be — deliberately. Instead of squeezing data into the narrowest possible band, the transmitter smears it across a broad swath of spectrum using a pseudo-random code. To anyone without the code it looks like faint background noise; to the intended receiver, which knows the code, the signal snaps back into focus.

This trick buys three superpowers: resistance to interference and jamming, the ability for many users to share one band (code-division multiple access), and low probability of interception. The two classic flavours are FHSS (frequency-hopping spread spectrum), which jumps between frequencies, and DSSS (direct-sequence spread spectrum), which multiplies the data by a fast chip code.

Key Concepts

  • Processing gain (PG): the ratio of spread bandwidth to data bandwidth — the jamming-resistance bonus, in dB.
  • Chip: one element of the fast spreading code; chip rate is much higher than the bit rate.
  • FHSS: the carrier hops among many frequencies in a pseudo-random sequence; Bluetooth hops 1600 times per second.
  • DSSS: each data bit is multiplied by a chip sequence (e.g. 11 chips per bit in classic 802.11b), spreading the spectrum directly.
  • Despreading: the receiver multiplies by the same code in sync, collapsing the wide signal back to narrowband while smearing any jammer thin.
  • CDMA: code-division multiple access — many users share one band, separated by different codes.

Formulas

  • Processing gain: PG = Bss/Binfo = Rc/Rb (dimensionless), where Rc is chip rate and Rb is bit rate; in dB: PG(dB) = 10 log10(Rc/Rb).
  • Jamming margin: Mj = PG − (required Eb/N0) − system losses, in dB — how much stronger a jammer can be and still lose.
  • FHSS hop count: Bluetooth uses 79 channels of 1 MHz in the 2.4 GHz band.
  • Assumptions: the spreading code is pseudo-random and known to both ends; the receiver is synchronised to within a fraction of a chip.

Worked Example

Classic 802.11b Wi-Fi sends data at Rb = 1 Mbps using DSSS with an 11-chip Barker code, so Rc = 11 Mcps. Step 1: PG = 11/1 = 11 → 10 log10(11) ≈ 10.4 dB. Step 2: the 1 MHz data signal now occupies ~11 MHz of spectrum — visibly "spread". Step 3: a narrowband interferer (say a microwave oven leaking at one frequency) gets multiplied by the receiver's code and smeared across the full 11 MHz, while the wanted signal collapses back to 1 MHz — the receiver then filters to 1 MHz, keeping most of the signal but only ~1/11 of the interference. Step 4: FHSS contrast — Bluetooth instead hops its 1 MHz signal across 79 channels at 1600 hops/s, so a jammer parked on one channel hits only ~1/79 of the transmission. Two different dances, same immunity.

Common Misconceptions

  • "Spreading wastes spectrum." It looks that way, but CDMA lets dozens of users occupy the same spread band simultaneously — total capacity can exceed FDMA/TDMA schemes.
  • "Spread spectrum is encrypted." Wrong: it hides the signal in noise (low interception probability), but anyone with the code — or enough analysis — reads it; real secrecy needs cryptography on top.
  • "FHSS and DSSS can't coexist." Wrong: Bluetooth (FHSS) and Wi-Fi (DSSS/OFDM) share the 2.4 GHz band daily — adaptive hopping lets Bluetooth dodge busy Wi-Fi channels.

Real-World Applications

  • Bluetooth (FHSS) connects earbuds, keyboards, and wearables.
  • GPS satellites broadcast DSSS signals that receivers dig out from below the noise floor.
  • 3G cellular (WCDMA) gave every user a code instead of a frequency or time slot.
  • Military radios use fast hopping and spreading for jam-resistant, hard-to-detect links.

FHSS dodges interference by never sitting still; DSSS buries the signal under a code only friends know. Both convert bandwidth into toughness through processing gain — the wider you spread, the harder you are to jam, find, or crowd out.