Modulation Trade-off Explorer

Modulation Trade-off Explorer

animation
networking-core
modulation
Try Change Modulation and Signal-to-noise ratio (dB), then press Calculate.
Observe Watch modelled symbol rate, occupied-bandwidth estimate, and relative error indicator after pressing Calculate.
Explain Explain why more bits per symbol reduce symbol rate for a fixed bit rate after pressing Calculate.

Technical boundaries. The model assumes ideal symbol timing and one roll-off factor. It excludes coding, fading, interference, and implementation loss.

Modulation Trade-off Explorer

Modulation maps symbols onto a changing carrier property. ASK changes amplitude, FSK selects a tone, PSK changes phase, and QAM combines amplitude with phase. More bits per symbol can reduce occupied symbol rate for a fixed bit rate, but closer signal states need a cleaner link and a more linear radio. Protocol names do not imply one immutable modulation: NFC, Bluetooth, Zigbee, Wi-Fi, CDMA, and LTE each use physical-layer choices appropriate to a band, generation, mode, and data rate. Verify the actual profile rather than inferring it from the badge on a product.

Technology family Link to the explorer Important qualification
NFC ASK/load-modulation ideas make simple amplitude states visible Reader-to-tag and tag-to-reader paths are not identical
Bluetooth Classic / BLE FSK-family behaviour prioritises robust constant-envelope radio; some Classic modes add phase states Classic BR/EDR and BLE are separate physical layers and profiles
Zigbee / IEEE 802.15.4 PSK-family state spacing helps explain noise margin and symbol decisions Band and PHY profile decide the exact modulation and chip mapping
Wi-Fi BPSK, QPSK, and QAM show adaptive spectral-efficiency steps Channel width, coding, spatial streams, and link adaptation also set rate
CDMA systems Phase/amplitude symbols ride on a spreading/code structure Spreading and multi-user interference are absent from this explorer
LTE QPSK/QAM states illustrate scheduled spectral-efficiency choices Coding, resource allocation, MIMO, and channel quality drive the actual selection
viewof defaModulation = Inputs.select(["ASK", "FSK", "BPSK", "QPSK", "16-QAM"], {label: "Modulation", value: "QPSK"})
viewof defaBitRate = Inputs.range([10, 1000], {label: "Target bit rate (kbit/s)", step: 10, value: 250})
viewof defaSnr = Inputs.range([0, 30], {label: "Signal-to-noise ratio (dB)", step: 1, value: 12})
defaModulationResult = {
  const profiles = {
    "ASK": {bits: 1, rolloff: 1.25, threshold: 12, power: "amplitude-sensitive; efficient only with a simple envelope path", points: [[0, 50], [100, 50]]},
    "FSK": {bits: 1, rolloff: 1.70, threshold: 9, power: "constant-envelope friendly, paid for with more bandwidth", points: [[25, 50], [75, 50]]},
    "BPSK": {bits: 1, rolloff: 1.20, threshold: 7, power: "robust phase states with modest amplifier demands", points: [[0, 50], [100, 50]]},
    "QPSK": {bits: 2, rolloff: 1.20, threshold: 10, power: "two bits per symbol with tighter phase accuracy", points: [[20, 20], [80, 20], [20, 80], [80, 80]]},
    "16-QAM": {bits: 4, rolloff: 1.15, threshold: 18, power: "high spectral efficiency, but needs a linear path and cleaner link", points: [[15,15],[38,15],[62,15],[85,15],[15,38],[38,38],[62,38],[85,38],[15,62],[38,62],[62,62],[85,62],[15,85],[38,85],[62,85],[85,85]]}
  };
  const profile = profiles[defaModulation];
  const symbolRate = defaBitRate / profile.bits;
  const bandwidth = symbolRate * profile.rolloff;
  const relativeErrors = Math.min(50, 50 * Math.exp((profile.threshold - defaSnr) / 5));
  const dots = profile.points.map(([x, y]) => html`<span style=${`position:absolute;left:${x}%;top:${y}%;width:11px;height:11px;border-radius:50%;background:#146c94;transform:translate(-50%,-50%);`}></span>`);
  return html`<div class="callout callout-style-default callout-tip"><div class="callout-body-container"><div class="callout-body">
    <div style="position:relative;width:180px;height:180px;border:1px solid #8aa4b3;background:linear-gradient(#edf5f7 1px,transparent 1px),linear-gradient(90deg,#edf5f7 1px,transparent 1px);background-size:45px 45px;margin:.5rem 0;" role="img" aria-label=${`${defaModulation} conceptual signal-state map`}>${dots}</div>
    <p><strong>${defaModulation}</strong>: ${profile.bits} bit(s)/symbol; modelled symbol rate <strong>${symbolRate.toFixed(1)} ksym/s</strong>; occupied-bandwidth estimate <strong>${bandwidth.toFixed(1)} kHz</strong>.</p>
    <p>At ${defaSnr} dB, the model's relative error indicator is <strong>${relativeErrors.toFixed(1)}%</strong>. Power note: ${profile.power}.</p>
    <p><small>This is not a standards conformance or link-budget calculator. It assumes ideal symbol timing, one roll-off factor, and no coding, fading, interference, or implementation loss. Measure spectrum, packet error rate, current, and throughput on the selected NFC/Bluetooth/Zigbee/Wi-Fi/cellular profile.</small></p>
  </div></div></div>`;
}

Back to the chapter