Author Topic: Frequency reference clocks should ..  (Read 2537 times)

0 Members and 1 Guest are viewing this topic.

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1847
  • Country: ca
Frequency reference clocks should ..
« on: January 26, 2023, 05:39:35 pm »
.. be:

A) Sine wave
B) Square wave
C) It depends
D) Should not really matter


Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline colorado.rob

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: us
Re: Frequency reference clocks should ..
« Reply #1 on: January 26, 2023, 06:12:51 pm »
A "square wave" is an imaginary construct. If you think you need a square wave, you first need to specify maximum rise time. It is a sum of some limited number of sine waves.

A square wave is the EE equivalent of the physicist's "perfectly spherical cow".
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28429
  • Country: nl
    • NCT Developments
Re: Frequency reference clocks should ..
« Reply #2 on: January 26, 2023, 06:16:03 pm »
Square wave is better due to faster edges which cause less jitter. OTOH this could lead to reflections which distort the signal in poorly terminated cables (which is the case in many setups I've seen). The industry standard is sine wave.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8995
  • Country: us
  • Retired, now restoring antique test equipment
Re: Frequency reference clocks should ..
« Reply #3 on: January 26, 2023, 06:21:23 pm »
Many pieces of test equipment send the external reference input through a bandpass filter before further processing.
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1847
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #4 on: January 26, 2023, 06:32:25 pm »
A "square wave" is an imaginary construct. If you think you need a square wave, you first need to specify maximum rise time. It is a sum of some limited number of sine waves.

A square wave is the EE equivalent of the physicist's "perfectly spherical cow".
Close, but you got it bit backwards.  Being a physicist myself I'd have to say the "ideal square wave" is more akin to the "ideal cow" (whatever that would be). and the "spherical cow" approximation is more akin to the achievable real-world approximation of an "ideal square wave"  :-DD
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1847
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #5 on: January 26, 2023, 06:39:18 pm »
Square wave is better due to faster edges which cause less jitter. OTOH this could lead to reflections which distort the signal in poorly terminated cables (which is the case in many setups I've seen). The industry standard is sine wave.

Many pieces of test equipment send the external reference input through a bandpass filter before further processing.

So, the reason I'm asking is that I want to create a frequency reference.  To me it seems a lot easier to get a square wave OCXO and make a distribution amplifier using dirt cheap 74AC14 inverters than it is trying to make a 10MHz sine wave distribution amplifier.  I guess I could have some of the outputs left as properly attenuated and terminated square waves and could have some filtered down to sine wave. :-//
« Last Edit: January 28, 2023, 11:43:30 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: Frequency reference clocks should ..
« Reply #6 on: January 26, 2023, 07:21:06 pm »
Quote
Frequency reference clocks should ...
...not look like this?   (HP 5316B reference out)

A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline colorado.rob

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: us
Re: Frequency reference clocks should ..
« Reply #7 on: January 26, 2023, 08:18:53 pm »
Quote
Frequency reference clocks should ...
...not look like this?   (HP 5316B reference out)


Show it with 50Ohm termination enabled.
 

Offline pqass

  • Frequent Contributor
  • **
  • Posts: 945
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #8 on: January 26, 2023, 08:34:12 pm »
Quote
Frequency reference clocks should ...
look more like this...   
HP 5334B with Option 010 High Stability Time Base (Oven) into 50R (confirms what the tag says: 0.5Vrms)
« Last Edit: January 26, 2023, 08:37:31 pm by pqass »
 
The following users thanked this post: colorado.rob

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: Frequency reference clocks should ..
« Reply #9 on: January 26, 2023, 09:09:28 pm »
Show it with 50Ohm termination enabled.

Better, still not great.  I wonder if something is being overdriven here, the output is over 2X the 50mVp-p that is specified.

A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 29809
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Frequency reference clocks should ..
« Reply #10 on: January 26, 2023, 10:08:59 pm »
FYI
10 MHz Ref Out from a $20k VNA with no OXCO installed. (default internal clock)
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7276
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #11 on: January 26, 2023, 10:19:52 pm »
If you think logically for a sec, you want to lock your receiving device to Fref. You do not want it to lock to 2Fref, 3Fref, etc. Therefore having a clean sine wave Fref makes sense.
Facebook-free life and Rigol-free shack.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8995
  • Country: us
  • Retired, now restoring antique test equipment
Re: Frequency reference clocks should ..
« Reply #12 on: January 26, 2023, 10:22:19 pm »
Some of my old equipment, internally using a 10 MHz reference, would allow an external signal at 5 or 10 MHz, since it was passed through a narrow-band (probably crystal) filter.
Also, 5 MHz high-stability oscillators were a thing back then.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28429
  • Country: nl
    • NCT Developments
Re: Frequency reference clocks should ..
« Reply #13 on: January 26, 2023, 10:42:08 pm »
If you think logically for a sec, you want to lock your receiving device to Fref. You do not want it to lock to 2Fref, 3Fref, etc. Therefore having a clean sine wave Fref makes sense.
That is only a problem if you have lots of distortion due to impedance mismatch. First thing that is done to the incoming signal is to turn it into a square wave.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline eloso

  • Regular Contributor
  • *
  • Posts: 65
  • Country: gb
Re: Frequency reference clocks should ..
« Reply #14 on: January 26, 2023, 10:48:17 pm »
Quote
Better, still not great.  I wonder if something is being overdriven here, the output is over 2X the 50mVp-p that is specified.

It will look better if you use the 50ohm input of your scope (like you just did) but now  discard your 1M probe. Use a piece of 50ohm cable.   Make sure you don't exceed your scopes max input which will be only a few volts.

Or put a 50ohm external load on the ref signal and then use your 1M probe across the external 50ohm terminator.

Interesting thread !

Eloso
 

Offline edpalmer42

  • Super Contributor
  • ***
  • Posts: 2351
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #15 on: January 26, 2023, 10:55:36 pm »
If you think logically for a sec, you want to lock your receiving device to Fref. You do not want it to lock to 2Fref, 3Fref, etc. Therefore having a clean sine wave Fref makes sense.

It depends what you want to use the reference for.

If all you're interested in is frequency, many pieces of equipment used some variation of a comparator to square up the reference so only the zero crossings were significant and a 'distorted' sine wave or square wave might be desirable.  But if you wanted to multiply the reference, then you might want a clean sine wave.

A common architecture has the internal reference phase-lock to the external signal.  That gives you a known quality reference - the internal one - that matches the frequency of the external reference.

Some equipment will lock to harmonics or subharmonics, some ignore them, some have that as an option.  Input impedance for the Ref-In jack varies from 50 ohms to hundreds of Kohms.  Amplitudes are similarly variable.  I typically run a daisy-chain from unit to unit and then terminate the chain with a 50 ohm terminator.  (Anyone remember 10Base2 ethernet?)  ;)

Ed
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1847
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #16 on: January 26, 2023, 11:30:23 pm »
If you think logically for a sec, you want to lock your receiving device to Fref. You do not want it to lock to 2Fref, 3Fref, etc. Therefore having a clean sine wave Fref makes sense.
A square wave is a superposition of the fundamental and it's odd harmonics at specific amplitudes.  When we say it's a superposition it means their amplitudes are added together.  Those frequencies are not there on there own, so unless there is some strange filtering or math (like a Fourier transform) going on those harmonics will not be apparent in the waveform.  Logically then, it does not follow that it has to be a sine wave for the reasons you give.  And if there was filtering going on, it would be fairly steep filtering at precisely the required frequency.  Jus' sayin'
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 
The following users thanked this post: eloso

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8995
  • Country: us
  • Retired, now restoring antique test equipment
Re: Frequency reference clocks should ..
« Reply #17 on: January 27, 2023, 12:15:10 am »
As I mentioned above, if the external reference input (driven by your reference clock) goes through a band-pass filter, which would be fixed-tuned, it only has to be good enough to be far down at twice the reference frequency, and only at the third harmonic for a good (symmetric) square wave.
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1847
  • Country: ca
Re: Frequency reference clocks should ..
« Reply #18 on: January 27, 2023, 02:21:38 am »
As I mentioned above, if the external reference input (driven by your reference clock) goes through a band-pass filter, which would be fixed-tuned, it only has to be good enough to be far down at twice the reference frequency, and only at the third harmonic for a good (symmetric) square wave.
So 18dB/octave .. 24dB/octave?  This would only really be needed if you were expecting substantially less than ideal signals.  A well behaved Sq.W. should have a nice clean rising edge to trigger the phase measurement off as would a pure sine/triangle/saw.  But real life being real life I suppose these inputs need to be designed to extract the fundamental from potentially sub-par signals.

I've looked at the specs of the equipment I have to see what they demand for an external reference signal and all they ever give is a frequency and a minimum signal level.

Below is the signal I get from my HP 5300B.  It's not symmetrical, but nothing I have connected it to yet has complained.

Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline Detlev

  • Regular Contributor
  • *
  • Posts: 59
  • Country: de
Re: Frequency reference clocks should ..
« Reply #19 on: January 28, 2023, 04:09:47 pm »
Hi all,

Last year I tried to determine the jitter of audio DACs. At the time, I noticed that square-wave signals have a significantly better Allan-deviation than sine signals.

During the setup, the SDG6022 and the FCA3000 are both attached to the Leo Bodnar GPSDO. Nevertheless, the time deviations in the signal for sine waves are worse by a factor of almost three. The Allen deviation is 150ps for sine and 60ps for square.

I think the voltage noise is noticeable due to the flatter edge and worsens the triggering of the connected device. So I would always prefer a square to a sine.



Have a nice weekend  :)
Detlev
« Last Edit: January 28, 2023, 10:50:54 pm by Detlev »
This post is "Made in Germany" 😎
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28429
  • Country: nl
    • NCT Developments
Re: Frequency reference clocks should ..
« Reply #20 on: January 28, 2023, 11:04:54 pm »
Hi all,

Last year I tried to determine the jitter of audio DACs. At the time, I noticed that square-wave signals have a significantly better Allan-deviation than sine signals.

During the setup, the SDG6022 and the FCA3000 are both attached to the Leo Bodnar GPSDO. Nevertheless, the time deviations in the signal for sine waves are worse by a factor of almost three. The Allen deviation is 150ps for sine and 60ps for square.

You have to be carefull with what you are measuring here. The noise of the input of the counter or the actual signal? IIRC your counter has a 100ps resolution only so you are measuring well into the noise floor. For measurements at these low jitter levels, a DMTD is a better tool.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf