Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 10th April 2008, 12:28 PM   (permalink)
Default home-built DSO (digital oscilloscope) ideas

Hi all,

I have always wanted to have an oscilloscope for my hobby but the professional ones are quite expensive ($$$$) and while I have found a few construction most of them are toys - like "connect and ADC to the parallel port of the PC & so on ...)

A few days ago I have received samples from National (ADC08060) which is 60 MSPS 8-bit ADC - should give frequency response 20-30 MHz. But of course, a common MCU (PIC... etc) cannot read the data from the ADC fast enough. I am thinking about using a FPGA - luckily I have 2 FPGA boards (XSA3S1000 from XESS and Spartan-3E starter kit from Digilent, Inc.) Then I think I can interface the FPGA to a MCU and then PC (serial or better USB).

I am wondering if someone already did something similar (or is planning to do)

I was thinking about using even faster ADCs - they are available from National or other companies but the challenge is to read the data fast enough from those chips and store them in RAM...

Petr
petrv is offline  
Old 10th April 2008, 12:39 PM   (permalink)
Default

There are lot's of such projects on the net, it's a fairly common final project for University students.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 10th April 2008, 01:00 PM   (permalink)
Default

This is a common topic but I too would like to revisit it. I do not want to take the time to design one from scratch.

With DSO's better is often taken to be faster, wider, deeper. Faster is just that. Wider is more traces, and deeper is more trace memory.

This is one DIY that may be what you want.

http://www.embedds.com/diy-40msps-av...graphical-lcd/

Maximum sample frequency: 40MSPS
Maximum input frequency: 5MHz
Maximum displayed frequency without aliasing: 10MHz
Input circuit bandwidth: 20MHz
Display resolution: 240×128 total, trace resolution 200×125
Sensitivity: 40mV/div
Coupling: DC
Input impedance: 10K
Power supply: single DC source 8V..10V, 1A
No incremental mode
Time base: 1s/div, 500ms/div, 200ms/div, 100ms/div, 50ms/div/, 20ms/div, 10ms/div, 5ms/div, 2ms/div, 1ms/div, 500us/div, 200us/div, 100us/div, 50us/div, 20us/div, 10us/div, 5us/div, 2us/div, 1us/div, 500ns/div
Trigger: digitally adjustable
Trace offset: digitally adjustable

I have not priced the parts.
3v0 is offline  
Old 10th April 2008, 01:58 PM   (permalink)
Default

I have found 2 projects (excluding "toy" projects using the A/D converter in a PIC micro), both using FIFO memories. (This one and another, older project).
I'd like to avoid FIFO memories if possible as they are not common parts (try to search DigiKey or Mouser for FIFO memory -> 0 matches...).
When using a FPGA I can use its internal memory.
petrv is offline  
Old 10th April 2008, 02:00 PM   (permalink)
Default

Modern automated manufacturing methods and component purchasing in large quantities mean that for all practical purposes it is IMPOSSIBLE to design and build, one of anything, at a lower cost than it can be purchased for. If you want a DSO, then save your nickels and dimes until you can buy one. Don't even waste your time thinking about this one.
__________________
We never have time to do it right; but we always have time to do it over.

Last edited by Papabravo; 11th April 2008 at 05:40 PM.
Papabravo is offline  
Old 10th April 2008, 02:07 PM   (permalink)
Default

I am sorry papabravo but I do not agree with you. Electronic test equipment like scopes is not produced in a big quantities as the market is not so big and it is very expensive - even low-end USB osciloscope can cost well over $100. I believe it is possible to build a cheaper and better one (e.g. the construction mentioned by 3v0 and you can remove the GLCD display if using PC, just replace the MCU with a different MCU with USB ....) The same goes for other test equipment, like RF spectrum analyzers etc
petrv is offline  
Old 10th April 2008, 02:18 PM   (permalink)
Default

Quote:
Originally Posted by Papabravo
Modern automated manufacturing methods and component purchasing in large quantities mean that for all practical purposes it is IMPOSSIBLE to design and build, one of anything, at a lower cost than it can be purchased for. If you want a DSO, then save your nickels and dimes until you can buy one. Don't even wast your time thinking about this one.
I agree about design and build. But if the design already exists?

If I can find a similar assembled scope for the price of the parts I would buy a few. Suggestions ?
3v0 is offline  
Old 10th April 2008, 02:26 PM   (permalink)
Default

It's a single channel design, that GLCD display probably won't be cheap. What is the purpose of the FPGA? What's the part # of the A/D?

The USB PoScope comes to mind $100, or Owon brand scopes (color for about $300)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 10th April 2008, 02:32 PM   (permalink)
Default

The design for a hobbyist is a fun thing to do so I don't count it as an expense. Also no need to design it from scratch, it is possible to take parts from other designs - for example the analog front-end, as I am much better in digital design than analog. Maybe it could be produced as a kit - PCB + components.
petrv is offline  
Old 10th April 2008, 02:39 PM   (permalink)
Default

Hi Bill,
there are a few ADCs available, I have samples of ADC08060 from National but there are others and also from other companies (AD,TI,Intersil ...)

The purpose of FPGA is to write the 8 output bits from the ADC to memory (inside the FPGA) - and at the speed of 60 MHz (or more if using faster ADC)
Microcontrollers like PIC are not fast enough to do the job. After the signal is sampled, a MCU will read it from the FPGA (at much slower speed) and send the data over USB to PC. You can do the same thing without FPGA by using a special kind of memory (FIFO memory) but these are hard to get. You can buy Xilinx FPGAs in DigiKey (and of course the design is more flexible as you can reprogram -recofigure the logic inside the FPGA).
Petr
petrv is offline  
Old 10th April 2008, 03:34 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
It's a single channel design, that GLCD display probably won't be cheap. What is the purpose of the FPGA? What's the part # of the A/D?

The USB PoScope comes to mind $100, or Owon brand scopes (color for about $300)
The HDS1022M which is 2 channels 100MS/s could work for me. I still have not found it for $300. More like 5.

The proscope sample rate only goes up to 200 kHz or .2MS/s but it could work for school.

Would have to look at the specs more. On cheap scopes they fake 2 channels by using a single channel to sample 2 inputs. You see the results from 2 channels but at 1/2 the speed and depth.

The DIY could be made into a 2 channel scope. The software could be major work.
3v0 is offline  
Old 10th April 2008, 03:44 PM   (permalink)
Default

Quote:
Originally Posted by petrv
Hi Bill,
there are a few ADCs available, I have samples of ADC08060 from National but there are others and also from other companies (AD,TI,Intersil ...)

The purpose of FPGA is to write the 8 output bits from the ADC to memory (inside the FPGA) - and at the speed of 60 MHz (or more if using faster ADC)
Microcontrollers like PIC are not fast enough to do the job. After the signal is sampled, a MCU will read it from the FPGA (at much slower speed) and send the data over USB to PC. You can do the same thing without FPGA by using a special kind of memory (FIFO memory) but these are hard to get. You can buy Xilinx FPGAs in DigiKey (and of course the design is more flexible as you can reprogram -recofigure the logic inside the FPGA).
Petr
hi,
How many samples to expect to collect at 60MHz from the ADC before you start outputting to the display.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 10th April 2008, 03:58 PM   (permalink)
Default

The designs I saw with FIFO memory had 512 or 1024 byte memory. I'd like to use Xilinx XC3S100E FPGA which has 8 kbyte block ram, in VQFP-100 package (how I hate to do PCB layout for this .... but no choice, better than BGAs).

So it can be anything (power of 2) until the available memory size, no reason why it could not be configurable (another advantage of using the FPGA)

It could be also possible to connect another ADC to have second channel ...

The design in VHDL should be quite simple, I need to try what is the maximal speed the design can run in this FPGA ($ 9.48 in DigiKey it is not such an expensive part that's why I'd like to use it).
petrv is offline  
Old 10th April 2008, 04:09 PM   (permalink)
Default

Quote:
Originally Posted by petrv
The designs I saw with FIFO memory had 512 or 1024 byte memory. I'd like to use Xilinx XC3S100E FPGA which has 8 kbyte block ram, in VQFP-100 package (how I hate to do PCB layout for this .... but no choice, better than BGAs).

So it can be anything (power of 2) until the available memory size, no reason why it could not be configurable (another advantage of using the FPGA)

It could be also possible to connect another ADC to have second channel ...

The design in VHDL should be quite simple, I need to try what is the maximal speed the design can run in this FPGA ($ 9.48 in DigiKey it is not such an expensive part that's why I'd like to use it).
hi,
Have you looked at www.analog.com for their range of FPGA, FIFO's, they also have an evaluation board. No idea of cost.

http://search.analog.com/search/defa...=FIFO&local=en
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 10th April 2008, 04:16 PM   (permalink)
Default

Yes they do have an FPGA board for ADC demo but .. $300, thank you very much ...
HSC-ADC-FPGA-8Z Prodn EVALUATION BOARDS - Comm $300.00
Evaluation boards are usually expensive and AD components are not cheap as well.

I'd rather buy a general purpose FPGA board for less money, like this one : (Nexys-2 : $99)

http://www.digilentinc.com/Products/...mmable%20Logic

Petr

Last edited by petrv; 10th April 2008 at 04:19 PM.
petrv is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Digital Weight Scale Design Ideas Johnson777717 Electronic Projects Design/Ideas/Reviews 12 18th August 2007 05:40 PM
Digital and analog oscilloscope patroclus General Electronics Chat 34 12th July 2006 03:34 AM
Need Ideas and schematics for digital Dice madsnoridr812 Electronic Projects Design/Ideas/Reviews 16 12th June 2005 03:02 PM
Home built digital design station -> Help with PSU? Gandledorf Electronic Projects Design/Ideas/Reviews 3 29th January 2004 07:35 AM
Home built variable PSU Gandledorf General Electronics Chat 2 16th January 2004 09:32 PM



All times are GMT. The time now is 09:22 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker