Author Topic: Measuring periodic phase noise by phase structure and difference functions  (Read 7551 times)

0 Members and 1 Guest are viewing this topic.

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
[Please move if appropriate]

Hi,

I've been following a very interesting thread elsewhere in this forum concerning the measurement of oscillator stability and it has struck me how very similar the concepts and goals are to the mainstay of my work that seems at first to be a wholly unrelated discipline. However, the more I read about characterizing oscillator stability, the more I realize just how close it is to what I do.

I'd like to know if there is an unrecognized interdisciplinary overlap that may be of use.


Some background:

I am a physical chemist, specifically a colloid chemist, which means I study the behavior of nanoparticles dispersed in a material continuum. My particular focus is the measurement of the motion of charged nanoparticles in a liquid due to the application of an external electric field (electrophoresis). If a laser light is incident on the particles then the phase of the light scattered by them is determined by their position and the temporal change in the phase manifests itself as a Doppler frequency shift of the light.

The scattered light is mixed at a detector with unscattered light ('reference') that is frequency-shifted relative to the incident light by an amount wo (typ. 250Hz - 20kHz). For a perfect stationary scatterer, this leads to a sinusoidal detector signal with the same frequency as the difference between the reference and scattered light. This can be considered the ideal oscillator.

In a version of this experiment that I developed for my PhD (phase analysis light scattering (PALS)), three separable components to the phase are considered:

1. Random brownian motion due to particle diffusion (gaussian)
2. Linearly changing with time due to a constant velocity (e.g., settling)
3. Periodic oscillation due to particle motion in an alternating field

Prior to the advent of PALS, attempts to separate these components were unsuccessful. Autocorrelation was the standard method. Unfortunately, because the photodetector signal is proportional to the intensity of the light, the phase cannot be obtained directly. With PALS, it can.

The detector signal, E(t), is just like for an oscillator:

E(t) = A(t)exp(i.phi(t))

with the optical phase being:

phi(t) = wo(t) + philinear(t) + phigaussian(t) + B(t)cos(wp(t))

Demodulating the photodetector signal about wo leads an IQ pair from which are readily transformed to A(t) and phi(t).

In this representation of phi(t), B(t)cos(wp(t)) is akin to period phase noise with a frequency wp and amplitude B(t). phigaussian represents the stochastic process from which the diffusion coefficient and, hence, particle size are estimated.

Determination of the three components uses statistical methods that are very similar in concept to those used for estimating Allan variance etc. For PALS, there are two functions that are constructed from the experimental amplitude and phase data: phase structure function and phase difference function. Computationally these are easy to construct esp. compared to autocorrelation/FFT.

The structure function allows for estimation of the gaussian term, and the amplitude and frequency of the periodic phase variation. No a priori knowledge of the frequency is needed. As with autocorrelation, the amplitude of the periodic phase variation can be dominated by the random noise. Unlike the autocorrelation function, the structure function does not decay and so coexisting fast and slow periodic phase variations can be revealed.

If the frequency is known then the phase difference function allows the amplitude and frequency of the periodic phase variation to be estimated in the absence of the random noise term.

In the realm of my experiments, I easily measure periodic phase variations of amplitudes of a few mrad in the presence of gaussian noise with sigma of the order of a few Hz. The periodic phase variation frequencies range from 1 to 1000Hz.

I hope you can see the parallels even though the scale of the numbers is doubtless quite different.

I'm very curious to see if this method can be used with IQ data obtained from oscillator stability experiments.

Here is a link to the pertinent and long chapter from my PhD thesis (file size too big to attach). The hard-core equations begin about half-way through but the first half should help show the similarities I have alluded to.

https://1drv.ms/b/s!AhmR5if7W0HCjccI0YLXWbEq5VTccA

In the light scattering world (which is very important in the pharmaceutical/food/cosmetic/paint/water treatment industries), PALS has replaced autocorrelation/FFT as the de facto data analysis method.
 
The following users thanked this post: rhb

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
I think you should change the thread title to:

"Abandon All Hope, Ye who Enter Here"

On a serious note, it looks very interesting.  I just did a light skim through the chapter.  I'd forgotten how ugly typewriter math is.  Praise the lord for Donald Knuth.

My MS was in igneous petrology, so I was well trained in optical phenomena. And PhD studies in reflection seismology taught me classical Wiener analysis (not sure what else to call it).

The analysis looks applicable to the characterization of oscillators, particularly over short time periods.  The problem of acquiring suitable data is more vexing.

How would you collect the data without having a golden reference oscillator with which to compare?  The problem posited was deciding which oscillator was most golden.  And better phase measurement seems to be the big obstacle in horology.
 

Offline MasterT

  • Frequent Contributor
  • **
  • Posts: 785
  • Country: ca
The scattered light is mixed at a detector with unscattered light ('reference') that is frequency-shifted relative to the incident light by an amount wo (typ. 250Hz - 20kHz).
Never hear that light could be frequency-shifted. How? What kind of non-linear optics is that, I know they use some crystal to get blue and green laser beam, but its simply 2-nd and 3-rd harmonics
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Thanks for being brave and taking the time to dip your toe into ye olde typewritten document
How would you collect the data without having a golden reference oscillator with which to compare?  The problem posited was deciding which oscillator was most golden.  And better phase measurement seems to be the big obstacle in horology.

Not sure I quite understand but maybe this will address it.


In the experiment, the frequency difference between the reference and scattered light can be generated in a couple of ways. The first is to use a vibrating piezo mirror to shift the frequency of the reference. This is a shit method used in all commercial instruments. The way I do it is to use acousto-optic modulation. The reference is modulated at, say, 40MHz, and the other at 40MHz + the desired shift frequency. Hence, the overall difference between the reference and the scattered light is the desired shift. Originally, I achieved this via SSBM but today I use a 4-channel DDS. Two provide the RF signals and two provide the I and Q components of the shift frequency. All the signals derive from the same master clock. I use analog quadrature detection of the detector signal to obtain my amplitude and phase information. Anyway, the relevance of this is that one of the IQ reference signals acts as the golden oscillator. I typically operate with the shift frequency 2 orders of magnitude higher that the frequencies I'm interested in measuring. My setup is basically a lock-in amplifier. The phase structure and difference functions can be constructed without knowing the oscillator frequency. A quadratic term or linear term, respectively, directly provide a frequency correction so that the demodulation frequency can be adjusted to match the center of the oscillator frequency spectrum. Because the stability of my DDS is much greater than that of the oscillator created by the particle motion, I can assume it to be golden though perhaps in need of polishing. So, in principle, the method can provide the following without a prior knowledge:

Oscillator center frequency
Periodic phase variation amplitude and frequency
Width of spectral line broadening due to gaussian noise


Of course, I do all of this <50kHz except for the RF signals for the acouso-optic modulation. How all this would translate into the RF world is one of the things I'm interested in. I'm not at all familiar with the typical orders of magnitude for things like signal sampling rate, random noise, period phase amplitude and frequency etc.

One interesting thing with the phase difference function is that it does require knowledge of the frequency of the phase oscillation which can be obtained from the structure function if it is dominant over the random noise. If the source of the phase oscillation is known and is "available", it can be used which overcomes the need to dominate the random noise. Again, I'm pretty much ignorant of this. Are typical period phase variations due to things like 60Hz interference from nearby power or are they of much higher frequencies? Also, how temporal coherent is that variation? i.e., how many periods would it remain within, say, 5%?


Bit of a long thought as is my habit.

 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
The scattered light is mixed at a detector with unscattered light ('reference') that is frequency-shifted relative to the incident light by an amount wo (typ. 250Hz - 20kHz).
Never hear that light could be frequency-shifted. How? What kind of non-linear optics is that, I know they use some crystal to get blue and green laser beam, but its simply 2-nd and 3-rd harmonics

