time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

is there a "best bet" advanced hobbyist buildable GPSDO design?

SB
Scott Burris
Tue, Dec 11, 2007 5:34 PM

Hi,

Like many, I've acquired a fair amount of surplus test equipment off of Ebay
which could use the services of good master frequency standard.  So I'm
looking to discipline an HP 10811 VXCO to provide this.

Any general consensus about the best design for a hobbyist to build?
I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design,
the TAC-2 circuit, and the VE2ZAZ design.  I take it from discussions
I've seen in the archives of this list that the VE2ZAZ design makes a
number of simplification/performance tradeoffs.

Is there a design I haven't listed which is "better" than the others?
I'm quite familiar with microcontrollers, FPGAs, spinning my own
PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build
a variation on someone's tried and true design.

I'm aware of products like the Fury, but I'd like something I could tinker
with, and the cost is hard to justify for a hobbyist.

Scott

Hi, Like many, I've acquired a fair amount of surplus test equipment off of Ebay which could use the services of good master frequency standard. So I'm looking to discipline an HP 10811 VXCO to provide this. Any general consensus about the best design for a hobbyist to build? I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design, the TAC-2 circuit, and the VE2ZAZ design. I take it from discussions I've seen in the archives of this list that the VE2ZAZ design makes a number of simplification/performance tradeoffs. Is there a design I haven't listed which is "better" than the others? I'm quite familiar with microcontrollers, FPGAs, spinning my own PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build a variation on someone's tried and true design. I'm aware of products like the Fury, but I'd like something I could tinker with, and the cost is hard to justify for a hobbyist. Scott
TV
Tom Van Baak
Tue, Dec 11, 2007 7:06 PM

Hi,

Like many, I've acquired a fair amount of surplus test equipment off of Ebay
which could use the services of good master frequency standard.  So I'm
looking to discipline an HP 10811 VXCO to provide this.

Any general consensus about the best design for a hobbyist to build?
I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design,
the TAC-2 circuit, and the VE2ZAZ design.  I take it from discussions
I've seen in the archives of this list that the VE2ZAZ design makes a
number of simplification/performance tradeoffs.

Is there a design I haven't listed which is "better" than the others?
I'm quite familiar with microcontrollers, FPGAs, spinning my own
PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build
a variation on someone's tried and true design.

I'm aware of products like the Fury, but I'd like something I could tinker
with, and the cost is hard to justify for a hobbyist.

Scott

Scott,

Hard to say which is better at this point; there are a number
of variables, not the least of which is the intrinsic short-term
stability of the OCXO you use.

Do have a close look at James Miller's GPSDO:

http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm

I recently tested one and it makes it to 1e-13 at one day, which
is really nice for a simple, cheap, homebrew GPSDO.

/tvb

> Hi, > > Like many, I've acquired a fair amount of surplus test equipment off of Ebay > which could use the services of good master frequency standard. So I'm > looking to discipline an HP 10811 VXCO to provide this. > > Any general consensus about the best design for a hobbyist to build? > I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design, > the TAC-2 circuit, and the VE2ZAZ design. I take it from discussions > I've seen in the archives of this list that the VE2ZAZ design makes a > number of simplification/performance tradeoffs. > > Is there a design I haven't listed which is "better" than the others? > I'm quite familiar with microcontrollers, FPGAs, spinning my own > PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build > a variation on someone's tried and true design. > > I'm aware of products like the Fury, but I'd like something I could tinker > with, and the cost is hard to justify for a hobbyist. > > Scott Scott, Hard to say which is better at this point; there are a number of variables, not the least of which is the intrinsic short-term stability of the OCXO you use. Do have a close look at James Miller's GPSDO: http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm I recently tested one and it makes it to 1e-13 at one day, which is really nice for a simple, cheap, homebrew GPSDO. /tvb
LC
Luis Cupido
Tue, Dec 11, 2007 8:29 PM

Scott, you have also:
http://w3ref.cfn.ist.utl.pt/cupido/reflock.html

lab grade consider using reflock II
for kits I think TAPR still has those...

Luis Cupido
ct1dmk.

Scott Burris wrote:

Hi,

Like many, I've acquired a fair amount of surplus test equipment off of Ebay
which could use the services of good master frequency standard.  So I'm
looking to discipline an HP 10811 VXCO to provide this.

Any general consensus about the best design for a hobbyist to build?
I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design,
the TAC-2 circuit, and the VE2ZAZ design.  I take it from discussions
I've seen in the archives of this list that the VE2ZAZ design makes a
number of simplification/performance tradeoffs.

Is there a design I haven't listed which is "better" than the others?
I'm quite familiar with microcontrollers, FPGAs, spinning my own
PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build
a variation on someone's tried and true design.

I'm aware of products like the Fury, but I'd like something I could tinker
with, and the cost is hard to justify for a hobbyist.

Scott


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Scott, you have also: http://w3ref.cfn.ist.utl.pt/cupido/reflock.html lab grade consider using reflock II for kits I think TAPR still has those... Luis Cupido ct1dmk. Scott Burris wrote: > Hi, > > Like many, I've acquired a fair amount of surplus test equipment off of Ebay > which could use the services of good master frequency standard. So I'm > looking to discipline an HP 10811 VXCO to provide this. > > Any general consensus about the best design for a hobbyist to build? > I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design, > the TAC-2 circuit, and the VE2ZAZ design. I take it from discussions > I've seen in the archives of this list that the VE2ZAZ design makes a > number of simplification/performance tradeoffs. > > Is there a design I haven't listed which is "better" than the others? > I'm quite familiar with microcontrollers, FPGAs, spinning my own > PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build > a variation on someone's tried and true design. > > I'm aware of products like the Fury, but I'd like something I could tinker > with, and the cost is hard to justify for a hobbyist. > > Scott > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. >
BG
Bruce Griffiths
Tue, Dec 11, 2007 8:53 PM

Tom Van Baak wrote:

Hi,

Like many, I've acquired a fair amount of surplus test equipment off of Ebay
which could use the services of good master frequency standard.  So I'm
looking to discipline an HP 10811 VXCO to provide this.

Any general consensus about the best design for a hobbyist to build?
I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design,
the TAC-2 circuit, and the VE2ZAZ design.  I take it from discussions
I've seen in the archives of this list that the VE2ZAZ design makes a
number of simplification/performance tradeoffs.

Is there a design I haven't listed which is "better" than the others?
I'm quite familiar with microcontrollers, FPGAs, spinning my own
PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build
a variation on someone's tried and true design.

I'm aware of products like the Fury, but I'd like something I could tinker
with, and the cost is hard to justify for a hobbyist.

Scott

Scott,

Hard to say which is better at this point; there are a number
of variables, not the least of which is the intrinsic short-term
stability of the OCXO you use.

Do have a close look at James Miller's GPSDO:

http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm

I recently tested one and it makes it to 1e-13 at one day, which
is really nice for a simple, cheap, homebrew GPSDO.

/tvb


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Tom

What about the short term performance?
Its relatively easy to achieve a stability of 1E-13 for an averaging
time of 1 day, achieving good short or medium term stability is more
difficult.

If you want simplicity and higher performance you can do far better with
fewer parts,
An expensive high resolution DAC can be replaced with a software
sigma-delta DAC that has higher resolution.
The complex phase detector can be replaced with a D flipflop.
Add a microprocessor plus an opamp or 2 to filter and scale the EFC
voltage and thats about all thats required in addition to a good GPS
timing receiver.
For improved performance a hardware circuit to correct the PPS sawtooth
error will improve the medium term stability significantly when using a
high performance GPS timing receiver that provides an estimate of this
error.

Both the Brooks Shera and the James Miller designs have inadequate phase
error measurement resolution to achieve good short and medium term
stability.
However, this is only noticeable when using high performance GPS timing
receivers (M12+T, M12MT etc) and a high quality OCXO (10811A etc).

Bruce

Tom Van Baak wrote: >> Hi, >> >> Like many, I've acquired a fair amount of surplus test equipment off of Ebay >> which could use the services of good master frequency standard. So I'm >> looking to discipline an HP 10811 VXCO to provide this. >> >> Any general consensus about the best design for a hobbyist to build? >> I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design, >> the TAC-2 circuit, and the VE2ZAZ design. I take it from discussions >> I've seen in the archives of this list that the VE2ZAZ design makes a >> number of simplification/performance tradeoffs. >> >> Is there a design I haven't listed which is "better" than the others? >> I'm quite familiar with microcontrollers, FPGAs, spinning my own >> PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build >> a variation on someone's tried and true design. >> >> I'm aware of products like the Fury, but I'd like something I could tinker >> with, and the cost is hard to justify for a hobbyist. >> >> Scott >> > > Scott, > > Hard to say which is better at this point; there are a number > of variables, not the least of which is the intrinsic short-term > stability of the OCXO you use. > > Do have a close look at James Miller's GPSDO: > > http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm > > I recently tested one and it makes it to 1e-13 at one day, which > is really nice for a simple, cheap, homebrew GPSDO. > > /tvb > > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. > > Tom What about the short term performance? Its relatively easy to achieve a stability of 1E-13 for an averaging time of 1 day, achieving good short or medium term stability is more difficult. If you want simplicity and higher performance you can do far better with fewer parts, An expensive high resolution DAC can be replaced with a software sigma-delta DAC that has higher resolution. The complex phase detector can be replaced with a D flipflop. Add a microprocessor plus an opamp or 2 to filter and scale the EFC voltage and thats about all thats required in addition to a good GPS timing receiver. For improved performance a hardware circuit to correct the PPS sawtooth error will improve the medium term stability significantly when using a high performance GPS timing receiver that provides an estimate of this error. Both the Brooks Shera and the James Miller designs have inadequate phase error measurement resolution to achieve good short and medium term stability. However, this is only noticeable when using high performance GPS timing receivers (M12+T, M12MT etc) and a high quality OCXO (10811A etc). Bruce
SB
Scott Burris
Tue, Dec 11, 2007 11:38 PM

On Dec 11, 2007 12:53 PM, Bruce Griffiths bruce.griffiths@xtra.co.nz
wrote:

Tom Van Baak wrote:

Hi,

Like many, I've acquired a fair amount of surplus test equipment off of

Ebay

which could use the services of good master frequency standard.  So I'm
looking to discipline an HP 10811 VXCO to provide this.

Any general consensus about the best design for a hobbyist to build?
I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design,
the TAC-2 circuit, and the VE2ZAZ design.  I take it from discussions
I've seen in the archives of this list that the VE2ZAZ design makes a
number of simplification/performance tradeoffs.

Is there a design I haven't listed which is "better" than the others?
I'm quite familiar with microcontrollers, FPGAs, spinning my own
PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build
a variation on someone's tried and true design.

I'm aware of products like the Fury, but I'd like something I could

tinker

with, and the cost is hard to justify for a hobbyist.

Scott

Scott,

Hard to say which is better at this point; there are a number
of variables, not the least of which is the intrinsic short-term
stability of the OCXO you use.

Do have a close look at James Miller's GPSDO:

http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm

I recently tested one and it makes it to 1e-13 at one day, which
is really nice for a simple, cheap, homebrew GPSDO.

/tvb


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to

and follow the instructions there.

Tom

What about the short term performance?
Its relatively easy to achieve a stability of 1E-13 for an averaging
time of 1 day, achieving good short or medium term stability is more
difficult.

If you want simplicity and higher performance you can do far better with
fewer parts,
An expensive high resolution DAC can be replaced with a software
sigma-delta DAC that has higher resolution.
The complex phase detector can be replaced with a D flipflop.
Add a microprocessor plus an opamp or 2 to filter and scale the EFC
voltage and thats about all thats required in addition to a good GPS
timing receiver.
For improved performance a hardware circuit to correct the PPS sawtooth
error will improve the medium term stability significantly when using a
high performance GPS timing receiver that provides an estimate of this
error.

Both the Brooks Shera and the James Miller designs have inadequate phase
error measurement resolution to achieve good short and medium term
stability.
However, this is only noticeable when using high performance GPS timing
receivers (M12+T, M12MT etc) and a high quality OCXO (10811A etc).

Bruce


OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the
microcontroller, and use a 32bit PCM output followed by a low pass filter as
the VXCO EFC?  The DAC just needs high resolution, not accuracy, right?
Or would the switching noise from the processor modulate the control
voltage?
I would hope the filter would clean any such noise, but I'll be the first to
admit
that the farther we get into the analog domain, the more I'm out of my
comfort zone.

I'm still trying to wrap my brain around the phase detection piece of this.
I've studied the Shera controller with it's 24Mhz oscillator and divided
down
sample of the VXCO and I'm can't get past thinking that this ends up
adding jitter.  With more modern parts can't the phase be measured more
directly?  What about sampling both the VXCO and 1PPS at a 200MHZ rate?
That should determine the phase difference within no more than a 10ns
inaccuracy.

Or use a pulse stretching technique to amplify the short time intervals into
something
more easily measured, although that's beyond what I'm familiar with.

I've read the PTTI presentation about using a DS1020 delay line to
de-sawtooth the
1PPS signal -- that's a pretty interesting idea.  At least the chip is
available in Qty 1,
at $30!

It just seems that the designs I've seen could use a refresh with some more
modern
circuitry.  At the very least the Shera controller could have much of its
logic put into
a single CPLD these days.

Scott

On Dec 11, 2007 12:53 PM, Bruce Griffiths <bruce.griffiths@xtra.co.nz> wrote: > Tom Van Baak wrote: > >> Hi, > >> > >> Like many, I've acquired a fair amount of surplus test equipment off of > Ebay > >> which could use the services of good master frequency standard. So I'm > >> looking to discipline an HP 10811 VXCO to provide this. > >> > >> Any general consensus about the best design for a hobbyist to build? > >> I'm familiar with the Brooks Shera design, the G4JNT Jupiter-T design, > >> the TAC-2 circuit, and the VE2ZAZ design. I take it from discussions > >> I've seen in the archives of this list that the VE2ZAZ design makes a > >> number of simplification/performance tradeoffs. > >> > >> Is there a design I haven't listed which is "better" than the others? > >> I'm quite familiar with microcontrollers, FPGAs, spinning my own > >> PCBs, etc, so I'll roll my own if I have to, but I'd prefer to build > >> a variation on someone's tried and true design. > >> > >> I'm aware of products like the Fury, but I'd like something I could > tinker > >> with, and the cost is hard to justify for a hobbyist. > >> > >> Scott > >> > > > > Scott, > > > > Hard to say which is better at this point; there are a number > > of variables, not the least of which is the intrinsic short-term > > stability of the OCXO you use. > > > > Do have a close look at James Miller's GPSDO: > > > > http://www.jrmiller.demon.co.uk/projects/freqstd/frqstd.htm > > > > I recently tested one and it makes it to 1e-13 at one day, which > > is really nice for a simple, cheap, homebrew GPSDO. > > > > /tvb > > > > > > _______________________________________________ > > time-nuts mailing list -- time-nuts@febo.com > > To unsubscribe, go to > https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > > and follow the instructions there. > > > > > Tom > > What about the short term performance? > Its relatively easy to achieve a stability of 1E-13 for an averaging > time of 1 day, achieving good short or medium term stability is more > difficult. > > If you want simplicity and higher performance you can do far better with > fewer parts, > An expensive high resolution DAC can be replaced with a software > sigma-delta DAC that has higher resolution. > The complex phase detector can be replaced with a D flipflop. > Add a microprocessor plus an opamp or 2 to filter and scale the EFC > voltage and thats about all thats required in addition to a good GPS > timing receiver. > For improved performance a hardware circuit to correct the PPS sawtooth > error will improve the medium term stability significantly when using a > high performance GPS timing receiver that provides an estimate of this > error. > > Both the Brooks Shera and the James Miller designs have inadequate phase > error measurement resolution to achieve good short and medium term > stability. > However, this is only noticeable when using high performance GPS timing > receivers (M12+T, M12MT etc) and a high quality OCXO (10811A etc). > > Bruce > > _______________________________________________ > OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the microcontroller, and use a 32bit PCM output followed by a low pass filter as the VXCO EFC? The DAC just needs high resolution, not accuracy, right? Or would the switching noise from the processor modulate the control voltage? I would hope the filter would clean any such noise, but I'll be the first to admit that the farther we get into the analog domain, the more I'm out of my comfort zone. I'm still trying to wrap my brain around the phase detection piece of this. I've studied the Shera controller with it's 24Mhz oscillator and divided down sample of the VXCO and I'm can't get past thinking that this ends up adding jitter. With more modern parts can't the phase be measured more directly? What about sampling both the VXCO and 1PPS at a 200MHZ rate? That should determine the phase difference within no more than a 10ns inaccuracy. Or use a pulse stretching technique to amplify the short time intervals into something more easily measured, although that's beyond what I'm familiar with. I've read the PTTI presentation about using a DS1020 delay line to de-sawtooth the 1PPS signal -- that's a pretty interesting idea. At least the chip is available in Qty 1, at $30! It just seems that the designs I've seen could use a refresh with some more modern circuitry. At the very least the Shera controller could have much of its logic put into a single CPLD these days. Scott
BG
Bruce Griffiths
Wed, Dec 12, 2007 12:09 AM

Scott

Scott Burris wrote:

OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the
microcontroller, and use a 32bit PCM output followed by a low pass filter as
the VXCO EFC?  The DAC just needs high resolution, not accuracy, right?

True, but a Sigma delta DAC has far superior performance to a PWM DAC or
a standard DAC especially when the long term stability is not critical
and a faast response isnt required.
NIST use sigma delta DACs in their precision AC waveform generator and
to calibrate their Johnson noise thermometer systems.

Or would the switching noise from the processor modulate the control
voltage?

Its best to have the processor drive an external current steering switch
(74HC4053) to switch a stable current into the summing junction of an
inverting opamp.
If you want I can send you a suitable circuit schematic.
With a suitable circuit one can just use a voltage reference and a
resistor to set the current, a spare  analog switch can be used in
series with the feedback resistor to provide temperature compensation
(important for good short and medium term stability). HP/Agilent in
effect use a similar temperature compensated current steering technique
in their 34401A 6.5 digit DVM.
Ulrich has uses similar techniques albeit with the sigma delta DAC logic
implemented in a gate array to achieve high resolution and good short
term stability.
In this application the DAC need not respond as fast so it can be
implemented in software.

I would hope the filter would clean any such noise, but I'll be the first to
admit
that the farther we get into the analog domain, the more I'm out of my
comfort zone.

I'm still trying to wrap my brain around the phase detection piece of this.
I've studied the Shera controller with it's 24Mhz oscillator and divided
down
sample of the VXCO and I'm can't get past thinking that this ends up
adding jitter.  With more modern parts can't the phase be measured more
directly?  What about sampling both the VXCO and 1PPS at a 200MHZ rate?
That should determine the phase difference within no more than a 10ns
inaccuracy.

Eliminate such unnecessary cost and complexity with a single D flipflop
phase detector (D connected to 10MHz signal or a divided down
subharmonic thereof, CLK connected to PPS) the circuit will
automatically adapt to achieve a resolution determined by the PPS jitter
(picoseconds if you have a good enough PPS source, a few nanosec with a
sawtooth corrected PPS signal from an M12M timing receiver, a few tens
of nanosec with an uncorrected PPS signal from an M12M timing receiver).
Thus its resolution is far better than when using a 24MHz clock and its
also cheaper and the hardware is less complex. Using a 200MHz clock just
increases the cost and power consumption without significant benefit
over the simpler D flipflop phase detector.
However you will need to write suitable software to process the D
flipflop output samples.

Or use a pulse stretching technique to amplify the short time intervals into
something
more easily measured, although that's beyond what I'm familiar with.

Again easily done but more complex than required.

I've read the PTTI presentation about using a DS1020 delay line to
de-sawtooth the
1PPS signal -- that's a pretty interesting idea.  At least the chip is
available in Qty 1,
at $30!

That is a very good idea for getting the maximum performance with a D
flipflop phase detector and an M12M or similar GPS timing receiver.
You can do far better when using GPS carrier phase disciplining
techniques and the GPS receiver has all the necessary high resolution
phase measurement circuitry built in.
However considerable software development is required together with a
GPS receiver that makes the GPS carrier phase measurement data available.

It just seems that the designs I've seen could use a refresh with some more
modern
circuitry.  At the very least the Shera controller could have much of its
logic put into
a single CPLD these days.

Scott


The Shera controller is a dead end, it doesnt have sufficient resolution
and whilst increasing its resolution is possible there are simpler,
better and cheaper ways to achieve this.

Bruce

Scott Scott Burris wrote: > > OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the > microcontroller, and use a 32bit PCM output followed by a low pass filter as > the VXCO EFC? The DAC just needs high resolution, not accuracy, right? > True, but a Sigma delta DAC has far superior performance to a PWM DAC or a standard DAC especially when the long term stability is not critical and a faast response isnt required. NIST use sigma delta DACs in their precision AC waveform generator and to calibrate their Johnson noise thermometer systems. > Or would the switching noise from the processor modulate the control > voltage? > Its best to have the processor drive an external current steering switch (74HC4053) to switch a stable current into the summing junction of an inverting opamp. If you want I can send you a suitable circuit schematic. With a suitable circuit one can just use a voltage reference and a resistor to set the current, a spare analog switch can be used in series with the feedback resistor to provide temperature compensation (important for good short and medium term stability). HP/Agilent in effect use a similar temperature compensated current steering technique in their 34401A 6.5 digit DVM. Ulrich has uses similar techniques albeit with the sigma delta DAC logic implemented in a gate array to achieve high resolution and good short term stability. In this application the DAC need not respond as fast so it can be implemented in software. > I would hope the filter would clean any such noise, but I'll be the first to > admit > that the farther we get into the analog domain, the more I'm out of my > comfort zone. > > I'm still trying to wrap my brain around the phase detection piece of this. > I've studied the Shera controller with it's 24Mhz oscillator and divided > down > sample of the VXCO and I'm can't get past thinking that this ends up > adding jitter. With more modern parts can't the phase be measured more > directly? What about sampling both the VXCO and 1PPS at a 200MHZ rate? > That should determine the phase difference within no more than a 10ns > inaccuracy. > > Eliminate such unnecessary cost and complexity with a single D flipflop phase detector (D connected to 10MHz signal or a divided down subharmonic thereof, CLK connected to PPS) the circuit will automatically adapt to achieve a resolution determined by the PPS jitter (picoseconds if you have a good enough PPS source, a few nanosec with a sawtooth corrected PPS signal from an M12M timing receiver, a few tens of nanosec with an uncorrected PPS signal from an M12M timing receiver). Thus its resolution is far better than when using a 24MHz clock and its also cheaper and the hardware is less complex. Using a 200MHz clock just increases the cost and power consumption without significant benefit over the simpler D flipflop phase detector. However you will need to write suitable software to process the D flipflop output samples. > Or use a pulse stretching technique to amplify the short time intervals into > something > more easily measured, although that's beyond what I'm familiar with. > > Again easily done but more complex than required. > I've read the PTTI presentation about using a DS1020 delay line to > de-sawtooth the > 1PPS signal -- that's a pretty interesting idea. At least the chip is > available in Qty 1, > at $30! > > That is a very good idea for getting the maximum performance with a D flipflop phase detector and an M12M or similar GPS timing receiver. You can do far better when using GPS carrier phase disciplining techniques and the GPS receiver has all the necessary high resolution phase measurement circuitry built in. However considerable software development is required together with a GPS receiver that makes the GPS carrier phase measurement data available. > It just seems that the designs I've seen could use a refresh with some more > modern > circuitry. At the very least the Shera controller could have much of its > logic put into > a single CPLD these days. > > Scott > _______________________________________________ > The Shera controller is a dead end, it doesnt have sufficient resolution and whilst increasing its resolution is possible there are simpler, better and cheaper ways to achieve this. Bruce
LC
Luis Cupido
Wed, Dec 12, 2007 1:07 AM

Hi Bruce and Scott.

What about sampling both the VXCO and 1PPS at a 200MHZ rate?
That should determine the phase difference within no more than a 10ns
inaccuracy.

Simplicity is good but when using a CPLD or an FPGA no need to get
simple if a better design still fits inside the chip ;-)

Indeed those style of phase measuring schemes have far better
performance than the simple flip flop or similar.

I say this because I had all the logic on a CPLD to play with
so I tried a large number of phase locking schemes and
could compare them.

First of all the lock capture range can become a bit
independent of the integration time with a proportional phase lag
counting method. Some counting methods will inherently search for lock
when lock is lost. Some of those methods also have lock acquisition
times orders of magnitude smaller.

On the other hand on CPLD (or FPGA) complexity doesn't cost more as
this stuff is ultra extra small considering the size of
a today's CPLD (eg. maxII w/ 1570 macrocells). No matter what you do
a medium CPLD will be only used 10 to 20% not more.

What I use on the reflock II is a time lag counter from the 1pps to
next clock, and this value drive a dac. Only a small integration time
is done digitally and the large integration time if one requires that
is done with a classical R and C without any active components right
before the Vtune of the VCXO. Therefore not a big DAC resolution is
required (I use 12-14bit) since the averaging is on the outside in an
analog filter in which simple 64 seconds integration time will grant
you 6 bit more resolution.

It may look a strange combination of a modern devices and a old
fashioned filter but it had by far outperformed all the designs I could
test w/ microporcessors + dac (in which some noise did get through),
or lack stability.

Luis Cupido
ct1dmk.
http://w3ref.cfn.ist.utl.pt/cupido/

Bruce Griffiths wrote:

Scott

Scott Burris wrote:

OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the
microcontroller, and use a 32bit PCM output followed by a low pass filter as
the VXCO EFC?  The DAC just needs high resolution, not accuracy, right?

True, but a Sigma delta DAC has far superior performance to a PWM DAC or
a standard DAC especially when the long term stability is not critical
and a faast response isnt required.
NIST use sigma delta DACs in their precision AC waveform generator and
to calibrate their Johnson noise thermometer systems.

Or would the switching noise from the processor modulate the control
voltage?

Its best to have the processor drive an external current steering switch
(74HC4053) to switch a stable current into the summing junction of an
inverting opamp.
If you want I can send you a suitable circuit schematic.
With a suitable circuit one can just use a voltage reference and a
resistor to set the current, a spare  analog switch can be used in
series with the feedback resistor to provide temperature compensation
(important for good short and medium term stability). HP/Agilent in
effect use a similar temperature compensated current steering technique
in their 34401A 6.5 digit DVM.
Ulrich has uses similar techniques albeit with the sigma delta DAC logic
implemented in a gate array to achieve high resolution and good short
term stability.
In this application the DAC need not respond as fast so it can be
implemented in software.

I would hope the filter would clean any such noise, but I'll be the first to
admit
that the farther we get into the analog domain, the more I'm out of my
comfort zone.

I'm still trying to wrap my brain around the phase detection piece of this.
I've studied the Shera controller with it's 24Mhz oscillator and divided
down
sample of the VXCO and I'm can't get past thinking that this ends up
adding jitter.  With more modern parts can't the phase be measured more
directly?  What about sampling both the VXCO and 1PPS at a 200MHZ rate?
That should determine the phase difference within no more than a 10ns
inaccuracy.

Eliminate such unnecessary cost and complexity with a single D flipflop
phase detector (D connected to 10MHz signal or a divided down
subharmonic thereof, CLK connected to PPS) the circuit will
automatically adapt to achieve a resolution determined by the PPS jitter
(picoseconds if you have a good enough PPS source, a few nanosec with a
sawtooth corrected PPS signal from an M12M timing receiver, a few tens
of nanosec with an uncorrected PPS signal from an M12M timing receiver).
Thus its resolution is far better than when using a 24MHz clock and its
also cheaper and the hardware is less complex. Using a 200MHz clock just
increases the cost and power consumption without significant benefit
over the simpler D flipflop phase detector.
However you will need to write suitable software to process the D
flipflop output samples.

Or use a pulse stretching technique to amplify the short time intervals into
something
more easily measured, although that's beyond what I'm familiar with.

Again easily done but more complex than required.

I've read the PTTI presentation about using a DS1020 delay line to
de-sawtooth the
1PPS signal -- that's a pretty interesting idea.  At least the chip is
available in Qty 1,
at $30!

That is a very good idea for getting the maximum performance with a D
flipflop phase detector and an M12M or similar GPS timing receiver.
You can do far better when using GPS carrier phase disciplining
techniques and the GPS receiver has all the necessary high resolution
phase measurement circuitry built in.
However considerable software development is required together with a
GPS receiver that makes the GPS carrier phase measurement data available.

It just seems that the designs I've seen could use a refresh with some more
modern
circuitry.  At the very least the Shera controller could have much of its
logic put into
a single CPLD these days.

Scott


The Shera controller is a dead end, it doesnt have sufficient resolution
and whilst increasing its resolution is possible there are simpler,
better and cheaper ways to achieve this.

Bruce


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Hi Bruce and Scott. >> What about sampling both the VXCO and 1PPS at a 200MHZ rate? >> That should determine the phase difference within no more than a 10ns >> inaccuracy. >> Simplicity is good but when using a CPLD or an FPGA no need to get simple if a better design still fits inside the chip ;-) Indeed those style of phase measuring schemes have far better performance than the simple flip flop or similar. I say this because I had all the logic on a CPLD to play with so I tried a large number of phase locking schemes and could compare them. First of all the lock capture range can become a bit independent of the integration time with a proportional phase lag counting method. Some counting methods will inherently search for lock when lock is lost. Some of those methods also have lock acquisition times orders of magnitude smaller. On the other hand on CPLD (or FPGA) complexity doesn't cost more as this stuff is ultra extra small considering the size of a today's CPLD (eg. maxII w/ 1570 macrocells). No matter what you do a medium CPLD will be only used 10 to 20% not more. What I use on the reflock II is a time lag counter from the 1pps to next clock, and this value drive a dac. Only a small integration time is done digitally and the large integration time if one requires that is done with a classical R and C without any active components right before the Vtune of the VCXO. Therefore not a big DAC resolution is required (I use 12-14bit) since the averaging is on the outside in an analog filter in which simple 64 seconds integration time will grant you 6 bit more resolution. It may look a strange combination of a modern devices and a old fashioned filter but it had by far outperformed all the designs I could test w/ microporcessors + dac (in which some noise did get through), or lack stability. Luis Cupido ct1dmk. http://w3ref.cfn.ist.utl.pt/cupido/ Bruce Griffiths wrote: > Scott > > Scott Burris wrote: >> OK, so for the DAC piece, why not just use an NXP LPC ARM chip for the >> microcontroller, and use a 32bit PCM output followed by a low pass filter as >> the VXCO EFC? The DAC just needs high resolution, not accuracy, right? >> > True, but a Sigma delta DAC has far superior performance to a PWM DAC or > a standard DAC especially when the long term stability is not critical > and a faast response isnt required. > NIST use sigma delta DACs in their precision AC waveform generator and > to calibrate their Johnson noise thermometer systems. >> Or would the switching noise from the processor modulate the control >> voltage? >> > Its best to have the processor drive an external current steering switch > (74HC4053) to switch a stable current into the summing junction of an > inverting opamp. > If you want I can send you a suitable circuit schematic. > With a suitable circuit one can just use a voltage reference and a > resistor to set the current, a spare analog switch can be used in > series with the feedback resistor to provide temperature compensation > (important for good short and medium term stability). HP/Agilent in > effect use a similar temperature compensated current steering technique > in their 34401A 6.5 digit DVM. > Ulrich has uses similar techniques albeit with the sigma delta DAC logic > implemented in a gate array to achieve high resolution and good short > term stability. > In this application the DAC need not respond as fast so it can be > implemented in software. >> I would hope the filter would clean any such noise, but I'll be the first to >> admit >> that the farther we get into the analog domain, the more I'm out of my >> comfort zone. >> >> I'm still trying to wrap my brain around the phase detection piece of this. >> I've studied the Shera controller with it's 24Mhz oscillator and divided >> down >> sample of the VXCO and I'm can't get past thinking that this ends up >> adding jitter. With more modern parts can't the phase be measured more >> directly? What about sampling both the VXCO and 1PPS at a 200MHZ rate? >> That should determine the phase difference within no more than a 10ns >> inaccuracy. >> >> > Eliminate such unnecessary cost and complexity with a single D flipflop > phase detector (D connected to 10MHz signal or a divided down > subharmonic thereof, CLK connected to PPS) the circuit will > automatically adapt to achieve a resolution determined by the PPS jitter > (picoseconds if you have a good enough PPS source, a few nanosec with a > sawtooth corrected PPS signal from an M12M timing receiver, a few tens > of nanosec with an uncorrected PPS signal from an M12M timing receiver). > Thus its resolution is far better than when using a 24MHz clock and its > also cheaper and the hardware is less complex. Using a 200MHz clock just > increases the cost and power consumption without significant benefit > over the simpler D flipflop phase detector. > However you will need to write suitable software to process the D > flipflop output samples. >> Or use a pulse stretching technique to amplify the short time intervals into >> something >> more easily measured, although that's beyond what I'm familiar with. >> >> > Again easily done but more complex than required. >> I've read the PTTI presentation about using a DS1020 delay line to >> de-sawtooth the >> 1PPS signal -- that's a pretty interesting idea. At least the chip is >> available in Qty 1, >> at $30! >> >> > That is a very good idea for getting the maximum performance with a D > flipflop phase detector and an M12M or similar GPS timing receiver. > You can do far better when using GPS carrier phase disciplining > techniques and the GPS receiver has all the necessary high resolution > phase measurement circuitry built in. > However considerable software development is required together with a > GPS receiver that makes the GPS carrier phase measurement data available. >> It just seems that the designs I've seen could use a refresh with some more >> modern >> circuitry. At the very least the Shera controller could have much of its >> logic put into >> a single CPLD these days. >> >> Scott >> _______________________________________________ >> > The Shera controller is a dead end, it doesnt have sufficient resolution > and whilst increasing its resolution is possible there are simpler, > better and cheaper ways to achieve this. > > Bruce > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. >
MT
michael taylor
Wed, Dec 12, 2007 1:16 AM

On Dec 11, 2007 3:53 PM, Bruce Griffiths bruce.griffiths@xtra.co.nz wrote:

If you want simplicity and higher performance you can do far better with
fewer parts,
An expensive high resolution DAC can be replaced with a software
sigma-delta DAC that has higher resolution.
The complex phase detector can be replaced with a D flipflop.
Add a microprocessor plus an opamp or 2 to filter and scale the EFC
voltage and thats about all thats required in addition to a good GPS
timing receiver.
For improved performance a hardware circuit to correct the PPS sawtooth
error will improve the medium term stability significantly when using a
high performance GPS timing receiver that provides an estimate of this
error.

You have made similar comments about I believe the same approach in
the past. I was wondering if you have ever sketched out a schematic,
even if only rough. Perhaps with a few suggested components to try
(i.e. DAC, Op-Amp) that would be a good starting point for anyone who
wanted to prototype and evaluate the performance of this approach.

It is beyond my elementary design abilities to convert your
description into a well implemented design on my own, but I would be
interested in try to at least see if I could construct an unit using
these suggested techniques.

-Michael

On Dec 11, 2007 3:53 PM, Bruce Griffiths <bruce.griffiths@xtra.co.nz> wrote: > > If you want simplicity and higher performance you can do far better with > fewer parts, > An expensive high resolution DAC can be replaced with a software > sigma-delta DAC that has higher resolution. > The complex phase detector can be replaced with a D flipflop. > Add a microprocessor plus an opamp or 2 to filter and scale the EFC > voltage and thats about all thats required in addition to a good GPS > timing receiver. > For improved performance a hardware circuit to correct the PPS sawtooth > error will improve the medium term stability significantly when using a > high performance GPS timing receiver that provides an estimate of this > error. You have made similar comments about I believe the same approach in the past. I was wondering if you have ever sketched out a schematic, even if only rough. Perhaps with a few suggested components to try (i.e. DAC, Op-Amp) that would be a good starting point for anyone who wanted to prototype and evaluate the performance of this approach. It is beyond my elementary design abilities to convert your description into a well implemented design on my own, but I would be interested in try to at least see if I could construct an unit using these suggested techniques. -Michael
BG
Bruce Griffiths
Wed, Dec 12, 2007 1:40 AM

michael taylor wrote:

On Dec 11, 2007 3:53 PM, Bruce Griffiths bruce.griffiths@xtra.co.nz wrote:

If you want simplicity and higher performance you can do far better with
fewer parts,
An expensive high resolution DAC can be replaced with a software
sigma-delta DAC that has higher resolution.
The complex phase detector can be replaced with a D flipflop.
Add a microprocessor plus an opamp or 2 to filter and scale the EFC
voltage and thats about all thats required in addition to a good GPS
timing receiver.
For improved performance a hardware circuit to correct the PPS sawtooth
error will improve the medium term stability significantly when using a
high performance GPS timing receiver that provides an estimate of this
error.

You have made similar comments about I believe the same approach in
the past. I was wondering if you have ever sketched out a schematic,
even if only rough. Perhaps with a few suggested components to try
(i.e. DAC, Op-Amp) that would be a good starting point for anyone who
wanted to prototype and evaluate the performance of this approach.

It is beyond my elementary design abilities to convert your
description into a well implemented design on my own, but I would be
interested in try to at least see if I could construct an unit using
these suggested techniques.

-Michael

Michael

Will provide a suitable circuit schematic for the DAC portion by around
1300 UTC.
The circuit will be suitable for either a PWM or a sigma-delta DAC.
The design will also include the ability to set (by selecting the values
of a couple of resistors) the EFC range to suit most OCXOs.

A sigma-delta DAC has the advantage that its easier to filter its output
than that of an equivalent resolution PWM DAC.

Combining a pair of lower resolution DACs with a few resistors will
produce a higher resolution output, however there will be problems with
monotonicity (when the coarse DAC output changes) unless the system is
periodically calibrated to  accommodate drifts due to temperature and
time. This can of course be done in software (no need for external
trimmers) however the calibration circuitry adds considerable complexity.

When testing the sigma delta DAC concept in software start with a simple
first order sigma delta modulator and then try a second order modulator
(dont go to higher order than a 2nd order modulator as they arent
necessary for this application and stabilisation of high order
modulators adds considerable complexity and can be difficult to achieve).

A suitable D flipflop phase detector design will follow shortly thereafter.

Do you also want a circuit for a sawtooth corrector using one of the
Maxim/Dallas programmable delay lines?

You will need to write the software for the sawtooth corrector and for
the D flip flop phase detector.
However I can provide descriptions of what the software needs to do,
along with suggestions for suitable algorithms.

Bruce

michael taylor wrote: > On Dec 11, 2007 3:53 PM, Bruce Griffiths <bruce.griffiths@xtra.co.nz> wrote: > >> If you want simplicity and higher performance you can do far better with >> fewer parts, >> An expensive high resolution DAC can be replaced with a software >> sigma-delta DAC that has higher resolution. >> The complex phase detector can be replaced with a D flipflop. >> Add a microprocessor plus an opamp or 2 to filter and scale the EFC >> voltage and thats about all thats required in addition to a good GPS >> timing receiver. >> For improved performance a hardware circuit to correct the PPS sawtooth >> error will improve the medium term stability significantly when using a >> high performance GPS timing receiver that provides an estimate of this >> error. >> > > You have made similar comments about I believe the same approach in > the past. I was wondering if you have ever sketched out a schematic, > even if only rough. Perhaps with a few suggested components to try > (i.e. DAC, Op-Amp) that would be a good starting point for anyone who > wanted to prototype and evaluate the performance of this approach. > > It is beyond my elementary design abilities to convert your > description into a well implemented design on my own, but I would be > interested in try to at least see if I could construct an unit using > these suggested techniques. > > -Michael > > Michael Will provide a suitable circuit schematic for the DAC portion by around 1300 UTC. The circuit will be suitable for either a PWM or a sigma-delta DAC. The design will also include the ability to set (by selecting the values of a couple of resistors) the EFC range to suit most OCXOs. A sigma-delta DAC has the advantage that its easier to filter its output than that of an equivalent resolution PWM DAC. Combining a pair of lower resolution DACs with a few resistors will produce a higher resolution output, however there will be problems with monotonicity (when the coarse DAC output changes) unless the system is periodically calibrated to accommodate drifts due to temperature and time. This can of course be done in software (no need for external trimmers) however the calibration circuitry adds considerable complexity. When testing the sigma delta DAC concept in software start with a simple first order sigma delta modulator and then try a second order modulator (dont go to higher order than a 2nd order modulator as they arent necessary for this application and stabilisation of high order modulators adds considerable complexity and can be difficult to achieve). A suitable D flipflop phase detector design will follow shortly thereafter. Do you also want a circuit for a sawtooth corrector using one of the Maxim/Dallas programmable delay lines? You will need to write the software for the sawtooth corrector and for the D flip flop phase detector. However I can provide descriptions of what the software needs to do, along with suggestions for suitable algorithms. Bruce
BG
Bruce Griffiths
Wed, Dec 12, 2007 1:53 AM

Luis

Luis Cupido wrote:

Hi Bruce and Scott.

What about sampling both the VXCO and 1PPS at a 200MHZ rate?
That should determine the phase difference within no more than a 10ns
inaccuracy.

Simplicity is good but when using a CPLD or an FPGA no need to get
simple if a better design still fits inside the chip ;-)

Indeed those style of phase measuring schemes have far better
performance than the simple flip flop or similar.

Not true, the effective measurement noise is only a few percent less
than that of a single bit phase detector (D flipflop) better with an
infinite resolution phase detector so why bother.
Single bit and 3 level ADCs are widely used in radio astronomy as except
when interference is a problem, multibit ADCs offer no significant
advantage.

I say this because I had all the logic on a CPLD to play with
so I tried a large number of phase locking schemes and
could compare them.

By all means try them, but why add the power consumption and complexity
of a CPLD if it offers little improvement in performance?

First of all the lock capture range can become a bit
independent of the integration time with a proportional phase lag
counting method. Some counting methods will inherently search for lock
when lock is lost. Some of those methods also have lock acquisition
times orders of magnitude smaller.

On the other hand on CPLD (or FPGA) complexity doesn't cost more as
this stuff is ultra extra small considering the size of
a today's CPLD (eg. maxII w/ 1570 macrocells). No matter what you do
a medium CPLD will be only used 10 to 20% not more.

If you are going to use a CPLD you should also implement the processor
in the gate array as this reduces the PCB wiring complexity considerably.

What I use on the reflock II is a time lag counter from the 1pps to
next clock, and this value drive a dac. Only a small integration time
is done digitally and the large integration time if one requires that
is done with a classical R and C without any active components right
before the Vtune of the VCXO. Therefore not a big DAC resolution is
required (I use 12-14bit) since the averaging is on the outside in an
analog filter in which simple 64 seconds integration time will grant
you 6 bit more resolution.

Trying to do all the filtering with an analog filter restricts the range
of loop response times to relatively small values degrading the
performance of the better OCXOs considerably.
Achieving time constants of 100 sec or more is somewhat
expensive/impractical using resistors and capacitors.
Some analog filtering is required but most of the long term filtering
should be done by the processor.

It may look a strange combination of a modern devices and a old
fashioned filter but it had by far outperformed all the designs I could
test w/ microporcessors + dac (in which some noise did get through),
or lack stability.

Layout and isolation of the DAC from processor created noise are critical.

Bruce

Luis Luis Cupido wrote: > Hi Bruce and Scott. > > >> What about sampling both the VXCO and 1PPS at a 200MHZ rate? > >> That should determine the phase difference within no more than a 10ns > >> inaccuracy. > >> > > Simplicity is good but when using a CPLD or an FPGA no need to get > simple if a better design still fits inside the chip ;-) > > Indeed those style of phase measuring schemes have far better > performance than the simple flip flop or similar. > > Not true, the effective measurement noise is only a few percent less than that of a single bit phase detector (D flipflop) better with an infinite resolution phase detector so why bother. Single bit and 3 level ADCs are widely used in radio astronomy as except when interference is a problem, multibit ADCs offer no significant advantage. > I say this because I had all the logic on a CPLD to play with > so I tried a large number of phase locking schemes and > could compare them. > > By all means try them, but why add the power consumption and complexity of a CPLD if it offers little improvement in performance? > First of all the lock capture range can become a bit > independent of the integration time with a proportional phase lag > counting method. Some counting methods will inherently search for lock > when lock is lost. Some of those methods also have lock acquisition > times orders of magnitude smaller. > > On the other hand on CPLD (or FPGA) complexity doesn't cost more as > this stuff is ultra extra small considering the size of > a today's CPLD (eg. maxII w/ 1570 macrocells). No matter what you do > a medium CPLD will be only used 10 to 20% not more. > If you are going to use a CPLD you should also implement the processor in the gate array as this reduces the PCB wiring complexity considerably. > What I use on the reflock II is a time lag counter from the 1pps to > next clock, and this value drive a dac. Only a small integration time > is done digitally and the large integration time if one requires that > is done with a classical R and C without any active components right > before the Vtune of the VCXO. Therefore not a big DAC resolution is > required (I use 12-14bit) since the averaging is on the outside in an > analog filter in which simple 64 seconds integration time will grant > you 6 bit more resolution. > Trying to do all the filtering with an analog filter restricts the range of loop response times to relatively small values degrading the performance of the better OCXOs considerably. Achieving time constants of 100 sec or more is somewhat expensive/impractical using resistors and capacitors. Some analog filtering is required but most of the long term filtering should be done by the processor. > It may look a strange combination of a modern devices and a old > fashioned filter but it had by far outperformed all the designs I could > test w/ microporcessors + dac (in which some noise did get through), > or lack stability. > > Layout and isolation of the DAC from processor created noise are critical. > Luis Cupido > ct1dmk. > http://w3ref.cfn.ist.utl.pt/cupido/ > Bruce
BG
Bruce Griffiths
Wed, Dec 12, 2007 7:32 AM

michael taylor wrote:

You have made similar comments about I believe the same approach in
the past. I was wondering if you have ever sketched out a schematic,
even if only rough. Perhaps with a few suggested components to try
(i.e. DAC, Op-Amp) that would be a good starting point for anyone who
wanted to prototype and evaluate the performance of this approach.

It is beyond my elementary design abilities to convert your
description into a well implemented design on my own, but I would be
interested in try to at least see if I could construct an unit using
these suggested techniques.

-Michael

Michael

The analog circuitry for a sigma-delta DAC is attached.
The input is optically isolated using a high speed low jitter CMOS
optocoupler (Avago produce an equivalent device) to break low frequency
ground loops.
Similarly an RF transformer should be used to couple the OCXO output to
the Digital board breaking another potential low frequency ground loop.
The task of the microprocessor firmware is to generate the delta sigma 1
bit input data for the optocoupler.

Alternatively one of Analog devices chip scale transformer isolators
could be used.

Bruce

michael taylor wrote: > You have made similar comments about I believe the same approach in > the past. I was wondering if you have ever sketched out a schematic, > even if only rough. Perhaps with a few suggested components to try > (i.e. DAC, Op-Amp) that would be a good starting point for anyone who > wanted to prototype and evaluate the performance of this approach. > > It is beyond my elementary design abilities to convert your > description into a well implemented design on my own, but I would be > interested in try to at least see if I could construct an unit using > these suggested techniques. > > -Michael > Michael The analog circuitry for a sigma-delta DAC is attached. The input is optically isolated using a high speed low jitter CMOS optocoupler (Avago produce an equivalent device) to break low frequency ground loops. Similarly an RF transformer should be used to couple the OCXO output to the Digital board breaking another potential low frequency ground loop. The task of the microprocessor firmware is to generate the delta sigma 1 bit input data for the optocoupler. Alternatively one of Analog devices chip scale transformer isolators could be used. Bruce
BG
Bruce Griffiths
Wed, Dec 12, 2007 8:14 AM

Bruce Griffiths wrote:

michael taylor wrote:

You have made similar comments about I believe the same approach in
the past. I was wondering if you have ever sketched out a schematic,
even if only rough. Perhaps with a few suggested components to try
(i.e. DAC, Op-Amp) that would be a good starting point for anyone who
wanted to prototype and evaluate the performance of this approach.

It is beyond my elementary design abilities to convert your
description into a well implemented design on my own, but I would be
interested in try to at least see if I could construct an unit using
these suggested techniques.

-Michael

Michael

Attached is the circuit for a 1 bit phase detector.
HCMOS should be perfectly adequate given that the flipflop is allowed
several hundred millisec to settle before being read by the microprocessor.
An RF transformer isolated clock shaper should be used to shape the OCXO
output and avoid low frequency ground loops.
You probably want at least a 2 output distribution amplifier (unless
your OCXO has multiple isolated outputs eg FTS1200 OSA8607, some of the
Wenzel OCXOs, etc.) to allow the OCXO output to be used for other
applications as well.

The position of the divider output transition is adjusted by the control
algorithm with respect to the leading edge of the PPS signal so that the
D flipflop Q has a 50% chance of being 1 when read by the
microprocessor. The effective resolution is determined by the jitter of
the leading edge of the PPS pulse.

Bruce

Bruce Griffiths wrote: > michael taylor wrote: > >> You have made similar comments about I believe the same approach in >> the past. I was wondering if you have ever sketched out a schematic, >> even if only rough. Perhaps with a few suggested components to try >> (i.e. DAC, Op-Amp) that would be a good starting point for anyone who >> wanted to prototype and evaluate the performance of this approach. >> >> It is beyond my elementary design abilities to convert your >> description into a well implemented design on my own, but I would be >> interested in try to at least see if I could construct an unit using >> these suggested techniques. >> >> -Michael >> >> >> Michael Attached is the circuit for a 1 bit phase detector. HCMOS should be perfectly adequate given that the flipflop is allowed several hundred millisec to settle before being read by the microprocessor. An RF transformer isolated clock shaper should be used to shape the OCXO output and avoid low frequency ground loops. You probably want at least a 2 output distribution amplifier (unless your OCXO has multiple isolated outputs eg FTS1200 OSA8607, some of the Wenzel OCXOs, etc.) to allow the OCXO output to be used for other applications as well. The position of the divider output transition is adjusted by the control algorithm with respect to the leading edge of the PPS signal so that the D flipflop Q has a 50% chance of being 1 when read by the microprocessor. The effective resolution is determined by the jitter of the leading edge of the PPS pulse. Bruce
LC
Luis Cupido
Wed, Dec 12, 2007 10:37 AM

Hi Bruce,

Fine, you don't like the words "far better performance"... okay ;-)
you do recognize the small advantage in noise but
gave no relevance to the other aspects namely the
lock acquisition, the fact that I can monitor the jitter over time
etc. (all of them were contained in my word "performance"
not just the noise).

you wrote,

By all means try them,

Humm?! I did tried them, that's exactly what I said !!!
Note that I do have the hardware on a CPLD so schemes
can be done on type-compile-and-test basis without
soldering wires hi ;-)

but why add the power consumption and complexity
of a CPLD if it offers little improvement in performance?

Geeee, using a CPLD does not add complexity, it is just one chip
and it offers the commodity of being easily configured etc.
Also the power consumption is surely not an issue, if you
are not happy with the 50 to 100mA you may draw from 3.3v
just use a low power CPLD (like tha maxIIZ) and get
only 10 to 20mA.

On the comments about the filter and bandwidth I do agree
with you it would be good to have most of it digital
(doesn't need to be necessarily on a CPU... inside the CPLD
is the same) I do have versions with integration also
in digital and I'm still in the process of improving it.
I believe I may get rid off of some of the inconvenient
analog filtering, in the next VHDL iterations hi ;-)

One thing is puzzling me, if you suggest using a
single D flip-flop and want it simple as you say
I presume you have also to filter in analog ?!
So you end up with a slightly worst phase comparator
and the less convenient analog filter :-(

Or do you need to add a microcontroller and a DAC ?
If that is the case, there goes off your complexity issue
much higher than a simple CPLD.

Luis Cupido.
ct1dmk

Hi Bruce, Fine, you don't like the words "far better performance"... okay ;-) you do recognize the small advantage in noise but gave no relevance to the other aspects namely the lock acquisition, the fact that I can monitor the jitter over time etc. (all of them were contained in my word "performance" not just the noise). you wrote, > By all means try them, Humm?! I did tried them, that's exactly what I said !!! Note that I do have the hardware on a CPLD so schemes can be done on type-compile-and-test basis without soldering wires hi ;-) > but why add the power consumption and complexity > of a CPLD if it offers little improvement in performance? Geeee, using a CPLD does not add complexity, it is just one chip and it offers the commodity of being easily configured etc. Also the power consumption is surely not an issue, if you are not happy with the 50 to 100mA you may draw from 3.3v just use a low power CPLD (like tha maxIIZ) and get only 10 to 20mA. On the comments about the filter and bandwidth I do agree with you it would be good to have most of it digital (doesn't need to be necessarily on a CPU... inside the CPLD is the same) I do have versions with integration also in digital and I'm still in the process of improving it. I believe I may get rid off of some of the inconvenient analog filtering, in the next VHDL iterations hi ;-) One thing is puzzling me, if you suggest using a single D flip-flop and want it simple as you say I presume you have also to filter in analog ?! So you end up with a slightly worst phase comparator and the less convenient analog filter :-( Or do you need to add a microcontroller and a DAC ? If that is the case, there goes off your complexity issue much higher than a simple CPLD. Luis Cupido. ct1dmk
BG
Bruce Griffiths
Wed, Dec 12, 2007 11:07 AM

Luis Cupido wrote:

Hi Bruce,

Fine, you don't like the words "far better performance"... okay ;-)
you do recognize the small advantage in noise but
gave no relevance to the other aspects namely the
lock acquisition, the fact that I can monitor the jitter over time
etc. (all of them were contained in my word "performance"
not just the noise).

Its not too difficult to add a couple of extra flipflops plus associated
delays to allow reasonably accurate estimation of noise if thats useful.

you wrote,

By all means try them,

Humm?! I did tried them, that's exactly what I said !!!
Note that I do have the hardware on a CPLD so schemes
can be done on type-compile-and-test basis without
soldering wires hi ;-)

A theoretical understanding the performance tradeoffs can save a lot of
time and effort.

but why add the power consumption and complexity
of a CPLD if it offers little improvement in performance?

Geeee, using a CPLD does not add complexity, it is just one chip
and it offers the commodity of being easily configured etc.
Also the power consumption is surely not an issue, if you
are not happy with the 50 to 100mA you may draw from 3.3v
just use a low power CPLD (like tha maxIIZ) and get
only 10 to 20mA.

You have to keep in mind that not everyone on this list can or wants to
program a CPLD.

On the comments about the filter and bandwidth I do agree
with you it would be good to have most of it digital
(doesn't need to be necessarily on a CPU... inside the CPLD
is the same) I do have versions with integration also
in digital and I'm still in the process of improving it.
I believe I may get rid off of some of the inconvenient
analog filtering, in the next VHDL iterations hi ;-)

One thing is puzzling me, if you suggest using a
single D flip-flop and want it simple as you say
I presume you have also to filter in analog ?!

Where did you get that from??
No analog filtering of the D flipflop output is required.

So you end up with a slightly worst phase comparator
and the less convenient analog filter :-(

Try reading up on how the radio astronomers digitise their noise like
signals.
You should also look at why a 1-2 bit ADC suffices for most GPS timing
receivers.

Or do you need to add a microcontroller and a DAC ?
If that is the case, there goes off your complexity issue
much higher than a simple CPLD.

I've used plenty of CPLDs but see no reason to use one when it isnt
necessary.
If you want really high phase measurement resolution then the high noise
internal environment of a CPLD can add plenty of jitter and unwanted
crosstalk.
You are unlikely to ever achieve a jitter of 10picosec or less with a
standard CPLD whereas this is readily achieved using a single flipflop
or a wideband ADC used as a phase detector.

Luis Cupido.
ct1dmk

Bruce

Luis Cupido wrote: > Hi Bruce, > > > Fine, you don't like the words "far better performance"... okay ;-) > you do recognize the small advantage in noise but > gave no relevance to the other aspects namely the > lock acquisition, the fact that I can monitor the jitter over time > etc. (all of them were contained in my word "performance" > not just the noise). > Its not too difficult to add a couple of extra flipflops plus associated delays to allow reasonably accurate estimation of noise if thats useful. > you wrote, > > By all means try them, > > Humm?! I did tried them, that's exactly what I said !!! > Note that I do have the hardware on a CPLD so schemes > can be done on type-compile-and-test basis without > soldering wires hi ;-) > > A theoretical understanding the performance tradeoffs can save a lot of time and effort. > > but why add the power consumption and complexity > > of a CPLD if it offers little improvement in performance? > > Geeee, using a CPLD does not add complexity, it is just one chip > and it offers the commodity of being easily configured etc. > Also the power consumption is surely not an issue, if you > are not happy with the 50 to 100mA you may draw from 3.3v > just use a low power CPLD (like tha maxIIZ) and get > only 10 to 20mA. > > You have to keep in mind that not everyone on this list can or wants to program a CPLD. > On the comments about the filter and bandwidth I do agree > with you it would be good to have most of it digital > (doesn't need to be necessarily on a CPU... inside the CPLD > is the same) I do have versions with integration also > in digital and I'm still in the process of improving it. > I believe I may get rid off of some of the inconvenient > analog filtering, in the next VHDL iterations hi ;-) > > > One thing is puzzling me, if you suggest using a > single D flip-flop and want it simple as you say > I presume you have also to filter in analog ?! > Where did you get that from?? No analog filtering of the D flipflop output is required. > So you end up with a slightly worst phase comparator > and the less convenient analog filter :-( > Try reading up on how the radio astronomers digitise their noise like signals. You should also look at why a 1-2 bit ADC suffices for most GPS timing receivers. > Or do you need to add a microcontroller and a DAC ? > If that is the case, there goes off your complexity issue > much higher than a simple CPLD. > > I've used plenty of CPLDs but see no reason to use one when it isnt necessary. If you want really high phase measurement resolution then the high noise internal environment of a CPLD can add plenty of jitter and unwanted crosstalk. You are unlikely to ever achieve a jitter of 10picosec or less with a standard CPLD whereas this is readily achieved using a single flipflop or a wideband ADC used as a phase detector. > Luis Cupido. > ct1dmk > > Bruce
LC
Luis Cupido
Wed, Dec 12, 2007 12:33 PM

Bruce,

I've used plenty of CPLDs but see no reason to use one when it isnt
necessary.

The sentence in my perspective sounds a bit like this:
I've used plenty of TTL and CMOS but see no reason to use them
when I could fit them all on a CPLD.

I do understand that some may not want to get into this kind of
devices, however I see not much of a difference of
learning you way with microcontrollers, CPLDs or with any
digital IC's these days.

CPLDs in general do bring simplicity but do require learning
how to use them and for various reasons that may be undesirable
and be confused with a complexity issue while it is just a learning
issue.
Very good, I do respect the usage of a bunch of CMOS/TTL chips if
someone doesn't want to spend the
effort of learning how to use a CPLD. When it comes to use CPUs for
tasks better done by straight logic (and there are many examples
out there) then I think it is not the right option.
All understood so let's not discuss that any further.


No analog filtering of the D flipflop output is required.

Now you got me lost.

We were talking about a GPSDO, that is locking
an VCXO on the GPS time (1pps or else)
So by the end of it you need an analog
signal to control the voltage input of the VCXO. Right ?

Where you get that from ?
If not by filtering your flip-flop output
what else you have in between the 1pps and the VCXO ?
CPU's DAC's ????
if so how does your complexity arguments still apply ?

Luis Cupido

Bruce, > I've used plenty of CPLDs but see no reason to use one when it isnt > necessary. The sentence in my perspective sounds a bit like this: I've used plenty of TTL and CMOS but see no reason to use them when I could fit them all on a CPLD. I do understand that some may not want to get into this kind of devices, however I see not much of a difference of learning you way with microcontrollers, CPLDs or with any digital IC's these days. CPLDs in general do bring simplicity but do require learning how to use them and for various reasons that may be undesirable and be confused with a complexity issue while it is just a learning issue. Very good, I do respect the usage of a bunch of CMOS/TTL chips if someone doesn't want to spend the effort of learning how to use a CPLD. When it comes to use CPUs for tasks better done by straight logic (and there are many examples out there) then I think it is not the right option. All understood so let's not discuss that any further. --- > No analog filtering of the D flipflop output is required. Now you got me lost. We were talking about a GPSDO, that is locking an VCXO on the GPS time (1pps or else) So by the end of it you need an analog signal to control the voltage input of the VCXO. Right ? Where you get that from ? If not by filtering your flip-flop output what else you have in between the 1pps and the VCXO ? CPU's DAC's ???? if so how does your complexity arguments still apply ? Luis Cupido
MT
michael taylor
Wed, Dec 12, 2007 3:04 PM

On Dec 12, 2007 7:33 AM, Luis Cupido cupido@mail.ua.pt wrote:

Very good, I do respect the usage of a bunch of CMOS/TTL chips if
someone doesn't want to spend the
effort of learning how to use a CPLD. When it comes to use CPUs for
tasks better done by straight logic (and there are many examples
out there) then I think it is not the right option.
All understood so let's not discuss that any further.

Bruce also alludes to the higher jitters of CPLD versus Advanced/High
Speed CMOS logic gates (AC or HC families).

This has to do with the programmable nature of CPLD / FPGA ICs as I
understand it.
Ref: http://www.febo.com/pipermail/time-nuts/2007-April/025299.html

-Michael

On Dec 12, 2007 7:33 AM, Luis Cupido <cupido@mail.ua.pt> wrote: > Very good, I do respect the usage of a bunch of CMOS/TTL chips if > someone doesn't want to spend the > effort of learning how to use a CPLD. When it comes to use CPUs for > tasks better done by straight logic (and there are many examples > out there) then I think it is not the right option. > All understood so let's not discuss that any further. Bruce also alludes to the higher jitters of CPLD versus Advanced/High Speed CMOS logic gates (AC or HC families). This has to do with the programmable nature of CPLD / FPGA ICs as I understand it. Ref: <http://www.febo.com/pipermail/time-nuts/2007-April/025299.html> -Michael
SB
Scott Burris
Wed, Dec 12, 2007 3:50 PM

Bruce Griffiths wrote:

Do you also want a circuit for a sawtooth corrector using one of the
Maxim/Dallas programmable delay lines?

Yes!  I now feel inspired to go spin a design after studying all of
these messages in this
thread.  My only constraint is that the parts have to pass the "Digikey"
test, i.e. I have to
be able to order small quantities from Digikey, Mouser, or the like.
It's nearly impossible
for a hobbyist like me to get small quantities of more exotic parts.
The big distributors have
gotten better in the last decade about taking small orders, but still
often have minimum qty/piece
requirements that they won't waive.  Even worse are orderable, but
unobtainable parts -- Maxim
seems to have a huge library of such "virtual" chips that have lead
times of 1/2 year or more.

Scott

Bruce Griffiths wrote: > > Do you also want a circuit for a sawtooth corrector using one of the > Maxim/Dallas programmable delay lines? > > Yes! I now feel inspired to go spin a design after studying all of these messages in this thread. My only constraint is that the parts have to pass the "Digikey" test, i.e. I have to be able to order small quantities from Digikey, Mouser, or the like. It's nearly impossible for a hobbyist like me to get small quantities of more exotic parts. The big distributors have gotten better in the last decade about taking small orders, but still often have minimum qty/piece requirements that they won't waive. Even worse are orderable, but unobtainable parts -- Maxim seems to have a huge library of such "virtual" chips that have lead times of 1/2 year or more. Scott
AD
Alberto di Bene
Wed, Dec 12, 2007 5:15 PM
http://www.wired.com/science/discoveries/news/2007/12/time_hackers 73 Alberto I2PHD
BG
Bruce Griffiths
Wed, Dec 12, 2007 8:19 PM

Luis Cupido wrote:

Bruce,

No analog filtering of the D flipflop output is required.

Now you got me lost.

We were talking about a GPSDO, that is locking
an VCXO on the GPS time (1pps or else)
So by the end of it you need an analog
signal to control the voltage input of the VCXO. Right ?

Where you get that from ?
If not by filtering your flip-flop output
what else you have in between the 1pps and the VCXO ?
CPU's DAC's ????

Some software, including a sigma delta DAC, the effect of which is no
different, in principle, than the filtering etc required by any of your
phase detector implementations.
The 1 bit phase error samples are processed in software (or hardware
depending on one's inclinations, expertise, etc) in a similar way that
samples from an N (>1) phase detector samples are, to produce a digital
output for a DAC which drives the OCXO EFC input. The only difference is
that a sigma delta DAC is used instead of a conventional DAC.

if so how does your complexity arguments still apply ?

The interpretation of "complexity " depends on ones background and
experience.
The originator of the thread indicated that they had some microprocessor
software experience.

Luis Cupido

I was trying to tailor the design to the stated strengths of the
originator of the thread.

If one is trying to "squeeze" the ultimate in performance when using a
GPS receiver to discipline an OCXO, then carrier phase measurements
potentially offer much higher performance than can be achieved by using
the PPS output of a typical GPS timing receiver.
However only a few commercially available GPS receivers are suitable for
this application.
The GPS receiver oscillators all have to be phase locked to the OCXO
being disciplined.
This approach has been used in at least one commercially available GPSDOCXO.
In principle a GPS receiver has all the required measurement hardware,
so all that is required are suitable algorithms implemented in either
software running on a DSP, microprocessor, etc, or implemented in
hardware (CPLD etc).

Bruce

Luis Cupido wrote: > Bruce, > > > No analog filtering of the D flipflop output is required. > > Now you got me lost. > > We were talking about a GPSDO, that is locking > an VCXO on the GPS time (1pps or else) > So by the end of it you need an analog > signal to control the voltage input of the VCXO. Right ? > > Where you get that from ? > If not by filtering your flip-flop output > what else you have in between the 1pps and the VCXO ? > CPU's DAC's ???? > Some software, including a sigma delta DAC, the effect of which is no different, in principle, than the filtering etc required by any of your phase detector implementations. The 1 bit phase error samples are processed in software (or hardware depending on one's inclinations, expertise, etc) in a similar way that samples from an N (>1) phase detector samples are, to produce a digital output for a DAC which drives the OCXO EFC input. The only difference is that a sigma delta DAC is used instead of a conventional DAC. > if so how does your complexity arguments still apply ? > > > The interpretation of "complexity " depends on ones background and experience. The originator of the thread indicated that they had some microprocessor software experience. > Luis Cupido > I was trying to tailor the design to the stated strengths of the originator of the thread. If one is trying to "squeeze" the ultimate in performance when using a GPS receiver to discipline an OCXO, then carrier phase measurements potentially offer much higher performance than can be achieved by using the PPS output of a typical GPS timing receiver. However only a few commercially available GPS receivers are suitable for this application. The GPS receiver oscillators all have to be phase locked to the OCXO being disciplined. This approach has been used in at least one commercially available GPSDOCXO. In principle a GPS receiver has all the required measurement hardware, so all that is required are suitable algorithms implemented in either software running on a DSP, microprocessor, etc, or implemented in hardware (CPLD etc). Bruce
BG
Bruce Griffiths
Wed, Dec 12, 2007 8:50 PM

Scott Burris wrote:

Bruce Griffiths wrote:

Do you also want a circuit for a sawtooth corrector using one of the
Maxim/Dallas programmable delay lines?

Yes!  I now feel inspired to go spin a design after studying all of
these messages in this
thread.  My only constraint is that the parts have to pass the "Digikey"
test, i.e. I have to
be able to order small quantities from Digikey, Mouser, or the like.
It's nearly impossible
for a hobbyist like me to get small quantities of more exotic parts.
The big distributors have
gotten better in the last decade about taking small orders, but still
often have minimum qty/piece
requirements that they won't waive.  Even worse are orderable, but
unobtainable parts -- Maxim
seems to have a huge library of such "virtual" chips that have lead
times of 1/2 year or more.

Scott

Scott

I usually checkout the availability of parts in small quantity from such
sources, although which suppliers to check depends on your location.
Locally RS Components and Farnell are very good (they are also good
sources in Europe). I have a Digikey printed catalog with prices in my
local currency($NZ) (I have ordered a few things from them when I cant
easily get them locally). Linear Technologies on line ordering facility
works well for some of their more exotic parts and evaluation kits.

As far as I know Dallas/Maxim appears to be the only source of suitable
affordable programmable delay chips for this particular application.
In principle one could use a tapped chain of gates in a CPLD, however
continuous calibration of the delay is required (a delay locked loop
controlling the gate propagation delay by adjusting its power supply
voltage to compensate for the effect of temperature variations is one
technique). However unless the Dallas chips become hard to obtain its
probably best to leave this as a backup option.

What processor are you intending to use to decipher the sawtooth
correction messages from the GPS timing receiver?
You could use an inexpensive microprocessor dedicated to this simple task.
Another microprocessor can be used to discipline the OCXO.
Depending on your experience, this can be easier than using a single
microprocessor to do everything.

Bruce

Scott Burris wrote: > Bruce Griffiths wrote: > >> Do you also want a circuit for a sawtooth corrector using one of the >> Maxim/Dallas programmable delay lines? >> >> >> > Yes! I now feel inspired to go spin a design after studying all of > these messages in this > thread. My only constraint is that the parts have to pass the "Digikey" > test, i.e. I have to > be able to order small quantities from Digikey, Mouser, or the like. > It's nearly impossible > for a hobbyist like me to get small quantities of more exotic parts. > The big distributors have > gotten better in the last decade about taking small orders, but still > often have minimum qty/piece > requirements that they won't waive. Even worse are orderable, but > unobtainable parts -- Maxim > seems to have a huge library of such "virtual" chips that have lead > times of 1/2 year or more. > > Scott > Scott I usually checkout the availability of parts in small quantity from such sources, although which suppliers to check depends on your location. Locally RS Components and Farnell are very good (they are also good sources in Europe). I have a Digikey printed catalog with prices in my local currency($NZ) (I have ordered a few things from them when I cant easily get them locally). Linear Technologies on line ordering facility works well for some of their more exotic parts and evaluation kits. As far as I know Dallas/Maxim appears to be the only source of suitable affordable programmable delay chips for this particular application. In principle one could use a tapped chain of gates in a CPLD, however continuous calibration of the delay is required (a delay locked loop controlling the gate propagation delay by adjusting its power supply voltage to compensate for the effect of temperature variations is one technique). However unless the Dallas chips become hard to obtain its probably best to leave this as a backup option. What processor are you intending to use to decipher the sawtooth correction messages from the GPS timing receiver? You could use an inexpensive microprocessor dedicated to this simple task. Another microprocessor can be used to discipline the OCXO. Depending on your experience, this can be easier than using a single microprocessor to do everything. Bruce