Author Topic: Analog vs digital X-Y mode  (Read 11717 times)

0 Members and 1 Guest are viewing this topic.

Offline MitiTopic starter

  • Super Contributor
  • ***
  • Posts: 1324
  • Country: ca
Analog vs digital X-Y mode
« on: March 22, 2018, 02:17:52 am »
Just for fun, I guess no digital can beat an analog scope at X-Y.
Fear does not stop death, it stops life.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28371
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Analog vs digital X-Y mode
« Reply #1 on: March 22, 2018, 03:27:01 am »
Link to file please so we can all play.  :)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #2 on: March 22, 2018, 03:34:22 am »
File? Isn't it a piece of hardware? I have a scope clock that I built from a kit years ago, the particular one I have is a standalone device but I've seen boards meant to connect to an existing scope.

As much as I love my Tek DSO, the XY mode is pretty hopeless, that is one of the few things where analog wins hands down.
 

Offline MitiTopic starter

  • Super Contributor
  • ***
  • Posts: 1324
  • Country: ca
Re: Analog vs digital X-Y mode
« Reply #3 on: March 22, 2018, 03:49:34 am »
Fear does not stop death, it stops life.
 

Offline Tom45

  • Frequent Contributor
  • **
  • Posts: 556
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #4 on: March 22, 2018, 04:03:32 am »
So why do digital scopes do so poorly in X-Y mode?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Analog vs digital X-Y mode
« Reply #5 on: March 22, 2018, 04:07:20 am »
So why do digital scopes do so poorly in X-Y mode?
Pixels are much more visible. I'm sure some of those $5000 R&S scopes will look much nicer.

And I'm pretty sure scope manufacturers simply don't care, just like with FFT function. I personally never had to use XY mode for anything in my entire life.
Alex
 

Offline egonotto

  • Frequent Contributor
  • **
  • Posts: 721
Re: Analog vs digital X-Y mode
« Reply #6 on: March 22, 2018, 04:52:39 am »
Hello,

I think most DSO are good in streaming. They capture many samples and after they postprocess the samples. In x-t-mode they "know" the best samplerate.
But in x-y-mode they dont know the best  sample rate. If you have 10 Hz than a sample rate of 20kHz would be good, but if you have  10Mhz than you need a much higher samplerate.
Perhaps they take 1 sample and process this sample and so on, but this slows the whole.

Best regards
egonotto
 

Offline Performa01

  • Super Contributor
  • ***
  • Posts: 1642
  • Country: at
Re: Analog vs digital X-Y mode
« Reply #7 on: March 22, 2018, 05:45:16 am »
Setting up X/Y mode is different for analog vs. digital.

For analog, we only need to take care of the channel gain.

For digital, we also need to set the timebase to make sure at least one full signal period is captured (but also not too many more). This also determines the sample rate which is usually plenty high enough, hence not a problem.

What is a problem though is the low amplitude resolution of an 8-bit digital scope.

8 bits means 256 steps, but most scopes allow some overscan and e.g. only 200 steps are visible on the screen. On a 400 pixel high display, this means two pixel per amplitude step. In X/Y mode, the same is true for the x-direction. A picture composed of 2x2 pixel clusters on a low resolution 400x400 screen area just cannot look pretty, full stop.

A DSO with at least 10 bits and high-res display should be able to produce reasonably nice X/Y figures.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28371
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Analog vs digital X-Y mode
« Reply #8 on: March 22, 2018, 07:25:20 am »
We'll all know when DSO's have really come of age when they can handle Jerobeam Fenderson's oscilloscope music.
https://www.youtube.com/user/jerobeamfenderson1

Yummy stuff.   :)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: radiolistener, jamesraykenney

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4105
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Analog vs digital X-Y mode
« Reply #9 on: March 22, 2018, 10:14:35 am »
Also with digital scopes there is one thing what also may affect result. There is some different methods to do X-Y
Some DSO's may use direcft XY plot method (read X and Y ADC and plot point and repeat)
Some DSO may use normal acquisition to sampling buffer (just as in YT mode) and  then process it for X-Y "image")
This last method make possible to do many automatic measurements also in XY mode. Rise times, pos and negative width, periods - whole buch of measurements including full sample resolution rise and fall times, pulse widths etc etc..


I do not know any reason to plot analog clock to oscilloscope display - exept fun. Oscilloscope is tool mainly for inspect more or less unknown signal. But of course if want entertainment box there is lot of many kind goods for this purpose. Much better than oscilloscope. I do not even know where XY is useful today. For what?

