News for hackers. Stuff that matters.
Re:The Analog Thing: An open source, educational, low-cost m... by pjc50 on Wednesday September 22, 2021 @12:16PM (#28618160)
Randomness is impossible to eradicate from the analogue world, so you just take an existing noise source like a semiconductor junction and connect it to an amplifier.

Some care is needed to get something that works across a wide temperature range, and avoids being easy to overwhelm with outside noise sources, but it's a problem with lots of existing solutions.

Re:The Analog Thing: An open source, educational, low-cost m... by buescher on Wednesday September 22, 2021 @12:27PM (#28618325)
I mean in a practical way for a monte carlo simulation - usually in analog setup you set parameters with discretes, so you are going to need to do things like feeding a transconductance amplifier with your noise source. You're also going to worry about shaping and otherwise parameterizing your distribution - do you need uniformly distributed noise? gaussian noise? what are your limits?

I can imagine a lot of practical pitfalls and awkward half-solutions to trying to do an analog monte carlo; I was wondering how the OP went about it.

Re:The Analog Thing: An open source, educational, low-cost m... by pvitz on Wednesday September 22, 2021 @01:30PM (#28619193)
There is actually a fascinating thesis by Yipeng Huang ("Hybrid Analog-Digital Co-Processing for Scientific Computation") that discusses toy models (i.e. Black-Scholes and variants).

As usual, you have a Wiener process and thus need Gaussian noise. Yipeng Huang found that some noise stemming from a resistor ladder of the chip provided Gaussian white noise and he could control the mean by feeding it with a DAC and he also had some way to control the variance by changing some multipliers (but I can't tell you exactly how that worked). Nevertheless, this was the analog part and he faced issues with DC drift. Alternatively, he looked into generating the noise digitally with a microcontroller.

Re:The Analog Thing: An open source, educational, low-cost m... by buescher on Wednesday September 22, 2021 @05:19PM (#28621955)
Thanks - the thesis does look interesting.