P
Pooh Bear
John said:Well, they usually do. TI specs +-20 mA for its HC14, with no
footnotes about duration.
Fine if you're using TI but.......
Graham
John said:Well, they usually do. TI specs +-20 mA for its HC14, with no
footnotes about duration.
John said:If the schmitt is squaring up 60 Hz cycles, how can DC offsets or
"mains variations" affect clock accuracy? If you count each line cycle
exactly once (not zero times, and not twice) where's the error?
The 60 Hz line is sort of the definition of clock time.
John
Fred said:You are trapped into thinking about steady state. It is the transition
between steady states that causes the error to accumulate over the long
term. The '339 circuit pulls nonlinearly with line amplitude. Therefore
it will accumulate error.
Fine if you're using TI but.......
I still don't feel quite right doing it though. And for just *one resistor*
extra.
John said:Sure, feelings are what really matter.
You are trapped into thinking about steady state. It is the transition
between steady states that causes the error to accumulate over the long
term. The '339 circuit pulls nonlinearly with line amplitude. Therefore
it will accumulate error.
John said:OK, if 5,184,000 sine cycles go into the comparator every day, and
5,184,000 square cycles come out every day, where does the error
accumulate?
Having once experienced device latchup thanks to a certain person's secret
'contribution' to a pcb layout, I prefer to 'play safe'.
John said:Some parts do still latch, especially mixed-signal stuff. The
LM35/LM45 temperature sensor are horrors, and a lot of ADI and
BurrBrown ADCs and DACs are ghastly as regards latching on overdrive
or improper power-supply sequencing. I've seen systems where a uP
could power-cycle a DAC if it suspected it had latched.
74HC parts are pretty well hardened these days. A few will latch at
extreme esd diode currents, enough to be dangerous in their own right,
and some won't latch at all.
We just did a product where it was really convenient to current-limit
a customer input with Supertex depletion-mode fets (to around 1 mA
max) and dump that into an ADI chopamp, letting the esd diodes clamp
on overvoltage. We tested the parts pretty hard to make sure they
didn't mind, and powered them from shunt regulators to limit supply
current.
Esd diodes are free, so we've just gotta use them!
in Msg. said:Thanks for the very useful advice. I'm looking for something simple
which just works reliably, and this seems to fit the bill. If I've done
my calculations right a potential divider consisting of a 100k ohm
resistor and 22 nF capacitor gives a maximum voltage of around 10 V
between the Schmitt trigger input and logic ground (for a 50 Hz signal).
in Msg. said:Actually, yout 12V ac winding will produce about 17V pk-pk so a PD of just
greater than 3:1 should be used.
in Msg. said:Yes. He was suggesting a schmitt trigger or comparitor doing the
filtering. In that case the isolator is *not* an additional
component. He's building *ONE*. Yes, I am worried about his
safety over the cost of an optical isolator. (yikes! you really
can't be that dumb)
John said:OK, if 5,184,000 sine cycles go into the comparator every day, and
5,184,000 square cycles come out every day, where does the error
accumulate?
John
When the mains amplitude climbs to a new magnitude, the '339 triggers
increasingly early during the cycles comprising the transition- and
"early" is relative to the trigger period prior to the amplitude change.
These trigger period transitions will be different from those due to a
mains amplitude decrease, because of the waveform input to the '339.
Mean trigger cycle perturbations do not zero- they accumulate- the
circuit is weighting the perturbations due to mains amplitude decrease
by more than the increase. And even if the weighting is equalized, there
is no reason for the mains fluctuation to zero, it will be a function of
the energy profile of the grid.
How long did the testing take ( cost ) vs using other methods to clamp the volts ?
Makes me cringe though.
Who are you and what have you done with 'Fred Bloggs'?
John Larkin wrote: [snip]The 60 Hz line is sort of the definition of clock time.
John
You are trapped into thinking about steady state. It is the transition
between steady states that causes the error to accumulate over the long
term. The '339 circuit pulls nonlinearly with line amplitude. Therefore
it will accumulate error.
Nah, if you look closer they're all digital (see: Plank). ;-)Nah ! All digital circuits are really analogue if you look properly.
Power maybe ? I can't see anyone designing a battery clock that has to be
connected to the mains to get its reference frequency !