Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #539932 > unrolled thread
| Started by | al.basili@gmail.com |
|---|---|
| First post | 2019-04-17 15:24 -0700 |
| Last post | 2019-04-18 13:23 -0700 |
| Articles | 20 on this page of 32 — 15 participants |
Back to article view | Back to sci.electronics.design
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
Page 1 of 2 [1] 2 Next page →
| From | al.basili@gmail.com |
|---|---|
| Date | 2019-04-17 15:24 -0700 |
| Subject | how to optimize for multistage gain selection |
| Message-ID | <70eda2f7-884c-4359-b5ee-fab13920352a@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | tabbypurr@gmail.com |
|---|---|
| Date | 2019-04-17 15:43 -0700 |
| Message-ID | <69ddde1a-8229-4f60-ba51-8a6837316627@googlegroups.com> |
| In reply to | #539932 |
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. Surely the gains you need depend on your input & required output. And presumably max total gain matches your lowest possible input, min gain matches your max input. Ad if each gain change gives 5% total gain change, then each gain setting will be 5% different from its neighbour. So... what are you actually asking? NT
[toc] | [prev] | [next] | [standalone]
| From | tabbypurr@gmail.com |
|---|---|
| Date | 2019-04-17 16:11 -0700 |
| Message-ID | <83b49d16-9abc-4611-9f1d-45b25b7db9b5@googlegroups.com> |
| In reply to | #539936 |
On Wednesday, 17 April 2019 23:43:53 UTC+1, tabby wrote: > 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. > > Surely the gains you need depend on your input & required output. And presumably max total gain matches your lowest possible input, min gain matches your max input. > > Ad if each gain change gives 5% total gain change, then each gain setting will be 5% different from its neighbour. > > So... what are you actually asking? > > > NT I might have slightly missed what you meant. If the digital bits controlling gain have a degree of intelligence, one of the amps needn't have 5% gain changes. If amp stage A has 3 bits with each step being 5%, that's 8 settings giving gain from n to n x 1.05^7 = n x 1.41. So amp stage B could have gain increments of 1.05^8 = 1.477 or 47.7% change. And if it is controlled by 4 bits that gives B a possible gain range of 1.477^15 = 347. That gives your amp a gain range of 1 to 1.41x347= 489 times its minimum gain. NT
[toc] | [prev] | [next] | [standalone]
| From | "Carl" <carl.ijamesXYZ@ZYXverizon.net> |
|---|---|
| Date | 2019-04-17 20:03 -0400 |
| Message-ID | <q98es501to5@news3.newsguy.com> |
| In reply to | #539936 |
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
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2019-04-17 16:01 -0700 |
| Message-ID | <283ed0f4-1eab-4cd0-8203-9e977279837c@googlegroups.com> |
| In reply to | #539932 |
On Wednesday, April 17, 2019 at 6:24:47 PM UTC-4, 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. If you want gain changes to be in 5% steps, pick one amplifier to have the 5% gain steps. Then the other amplifier will have steps of 5% * 2^n where n is the number of control bits in the amplifier with 5% steps. The gain controls will have the control bits for the 5% stepped amplifier as the lsbs and the control bits for the other amplifier will be the msbs in a single control word. Is that what you are asking about? -- Rick C. - Get a 1,000 miles of free Supercharging - Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2019-04-17 17:06 -0700 |
| Message-ID | <ac044f2c-6792-401f-8e74-35bdd175f570@googlegroups.com> |
| In reply to | #539932 |
On Wednesday, April 17, 2019 at 6:24:47 PM UTC-4, 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. 5%!? That seems tiny. > > 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? Opamps have a GBW product that is ~constant. more Gain, less BandWidth. One has to know all the parameters to try and design an amp. > > I'm currently guesstimating it, but I doubt there's no formal method to do so. > Any pointer/comment is appreciated. Are you using opamps? Have you read AoE3? there are other good opamp books. George H.
[toc] | [prev] | [next] | [standalone]
| From | Clifford Heath <no.spam@please.net> |
|---|---|
| Date | 2019-04-18 10:45 +1000 |
| Message-ID | <0NPtE.391254$P12.286028@fx08.iad> |
| In reply to | #539932 |
On 18/4/19 8:24 am, al.basili@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. > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad idea because it either changes the input impedance or lengthens and adds reactance to the feedback path. Use fixed gain and stepped attenuation.
[toc] | [prev] | [next] | [standalone]
| From | Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> |
|---|---|
| Date | 2019-04-18 02:52 +0200 |
| Message-ID | <5cb7ca53$0$12526$e4fe514c@textnews.kpn.nl> |
| In reply to | #539947 |
On 18-4-2019 2:45, Clifford Heath wrote: > On 18/4/19 8:24 am, al.basili@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. >> > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > idea because it either changes the input impedance or lengthens and adds > reactance to the feedback path. > > Use fixed gain and stepped attenuation. > So use a multiplying DA chip to program gain or attenuation.
[toc] | [prev] | [next] | [standalone]
| From | bitrex <user@example.net> |
|---|---|
| Date | 2019-04-17 21:17 -0400 |
| Message-ID | <zeQtE.391255$P12.338325@fx08.iad> |
| In reply to | #539947 |
On 4/17/19 8:45 PM, Clifford Heath wrote: > On 18/4/19 8:24 am, al.basili@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. >> > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > idea because it either changes the input impedance or lengthens and adds > reactance to the feedback path. > > Use fixed gain and stepped attenuation. If low noise is a requirement, and in the case of a sensor readout it sounds like it is, then you have to think carefully about how you do your post-gain attenuation - no sense in using a quiet amplifier and input circuit design if you're just going to throw away your SNR in a noisy attenuator. At a minimum you'd probably want a low impedance attenuation so you don't add self-noise from the attenuator but if the application is low power that can also kill the power budget. depending on specifics of application we don't know I think it's a toss up as to whether stepped gain or stepped attenuation will be easier. a rule of thumb of low noise measurements is DONT throw away gain cavalierly once you've worked hard to bring a small signal up quietly, that shit is precious.
[toc] | [prev] | [next] | [standalone]
| From | bill.sloman@ieee.org |
|---|---|
| Date | 2019-04-17 23:26 -0700 |
| Message-ID | <fb1e3fa5-24c4-4a18-81ea-ee07edcce507@googlegroups.com> |
| In reply to | #539950 |
On Thursday, April 18, 2019 at 11:17:23 AM UTC+10, bitrex wrote: > On 4/17/19 8:45 PM, Clifford Heath wrote: > > On 18/4/19 8:24 am, al.basili@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. > >> > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > idea because it either changes the input impedance or lengthens and adds > > reactance to the feedback path. > > > > Use fixed gain and stepped attenuation. > > If low noise is a requirement, and in the case of a sensor readout it > sounds like it is, then you have to think carefully about how you do > your post-gain attenuation - no sense in using a quiet amplifier and > input circuit design if you're just going to throw away your SNR in a > noisy attenuator. > > At a minimum you'd probably want a low impedance attenuation so you > don't add self-noise from the attenuator but if the application is low > power that can also kill the power budget. If you are working with alternating signals, tapped inductors can be rather nicer dividers than resistor strings. Properly wound ratio transformers give stable divide ratio to one part in 10^7, the resistive component (and the cosnequent Johnson noise) can be low, and - if the inductance is high enough - they don't have to consume much power. Getting them wound is a pain - John Larkin (for instance)avoids purpose wound components like the plague - but for tricky jobs it could be worth the trouble. > depending on specifics of application we don't know I think it's a toss > up as to whether stepped gain or stepped attenuation will be easier. a > rule of thumb of low noise measurements is DONT throw away gain > cavalierly once you've worked hard to bring a small signal up quietly, > that shit is precious. Absolutely. -- Bill Sloman, Sydney
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2019-04-18 16:17 -0700 |
| Message-ID | <39ebc6f4-902d-4f1d-a146-261f5d4221c4@googlegroups.com> |
| In reply to | #539947 |
On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > On 18/4/19 8:24 am, al.basili@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. > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > idea because it either changes the input impedance or lengthens and adds > reactance to the feedback path. > > Use fixed gain and stepped attenuation. That's what I did when I wanted to keep the BW approx. constant. Like a 'scope, at least analog ones. George H.
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2019-04-18 18:18 -0700 |
| Message-ID | <09bd434b-a471-4c55-9aa4-32a4c004d1f8@googlegroups.com> |
| In reply to | #540028 |
On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > > On 18/4/19 8:24 am, al.basili@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. > > > > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > idea because it either changes the input impedance or lengthens and adds > > reactance to the feedback path. > > > > Use fixed gain and stepped attenuation. > > That's what I did when I wanted to keep the BW > approx. constant. Like a 'scope, at least analog ones. How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? -- Rick C. -- Get a 1,000 miles of free Supercharging -- Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | upsidedown@downunder.com |
|---|---|
| Date | 2019-04-19 07:34 +0300 |
| Message-ID | <rhiibed1itiesjo8bfcruvja07ij3uu8d8@4ax.com> |
| In reply to | #540034 |
On Thu, 18 Apr 2019 18:18:42 -0700 (PDT), gnuarm.deletethisbit@gmail.com wrote: >On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: >> On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: >> > On 18/4/19 8:24 am, al.basili@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. >> > > >> > >> > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad >> > idea because it either changes the input impedance or lengthens and adds >> > reactance to the feedback path. >> > >> > Use fixed gain and stepped attenuation. >> >> That's what I did when I wanted to keep the BW >> approx. constant. Like a 'scope, at least analog ones. > >How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? When amplifying a signal with a great variety, one has to consider the amplifier stage noise as well as overload issues. For best weak signal performance, keep the first stage gain at maximum and adjust only subsequent stage gains. This way the total noise is determined by the first stage only, masking the subsequent stage noise, Only when the signal becomes so strong that it risks overloading the first stage gain, start reducing first stage gain. At such high signal levels, the amplifier noise is no longer an issue.
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2019-04-19 06:35 -0700 |
| Message-ID | <b10e63a3-0477-4882-9007-5970262702b3@googlegroups.com> |
| In reply to | #540034 |
On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > > > On 18/4/19 8:24 am, al.basili@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. > > > > > > > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > > idea because it either changes the input impedance or lengthens and adds > > > reactance to the feedback path. > > > > > > Use fixed gain and stepped attenuation. > > > > That's what I did when I wanted to keep the BW > > approx. constant. Like a 'scope, at least analog ones. > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? There was a lot of gain. You can switch in x10 gain stages up front, The attenuator in the ~middle and then fixed gain at the end. George H. > > -- > > Rick C. > > -- Get a 1,000 miles of free Supercharging > -- Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2019-04-19 07:18 -0700 |
| Message-ID | <695886b3-db09-408d-9d4f-b27b5d636297@googlegroups.com> |
| In reply to | #540076 |
On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: > On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: > > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > > > > On 18/4/19 8:24 am, al.basili@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. > > > > > > > > > > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > > > idea because it either changes the input impedance or lengthens and adds > > > > reactance to the feedback path. > > > > > > > > Use fixed gain and stepped attenuation. > > > > > > That's what I did when I wanted to keep the BW > > > approx. constant. Like a 'scope, at least analog ones. > > > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? > There was a lot of gain. You can switch in x10 gain stages up front, > The attenuator in the ~middle and then fixed gain at the end. Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. -- Rick C. -+ Get a 1,000 miles of free Supercharging -+ Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2019-04-19 08:10 -0700 |
| Message-ID | <4e387525-5784-4562-a51c-a7a3142d8159@googlegroups.com> |
| In reply to | #540078 |
On Friday, April 19, 2019 at 10:18:22 AM UTC-4, gnuarm.de...@gmail.com wrote: > On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: > > On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: > > > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > > > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > > > > > On 18/4/19 8:24 am, al.basili@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. > > > > > > > > > > > > > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > > > > idea because it either changes the input impedance or lengthens and adds > > > > > reactance to the feedback path. > > > > > > > > > > Use fixed gain and stepped attenuation. > > > > > > > > That's what I did when I wanted to keep the BW > > > > approx. constant. Like a 'scope, at least analog ones. > > > > > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? > > There was a lot of gain. You can switch in x10 gain stages up front, > > The attenuator in the ~middle and then fixed gain at the end. > > Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. Ya know Rick, if you were inquisitive and polite, rather than argumentative and insulting, I would be happy to share details. It's not anything amazing. But we sell them without complaints. Gain from 10 to 10^4 and BW from DC to 1 MHz. (opamps are amazing.) GH > > -- > > Rick C. > > -+ Get a 1,000 miles of free Supercharging > -+ Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2019-04-19 08:37 -0700 |
| Message-ID | <5c4593c4-9e0d-45a3-bf3f-37ac11087bc0@googlegroups.com> |
| In reply to | #540088 |
On Friday, April 19, 2019 at 11:10:34 AM UTC-4, George Herold wrote: > On Friday, April 19, 2019 at 10:18:22 AM UTC-4, gnuarm.de...@gmail.com wrote: > > On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: > > > On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: > > > > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > > > > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > > > > > > On 18/4/19 8:24 am, al.basili@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. > > > > > > > > > > > > > > > > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > > > > > > idea because it either changes the input impedance or lengthens and adds > > > > > > reactance to the feedback path. > > > > > > > > > > > > Use fixed gain and stepped attenuation. > > > > > > > > > > That's what I did when I wanted to keep the BW > > > > > approx. constant. Like a 'scope, at least analog ones. > > > > > > > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? > > > There was a lot of gain. You can switch in x10 gain stages up front, > > > The attenuator in the ~middle and then fixed gain at the end. > > > > Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. > Ya know Rick, if you were inquisitive and polite, rather than argumentative > and insulting, I would be happy to share details. It's not anything > amazing. But we sell them without complaints. Gain from 10 to 10^4 > and BW from DC to 1 MHz. (opamps are amazing.) Sorry if I come across as argumentative... (maybe not, isn't that the point to discuss/argue a point?) but I don't mean to be rude or insulting. After I hit send I realized I misread the post and thought you were saying attenuator - fixed gain - attenuator - fixed gain. But you are saying variable gain - attenuator - fixed gain. Gain limits bandwidth. So any gain you are including that then gets reduced by attenuation is tossing away bandwidth, no? I don't get the purpose of variable gain in the first stage. When set to the highest gain setting the bandwidth is reduced. When set to the lowest gain setting the noise is maximized. Wouldn't it give better results to have the fixed gain in the first stage? That would give highest bandwidth and lowest noise, no? But then that comes back to the issue of overloading the first stage. Actually, I'm liking the attenuator - fixed gain - attenuator - fixed gain for noise and range, but it provides the worst bandwidth, no? I don't think you said what your product is. If you only want 1 MHz of bandwidth I suppose that is not important in the above analysis. 1 MHz should be pretty easy to achieve, no? I guess it's lowest noise that is the hard goal. -- Rick C. +- Get a 1,000 miles of free Supercharging +- Tesla referral code - https://ts.la/richard11209
[toc] | [prev] | [next] | [standalone]
| From | upsidedown@downunder.com |
|---|---|
| Date | 2019-04-19 18:57 +0300 |
| Message-ID | <ierjbetq1m39lgeabn30g4ddvlj5khlpdi@4ax.com> |
| In reply to | #540088 |
On Fri, 19 Apr 2019 08:10:29 -0700 (PDT), George Herold <gherold@teachspin.com> wrote: >On Friday, April 19, 2019 at 10:18:22 AM UTC-4, gnuarm.de...@gmail.com wrote: >> On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: >> > On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: >> > > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: >> > > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: >> > > > > On 18/4/19 8:24 am, al.basili@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. >> > > > > > >> > > > > >> > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad >> > > > > idea because it either changes the input impedance or lengthens and adds >> > > > > reactance to the feedback path. >> > > > > >> > > > > Use fixed gain and stepped attenuation. >> > > > >> > > > That's what I did when I wanted to keep the BW >> > > > approx. constant. Like a 'scope, at least analog ones. >> > > >> > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? >> > There was a lot of gain. You can switch in x10 gain stages up front, >> > The attenuator in the ~middle and then fixed gain at the end. >> >> Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. >Ya know Rick, if you were inquisitive and polite, rather than argumentative >and insulting, I would be happy to share details. It's not anything >amazing. But we sell them without complaints. Gain from 10 to 10^4 >and BW from DC to 1 MHz. (opamps are amazing.) So the gain range would be 20 to 80 dB and the maximum gain would be about 35 and 45 dB/stage, this at 1 MHz. For proper feedback action, the open loop gain would have to be, say, 20 dB better, so with standard compensation, the open loop gain would drop to unity around 1 GHz, so an amazing op-amp is needed. With more aggressive compensation, a lower open loop limit would suffice, but since this is a variable gain stage, the stability at lower gain settings must be analyzed.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2019-04-19 12:27 -0400 |
| Message-ID | <nM-dnWVn6IFvayTBnZ2dnUU7-fnNnZ2d@supernews.com> |
| In reply to | #540096 |
On 4/19/19 11:57 AM, upsidedown@downunder.com wrote: > On Fri, 19 Apr 2019 08:10:29 -0700 (PDT), George Herold > <gherold@teachspin.com> wrote: > >> On Friday, April 19, 2019 at 10:18:22 AM UTC-4, gnuarm.de...@gmail.com wrote: >>> On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: >>>> On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: >>>>> On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: >>>>>> On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: >>>>>>> On 18/4/19 8:24 am, al.basili@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. >>>>>>>> >>>>>>> >>>>>>> Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad >>>>>>> idea because it either changes the input impedance or lengthens and adds >>>>>>> reactance to the feedback path. >>>>>>> >>>>>>> Use fixed gain and stepped attenuation. >>>>>> >>>>>> That's what I did when I wanted to keep the BW >>>>>> approx. constant. Like a 'scope, at least analog ones. >>>>> >>>>> How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? >>>> There was a lot of gain. You can switch in x10 gain stages up front, >>>> The attenuator in the ~middle and then fixed gain at the end. >>> >>> Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. >> Ya know Rick, if you were inquisitive and polite, rather than argumentative >> and insulting, I would be happy to share details. It's not anything >> amazing. But we sell them without complaints. Gain from 10 to 10^4 >> and BW from DC to 1 MHz. (opamps are amazing.) > > So the gain range would be 20 to 80 dB and the maximum gain would be > about 35 and 45 dB/stage, this at 1 MHz. For proper feedback action, > the open loop gain would have to be, say, 20 dB better, so with > standard compensation, the open loop gain would drop to unity around 1 > GHz, so an amazing op-amp is needed. With more aggressive > compensation, a lower open loop limit would suffice, but since this is > a variable gain stage, the stability at lower gain settings must be > analyzed. > It's also useful to set the rolloff with a filter and not just let the amp roll off. Getting anywhere near the op amp's maximum slew rate forces it to run with a large differential input voltage, which can make a mess. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2019-04-19 10:01 -0700 |
| Message-ID | <0f0a082f-6061-42b8-9d38-c3bc6443ed5c@googlegroups.com> |
| In reply to | #540096 |
On Friday, April 19, 2019 at 11:57:53 AM UTC-4, upsid...@downunder.com wrote: > On Fri, 19 Apr 2019 08:10:29 -0700 (PDT), George Herold > <gherold@teachspin.com> wrote: > > >On Friday, April 19, 2019 at 10:18:22 AM UTC-4, gnuarm.de...@gmail.com wrote: > >> On Friday, April 19, 2019 at 9:35:10 AM UTC-4, George Herold wrote: > >> > On Thursday, April 18, 2019 at 9:18:47 PM UTC-4, gnuarm.de...@gmail.com wrote: > >> > > On Thursday, April 18, 2019 at 7:18:04 PM UTC-4, George Herold wrote: > >> > > > On Wednesday, April 17, 2019 at 8:45:52 PM UTC-4, Clifford Heath wrote: > >> > > > > On 18/4/19 8:24 am, al.basili@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. > >> > > > > > > >> > > > > > >> > > > > Gain is easy; stepped attenuation is easy. Stepped gain is usually a bad > >> > > > > idea because it either changes the input impedance or lengthens and adds > >> > > > > reactance to the feedback path. > >> > > > > > >> > > > > Use fixed gain and stepped attenuation. > >> > > > > >> > > > That's what I did when I wanted to keep the BW > >> > > > approx. constant. Like a 'scope, at least analog ones. > >> > > > >> > > How do you deal with overloading the gain stage? Is the attenuator ahead of the first stage? > >> > There was a lot of gain. You can switch in x10 gain stages up front, > >> > The attenuator in the ~middle and then fixed gain at the end. > >> > >> Hmmm... I'm not getting it. The idea is to have high gain in the amps at all settings so as to minimize the bandwidth??? Sounds counter productive. > >Ya know Rick, if you were inquisitive and polite, rather than argumentative > >and insulting, I would be happy to share details. It's not anything > >amazing. But we sell them without complaints. Gain from 10 to 10^4 > >and BW from DC to 1 MHz. (opamps are amazing.) > > So the gain range would be 20 to 80 dB and the maximum gain would be > about 35 and 45 dB/stage, this at 1 MHz. For proper feedback action, > the open loop gain would have to be, say, 20 dB better, so with > standard compensation, the open loop gain would drop to unity around 1 > GHz, so an amazing op-amp is needed. With more aggressive > compensation, a lower open loop limit would suffice, but since this is > a variable gain stage, the stability at lower gain settings must be > analyzed. Here's a schematic. https://www.dropbox.com/s/oeceem6by903xjb/gain.png?dl=0 George H.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.electronics.design
csiph-web