Author Topic: Frequency offset between GPS receivers!?  (Read 7004 times)

0 Members and 1 Guest are viewing this topic.

Offline fourfathom

  • Super Contributor
  • ***
  • Posts: 1878
  • Country: us
Re: Frequency offset between GPS receivers!?
« Reply #25 on: April 18, 2021, 01:43:12 am »
The measurement was taken at a latitude of 52 degrees north so GPS coverage isn't optimal to begin with.

Why is your latitude a problem?  Looking at the GPS satellite constellation it looks like good global coverage.
We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 803
  • Country: gb
Re: Frequency offset between GPS receivers!?
« Reply #26 on: April 18, 2021, 07:55:58 am »
It seems the accepted method for a GPSDO is to let the GPS receiver survey in for 24 hours to determine its position, have it operate in fixed position mode and then measure for at least 48 hours in order to have 2 earth (and satellite) rotations and get a rough estimate. The people I work with usually do stability tests for a minimum of 10 days. Unfortunately I can't share the 4 day chart but looking at it the same pattern -sort of- repeats every 24 hours. The measurement was taken at a latitude of 52 degrees north so GPS coverage isn't optimal to begin with.
I'd like to see some visual performance plots from bad, average and the best receivers.
I have tested two Ublox series 8 FW 3.01 based oscillators, gave them 2-3 hours to settle (oscillator PLL loop BW was set to about 1Hz) with two magnetic puck antennas in a living room.  After 8 hours run I had peak-to-peak phase drift 6ns and average frequency drift 1.3E-13.
Of course, they both might have identical systematic frequency error but at least they don't diverge too much between themselves.
Leo
P.S. My lattitude is 52.1N
« Last Edit: April 18, 2021, 07:57:35 am by Leo Bodnar »
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 803
  • Country: gb
Re: Frequency offset between GPS receivers!?
« Reply #27 on: April 18, 2021, 08:13:46 am »
Why is your latitude a problem?  Looking at the GPS satellite constellation it looks like good global coverage.
DOP is actually slightly better (lower) for middle lattitudes between 50 and 60, but only marginally so. As to anecdotal confirmation - I flew a balloon fitted with Ublox series 8 GPS tracker and it passed within 9km from the North Pole. Number of GPS satellites in the solution was 12-13 while, typically, down in middle lattitudes it only had 9-10.  Could be due to antenna polarisation or man-made RFI - who knows, but GPS was happy.
Leo
 

Offline MIS42N

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: au
Re: Frequency offset between GPS receivers!?
« Reply #28 on: April 18, 2021, 08:39:00 am »
The measurement was taken at a latitude of 52 degrees north so GPS coverage isn't optimal to begin with.

Why is your latitude a problem?  Looking at the GPS satellite constellation it looks like good global coverage.
The satellites are orbiting on planes inclined to the equator around 60 degrees (slightly different for the different countries) so a receiver located 60 degrees north would see most satellites either overhead or to the south. If the receiver was positioned on a north facing wall, it would be dealing with satellites further away and probably less of them.

I found this out running VisualGPS overnight to see my receiving window. I live approx 30 degrees south, there was a big scallop out of the window to the south. There aren't any obstructions so I did a bit of research, and this was the explanation. 
 
The following users thanked this post: nctnico

Offline nctnicoTopic starter

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: Frequency offset between GPS receivers!?
« Reply #29 on: April 18, 2021, 11:21:29 am »
It seems the accepted method for a GPSDO is to let the GPS receiver survey in for 24 hours to determine its position, have it operate in fixed position mode and then measure for at least 48 hours in order to have 2 earth (and satellite) rotations and get a rough estimate. The people I work with usually do stability tests for a minimum of 10 days. Unfortunately I can't share the 4 day chart but looking at it the same pattern -sort of- repeats every 24 hours. The measurement was taken at a latitude of 52 degrees north so GPS coverage isn't optimal to begin with.
I'd like to see some visual performance plots from bad, average and the best receivers.
I have tested two Ublox series 8 FW 3.01 based oscillators, gave them 2-3 hours to settle (oscillator PLL loop BW was set to about 1Hz) with two magnetic puck antennas in a living room.  After 8 hours run I had peak-to-peak phase drift 6ns and average frequency drift 1.3E-13.
Of course, they both might have identical systematic frequency error but at least they don't diverge too much between themselves.
Leo
The uBlox (+ external OCXO) compared to a Trimble GPSO showed a 50ns pp drift (with identical antennas on a metal plate under a wooden roof with no tall buildings around). With an antenna hanging on the outside of a building the comparison with the Cesium clock shows a 175ns pp drift. I think it is a reasonable assumption that two identical modules will drift the same amount if they see the same GPS signal. In both measurements I used a 1PPS derived from the frequency coming from the GPS module; not the 1PPS coming from the module itself.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline 3isenhorn

  • Contributor
  • Posts: 21
  • Country: de
Re: Frequency offset between GPS receivers!?
« Reply #30 on: April 19, 2021, 08:24:20 am »
Hi all,
I would like to join the discussion :D
So in my opinion a constant offset cannot be explained by different GNSS reception. Of course, an error is generated by different reception/processing chains, e.g. weighting. However, this should not be constant over a long period of time as satellites disappear or come out in view, so the processing difference should vary over time.
For my test I use a cheap antenna under a non-metal roof; the antenna should have a clear view of the entire sky. It is right next to the antenna of the GPSDO (which is always on). Also I did not configure the GPS receiver to GPS only but I'm not sure whether it is worth trying.

Have you tried using only GPS in the meantime? Since all GNS systems have their own reference time, could there be a problem when they are all combined to UTC, resulting in a constant offset?
 

Offline MegaVolt

  • Frequent Contributor
  • **
  • Posts: 917
  • Country: by
Re: Frequency offset between GPS receivers!?
« Reply #31 on: April 19, 2021, 08:43:38 am »
The classic GPSDO circuit consists of an ADC that controls an oscillator. The ADC has a minimum step. And perhaps it is this minimum step that gives the fixed error. We cannot set the signal to less than 1 LSB.
 

Offline MIS42N

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: au
Re: Frequency offset between GPS receivers!?
« Reply #32 on: April 19, 2021, 12:29:10 pm »
I just read through all the posts to see if we are still discussing frequency offsets or phase variations. My definition of a frequency offset is comparing two oscillators one will over time produce more cycles than the other. If one oscillator is 10MHz exact, and one is 10,000,000.0001Hz, then the second one will create an extra cycle in 10,000 seconds and an extra 8.64 cycles in a day. If the two oscillators are in phase at time t then they are 180 out of phase at t + 5000 seconds.

A phase variation in the short term looks just like a frequency offset. Take the same two oscillators, but after 5000 seconds change the 10,000,000.0001Hz to 9,999,999.9999Hz then after 10,000 seconds they both will have produced the same number of cycles. Flip the frequency every 5000 seconds and the two will produce the same number of cycles (+-half a cycle) over any period of time.

But, at 5000 seconds, and not knowing the control mechanism, one cannot tell if there's a frequency offset or a phase offset (at that moment it is of course both).  nctnico started off describing the problem as a frequency offset but since has talked of p-p differences of ns which is more the language of differences of phase. So I am looking for confirmation that nctnico is looking at the dynamic phase differences of oscillators and not long term frequency differences. Long term frequency differences in GPS disciplined systems just don't make sense (except if there is an error in implementation). Long term frequency differences do make sense when compared to rubidium or cesium clocks because they are not as good as the NIST clocks that are used to ensure the long term validity of the GPS system.

I believe all the GPS receivers mentioned are single frequency receivers (the L1 band) and therefore don't have the ionospheric correction capabilities of the dual band receivers. So it is no surprise the oscillators wander a small amount due to this. MegaVolt also mentioned the problem introduced by 'course' ADC control.

Which leads to the question, what is the aim. In developing a cheap GPSDO solution my target was to maintain the OCXO at 10MHz +- 0.01Hz. In discussions with a few people this is satisfactory for a reference for all the local amateur radio enthusiasts. I've achieved that. I believe an order of magnitude better (+-0.001Hz) can be achieved for not much more, but I haven't found anyone that says that is a requirement, just a nice to have. The next magnitude (+-0.0001Hz) is a bit of a hurdle, on paper it can be done for less than $200, but I haven't found anyone who wants it.

So are we really just a lot of aimless tinkerers? [my hand is slowly raised]
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 803
  • Country: gb
Re: Frequency offset between GPS receivers!?
« Reply #33 on: April 19, 2021, 02:26:35 pm »
Stability and accuracy often have different users: metrology mostly needs accuracy while applied practical use like HAM radio mostly needs stability.
Say, WSPR on 23cm (1.2GHz) band would have needed better than 1E-9 stability over 2 minutes if decoder wasn't tracking the drift (I think it does.)
This is 0.01Hz for 10MHz reference.  I don't know if this was a silly example or not but 1Hz drift on 23cm band is not science fiction.
Leo
 

Offline Melt-O-Tronic

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: us
  • Brilliant with a slaughtering iron in my hand!
Re: Frequency offset between GPS receivers!?
« Reply #34 on: April 19, 2021, 03:48:04 pm »
I'd like to throw a suggestion out here, even though I'm a newb and this thread is already full of posters I admire as "Titans Of Timing" (new term!) . . .

In comparing two GPS receivers to each other, it may be better to run them off the same active antenna with a low phase offset power divider close to the receivers.  That will minimize differences in feedlines and calculation differences arising from different antenna centers.  You only have to be concerned about which receiver is providing power to the antenna and make sure the other is AC-coupled without introducing more line length.  Or you could DC-block both receivers and power the antenna with a bias-T in the main line.  You may have to do this anyway if the splitter blocks DC (my Mini Circuits ZAP3D-2 does not block DC).

Also, if you lock both your receivers in position hold (timing) mode to the same coordinates, you'll get a better solution.  And if those coordinates are accurate to the true antenna position, the solution will be even better.

To that end, your M8F with Lady Heather can save RINEX files.  You can save captures up to 48 hours long and upload these files to NRCan's PPP tool on the 2nd Monday after your datasets are complete.  They will return to you a full post-processing analysis with a computed centroid.  If you lock both your receivers to this coordinate, you'll have a great solution.

I find the PPP output to be far better than the self-survey.  And averaging numerous PPP batches over several months is even better, especially if you have mild OCD.   :D
 

Offline MIS42N

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: au
Re: Frequency offset between GPS receivers!?
« Reply #35 on: April 19, 2021, 10:02:30 pm »
Stability and accuracy often have different users: metrology mostly needs accuracy while applied practical use like HAM radio mostly needs stability.
Say, WSPR on 23cm (1.2GHz) band would have needed better than 1E-9 stability over 2 minutes if decoder wasn't tracking the drift (I think it does.)
This is 0.01Hz for 10MHz reference.  I don't know if this was a silly example or not but 1Hz drift on 23cm band is not science fiction.
Leo
Is a GPS locked 10MHz +- 0.01Hz offering both? I have been following these threads about GPSDOs for a few months and am still a little confused as to what people want to achieve. An oscillator locked to the GPS is always going to be accurate in the long term because the GPS is itself locked to the NIST standard long term. The GPSDOs I build use a microprocessor to count cycles and make sure that long term there is always 10M cycles per second.

Nobody seems to be that worried about the short term frequency. Graphs of peoples' DAC values show short term (seconds to minutes) changes, which are changes of frequency to bring the phase of the oscillator into agreement with the GPS. But the GPS itself is subject to short term excursions so I see these as unwanted artifacts of PLL control. Am I alone in this thought? Where people are seeing phase differences between GPSDOs is simply variations in the way each GPSDO tackles the mismatch between OCXO and GPS. If the GPS was free of short term variations then there is no reason to have anything more than a constant phase difference between GPSDOs due to delays in the different systems.

Or am I missing something?
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 803
  • Country: gb
Re: Frequency offset between GPS receivers!?
« Reply #36 on: April 19, 2021, 11:52:35 pm »
An oscillator locked to the GPS is always going to be accurate in the long term because the GPS is itself locked to the NIST standard long term.
Don't take it for granted - in the long term we are two dead people, but short term this does not stop us talking.  Similarly, phase undulations can't be decoupled from frequency stability if your gate time is finite.  If your antenna cable is slowly saturating with mositure and its velocity factor slowly varies or your phase detector threshold moves due to aging components - does it cause output phase drift or constant frequency offset?  To some people it's an academic problem and to some - a real issue.
Leo
 

Offline MIS42N

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: au
Re: Frequency offset between GPS receivers!?
« Reply #37 on: April 21, 2021, 07:42:43 am »
An oscillator locked to the GPS is always going to be accurate in the long term because the GPS is itself locked to the NIST standard long term.
Don't take it for granted - in the long term we are two dead people, but short term this does not stop us talking.  Similarly, phase undulations can't be decoupled from frequency stability if your gate time is finite.  If your antenna cable is slowly saturating with mositure and its velocity factor slowly varies or your phase detector threshold moves due to aging components - does it cause output phase drift or constant frequency offset?  To some people it's an academic problem and to some - a real issue.
Leo
You got me. In the real world, there is unlikely that anything be accurate. We compare things to the limit of our ability to do so, and give an estimate of uncertainty. I am interested in frequency, and at some stage one has to set a target and try to achieve it. I abandoned PLL as a method because I don't have a reference to compare against. Instead I determined the V/Hz relationship of the OCXO control voltage to frequency. Then a change of voltage can be interpreted as a change of frequency. Since all control voltage changes are intended to bring the frequency into agreement to the GPS it can be deduced the frequency was out by less than the Hz change required to bring the oscillator back to agreement.

To get an implied 10MHz +- 0.01 Hz the arrival times of 1pps from the GPS module is determined to the nearest 25ns. Cheap GPS module will introduce 30ns variability in this due to the GPS not having its own locked local oscillator. Apply a statistical best fit to a large number of these gives an average and a slope. The slope is the change of frequency relative to the average 1pps arrival allowing an estimate of the current deviation of phase at the end of the measurement period. Statistical averaging of a large number of readings reduces the uncertainty of the measurement. I choose a phase shift limit of 1-1/2 cycles over 256 seconds as a limit condition for implying meeting the target. If the frequency was at the limit it would be 2-1/2 cycles out, the extra cycle buffer is 100ns, and this is much more than the raw error (25+30ns), and statistically the averaged error would be around 12ns to 99% confidence.

This deals with the transfer of readings from GPS to uP but not errors in the GPS. Long term recording of GPS positions vary by about 5 meters, implying errors in calculated arrival time of 5/300us, say 15ns to be generous. Even with worst case deviations at beginning and end of measurement period the errors don't add up to the 100ns buffer.

This method does assume the OCXO is stable for the measurement period of 256 seconds, I think this is a reasonable assumption.

If the paradigm is pushed into longer and longer measurement periods there comes a time where stability of the OCXO becomes an issue. I have some evidence that this is a few hours. So a verifiable frequency within 1E-11 may be feasible.

If it were possible to control all the variables for 12 days, then the satellites themselves become the limiting factor. So my accurate becomes "accurate with 1E-14". Of course, if the aim is determining time accurately, rather than frequency, that introduces a whole new world of pain. I'm not going there.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14172
  • Country: de
Re: Frequency offset between GPS receivers!?
« Reply #38 on: April 21, 2021, 06:52:38 pm »
It is true that most systems have some error. However for the GPS freuquency the part that needs to be accurate is a frequency divider. A divider from some 10 MHz to 1 Hz (the 1pps signal as one option to implement an PGSDO) can be build with no error. In discrete logic it is actually difficult to make a small error there  :-DD.

The main idea with a GPSDO is to mix the short time (e.g. 30 minutes) stability/low jitter of the TCXO or similar and the long time stability and accuracy of GPS. So it is essentially a kind of slow PLL to slowly and robust (ignore signal drop out and simiar) trimm the oscillator to get the best of both. AFAIK the corss over between a good crstal oscillator and GPS reception is somewhere in the range of some 10 minutes to a few hours. Because of the relatively long time constant for the corss over the implementation is usually digital with a µC or similar and not as a classic analog PLL. A robust implementation (no excessive reaction to short large errors) is also much easier and better done digital.  I have not looked at the details, but I would consider the change in satelite configuration one of the more difficult parts to handle without much extra jitter. Getting the long time frequency right is more like the easy part.

It somewhat seems that the specific GPSDO circuit from the start of the thread did something wrong in the PLL / frequency divider implemented in a µC.
 

Offline MIS42N

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: au
Re: Frequency offset between GPS receivers!?
« Reply #39 on: April 22, 2021, 12:41:01 am »
It is true that most systems have some error. However for the GPS freuquency the part that needs to be accurate is a frequency divider. A divider from some 10 MHz to 1 Hz (the 1pps signal as one option to implement an PGSDO) can be build with no error. In discrete logic it is actually difficult to make a small error there  :-DD.

The main idea with a GPSDO is to mix the short time (e.g. 30 minutes) stability/low jitter of the TCXO or similar and the long time stability and accuracy of GPS. So it is essentially a kind of slow PLL to slowly and robust (ignore signal drop out and simiar) trimm the oscillator to get the best of both. AFAIK the corss over between a good crstal oscillator and GPS reception is somewhere in the range of some 10 minutes to a few hours. Because of the relatively long time constant for the corss over the implementation is usually digital with a µC or similar and not as a classic analog PLL. A robust implementation (no excessive reaction to short large errors) is also much easier and better done digital.  I have not looked at the details, but I would consider the change in satelite configuration one of the more difficult parts to handle without much extra jitter. Getting the long time frequency right is more like the easy part.

It somewhat seems that the specific GPSDO circuit from the start of the thread did something wrong in the PLL / frequency divider implemented in a µC.
I think most of us know this. See my post #19 this thread. Use oscillator as clock to uP, easy to count 10M between 1pps. Satellite transition is only a worry using PLL with short time constant. Since I don't use PLL and accept a noisy 1pps signal it has no effect.
 

Offline AndyFl

  • Newbie
  • Posts: 3
  • Country: gb
Re: Frequency offset between GPS receivers!?
« Reply #40 on: May 11, 2021, 02:17:48 pm »
A few years ago I came across an issue where several GPS modules (receiver built into antenna unit) were installed near to each other for basestations on a radio network.  They all had problems with stability and sometimes failed to lock reliably.

The solution was to separate the units by at least 2 metres from each other. It appears that they radiated on-frequency signals from the amplifiers (local oscillator?) which caused interference to each other.

Worth bearing in mind if you are comparing units side by side. 

Andy
 
The following users thanked this post: nctnico


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf