News for hackers. Stuff that matters.
Re:Evolutionary algorithms and analog electronic circuits by rcfox on Sunday July 27, 2014 @06:48AM (#8092432)
> I think you would probably need to do multiple runs with components of varying values within their specified precision.

That's called Monte Carlo analysis. It's important for standard simulation applications as well because most components are specified with certain tolerances. Your amplifier might look stable at the expected component values, but if all of your resistors are at the bottom or top of their tolerance range, it might become unstable!

Commercial SPICE simulators (like HSPICE, for example) come with the option to perform this built-in. You can do Monte Carlo analysis with NGSPICE, but you have to organize the input and output yourself.

> I can see evolution getting some sort of benefit by exploiting the fact that two identically specced components behave _exactly_ the same way. Something that would not happen in real life.

You get pretty close with matched transistors, especially when they're on the same die. But yeah, Monte Carlo.

Re:Evolutionary algorithms and analog electronic circuits by tripzilch on Wednesday July 30, 2014 @04:09AM (#8106916)
Another advantage of this, is that it'll smoothen the fitness landscape somewhat, creating better convergence.

Another advantage of using simulated annealing instead of evolutionary algorithms is that you can add this sort of noise in pretty much for free (instead of doing multiple runs, you basically just lower the cooling rate).