Thanks for the reply, my Chrony conf is below, however, my question is about the PPS signal BEFORE it gets to Chrony. If you look, my sat signal is way better than yours (#notacompetition) with 10 Sats of 40 or more s/n ratio and a quality of 2, and locked to 13, yet the PPS is poor.
My chrony config is quite capable of taking the GPSD feed at very good (ns) accuracies, so I believe the offsets are ok, but then it just borks, and sits with this poor PPS for periods of time. A reboot of the Pis sometimes helps, but not always.
This is occurring across three separate Pis that all sit in the same cabinet, they are sharing an antenna with a splitter, maybe I have some interference issues?
server tick.meraka.csir.co.za offset 0.09 maxpoll 5 iburst
server tock.meraka.csir.co.za offset 0.09 maxpoll 5 iburst
server ntp.nat.ms maxpoll 5 iburst
driftfile /var/lib/chrony/chrony.drift
refclock PPS /dev/pps0 lock GPS
refclock SHM 0 offset 0.5 delay 0.2 refid GPS noselect
rtcsync
allow
# This directive specify the location of the file containing ID/key pairs for
# NTP authentication.
keyfile /etc/chrony/chrony.keys
# Uncomment the following line to turn logging on.
#log tracking measurements statistics
# Log files location.
logdir /var/log/chrony
# Step the system clock instead of slewing it if the adjustment is larger than
# one second, but only in the first three clock updates.
makestep 1 10
You gave an ill defined anecdote and a photo which hopefully isn’t intentionally deceptive. You probably should check if you need to terminate (or power) the fourth port on the splitter. A low quality signal (possibly from a bad skyview) might explain it, but I wouldn’t know a good one if you hit me with it.
Gary Miller with the gpsd project would probably help you. I think he would want you to run this script on all three pis. The outputs should look close to identical. Pastebin them if contacting via IRC or attach the to an email to the gpsd users mailing list after subscribing.
Don’t email him directly unless he asks you to probably as negotiating a consultation.
Thank you for the feedback and apologies for the ill defined anecdote.
Photo was intended to show the installation I have as part of a study as to whats wrong with my PPS, and I think that I will move over to the GPSD fora with this topic.
However, you have pointed out something that I could look at. I can confirm that skyview is not the problem, but perhaps the ability of the adafruit gps hat to power the antenna through the splitter may be a problem. I need to confirm what voltage and current the antenna draws and what the hat can put out.
Well, you seem to have put me in the right direction.
First I updated my raspberry pi to debian bullseye to get a more recent version of chrony, then I also manually install gpsd to ver 3.23, the combined effort seems to give better feedback in the results shown in gpsmon and also in chronyc clients.
When I use /dev/pps0 in chronyc.conf with more recent verion of chrony, I can see that reachability fluctuates, it gets to 377 stays there for 1 or 2 cycles then drops to unreachable, then repeats that cycle.
An ttyAMA0 device doesn’t seem a real RS-232 device to me.
Typical these are USB-devices that often use an RS-232-USB converter.
But they are not real RS-232 and as such they are unstable when being used as RS-232.
GPSD is better at getting the PPS signal via USB and very fast too.