Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #539942
| From | "Carl" <carl.ijamesXYZ@ZYXverizon.net> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: how to optimize for multistage gain selection |
| Date | 2019-04-17 20:03 -0400 |
| Organization | NewsGuy - Unlimited Usenet $23.95 |
| Message-ID | <q98es501to5@news3.newsguy.com> (permalink) |
| References | <70eda2f7-884c-4359-b5ee-fab13920352a@googlegroups.com> <69ddde1a-8229-4f60-ba51-8a6837316627@googlegroups.com> |
On Wednesday, 17 April 2019 23:24:47 UTC+1, al.b...@gmail.com wrote: > I'm trying to design a two stage amplifier for a sensor readout and I > would like those stages to be configurable, but I also need to have the > overall gain vs. configuration curve to be such that every new step is ~5% > increase w.r.t. the previous. > > So let's say I have 3 control bits on the first amplifier and 4 for the > second, how would I design the set of values those gains need to be at? Is > there an algorithm to do that? > > I'm currently guesstimating it, but I doubt there's no formal method to do > so. > Any pointer/comment is appreciated. You don't give max and min gain specs, only that you want 5% steps. I suggest making both stages increment in 5% steps for a total gain range of 1 to 1.015^(2^7) or 1 to 515. However, I don't suggest counting one stage up from zero to max, then setting it back to zero and incrementing the other stage gain by one since that big gain jump in the first stage will need extra settling time and may cause a click or other distortion. Instead, increment one stage by one, then the other stage by one, then the first stage by one, etc. Kind of like a gray code, that minimizes the maximum gain change for a single step. I wonder if you could interleave the bits like this: 2(4) 1(3) 2(3) 1(2) 2(2) 1(1) 2(1) where 1 and 2 are the 3 and 4 bit control words for the two amps, and (n) is the nth bit, then just treat it like a seven bit word and add and subtract as needed. I'll leave it as an exercise for the reader as to whether that actually works or not, Jeopardy is coming on and I want to watch James Holzhauer :-). -- Regards, Carl Ijames
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to optimize for multistage gain selection al.basili@gmail.com - 2019-04-17 15:24 -0700
Re: how to optimize for multistage gain selection tabbypurr@gmail.com - 2019-04-17 15:43 -0700
Re: how to optimize for multistage gain selection tabbypurr@gmail.com - 2019-04-17 16:11 -0700
Re: how to optimize for multistage gain selection "Carl" <carl.ijamesXYZ@ZYXverizon.net> - 2019-04-17 20:03 -0400
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-17 16:01 -0700
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-17 17:06 -0700
Re: how to optimize for multistage gain selection Clifford Heath <no.spam@please.net> - 2019-04-18 10:45 +1000
Re: how to optimize for multistage gain selection Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2019-04-18 02:52 +0200
Re: how to optimize for multistage gain selection bitrex <user@example.net> - 2019-04-17 21:17 -0400
Re: how to optimize for multistage gain selection bill.sloman@ieee.org - 2019-04-17 23:26 -0700
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-18 16:17 -0700
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-18 18:18 -0700
Re: how to optimize for multistage gain selection upsidedown@downunder.com - 2019-04-19 07:34 +0300
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-19 06:35 -0700
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-19 07:18 -0700
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-19 08:10 -0700
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-19 08:37 -0700
Re: how to optimize for multistage gain selection upsidedown@downunder.com - 2019-04-19 18:57 +0300
Re: how to optimize for multistage gain selection Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-04-19 12:27 -0400
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-19 10:01 -0700
Re: how to optimize for multistage gain selection upsidedown@downunder.com - 2019-04-19 23:52 +0300
Re: how to optimize for multistage gain selection George Herold <gherold@teachspin.com> - 2019-04-19 17:22 -0700
Re: how to optimize for multistage gain selection Chris Jones <lugnut808@spam.yahoo.com> - 2019-04-18 11:26 +1000
Re: how to optimize for multistage gain selection makolber@yahoo.com - 2019-04-18 07:57 -0700
Re: how to optimize for multistage gain selection bitrex <user@example.net> - 2019-04-17 21:54 -0400
Re: how to optimize for multistage gain selection DecadentLinuxUserNumeroUno@decadence.org - 2019-04-18 06:34 +0000
Re: how to optimize for multistage gain selection "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-04-18 10:05 -0500
Re: how to optimize for multistage gain selection bitrex <user@example.net> - 2019-04-18 12:35 -0400
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-18 11:22 -0700
Re: how to optimize for multistage gain selection bitrex <user@example.net> - 2019-04-18 15:23 -0400
Re: how to optimize for multistage gain selection bitrex <user@example.net> - 2019-04-18 15:27 -0400
Re: how to optimize for multistage gain selection gnuarm.deletethisbit@gmail.com - 2019-04-18 13:23 -0700
csiph-web