5
\$\begingroup\$

I am trying to build a noise source based on reverse biased PN junction (i am trying to replicate this project https://altusmetrum.org/ChaosKey/ ). At this point i tried multiple iterations but so far this is my best result achieved. The noise source is sampled by STM32 microcontroller and sent over USB.

Here is the schematics of the noise source itself (MCU and power supplies omited for clarity)

VAA is 23.1V

noise source schematics

Here is frequency spectrum of the signal (software dc blocked):

frequency spectrum

This looks flat and good

Here is histogram of the same signal (amplifier is inverting, so the original signal will have the same histogram, but mirrored):

histogram

This looks weird. I would expect normal (Gaussian) distribution, but i am getting this weird shape. Why could this happen?

For reference, here is the signal as seen by oscilloscope (ac coupled) after C12:

scope measurement

I tried to vary the VAA - when i lower the voltage, the histogram changes and at around 10V, it looks more or less correct, but i would like to understand why is this actually happening? What is the source of this weird distribution?

\$\endgroup\$
3
  • 2
    \$\begingroup\$ If you want gaussian white noise, use thermal resistor noise. Here, I wouldn't expect a normal distribution: The breakdown happens "in bunches" meaning the voltage at the bases would be some kind of sawtooth or telegraph waveform perhaps, which is then passed through an exponential transfer function by the gain stage. \$\endgroup\$ Commented Jun 27, 2023 at 19:33
  • 2
    \$\begingroup\$ So after lot of digging and experiments, here is my findings: TLDR; R4 value is way too small - the current through the reverse biased junction is way too large. Good value found for this particular case is 470k. See holdenc.altervista.org/avalanche/index.html @tobalt actually it will be lognormal, but very close to normal anyway \$\endgroup\$ Commented Jul 27, 2023 at 20:05
  • \$\begingroup\$ Good that you found it out, by increasing R4 to 470k, then R7 and R8 should be increased as well, otherwise the noise signal is dampened. But bigger R7 and R8 could have low pass effects with parasite capacitances? C12 and C14 are ceramic capacitors? \$\endgroup\$ Commented May 30, 2024 at 14:58

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.