Author Topic: Lars DIY GPSDO with Arduino and 1ns resolution TIC  (Read 537902 times)

0 Members and 28 Guests are viewing this topic.

Offline ZigmundRat

  • Regular Contributor
  • *
  • Posts: 136
  • Country: us
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1275 on: July 25, 2026, 09:41:13 pm »
Good progress. Does it seem like it wants to lock now?
 

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1276 on: July 26, 2026, 09:55:06 am »
Good progress. Does it seem like it wants to lock now?

I'm still waiting for the HC160 to arrive to complete the build. Next week sometime!

Mike
 

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1277 on: July 29, 2026, 03:52:47 pm »
OK the PCB build is complete. There are two differences between it and the breadboard: the PCB uses a 74HC160 counter instead of the 74HC390 that Lars specified, and it has two voltage regulators whereas my breadboard had four. I can always add more if there is a noise problem.

The resistor network that restricts the tuning range is the same as before and on the PCB the frequency shift between DAC extremes is 1.13Hz, giving a gain of 580. This isn't far from the number that Lars suggested should work with a good OCXO.

I set the DAC to 32768 and adjusted the pot until the frequency error was zero (well 0.002Hz low). filtx10 was around 9800 so I set the TIC offset to 980.

Although it claimed to be locked I still got "Missing 10MHz" and the DAC never went below the 40000s. This was with the default TC=32.

I decided to use PaulV's method of determining the values of TICmin and TICmax which involved setting TC=4, and when I did this the Missing 10MHz went away. Having established and saved the values I set TC back to 32 and it has been locked ever since.

Curious behaviour, but it seems stable at the moment  :-+

My frequency counter is showing an error of -0.005Hz.

Mike
« Last Edit: July 29, 2026, 04:03:58 pm by Mike99 »
 
The following users thanked this post: Solder_Junkie

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1278 on: July 30, 2026, 08:55:15 am »
I ran it overnight with TC=4 and the resulting MDEV plot suggests an optimum TC of 600 so I will try that next.

Mike
 

Offline Solder_Junkie

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1279 on: July 30, 2026, 09:29:53 am »
Hi Mike

I just checked the setting of my Lars/Murray GPSDO (same board as Mike for anyone still following this thread).

F4 returns these settings:
TICmin = 120
TICmax = 1012
x2 = 100
TIC_Offset = 500
filterDiv = 2
warmUpTime = 400
damping = 600
tempRef = 280
tempCoeff = 0
dacValueOut = 34459
gain = 110
timeConst = 60
k = 48
 

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1280 on: July 30, 2026, 04:51:19 pm »
It's all gone wrong again after I switched it on again ...

The Missing 10MHz came back and even with TC=4 it won't lock.

I decided to reduce the gain by removing the resistor network. The measured tuning voltages were:

h1: 1.616V
h32768: 2.692V
h65535: 3.766V

The voltage range is therefore 2.15V and with my previously measured tuning sensitivity of 3.5Hz/V that equates to 7.525Hz, or a gain of 65535/752.5 = 87.

I entered this with TC=4 and default settings for the other parameters and now it looks like this:

2866762-0

It's very frustrating because I didn't have this problem five years ago when I built my first Lars design.

Any suggestions for what to look at would be gratefully received!!

Mike
 

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1281 on: July 31, 2026, 12:58:12 pm »
Running out of things to check here so I triggered my scope on the 1PPS signal and looked at the relationship to the 1MHz.

It seems to be drifting on successive triggers. Is that a clue to the problem?

Mike
 

Offline Solder_Junkie

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1282 on: July 31, 2026, 01:42:20 pm »
Mine steps back and forth the same, yet it is locked and working.

Dave (SJ)
 

Offline Mike99

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: gb
Re: Lars DIY GPSDO with Arduino and 1ns resolution TIC
« Reply #1283 on: July 31, 2026, 06:15:55 pm »
Mine steps back and forth the same, yet it is locked and working.

Dave (SJ)

Yes that does appear to be correct. I don't know why it took me so long, but adding an earth braid between the Arduino and TIC counter as previously suggested has stopped the Missing 10MHz ...  :palm:

Mike
 
The following users thanked this post: Solder_Junkie


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->