Author Topic: DMTD Tutorial  (Read 10014 times)

0 Members and 1 Guest are viewing this topic.

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
DMTD Tutorial
« on: October 18, 2020, 10:42:31 pm »
OK, Follows (in several editions!) the theory of and how to operate a DMTD system to get the best results out of it.



Once hooked up as shown and you have the PC showing the counts we can start to take data.
In the following example the RF inputs are 5MHz, the offset is 1Hz, and the counter is an 8 digit counter with a 10ns resolution. Also I am taking data with HyperTerminal and using Ulrich Bangert's PLOTTER program.

On the PC screen you should see the counts occurring once per second and the value will be either incrementing or decrementing.

0.xxxxxxxx

Adjust the fine frequency of the DUT or the REF  to slow the rate of change and get into the low to midrange of the scale.

Now capture the data to a file for lets say 15 Minutes.

Then open plotter and make sure you input 1.00 into the Tau-0/s box
Select file and open and select the file you just saved via HyperTerminal.

Here is an example:


This is a 4K+ Second file of a HP5065A Rubidium versus an FTS 1200 Quartz.

This shows how the phase changed over time.
Full scale is 200nS and the LSB value is 2X10-15th.

Now if you want to plot the Allan Deviation you will need to remove the 2 wraps shown.
To do this click on "all steps"
Then select "I have no idea" and OK.

You should now see the full 4K+ plot without wraps.
One more step before you can compute the AD.
Click on Series on the top tool bar and then enter a name (I just enter a single letter lets say C), and the formula.
For this example the formula is 2.0e-15*x1 .
the 2.0e-15 represents the LSB value for the particular counter used.
You should now see a black line added to the plot and the box to the right now shows an added plot called C.
Deselect the Column 1 red plot and the black plot should expand to fit the screen.
Now click on Time Stability Statistics in the toolbar, select data is phase, use powers of 2, and normal Allan deviation reselecting Time Stability Statistics each time.
Finally select Time Stability Statistics one more time and select process.
You should now have the Allan Deviation plot! Shown is the plot for the examples data.
1092362-2
*******************************************************************************
One thing about the all steps, it does not do the best job!
I forgot this as I always manually remove them!
Instead of clicking on all steps do this.
Click on show single marker, then using the cursor position the marker so that it covers the left step.
Now click single step. You should see most of the step gone. Now using the cursor click on and out outline the remaining portion of the step. This zooms in. Position the single marker between the two vertical traces or on the single trace. If between two click +- 1 points until you are back to 1 line. Once there click single step again. Keep repeating until nothing happens when you click single step. Then click once on the +- 1 point button. Now click un-zoom on the tool bar. The right step will still be there. repeat the procedure to eliminate that step and un-zoom.
Now finally you can click on series and compute it.
Attached is a plot of the manually step removed Allan deviation so you can see the difference!
Blue is remove all (auto), and red is single step Manual)
Whew.
********************************************************************************
1092456-3

More follows over a couple days!
« Last Edit: October 19, 2020, 02:24:26 am by 5065AGuru »
 
The following users thanked this post: FriedLogic, tkamiya, notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #1 on: October 19, 2020, 12:22:32 am »
Now let's examine the DMTD method of precise time interval
and Allan deviation measurements.
In this example we will talk about 5MHz oscillators and a 5.000001 or
4.999999 MHz offset oscillator. (OSO)
The DMTD system is composed of dual mixers with a common L.O. to both mixers.
The other inputs to the mixers are the RF from your reference oscillator (REF)
and the RF from the oscillator being tested (DUT)
The OSO noise will cancel out (with some caveats) allowing a better noise
floor versus a single channel mixer scheme.
The dual mixer filters the beat signals, triggering on the zero crossings,
and ends up with two square waves with a 1 Second period. These are input to
the start and stop channel of a time interval counter to measure the time
difference.
Mixing the RF frequencies down to 1Hz multiplies the resolution
greatly.
Here is an illustration. 1.00000000 is an example of a full scale count in
the 8 digit counter I use with my dual mixers.
This actually represents 200ns
1Hz is 2X10-7 so the 1 in the example represents 2x10-7. As you can see
the LSB therefore is 2X1-15 or 2 fs! (Theoretically!) If you are using a
53131 53132 or SR620 you will have an even more ridiculous resolution!
Thes bottom digits are in the noise and don't contibute to the plots.
All the counters however will work fine, and the software (Ulrich's PLOTTER
or John's Timelab), both free, will plot properly once you input the proper
scaling factor.
Some info on other ofsets and frequencies:

Inputs         offset             full scale      LSB 8 digit  LSB 10 digit  LSB 11 digit

5MHz              1Hz        1.x = 200ns   2X10-15      2X10-16         2X10-17
5MHz             10Hz        0.1x = 20ns   2X10-15      2X10-16         2X10-17
10MHz      1Hz        1.x = 100ns   1X10-15      1X10-16         1X10-17
10MHz     10Hz        0.1x = 10ns   1X10-15      1X10-16       1X10-17

So you can see that your data files will be 10X larger for 10Hz offsets (10 count/Sec)
and the wraps will occur more often as the full scale counter value is 10X less.
You are however able to get data for .1Sec Tau.

You can also see that an 8 digit counter is more than adequate!
We are working on the design of an 8 digit counter to go with the simple dual
mixer board and hope to have some data soon.

Cheers,

Corby
 
The following users thanked this post: FriedLogic, tkamiya, citizenrich, notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #2 on: October 19, 2020, 01:08:38 am »
Here are some more tidbits!

For 10Mhz with 1 or 10Hz offsets a good 10811 is fine, just keep it powered up all the time!
For 5Mhz at 1Hz there are many candidates.
Try to use the most stable one you can!

You will find in some explainations of DMTD a variable delay inserted into one of
the RF channels.
This is because the instability of the offset oscillator is perfectly eliminated only
if the two RF signals are exactly in phase! This is not realistic when making
realworld measurements, but is feasable when making noise floor tests.
As you get further from that point more noise gets through.
This is usually not important except for oscillators that have very good stability
at a Tau of 1 and below. I usually get around this by running two plots.
For instance I run one plot against my 5065A not worrying about the offset.
Then I run a plot against my FTS 1200, starting the plot at a low offset.
(by adjusting the DUT or REF frequency you can get the plot to start at the low
offset without needing a delay line.) This gives me a plot at high Tau to leverage
the excellent stability of the 5065A, and a plot against the FTS 1200 to use it's
good stability for the lower Taus.
I can then marry these plots to give a composite plot.

Cheers,

Corby
 
The following users thanked this post: FriedLogic, tkamiya

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #3 on: October 19, 2020, 01:33:39 am »
One little mentioned DMTD parameter is Bandwidth.
As bandwidth increases the noise level increases.
This will effect the baseline noise of the instrument.
My NBS 106D has variable switched BW:

1Hz
3Hz
10Hz
30Hz
100Hz
300Hz
1KHz

This allowed optimum noise levels to be used.
The manual shows some plots illustrating this.
https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nbsir75-827.pdf


Most others you will find have a fixed BW.
The simple dual mixer has a fixed BW of about 35Hz to allow use at 1Hz or 10Hz offsets.
Not that important unless comparing noise floors between different DMTD designs but good to keep in mind.

I'll post some details on the noise floor measurements later when I get some actual data together to share.

Cheers,

Corby
 
The following users thanked this post: tkamiya, notfaded1

Offline notfaded1

  • Frequent Contributor
  • **
  • Posts: 559
  • Country: us
Re: DMTD Tutorial
« Reply #4 on: October 19, 2020, 01:12:01 pm »
Thanks for this Corby.  This is exactly the kind of guide that you just can't find anywhere really minus reading papers and some old manuals.  I noticed in some old NIST lab pictures they had two different DMTD systems on a rack and right next to them was the SR620 used with them as the TIC.  I decided to add the picture here of them with their noise floor ADEVs.  It seems like with timelab or some other software we could get close to output like the TSC 5120A.  Two of the DMTD systems are on the rack in center on bottom two shelves.

Bill
« Last Edit: October 20, 2020, 01:14:59 pm by notfaded1 »
.ılılı..ılılı.
notfaded1
 

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #5 on: October 20, 2020, 11:18:19 pm »
Here is some info on noise floor measurement. Once your system is running and the noise floor is tested once, you most likely will never need to do it again!

The noise floor of the dual mixer determines how well you can determine the performance of an
oscillator (DUT) compared to your reference (REF.
Also your REF stability has to be better than or at least equal to your DUT.
For example if your REF into the dual mixer has an AD at a Tau of 1 Second of 1X10-12th
then trying to measure a DUT that is capable of say 5X10-13th would not work!
In the case of both DUT and REF having 5X10-13th performance then your noise floor
should also be lower than or equal to 5X10-13th.
Remember this is at a Tau of 1 Sec. the noise floor drops as the Tau increases!
Since the offset oscillator noise only cancels out when the DUT and REF are exactly in
phase (coincidence) the way we measure the noise floor is to input a single oscillator
into both ports at the same time and induce coincidence.
A simple tee connector can be used but I prefer to input the oscillator
into a broadband resistive power splitter. Then the splitter outputs are applied to the input
ports. Then by swapping the two ports if needed and also inserting small delays into one or both
channels you get the count as observed on your PC to read the smallest possible value.
The PIX shows a typical setup and the SMA male to female adaptor mentioned.
For my 8 channel counter (with 5Mhz RF and 1Hz offset) it's easily possible to get down to a
count of say 15,000 and with time and effort to get a bit below 3000. For the 15,000 count
example this equates to an time interval of 50 ps. The delay through one of the
SMA male to female adaptors runs about 120 ps. Once you are happy with your delay you capture
a run of data say for 2 hours. The count will wander a bit due to temperature variations
but hopefully will not under-range. Then take the data file produced and run an Allan deviation
plot with it. This is your noise floor.

For a dual mixer the noise floor should really be called the effective noise floor and
defined by the ability of your oscillators to stay stable long enough for the measurement.
If you were able to get the count to be at 250 the noise floor might look very good.
However once you go back to the real world and input real oscillators it's a different story!
If you have two Oscilloquartz 8607 option 8 BVA oscillators, you might be able to get that
low of an offset and have it stay in that range long enough to get a useful count!
Remember it's only the lowest Taus that are effected by poor coincidence. Most measurements
on real oscillators can be run further from coincidence and still be effective.
In reply #2 I describe how to work around this to cover the low and high Taus.

Cheers,

Corby
 

Offline notfaded1

  • Frequent Contributor
  • **
  • Posts: 559
  • Country: us
Re: DMTD Tutorial
« Reply #6 on: October 22, 2020, 04:12:44 pm »
So you're basically adding those M-F connectors to get the timing exactly right then?  To increase the delay you keep adding another piece is that basically it?  I've seen some delay boxes where if you open up the box the only thing inside is a coil of coax cable at a certain length.  Since one connector adds possibly 150ps I assume that's why you have so many using them on both sides until the time difference is as small as possible from the split signal on the TIC?  I'm really glad that it looks like I'll finally be able to totally figure this DMTD thing out in practice.  Reading about it and actually doing it are two different things.  :-/O  :-DMM

Can you explain the 8 channel counter (with 5Mhz RF and 1Hz offset) part?  What does the offset have to do with the noise floor test?  Don't you essentially want the exact same delay through the two inputs?  Or are you referring to the 1Hz offset on the middle input port where your offset oscillator goes on the DMTD?

Bill
« Last Edit: October 22, 2020, 04:16:18 pm by notfaded1 »
.ılılı..ılılı.
notfaded1
 

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #7 on: October 22, 2020, 06:22:53 pm »
Bill,

For the 5MHz inputs with 1Hz offset part, I was using count values I measured using those inputs just to give an idea of what you would see and what the counts were worth.
For other RF inputs and offsets the counts will not have the same value as the example but since you still try to use RF connectors/cables to get the smallest delay it really does not matter what the absolute values are. Remember this noise floor test is seldom needed again once you are up and running!

I'll be adding some real world data soon of a nice Quartz oscillator and give a few more tips on how best to run your plots.

Cheers,

Corby
 
The following users thanked this post: notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #8 on: October 26, 2020, 12:16:10 am »
Here is an example of a plot between an HP 5065A and a nice Quartz oscillator that has only been on for a day or so, and using PLOTTER as the processing program.
I usually set the REF and DUT into the Dual mixer inputs that causes aging to slow the phase difference over time from the initial value. (If it's going the wrong way just reverse the inputs)
The initial value is set by adjusting the DUT or REF frequency to get the counts in the low end of the range on the counter and slowly increasing. This allows the you to stay in the lower counts for the longest time.

In the 1st phase plot you can see the phase counts rise slowly and then turn around and accelerate as the aging kicks in.
This was an overnight plot (Seconds of time on lower horizontal scale) and as you can see the counts wrap eight times.
Since this is a plot of a Quartz you really don't need the data after the first wrap so we will remove the remainder.
You will see a blue marker that you position just to the left of the 1st wrap.
Then click on delete right.
The 2nd phase plot shows the remaining data that you want.
Then the scaling factors needs to be input. (in this example 2.0E-15th)
Click on Series and the compute new series box appears. Input a name (C in this example) and the scaling factor then OK.
Then deselect the Column 1 red box. This leaves the black plot of the new series. (the third phase plot)
Then click on Time Stability Statistics and select the values you want. You have to click on Time Stability Statistics before each change. Once happy click on process. (4th phase plot)
Now the (in this example) Allan Deviation plot appears. (last plot)
TimeLab can also be used.

Cheers,

Corby
« Last Edit: October 26, 2020, 12:19:53 am by 5065AGuru »
 
The following users thanked this post: notfaded1

Offline notfaded1

  • Frequent Contributor
  • **
  • Posts: 559
  • Country: us
Re: DMTD Tutorial
« Reply #9 on: October 26, 2020, 01:17:24 pm »
Good Morning Corby-

So you're essentially selecting just the first part of the samples in the first graph before the wraps started?  Basically the 0-10000 part correct?  I did also download Ulrich's plotter since you used for these examples.  I'm more familiar with timelab although it looks like you can do some things with Ulrich's plotter that timelab doesn't as easily or even make available?

The ADEV for that oscillator looks pretty good on the DMTD considering it hasn't been on long!

Regards,

Bill
« Last Edit: October 26, 2020, 08:29:02 pm by notfaded1 »
.ılılı..ılılı.
notfaded1
 

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #10 on: October 27, 2020, 04:09:51 am »
Bill,

Yes! I just usually lop off the stuff after the 1st wrap for Quartz although if the oscillator has been on a week or so you might want to lop it off at the 2nd wrap and then eliminate the single remaining step to get a longer data run. Not so important for Quartz but for a Rubidium or Cesium a good long run is OK, although you may not get many wraps as they drift must less!
TimeLab has many goodies and I do like it but I'm much more familiar with PLOTTER. You will get the same results with either.
One caveat not mentioned is that when comparing a Quartz reference against another Quartz reference you need to be careful.
For the shorter TAUs Quartz on Quartz is great and I usually do a plot against my 5065A for the mid to long TAU then a companion plot against my good Quartz reference for the shorter TAU.
Now imagine you have two 10811 that have been running for a year or so and you decide to test them against each other. Once you match their frequencies to get minimum drift of the Dual Mixer counts you start taking data. Now much later you take the data and plot the AD. You might be pleasantly surprised when you see excellent data for the shorter TAU (which are real!) but you also see really good AD at the larger TAU. (which might not be real!)
Usually Quartz will start turning up on the AD plot due to aging. What can be happening is that both your oscillators are aging at the same or similar rate! This gives the erroneous impression of excellent long term stability! To see what they are actually doing at the longer TAUS you would need to plot against a good Rubidium.


Cheers,

Corby
 
The following users thanked this post: notfaded1

Offline edpalmer42

  • Super Contributor
  • ***
  • Posts: 2260
  • Country: ca
Re: DMTD Tutorial
« Reply #11 on: October 27, 2020, 04:18:46 am »
Hi Corby,

I have a few questions and comments on your use of Plotter.

Is there a reason that you used Allan Deviation rather than Overlapping Allan Deviation?  According to Wikipedia, the overlapping version has been accepted as the preferred version by the IEEE, ITU-T, and ETSI.  I think I read somewhere that these days, if someone says "Allan Deviation", it's generally assumed that they mean "Overlapping Allan Deviation".

I suggest that you upgrade to a newer version of Plotter.  More recent versions include Total Deviation which modifies Overlapping Allan Deviation to produce higher values of Deviation than Overlapping Allan for a given data set.  e.g. for a given data set, Overlapping Allan might give you Deviation values up to Tau = 100 K sec. while Total Deviation gives values up to Tau = 200 K sec. 

It should be pointed out that Plotter has an extensive suite of data editing tools.  You can automatically or manually unwrap datasets like your example.  Sometimes they work better than others, but they can save a glitchy, hard-to-repeat dataset.  You can also edit data points automatically or manually to identify and remove outliers.

If you don't like the way a chart looks, click on 'Chart Editor' and explore various ways to change the appearance of the graph.  Once you get it to your liking, you can save the data and/or the chart with the 'Export' option under the Chart Editor.

Unfortunately, the author of Plotter passed away a few years ago.  I believe the source code still exists, but it's not publically available.  It's also written in Borland Delphi.  Combine these and it's unlikely that there will ever be another version of Plotter.

For anyone who's interested, Plotter is available here:  http://www.ulrich-bangert.de/html/downloads.html

 
The following users thanked this post: notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #12 on: October 27, 2020, 05:39:32 am »
Ed,

Hi. I'm aware of the other plot options but since I have tested hundreds of oscillators and instruments using "regular" Allan Deviation that's what I use.
So when I test an HP5065A to see if it meets my expected performance I have in my mind a good idea if it compares to others I have tested.
I might just try a newer version to see if the remove all steps function works better than the one I have.
I find MUCH better results removing them via single step one at a time.
As for longer TAUS, most of the stuff I test does not need to get much over 1 to 10K Seconds.

Cheers,

Corby
 

Offline notfaded1

  • Frequent Contributor
  • **
  • Posts: 559
  • Country: us
Re: DMTD Tutorial
« Reply #13 on: October 27, 2020, 12:38:58 pm »
Hi Corby,

I have a few questions and comments on your use of Plotter.

Is there a reason that you used Allan Deviation rather than Overlapping Allan Deviation?  According to Wikipedia, the overlapping version has been accepted as the preferred version by the IEEE, ITU-T, and ETSI.  I think I read somewhere that these days, if someone says "Allan Deviation", it's generally assumed that they mean "Overlapping Allan Deviation".

I suggest that you upgrade to a newer version of Plotter.  More recent versions include Total Deviation which modifies Overlapping Allan Deviation to produce higher values of Deviation than Overlapping Allan for a given data set.  e.g. for a given data set, Overlapping Allan might give you Deviation values up to Tau = 100 K sec. while Total Deviation gives values up to Tau = 200 K sec. 

It should be pointed out that Plotter has an extensive suite of data editing tools.  You can automatically or manually unwrap datasets like your example.  Sometimes they work better than others, but they can save a glitchy, hard-to-repeat dataset.  You can also edit data points automatically or manually to identify and remove outliers.

If you don't like the way a chart looks, click on 'Chart Editor' and explore various ways to change the appearance of the graph.  Once you get it to your liking, you can save the data and/or the chart with the 'Export' option under the Chart Editor.

Unfortunately, the author of Plotter passed away a few years ago.  I believe the source code still exists, but it's not publically available.  It's also written in Borland Delphi.  Combine these and it's unlikely that there will ever be another version of Plotter.

For anyone who's interested, Plotter is available here:  http://www.ulrich-bangert.de/html/downloads.html
Thanks for the info Ed.  This makes me think of another question now... does anyone know what type of ADEV timelab gives?  Does it give the overlapping or total ADEV?  I'd be curious to know.

I totally get what Corby is saying.  He wants apples to apples comparisons and switching his main method would rule out true comparisons.  Thanks to many here this is all starting to sink in!  I like the ADEV graphs Corby makes where he uses the Quartz for the shorter time and the Rb for the longer time measurements and combines them into one graph where they overlap.

Best Regards,

Bill
« Last Edit: October 27, 2020, 01:01:35 pm by notfaded1 »
.ılılı..ılılı.
notfaded1
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2150
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: DMTD Tutorial
« Reply #14 on: October 27, 2020, 07:18:02 pm »
TimeLab plots overlapping ADEV.
Everybody likes gadgets. Until they try to make them.
 
The following users thanked this post: notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #15 on: November 02, 2020, 12:39:45 am »
OK,

Here I'll try to illustrate what I mean when I talk about keeping the counts in the lower region to get the best results at low TAU.

The noise contributed by the offset oscillator will only cancel out exactly when the DUT and REF are in phase. As the units drift and the counts depart from the lower region the noise from the offset oscillator will start to degrade the measurement!

First I'll show a plot showing the performance of 2 different offset oscillators.
One is an FTS 1200 and the other a Piezo clone of the 10811.


Then a set of plots showing the baseline plots for low/mid/and full-scale counts using the FTS 1200 and then the Piezo as the  offset oscillator.

As you can see both oscillators perform well in the lower region and show worsening performance as the  count region goes up.
The 1200 does give better results than the Piezo when the counts rise.

The Piezo looks a little better when in coincidence but I think I managed to get a better phase match for that particular plot.

Also includes a noise plot.

With care you can take a long measurement disregarding where you are in regards to scale and then take a shorter plot after getting the counts into the lower region.
On a long plot there may be wraps where the counts are in the lower region so just select those portions and then plot your AD.
************************************************************************************
Well as usual when you try to teach something you end up learning yourself!
I never took the time over the many years to quantify the degradation versus distance from coincidence.
I knew it existed and always made the effort to minimize the effect.
Anyway I just finished another set of noise floors using the NBS 106B with its built in delay line to try and pin down where it starts hurting the results.

Here is a chart showing what I found.

% of full scale delay         AD @1Sec
******************************
0                                    1.30-13th
.01                                 1.57-13th
.1                                   6.58-13th
1                                    6.82-13th
2                                    6.78-13th
3                                    6.62-13th
4                                    6.85-13th
50                                  7.07-13th
100                                8.75-13th   

As you can see staying in the lower .1% will allow testing to low -13ths, as you go above that to 50% you can only test in the 7X10-13th range. :phew:

Cheers,

Corby
« Last Edit: November 10, 2020, 06:17:18 am by 5065AGuru »
 
The following users thanked this post: chuckb, FriedLogic, notfaded1

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #16 on: November 08, 2020, 01:35:55 am »
Update to chart with more data points!

% of full scale delay         AD @1Sec
******************************
0                                    1.30-13th
.01                                 1.57-13th
.02                                 2.66-13th
.03                                 3.84-13th
.04                                 5.19-13th
.05                                 5.61-13th
.06                                 6.02-13th
.07                                 5.59-13th
.08                                 6.35-13th
.1                                   6.58-13th
1                                    6.82-13th
2                                    6.78-13th
3                                    6.62-13th
4                                    6.85-13th
50                                  7.07-13th
100                                8.75-13th   
 
The following users thanked this post: notfaded1

Offline edpalmer42

  • Super Contributor
  • ***
  • Posts: 2260
  • Country: ca
Re: DMTD Tutorial
« Reply #17 on: November 08, 2020, 03:00:10 am »
If your REF and DUT sources were both 1 Hz different from the Offset, would a long data run show a 1 Hz signal on top of the ADEV graph as they swept through the different phase values?  And could you say that the actual ADEV value was at the lowest level of this signal?

 

Offline tkamiya

  • Super Contributor
  • ***
  • Posts: 2178
  • Country: us
Re: DMTD Tutorial
« Reply #18 on: November 12, 2020, 05:07:56 pm »
I'm sorry, I am totally confused. 

Say I'm working with 10MHz input and 1Hz offset, what is the multiplication factor I need to use?  1 second difference represents 10E-7, right?  so 1 x 10^7?  I am using TimeLab.  This whole concept is escaping me.
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2150
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: DMTD Tutorial
« Reply #19 on: November 12, 2020, 06:46:59 pm »
What I'm not quite getting is the sharp increase in noise after roughly 1000 seconds. Why doesn't it slowly degrade, why the sharp rise? It's one magnitude more all of a sudden.
Everybody likes gadgets. Until they try to make them.
 

Offline tkamiya

  • Super Contributor
  • ***
  • Posts: 2178
  • Country: us
Re: DMTD Tutorial
« Reply #20 on: November 12, 2020, 07:01:39 pm »
I can only imagine the graph you are looking at.  If it is like ones I've seen, it is slowly degrading....  it's just that it's a logarithmic scale so graph looks the way you see it. 

I'm having more basic problem...  HELP!  I'm being out smarted by a device I made myself! 
 

Offline chuckb

  • Frequent Contributor
  • **
  • Posts: 339
  • Country: us
Re: DMTD Tutorial
« Reply #21 on: November 12, 2020, 07:44:29 pm »
What I'm not quite getting is the sharp increase in noise after roughly 1000 seconds. Why doesn't it slowly degrade, why the sharp rise? It's one magnitude more all of a sudden.

Just a thought, do you have a phase wrap happening at 1000 sec? That software data correction may not be getting handled correctly.
Good Luck!
 

Offline edpalmer42

  • Super Contributor
  • ***
  • Posts: 2260
  • Country: ca
Re: DMTD Tutorial
« Reply #22 on: November 12, 2020, 08:05:44 pm »
What I'm not quite getting is the sharp increase in noise after roughly 1000 seconds. Why doesn't it slowly degrade, why the sharp rise? It's one magnitude more all of a sudden.

Based on the notes that Corby added to the graph, I think he flipped a switch to change the phase offset from near zero to near full.

I can only imagine the graph you are looking at.  If it is like ones I've seen, it is slowly degrading....  it's just that it's a logarithmic scale so graph looks the way you see it.

He's looking at 1200lhnoise.png which is 5 or 6 messages above yours!

Quote

I'm having more basic problem...  HELP!  I'm being out smarted by a device I made myself!

Just repeat both of Corby's tests from early in the 'DMTD Board' thread.  Your results should be similar to his - particularly for the noise floor at Tau = 1 sec.  If your scaling factor is wrong, you'll be off by one or more orders of magnitude.  Now make sure that the scaling factor makes sense.  I've never used a DMTD but I believe your comment is correct.  Basically, scaling factor = output frequency / input frequency.  Depending on how the program deals with the scaling factor, you might have to invert that.





 

Offline cncjerry

  • Supporter
  • ****
  • Posts: 1269
Re: DMTD Tutorial
« Reply #23 on: November 14, 2020, 06:58:06 am »
I'm sorry, I am totally confused. 

Say I'm working with 10MHz input and 1Hz offset, what is the multiplication factor I need to use?  1 second difference represents 10E-7, right?  so 1 x 10^7?  I am using TimeLab.  This whole concept is escaping me.

If you are bringing the data directly into timelab with a 10Mhz DUT and a 1 second offset, then multiply (in the timelab box) by 1e-7.  The formula is 1/(F/Fo) where F is the frequency being measured and Fo is the offset frequency.  So with a 10hz offset you would use 1e-6.
 

Offline 5065AGuruTopic starter

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: DMTD Tutorial
« Reply #24 on: November 14, 2020, 06:13:12 pm »
Thinkfat,

At 1000 Sec I switched the phase relationship instantly from close to zero to full scale.

If you could slowly change the phase from 0 to full scale over say a thousand Sec. then you would see the gradual increase in the noise as you departed from zero, but in a noise floor setup that is not feasible.
That's why I made the chart showing the AD degradation at different points.

All,

Here is a nice explanation about resolution and multiplier from Tom VanBaak:

"The resolution is simply the TI measurement times the DMTD "multiplier".

The "multiplier" is based on DUT/REF vs. LO, so in your case it's 1 Hz / 10 MHz or 1e-7. That remains the same regardless of what make/model counter you use to measure the period. It only changes if you alter the DUT/REF frequency or the LO frequency.


So that's the multiplier part of the equation. For the counter part, let's look at 3 different counters.


A 53131A is a counter which outputs numerical TI readings with actual units. So that's why you see "s" and "us" in the reading. The units of a time interval measurement are always seconds. By contrast when a 53131A measures frequency the numbers have Hz or MHz units. Either way, there are units. Units are important, even critical. The units for a voltage measurement are in volts, etc. This is just normal science; all measurements have units.


Your purpose built  counter, appears to bypass the use of a decimal point and bypass the use of scientific units. Instead it outputs a raw integer count of 10 ns clocks, which is then often a very large number, in the tens of millions. To use this device, one has to manually divide these super large integers by 10^8 in order to get proper time interval measurements that are in units of seconds. So for your DMTD, and this counter, you use the 7+8 = 15 scale factor.


The third, like the 53131, outputs properly scaled measurements without the user having to add fudge factors. The units are already in seconds. That's why you see numbers in the modest range of about 0.00  to 1.00 s. This means, the only scaling factor you need to apply is the DMTD multiplier, which is 1e-7.

The other thing that the it does is output measurements without resorting to commas, which some software, like Plotter or Stable32 or Excel don't properly recognize.

Bottom line, when using it, the only number you have to scale by is the DMTD multiplier, which in your case is 1e-7."

Cheers,

Corby
 
The following users thanked this post: notfaded1


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf