Author Topic: Open Source Oscilloscope, can it be done?  (Read 76100 times)

0 Members and 1 Guest are viewing this topic.

Offline garbouiTopic starter

  • Regular Contributor
  • *
  • Posts: 69
Open Source Oscilloscope, can it be done?
« on: January 31, 2017, 10:59:36 pm »
The other day I went searching for an open source or extensible oscope available. PC based devices were the only things that came up. Why is there no bench scope that's open? Is it just not financially practical?
 
The following users thanked this post: neris.io

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #1 on: January 31, 2017, 11:19:58 pm »
Well, a couple of ADCs + FPGA used even in entry level scope will cost you close to the price of the real scope. There is really no point.

Plus to debug and tune handmade scope, you need a scope an order of magnitude better, which defeats the point of making a worse one :)
Alex
 
The following users thanked this post: Free_WiFi, AndrewBCN

Offline garbouiTopic starter

  • Regular Contributor
  • *
  • Posts: 69
Re: Open Source Oscilloscope, can it be done?
« Reply #2 on: February 01, 2017, 12:44:05 am »
Granted, the FR and ADC will use u budget, but what if these were closesd blobs and the rest of the UI and processing were open (similar to raspi)?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #3 on: February 01, 2017, 12:47:59 am »
I think there is an effort to reverse-engineer firmware and hardware of the Rigol scopes. The problem is, people that want to use their equipment need it to work when needed, not tinker with it. You are already debugging a problem, do you also want to debug the scope?

There is very little to be gained. The UI is not perfect, but it is acceptable, way below the pain point to spend months of development time.
Alex
 
The following users thanked this post: sokoloff

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Open Source Oscilloscope, can it be done?
« Reply #4 on: February 01, 2017, 01:24:49 am »
I think one reason this hasn't really happened is that for the cost of the crucial parts, you can buy a used older model scope that will outperform the one you were going to build. Oscilloscopes have tended to be on the bleeding edge, a lot of fancy tricks were incorporated to get them to perform as well as possible, just look inside some of the older Tek scopes. They're an engineering masterpiece.
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3527
  • Country: it
Re: Open Source Oscilloscope, can it be done?
« Reply #5 on: February 01, 2017, 06:01:34 am »
well there is the guy who hacked an owon scope..

http://blog.weinigel.se/2016/05/01/sds7102-hacking.html and following. nice reading
 
The following users thanked this post: tooki, ahbushnell

Online Marco

  • Super Contributor
  • ***
  • Posts: 6971
  • Country: nl
Re: Open Source Oscilloscope, can it be done?
« Reply #6 on: February 01, 2017, 10:43:54 am »
Why is there no bench scope that's open? Is it just not financially practical?

Too much effort, too little pay off. Need to wait for the right crazy person to come along and make one.
 
The following users thanked this post: neris.io

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2683
  • Country: fr
    • kripton2035 schematics repository
 
The following users thanked this post: LariSan

Offline djnz

  • Regular Contributor
  • *
  • Posts: 179
  • Country: 00
Re: Open Source Oscilloscope, can it be done?
« Reply #8 on: February 06, 2017, 06:06:50 am »
Have you seen this:

Texas Instruments - 50-Ohm 2-GHz Oscilloscope Front-end Reference Design  -> http://www.ti.com/tool/TIDA-00826

Not really open source, but very interesting. Of course, if you actually want to build it, the parts are very expensive.

 

Offline spanner888

  • Contributor
  • Posts: 12
Re: Open Source Oscilloscope, can it be done?
« Reply #9 on: February 06, 2017, 11:37:36 pm »
Well Bunnie has done one for the Novena laptop with "two 8-bit channels at 1GSPS or one 8-bit channel at 2GSPS with an analog bandwidth of up to 900MHz. As a side bonus we also wired in a set of 10 digital channels that can be used as a simple logic analyzer." Probably not directly what you want but food for thought, especially the front end.

http://www.bunniestudios.com/blog/?p=3957
 
The following users thanked this post: analogo, neris.io, Tony777

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #10 on: February 06, 2017, 11:40:29 pm »
ADC used in this design (ADC08D1020) costs ~$400 on DigiKey. I'm sure there are places to get it cheaper, but not much in low quantities.
Alex
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 29480
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Open Source Oscilloscope, can it be done?
« Reply #11 on: February 07, 2017, 12:38:52 am »
................... The problem is, people that want to use their equipment need it to work when needed, not tinker with it. You are already debugging a problem, do you also want to debug the scope?
Exactly and reliability was the primary reason years ago I ditched troublesome CRO's in favour of DSO's.

Quote
There is very little to be gained. The UI is not perfect, but it is acceptable, way below the pain point to spend months of development time.
:-+

I've seen a few threads like this over the years, all with members thinking they can build a better scope than the many that are currently available.  :-//
The functionality in basic entry level DSO's is no trivial task to implement, let alone in more advanced DSO's.

If we take a step back and look at the # of brands that are designing and building DSO's, there really are only a dozen or so which implies if it was easy everybody would be doing it.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 
The following users thanked this post: tooki

Offline garbouiTopic starter

  • Regular Contributor
  • *
  • Posts: 69
Re: Open Source Oscilloscope, can it be done?
« Reply #12 on: February 07, 2017, 01:16:42 am »
................... The problem is, people that want to use their equipment need it to work when needed, not tinker with it. You are already debugging a problem, do you also want to debug the scope?
Exactly and reliability was the primary reason years ago I ditched troublesome CRO's in favour of DSO's.

Quote
There is very little to be gained. The UI is not perfect, but it is acceptable, way below the pain point to spend months of development time.
:-+

I've seen a few threads like this over the years, all with members thinking they can build a better scope than the many that are currently available.  :-//
The functionality in basic entry level DSO's is no trivial task to implement, let alone in more advanced DSO's.

If we take a step back and look at the # of brands that are designing and building DSO's, there really are only a dozen or so which implies if it was easy everybody would be doing it.

I understand this completely. I do design electronic goods for a living already and know the amount of work required to manufacture something, let alone design something with a degree of complexity to be manufactured reliably and economically.

Something I hinted at originally is working with a hybrid approach. Have a closed source blob, being a skeleton platform; ie. 1054z with basic functional interface (or the same). However the usb, Ethernet and UI will have end user accessible API's to customize UI looks, measurements, data displays etc... IO can be customized for automated tests etc, signal generation, decoding etc.

Doing something like this as a ground up effort would be a massive feat to be profitable/ feasible/ good. Finding a partner company that would allow a rebranding with the custom extensible interfaces may be feasible?
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Open Source Oscilloscope, can it be done?
« Reply #13 on: February 07, 2017, 05:21:37 am »
I don't know why a CRO would be any more troublesome than a DSO. I've been using my Tek 465B for 17 trouble-free years now, it's actually quite a lot more dependable than some of the (relatively cheap) DSO's I've dealt with. There are never firmware bugs or lockups with an analog CRO.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #14 on: February 07, 2017, 05:24:10 am »
I don't know why a CRO would be any more troublesome than a DSO.
I like to capture signals and look at them in detail, for example. 24 Mpts of memory is pretty handy for that.  I also like to get things int a computer and do math om them from time to time.

If you only look at periodic signals, then may be CRO is good enough.
Alex
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 29480
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Open Source Oscilloscope, can it be done?
« Reply #15 on: February 07, 2017, 05:37:23 am »
I don't know why a CRO would be any more troublesome than a DSO. I've been using my Tek 465B for 17 trouble-free years now, it's actually quite a lot more dependable than some of the (relatively cheap) DSO's I've dealt with. There are never firmware bugs or lockups with an analog CRO.
Some aren't, you're right.....when designed conservatively and to last like a good # of the classic Teks like yours.
However by virtue of the the high voltages in a CRO, several blocks of a CRO circuit are under some stress and with the now very common practice of using componentry close to limits, failures ensue.

With many CRO's as I'm on record having said before; you need another to keep the CRO you have in operational condition.
Fixed enough of them to know this for sure.  :rant:
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Open Source Oscilloscope, can it be done?
« Reply #16 on: February 07, 2017, 04:36:11 pm »
I don't know why a CRO would be any more troublesome than a DSO.
I like to capture signals and look at them in detail, for example. 24 Mpts of memory is pretty handy for that.  I also like to get things int a computer and do math om them from time to time.

If you only look at periodic signals, then may be CRO is good enough.

I'm not debating the usefulness, there are indeed times when a DSO will do things that are simply not possible to do any other way. I was only speaking in terms of reliability to the comment about them being troublesome.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #17 on: February 07, 2017, 04:43:47 pm »
I was only speaking in terms of reliability to the comment about them being troublesome.
Well, in my experience, old CROs almost always have issues with rotary switches. They oxidize, and fail in the most unpredictable way. This is solved with contact cleaner most of the time, but still annoying.

This will probably apply to DSOs as well, but given how cheap they are and improvements made over the years, I'd rather toss a scope after a few years of use anyway, so I'm unlikely to see them fail in any specific way.
Alex
 

Offline Cloud

  • Regular Contributor
  • *
  • Posts: 194
  • Country: si
Re: Open Source Oscilloscope, can it be done?
« Reply #18 on: February 18, 2017, 09:43:35 am »
What about this? http://www.scopefun.com/
 
The following users thanked this post: neris.io

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11773
  • Country: us
    • Personal site
Re: Open Source Oscilloscope, can it be done?
« Reply #19 on: February 18, 2017, 06:44:58 pm »
What about this?
100 MHz Sampling rate is somewhat slow, memory depth is very low for a modern scope.

There are no hardware files in easily readable format, but I doubt it will be cheaper than $200-300, at which point it again does not make sense. Unless you actually want to have that open source stuff and may be use it in connection with scripting or something like that.

It seems like a nicely designed unit, but not a general use device.
Alex
 

Offline SaabFAN

  • Frequent Contributor
  • **
  • Posts: 735
  • Country: de
Re: Open Source Oscilloscope, can it be done?
« Reply #20 on: February 24, 2017, 03:57:03 am »
Wasn't there a brand of Scopes that looked like HP-Scopes from the late 90s that were kind of open source?
I remember reading about the FPGA-Program and basically most of the firmware getting rewritten by hobby developers even before the manufacturer of the scopes went bankrupt and these scopes flooded ebay at suspiciously low prices (They're gone now on ebay, which I guess happened for a reason :) ).

Offline samofab

  • Regular Contributor
  • *
  • Posts: 150
  • Country: si
Re: Open Source Oscilloscope, can it be done?
« Reply #21 on: February 24, 2017, 09:07:07 pm »
Wasn't there a brand of Scopes that looked like HP-Scopes from the late 90s that were kind of open source?

You mean this one:
https://sourceforge.net/projects/welecw2000a/
 

Offline ohdsp

  • Contributor
  • Posts: 32
  • Country: gb
Re: Open Source Oscilloscope, can it be done?
« Reply #22 on: March 06, 2017, 09:47:25 pm »
Would love to build/design an open source oscilloscope. It has been another one of those projects I have had on my to do list for a long time (and no i'm not some delusional moron).

The front end would be my first concern (with a flat frequency/linear phase response and the voltage resolution).

Whilst you would need fast FPGAs to capture the data my thoughts where could you do something clever to interleave multiple channels in a slower device... No idea what it would end up like, and doubt you could beat a Chinese Siglent/Rigol initially with any design. Although most peoples expectations these days seem to be it's either everything you ever wanted and more or it shouldn't exist because why should it take time to develop and improve... Anyway I did have an FPGA dev kit somewhere....
Check out the Open Hardware DSP Platform:
http://www.ohdsp.org
http://github.com/ohdsp
 
The following users thanked this post: neris.io

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Open Source Oscilloscope, can it be done?
« Reply #23 on: March 06, 2017, 10:44:20 pm »
I'm not an expert on oscilloscope design but I think the analog front end and the ADC is where most of the "magic" happens. Once you have the data in digital form that's relatively easy to manipulate. I seriously doubt you'd come close to the performance of a $400 Rigol for twice the price and many tens of hours invested but it could be a fun project none the less.
 

Offline SaabFAN

  • Frequent Contributor
  • **
  • Posts: 735
  • Country: de
Re: Open Source Oscilloscope, can it be done?
« Reply #24 on: March 08, 2017, 12:20:25 am »
I think for a bit more money and most likely not that much time to invest, it's possible to build the analog frontend out of ICs.
When looking at all the teardowns of new scopes, it is noteworthy that many manufacturers go the extra mile and build at least part of their frontends out of discrete components to save on the components.

As far as I know, at least TI and Analog Devices have ICs in their portfolio that are more or less specifically designed to be used in Scope frontends (variable gain amps good for frequencies in excess of 300MHz, very high speed single-ended to differential converters, etc.).
These chips aren't cheap though! Prices are about 5 to 9€ and they don't go down that much when bought in quantity, so I see why manufacturers shy away from them and go for a discrete solution that cost maybe 20 cents in components.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf