Back to playground

NRZ vs PAM4: levels, noise and misread symbols

See why packing more levels into the same signal range makes the same noise cause more errors.

The interactive part of this page needs JavaScript, which is switched off in your browser.

A transmitter sends one of M brightness levels spread across a fixed range from 0 to 1. The receiver sees the level plus Gaussian noise (σ) and picks the nearest level. More levels means smaller gaps, so the same noise causes more mistakes.

0.050

Try σ = 0.08 on NRZ, then switch to PAM4 without moving the slider.

Gap between levels1/3= 0.333 of full range
Bits per symbol2log2(4)
Measured symbol error rate1 in 2,2229 wrong out of 20,000 = 4.5e-4
Theoretical symbol error rate6.4e-4about 1 in 1,554

Same noise, levels 3× closer → errors go from 7.6e-24 (NRZ) to 6.4e-4 (PAM4).

1. Received waveform

Gray line: what was sent. Blue dots and line: what the receiver measured. Red dotted lines: decision thresholds. Red dot with × : decided as the wrong level.

0 of 40 symbols in this view were decided as the wrong level. Press Resample for a new set.

2. Eye diagram

Each faint trace is one symbol period, shown across 2 unit intervals (UI), with the sampling instant at the center. Open space between the stacked eyes is where a clean decision is possible. Red dotted lines: decision thresholds.

3. Histogram at sampling instant

20,000 simulated symbols, sampled at the center. Bar length = how many symbols landed at that amplitude. Blue = decided correctly, red with stripes = decided wrong. Red where the tails cross a red dotted threshold is where errors come from.

HighlightsExperienceSkillsFeatured projectsMore projectsPlaygroundGitHub activityAboutContact
cuRidingAlternative SignalsBrightspace DeadlinesVisionCompanionEcoCartCPU Cache BenchmarkScheduleScoopcurateNorth StarMarkitRelational Algebra Query ProcessorStudent Management SystemPDF MergerHome Server
Follow a packet across the internetNRZ vs PAM4: levels, noise and misread symbols
GitHubLinkedIn