Maker Pro
Maker Pro

High Precision Monostable

J

John Larkin

Jan 1, 1970
0
The use of a single monostable means you have low slew rate and
the slightest (thermal) noise can shift the trigger time. The gurus
on
high precision timing tell me "we don't use monostables".


A precision current source, charging an npo capacitor, feeding a fast
comparator, can be stable to a few of 10's of PPM delay per degree C,
with jitter of one part in 50,000 or better. That could just about do
what he wants, if everything is done very carefully.
LC timing is somewhat better, and LC delay lines are a good choice
here.

LC delay lines tend to have bad tempcos, 100 ppm/degC or worse. And
risetime:delaytime ratios are usually really bad, 1:10 sometimes, so
expect a slow output edge, which may be hard to square up with
precision. Not adjustable, either.

The op hasn't mentioned rep-rate. If the trigger period is anywhere in
the ballpark of the delay, and especially if the trigger rate changes,
everything gets much worse... stuff can rattle around for a long time.

John
 
J

Jure Newsgroups

Jan 1, 1970
0
John Larkin said:
That's similar to the way the SRS DG535 delay generator works. The
trigger is run into a clocked dual-rank syncronizer, basically a 2-bit
shift register. It produces a pulse that's between 1 and 2 clocks
wide, which drives a holdable analog ramp. Then they tick off N clocks
and go into another analog ramp as the fine delay. The voltage from
the input ramp is added to the target voltage of the output ramp,
theoretically cancelling the input trigger-to-clock jitter. It
involves a lot of analog storage, but works fairly well for short
delays. Any errors in matching the ramp slopes become jitter. They run
at 80 MHz, I seem to recall.

The Signal Recovery delay generator uses the fiendishly clever
Pepper-patent interrupted ramp technique, much simpler.

John

good idea John,

http://www.google.com/patents?id=HlsfAAAAEBAJ&dq=4968907

Patent number: 4968907
Filing date: Nov 19, 1987
Issue date: Nov 6, 1990

Abstract
An improved digital delay generator (10) for producing an output
pulse/signal a preselected time interval after an input pulse/signal. The
digital delay generator (10) of the present invention includes a single
auxiliary timer (24) which starts responsive to feeding an input pulse
thereto....

thanks , Jure Z.
 
S

sycochkn

Jan 1, 1970
0
Tim Wescott said:
Square it up, run it through a delay line to an XOR gate? Delay lines
have fallen out of style, so you may have to roll your own (although
Digikey does have some that go up to 1us of delay -- at $8 a pop you'll
only spend $80 to slap 10us of delay on the board, and then wonder if the
part is good to 500ps).

If this were 1960 I could just recommend 6000' of coax...

I don't know if 74-anything is going to get you the precision you need --
I'd be studying data sheets and asking myself how many ways an otherwise
working chip could be confused by noise and other effects.

You're talking about 100ppm resolution here, at fairly high speeds. Don't
be surprised if you have to flog things a bit to get the results you want.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html

I guess it is 6000' feet of optical fiber then since it is 2008.

Bob
 
J

John Larkin

Jan 1, 1970
0
good idea John,

http://www.google.com/patents?id=HlsfAAAAEBAJ&dq=4968907

Patent number: 4968907
Filing date: Nov 19, 1987
Issue date: Nov 6, 1990

Abstract
An improved digital delay generator (10) for producing an output
pulse/signal a preselected time interval after an input pulse/signal. The
digital delay generator (10) of the present invention includes a single
auxiliary timer (24) which starts responsive to feeding an input pulse
thereto....

thanks , Jure Z.

The patent is a little obscure. The idea is to make a simple
constant-current-capacitor-comparator ramp type delay, with a dac
driving the other side of the comparator, to make a delay from, say, 0
to 50 ns. That's simple. The trick is that one can then stop the
current source for N clocks of a crystal oscillator, 50 MHz maybe,
wait out any number of ticks, then resume and finish the timing. The N
clocks of no-current extend the delay precisely (put a flat in the
ramp) but add no jitter.

The problems are mostly analog: charge injection, leakage, things like
that. But it's simple and has a lot of nice properties.

John
 
J

Jure Newsgroups

Jan 1, 1970
0
John Larkin said:
The patent is a little obscure. The idea is to make a simple
constant-current-capacitor-comparator ramp type delay, with a dac
driving the other side of the comparator, to make a delay from, say, 0
to 50 ns. That's simple. The trick is that one can then stop the
current source for N clocks of a crystal oscillator, 50 MHz maybe,
wait out any number of ticks, then resume and finish the timing. The N
clocks of no-current extend the delay precisely (put a flat in the
ramp) but add no jitter.

The problems are mostly analog: charge injection, leakage, things like
that. But it's simple and has a lot of nice properties.

John

John,
I admit to not being aware of the Pepper patent until you
mentioned it. What I suggested in my post was exactly an
interrupted ramp generator.

As you mnetion, the issues are related to : the integrator switching
states ( integrate/hold/reset ), integrator errors such as droop or
offsets in the hold mode, discriminator switching jitter, prop delays
through logic and drivers, etc.

To the extent that these errors are constant with time, temp,
operating
conditions, they imply a bias (offset) in the produced time
interval.

The potentially nasty situation is when the trigger signal comes
synchronously with the local oscillator active edge, and the system
may add ( or swallow) a whole clock period. That's why the
synchronizers are needed.


Thanks, Jure Z.

PS : where is the OP , while we talk about "his" problem ?
 
J

John Larkin

Jan 1, 1970
0
John,
I admit to not being aware of the Pepper patent until you
mentioned it. What I suggested in my post was exactly an
interrupted ramp generator.

As you mnetion, the issues are related to : the integrator switching
states ( integrate/hold/reset ), integrator errors such as droop or
offsets in the hold mode, discriminator switching jitter, prop delays
through logic and drivers, etc.

To the extent that these errors are constant with time, temp,
operating
conditions, they imply a bias (offset) in the produced time
interval.

Leakage into the "hold" cap is the big nasty. It's not a lot of pF,
but you may want to freeze it for a long time. The SRS box has the
same problem, essentially sample-and-hold leakage, which gets nasty
for longer delays. In our design the clock-to-trigger information is
stored digitally, so doesn't leak.

The potentially nasty situation is when the trigger signal comes
synchronously with the local oscillator active edge, and the system
may add ( or swallow) a whole clock period. That's why the
synchronizers are needed.

The Pepper scheme adds flats within the ramp, never at the start, so
clock-to-trigger alignment doesn't matter. Of course, you have to
avoid metastability with a double-rank synchronizer or something, to
decide when to insert the flats, but that's no big deal. If you make
the ramp many (say, 5 or so) clocks long, there's no rush to let
things settle and do the logic. Short delays are pure analog ramps, no
clocked pauses at all. Very clever.




<-------- net delay ----------->

+ < compare == done
/
/
/
/
____________________/
/ kill N clocks
/
/
/
/
/
________________________/ < trigger



Pepper was a better inventor than circuit designer. I have a
reverse-engineered schamatic of his original box, and it's a
nightmare. He floated most of the ECL logic 22 volts above ground, so
it could directly switch current sources. Imagine debugging that!

And the way he did output pulse widths was ghastly. A pot jams Vbe
directly into a transistor, which becomes the current source for
another ramp. Wide range log control on the pot!

EG&G reportedly cleaned it up a few years back, but I don't know how
extensive that was. EG&G was absorbed by Perkin-Elmer, who then spun
off Signal Recovery, who still makes the box.
Thanks, Jure Z.

PS : where is the OP , while we talk about "his" problem ?

OPs often disappear. But we can carry on!

John
 
W

whit3rd

Jan 1, 1970
0
... LC delay lines are a good choice

LC delay lines tend to have bad tempcos, 100 ppm/degC or worse. And
risetime:delaytime ratios are usually really bad, 1:10 sometimes, so
expect a slow output edge, which may be hard to square up with
precision. Not adjustable, either.

The op hasn't mentioned rep-rate. If the trigger period is anywhere in
the ballpark of the delay, and especially if the trigger rate changes,
everything gets much worse... stuff can rattle around for a long time.

All true, but not convincing. The tempco depends on matching
capacitor
with ferrite, and can be bad OR very good. The risetime effect is a
problem,
but
(a) 1:10 has been found, empirically, to often be 'good enough'
(b) 1:30 or better is available (or used to be)
(c) a true non-lumped-constant delay line is feasible which
is devoid of that issue anyway.

The rep-rate issue, though, is real. It takes some attention to
driving
and terminating impedances, and you'd still want to allow dead time
between pulses. Ten delays should be enough; that would put a
5 us pulse out, followed by a 'dead time' of 0.125 us, in the plan as
outlined. Often, that's acceptable. It's likely to take as long
to reset a timing capacitor.

Gated delay-line oscillators are commercially available with 20 MHz
output and circa .05%/C temperature drift. See

<http://www.datadelay.com/datasheets/3d7701.pdf>
 
J

John Larkin

Jan 1, 1970
0
All true, but not convincing. The tempco depends on matching
capacitor
with ferrite, and can be bad OR very good. The risetime effect is a
problem,
but
(a) 1:10 has been found, empirically, to often be 'good enough'
(b) 1:30 or better is available (or used to be)
(c) a true non-lumped-constant delay line is feasible which
is devoid of that issue anyway.

The rep-rate issue, though, is real. It takes some attention to
driving
and terminating impedances, and you'd still want to allow dead time
between pulses. Ten delays should be enough; that would put a
5 us pulse out, followed by a 'dead time' of 0.125 us, in the plan as
outlined. Often, that's acceptable. It's likely to take as long
to reset a timing capacitor.

Gated delay-line oscillators are commercially available with 20 MHz
output and circa .05%/C temperature drift. See

<http://www.datadelay.com/datasheets/3d7701.pdf>

Yikes! Did they use their "novel and innovative" techniques to make
the Vcc and temperature effects deliberately bad? It's not really
difficult to do a gated LC oscillator that beats their stability specs
by 10:1 or so. The LC will have less memory effects, too, totally
forgetting any previous triggers in 1 to 2 cycles, rather than the
"ten delays" this thing might need.

A capacitor-based ramp could be reset in a fraction of the ramp time.


John
 
F

Fred Bloggs

Jan 1, 1970
0
John said:
Yikes! Did they use their "novel and innovative" techniques to make
the Vcc and temperature effects deliberately bad? It's not really
difficult to do a gated LC oscillator that beats their stability specs
by 10:1 or so. The LC will have less memory effects, too, totally
forgetting any previous triggers in 1 to 2 cycles, rather than the
"ten delays" this thing might need.

A capacitor-based ramp could be reset in a fraction of the ramp time.


John

Outrageous!
 
W

whit3rd

Jan 1, 1970
0
On Mar 12, 2:57 pm, John Larkin
[ and a reference to a prepackaged delay line oscillator]
Yikes! Did they use their "novel and innovative" techniques to make
the Vcc and temperature effects deliberately bad? It's not really
difficult to do a gated LC oscillator that beats their stability specs

Yeah, it's a pretty sloppy job all right. The commercial unit is just
a gate
for a driver, another gate for receiver, probably loosely impedance
matched, and with gate-threshold thermal dependences builtin.
A differential driver/receiver version would be much better.

In the old days, one could stop an LC oscillator in a known phase with
a peak-current source through the L and gated gain for the oscillator
tube.
It can still be done, but it requires a lot of quiescent current (with
Q of
100, a 1 mA LC oscillator has 100 mA of peak current in the L).
Is that the 'gated oscillator' you're thinking of? Crystals, and LC
oscillators, don't start abruptly unless one plays these tricks.

Is there a good modern design (for my files) that you can cite?
 
J

John Larkin

Jan 1, 1970
0
On Mar 12, 2:57 pm, John Larkin
[ and a reference to a prepackaged delay line oscillator]
Yikes! Did they use their "novel and innovative" techniques to make
the Vcc and temperature effects deliberately bad? It's not really
difficult to do a gated LC oscillator that beats their stability specs

Yeah, it's a pretty sloppy job all right. The commercial unit is just
a gate
for a driver, another gate for receiver, probably loosely impedance
matched, and with gate-threshold thermal dependences builtin.
A differential driver/receiver version would be much better.

In the old days, one could stop an LC oscillator in a known phase with
a peak-current source through the L and gated gain for the oscillator
tube.
It can still be done, but it requires a lot of quiescent current (with
Q of
100, a 1 mA LC oscillator has 100 mA of peak current in the L).
Is that the 'gated oscillator' you're thinking of? Crystals, and LC
oscillators, don't start abruptly unless one plays these tricks.


HP did one delay generator that used a gated crystal oscillator, but
it had a lot of problems. Crystals are hard to start and even harder
to stop.

The HP5359A Time Synthesizer used an ecl gated delay-line oscillator
at roughly 100 MHz. I think the osc was a hybrid, with the delay line
fabricated on the substrate. It took 75 ns to quench properly, 7.5
times the oscillation period.


An LC can be made to start instantly and stop very quickly.


/
/
+----------o o-----R------+--------+----- out
| | |
| switch | |
| | |
- power L C
+ supply | |
| | |
| | |
| | |
gnd gnd gnd


All you do is close the switch to quench the oscillations and charge
up the inductor, then later open it to start. When the switch opens,
you get a perfect sine that starts instantly from zero. The initial
current and the Xl=Xc resonant impedance determine the oscillation
amplitude. There is an optimum value of R to damp the oscillation
quickly when you want to stop. I forget the exact value, but it's
ballpark 0.7 times Xl. It's all very practical in the 50 MHz range
with 10's of mA running through R when the switch is closed.

Of course, you need a gain element somewhere to sustain the
oscillations, and something to limit oscillation amplitude.

We make four different digital delay generators that are based around
gated oscillators like this. Three work in the 50 MHz range, and one
at about 500. One of the units, not the 500, can work at trigger rates
up to 20 MHz, which shows that you can start and stop one of these
widgets fast. All have the LC tempco tweaked to below 20 PPM/degC; the
500 MHz guy averages a few PPM.

John
 
J

JosephKK

Jan 1, 1970
0
MooseFET said:
If the pulse must be timed to 0.01% WRT the edge of the input pulse:

Delays based on LC circuits may be the way to go. RC circuits are
never going to be accuarate enough. A crystal based circuit is ruled
out by the 0.01% because you can't get 10GHz crystals. Basically you
want a very accurate delay line.

I disagree, a fast FPGA may do the job.
 
J

JosephKK

Jan 1, 1970
0
John said:
HP5370B, from ebay: 25 ps single-shot resolution, much better with
averaging.

Lots of counters can get down to 100 ps with averaging. A decent
sampling scope, like an 11801, can do this too. 100 ps is a barn door
in this business.

Besides, maybe he doesn't have to measure them exactly. Maybe he just
needs them to be stable.

John

Something has gone funny here, my read of OP is generating them.
 
J

John Larkin

Jan 1, 1970
0
I disagree, a fast FPGA may do the job.

How would an FPGA generate a delay relative to an external trigger?

Besides, fpga prop delays increase considerably with temperature, way,
way more than the 0.01% required here.

John
 
M

MooseFET

Jan 1, 1970
0
I disagree, a fast FPGA may do the job.


I don't think so. The delays in an FPGA drift quickly so the
"staggered clocking" or "staggered edge" method won't hold to 100pS as
the OP needs.
 
J

JosephKK

Jan 1, 1970
0
I don't think so. The delays in an FPGA drift quickly so the
"staggered clocking" or "staggered edge" method won't hold to 100pS as
the OP needs.

OP only needs 1/2 ns or 500 ps. Rather easier, but still not easy.
 
J

JosephKK

Jan 1, 1970
0
Both passive and silicon delay lines have awful temperature
coefficients, and both will have lots of jitter in the real world.

LC delay lines do not have to have bad tempco issues. I was measuring
several makes of good ones about 25 years ago. Ovenizing them should
be enough.
 
M

MooseFET

Jan 1, 1970
0
OP only needs 1/2 ns or 500 ps. Rather easier, but still not easy.


Still it is, I think a bit of a stretch for a FPGA. I'd expect a
number somewhere around 1ns for FPGA nonclock delay matching.

I have seen delays calibrated on the fly to about 1/3nS.
 
J

JosephKK

Jan 1, 1970
0
Still it is, I think a bit of a stretch for a FPGA. I'd expect a
number somewhere around 1ns for FPGA nonclock delay matching.

I have seen delays calibrated on the fly to about 1/3nS.

1 ns seems to be the current threshhold between doable and difficult.
I remember when it was 10 ns.
 
M

MooseFET

Jan 1, 1970
0
1 ns seems to be the current threshhold between doable and difficult.
I remember when it was 10 ns.

Yes. These days 10nS is no longer as hard as it once was. At about
100pS, you are certainly still into the RF components methods.
 
Top