Skip to main content
NETWORKING · TIMING

What Is a Grandmaster Clock?

A grandmaster clock is the reference clock at the top of a Precision Time Protocol (IEEE 1588) network. Every other clock in the PTP domain synchronizes to it, directly or through switches. It is usually a dedicated appliance that takes time from GNSS satellites and keeps it with a stable oscillator if the signal is lost.

01

What a grandmaster clock does

A grandmaster clock is the clock that every other device in a Precision Time Protocol (PTP) network follows. IEEE 1588 calls a group of clocks that synchronize together a domain, and each domain has one grandmaster at a time. It sends the Announce and Sync messages that the rest of the network locks to, either directly or through boundary clock switches that pass its time on.

The name separates it from the other masters in the network. Any port that hands time downstream is in the master state, so a boundary clock switch acts as a master to the devices below it. The grandmaster is the one master that follows nothing inside the domain. It takes its own time from outside, usually from GNSS satellites, which also ties the whole network to Coordinated Universal Time (UTC).

A grandmaster is normally a purpose-built timing appliance, often rack-mounted in a control room, substation or data centre. Many also act as NTP servers, so PTP devices and ordinary IT equipment share one time source.

02

Inside a grandmaster

Most grandmaster appliances combine the same building blocks.

  • //
    GNSS receiver. Takes time from GPS, Galileo, GLONASS or BeiDou through a roof antenna. Multi-constellation, multi-band receivers are less exposed to interference and to the loss of any single system.
  • //
    Disciplined oscillator. A quartz (TCXO or OCXO) or rubidium oscillator is steered by the GNSS signal and keeps time on its own if the signal drops. Its quality sets the holdover performance.
  • //
    Hardware-timestamping ports. PTP network ports that stamp messages at the physical layer, often supporting several profiles such as the IEEE 1588 default, gPTP, the power profile and the telecom profiles.
  • //
    Timing outputs. Many add one pulse per second (1PPS), 10 MHz, IRIG-B or time-of-day outputs for older equipment that cannot use PTP.
  • //
    Management. A web interface and SNMP, so alarms such as loss of GNSS lock reach the network monitoring system.
03

How the best master clock algorithm picks the grandmaster

Nobody sets the grandmaster by hand. Every clock that could take the role sends Announce messages describing itself, and the best master clock algorithm (BMCA) in each clock compares them in a fixed order: priority 1, clock class, clock accuracy, clock variance, priority 2 and, as a final tie-breaker, the clock’s unique identity. The winner becomes grandmaster and the rest follow it.

Clock class does most of the work in practice. A grandmaster locked to GNSS advertises class 6. If it loses the signal but is still holding time within its specification, it moves to class 7, and later to a degraded class, which lets a better clock elsewhere take over. A clock that should never lead, such as a camera, uses class 255 (slave only). Engineers set priority 1 and priority 2 to make the intended order explicit, for example so that a backup grandmaster waits its turn.

FAQ · 01
What is Precision Time Protocol?
The IEEE 1588 protocol a grandmaster serves. Our full FAQ explains how PTP measures offset and delay, the clock types and the main profiles.
Read the full FAQ —
04

Holdover: what happens when GNSS is lost

Holdover is how long a grandmaster can keep acceptable accuracy on its oscillator alone. It matters because GNSS can drop for ordinary reasons, such as a damaged antenna cable or snow on the antenna, and because jamming and spoofing are increasingly common near roads, ports and airports. The oscillator decides how long the network stays within limits.

Oscillator Relative stability Typical holdover within about 1 µs Typical use
TCXO (temperature-compensated crystal) Basic Minutes Low-cost grandmasters, switches and test setups
OCXO (oven-controlled crystal) Good A few hours Most industrial and broadcast grandmasters
Rubidium atomic oscillator Very high Around a day or more Substations, telecom and sites that must ride out long outages

These figures are typical and depend on temperature and on how long the oscillator was disciplined before the outage. Check the vendor’s holdover specification against the accuracy your application needs, not just the oscillator type.

05

Redundancy and placement

For a system that cannot lose time, plan for two grandmasters on separate GNSS antennas, with different priorities so the BMCA has a clear backup. If the primary fails or its clock class drops, the backup takes over within a few Announce intervals, usually seconds. Place grandmasters at the network core, and use boundary clock or transparent clock switches on the way to the edge so that accuracy does not fall away hop by hop.

The antenna deserves as much care as the appliance. It needs a clear view of the sky, a lightning arrestor where the cable enters the building and a cable run within the receiver’s limits. In small test cells and labs, a computer with a hardware-timestamping network card can act as a software grandmaster using open-source tools such as linuxptp. It keeps the cell’s devices in step with each other, but without a GNSS input its time is not traceable to UTC.

06

Grandmasters in industrial systems

Grandmasters sit behind most precision timing in industry. Substations use them with the power profile so that protection relays and the devices that digitize current and voltage line up their sampled values, as our explainer on IEC 61850 describes. Multi-camera vision systems use them to trigger and time-stamp frames together, which our white paper on IEEE 1588 for machine vision covers in depth. Broadcast, mobile networks and test rigs depend on them too.

Downstream of the grandmaster, every hop matters. Selected managed industrial switches in our range list IEEE 1588 v2 PTP, and the multi-port LAN cards among our Ethernet and PoE frame grabbers list IEEE 1588 PTP, so an industrial PC can follow the grandmaster closely. Our explainer on GNSS vs GPS covers the satellite systems a grandmaster draws on.

07

Quick answers on grandmaster clocks

Grandmaster clocks: common questions

What is the difference between a master clock and a grandmaster clock?

Scope. A master clock serves time on one link. The grandmaster is the single source at the top of the PTP domain that every master ultimately follows.

Does a grandmaster clock need GPS?

Not strictly, but usually. GNSS gives time traceable to UTC. Without it, a grandmaster keeps devices aligned with each other but drifts from true time.

Can a network switch be a grandmaster?

Some can. Many PTP-capable switches can act as grandmaster from their own oscillator, which suits small systems that need devices aligned with each other rather than with UTC.

What happens if the grandmaster fails?

Another clock takes over. The best master clock algorithm elects the next best clock within seconds, which is why critical sites fit a second grandmaster.

What is a PTP clock class?

A number describing the clock’s source. Class 6 means locked to a primary reference such as GNSS, class 7 means in holdover within specification and class 255 means the clock can never be master.

We supply PTP-capable network cards and switches inside complete industrial systems, and as standard we configure them to follow your site’s grandmaster, with the right profile and clock roles, before the system ships.