Posted in

How does a Time Server communicate with a GPS receiver?

If you’ve ever stood in our test lab at [Your Company Name] watching our engineers hook up a GPS receiver to one of our enterprise-grade time servers, you might’ve heard mumbles about PPS pulses, NMEA sentences, and RTCM streams. Most people hear “GPS time” and assume it’s just another app on your phone, but behind the scenes, every second that syncs critical infrastructure—cell towers, power grids, financial trading systems—depends on a tight, reliable conversation between two devices: the time server you design and sell, and a GPS receiver that listens for signals from orbiting satellites. As someone who’s spent 12 years building these systems, I get that this stuff can sound like black magic if you’re not deep in the weeds. Let’s break it down the way we teach new hires: no jargon first, no fancy equations, just how two computers (well, a computer and a specialized radio) talk to keep time accurate to within a billionth of a second. Time Sever

It starts with the GPS satellites—there are 31 operational ones right now, each zipping 12,550 miles above Earth at 8,700 mph, all broadcasting a tiny, coded radio signal 24/7. That signal isn’t just “Satellite 7, time is 10:00:00”; it’s a unique, repeating binary string that encodes two key things: the satellite’s exact position in space at any given moment, and the precise atomic clock time it’s maintaining (satellites have their own atomic clocks, way more stable than any we can put on Earth in a small, reliable box). When a GPS receiver sits outside our lab, pointed skyward, it locks onto at least 4 satellites within a few minutes—no line of sight to the sky, and it can’t get a solid fix, which is why we always tell customers to mount receivers where they can see 6 to 8 satellites for redundancy.

Now, the part that matters for our time servers: when the receiver locks onto those satellites, it doesn’t just get directions or a location. It pulls that satellite time, and then calculates its own precise location on Earth using the distance from each satellite (that’s the basic GPS trilateration math: time = distance / speed of light). Crucially, once it’s got that location, it knows exactly where it is relative to every satellite, so it can sync its internal clock to match the satellite network’s global time—called GPS Time, or GPST, which is the reference all our time systems tie to. Here’s where our time server enters the chat: the receiver isn’t just going to show GPST on a screen. It has to send that time data to our server, which then distributes that accurate time to all the devices that need it. The conversation happens over a few standard protocols, and this is where the quality of our time server (and why customers choose us over generic gear) makes all the difference.

The most common first conversation we set up is over a serial or USB port, used mostly for smaller deployments or test setups. The GPS receiver sends data in NMEA 0183 sentences—old standard, 82 characters per line, plain text, easy to parse. The key line here is the GGA sentence, which has the fix quality, number of satellites locked, and, most important, the UTC time synchronized to GPST. Wait, why UTC instead of GPST? Because UTC is the global time standard used for almost everything here on Earth, and GPST is just a reference that’s 18 seconds ahead of UTC (the offset that happens from leap seconds added over the years). Our time server’s software has a hardcoded, continuously updated offset for that, so it converts the satellite’s GPST to UTC correctly. But NMEA is slow and has delay—each line of text takes hundreds of milliseconds to send, which is too much for systems that need microsecond accuracy, like high-frequency trading or 5G small cells. That’s why our servers also work with a second, faster signal: the PPS, or Pulse Per Second, output from the GPS receiver.

Let’s talk about PPS, because this is the backbone of our high-precision time sync. Every GPS receiver that’s locked onto a satellite sends a sharp, 1-millisecond-wide electrical pulse every time the clock hits exactly 0 microseconds of a second—like a metronome that’s accurate to a billionth of a second. That pulse is a simple on/off signal sent over a dedicated wire between the receiver and our time server, no text, no waiting, just a instant trigger. Our server’s hardware (the FPGA chip we source specifically for this, not generic microprocessors) listens for that PPS pulse and pairs it with the timestamp it got from the NMEA data, or from a more modern protocol called RTCM. Here’s the tricky part: you have to account for the delay between the satellite sending the signal, it bouncing through the atmosphere, and reaching the GPS receiver. That delay varies depending on weather, the angle of the satellite, and even radio interference from local structures. Our time server doesn’t just take the PPS at face value—it calculates that propagation delay automatically, using data from the receiver and our own calibration algorithms, so the pulse we use is synced to GPST within 10 nanoseconds, max. That’s the kind of accuracy that keeps a $100M trading system from executing a millisecond late and costing its client millions.

For larger deployments, like a nationwide power grid or a global bank’s data centers, we use network protocols to connect GPS receivers to our time servers, instead of serial wires. The two most common here are NTP and PTP (Network Time Protocol and Precision Time Protocol, for those keeping score at home). Wait, NTP is what your home Wi-Fi uses to sync your laptop’s clock, right? Yep, but our enterprise NTP implementation is built to handle 100,000 requests a second, with latency corrected down to 10 microseconds, compared to a consumer router’s 10-millisecond latency. The GPS receiver sends time data over the local network to our server using NTP packets, which include the timestamp of when the pulse was received, and our server adjusts for network delay—this is called “offset correction,” and it’s why our time servers don’t drift even when the network is busy. For even tighter accuracy, we use PTP, sometimes called gPTP when it’s the IEEE 1588 standard. PTP works by having “master” clocks (our time servers, synced to GPS) and “slave” clocks (routers, servers, switches) that sync to them by measuring the exact time it takes for a packet to go from master to slave and back, correcting for that round-trip delay. A single GPS receiver connected to our PTP-capable time server can sync thousands of devices across a campus with accuracy under a microsecond, which is critical for 5G core networks that need to coordinate cell towers at that level.

I know what some of you are thinking: what if the GPS signal is lost? Does the conversation just stop? That’s the #1 question we get from customers, and it’s why we design our time servers with holdover mode. If the receiver can’t get a satellite signal (say, a temporary solar flare blocks it, or a construction crane cuts line of sight for an hour), our server doesn’t lose time. It has its own internal OCXO (Oven-Controlled Crystal Oscillator) that’s calibrated to the last GPS time it received, accurate to less than 1 microsecond per day—so it can keep syncing all connected devices without skipping a beat. We even do field tests where we cover the receiver with a metal box for 24 hours to prove that holdover works, and I’ve been on site where that exact scenario happened, with a hospital’s emergency room system still running perfectly because of that holdover.

A lot of time server competitors will sell you a box and a generic GPS receiver, but what sets our systems apart is how we optimize that conversation between the two devices. We’ve spent years tweaking the firmware to filter out noise from the GPS signal, to adjust for temperature changes that throw off the receiver’s clock, and to sync both NMEA and PPS data so we’re not missing a pulse or a timestamp. Last year, we worked with a major utility company in the Midwest that was having issues with time sync errors on their grid during thunderstorms—their existing setup’s GPS receiver was getting signal bounce off storm clouds, leading to delay errors. We upgraded them to our time server with a signal attenuation filter built into the receiver connection, and cut their sync errors by 98% in a single deployment. That’s not just code; that’s listening to what customers actually need, and refining the conversation between two devices so it works even when the environment is messy.

If you’ve got a deployment that needs time sync—whether it’s a small factory floor with 10 devices, or a global fintech with 10,000 servers—we can walk through how to set up the receiver, test the conversation between our time server and the GPS unit, and make sure you get the accuracy you need without overpaying for features you don’t. No black magic, just two specialized devices talking a precise, reliable language to keep your systems running on time. If you’re ready to chat through your project, reach out to our team to learn more.

Time and Frequency Synchronization References:

  1. Kaplan, E. D., & Hegarty, C. J. (2006). Understanding GPS: Principles and Applications. Artech House.
  2. IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems (IEEE Std 1588-2019).
  3. International Telecommunication Union (ITU-T) Recommendation G.8271.1: Network time synchronization parameters and performance objectives.
  4. National Institute of Standards and Technology (NIST). (2022). Network Time Protocol (NTP) Technical Specifications and Performance Analysis.

China Go-Sat Microwave Co., Ltd.
China Go-Sat Microwave Co., Ltd. is one of the most professional time sever manufacturers and suppliers in China. With abundant experience, we warmly welcome you to buy advanced time sever made in China here and get quotation from our factory. All customized products are with high quality and competitive price.
Address: No. 3908 ShiBo Avenue, Baqiao District, Xi’an, China
E-mail: sales@go-satcom.com
WebSite: https://www.go-satcom.com/