Author Topic: EEVblog #572 - Cascading Opamps For Increased Bandwidth  (Read 22726 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
EEVblog #572 - Cascading Opamps For Increased Bandwidth
« on: January 25, 2014, 06:32:18 am »
Fundamentals Friday.
Dave explains Gain Bandwith Product and how it's possible to increase your system bandwidth by cascading opamps in series. Also, a discussion on the associated noise issues.
A breadboard example shows how variable GBWP can be, and how it can relate to distortion.

 

Offline tree

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #1 on: January 25, 2014, 06:58:41 am »
I'm rather interested in the derivation of that formula in the upper right hand corner.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #2 on: January 25, 2014, 08:57:57 am »
A more interesting point to me was that the phase shift seemed to radically increase when you lowered supply voltage,

(phase margin and feedback loops is one i have really wanted to see for a while for an upcoming video)
 

Offline PeterL

  • Regular Contributor
  • *
  • Posts: 180
  • Country: nl
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #3 on: January 25, 2014, 10:31:46 am »
Nice video, I really like this fundamental friday series.

You mention  that it can be hard to find the right combination of resistors to get a precise gain. I made an excel sheet for this long time ago. Just put in the ratio you need, and the tolence you permit, and all possible combination turn green.
Also the android app 'ElectroDriod' is very handy for this.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #4 on: January 25, 2014, 11:29:03 am »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline electronics man

  • Frequent Contributor
  • **
  • Posts: 686
  • Country: gb
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #5 on: January 25, 2014, 11:33:51 am »
Yay more fundermentals Fridays thanks dave
follow me on twitter @get_your_byte
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #6 on: January 25, 2014, 12:13:52 pm »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.

At these volumes and item count it makes no difference.
Series can have some advantage in terms of single sided SMD layout, and I found they were in stock at the time so just went with that.
 

Offline andtfoot

  • Supporter
  • ****
  • Posts: 352
  • Country: au
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #7 on: January 25, 2014, 12:35:00 pm »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.

At these volumes and item count it makes no difference.
Series can have some advantage in terms of single sided SMD layout, and I found they were in stock at the time so just went with that.

Do you mind expanding on that? Having recently started looking at designing SMD boards, I'm curious...
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #8 on: January 25, 2014, 12:41:05 pm »
you can jump 2 traces instead of just one, equally if you rotate one 180 degrees your trace follows the same line it entered on, (or so i assume based on how i have been using them)
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #9 on: January 25, 2014, 12:55:49 pm »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.

At these volumes and item count it makes no difference.
Series can have some advantage in terms of single sided SMD layout, and I found they were in stock at the time so just went with that.

...but you don't know what size the next batch might be.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Melkor

  • Contributor
  • Posts: 11
  • Country: ro
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #10 on: January 25, 2014, 01:13:48 pm »
You said that most OpAmps have a constant GBWP. However for that particular OpAmp you tested you got values between about 2.4 and 1.4
Is there any way to determine from the datasheet if an OpAmp has a constant or variable GBWP ?
 

Offline Wytnucls

  • Super Contributor
  • ***
  • Posts: 3045
  • Country: be
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #11 on: January 25, 2014, 01:14:03 pm »
I'm rather interested in the derivation of that formula in the upper right hand corner.

Have a look at these notes for cascading inverting opamps:
http://opencourseware.kfupm.edu.sa/colleges/ces/ee/ee303/files%5C3-Lesson_Notes_Lecture_12.pdf

The logic should be the same for non-inverting opamps, to work-out the right formula.
« Last Edit: January 25, 2014, 01:55:16 pm by Wytnucls »
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #12 on: January 25, 2014, 01:38:54 pm »
...but you don't know what size the next batch might be.

But I know what it's not going to be!
The point is these precision resistors don't plummet in price when you jump up a volume notch. You only save 3 cents jumping from 1000qty to 100,000qty for example. It becomes a non-issue unless you are after every last reel space on a machine.
« Last Edit: January 25, 2014, 01:44:16 pm by EEVblog »
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #13 on: January 25, 2014, 01:42:59 pm »
you can jump 2 traces instead of just one, equally if you rotate one 180 degrees your trace follows the same line it entered on, (or so i assume based on how i have been using them)

Yes and yes. Two in series gives you the option to jump two other traces, and in different locations, and/or returning to the direction you started.
That can mean the difference between making a design realisable on a double sided front panel board (like in the uCurrent) or not.
Of course on regular double sided board this might not matter at all, but when you are doing a front panel you don't want any traces on the other layer.
 

Offline robrenz

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
  • Real Machinist, Wannabe EE
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #14 on: January 25, 2014, 01:57:43 pm »
Great video Dave, I learned a lot :-+

Offline daqq

  • Super Contributor
  • ***
  • Posts: 2302
  • Country: sk
    • My site
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #15 on: January 25, 2014, 03:15:33 pm »
Thanks for the video Dave, useful.

For a 9:1 divider in one application we used this "IC": http://www.farnell.com/datasheets/572234.pdf

It's pretty precise, but pricey. There are many other ratios available from various makers.
Believe it or not, pointy haired people do exist!
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #16 on: January 25, 2014, 03:17:13 pm »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.

If you don't mind E24 200R and 1k8 or 300R and 2k7 does it with 2 resistors.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #17 on: January 25, 2014, 05:18:33 pm »
GBW is not to be confused with unity gain bandwidth !

GBW is a meaningless number. it is mainly determined by how high the internal stabilising capacitor is between the longtail and the output driver. This capacitor is responsible for the gain collapse over frequency. A far more interesting number is the slew rate of an opamp.


Unity gain bandwidth tells you up to what frequency an opamp can 'follow' the incoming signal when set in unity gain.
unity gain frequency is only specified for 1 input level : 0dB. Send a larger signal in there and UGB will go down. Send a smaller signal in and UGB may go up. You can't just arbitrarily send a level into the opamp.

There are other problems to be faced : the feedback divider will have stray capacitances due to the PCB material , soldermaks ,greasy fingers etc .. This may have an impact on the frequency/gain response. If you are working in the khz range you may not notice this , go to higher frequencies and it becomes problematic. That is why there are current feedback opamps for high frequencies. These do not care about stray capacitances on the pcb.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline tree

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #18 on: January 25, 2014, 07:10:36 pm »
I'm rather interested in the derivation of that formula in the upper right hand corner.

Have a look at these notes for cascading inverting opamps:
http://opencourseware.kfupm.edu.sa/colleges/ces/ee/ee303/files%5C3-Lesson_Notes_Lecture_12.pdf

The logic should be the same for non-inverting opamps, to work-out the right formula.

Thanks. I worked through it and found out how the formula is derived.
 

Offline tree

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #19 on: January 25, 2014, 07:11:35 pm »
Why would you want to increase the bandwidth in an application such as this (uCurrent)? I though this would measure ~DC current consumption, especially if you're measuring it with a handheld meter (which don't have 100s of kHz of bandwidth).
 

Online Marco

  • Super Contributor
  • ***
  • Posts: 6722
  • Country: nl
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #20 on: January 25, 2014, 07:15:19 pm »
A far more interesting number is the slew rate of an opamp.
Take the first opamp in Dave's cascade ... why would slew rate be interesting for it at all?

I can see how it's important to know it can add an additional limit on the bandwidth, but I don't see why it would necessarily be more interesting.
 

Offline robrenz

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
  • Real Machinist, Wannabe EE
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #21 on: January 25, 2014, 07:20:02 pm »
Why would you want to increase the bandwidth in an application such as this (uCurrent)? I though this would measure ~DC current consumption, especially if you're measuring it with a handheld meter (which don't have 100s of kHz of bandwidth).

I signed up for a µcurrent just to use as a current input to a scope. I don't need it for measuring DC current. In this case the bandwidth increase makes it much more useful.

Offline tree

  • Regular Contributor
  • *
  • Posts: 235
  • Country: us
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #22 on: January 25, 2014, 07:25:16 pm »
Why would you want to increase the bandwidth in an application such as this (uCurrent)? I though this would measure ~DC current consumption, especially if you're measuring it with a handheld meter (which don't have 100s of kHz of bandwidth).

I signed up for a µcurrent just to use as a current input to a scope. I don't need it for measuring DC current. In this case the bandwidth increase makes it much more useful.

I thought about that, but then wouldn't its [the measurement setup] accuracy be limited by the scope's accuracy? I suppose when you need to make a rough measurement, then it would be fine, but when you're trying to make a measurement with .05% accuracy then I don't think it would work well.
 

Offline robrenz

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
  • Real Machinist, Wannabe EE
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #23 on: January 25, 2014, 07:39:01 pm »
Why would you want to increase the bandwidth in an application such as this (uCurrent)? I though this would measure ~DC current consumption, especially if you're measuring it with a handheld meter (which don't have 100s of kHz of bandwidth).

I signed up for a µcurrent just to use as a current input to a scope. I don't need it for measuring DC current. In this case the bandwidth increase makes it much more useful.

I thought about that, but then wouldn't its [the measurement setup] accuracy be limited by the scope's accuracy? I suppose when you need to make a rough measurement, then it would be fine, but when you're trying to make a measurement with .05% accuracy then I don't think it would work well.

The µcurrent only guarantees a .05% conversion accuracy from current to voltage. The voltage measuring accuracy contribution to the max error has to be considered whether scope or DMM.  But it is a very nice pre amplified shunt for a scope.

Offline rfbroadband

  • Supporter
  • ****
  • Posts: 186
  • Country: us
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #24 on: January 26, 2014, 01:19:03 am »
Nice video. To gain more insight on these kind of topics one could also use a simulator like LTSpice/PSpice, especially  when you want to look at noise and distortion. A comment on non-linearity: If one can see non linearity of CW signals in the time domain, it is usually too late. It is more accurate to characterize non linear effects in the frequency domain  (-> simulator or a scope with decent FFT capability, or even an SA).
I like the series.
 

Offline Dr. Frank

  • Super Contributor
  • ***
  • Posts: 2384
  • Country: de
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #25 on: January 26, 2014, 02:00:37 am »
Dave,
That's been your best Fundamental Friday:
Storytelling is very straightforward, every aspect very well explained.

A minute critique:
You did not mention, that by cascading those OpAmps, your initial/superior goal of high precision DC gain will deteriorate.
One stage only will give 2 x 0,05% DC max. error, 2 stages will double that worst case value by 2 because you will have 4 instead of 2 uncertain resistors.
The probable error might follow a SQRT law, therefore 2 stages will increase uncertainty by a factor of 1,41 at least.

Anyhow, a fundamental error analysis, plus data from your series production / testing would make up a nice next-next-next fundamental Friday, I suppose.

Frank
« Last Edit: January 27, 2014, 02:44:41 pm by Dr. Frank »
 

Offline Echo20-127

  • Newbie
  • Posts: 2
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #26 on: January 26, 2014, 01:36:26 pm »
Dave,
That's been your best Fundamental Friday:
Storytelling is very straightforward, every aspect very well explained.

A minute critique:
You did not mention, that by cascading those OpAmps, your initial/superior goal of high precision DC gain will deteriorate.
One stage only will give 2 x 0,05% DC max. error, 2 stages will double that worst case value by 2 because you will have 4 instead of 2 uncertain resistors.
The probable error might follow a SQRT law, therefore 2 stages will decrease uncertainty by a factor of 1,41 at least.

Anyhow, a fundamental error analysis, plus data from your series production / testing would make up a nice next-next-next fundamental Friday, I suppose.

Frank

This gain accuracy might actually be a problem, but I expect Dave to know what he is doing with this...


On the bandwith problem, I guess this is a rather clever solution. I'm not very experienced in this domain but I would expect the improvement in the bandwidth domain to come at the detriment of an increased phase delay as the signal propagates through one more OpAmp. (tell me if I'm wrong  :-// )
It would be an improvement when you are trying to read the amplitude of some short transient current, but the delay would be something to keep in mind.
 

Offline casper.bang

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #27 on: January 26, 2014, 03:22:01 pm »
Great video... entirely too few fridays in Dave's calendar.  ;D
 

Offline qno

  • Frequent Contributor
  • **
  • Posts: 422
  • Country: nl
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #28 on: January 26, 2014, 07:37:07 pm »
I normally use slew rate.
The GBW is nice but says nothing about the amplitude of the output.
Before the amplitude of the opamps drops to -3 dB the output sinus waveform has been
changed to a triangle due to the slew rate limit.

See wiki

https://en.wikipedia.org/wiki/Slew_rate
Why spend money I don't have on things I don't need to impress people I don't like?
 

Offline electrocat

  • Newbie
  • Posts: 3
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #29 on: January 27, 2014, 02:28:28 pm »
Hi
A method I used to get a 10:1 divider is a 8 resistor network.

 ----R---R---R---R---R---R-
    !     !     !
    --R---R--
          !   

2R in parallel is the 1R in the divider
2R in parallel is series with 4 R's is the 9R

Use a 1% network with 8 individual resistors
Generally the match between individual resisters is much better then 1%, for a radiometric divider the exact value does not matter
The resistors are all from the same mix of resistive material therefore they temperature stability tracks very well.
I have used the method over the years with great success, if space is not a problem
Generally get better then 0.1% ratios with high temperature stability, only have to by 1 part plus not very expensive.

Regards


 
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #30 on: January 27, 2014, 03:04:12 pm »
A method I used to get a 10:1 divider is a 8 resistor network.

 ----R---R---R---R---R---R-
    !     !     !
    --R---R--
          !   

2R in parallel is the 1R in the divider
2R in parallel is series with 4 R's is the 9R

Interesting & noted down, thanks.  :-+

Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #31 on: January 27, 2014, 05:25:14 pm »
Sorry but I'm missing something here, I cannot see why the bandwidth of an op amp will change depending on what gain you set it at. All that is in the feedback path is two resistors so what causes a device that works at over 2 MHz at unity gain to only work at a few KHz?

Peter
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #32 on: January 27, 2014, 06:29:57 pm »
Sorry but I'm missing something here, I cannot see why the bandwidth of an op amp will change depending on what gain you set it at. All that is in the feedback path is two resistors so what causes a device that works at over 2 MHz at unity gain to only work at a few KHz?

Peter

In simplified terms:

To get a stable opamp it is internally frequency compensated with what is called a dominant pole. The result (again simplified) is that an opamp behaves like a first order low-pass filter with -20 dB/decade frequency response. I.e. the low-pass behavior limits amplification at higher frequencies.

Actually, as an EE you should know that from your introduction course to opamps.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #33 on: January 27, 2014, 07:49:37 pm »
EE, Electrical Engineer, normally I work on bigger stuff such as 10Kw motor drivers but I do the smaller stuff like this for fun.

Peter
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 

Offline vigsgb

  • Contributor
  • Posts: 21
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #34 on: January 28, 2014, 12:13:52 am »
I think you should create a video on bandwidth as it applies to electronics as I don't even know why you needed more bandwidth in your micro current..  was it for response time of the input?  Make tests quicker.   When I search online and YouTube I find so many variants but nothing a newbie like myself can understand.
 

Offline mexakin

  • Contributor
  • Posts: 10
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #35 on: January 29, 2014, 11:44:06 am »
You need more bandwitdh in opamp circuits to see fast changing frequencies on your test signals,
for example try to measure a rectangle signal with a too small bandwitdh, you will see a sinus of it, so you must always know what to expect from your test and measurment equipments, otherwise there is no need to measure at all :)
 

Offline The Chump

  • Contributor
  • Posts: 43
  • Country: gb
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #36 on: January 29, 2014, 10:07:01 pm »
For 9K, surely 2x18K in parallel is better than 2K2+6K8 as it reduces your BOM.
For a two resistor ratio of 9:1, what could be better than 1k8 and 200R?
 

Offline vigsgb

  • Contributor
  • Posts: 21
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #37 on: January 30, 2014, 12:11:32 am »
You need more bandwitdh in opamp circuits to see fast changing frequencies on your test signals,
for example try to measure a rectangle signal with a too small bandwitdh, you will see a sinus of it, so you must always know what to expect from your test and measurment equipments, otherwise there is no need to measure at all :)

Thanks!  That answers my question.   Tomorrow I will be playing with some op amps.   Need to get a scope soon so I can see what the wave form looks like and such.   
 

Offline VanitarNordic

  • Frequent Contributor
  • **
  • Posts: 277
  • Country: 00
Re: EEVblog #572 - Cascading Opamps For Increased Bandwidth
« Reply #38 on: January 24, 2019, 07:30:28 pm »
in the video, Dave mentions that it is better that we apply the whole gain in one opamp for a couple of reasons, what are the reasons behind this?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf