Author Topic: DIY oscilloscope (yet again)  (Read 9857 times)

0 Members and 1 Guest are viewing this topic.

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
DIY oscilloscope (yet again)
« on: November 13, 2019, 08:34:48 pm »
I have been daydreaming about DIY oscilloscope for a while. Not for cost saving or better performance than commercial scopes, but mainly as learning experience.

The end game would be 8ch scope with modest bandwidth (10-50MHZ), but I will start with something very simple.

As a first step I will buy PYNQ-Z2 and design very basic 1ch front end that can be connected to the board. It will probably keep me busy for a while.

I have been reading related articles and forum posts in past days, like:
https://www.eevblog.com/forum/projects/diy-oscilloscope-front-end-queries/
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual

-What is the best approach for the front end if I want to optimize simplicity/part count, but still keep costs in check? Should I copy the design from the discovery 2 or is there more integrated solutions available with a bit higher price?
-Is there something wrong with my approach in general?
 
The following users thanked this post: prasimix, Yansi

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #1 on: November 13, 2019, 08:40:07 pm »
For 10-50Mhz, do the front end the good old fashioned way:  JFET buffer with DC servo.    Such frontend can be pushed even in the hundreds MHz region with good success rate.
Then you place any ADC with integrated VGA (PGA) or an external VGA (PGA) in front of the ADC - whatever suits best.

Principles briefly mentioned for example in this datasheet, starting page 34: http://www.ti.com/lit/ds/symlink/lmh6518.pdf

//EDIT: Typos.
« Last Edit: November 13, 2019, 08:59:33 pm by Yansi »
 
The following users thanked this post: PMA

Offline Boscoe

  • Frequent Contributor
  • **
  • Posts: 279
Re: DIY oscilloscope (yet again)
« Reply #2 on: November 13, 2019, 09:22:26 pm »
If you’re happy with a reduced input range, say +/-10V then it makes your life a lot easier. Couple this with a x10 probe and you’ve got yourself some thing that will cover 95% of use cases. I don’t think I’ve ever looked at something more than 100V but I don’t design SMPSs.

The difficulty in front end designs is getting the attenuation at the input with high input impedance with good bandwidth. Remove the need for the attenuator and your done.
 

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #3 on: November 13, 2019, 09:42:01 pm »
If you’re happy with a reduced input range, say +/-10V then it makes your life a lot easier. Couple this with a x10 probe and you’ve got yourself some thing that will cover 95% of use cases. I don’t think I’ve ever looked at something more than 100V but I don’t design SMPSs.

The difficulty in front end designs is getting the attenuation at the input with high input impedance with good bandwidth. Remove the need for the attenuator and your done.

That is definitely something to think about. My use case would be mostly battery operated motor controllers, so supply voltage won't be more than 48V, but it would be nice if somebody else could use my design as well.

I have to take deep dive into front ends, but at the moment it sounds a good idea to keep things simple and go with +/- 10V range and old school design for the front end (+PGA which may not be so old school).
« Last Edit: November 13, 2019, 09:48:31 pm by PMA »
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #4 on: November 14, 2019, 12:10:22 pm »
If you go down the discrete frontend route, limiting yourself to 10V is dumb limitation. You just need a simple compensated attenuator. Nothing what couldn't be done with a couple of passives and a small cheap signal relay (for example Omron G6K-2F-Y). Also briefly discussed withing the PDF I have linked.

Look into how cheap DSOs (Riglents and Hanteks) have frontends made. There are numerous reverse engineered schematics floating round the web. Almost always this very same topology or thereof.

Look there for a tip how for example AC coupling mode is accomplished - as this is not discussed within the PDF I have linked. Can be seen well for example from a Rigol DS1054 reverse engineered schematics.  (AC coupling of the DC servo, NOT the input path)

I do not see any issue why it couldn't be possible to design and tune the frontend for 20MHz operation.  Couple years back I have experimented with this out of curiosity. Ugly build of that circuit on a piece of copper clad using just THT components worked well beyond 20MHz without much tuning.  (I just got issues with a bit different gains of the DC and AC paths - but now I know why and could improve it).

Just make a couple of prototype boards. Nothing more needed for debugging other then a decent ARB generator (sine/square) and an oscilloscope.

For the VGA, you could use for example AD8330. (DC to 150 or so MHz VGA). Using a VGA instead of PGA gives a nice ability to self-calibrate gain steps. With PGA, you are stuck with the frontend (and PGA) accuraccy without much possibility to cal it out. (Multiplying the ADC output is not so great idea, but might work as well).

 
The following users thanked this post: PMA

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17193
  • Country: us
  • DavidH
Re: DIY oscilloscope (yet again)
« Reply #5 on: November 15, 2019, 03:16:20 pm »
The simplest high performance front end uses a pair of JFETs (followed by one or two bipolar emitter followers to unload the top JFET) with the bottom one setting the current of the top one.  It has one adjustment for offset and no need for a low to medium frequency compensation adjustment.  Usually the JFETs are matched but this is not difficult to achieve in small production runs.

In any FET based design, watch out for input voltage range.  Modern designs get away with a +/-1 volt input voltage range but that is really pushing it when you consider slew rate limitations and other factors.  +/-0.1 volt or less is typical for old oscilloscopes for good reasons.  (1) This limitation means plan on using at least one high impedance input attenuation stage no matter what to get a useful input voltage range.

There are some low input capacitance fast JFET and MOSFET input operational amplifiers now like the The LTC6268, ADA4817, and AD8065 which might be used for a lower performance design.  Using shunt and differential feedback amplifiers will result in poorer transient response unless bandwidth is limited and special care is used.  This applies to the following stages as well.

(1) There are ways to get a +/-10 volt input voltage range without attenuators using a cascode design but the first few attempts are likely to be VHF oscillators.
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #6 on: November 15, 2019, 03:49:57 pm »
Simple JFET buffer (without a DC servo) will never have good DC accuracy. Maybe good enough for analog CROs, where you tweak the offset every time. But not good enough for a DSO, where zero shall be zero all the time.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17193
  • Country: us
  • DavidH
Re: DIY oscilloscope (yet again)
« Reply #7 on: November 15, 2019, 08:13:09 pm »
Simple JFET buffer (without a DC servo) will never have good DC accuracy. Maybe good enough for analog CROs, where you tweak the offset every time. But not good enough for a DSO, where zero shall be zero all the time.

JFET totem-pole buffers can have outstanding DC accuracy.  With care, they can even have lower drift than the common DC servo configuration using a divider followed by a CMOS operational amplifier because the divider multiples the input offset voltage drift of the operational amplifier.

In the example shown below, trim R15 to adjust offset; Q13B isolates high frequencies from R15 so a trimmer potentiometer may be used here.  Q14 is a JFET being used as a low leakage diode for negative input overload protection; the forward biased gate junction of Q13A protects itself during positive overloads.  C6 and R6 are also for input overload protection.  As shown, Q13 is a dual JFET however matched single JFETs will work just fine but mount them in close proximity for good temperature tracking.  Discrete parts would normally be thermally bonded together for best performance.

Modern designs eschew this method because matching a pair of JFETs costs more than the additional circuitry for a DC servo control loop.
 

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #8 on: November 17, 2019, 09:50:27 am »
I probably go with DC servo. It seems to be de-facto in lower end scopes, so there is plenty of examples available and it is proven design for DSO.

I have been looking different attenuator designs and found out that they are relatively complicated even in low end scopes. Not that voltage divider is complicated, but there is lots of art in compensation circuits. Is there good literature available about the subject?

Higher end designs tends to use  multiple selectable attenuators in parallel or in series. Is it worth of effort and pain or is it better to keep things simple and use just one?

 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #9 on: November 17, 2019, 10:48:47 am »
That "JFET pairing" and need for "tweak this Rx or this Ry until good" is exactly the reason, why the dc servo was invented and is widely used.

I see absolutely no reason why the servo shouldn't be superior to a pair of paired JFETs. The Opamp used in the servo does not need to be that fast and can be of low Vos type.  In some appnote I have seen OPA2227 suggested.  But sure it will work with almost any decent opamp.




 

Offline gf

  • Super Contributor
  • ***
  • Posts: 1338
  • Country: de
Re: DIY oscilloscope (yet again)
« Reply #10 on: November 17, 2019, 01:02:46 pm »
I have been looking different attenuator designs and found out that they are relatively complicated even in low end scopes.

Besides the compensated divider, yet another design goal for a scope's attenuator is IMO constant input capacitance - independent of the selected attenuation - otherwise you need to re-adjust a connected 10:1 probe whenever you switch to a different attenuation stop :( [I'd not be not sure, though, that this is really granted for all low-end scopes].

gf
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #11 on: November 17, 2019, 01:45:45 pm »
Constant impedance?  That is not happening, even with high end scopes. Unless you use a 50ohm termination mode.

You probably meant that the impedance curves shall be similar, both with and without the attenuator selected. That is probably true. But probably not that critical in a 10-50MHz setup. I'd just make sure the input capacitance stays the same.
 

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #12 on: November 17, 2019, 03:28:12 pm »
Why there is basically low pass filter in the Rigol? It cannot be just for bandwidth limiting for the next stage because the attenuator is selectable. Something to do with capacitive coupling of the circuits on higher frequencies?

 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #13 on: November 17, 2019, 03:38:05 pm »
Where exactly do you see it, or what do you mean by low pass? It is a compensated divider.  Plus some resistors to get the response more right.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17193
  • Country: us
  • DavidH
Re: DIY oscilloscope (yet again)
« Reply #14 on: November 17, 2019, 05:16:06 pm »
That "JFET pairing" and need for "tweak this Rx or this Ry until good" is exactly the reason, why the dc servo was invented and is widely used.

Actually if you match the JFETs then the current setting resistor does not need to be adjusted however the offset of the high impedance buffer stage needs to be adjusted at some point to trim the step attenuator balance.  Sometimes this is done in the high impedance buffer, either by adjusting the JFET drain current or adjusting the offset of the DC servo, and sometimes it is done in the following stage so there is always an offset adjustment somewhere.

The DC servo method has its own adjustment for the low to medium frequency compensation whether they show it or not.  This is why some modern implementations have a low to middle frequency step in the amplitude response that older designs did not suffer from.

Quote
I see absolutely no reason why the servo shouldn't be superior to a pair of paired JFETs. The Opamp used in the servo does not need to be that fast and can be of low Vos type.  In some appnote I have seen OPA2227 suggested.  But sure it will work with almost any decent opamp.

Practically any low input bias current operational amplifier is suitable for the DC servo.  Tektronix first used the TLC271 programmable operational amplifier set for high bias probably for minimum input noise.

There are some disadvantages to the DC servo configuration:

1. The input divider multiplies the offset drift and low frequency noise of the operational amplifier above that which would be present in the dual JFET implementation.  I have seen designs which did away with this attenuation however doing so makes point 2 below worse.  Low frequency noise on some modern DSOs is truly atrocious compared to past oscilloscopes despite marketting claims about "low noise".  Their broadband noise is no better.
2. Input overload can cause windup of the DC servo prolonging overload recovery time.

However for a simple design, I would ignore all of these performance considerations and implement whatever is simplest or the designer is most comfortable with except for a shunt feedback design which just leads to troublesome transient response.

Constant impedance?  That is not happening, even with high end scopes. Unless you use a 50ohm termination mode.

You probably meant that the impedance curves shall be similar, both with and without the attenuator selected. That is probably true. But probably not that critical in a 10-50MHz setup. I'd just make sure the input capacitance stays the same.

He means constant input capacitance and resistance with different input attenuator settings.  The former requires a trimmable shunt capacitance for each attenuator stage in addition to the timmable capacitor for frequency compensation.  These adjustment have a *major* effect on the low to medium frequency compensation.

I have been looking different attenuator designs and found out that they are relatively complicated even in low end scopes. Not that voltage divider is complicated, but there is lots of art in compensation circuits. Is there good literature available about the subject?

The Tektronix Circuit Concepts Books have a detailed discussion of high impedance input attenuators in the Vertical Amplifier Circuits book available at that link.

The Tektronix 7A15 (not 7A15A) service manual shows details for discrete attenuator sections from 1x to 1000x.  Older designs are easier to implement with discrete parts and printed circuit board assemblies.

Steve Roach who worked for Hewlet Packard designing digital storage oscilloscope front ends wrote a chapter included in Jim William's "The Art and Science of Analog Circuit Design" called "Signal Conditioning in Oscilloscopes" which covers how more modern instruments do it.

Quote
Higher end designs tends to use  multiple selectable attenuators in parallel or in series. Is it worth of effort and pain or is it better to keep things simple and use just one?

You can almost certainly get away with just a single switchable high impedance attenuator stage but better modern oscilloscopes use at least two x10 stages in series.

But do not forget about the switched AC/DC coupling stage.  Older oscilloscopes implemented this before the first high impedance attenuator but Steve Roach's paper mentioned above discusses how to implement this as part of the DC servo controlled high impedance buffer.
 
The following users thanked this post: guenthert, PMA

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #15 on: November 17, 2019, 05:27:46 pm »
Where exactly do you see it, or what do you mean by low pass? It is a compensated divider.  Plus some resistors to get the response more right.

Long story short: there was series of brain farts.
« Last Edit: November 17, 2019, 05:30:19 pm by PMA »
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #16 on: November 17, 2019, 05:56:21 pm »
There are some disadvantages to the DC servo configuration:

1. The input divider multiplies the offset drift and low frequency noise of the operational amplifier above that which would be present in the dual JFET implementation.  I have seen designs which did away with this attenuation however doing so makes point 2 below worse.  Low frequency noise on some modern DSOs is truly atrocious compared to past oscilloscopes despite marketting claims about "low noise".  Their broadband noise is no better.
2. Input overload can cause windup of the DC servo prolonging overload recovery time.

ad 1)  noise in what exact quantity? I doubt that would become anywhere close to what a shitty 8bit ADC dynamic range can offer in that application, with a standard lowest 5mV/div step.* Bad PSRR, channel crosstalk etc would be your bigger enemy. But I stay being corrected.

ad 2) I think that is left as is in even many not-low-end scopes.  If the AFE is overloaded, well, then you are using the scope wrong.

*just guessing OP is aiming for the standard 8bit acquisition which is "good enough" for many scope applications, 10, 12 or more bits would definitely require more than just "simple & easy" AFE design.

//EDIT: Not sure what "low-medium compensation" you talk about, but the DC servo's low frequency gain matching (to the JFET buffer medium-high frequency gain) is usually auto-tweaked using a couple of electronic pots within the feedback loop. 
« Last Edit: November 17, 2019, 05:59:28 pm by Yansi »
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14829
  • Country: de
Re: DIY oscilloscope (yet again)
« Reply #17 on: November 17, 2019, 06:28:19 pm »
That "JFET pairing" and need for "tweak this Rx or this Ry until good" is exactly the reason, why the dc servo was invented and is widely used.

I see absolutely no reason why the servo shouldn't be superior to a pair of paired JFETs. The Opamp used in the servo does not need to be that fast and can be of low Vos type.  In some appnote I have seen OPA2227 suggested.  But sure it will work with almost any decent opamp.

The OP2227 is not suitable for the DC servo, as it would add considerable current noise, that the fast part would also see. The suitable choice would be more like a good JFET based OP, like OPA141, maybe LT1012 if it really needs to be BJT based.

In the discrete JFET buffer the offset adjustment with the current source also effects the temperature drift. So one could adjust for minimal temperature drift and compensate the usually small residual offset separately. The advantage of well matched JFETs is that zero offset and zero drift are close together.

Even with a  8 bit ADC, input noise can still be important. It kind of limits the lowest useful sensitivity (e.g. 10 mV/div in a noisy config, and maybe 0.5 mV/div if low noise).  The leveling factor here is more the noise of a typical 1:10 probe - no real need for a very low noise input with the noise of an 1 Meg resistor. It's with a 1:1 probe where the noise really counts. The ADC resolution is more like linked to screen resolution.
 

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #18 on: November 17, 2019, 06:36:42 pm »
*just guessing OP is aiming for the standard 8bit acquisition which is "good enough" for many scope applications, 10, 12 or more bits would definitely require more than just "simple & easy" AFE design.

8bit is good enough for me. More is always better, but I think that the project is difficult enough even if I try to keep everything simple.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17193
  • Country: us
  • DavidH
Re: DIY oscilloscope (yet again)
« Reply #19 on: November 17, 2019, 06:53:49 pm »
There are some disadvantages to the DC servo configuration:

1. The input divider multiplies the offset drift and low frequency noise of the operational amplifier above that which would be present in the dual JFET implementation.  I have seen designs which did away with this attenuation however doing so makes point 2 below worse.  Low frequency noise on some modern DSOs is truly atrocious compared to past oscilloscopes despite marketting claims about "low noise".  Their broadband noise is no better.
2. Input overload can cause windup of the DC servo prolonging overload recovery time.

ad 1)  noise in what exact quantity? I doubt that would become anywhere close to what a shitty 8bit ADC dynamic range can offer in that application, with a standard lowest 5mV/div step.* Bad PSRR, channel crosstalk etc would be your bigger enemy. But I stay being corrected.

At high sensitivities, even 5mV/div, the dynamic range of an 8 bit ADC is plenty to pick up the noise at least in a noisy design.  The servo loop is good for DC drift but low frequency noise levels can be much higher.

For most applications, this is irrelevant.  However if you are expecting to use an FFT to measure low frequency noise, it will limit performance.

Quote
ad 2) I think that is left as is in even many not-low-end scopes.  If the AFE is overloaded, well, then you are using the scope wrong.

There is a matter of degrees here.  If the servo loop design is careless, then overload recovery time can be extended by orders of magnitude.  Some oscilloscopes are very resistant to overload giving additional application flexibility.  A few are even immune.  (1)

Quote
*just guessing OP is aiming for the standard 8bit acquisition which is "good enough" for many scope applications, 10, 12 or more bits would definitely require more than just "simple & easy" AFE design.

I am not sanguine that 10 and 12 bit designs are anything more than marketing at work.  DSOs have enough difficulty with noise, settling time, and distortion even with 8 bit resolution.  Sampling oscilloscopes are a different matter.

Many low cost commercial designs use the extra resolution provided by a higher resolution converter as a free programmable gain stage.

Quote
//EDIT: Not sure what "low-medium compensation" you talk about, but the DC servo's low frequency gain matching (to the JFET buffer medium-high frequency gain) is usually auto-tweaked using a couple of electronic pots within the feedback loop.

The paper by Steve Roach that I mentioned discusses the difficulties with dual loop buffers.  Automatic calibration would require additional complexity to inject the test signals.  Is that desirable in a DIY design?  I would settle for support for ground coupling so that the offset of the following stages can be removed.

(1) Sampling oscilloscopes are immune to overload.  I know how to make a low impedance signal path immune to overload but making a high impedance buffer immune is difficult to impossible and many commercial designs do not even bother to try.
« Last Edit: November 17, 2019, 06:55:59 pm by David Hess »
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: DIY oscilloscope (yet again)
« Reply #20 on: November 17, 2019, 07:07:41 pm »
Thank you for some clarifications.

I am not sure of hand how the GND coupling switch is accomplished. Do you have any sources I can refer to?

Not sure how difficult it'd be to inject any kind of test signal, but I guess even the low end scopes do that for self-calibration, don't they?
 

Offline gf

  • Super Contributor
  • ***
  • Posts: 1338
  • Country: de
Re: DIY oscilloscope (yet again)
« Reply #21 on: November 17, 2019, 10:25:27 pm »
Thank you for some clarifications. I am not sure of hand how the GND coupling switch is accomplished. Do you have any sources I can refer to?

Well, on my Hantek scope the "GND" position is a fake. Obviously it just sets the signal to zero in the digital domain (after ADC). Seems they did not spend money for any associated component (e.g. relay) in the analog frontend.

Not sure how difficult it'd be to inject any kind of test signal, but I guess even the low end scopes do that for self-calibration, don't they?

One signal is typically injected anyway, and that's the vertical position offset. One potential injection point is at the DC servo. My understanding ist that at least some of the low-end scopes simply sweep the vertical position (and measure the resulting ADC output) in order to self-calibrate offset/gain (requiring by documentation that no signal must be connected to the inputs during self-calibration).

[ This self-calibration eventually compensates the overall offset errors of all frontend stages and the ADC, so it does not matter if any of the stages has some residual offset error - what matters is rather offset drift which invalidates the self-calibration again after some time. ]

gf
« Last Edit: November 17, 2019, 10:32:46 pm by gf »
 

Offline PMATopic starter

  • Contributor
  • Posts: 23
  • Country: fi
Re: DIY oscilloscope (yet again)
« Reply #22 on: November 17, 2019, 10:53:16 pm »
I haven't found many schematics with ability to inject test signal, but there is at least one example (see attachment (don't remember original author, sorry)).

If there is arb waveform gen on the board, it isn't big step to route signal to inputs.

« Last Edit: November 17, 2019, 11:06:02 pm by PMA »
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17193
  • Country: us
  • DavidH
Re: DIY oscilloscope (yet again)
« Reply #23 on: November 18, 2019, 02:03:24 am »
I am not sure of hand how the GND coupling switch is accomplished. Do you have any sources I can refer to?

In old designs ground coupling is part of the AC and DC coupling circuit and requires another mechanical switch or relay.  Functionally it connects the input through a resistor to the AC coupling capacitor while grounding the high impedance buffer.  This provides two functions; it grounds signal to the high impedance buffer but it also precharges the AC coupling capacitor to the average DC input voltage which can be important in some applications to prevent damage to the input circuits.  The Tektronix service manuals show various circuit configurations for achieving this but the most relevant ones are probably their early automated oscilloscopes where it was just a pair of relays.

Interestingly enough, on the Tektronix 2247A analog oscilloscope which provides input calibration like gf mentioned, ground coupling does not actually connect the input to ground.  Instead it connects the input to a variable calibration voltage which may be serve as "ground" by being set to zero volts when ground coupling is selected.

Selecting between AC and DC coupling is possible without a relay and lots of oscilloscopes do it now (the paper by Steve Roach that I mentioned shows an example) but I am not sure how to select ground coupling without a relay which may explain why so many oscilloscopes cheat for this.
 

Offline gf

  • Super Contributor
  • ***
  • Posts: 1338
  • Country: de
Re: DIY oscilloscope (yet again)
« Reply #24 on: November 18, 2019, 11:05:53 pm »
Many low cost commercial designs use the extra resolution provided by a higher resolution converter as a free programmable gain stage.

You mean the polular HMCAD1511? Admittedly, it makes relatively simple/cheap frontend designs possible if the demands are not too high. When I look at my Hantek 6xx4BD, there are two cascaded 10:1 attenuators at each input (-> switchable between 100:1, 10:1, 1:1), then the "classical" JFET/BJT hybrid darlington voltage follower with DC servo, and finally a fully differential amp with ~2x gain, driving diferentially into the HMCAD1511. At 100mV/div, the HMCAD1511 operates w/o digital gain, and for all smaller V/div steps, simply the digital gain is increased (up to 50x at 2mV/div). There is no dedicated VGA in the signal chain. Due to the extra internal resolution the HMCAD1511 has only a moderate ENOB loss up to a gain of 32. The noise level I see (about 350-450µV RMS) is IMO more significant than the ENOB loss due to digital gain. One drawback of this design is that enabling the the 20MHz BW limit in the frontend does not reduce the noise level at all - which makes me conclude that most of the noise is obviously introduced after the BW filter (maybe even inside the ADC chip?).

gf
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf