Time Domain — Clean Signal vs Noisy Signal
After Filtering
Frequency Spectrum (FFT)
$SNR = 10\log_{10}\!\left(\dfrac{P_s}{P_n}\right)$
$ENOB = \dfrac{SNR - 1.76}{6.02}$
Quantization noise: $P_n \approx \dfrac{\Delta^2}{12}$
Add white noise, pink noise, or quantization noise to a sinusoidal signal. Compute SNR, ENOB, and noise floor in real time. Visualize time domain and FFT spectrum side by side.
$SNR = 10\log_{10}\!\left(\dfrac{P_s}{P_n}\right)$
$ENOB = \dfrac{SNR - 1.76}{6.02}$
Quantization noise: $P_n \approx \dfrac{\Delta^2}{12}$
The core metric is the Signal-to-Noise Ratio, defined as the base-10 logarithm of the ratio of signal power to noise power, expressed in decibels (dB).
$$SNR = 10 \log_{10}\!\left(\dfrac{P_s}{P_n}\right)$$Where $P_s$ is the average power of the signal and $P_n$ is the average power of the noise. For a pure sine wave of amplitude $A$, $P_s = A^2/2$. A higher SNR value (like 100 dB) indicates a much cleaner signal than a lower one (like 20 dB).
For digital systems, quantization is a key noise source. The noise power from quantizing a signal to $N$ bits over a full-scale range is approximated by:
$$P_{n,quant}\approx \dfrac{\Delta^2}{12}$$Here, $\Delta = \frac{FSR}{2^N}$ is the step size between discrete digital levels, where $FSR$ is the Full-Scale Range. This leads to the concept of Effective Number of Bits (ENOB), which relates the measured SNR to an ideal ADC's performance.
$$ENOB = \dfrac{SNR - 1.76}{6.02}$$The constants 1.76 dB and 6.02 dB per bit come from the theoretical SNR of an ideal N-bit ADC. ENOB tells you the "real" resolution of your system after accounting for all noise.
High-Fidelity Audio Systems: Audio DACs (Digital-to-Analog Converters) strive for SNR values above 110 dB to ensure inaudible noise floors. The "Quantization bits" (N) parameter directly relates to CD quality (16-bit) or high-res audio (24-bit or more). Engineers use tools like this simulator to balance bit-depth with other noise sources.
Precision Instrumentation & Sensors: Medical devices like ECG monitors or scientific sensors measuring tiny voltages require extremely high SNR (often >120 dB). Here, understanding how different noise types (like the 1/f "flicker" noise common in electronics) corrupt the signal is critical for accurate readings.
Communications Systems: In wireless transmission, the signal must be discernible above channel noise. The SNR determines the achievable data rate and range. Analyzing how a target SNR degrades with distance or interference is a fundamental part of designing robust radios and cellular networks.
ADC/DAC Selection and Validation: When designing a data acquisition system, engineers calculate the required ENOB for their application. This simulator helps visualize why a 12-bit ADC might be sufficient for a temperature sensor (low dynamic range needed) but utterly inadequate for professional audio recording.
When you start using this tool, there are a few points you need to be careful about to avoid misjudging performance in practical applications. First, a high SNR does not necessarily mean a good circuit. For instance, if there is significant noise at a specific frequency (tone noise), it might not stand out in the overall average power, resulting in a high calculated SNR, yet that frequency component could be completely audible. Get into the habit of carefully examining the tool's frequency spectrum display to check if the noise is uniformly distributed.
Next is input signal amplitude setting. If you set the "Signal Amplitude" in the tool close to the maximum of 1.0, the SNR will appear better. However, in a real ADC, if the signal exceeds the full-scale range, clipping (distortion) occurs, becoming a significant source of noise. In practice, to achieve your target SNR, it's crucial to design for operation with appropriate headroom (e.g., -3dB from full scale).
Finally, note that the calculated ENOB is a value "under those specific conditions". The tool uses a clean sine wave, but real input signals are more complex. Noise characteristics change with frequency and temperature. If a datasheet states "ENOB = 14 bits @ 1kHz", that's the value at 1kHz input; it's typically lower at 100kHz. Observing how it changes, rather than judging based on a single condition, leads to a true understanding of performance.
For a 1 kHz sine wave sampled at 48 kHz with 0.5 V amplitude and 10 mV Gaussian noise: Signal RMS = 0.354 V, Noise RMS = 0.010 V, SNR = 30.97 dB, ENOB = 5.0 bits. Increasing noise to 50 mV reduces SNR to 20.0 dB and ENOB to 3.3 bits, degrading ADC resolution equivalent. Common in audio codecs: Cirrus CS4398 achieves 120 dB SNR at 24-bit/96 kHz.