Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #481798
| From | piglet <erichpwagner@hotmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: opamp switchable gain |
| Date | 2017-10-17 20:35 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <os5m1n$8n5$1@dont-email.me> (permalink) |
| References | <os5ath$c0g$1@dont-email.me> <UkrFB.13415$_63.4529@fx12.iad> <7f9c2374-59b8-48d5-93f2-46c9f3757160@googlegroups.com> <os5kec$r33$1@dont-email.me> |
On 17/10/2017 20:07, Clive Arthur wrote: > On 17/10/2017 18:57, George Herold wrote: >> On Tuesday, October 17, 2017 at 1:45:29 PM UTC-4, bitrex wrote: >>> On 10/17/2017 12:25 PM, Clive Arthur wrote: >>>> I have a standard inverting op-amp with a 1k input resistor. >>>> >>>> The feedback comprises one fixed resistor with three more parallel >>>> resistors which can be connected or disconnected by analog switches, >>>> giving 8 possible gain settings. >>>> >>>> I want a minimum gain of 1 and a maximum of 20. (ok, -1 and -20, it's >>>> inverting) >>>> >>>> Clearly, the fixed resistor should be 20k to give a gain of 20 with all >>>> three switches open. Likewise all four in parallel (all three switches >>>> closed) should equal 1k. >>>> >>>> I'd like to space the gain settings evenly, so the eight gain settings >>>> would ideally be 1, 1.53, 2.35, 3.61, 5.54, 8.5, 13.0, 20. >>>> >>>> What's the best way to work out resistor values to get as close as I >>>> can >>>> to this ideal? >>>> >>>> The circuit exists and can't be changed. >>>> >>>> Cheers >>> >>> 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. > > I think it can't be done to any useful accuracy, so I'm prepared to > sacrifice the number of gain steps as long as it's still roughly > geometric. Even 1, 2.11, 4.47, 9.45, 20 each +/-20% would work at a > push. I'm not proud. > > Cheers 39kohm, 13kohm, 1200ohm get very roughly gain steps 20, 13, 8, 6 but quickly tails off too quickly towards 1. Doubt you can get the kind of curve you hope just with shunt switching alone. piglet
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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