In my case the shift is very small - a few 100Hz - 10kHz. The technique uses acousto-optic modulation that is used in laser printers, supermarket checkouts, wacky laser light shows and other applications. Here's a good explanation:

https://en.wikipedia.org/wiki/Acousto-optic_modulator




 

Offline KE5FX

  • Super Contributor
  • ***
  • Posts: 1891
  • Country: us
    • KE5FX.COM
How would you collect the data without having a golden reference oscillator with which to compare?  The problem posited was deciding which oscillator was most golden.  And better phase measurement seems to be the big obstacle in horology.

From my reading, it's a homodyne application where the reference is an independent interferometer arm and the analysis is done at baseband. 

I don't immediately see how the frequency of the light can be shifted a few dozen kHz, though -- I'd think that the effect of the AOM would be to create PM sidebands around a carrier that remains at its original amplitude.  This stuff is very far from anything I've had experience with, but it does sound intriguing.  Beating the carrier under test with a frequency-shifted version of itself isn't something I've seen done before, just because at RF there is no straightforward way to shift the frequency of a carrier without mixing it with a local oscillator of some sort.
« Last Edit: June 18, 2018, 11:33:24 pm by KE5FX »
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Quote
Because the stability of my DDS is much greater than that of the oscillator created by the particle motion, I can assume it to be golden though perhaps in need of polishing

This is the critical difference.  For the oscillator evaluation we don't have a golden reference.  We're trying to find one.

If one has 8 oscillators and compares phase among all 32 pairwise combinations we have an even determined system in 4 variables.  However we also have 2**32-1 possible states for which we need to collect statistics on their occurrence over time.   I *think* this can be solved, but it's pushing my boundaries quite hard.  I'm spending an hour or two each day contemplating this and scribbling on pieces of paper.  No assurance of progress though.

But it *is* interesting.  And I like the company :-)
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
How would you collect the data without having a golden reference oscillator with which to compare?  The problem posited was deciding which oscillator was most golden.  And better phase measurement seems to be the big obstacle in horology.

From my reading, it's a homodyne application where the reference is an independent interferometer arm and the analysis is done at baseband. 

I don't immediately see how the frequency of the light can be shifted a few dozen kHz, though -- I'd think that the effect of the AOM would be to create PM sidebands around a carrier that remains at its original amplitude.  This stuff is very far from anything I've had experience with, but it does sound intriguing.  Beating the carrier under test with a frequency-shifted version of itself isn't something I've seen done before, just because at RF there is no straightforward way to shift the frequency of a carrier without mixing it with a local oscillator of some sort.

Acoustooptic modulation exploits the Bragg effect. Yes, sidebands are created at spacings equal to the excitation frequency. The important thing is that in order not to violate the rule that energy cannot be created nor destroyed, the exit beam from the AOM is diffracted by an angle proportional to the excitation frequency. Hence, the output consists of multiple beams with each one being one of the sidebands. The relative intensities of each beam depends upon the angle of incidence of the incoming beam.

You say "independent interferometer arm". Just to clarify, both the reference light and the light from the sample come from the same laser source. One AOM operates at 40.000000MHz (say) and the other at 40.001000MHz to give a frequency difference between the beams of 1kHz. It isn't one beam that is shifted by this small amount. Laser-Doppler velocimetry is a similar method but because it is intended for much faster particle velocities it can use just one AOM.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Quote
Because the stability of my DDS is much greater than that of the oscillator created by the particle motion, I can assume it to be golden though perhaps in need of polishing

This is the critical difference.  For the oscillator evaluation we don't have a golden reference.  We're trying to find one.

If one has 8 oscillators and compares phase among all 32 pairwise combinations we have an even determined system in 4 variables.  However we also have 2**32-1 possible states for which we need to collect statistics on their occurrence over time.   I *think* this can be solved, but it's pushing my boundaries quite hard.  I'm spending an hour or two each day contemplating this and scribbling on pieces of paper.  No assurance of progress though.

But it *is* interesting.  And I like the company :-)

Part of my interest is to pragmatically compare two or more oscillators, e.g., Perhaps you need to select a matched pair or make sure that there isn't considerable periodic phase noise at a specific frequency or monitor an oscillator through its life.


 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
I'm afraid I'm confused.

What is the application?    Clocks are different from frequency references which are different still from VFOs.

For my purposes, the GPSDO from Leo Bodnar should serve me well.  I'm interested in the metrology of oscillators.  But I'm fascinated by metrology in general, so no big deal there.
 

Offline tomato

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us
Clocks are different from frequency references ...

That's a puzzling sentence.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
I'm afraid I'm confused.

What is the application?    Clocks are different from frequency references which are different still from VFOs.

For my purposes, the GPSDO from Leo Bodnar should serve me well.  I'm interested in the metrology of oscillators.  But I'm fascinated by metrology in general, so no big deal there.

Me, too!

Is this meant for the other thread on this subject?
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
The comment was meant for this thread, but they are closely related.  I assumed you want to split off the serious mathematics to this thread which seems to me appropriate.

In radar applications, phase noise is the critical metric.  In horology, long term frequency stability is the critical metric.  For a laboratory frequency reference I'd expect that the critical metrics are some weighted combination of those and other criteria.  Not having considered the problem before, what those criteria are is unclear.  It probably depends in part upon the characteristics of the instruments which use the reference.  As we are interested in metrology, we cannot assume a golden reference.  So finding a basis for measurement must be independent of the errors in physical instances.

I'd like to suggest getting a copy of "A Mathematical Introduction to Compressive Sensing" by Foucart and Rauhut.  Donoho and Candes work in the 2004-2010 time frame is in my view the biggest advance in data analysis since Wiener and Shannon.  Foucart and Rauhut do a good job of summarizing a lot of literature.  Compressive sensing is but one of many applications of sparse L1 pursuits.  The following quote  from https://statweb.stanford.edu/~donoho/Reports/2004/l1l0EquivCorrected.pdf should make clear why I hold the work in such high regard.

Quote
Many situations in science and technology call for solutions to underdetermined systems of equations, i.e. systems of linear equations with fewer equations than unknowns. Examples in array signal processing, inverse problems, and genomic data analysis all come to mind. However, any sensible person working in such fields would have been taught to agree with the statement:  “you have a system of linear equations with fewer equations than unknowns. There are infinitely many solutions.” And indeed, they would have been taught well. However, the intuition imbued by that teaching would be misleading.

On closer inspection, many of the applications ask for sparse solutions of such systems, i.e. solutions with few nonzero elements; the interpretation being that we are sure that ‘relatively few’ of the candidate sources, pixels, or genes are turned ‘on’, we just don’t know a priori which ones those are. Finding sparse solutions to such systems would better match the real underlying situation. It would also in many cases have important practical benefits, i.e. allowing us to install fewer antenna elements, make fewer measurements, store less data, or investigate fewer genes.

The search for sparse solutions can transform the problem completely, in many cases making unique solution possible (Lemma 2.1 below, see also [7, 8, 16, 14, 26, 27]). Unfortunately, this only seems to change the problem from an impossible one to an intractable one! Finding the sparsest solution to an general underdetermined system of equations is NP-hard [21]; many classic combinatorial optimization problems can be cast in that form.

In this paper we will see that for ‘most’ underdetermined systems of equations, when a sufficiently sparse solution exists, it can be found by convex optimization. More precisely, for a given ratio m/n of unknowns to equations, there is a threshold ρ so that most large n by m matrices generate systems of equations with two properties:

(a) If we run convex optimization to find the L1-minimal solution, and happen to find a solution with fewer than ρn nonzeros, then this is the unique sparsest solution to the equations; and

(b) If the result does not happen to have ρn nonzeros, there is no solution with < ρn nonzeros.

 In such cases, if a sparse solution would be very desirable – needing far fewer than n coefficients – it may be found by convex optimization. If it is of relatively small value – needing close to n coefficients – finding the optimal solution requires combinatorial optimization.

So far as I know, this is the only instance of solving an NP-hard L0 problem in L1 time.  At some point I need to investigate what the complexity crowd have done with it.  I only learned of it 9 years after the fact which stuns me as I should have expected to have learned of it within a year of publication.  Solving NP-hard problems is of major importance.

The mathematical niceties laid out in Foucart and Rauhut are extremely complex.  Donoho published a single proof that took 15 pages! However a similarly rigorous treatment of the Fourier transform would be equally long winded and difficult.  In practice one simply sets up Ax=y and tries to solve it.  You might not be able to solve it, but if you can, you have the correct answer.

I'm not suggesting that a sparse L1 pursuit is the answer, but there are some important concepts for which I know of no other treatment.
 

Online nfmax

  • Super Contributor
  • ***
  • Posts: 1560
  • Country: gb
A very similar technique is used in fibre-optic distributed vibration (or acoustic) sensing. In that case, however, there are no 'particle' scatterers: instead, the scatterers are the random, frozen-in thermal fluctuations of the glass refractive index within the fibre. This is Rayleigh scattering.

Vibration alternately stretches and compresses the length of fibre between two scatterers, phase modulating what is in effect a random carrier wave. This can be demodulated using a frequency-shifted version of the transmitted laser and the vibration signal recovered from the I & Q IF components (all complicated by optical polarisation effects). A pulsed laser source is used so that backscatter from different parts of the fibre arrives at different time delays. This gives the effect of an array of sampled vibration sensors along the fibre. Typically, you can get 5 to 10 m spacing for a few tens of km. The maximum sample rate is set by the fibre length.

While it doesn't have the dynamic range of a geophone, it is good enough to be used in seismic applications. The ability to install a fibre in a well allows for VSP applications, using either wireline or permanently installed fibre. It has also seen applications in microseismic monitoring, flow- and leak-detection, and perimeter security.

My colleague Arthur Hartog covers the technique & its applications in his recent book:

A. H. Hartog, An introduction to distributed optical fibre sensors. Boca Raton: CRC Press, Taylor & Francis Group, 2017. ISBN 978-1-4822-5957-5


 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
If we take this equation as the model of the general case:

v(t) = [V0 + e(t)] * cos[w0*t + phi(t)]

Then I find that solving it without requiring a perfect oscillator as reference requires 8 oscillators giving us a total of 32 unknowns.  This in turn requires 32 independent linear equations.  The only way I know of to obtain those equations is by making pairwise comparisons among all 8 oscillators and solving the resulting set of simultaneous linear equations.

By superposition, we can make phi(t) arbitrarily complex to account for both PM and FM noise processes.  But I can see no way to proceed until the above has been solved.

I'll add the derivation later.  For now I'd like an independent confirmation of my result.

If anyone knows of a paper which discusses an analysis which requires 8 oscillators please supply a link or reference.  The "three corner hat" makes assumptions about some of the terms in the model above and only addresses FM noise.  So far as I can see, this is the simplest realistic model possible for arriving at phi(t) so the analysis in the dissertation chapter can be applied.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
What is the typical form of phi(t)? If you write it as a linear combination of different noise terms, are the general forms of each term unique. What I mean is that in the PALS case phi(t) is of the general form a + b.t + c.t2 + d.cos(wt) where w is the frequency of the periodic phase noise and d is its amplitude. It is easy to separate them when fitting the phase structure function. I haven't tried it but it should be possible to separate multiple periodic phase frequencies. This is similar to autocorrelation except that the structure function doesn't decay with the random noise and so much slower periodic phase variation should be detectable.

Can you explain the difference between a clock and an oscillator, and the significance in terms of applying different measurement approaches?
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.  The Allan variance was designed with this in mind as are MVAR and TVAR.  This can be seen in the plots of the frequency domain transfer functions.

An electronic oscillator is a means of realizing many things, clocks, radios, synchronous data transmission, etc.  The list is long.  Clocks  with mechanical oscillators existed for many years before electronic oscillators were developed.

One has in an electronic circuit many types of noise, flicker (i/f), shot, thermal, current plus possibly some more.  It gets hard to tell because of the tendency for the same phenomenum to be encountered in different contexts and given different names.  All of these noise sources have characteristic traits which generally exhibit themselves in the frequency spectra.  These are trivially separable from the amplitude spectrum using a sparse L1 pursuit.   I know of no other method that will make that separation.

I am not well versed in the details of electronic noise sources.  I have only a rudimentary grasp of the subject as I have not spent a lot of time on it.  So take the following with a pound or two of salt.

Flicker noise and shot noise are not correlated with current flow.  Thermal and current noise are.  So in an electronic oscillator the current and thermal noise are cyclostationary.   I commented on this previously in one of the two threads.  Measuring these using regular sampling per Shannon and Nyquist poses the problem that the noise is highly correlated with whatever clock is being used for the sampling.  Hence my repeated emphasis on the need for random sampling derived from a provably random source such as radioactive decay.

That requirement in turn poses a complication in that the correlation will creep back in via the sample time clock.  One can mitigate that to some extent by simply counting events over a time window, but the time window is correlated with the noise.  I've not calculated the degree of suppression.

In my "applications of sparse L1 pursuits" thread I presented a frequency plot of the effect of aliasing of  thermal noise in an integrating ADC such as is used in the HP 3458A.

I've had lunch and am getting sleepy.  So I'll stop for now.  Hopefully this has pointed in the right direction.  It is *very* closely related to you dissertation.  But the physics are different and neither of us is as good at the physics as needed.  Yet.

But to quote Harry Callahan, "A man's got to know his limitations."  If you do, you can remove them.  But woe if you don't.





 

Offline tomato

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.

100% incorrect.

Quote
The Allan variance was designed with this in mind as are MVAR and TVAR.  This can be seen in the plots of the frequency domain transfer functions.

No, the Allan Variance was developed to link the time domain with the frequency domain picture. Your understanding and pronouncements about Allan Variance in these posts indicates a superficial understanding.

Quote
One has in an electronic circuit many types of noise, flicker (i/f), shot, thermal, current plus possibly some more.  It gets hard to tell because of the tendency for the same phenomenum to be encountered in different contexts and given different names.  All of these noise sources have characteristic traits which generally exhibit themselves in the frequency spectra.  These are trivially separable from the amplitude spectrum using a sparse L1 pursuit.   I know of no other method that will make that separation.

Except, of course, the Allan Variance.

Quote
I am not well versed in the details of electronic noise sources.  I have only a rudimentary grasp of the subject as I have not spent a lot of time on it.  So take the following with a pound or two of salt.

This is the most accurate statement you've made.

Quote
Flicker noise and shot noise are not correlated with current flow.

Shot noise scales with current.

Quote
Thermal and current noise are.

Thermal noise does not depend on current.

Quote
So in an electronic oscillator the current and thermal noise are cyclostationary.   I commented on this previously in one of the two threads.  Measuring these using regular sampling per Shannon and Nyquist poses the problem that the noise is highly correlated with whatever clock is being used for the sampling.  Hence my repeated emphasis on the need for random sampling derived from a provably random source such as radioactive decay.

Random sampling timed from radioactive decay?  Are you serious???

Quote
But to quote Harry Callahan, "A man's got to know his limitations."

Ironic statement from a guy who previously posted:

Quote from: rhb
I'm not a time nut. I have never had justification for digging into the details of Allan variance.  I have less than a metrology lab technician knowledge of the subject.
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Quote
Thermal and current noise are.

Thermal noise does not depend on current.

Heating is proportional to current and resistance.  Or at least in the universe the rest of us live in.  Therefore thermal noise depends upon current.  Apparently that is somewhat beyond your educational level.  So be a good lad and toddle off now.

Thirty years as a metrology lab tech does not make you an expert on anything.  If you actually understood what you claim, you could explain the logic behind your assertions.  But since you don't and there *isn't* any logic, all you do is make pompous claims of authority.  Sorry, but I don't bow to authority.

The Harry Callahan quote was directed at you.  You need to learn your limitations.
 

Offline tomato

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us
Heating is proportional to current and resistance.  Or at least in the universe the rest of us live in.  Therefore thermal noise depends upon current.  Apparently that is somewhat beyond your educational level.  So be a good lad and toddle off now.

Thermal noise depends on temperature. Claiming that it therefore depends on current because current can lead to temperature change is silly.

Quote
Thirty years as a metrology lab tech does not make you an expert on anything.  If you actually understood what you claim, you could explain the logic behind your assertions.  But since you don't and there *isn't* any logic, all you do is make pompous claims of authority.  Sorry, but I don't bow to authority.

The Harry Callahan quote was directed at you.  You need to learn your limitations.

I have made no claims of authority.  I have only pointed out several errors in your post.  For the record, however, I am not a lab tech and I am not someone new to the field of frequency standards.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.


That makes sense. So, in my mind, a clock is a specific type of oscillator and so has specific measurement requirements enshrined in international standards whereas other types of oscillator have their own measurement requirements dependent on the applications.

Quote
That requirement in turn poses a complication in that the correlation will creep back in via the sample time clock.  One can mitigate that to some extent by simply counting events over a time window, but the time window is correlated with the noise.  I've not calculated the degree of suppression.

Could you not measure a given clock with multiple sampling devices such as multiple ADCs sampling the same signal? I would expect that the noise from the clock under test could be better estimated since the noise from each ADC's oscillator/clock(?) would be different.

Quote
I've had lunch and am getting sleepy.  So I'll stop for now.  Hopefully this has pointed in the right direction.  It is *very* closely related to you dissertation.  But the physics are different and neither of us is as good at the physics as needed.  Yet.

Thanks for the explanations. It's very interesting to see how similar concepts exist in multiple disciplines but are applied for very different purposes. It's a shame that it takes a crazy Australian dude's blog to see the parallels :)
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: ro
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.

That makes sense.

The claim in bold is false.

In a clock, the oscillator's phase noise will accumulate over time as an imprecision in time keeping, even if the average value of the phase noise is zero.

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us

That requirement in turn poses a complication in that the correlation will creep back in via the sample time clock.  One can mitigate that to some extent by simply counting events over a time window, but the time window is correlated with the noise.  I've not calculated the degree of suppression.

Could you not measure a given clock with multiple sampling devices such as multiple ADCs sampling the same signal? I would expect that the noise from the clock under test could be better estimated since the noise from each ADC's oscillator/clock(?) would be different.

Under Gaussian assumptions you'd get a 1/sqrt(n) reduction, but I'm not convinced that sprinkling Gauss water on the problem is a good idea.  I have done that on occasion, but always with a great deal of nervousness.   The alternative would be to measure the clock with 7 ADCs which were all independently clocked. The larger problem is that a 10 MHz reference is expensive to sample at more than 3-4 degree intervals.  That's why I like tabulating the phase relationships.

This really gets deeply into your dissertation work.

Here's a more detailed outline of the hardware setup I'm proposing:

One has 8 input channels.  Each channel has a set of 7 low noise  op amp voltage followers feeding a fast comparator like the ADCMP581.  The voltage followers are there to isolate the comparators from each other.  The output of all the comparators is presented as a 32 bit word to a moderately fast processor such as  BeagleBone X15.

An additional comparator tracks the zero mean output of a physical noise source which has been low pass filtered so that the maximum frequency is less than the time required to read the word, fetch the count at that address, increment it and store it.  At every clock tick on the GPIO bus, you read the random noise comparator.  If it is high you read the phase word and increment the appropriate counter.

So for each sample window you are collecting the expectations for 4 billion states.  At the end of a sample window, you increment the base address of the array of counters and initiate a DMA transfer from memory to disk.  The ADCMP581 is not cheap, $1500/100 from Digikey.  But they are blisteringly fast.

From there it becomes an analysis problem. Which, naturally, is where we should start.

What we would have is the ratio of  A<B and A>B for all pairings over alarge number of time windows. If we can work out how to set up the mathematics we should be able to create a virtual perfect oscillator for which the uncertainties would be the physically irreducible noise.

It seems to me that there is high likelihood someone has already done this.  I've reinvented the wheel many times. But perhaps not.

The random sampling guarantees that if we find a periodicity, it is not a consequence of the sampling clock.  Which is why an analog random noise source with constant properties is so desirable.  Radioactive decay is trivially characterized and completely unaffected by temperature.  It is also a provably Gaussian event stream.
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.

That makes sense.

The claim in bold is false.

In a clock, the oscillator's phase noise will accumulate over time as an imprecision in time keeping, even if the average value of the phase noise is zero.

I did not make the statement in bold.   My statement was a sentence with an important constraint which you wish to ellide and then claim I am wrong.   I included that constraint precisely because the statement in bold is false.

Would you please show mathematically why a clock meeting the constraint I imposed would lead to an accumulation of errors?  I shall be very interested in your argument (aka mathematical proof).
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
This is really very interesting.

An additional comparator tracks the zero mean output of a physical noise source which has been low pass filtered so that the maximum frequency is less than the time required to read the word, fetch the count at that address, increment it and store it.  At every clock tick on the GPIO bus, you read the random noise comparator.  If it is high you read the phase word and increment the appropriate counter.


So, in effect, you end up sampling on average at half the GPIO clock rate with a lot of what I'd call jitter or spread, right?

Quote
So for each sample window you are collecting the expectations for 4 billion states.

Now I understand the source of the 232-1.

Quote
It seems to me that there is high likelihood someone has already done this.  I've reinvented the wheel many times. But perhaps not.

I've developed a lot of instruments (not just light scattering) over the years often preceded by people telling me "it won't work" or "it's been tried before, the results are crap." Most of those instruments turned out to out-perform the tried and tested (and expensive) ways of measuring a given physical process. Hence my signature :)
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
The first question will have to wait until tomorrow morning.

The second is easy.  There are 32 comparator outputs each of which can be 0 or 1.  So the possible states among the comparator outputs is a 32 bit unsigned integer.

I built 3D models of rock properties over an 600 x 300 mile expanse of the Gulf of Mexico using 135 GB of unvetted wireline data from 19,000 wells,  drilling mudweights from 42,000 wells, directional surveys from 37,000 wells, initial temperature and pressure from 12,000 reservoirs and all the NOAA bathymetry and thermosonde data.  I estimated overburden stress, pore pressure, fracture pressure, temperature, effective stress, velocity, density and a bunch of other stuff.  The company research guys said it couldn't be done, but they could do a better job.  They would have required 1900 man days of skilled labor that was not available at any price.  I wrote all the software and delivered it in 9 months to a brickwall deadline.  I had 1 person working with me to do the QC.  It was a huge success.  I delivered a slew of related products no one had asked for because it was a matter of a day or two of work.

I was going to tease you after a post you made that said, "It can't be done."

I happen to think that a synthetic "golden" reference is possible.  I think the mathematics will be a considerable amount of work, but I think ti can be done.
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
This is really very interesting.

An additional comparator tracks the zero mean output of a physical noise source which has been low pass filtered so that the maximum frequency is less than the time required to read the word, fetch the count at that address, increment it and store it.  At every clock tick on the GPIO bus, you read the random noise comparator.  If it is high you read the phase word and increment the appropriate counter.

So, in effect, you end up sampling on average at half the GPIO clock rate with a lot of what I'd call jitter or spread, right?


The simple answer is yes, except it would be at the full  GPIO clock rate, not  half..    I treated much related to this in the other thread earlier this monring.

The data rate and volume are problematic.  There is also the question of resolving variations in phase noise over a cycle as described by the term cyclostationarity with which this all began.

It seems to me that if we multiply one of the 8 oscillators up to a high order harmonic and then use that with a counter to select narrow sampling windows over the course of a cycle we can resolve statistics with very fine granularity. However, absent an analysis of that operation I cannot say if that adds any new variables to our system of equations.  If it does, then the computational complexity goes up a good bit.

There are alternate implementations which need to be considered.  For example, using a quadrature mixer to generate IQ streams at baseband.   A possibility would be to have a 1:4 frequency multiplier (more variables) and then pairwise use one oscillator multiplied by 4x as the sampling clock for a Tayloe mixer (more variables) and another oscillator as the signal.

In the implementation I outlined in the other thread using ADCMP581s I neglected to account for jitter in the comparator responses.  This suggests to me that we might need a switch matrix to get enough equations to account for the comparator error contribution.

To restate the fundamental questions:

Is there a physical configuration which will resolve all the errors in a reference oscillator without requiring a golden reference?

Has such a configuration been discovered yet?
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Here's a short example of the demodulated IQ from my light scattering apparatus:

https://youtu.be/PtoO8QIEndI

The dominant noise is due to random diffusion of 150nm diameter particles. The line broadening in the Doppler spectrum is of the order of 10Hz. Buried in there is a periodic phase change of amplitude 10mrad and frequency ~500Hz. The phase difference function averages the noise to zero allowing the amplitude of the periodic phase change to be determined with high confidence and fidelity.
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: ro
The principal figure of merit for a clock is that at various times in the future it is correct.  This requires in turn  a high degree of frequency stability.  So long as the phase noise is zero mean over the shortest period you wish to measure with the clock and this holds true over the full range from the shortest to the longest, the phase noise is irrelevant to time keeping.

That makes sense.



The claim in bold is false.

In a clock, the oscillator's phase noise will accumulate over time as an imprecision in time keeping, even if the average value of the phase noise is zero.

I did not make the statement in bold.   My statement was a sentence with an important constraint which you wish to ellide and then claim I am wrong.   I included that constraint precisely because the statement in bold is false.

Would you please show mathematically why a clock meeting the constraint I imposed would lead to an accumulation of errors?  I shall be very interested in your argument (aka mathematical proof).

By clock, I will understand a time keeping device.

As an example, let's consider a clock made from an oscillator followed by a counter.  The counter will count the number of oscillations.  By reading the counter, we can measure time.

To simplify this thought experiment, let's consider a square wave oscillator followed by a digital counter that counts the number of rising edges.

By phase noise, will understand the next rising edge of the oscillator arrives to the counter slightly faster, or slightly delayed, than expected from an ideal oscillator (ideal as in constant frequency and no phase noise).


For the first case, let's consider the clock has an ideal oscillator: constant known frequency, and no phase noise.  We can measure the time by reading the counter, and compare the number with another reference clock.  The maximum error will be +/-1 count.  This error will never increase with time, because we assumed our oscillator is ideal, and the reference clock is also ideal.

Now, let's add some phase noise.  Let's say we have a true random numbers generator that generates only -1 and +1, with 50/50 chances.  The average of many random numbers will converge to zero.  We will generate a random number for each oscillator's period.  If the random number is +1, we artificially move the rising edge of the oscillator to the right (let's say +1us).  If the random number is -1, we move the edge to the left (-1us).

On average, the period of the oscillator stays the same, because our random +/-1 has exactly 50/50 chances.

At the first look, we will be tempted to say that our clock will not be affected, because the average frequency of the oscillator stays unchanged, but this is NOT true: the clock will be affected.  The later we read our clock (counter) the more erroneous readings we get.  That phase noise accumulates with time.

To understand why, we need to consider the worst possible scenarios.  Let's say we read the counter after 100 rising edges.  The worst possible error will be +100 or -100us.  If we read the counter after 1000 edges, then the worst possible result will be +1000us or -1000us.

For an oscillator with white phase noise, the errors will have a Gaussian distributtion.  The bell of errors is always centered on zero, but the shape of the bell goes wider and wider in time, and that's because of that zero mean phase noise.

In conclusion, measurement errors caused by phase noise increases with time.

This will affect the time keeping (for either long or short time), as well as any phase measurement of the oscillator.  The later we measure, the bigger the errors.



Here is an experiment to check the above conclusion:
- We have a DDS generator (Rigol DG4102) and an oscilloscope (Rigol DG1054Z), each with their own internal oscillator, and their own phase noise
- the DDS generates pulses of 10ns at each 500ms
- the oscilloscope visualizes the pulses in 3 situations:
1. First pulse, at the trigger moment (video between minute 00:07 and 00:10)
2. The second pulse, at 500ms after the trigger moment (video between minute 01:57 and 03:10)
3. Third pulse, at 1s after the trigger moment (video between minute 00:35 and 01:43)

The blue, orange and red spikes are only some fixed markers. They are just as references. Ideally they should be only one spike in the center of the grid, but they have different positions because of some small difference in frequency between the DDS and the oscilloscope's oscillators.

The useful signal (the 10ns pulse) is the green trace.

The video is unedited, so please look only at the specified moments, and ignore the periods where I was changing the oscilloscope's settings.

In case 1, the pulse is stable, in case 2, the pulse WIGGLES around the 500ms mark, in case 3, the pulse wiggles EVEN MORE around the 1 second mark. The errors increases with time.





Of course this error accumulation caused by the phase noise can be alleviated buy averaging repeated measurements, but repeating the measurement is not always possible.  Even if it were, the effect of phase noise is still important in order to decide how many measurements we need to average.

Now, all these are nothing more than my own intuitive explanation, using only time domain and common sense about probabilities. I still didn't provide a mathematical demonstration.  Probably that would be to demonstrate the Central Limit Theorem, but then I will just copy/paste, and it will still make no sense without all the above.
 
The following users thanked this post: dnessett

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
For an oscillator with white phase noise, the errors will have a Gaussian distributtion.  The bell of errors is always centered on zero, but the shape of the bell goes wider and wider in time, and that's because of that zero mean phase noise.

In conclusion, measurement errors caused by phase noise increases with time.

I cannot agree with this. The descriptive statistics such as mean and standard deviation for a truly stochastic process t are temporally invariant.

In the video in my preceding comment shows phase noise with a Gaussian distribution. Whether I measure that distribution for 1s, 1min or 1hr, I get the same standard deviation. There's a whole industry of nanoparticle sizing that exploits that.

Perhaps this difference is down to the relative timescales.
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
See attached
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: ro
JohnnyMalaria, my long answer was just because of the rhb's request to justify why I don't agree with his affirmations. Maybe I misunderstood the context.

In my experiment, the phase noise is also constant in time, but measurements of absolute time (or phase) became in time more and more spread around the mean expected value. For my experiment, the phase noise was leading to a jitter that was increasing in time. The experiment was replicated twice, with more precise instruments (Waverunner HRO 64Zi and 33220 generator, and with a Tektronix MDO3104 and its internal probe compensation oscillator), so I think the increasing seen jitter was not just an artifact of my cheap Rigol instruments.

I looked at the PDF you attached, but only briefly browsed it, so I couldn't say I understood the meaning of your oscilloscope video.

Anyway, if what I was talking about does not affect your type of measurement, then sorry for the offtopic.


« Last Edit: June 20, 2018, 09:15:35 pm by RoGeorge »
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
I looked at the PDF you attached, but only briefly browsed it, so I couldn't say I understood the meaning of your oscilloscope video.

Anyway, if what I was talking about does not affect your type of measurement, then sorry for the offtopic.

It's not a problem - this is very interesting for me since it takes something I'm used to in one discipline and compares it to something very similar in other but obviously with very different application and challenges.

Briefly, the phase noise in the video clip is due to randomly diffusing particles in a liquid scattering laser light. The phase of the scattered light depends on the location of the particles resulting in the 2D random walk on the scope (the X and Y scope channels are the I and Q demodulated signals from the photodetector). The particles are electrically charged and subject to an alternating electric field. This motion contributes a sinusoidal phase change which you would call periodic phase noise (?). However, it is very small and impossible to discern by eye but the data processing algorithm pulls it out very readily.

I assume that for what you would consider clocks or oscillators that gaussian noise isn't that dominant over period phase noise compared to my case??
 

Offline tomato

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us

Briefly, the phase noise in the video clip is due to randomly diffusing particles in a liquid scattering laser light. The phase of the scattered light depends on the location of the particles resulting in the 2D random walk on the scope (the X and Y scope channels are the I and Q demodulated signals from the photodetector). The particles are electrically charged and subject to an alternating electric field. This motion contributes a sinusoidal phase change which you would call periodic phase noise (?). However, it is very small and impossible to discern by eye but the data processing algorithm pulls it out very readily.

I assume that for what you would consider clocks or oscillators that gaussian noise isn't that dominant over period phase noise compared to my case??

Your technique is very interesting, but I don't understand why you refer to "periodic phase noise."  It isn't noise; it's a signal arising from the application of an AC electric field, and it's frequency and amplitude are largely determined by the experimenter.  It isn't really appropriate to equate it to the underlying phase noise of an oscillator.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Your technique is very interesting, but I don't understand why you refer to "periodic phase noise."  It isn't noise; it's a signal arising from the application of an AC electric field, and it's frequency and amplitude are largely determined by the experimenter.  It isn't really appropriate to equate it to the underlying phase noise of an oscillator.

To be honest, the terminology is a mess - part of the joys of interdisciplinary discussion :)

I have usually referred to it as periodic phase variation/variability but I keep seeing it referred to as period phase noise, too. I'm still trying to get a grip on the terminology used in your area.

What I really call the different contributions to the signal are collective oscillatory motion and random motion. There is a third collective linear motion, too, due to phenomena such as settling or convection. There are a few millions of particles each contributing to the phase. It is assumed that they all move with the same velocity in the applied field, hence collective. Each particle contributes individually to the random noise. The phase difference function, f(tau), simple calculates the phase difference (duh!) across one cycle of the electric field many times starting at a fixed point on the field, t0. i.e., f(tau) = <phi(tau + t0) - phi(t0)>. In the original version of this technique, the phase difference is weighted by the amplitude of the signal, too. This is to compensate for when the amplitude goes to zero at which point phi is indeterminate. Today I don't bother since for my experiments I get less noisy phase difference functions without the amplitude weighting. The signal very rarely approaches zero amplitude. The phase structure function is f(tau) = <[phi(t + tau) - phi(t)]2> (i.e, the second moment of the phase difference) It isn't synchronized with the field and the random noise does contribute. Because it isn't synchronized you don't need a priori knowledge of the frequency (which you do need for the difference function) and, hence, you can determine the frequency as long as the random noise isn't too dominant. The structure function can be constructed synchronously but the equation is a bit more complicated.
« Last Edit: June 21, 2018, 12:07:54 am by JohnnyMalaria »
 

Offline dnessett

  • Regular Contributor
  • *
  • Posts: 242
  • Country: us

By clock, I will understand a time keeping device.

As an example, let's consider a clock made from an oscillator followed by a counter.  The counter will count the number of oscillations.  By reading the counter, we can measure time.

<Elided explanatory text>


Your explanation was concise, clear, coherent and very helpful. However, I have a couple of questions.

1. In Figure 3 in Rutman and Wall's paper Characterization of Frequency Stability In Precision Frequency Sources, which compares the traditional standard deviation of fractional frequency data with the "performance of practical frequency sources", there is a knee, above which the traditional SD and "practical performance" are identical. They diverge after log(tau) increases to a particular value, not indicated on the figure. From your explanation, one would surmise that traditional SD and the "practical" clock SD would diverge rather quickly. Do you have any insight why this doesn't appear to be true in that figure?

2. One problem I have with Allan Variance is no one has yet clearly articulated what you do with it. Here is a fictional, and I freely confess satirical, story that illustrates my concern. I am offering this not to offend anyone, but rather in an attempt to get my point across in a way that I have not yet succeeded using conventional arguments.

Suppose I have a next-door neighbor who just bought a new car. I see him in his front yard and say,

"Hi neighbor, I see you just bought a new car."

He replies, "Yep, its a beaut. I looked at quite a few models before selecting this one and I am very happy with my choice."

"Yes, I see that. But tell me, what convinced you to select this one?"

"Oh, there were many reasons, but the principle one was that it has a BiddleyBoop rating of 1.4*10^-11."

I am a bit puzzled and say, "A BiddleyBoop rating, huh? What exactly is that?"

He smiles and says, "It is a way to characterize the superiority of one car over another."

I am even more puzzled and say, "Uh huh, Uh huh. But, how does it relate to your driving experience?"

He frowns and says, "Well, the other models I looked at had BiddleyBoop ratings on the order of 10^-10, so the driving experience they deliver is inferior."

I am now completely confused and say, "But, how does a BiddleyBoop rating on the order of 10^-10 mean that those cars provide an inferior driving experience when compared to the model you bought?"

My neighbor looks at me like I am somewhat retarded and says, "Isn't it obvious? The model I bought is over 10 times better than the other models as measured by their BiddleyBoop ratings."
« Last Edit: June 21, 2018, 08:26:50 pm by dnessett »
 

Offline tomato

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us

1. In Figure 3 in Rutman and Wall's paper Characterization of Frequency Stability In Precision Frequency Sources, which compares the traditional standard deviation of fractional frequency data with the "performance of practical frequency sources", there is a knee, above which the traditional SD and "practical performance" are identical. They diverge after log(tau) increases to a particular value, not indicated on the figure. From your explanation, one would surmise that traditional SD and the "practical" clock SD would diverge rather quickly. Do you have any insight why this doesn't appear to be true in that figure?

  Figure 3 does show them diverging.

Quote
2. One problem I have with Allan Variance is no one has yet clearly articulated what you do with it. Here is a fictional, and I freely confess satirical, story that illustrates my concern. I am offering this not to offend anyone, but rather in an attempt to get my point across in a way that I have not yet succeeded using conventional arguments.

Suppose I have a next-door neighbor who just bought a new car. I see him in his front yard and say,

"Hi neighbor, I see you just bought a new car."

He replies, "Yep, its a beaut. I looked at quite a few models before selecting this one and I am very happy with my choice."

"Yes, I see that. But tell me, what convinced you to select this one?"

"Oh, there were many reasons, but the principle one was that it has a BiddleyBoop rating of 1.4*10^-11."

I am a bit puzzled and say, "A BiddleyBoop rating, huh? What exactly is that?"

He smiles and says, "It is a way to characterize the superiority of one car over another."

I am even more puzzled and say, "Uh huh, Uh huh. But, how does it relate to your driving experience?"

He frowns and says, "Well, the other models I looked at had BiddleyBoop ratings on the order of 10^-10, so the driving experience they deliver is inferior."

I am now completely confused and say, "But, how does a BiddleyBoop rating on the order of 10^-10 mean that those cars provide an inferior driving experience when compared to the model you bought?"

My neighbor looks at me like I am somewhat retarded and says, "Isn't it obvious? The model I bought is over 10 times better than the other models as measured by their BiddleyBoop ratings."

You left out the part where your neighbor handed you multiple articles about BiddleyBoop ratings, including several written by Mr. Biddley himself.
 

Offline thermistor-guy

  • Frequent Contributor
  • **
  • Posts: 372
  • Country: au
...
You left out the part where your neighbor handed you multiple articles about BiddleyBoop ratings, including several written by Mr. Biddley himself.

As a timenut novice, I found the BiddleyBoop article on Wikipedia helpful, particularly section 2 on interpretation of value.
https://en.wikipedia.org/wiki/Allan_variance
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: ro
I assume that for what you would consider clocks or oscillators that gaussian noise isn't that dominant over period phase noise compared to my case??

Indeed, terminology can vary widely. I can see now why you used "phase noise" in the title, but before I thought you were meaning something else. So now, I'm not sure I understand your question. Also you seem to need the waveform of the photodector in order to find both the phase and the amplitude of each spectral component, yet you are saying you use a Spectrum Analyzer to read the photodetector. By Spectrum Analyzer I understand a device that is not aware of the signal's waveform, an SA does not know the phase of each spectral component, an SA knows only the amplitude information. An SA can not give I and Q.

To avoid all these, I found another way of describing the accumulation of errors we didn't agree before. This time in just one small paragraph, without specialized terminology:

Imagine you want to walk on an alley. Straight line, one direction only, one step at a time. Your step is about one foot. To be more precise, 1 foot +/1 inch. Now, start walking 120 steps. How far are you now? In average, you will be 120 feet away from the starting point, but because of those +/- 1 inch at each step, you could be anywhere between 110 and 130 feet. The error is +/- 120 inch (+/- 10 feet). But if you walk 1200 steps, then the error could be +/-1200 inch (+/- 100 feet). That is the accumulation I was talking about.

1 feet, would be the equivalent of the average frequency (for my oscillator)
+/-1 inch, would be the equivalent of a phase noise of my oscillator
120 feet, for my clock (note clock is not the same as oscillator, a clock is made from an oscillator and a counter, so a time keeping device) would be value found in my counter (aka what hour shows your clock?)
110...130 feet would be the real time (the time indicated by an ideal clock)

Does this accumulation affect your measurement? I don't know, you tell me.  ^-^

In the meantime I spent about one hour reading your PDF thesis (I am only at 3.5.5. now - about half of the document). Very interesting reading. For now, the various techniques you described seem to converge to a sort of Laser Doppler Vibrometry scanning, and you want to study small moving particles during an electrophoresis process (in contrast with the study of a macroscopic vibrating object, like in vibrometry).

From now on, expect from me more question than answers.  ^-^

So far, the device looks like an interferometer to me. Since the paths for both rays of light are roughly the same length, I guess you won't care much about the phase noise in the laser source. In the walking analogy, that would be like making no steps at all (because ideally the interferometer arms are identical). So, with no sample to analyze you should see no signal. In reality, the arms are not exactly the same, so you might see some noise because of the laser phase noise (accumulated because of the differences in the 2 light rays' length). Since I have no experience with lasers, no idea how big this noise would be for your setup.

About electrophoresis, I know basically nothing, so I will assume your setup is with some calibrated gel and a DC passing current. In my understanding, this setup is to separate particles (or DNA chunks) by their sizes (the smaller particles moves faster through the gel, so smaller chunks of DNA will travel longer in a given time). Please correct me where I'm wrong.

The first question is why do you use AC instead of DC in the electrophoresis process? What advantages does the AC brings to you? Does the particles still migrate (with time) in one direction only, like in DC gel electrophoresis?

I'm not sure yet what the photodetector reads: it reads only the beating effect between the reference light and the Doppler shifted light (you mentioned somewhere that the non-linearity of the photo sensor acts as a mixer in a heterodyne), or it reads the integral of interference fringes that are moving over the surface of the detector, or both?

« Last Edit: June 22, 2018, 10:12:57 am by RoGeorge »
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: ro
I have a couple of questions.

Glad you liked the explanation, thank you. Don't know about the paper you linked, and I have no time for it right now. Maybe it seems a contradiction because I didn't explained well enough. In the meantime I found a more simple way to say why the error range increases, and in what situation (see the paragraph with "1 step = 1 foot +/1 inch" from my previous post).

About the Allan variance. I never used it, but I'm sure there might be a reason for its existence, so don't assume it's useless.

Offline dnessett

  • Regular Contributor
  • *
  • Posts: 242
  • Country: us
About the Allan variance. I never used it, but I'm sure there might be a reason for its existence, so don't assume it's useless.

For someone who hasn't used it, you certainly did a better job explaining its necessity that those who, at least by the tone of their posts, presume themselves to be experts.

With your indulgence, I would like to summarize the situation in broad terms and welcome your comments. Oscillators can be used in a number of applications, some of which are time-keeping, doppler radar, and spread spectrum communications, to name a very few. Allan variance is important in time-keeping because the errors inherent in oscillator frequency fluctuations accumulate over time when the oscillator drives a counter, implementing a clock. However, in applications such as doppler radar and spread spectrum communications, this is not the case. Using your analogy of an alley, for these applications you take a few steps, use the measurements you make in that interval, and then return to the starting point for the next round. Long-term oscillator errors don't accumulate, since you are not integrating the frequency fluctuation averages over a long period of time.
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
I assume that for what you would consider clocks or oscillators that gaussian noise isn't that dominant over period phase noise compared to my case??

Indeed, terminology can vary widely. I can see now why you used "phase noise" in the title, but before I thought you were meaning something else. So now, I'm not sure I understand your question. Also you seem to need the waveform of the photodector in order to find both the phase and the amplitude of each spectral component, yet you are saying you use a Spectrum Analyzer to read the photodetector. By Spectrum Analyzer I understand a device that is not aware of the signal's waveform, an SA does not know the phase of each spectral component, an SA knows only the amplitude information. An SA can not give I and Q.


When I started my PhD I inherited a spectrum analyzer along with the laser + optics mounted on a rail and balanced on motorbike innertubes. Really. After months of trying to get anything meaningful I tried a different approach which involved an expensive lock-in amplifier to demodulate the detector signal and, hence, get at the amplitude and phase. Today, I actually do both the spectral analysis and the phase analysis simultaneously on the same detector signal. Each data analysis method has its pros and cons and together can give a lot of insight into the properties of my sample.

Quote
To avoid all these, I found another way of describing the accumulation of errors we didn't agree before. This time in just one small paragraph, without specialized terminology:

Imagine you want to walk on an alley. Straight line, one direction only, one step at a time. Your step is about one foot. To be more precise, 1 foot +/1 inch. Now, start walking 120 steps. How far are you now? In average, you will be 120 feet away from the starting point, but because of those +/- 1 inch at each step, you could be anywhere between 110 and 130 feet. The error is +/- 120 inch (+/- 10 feet). But if you walk 1200 steps, then the error could be +/-1200 inch (+/- 100 feet). That is the accumulation I was talking about.

1 feet, would be the equivalent of the average frequency (for my oscillator)
+/-1 inch, would be the equivalent of a phase noise of my oscillator
120 feet, for my clock (note clock is not the same as oscillator, a clock is made from an oscillator and a counter, so a time keeping device) would be value found in my counter (aka what hour shows your clock?)
110...130 feet would be the real time (the time indicated by an ideal clock)

Does this accumulation affect your measurement? I don't know, you tell me.  ^-^

My signal is quite similar to an audio signal. There is the modulation frequency due to the frequency difference between the laser "arms" - imagine a few kHz steady tone. The random diffusion is hiss and the phase oscillation is weak tremolo. I typically sample at a few kHz over a 1 second window and do this repeatedly for perhaps a minute. I only need say one part in a thousand accuracy which is quite a different realm than in the RF clock/oscillator world.

Quote
In the meantime I spent about one hour reading your PDF thesis (I am only at 3.5.5. now - about half of the document). Very interesting reading. For now, the various techniques you described seem to converge to a sort of Laser Doppler Vibrometry scanning, and you want to study small moving particles during an electrophoresis process (in contrast with the study of a macroscopic vibrating object, like in vibrometry).


Exactly. There are a lot of techniques derived from the same fundamental principle.

Quote
From now on, expect from me more question than answers.  ^-^

So far, the device looks like an interferometer to me. Since the paths for both rays of light are roughly the same length, I guess you won't care much about the phase noise in the laser source.

That's right. Purists say you need to calculate the phase coherence of the beam to figure out things like where to place focusing lenses etc. I don't bother. I just eyeball it and it works very well :)

Quote
About electrophoresis, I know basically nothing, so I will assume your setup is with some calibrated gel and a DC passing current. In my understanding, this setup is to separate particles (or DNA chunks) by their sizes (the smaller particles moves faster through the gel, so smaller chunks of DNA will travel longer in a given time). Please correct me where I'm wrong.

Electrophoresis is a general term that just means migration of charged particles/droplets in a fluid toward an electrode of opposite charge. For me, it is microelectrophoresis - just particles in a liquid, e.g., milk, paint etc.

Quote
The first question is why do you use AC instead of DC in the electrophoresis process? What advantages does the AC brings to you? Does the particles still migrate (with time) in one direction only, like in DC gel electrophoresis?


Gel electrophoresis requires a DC field since the goal is to separate the different species. For my method, there is a small volume that the detector observes, perhaps 1mm3. With a DC field the particles would migrate in one direction and eventually deplete the volume that the detector is looking at. Also, in the presence of salts, electrolysis can occur at the surface of the electrode causing highly undesirable chemical reactions, heating, turbulence etc. Using an AC field helps reduce these effects. The higher the frequency, the better the reduction but at a price. What I've built overcomes what many have been saying for decades is impossible. I can't go into the details in a public forum about that, though (IP and all that).

Quote
I'm not sure yet what the photodetector reads: it reads only the beating effect between the reference light and the Doppler shifted light (you mentioned somewhere that the non-linearity of the photo sensor acts as a mixer in a heterodyne), or it reads the integral of interference fringes that are moving over the surface of the detector, or both?

So there are two optical geometries that can be used but are mathematically equivalent. One resembles holography in a way. Light is scattered by the moving particles and picked up by the detector. A diffuse second 'reference' source of light (from the same laser) is directed to the detector. Hence, both heterodyne to give a signal containing all the Doppler shifts from each particle. However, this doesn't yield the direction of the motion. Hence, one of the sources of light is frequency-shifted relative to the other so that know a stationary particle would be seen to be a particle moving with a Doppler signal equal to the frequency shift between the two light sources. This is basically modulating the signal just as you would do with a lock-in amplifier so that subsequent demodulation would allow you to recover weak signals buried in a lot of noise. So, the detector signal is basically a gaussian (due to diffusion) centered around whatever the modulation frequency is plus whatever motion is occurring due to the electrophoresis. The other optical arrangement is conceptually easier to understand and is the one I use. The two light sources intersect in the sample forming interference fringes. Due to the frequency shift the fringes move. They "sweep" past particles and the light from the particles goes to the detector.

My question/interest

Hopefully, it's evident that the magnitude of frequencies, noise etc are quite different for my experiments than in the world of RF oscillators etc. I'd like to know if IQ data generated using the various ways I read on other threads could be processed with my analysis methods and differentiate between different oscillators. If so, would it help pragmatic selection given a choice of oscillators? Or maybe provide a simple way to characterize long-term changes in a given oscillator's performance? I say simple because implementation of the analysis method is straightforward. Does anyone have such IQ data that I could play with?
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Software defined radios (SDRs) will record IQ streams to disk for later playback.  The SDRplay RSP2 is quite capable and the price is pretty nominal.  It will accept a GPSDO reference input and goes to 2 GHz, so it's actually a very good choice for digitizing the output of an oscillator.  I should have mentioned that previously, but overlooked it.

The IQ signal is just another name for the analytic signal, so it should all be fairly familiar territory, or at least once was when you were working on your dissertation.

I'll try to work in collecting a bit of data for you.  Not sure I'll have time to set up the GPSDO, but I can reference it to my 8648C which has the high stability option and then record the 33622A signal which is at least 10x poorer as it is not equipped with the high stability option.  I was able to view phase shifts using Lissajous figures when comparing to the 8648C output.
 

Offline dnessett

  • Regular Contributor
  • *
  • Posts: 242
  • Country: us
As a timenut novice, I found the BiddleyBoop article on Wikipedia helpful, particularly section 2 on interpretation of value.
https://en.wikipedia.org/wiki/Allan_variance

I apologize for not responding to this sooner. In order to avoid hijacking this thread for a detailed discussion of Allan Variance, I have responded in a more appropriate place - here. JohnnyMalaria started this thread in order to discuss a topic that he originally posted in the another thread, specifically An advanced question - sampling an oscillator's signal for analysis. This was courteous and it would be discourteous of me to attempt to take-over his thread in order to discuss this topic. I invite you to respond to my comments in post referenced above.
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
A couple of comments related to previous posts:

Typical spectrum analyzers do not measure phase and so a vector network analyzer is used for phase measurements.  But that is a rather different sense of measuring phase.  The HP E4406A transmitter tester will display IQ constellations and some versions  have IQ baseband inputs.

Consider d(t) = a*t +e(t)  where a is a constant and e(t) is a random, zero mean Gaussian process.  By definition, the expected value of d(t) is a*t for all t.  While the error *is* accumulated, the expectation of the sum of e(t) over any period of time is zero.  If that is not the case, then e(t)  fails to meet the definition.  While  any integration of e(t) over some period will in general be non-zero, the errors will generally cancel.  Any measurement of d(t) will be a(t) to within the variance of e(t).

In short, if phase errors in a clock accumulate, then the error process is not zero mean. I included the constraint on being zero mean over the measurement period specifically to address the cyclostationary case.

Edit: Added statement with regard to variance of e(t)
« Last Edit: June 24, 2018, 12:49:06 pm by rhb »
 

Offline JohnnyMalariaTopic starter

  • Super Contributor
  • ***
  • Posts: 1154
  • Country: us
    • Enlighten Scientific LLC
Typical spectrum analyzers do not measure phase and so a vector network analyzer is used for phase measurements.  But that is a rather different sense of measuring phase.  The HP E4406A transmitter tester will display IQ constellations and some versions  have IQ baseband inputs.


I'm quite surprised at that. The SA I used 30 years ago (!) was a HP3582A dual-channel digital audio SA (0.02Hz-25.6kHz) from ~1979. It could measure both amplitude and phase. I tried but the data had to be transferred by GBIP and only once a sweep had finished - I wanted real-time. Also, the phase resolution was too low for my needs (10 degrees). I had to write a convincing justification for my impoverished UK university to buy a EG&G 5210 high end dual phase lock-in amp which is widely sought after today and considered the benchmark analog lock-in.






Amazing I can achieve the same two functions for less than $1000 now.


« Last Edit: June 24, 2018, 04:56:09 pm by JohnnyMalaria »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf