GPS Module PMB-688 Time Sync Problem
I recently purchased two Polstar PMB-688 GPS Modules w/external antennas from Parallax. They are working beautifully and I am decoding the sentences from them using a pair of SX28's. The modules routinely pick up 6-9 satellites.
·
My eventual goal is to place these GPS modules at two different locations, 60 miles apart, and use them to generate accurate synchronized time-stamps for some data. Actually I would be happy if the time-stamps were synchronous within +-10 ms.
·
My initial thought was to use the 1 per second sentences from the GPS modules to reset accurate 100Hz counters. The GPS modules would give me the hrs/min/secs and the counters would provide the sub-second count.
·
Today I have two breadboards, each containing a GPS module and an SX28, setting side-by-side on the bench. Each SX28 watches the 4800 Hz data stream from its module and puts out a short sync pulse when the S/W sees the start bit of the "$" in the $GPGGA sentence. A 2 channel scope is used to compare the sync pulses from the two breadboards.
·
Problem: I see a jitter and/or offset of +-50ms between the two sync pulses. Since each byte is about 2ms, that would be equal to 50/2 = 25 bytes? What is going on? I see lots of commercial units that claim to have a +-100ns accuracy, but they are too expensive for me.
·
Is there a different place in the data stream that is in perfect synchronization?
What am I missing?
·
Thanks.
·
Dave G.
Apple Valley, CA
·
My eventual goal is to place these GPS modules at two different locations, 60 miles apart, and use them to generate accurate synchronized time-stamps for some data. Actually I would be happy if the time-stamps were synchronous within +-10 ms.
·
My initial thought was to use the 1 per second sentences from the GPS modules to reset accurate 100Hz counters. The GPS modules would give me the hrs/min/secs and the counters would provide the sub-second count.
·
Today I have two breadboards, each containing a GPS module and an SX28, setting side-by-side on the bench. Each SX28 watches the 4800 Hz data stream from its module and puts out a short sync pulse when the S/W sees the start bit of the "$" in the $GPGGA sentence. A 2 channel scope is used to compare the sync pulses from the two breadboards.
·
Problem: I see a jitter and/or offset of +-50ms between the two sync pulses. Since each byte is about 2ms, that would be equal to 50/2 = 25 bytes? What is going on? I see lots of commercial units that claim to have a +-100ns accuracy, but they are too expensive for me.
·
Is there a different place in the data stream that is in perfect synchronization?
What am I missing?
·
Thanks.
·
Dave G.
Apple Valley, CA
Comments
Thanks, Toby
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Or maybe some else will chime in with some tricks?
Thanks for your advice regarding 1pps output devices.
After a little research I found just what I needed and ordered a pair of Garmin GPS 18x LVC receivers. I got them from Amazon, for $68 each, in two days.
These units put out the usual sentences but they also have a separate wire that outputs a pulse that is precisely sync'd to the atomic clocks of the GPS system, within +-1us. Good enough for my application.
I have them hooked up on the bench and the scope shows the pulses to be well within spec. Very sweet!
Thanks again.
Dave G.