Electrical Noise
Electrical noise is the unintentional (most of the time, but not in the case of stochastic resonance1, dither, or random number generation) introduction of voltage/current disturbance in an electrical signal. Noise is added to a signal as it flows through a circuit/cable by the circuit components themselves, as well as being picked up by electromagnetic means from the surrounding environment. Noise is also emitted by a signal via electromagnetic means to the surrounding environment.
This page focuses on noise created by electronics components such as resistors, how to model it, and what it looks like. If you want to know how to protect your circuit from transient voltage spikes and other ESD events, see the ESD Protection page.
Noise Related Variables And Units
Noise Power Spectral Density (PSD)
The noise power spectral density (PSD) is a measure of the noise power per Hertz of bandwidth in a signal. It also called the noise spectral density, noise power density, or just noise density. Typically denoted with and has units . The in the symbol is used to distinguish a density (i.e., per ). Without the , represents a noise power over a specified bandwidth.
In the case that the noise power spectral density is constant (white noise), the noise power can be calculated from the noise power density with the following equation:
where:
is the noise power, in Watts
is the bandwidth of the signal, in Hertz
is the white noise power spectral density, in
Noise power spectral density can be either one-sided or double-sided. TODO: Add more info on this.
Noise Amplitude Spectral Density (ASD)
Noise amplitude spectral density (ASD) is an alternative to specifying a noise power spectral density. Instead of the noise power (in Watts), the noise “amplitude” is used. The amplitude is almost always either voltage or current (with voltage being the more common of the two). The symbol and units depend on whether voltage or current is used:
- Noise voltage spectral density: Typical symbol and has units
- Noise current spectral density: Typical symbol and has units
The noise voltage spectral density can be calculated from the noise power spectral density if you assume the load is a resistance of :
where:
is the noise voltage spectral density, in
Colours Of Noise (Power Law Noise)
The colour of noise refers to the shape of the power spectral density (PSD) with respect to the frequency. The category of noises that are assigned colours can also be called power law noise, as it’s PSD is proportional to , where can be a positive (most commonly) or negative integer.
- White noise: White noise is the simplest form of noise, and has a flat power spectral density when plotted against frequency (it has a spectral power density proportional to ).
- Pink noise: Pink noise has a spectral power density proportional to .
- Red noise: Red noise has a spectral power density proportional to . Also called Brownian noise.
- Blue noise: Blue noise has a spectral power density proportional to .
- Violet noise: Violet noise has a spectral power density proportional to .
If you don’t have access to equipment that can perform a spectrum/frequency analysis on measured voltages or currents, you can roughly identify the “colour” of the noise sources by recognizing the “shape” of the noise in the time domain on a simple oscilloscope. The following sections contain examples of what each colour of noise looks like in both the time and frequency domain.
White Noise
White noise has a flat power spectral density when plotted against frequency. White noise got it’s name from white light, which was assumed to have a flat power density spectrum across the visible range (the catch here is that, well, it actually doesn’t). White noise can be specified by a single constant noise power spectral density value.
The following graph shows what Gaussian white noise looks like in the time domain:
And this is what it looks like in the frequency domain (the discrete FFT of the above signal):
Although it commonly is modelled as such, white noise does not have to be Gaussian. Gaussian noise means the probability density function has a Gaussian distribution. However other forms of white noise exist, for example, Poisson white noise.
Examples of white noise include:
- Thermal (Johnson-Nyquist) noise
Stochastic Resonance
Stochastic resonance is the clever technique of adding white noise to a signal which is usually too weak to be detected by the measurement device. The frequencies in the white noise which are also present in the signal will resonate with each other, amplifying the original signal but not amplifying the rest of the white noise. The system has to have a non-linear response for this to work1.
Pink Noise
Also called noise. The PSD decreases at per octave.
The following graph shows what pink noise looks like in the time domain:
And this is what it looks like in the frequency domain (the discrete FFT of the above signal):
Examples and uses of pink noise:
- Interestingly, the frequency fluctuations of music have a spectral density. The reasoning behind this is that music generated by white‐noise sources sounded too random, while those generated by 1/f2 noise sounded too correlated2. The “loudness” of music and speech also has a PSD.
- The audio of steady rain fall or rustling leaves has a PSD.
The following difference equation can create pink noise[^procaccia-schuster-universal-1-f-noise]:
Red (Brownian) Noise
Also called Brownian or noise. The PSD decreases at per octave.
The following graph shows what red noise looks like in the time domain:
And this is what it looks like in the frequency domain (the discrete FFT of the above signal):
Blue Noise
Also called Azure or noise. It has a PSD proportional to frequency. As the frequency goes up, the noise power goes up also. The PSD increases at per octave.
The following graph shows what blue noise looks like in the time domain:
And this is what it looks like in the frequency domain (the discrete FFT of the above signal):
In the audio spectrum, blue noise sounds like a horrible high-pitched hiss.
Examples/uses of blue noise include:
- Cherenkov radiation: A really interesting phenomenon which involves particles travelling faster than the speed of light (in a medium)!
- Audio dithering: Blue noise can be added to audio tracks or imagery (a.k.a. spatial dithering of digital halftoning) to randomize the error in quantizing the digital signal3.
Non-Frequency Noise
Pops
Snaps
Crackles
So Where Does Electrical Noise Come From?
Thermal (Johnson-Nyquist) Noise
Thermal noise is generated in any resistor by the random movement of charge carriers (e.g. electrons in a typical circuit) due to them having thermal energy. It is also called Johnson, Nyquist or Johnson-Nyquist noise. Thermal noise increases with temperature, and for this reason some sensitive electronic circuitry is cooled down close to absolute zero to reduce the thermal noise in the sensor/instrument.
The noise power spectral density of thermal noise is found with the following equation:
where:
is the one-sided noise power spectral density, in
is Boltzmann’s constant, in ()
is the temperature of the resistor, in
is the resistance of the resistor, in
This is commonly written as a voltage spectral density instead of power:
Instead of modelling the thermal noise source as a voltage in series with a noiseless resistor, you can model it as a current source in parallel with a noiseless resistor (the Norton equivalent). To get this equation, simply divide the thermal noise equation above in VSD by . This gives a current spectral density of:
Shot Noise
Shot noise (a.k.a. Poisson noise) in electronic components arises from the random statistical fluctuations that occur in an electric current, due to electrical current not being a continuous flow but rather being made up of discrete (quantized) electrons travelling through a conductor. The PSD of Shot noise is independent of frequency, so it is spectrally [^_white_noise, white] (just like Thermal noise).
Shot noise is typically talked about being present in semiconductor components such as diodes, and not in basic passives such as resistors. However, more recent literature suggests that shot noise is also present in basic resistors5.
The rms value of the shot noise current is given by the equation:
where:
is the bandwidth of the circuit/measurement, in Hertz
and everything else as previously mentioned.
Current will create shot noise. When this current flows through a resistor, this will manifest itself as a noise voltage, in addition to the thermal noise of the resistor.
Shot noise also occurs in optics, such as photography, due to the discrete nature of the photons striking each pixel in the camera.
Addition of Noise Sources
The RMS amplitudes of independent noise sources add like orthogonal vectors (Pythagorean addition). If two independent voltage noise sources and were connected in series, then the total voltage noise is given by:
Noise sources like thermal noise and shot noise are independent.
Measuring Noise
Use the oscilloscope trigger for viewing the noise caused by specific aggressor events. Use the oscilloscope’s infinite persistence measurement to measure total noise. It is good practice to measure of a time span of many minutes with the device operating in as many of it’s different states as possible.
With the oscilloscope in averaging mode and it set up to trigger of a specific event, you can view the amount of noise due to that event. Any noise asynchronous to the event will be removed through repeated averaging.
RMS, dB, dBm, SD, Huh?
Noise measurements come in many different units. It can become very confusing when trying to compare different units or convert between them.
AC coupled waveforms become a little simpler…
For a waveform that has no DC component, the RMS value is the same as the standard deviation.
Typically, when doing noise measurements with an oscilloscope, AC coupling is turned on, which removes the DC component. This means that the standard deviation and the RMS measurements are equal.
Uncorrelated noise sources add in a root-sum-of-squares manner.
This comes from the equation:
where:
is the RMS value of waveform x
is the average (mean) of waveform x
is the standard deviation of waveform x
As you can see, if the average of the waveform is 0 (as in the case when the waveform is AC coupled), the RMS value is the same as the standard deviation.
Creating Noise In Software
Power Law Noise
The following Python code is flexible enough to generate power law noise of any power . The code is from colorednoise.py, which uses an algorithm published by J. Timmer and M. Konig called On Generating Power Law Noise6. Depends on the popular Numpy library. This function was used to create the power law noise example signals on this page.
Footnotes
-
Retrieved 2021-06-07, from https://en.wikipedia.org/wiki/Stochastic_resonance ↩ ↩2
-
Voss, R F, and Clarke, J. ”1/f noise” in music: Music from 1/f noise. United States: N. p., 1978. Web. doi:10.1121/1.381721. ↩
-
Iliyan Georgiev and Marcos Fajardo: Blue-noise Dithered Sampling. https://www.arnoldrenderer.com/research/dither_abstract.pdf, accessed 2021-06-08. ↩
-
Imperial College. (2008). EE 3.02/A04 Instrumentation. Retrieved 2021-06-29, from http://cas.ee.ic.ac.uk/people/dario/files/E302/2-noise.pdf ↩
-
Marc de Jong. (1996, August). Sub-Poissonian shot noise. Nanophysics. Retrieved 2021-06-29, from https://www.lorentz.leidenuniv.nl/beenakker/beenakkr/mesoscopics/topics/noise/noise.html ↩
-
J. Timmer and M. Konig: On Generating Power Law Noise. Astronomy And Astrophysics 2.3.1995. Retrieved 2021-06-07, from https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.29.5304&rep=rep1&type=pdf. ↩