Tech, ExplainedNetworking, infrastructure and security
Part

FPGAs and precision timing

Chips rewired after shipping, clocks in perfect step.

INSIDE: RADIO UNITS AND ANTENNASHOW IT WORKS · TWO 5G TOWERS 800 METRES APARTBoth towersuse one band,taking turnsto send andto listen manytimes a secondTower A takesthe exact timefrom a satellitenavigationreceiveron its roofTower A sendsPTP timingmessages totower B over thefibre networkThe FPGA intower B's radiomeasures eachmessage's delayand correctsits clockThe two clocksnow differ bywell under afew microsecondsBoth towersswitch at thesame moment,so neitherdrowns out theother's phonesALSO TALKS TORAN software and Open RAN5G baseband chipsHardware emulation↗ SEMICONDUCTORSINSIDE: RADIO UNITS AND ANTENNASHOW IT WORKS · TWO 5G TOWERS 800 METRES APARTBoth towers use oneband, taking turnsto send and to listenmany times a secondTower A takes the exacttime from a satellitenavigation receiver onits roofTower A sends PTP timingmessages to tower B overthe fibre networkThe FPGA in tower B'sradio measures eachmessage's delay andcorrects its clockThe two clocks nowdiffer by well undera few microsecondsBoth towers switchat the same moment,so neither drowns outthe other's phonesALSO TALKS TORAN software and Open RAN5G baseband chipsHardware emulation↗ SEMICONDUCTORSINSIDE: RADIO UNITS AND ANTENNAS · TWO 5GTOWERS 800 METRES APARTBoth towers use one band, taking turns tosend and to listen many times a second↓Tower A takes the exact time from asatellite navigation receiver on its roof↓Tower A sends PTP timing messages totower B over the fibre network↓The FPGA in tower B's radio measures eachmessage's delay and corrects its clock↓The two clocks now differ by well under afew microseconds↓Both towers switch at the same moment, soneither drowns out the other's phonesALSO TALKS TORAN software and Open RAN5G baseband chipsHardware emulation↗ SEMICONDUCTORS
Two 5G towers keep their clocks in step: one takes the exact time from a satellite receiver and sends timing messages over fibre, and an FPGA in the second tower's radio corrects its clock so both switch between sending and listening together.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

FPGAs and precision timing are two jobs that specialist chips do inside the radio equipment on mobile towers. An FPGA, or field-programmable gate array, is a chip whose circuits can be rewired by loading a new configuration file, even after the equipment has been installed. Precision timing is the work of keeping every tower's clock in step with every other tower's clock, to within a few millionths of a second.

Why does a tower need timing this exact? In 5G, most towers in India send and receive on the same frequencies, in the main band around 3.5 GHz. They take turns. For about 2 to 4 milliseconds, every tower sends to the phones. Then every tower listens to the phones. This is called time-division duplexing, or TDD. If one tower's clock drifts, it starts sending while its neighbours are still listening. Its strong signal then drowns out the weak signals from phones near the neighbouring towers.

Consider two 5G towers 800 metres apart in Bhubaneswar. The towers switch between sending and listening many times each second. The standards allow the towers' clocks to differ by only a few microseconds, a microsecond being a millionth of a second. One tower has a satellite navigation receiver on its roof, which gives it the exact time. That tower sends timing messages to the other tower over the fibre network. These messages use a standard called the precision time protocol, or PTP. An FPGA inside the second tower's radio unit reads each message, measures how long it took to arrive, and corrects its own clock. Both towers now switch at the same moment.

Why use an FPGA for this, and not an ordinary processor? An FPGA does fixed tasks, such as timestamping messages or processing radio samples, in hardware, very fast and at low power. And because it can be reconfigured, the equipment maker can fix a bug or support a new version of a standard by sending a new file to radios already on towers. A custom chip, by contrast, would have to be replaced.

FPGAs often handle tasks around a 5G baseband chip, and many makers of Open RAN radios use them. Before a new FPGA design ships, engineers usually test it on hardware emulation machines. An FPGA maker earns money through design wins: once its chip is chosen for a radio, it ships in every unit of that radio. Like most chip companies, FPGA makers are fabless: they design the chips but do not manufacture them.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.