Jump to content
  • 0

Timestamp accuracy


SWH

Question

Hi,

 

I'm logging some data on the Digital Discovery using the high speed inputs, and I was wondering about the accuracy of the time stamps.

According to my scope, my digital signal is high for 100ms, but when I use the time stamp data in waveforms (sampled at 10kHz) I get around 97ms.

 

Cheers,

Stephen

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

Hi @SWH

You can increase the number of samples to capture at higher rate, to have higher resolution, but a more precise measurement would be using the trigger position.

Like here the trigger is set on rising edge, position is set to 100ms, the sample rate is set to 800MHz (time base to low value).
The falling edge is at 100ms + 11.25ns, so we measured the pulse length of 100.00001125 ms with a resolution of 1.25ns
Note: the cursors are no intended to display such high precision time values, that is why I added 2 cursors

image.thumb.png.71cc451ca8c1fc7515ee7d02d9aff2da.png

image.thumb.png.ebbcd1df76ecf3283b8c5096d8ca4ea6.png

Link to comment
Share on other sites

Thanks for your response.

 

I tried this and I still get values that differ by 1ms or more from my scope. 

 

What did you use to generate the 100ms pulse? Was it something external to the Digital Discovery?

 

Cheers,

Stephen

Link to comment
Share on other sites

Hi @SWH

The oscillator in the device is DSC1033CC1-12.000MHz. Based on this stable 100/800MHz internal sampling clocks are generated.

In case you are reading unexpected values:
- make sure to have common ground between the devices
- make sure the logic threshold is good in the Supplies window

image.png.6913d15db104c8801a479f9ff9ce0365.png

Earlier I have shown you internally generated pulse with 'high zoom' / low time base.
You can use higher time, depending on your signal. Like here an externally generated 101ms pulse end is captured with 5ms window.

image.thumb.png.4c2560d1808cc9e9417d4b71b8013cf3.png

image.thumb.png.ae17040b33162d656a67657d861af159.png

Link to comment
Share on other sites

Hi @attila,

 

When I measure a 100ms internally generated pulse on the Digilent I measure 100ms.

When I measure the internally generated 100ms pulse with my scope, I see roughly 103ms. 

 

Please could you measure an externally driven 100ms pulse using the Digilent, and see what you get?

 

Cheers,

Stephen

 

Link to comment
Share on other sites

Hi @SWH

Here the 100ms pulse is generated with NI Virtual Bench FGen, 0/3V
With DD I measure about 99.9995ms (+/-10ns), which is 5ppm.
It should be even better with digital signals source and proper wiring, but this VB is the only non Digitent product I have at hands.

image.thumb.png.84bd73f234212976e41e66157d1f2100.png

image.thumb.png.eb14be35d767247afa00caa29f560abc.png

 

The 2us difference is due to sampling resolution:

image.thumb.png.f128f6ae382a2a687ac57bc761cb0b9a.png

Link to comment
Share on other sites

Hi @attila

 

I seem to be making some progress.....

 

I have been using a Macbook to take all of these measurements, but when I tried on a windows machine I got the expected results. I'll do some more experiments and let you know what I find.

 

Cheers,

Stephen

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...