Yes I have played with clock and other images with  my previously owned couple of Tek7000 series and some Tek portable tool as 2465 etc.

I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 
The following users thanked this post: nugglix

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16647
  • Country: 00
Re: Analog vs digital X-Y mode
« Reply #10 on: March 22, 2018, 02:13:58 pm »
We'll all know when DSO's have really come of age when they can handle Jerobeam Fenderson's oscilloscope music.
https://www.youtube.com/user/jerobeamfenderson1

Yummy stuff.   :)

My cat loved it.  :)

 
The following users thanked this post: egonotto, boggis the cat, Electro Detective, radiolistener, Anthocyanina

Offline Tom45

  • Frequent Contributor
  • **
  • Posts: 556
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #11 on: March 22, 2018, 02:49:23 pm »
Also with digital scopes there is one thing what also may affect result. There is some different methods to do X-Y
Some DSO's may use direcft XY plot method (read X and Y ADC and plot point and repeat)

Or instead of plotting points,  draw a vector from Xn-1, Yn-1  to Xn, Yn

There is still the question of what sample rate to use. But I don't see any downside to oversampling. So why not sample as fast as possible.

But after thinking about it, perhaps the tricky part is how to emulate phosphor persistence.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16614
  • Country: us
  • DavidH
Re: Analog vs digital X-Y mode
« Reply #12 on: March 22, 2018, 03:16:05 pm »
So why do digital scopes do so poorly in X-Y mode?

DSOs have six problems with X-Y mode:

1. Non-index graded displays cannot be anti-aliased and most DSOs with index graded displays do not anti-alias anyway or anti-alias poorly; this becomes an additional source of quantization noise.  Note that the analog examples above show a raster displayed on a vector display device producing further aliasing on the DSOs.  A true vector implementation would look better on both types of oscilloscopes.
2. DSOs suffer from quantization noise from the digitizer which is usually handled poorly in X-Y mode.  High resolution mode should solve this.  Average acquisition mode should also solve this unless it lowers the update rate.
3. Most DSOs produce display updates by batching record length groups of samples.  If the vector generation time does not fill the record length evenly, then the display updates either miss or overlap sections.  "Phosphor" type DSOs still update the display in batches determined by the number of samples between display updates.
4. DSO display refresh and update rate is orders of magnitude slower than the continuous update rate of an analog oscilloscope.  This should not matter above about 60 Hz but combined with 3 above it becomes a problem.
5. Almost all DSO displays have a much lower resolution per area than an analog CRT.  Many old CRT DSOs operated at 254dpi (100dpc) and could produce a pretty good vector display in X-Y mode except for the record length and update rate issues described above despite lacking anti-aliasing.
6. Most DSOs do not support a Z-axis (intensity) input so all of the vectors run together.  The Rigol example above shows this.

These issues with DSO XY mode could be fixed to produce a display limited only by the display device itself but it is hardly a high priority.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21677
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Analog vs digital X-Y mode
« Reply #13 on: March 22, 2018, 03:35:28 pm »
Hey, I'm impressed those did as well as they did. :)

X-Y is a notoriously hard problem, and low on the list of priorities to address.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #14 on: March 22, 2018, 04:21:53 pm »
I use XY when working on vector arcade boards, a scope is more convenient than having one of the (hard to find) 19" vector monitors and a power supply producing the multiple oddball voltages they require on the bench. At least I did before I built a 5" vector monitor for one of my other projects.
 

Offline JohnnyMalaria

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Re: Analog vs digital X-Y mode
« Reply #15 on: April 28, 2018, 04:11:57 am »
I have to monitor an I-Q pair of a demodulated signal while the signals are also being captured. My Rigol DSO is great for Y-T plots and I love the compact size and weight. But the X-Y function absolutely sucks (the FFT isn't all that great, either.) I use my 1974 vintage Tektronix dual 100MHz just for the X-Y plots and they are gorgeous. I can tell what's going right/wrong with my instrument. With both 'scopes, I get to look at 6 signals which happens to be how many I have :)
 

Offline Scratch.HTF

  • Regular Contributor
  • *
  • Posts: 115
  • Country: au
Re: Analog vs digital X-Y mode
« Reply #16 on: April 28, 2018, 04:36:15 am »
Despite the retrace lines on the digital scope, it still looks impressive.
If it runs on Linux, there is some hackability in it.
 

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 7586
  • Country: au
Re: Analog vs digital X-Y mode
« Reply #17 on: April 28, 2018, 07:41:55 am »
Just for fun, I guess no digital can beat an analog scope at X-Y.

Interesting that the old "tedious"210 does better than the much more capable DS1054Z.
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Analog vs digital X-Y mode
« Reply #18 on: April 28, 2018, 07:43:58 am »
Interesting that the old "tedious"210 does better than the much more capable DS1054Z.
210 has a horribly slow display, so it probably contributes quite a bit to the "analog" feel.

But it seem like DS1054Z does not even attempt to blank the transitions, so may be some configuration of intensity will improve things.
« Last Edit: April 28, 2018, 07:47:21 am by ataradov »
Alex
 

Offline JohnnyMalaria

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Re: Analog vs digital X-Y mode
« Reply #19 on: April 28, 2018, 11:50:50 pm »
Hopefully the linked videos will convince the nay-sayers that analog X-Y rocks  :) (They are too big to attach. The links are to OneDrive).

https://1drv.ms/v/s!AhmR5if7W0HCjcJG8SPwrOfTWF-grg

https://1drv.ms/f/s!AhmR5if7W0HCjcJFalJzpym6hx4C_A

A bit of description is probably necessary. There are two videos of a real/imaginary pair of signals from a photodetector (after demodulation) for light scattered by electrically charged nanoparticles moving in a liquid. A laser illuminates the sample. The first video shows just random Brownian motion from the particles. In the second video, an electrical field is turned on and off every five seconds or so. When it is on, the nanoparticles move toward the electrode of opposite charge. Movement of the particles causes a Doppler shift of the laser light. The X-Y trace indicates the amplitude and the optical phase difference of the light. The phase is proportional to the position of the particles. When the field is on, you can see "circles". One complete circle is one hertz. In terms of position, it is approximately 1 micron. The frequency of the circles is a perhaps 5 to 10Hz. That's a change of 5 to 10 parts in 100 trillion.

Rock on, 48-year old 475 scope!!!

(Sorry the videos are upside and grainy).
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Analog vs digital X-Y mode
« Reply #20 on: April 28, 2018, 11:56:51 pm »
Are there any loss-less wav files available for the clock so people can try without needing the actual hardware?
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline CopperCone

  • Super Contributor
  • ***
  • Posts: 1415
  • Country: us
  • *knock knock*
Re: Analog vs digital X-Y mode
« Reply #21 on: April 29, 2018, 01:16:56 am »
for constallation diagrams
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #22 on: April 29, 2018, 01:42:15 am »
Over in a distant corner of the electronics sandbox, a few of us play with analog computing.  Not many people over here...

X-Y mode is critical.  We usually use one integrator to provide the X axis and the output drives the Y axis.  There are cross-coupled differential equations that draw a kind of egg-shaped pattern.  Not a circle, more like one that has been stomped on.  It's interesting to print two channels of Y(t) but more interesting to plot the simultaneous values of X and Y.

FWIW, the classic example is the Predator Prey problem.  As the rabbit population increases, eventually there will be more foxes.  More foxes will drive down the rabbit population which will reduce the fox population allowing the rabbit population to increase, and so on.

When I want X-Y done well, I use my Analog Discovery 2.  Among other things, I get a better screen shot.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #23 on: April 29, 2018, 03:25:58 am »
FWIW, the classic example is the Predator Prey problem.  As the rabbit population increases, eventually there will be more foxes.  More foxes will drive down the rabbit population which will reduce the fox population allowing the rabbit population to increase, and so on.

Lotka–Volterra equations
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Analog vs digital X-Y mode
« Reply #24 on: April 29, 2018, 03:55:42 pm »
FWIW, the classic example is the Predator Prey problem.  As the rabbit population increases, eventually there will be more foxes.  More foxes will drive down the rabbit population which will reduce the fox population allowing the rabbit population to increase, and so on.

Lotka–Volterra equations

Exactly!  I need to read through that document.  About half way down they give the X-Y plot that I was discussing above.  Both populations are displayed on a single graph.

These equations don't have to be put into an actual analog computer.  MATLAB does a fantastic job of modeling the required integrators (2) and gain stages.  Simulink  gives the same answers without all the op amps.  But I like the old-school approach.  There's just a warm fuzzy feeling as the integrators integrate, the multiplier multiplies and the gain stages do their thing.

Attached is the Simulink model

Note that the model is pretty superficial.  As the article points out, the assumptions are probably not realizable.  Notably that the Prey can grow without bound because there is always adequate food.  The model could be improved to account for an exponential growth asymptotic as some logistic limit.

In my view, the X-Y mode more appropriately displays the interaction between the populations.  The Y(t) mode is useful but the X-Y mode drives the point home.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf