🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #540

Re: AI resistor picker

#540
From: Don Y
Date: Fri, 23 Oct 2026 02:24
37 lines
2857 bytes
On 10/21/2026 2:07 AM, Martin Brown wrote:
> It doesn't really need AI though a brute force algorithm is plenty fast enough 
> to find a 1% or 0.1% solution for resistor network problems.
> Deterministic programs can easily solve this stuff in a few ms.

It doesn't even have to be brute force.  You have constraints
that quickly reduce the number of candidates for particular
goals.

E.g., if you want to create a value of X, then only values >= X
are suitable for a paralleled resistor solution; <= X for a
serial solution.

For a ratio of .X and a given R, then the other part of the divider
is constrained by that .X relative to that R.

The problem comes when you want arbitrary networks.

E.g., I needed something that approximated V^2-K fed to a VCO
as creating V^2 would have been silly -- when you're only
reacting to the difference from V0^2.  There, the criteria
are:  how well do you want to approximate the curve and in
how many segments (cost).

Of course, classics like R-2R require very little thought.

>> Does anyone else have issues with designing resistor networks?
> 
> What's the problem? At 1% tolerance there are only a dozen (12%) divider ratios 
> that cannot be reached with just a pair of E12 resistors.
> 
> Your AI seems to have chosen 10+10, 8.75 to be perverse
> 
> More than 20% of the possible 0.nn ratios have more than 10 ways of realising 
> them. 40% have just one or two choices.

Technical Details
Message-ID: <11beggj$1devj$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <re77dl9ft5v2mcim72s8gpaq6qeu2uaort@4ax.com> <18e00022f743e98f$3831$2656352$4056de03@news.newsgroupdirect.com> <kjtcdlpa4b8dfqoqtoqdkul5naskmi18iu@4ax.com> <11b9vbr$3pd65$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: AI resistor picker
Date: Thu, 22 Oct 2026 19:24:14 -0700
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <11beggj$1devj$1@dont-email.me>
References: <re77dl9ft5v2mcim72s8gpaq6qeu2uaort@4ax.com>
 <18e00022f743e98f$3831$2656352$4056de03@news.newsgroupdirect.com>
 <kjtcdlpa4b8dfqoqtoqdkul5naskmi18iu@4ax.com> <11b9vbr$3pd65$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Oct 2026 02:24:20 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1489907"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/SMba+EbxvwZr8l+hbPAg0"; posting-host="8e914ddd2f6ad9f792a1c5fe8078603c"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Oo6LMorvQsWMoxlkyXXFVOkUtE0= sha256:1skSQrwm94rxSH8Ckipo2gjhNq3ERNWeL1MWbcnz4wE=
	sha1:fe5WDMtJH6KyeOqyIWP6o8j2W4M= sha256:IMby9c2jfPewTCjzP1Hh2/IuEMs4Zvs0dIt0yXkFVAM=
Content-Language: en-US
In-Reply-To: <11b9vbr$3pd65$1@dont-email.me>