Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #481793

Re: opamp switchable gain

Subject Re: opamp switchable gain
Newsgroups sci.electronics.design
References <os5ath$c0g$1@dont-email.me> <UkrFB.13415$_63.4529@fx12.iad> <7f9c2374-59b8-48d5-93f2-46c9f3757160@googlegroups.com> <VssFB.120142$J83.62335@fx06.iad>
From bitrex <bitrex@de.lete.earthlink.net>
Message-ID <azsFB.3326$5e.3270@fx03.iad> (permalink)
Organization frugalusenet - www.frugalusenet.com
Date 2017-10-17 15:08 -0400

Show all headers | View raw


On 10/17/2017 03:02 PM, bitrex wrote:
> On 10/17/2017 01:57 PM, George Herold wrote:
> 
>>> If you can write a little code it's a small enough state space to simply
>>> brute force search on all combinations of 1% resistor values.
>>
>> I'd do a hunt and peck type thing too.
>> Stepping back a moment, he's got a geometric progression.
>> (1.53)^n.  The R ratio's will be linear.. I think, so I'm not
>> sure it can be done.  Then again I'm often wrong. :^)
>>
>> George H.
>>
> 
> It's possible to write down a system of equations to define the problem 
> and solve it, maybe with some handsome closed form, which is fine if one 
> had resistors of arbitrary precision available, AFAIK OP is constrained 
> to the values they picked for 5% or 1% or whatever the standard he's 
> using, which aren't themselves linearly spaced through the domain of the 
> set.
> 
> So probably unless one wants to rewrite the equations to take the 
> exponential spacing of the standard values into account you'll likely 
> have to do some hunting and pecking anyway to check the standard values 
> above and below the infinite-precision target to see which is best.
> 
> Meanwhile probably 10 lines of scripting language code not including 
> some kind of appropriately formatted list of standard values could brute 
> force the best in a millisecond

Treat each "gain point" on the desired line as a point in N dimensional 
space, same with the trials, minimize N-dimensional Euclidean distance 
between the two as a possible "fitness function"

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-17 17:25 +0100
  Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-17 13:45 -0400
    Re: opamp switchable gain George Herold <gherold@teachspin.com> - 2017-10-17 10:57 -0700
      Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-17 15:02 -0400
        Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-17 15:08 -0400
          Re: opamp switchable gain Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-10-18 14:13 -0700
            Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-18 18:13 -0400
        Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-18 16:51 -0700
          Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-18 20:41 -0400
            Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-19 01:01 -0700
              Re: opamp switchable gain tabbypurr@gmail.com - 2017-10-19 04:47 -0700
                Re: opamp switchable gain Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-10-19 13:32 +0100
                Re: opamp switchable gain tabbypurr@gmail.com - 2017-10-19 06:05 -0700
                Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-19 22:26 -0700
      Re: opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-17 20:07 +0100
        Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-17 15:10 -0400
        Re: opamp switchable gain piglet <erichpwagner@hotmail.com> - 2017-10-17 20:35 +0100
          Re: opamp switchable gain Martin Riddle <martin_ridd@verizon.net> - 2017-10-17 20:21 -0400
        Re: opamp switchable gain Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-10-18 09:03 +0100
        Re: opamp switchable gain Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-10-18 12:20 +0100
      Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-17 17:30 -0400
  Re: opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-17 18:54 +0100
    Re: opamp switchable gain Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-10-17 11:42 -0700
  Re: opamp switchable gain TTman <kraken.sankey@gmail.com> - 2017-10-17 19:39 +0100
    Re: opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-17 20:10 +0100
      Re: opamp switchable gain Jasen Betts <jasen@xnet.co.nz> - 2017-10-25 04:58 +0000
        Re: opamp switchable gain oldschool@tubes.com - 2017-10-25 00:29 -0500
  Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-17 21:20 -0700
  Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-17 21:28 -0700
  opamp switchable gain pcdhobbs@gmail.com - 2017-10-18 03:55 -0700
    Re: opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-18 15:46 +0100
      Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-18 13:33 -0700
        Re: opamp switchable gain Clive Arthur <cliveta@nowaytoday.co.uk> - 2017-10-19 00:08 +0100
  Re: opamp switchable gain Wanderer <wanderer@dialup4less.com> - 2017-10-19 05:38 -0700
    Re: opamp switchable gain Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-10-19 08:44 -0700
      Re: opamp switchable gain whit3rd <whit3rd@gmail.com> - 2017-10-19 22:10 -0700
        Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-20 09:40 -0400
          Re: opamp switchable gain "Tim Williams" <tmoranwms@gmail.com> - 2017-10-20 14:18 -0500
            Re: opamp switchable gain bitrex <bitrex@de.lete.earthlink.net> - 2017-10-20 17:02 -0400
              Re: opamp switchable gain Wanderer <wanderer@dialup4less.com> - 2017-10-20 16:55 -0700
  Re: opamp switchable gain Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-10-20 15:08 -0700
  Re: opamp switchable gain Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-10-23 10:17 -0700

csiph-web