Oscilloscope

From OpenCircuits
Jump to navigation Jump to search

An oscilloscope (often abbreviated o'scope or scope) displays signal voltages as a 2-D graph, usually as voltage (vertical axis) as a function of time (horizontal axis).

The o'scope is one of the most important pieces of test equipment because it lets you look at what is happening in different parts of a circuit. Without it you are almost blind ( multimeters and logic analyzers can also help you "see" ).

The probe of a o'scope is held against, or is clipped to, the metal wire carrying the signal of interest.

A dual-trace o'scope has 2 probes, so 2 different signals can be seen -- so not only the shape of the signal can be seen, but also the exact time from events on one signal to events on the other signal.

Techniques

Sometimes one wants to look at a 8-bit data bus -- typically one uses a "logic analyzer" to look at lots of time-aligned digital signals. For a given number of signals to look at, oscilloscopes (which show the true analog waveform) are much more expensive than logic analyzers (which only show if a digital waveform is hi or low, above or below the logic threshold). Many people buy both a (dual-trace) o'scope and a 16-trace logic analyzer, which together have a total cost less than one true 8-trace o'scope.

... more techniques ...

Hardware issues

Here is a useful discussion comparing low-cost USB oscilloscopes with older analog scopes available for comparable prices; it is a 9-minute video, with a useful forum-type discussion (some mildly rude language is used to describe USB scopes). The conclusion is that the low-cost USB DSOs have attenuators and triggering circuits which do not perform well at higher frequencies, and are not recommended. Quality DSOs do not suffer from these problems, but all except the very best and most expensive have storage limitations which cause problems in the particular case of observing a high frequency signal at a time/div setting much longer than its period, e.g., two complete TV fields at a setting of 40msec/div.

Open Source Oscilloscopes

Of course, you have to already have a working o'scope in order to build and test another o'scope, making this the same sort of chicken-and-egg problem as the RepRap project, the GCC project, and other projects David Cary finds interesting.

PC Oscilloscopes

Open Hardware for PC Oscilloscopes

Bitscope

All 100MHz, 40MS/sec, 2 analog and several logic channels (3.3/5V CMOS/TTL). Buffer sizes range from 12kB to 1MB.

  • AU$495 BS100U: 2 analog inputs + 8 digital inputs, optically isolated, from BitScope Designs (MetaChip Pty. Ltd.) [1]; review by Endolith
  • $695 BS325U: 2 analog inputs + 8 digital inputs, optically isolated, from BitScope Designs (MetaChip Pty. Ltd.) [2]
  • $1495 BS445N: 4 analog inputs + 8 digital inputs, ethernet connection, from BitScope Designs (MetaChip Pty. Ltd.) [3]
  • $295 BS10U: 1 BNC analog input + POD (2 analog or 8 digital inputs), usb powered, from BitScope Designs (MetaChip Pty. Ltd.) [4]

MultiAnalyser

Some people on the PIClist have been discussing designing an open-source oscilloscope.


Example.jpg

XMEGA Xmegalab Development Kit and Oscilloscope

  • $249 The Xmegalab is a development board for AVR XMEGA microcontrollers, a dual channel oscilloscope, an arbitrary waveform generator and a scientific calculator. Xmegalab. Alpha version of the firmware (mostly in C) has been released under the GPL. Serial port; SD Card with FAT File System support, etc.

Xprotolab - Miniature Oscilloscope and Waveform Generator

Miniscope v2b & v2c

Miniscope v2b is a simple AT91SAM7S64 based signal acquisition device with low sampling speed (single channel, 500 kSps internal ADC) but large sample buffer sizes (up to 512 kSamples) and continuous signal recording capability.

Miniscope v2c (2 channels, sampling 2x461 kSps) is using smaller (LQFP48) and cheaper STM32F103C8T6 microcontroller and DIY-friendly single sided PCB.

Closed, COTS Hardware for PC Oscilloscopes

  • For low frequencies, pretty much any external sound card with a line input will work. External card line inputs generally have a range around 0-1 V whereas onboard microphone inputs only have up to about 50 mV, which just isn't enough sensitivity. The Virginia Tech Lab-in-a-Box recommends the Behringer UCA202. To use a sound card oscilloscope on a regular basis, a circuit with variable attenuation is recommended (i.e. 1x and 10x). Compensation for the hardware and software gain can be done as part of the attenuator circuit or in software.

For mixed-signal development, where debugging requires you to see both analog and digital signals at the same time, oscilloscopes intgrated with logic analyzers are needed. More advanced features here include protocol decoding, which allows you to easily see the values sent over digital interfaces.

Examples here include:

The Parallax PropScope PropScope ($200) offers 25Msps sample rate and 4 bits of logic analyzer and 4Kbytes of buffer.

The QuantAsylum QA100 ($349) offers dual 100Msps sample rate and up to 32 logic channels with 2Mbytes of buffer.

The PicoScope 100 ($575) offers a single channel at 40 Msps, 8 logic analyzer channels and 16Kbytes of buffer depth.

PC Oscilloscope Software

Free software

  • SourceForge welecw2000a Open Source firmware for the 1 GS/s Welec W2000 Series DSO hardware (which costs €800-1500 in spring 2012) under GPL.
  • Sourceforge: xoscope is a digital oscilloscope for Linux that uses input from a sound card or EsounD and/or a ProbeScope/osziFOX and will soon support Bitscope hardware. The sound card device is hard-coded but instructions for modifying it are on the VTLUUG wiki.
  • Baudline GPL version is a signal analyzer designed for scientific visualization, using input from recorded data files or from a sound card. For Linux / Solaris. The source code is expensive and it is intended for corporate buyers.
  • Miniscope v3 and Miniscope v4 are digital oscilloscope software for Windows. They connect to device using external dll. Libraries are available to connect with sound card, Microchip MCHPUSB Generic HID Demo and custom AT91SAM7S64 hardware. V4 supports an unlimited number of channels, but is more complex than single-channel V3.
  • Digital Soda is a simple GTK+ frontend for the DSO-2250 USB oscilloscope for Unix/Linux.
  • Osqoop is an open source software oscilloscope. Osqoop project features an arbitrary number of channels and long acquisition durations. Signal processing and external peripherals control is possible through a plugin architecture.
  • oscilloscope pic microcontroller demo oscilloscope PC based oscilloscope embedded system parallel port LPT.

Non-free software

  • "Multi-Instrument" converts a PC into multiple test & measurement instruments such as oscilloscope, spectrum analyzer, signal generator, spectrogram, distortion analyzer, network analyzer, data logger, LCR meter, vibrometer, etc. Besides sound cards, it can use many models of ADC/DAC cards. Versions at US$50, 100, 200; free trial with full functionality for 21 days.
  • Baudline gratis download (dual-licensed, see Free Software entry).
  • Zelscope Converts your PC into a dual-trace storage oscilloscope and spectrum analyzer. It uses your computer's sound card as analog-to-digital converter. Windows trialware.
  • BitScope DSO is a digital oscilloscope logic analyzer for Linux and Windows. Software itself is free, but works with BitScope hardware, at AU$300-1500.
  • Zeitnitz Souncard Scope and function generator. For Windows but runs under Wine. Free of charge (but explicitly described as not freeware) for private and educational use, otherwise available for purchase.
  • Oscilloscope analysis software from Tektronix for their oscilloscopes. E.g. technology-specific measurement and compliance software, application solutions for jitter and timing analysis, and channel emulation and equalization tools.

Non-PC Oscilloscope Projects

Uncategorized

Epanorama has many links related to o'scopes and o'scope accessories [8].

Oscilloscope Design Discussions

Some low-cost oscilloscopes

some low-cost oscilloscopes, in no particular order. ... it would be nice to mention sampling rate, # of analog input channels, # of digital input channels, whether it can be used under Linux, does it have output channels ... price should (?) include 2 analog probes, ... is it open hardware? ... anything else?

price name comments

  • $350 QuantAsylum QA100, with 2 channel analog (10-bit ADC at 100Msps), 32bit logic analyzer, 1Mbyte buffer, arbitrary waveform generation and two 100MHz probes QA100
  • $50 JYETECH Oscilloscope and frequency counter, 1 input, 1MHz analog bandwidth, LCD screen, serial port screen capture [9] available here: [10]
  • $50 Usbscope.eu, low cost 4 channel usb oscilloscope, 100 kHz sample rate, 10 bit, 500 samples/channel. [11]
  • $150 (?) VELLEMAN HPS10 Hand Held Oscilloscope 10MHz sampling rate, LCD: 128x64 pixels [12]
  • $349.95 VT DSO-2815H,1x150MHz or 2x75MHz,sophisticated trigger functions, a wide range of gain selection, 1kHz squarewave output, with a Multi-Instrument Standard software license, which converts a PC into oscilloscope, spectrum analyzer, multimeter, signal generator, data logger...it also supports sound card (both MME driver and ASIO driver), NI DAQmx cards, etc. [13] The software can be downloaded for 21-day fully functional trial with at least sound card at [14]
  • $299.95 VT DSO-2810H,1x100MHz or 2x50MHz,sophisticated trigger functions, a wide range of gain selection, 1kHz squarewave output, with a Multi-Instrument Standard software license, which converts a PC into oscilloscope, spectrum analyzer, multimeter, signal generator, data logger...it also supports sound card (both MME driver and ASIO driver), NI DAQmx cards, etc. [15] The software can be downloaded for 21-day fully functional trial with at least sound card at [16]
  • $250 VT DSO-2810F,2x100MHz, with a Multi-Instrument Standard software license, which converts a PC into oscilloscope, spectrum analyzer, multimeter, signal generator, data logger...it also supports sound card (both MME driver and ASIO driver), NI DAQmx cards, etc. [17] The software can be downloaded for 21-day fully functional trial with at least sound card at [18]
  • $89 Poscope Basic2 from PoLabs PoLabs, 2 analog channels, 16/8 digital channels, PC USB oscilloscope, spectrum analyzer, chart recorder, pattern generator, logic analyzer, PWM/ square generator
  • $139 Poscope Mega1 from PoLabs PoLabs, 2 analog channels, 16/8 digital channels, PC USB oscilloscope, spectrum analyzer, chart recorder, pattern generator, logic analyzer, PWM/ square generator
  • $206/$328 PicoScope 2104 and 2105, 1 channel handheld oscilloscopes from Pico Technology [19]
  • $262/$371/$387 PicoScope 2200 range from Pico Technology, 2 channels, 1 output [20]
  • $667/$1002/$1332 PicoScope 3200 range from Pico Technology, 2 channels, 1 output [21][22][23]
  • $823 PicoScope 4224 from Pico Technology: 2x80 MS/s, 12 bit, 20Mhz BW, 2 input channels, includes 2 X1/X10 probes, USB cable, and carrying case. USB powered. [24][25]
  • $200 Hantek DSO-2090 USB PC Oscilloscope [26]
  • $380.00 DSO2250 100MHz PC-SCOPE 250MS/s [27]
  • (about US$400.00) GAO2250 100MHz 250MS/s USB PC Oscilloscope, Gaotek Inc. A Canadian source for the DSO-2250. 2 input channels plus trigger. Provision for ground and calibration. Windows only, AFAIK, no Linux. Gao's latest website doesn't quote a price, but when I got mine it came to about CAN$500, including US conversion and Canadian taxes. [28]
  • CAN 219.99 Syscomp Electronic Design DSO-101 [29] (Syscomp supports the "The Open Instrumentation Project" [30])
  • EUR 427 ETC s.r.o. M520 Oscilloscope [31]
  • $222 ANT8 : 8 Channel Logic Analyzer (EasySync)[32]
  • $200 PS40M10 : Swordfish Hand-Held Instrument (1 channel) USB (EasySync)
  • $220 DS1M12 : Stingray Multi-Function Instrument (2 channel) USB (EasySync)
  • under $600 : Jameco has some actual stand-alone oscilloscopes for under $600. So does www.tequipment.com - see Rigol 'scopes from China - good quality - also on eBay.
  • under $200 : Carl's Electronics has some stand-alone and PC-hosted (parallel port?) oscilloscopes for under $200.[33]
  • $170 HobbyLab USB oscilloscope [34]
  • $500 DS1022C : 2 Channel, 25 MHz Rigol Technologies Inc.[35]
  • $1250 XJ4362A : 2 Channel, 4 Trace (2 main traces and 2 zoomed-in areas in parallel), 100 MHz analog CRT oscilloscope (triggers and shows realistic waveforms up to 200 MHz), old-fashioned but good build quality, printed user manual includes full component level schematics with component values, test points and reference voltages / signals for repair and calibration, uses a linear power supply (EMC-wise quiet and with minimal capacitance to AC mains), made by Shanghai Xinjian Instruments [36]
  • $999 CS320A Cleverscope [37] (has a discussion forum[38])
  • $167 DrDAQ "data logger" (parallel port) from Pico Technology [39]
  • $970 NI USB-5132 : USB digitizer from National Instruments [40]
  • $139 Parallax USB Oscilloscope 2 analog inputs + trigger; 1 MS/s [41]
  • $170 PC USB Oscilloscope DiSco (HobbyLab, LLC). 2 analog inputs ( 200 KHz ) + 16 digital inputs (or 8 digital inputs + 8 digital outputs). [42]
  • $150 ST16B 10 MHz stand-alone oscilloscope, 2 analog inputs [43]
  • $190 VEPCS100 ( PCS100 ) - PC Based Oscilloscope; 1 analog input ( 12 MHz ); optically isolated from PC [44]
  • $950 DSO-8502 USB Oscilloscope, 2 analog inputs (250MSa/s) + external trigger; 1 digital output (trigger out); buffer: 512K points/ch.[45]
  • $799 DSO-8202 USB Oscilloscope, 2 analog inputs (200MSa/s) + external trigger; 1 digital output (trigger out); buffer: 128K points/ch.[46]
  • $108 LabJack U3 USB data acquisition and control device, 16 analog inputs ( 12 bit, 2.5 KSa/s at 12 bit resolution, 50 KSa/s at 8 bit resolution), buffer: 984 samples, 2 analog outputs, digital outputs [47]
  • $249 S2X100 USB Oscillloscope, 2 analog inputs (100Ms/s) with 8 bit resolution, buffer: 64K samples [48]
  • $495 ELAB-080 [49]
  • $745 USBee AX-Plus, 2 analog inputs (Max 16 MS/s ?) and 8 digital inputs [50]
  • $90 DSO nano, 1 analog input (1 Ms/s) with 12 bit resolution; buffer: 4096 Point; waveform storage on SD card [51]; review by Justblair
  • $249 MSO-19, 1 ch. 2GSa/s oscilloscope, 8 ch. 200MSa/s logic analyzer, 100MSa/s pattern generator and a TDR. MSO-19
  • $325 MSO-28, 2 ch. 2GSa/s oscilloscope, 8 ch. 200MSa/s logic analyzer. MSO-28
  • US$50-450 approx. second-hand, TWD120, Tektronix digitiser from 1995, with software is full-functioned 2-channel 100MHz, 100Ms/s, 5,000 data point digital storage oscilloscope with similar capabilities to TDS320. Uses SCSI interface to PC running, officially, Microsoft Windows 3.1; PC needs PCMCIA, Expresscard, PCI, or other SCSI interface (some USB SCSI interfaces only work with storage devices). Known to run under all 32-bit Windows versions up to 7. Can have issues with SCSI cards, resolvable with some Web searching and knowledge, and Regis Crellier's shim .DLL. Dedicated Tektronix software only, no official information available on command protocol to adapt other software.

FIXME: Measurement Computing has some wireless and USB analog DAQ instruments -- add to the above list.

FIXME: DATAQ Instruments, Inc. has some USB and Ethernet analog DAQ instruments -- add to the above list.

FIXME: DesignNotes.com, Inc. has some USB and handheld LCD o'scopes from Velleman: Velleman oscilloscopes -- add to the above list.

FIXME: Link Instruments Inc. has several USB o'scopes and "USB MSO" ("mixed signal o'scope"). Are they already listed above?

EasySync[52] is a distributor of RockyLogic's ANT8/etc products.

Test Equipment Solutions Today, Inc.[53] is a distributor of Rigol's DVM and oscilloscope products.

When you search eBay for oscilloscope, you might find some good deals.

Further Reading

External Links


by Alberto Geraci of BTX Sistemas

Uncategorized