Latest / CyberSecurity Summary / Synchronizing 5G Mobile Networks
Transcript
- 0:00Speaker 1: Welcome to the deep dive. Today, we're getting into something
- 0:03Speaker 1: fundamental but often totally invisible, network synchronization. And we're not
- 0:08Speaker 1: just talking about you know, knowing it's lunchtime. We mean
- 0:12Speaker 1: hyper precise time down to nanoseconds that underpins things like
- 0:15Speaker 1: five G automated trading.
- 0:18Speaker 2: The works. It really does hold it all together. Our
- 0:21Speaker 2: mission today really is to get a handle on the
- 0:23Speaker 2: basics of this digital time. You know, what are the
- 0:26Speaker 2: different kinds of zync frequency, phase time, and how do
- 0:30Speaker 2: we actually get this level of precision across huge networks
- 0:33Speaker 2: down to the nanosecond. And there's a key point in
- 0:36Speaker 2: the source material too. When this stuff fails, it's sneaky.
- 0:39Speaker 1: Yeah, that really jumped out. It says timing failures often
- 0:42Speaker 1: look like something else entirely.
- 0:43Speaker 2: At first exactly. I remember back in my circuit board
- 0:46Speaker 2: design days, a clock problem could totally look like a
- 0:49Speaker 2: software bug or just weird logic makes it incredibly hard
- 0:52Speaker 2: to track down. Now, scale that up from one board
- 0:54Speaker 2: to say, a whole continence network, multiple vendors, different gear
- 0:58Speaker 2: a few microseconds off could look like a bad route,
- 1:01Speaker 2: a broken process. Really tough.
- 1:03Speaker 1: Okay, so let's maybe start at the beginning time seems simple, yeah, right,
- 1:07Speaker 1: but trying to get everyone on the same page globally, Yeah,
- 1:10Speaker 1: that I complicated fast.
- 1:12Speaker 2: Oh absolutely. I mean historically, every town just set its
- 1:15Speaker 2: clock by the sun. Noon was noon locally. Worked fine
- 1:18Speaker 2: until the trains came along. Suddenly you needed timetables that
- 1:22Speaker 2: worked across different zones. You couldn't have a train leaving
- 1:26Speaker 2: one town at two pm and arriving somewhere else, you know,
- 1:29Speaker 2: before two pm according to their clock. That push, that
- 1:32Speaker 2: need for consistency led to standardizing time ach wor Greenwich
- 1:36Speaker 2: Meantime GMT back in eighteen eighty four.
- 1:38Speaker 1: Right, GMT. But today the standard is Coordinated Universal Time UTC.
- 1:43Speaker 1: What's the practical difference for most people or for these networks.
- 1:47Speaker 2: Well, the core reference is different. UTC is what we
- 1:49Speaker 2: all use. Yeah, but it's based on International Atomic Time TAI.
- 1:52Speaker 2: TI comes from hundreds of atomic clocks around the world.
- 1:55Speaker 2: It's incredibly stable, just ticks a long perfectly, well almost perfectly.
- 1:59Speaker 2: It's continuous. But UTC is what we call discontinuous. We
- 2:02Speaker 2: sometimes have to add leap seconds.
- 2:04Speaker 1: Ah, yes, leap seconds the bane of sysadminin's everywhere.
- 2:07Speaker 2: Huh, exactly, They exist because the Earth's rotation isn't perfectly regular.
- 2:11Speaker 2: It wobbles a bit, so the IIRS, that's the International
- 2:14Speaker 2: Earth Rotation Service, they manage these leap seconds. The goal
- 2:18Speaker 2: is to keep UTC within zero point nine seconds of
- 2:21Speaker 2: the actual solar day, you know, based on Earth's spin.
- 2:25Speaker 1: Okay, so if UTC is the gold standard, how do
- 2:27Speaker 1: we know what the real official UTC is like right
- 2:31Speaker 1: this second.
- 2:32Speaker 2: That's the fascinating part. You don't not perfectly in real time.
- 2:36Speaker 2: Any time signal you get right now is an approximation,
- 2:38Speaker 2: a very very good one hopefully, but still an approximation.
- 2:41Speaker 2: The actual single official UTC value. It's only calculated after
- 2:45Speaker 2: the month ends. They gather data from all those atomic clocks,
- 2:48Speaker 2: globally process it, and then the BPM, the International Bureau
- 2:51Speaker 2: of Weights and Measures, publishes the definitive value in something
- 2:54Speaker 2: called circular t, usually a couple of weeks late.
- 2:57Speaker 1: So the absolute truth about this very nanosecond we won't
- 3:00Speaker 1: know it for weeks.
- 3:01Speaker 2: Pretty much kind of changes how you think about real time,
- 3:03Speaker 2: doesn't it.
- 3:04Speaker 1: It really does? Okay? Knowing the official time is always
- 3:07Speaker 1: a bit delayed, that's a big takeaway. Now let's talk terminology.
- 3:11Speaker 1: Synchronization gets thrown around a lot, but the sources are clear.
- 3:15Speaker 1: There are three distinct types.
- 3:17Speaker 2: Yeah, getting these straight is super important if you're dealing
- 3:19Speaker 2: with high performance networks. Let's maybe use an orchestra analogy.
- 3:23Speaker 1: Okay, sound good. Let's start with frequency synchronization. What's that about.
- 3:27Speaker 2: Frequency sync is about the rate of the clock, the
- 3:30Speaker 2: tempo maybe, or the pitch in music. So in the orchestra,
- 3:34Speaker 2: it's making sure two violins are playing the exact same
- 3:38Speaker 2: a you know, four hundred and forty hertz, four hundred
- 3:41Speaker 2: and forty oscillations per second. In a network device, it
- 3:44Speaker 2: means making sure its internal oscillator is ticking at the
- 3:47Speaker 2: correct speed, its nominal frequency. We can use external sources
- 3:51Speaker 2: like SINCSA, which we'll get to to make that much
- 3:53Speaker 2: more accurate. Instead of maybe being off by say four
- 3:56Speaker 2: point six parts per million, we can get down to
- 3:58Speaker 2: like sixteen parts per billion, much tighter control over the rate.
- 4:02Speaker 1: Okay, so frequencies of the rate, the speed of the ticking.
- 4:04Speaker 1: What about phase synchronization? Then?
- 4:06Speaker 2: Facinc is about aligning the tick itself, making sure the
- 4:10Speaker 2: ticks happen at the exact same instant. Back to the orchestra.
- 4:14Speaker 2: It's the conductor ensuring everyone hits the downbeat together right
- 4:17Speaker 2: on time. Phase is about the relative offset between clocks,
- 4:21Speaker 2: usually measured in tiny fractions of a second, milliseconds, microseconds, nanoseconds.
- 4:25Speaker 2: It's about agreeing on when now is.
- 4:27Speaker 1: And the sources gave a really good, kind of stark
- 4:30Speaker 1: example of why phase matters so much in industry factory automation.
- 4:34Speaker 2: Oh yeah, that's a perfect illustration. Imagine you've got two
- 4:38Speaker 2: robots passing a part between them. They're not using cameras,
- 4:40Speaker 2: they're just timed. Robot A let's go at say start
- 4:44Speaker 2: plus point four over zero seconds. Robot B needs to
- 4:47Speaker 2: grab it at exactly start plus point four zero zero
- 4:50Speaker 2: seconds for that to work. Their idea of when start
- 4:52Speaker 2: plus zero point zero zero theory happen has to be
- 4:55Speaker 2: absolutely identical. Now, their facecinc is a bit loose, maybe
- 4:58Speaker 2: only accurate to fifty milliseconds. Robot A might let go
- 5:00Speaker 2: fifty milliseconds before Robot B is ready, and bam, part
- 5:03Speaker 2: hits the floor, a physical failure caused by a tiny,
- 5:06Speaker 2: tiny timing error.
- 5:07Speaker 1: Wow, so fifty milliseconds is enough to cause real physical problem.
- 5:10Speaker 2: Absolutely shows you the stakes.
- 5:12Speaker 1: That factory example really brings it home. Milliseconds matter physically,
- 5:16Speaker 1: but looking at the big data networks, the requirements are
- 5:19Speaker 1: pushing into micro seconds, even nanoseconds. Why such extreme precision
- 5:24Speaker 1: across whole continents?
- 5:26Speaker 2: Right, It's not just factories. There are really three big
- 5:28Speaker 2: areas pushing this need for tighter and tighter timing.
- 5:31Speaker 1: Okay, where should we start? Maybe one? We can perceive
- 5:34Speaker 1: directly audio and video.
- 5:35Speaker 2: Yeah, av sync. Humans are surprisingly sensitive to this. Research
- 5:40Speaker 2: shows if the audio is ahead of the video by
- 5:42Speaker 2: just forty milliseconds that's less than two frames of video,
- 5:45Speaker 2: about twenty percent of people will notice it it feels wrong.
- 5:48Speaker 2: So for professional broadcast streaming movies, they use specific timing
- 5:53Speaker 2: profiles like SMPTE twenty five nine to two built on
- 5:56Speaker 2: PTP to keep audio and video locked tight.
- 5:59Speaker 1: Okay, so av is on one. What about finance? You
- 6:01Speaker 1: mentioned high frequency trading earlier.
- 6:03Speaker 2: Definitely a huge driver. This really kicked into high gear
- 6:06Speaker 2: with a regulation called MIFIED two from the EU back
- 6:09Speaker 2: in twenty fourteen. It basically mandated that all high frequency
- 6:13Speaker 2: trading transactions had to have super accurate time stamps. Traceable
- 6:17Speaker 2: time stamps. We're talking precision way beyond what older protocols
- 6:21Speaker 2: like MTP could reliably deliver. It became a legal necessity
- 6:24Speaker 2: for transparency, for proving when trades happened, preventing manipulation, they
- 6:28Speaker 2: needed microsecond Sometimes better accuracy makes sense.
- 6:33Speaker 1: Legal compliance often pushes technology, but the sources suggests the
- 6:37Speaker 1: biggest driver, the one really pushing phasinc. Everywhere, is mobile
- 6:40Speaker 1: networks five G.
- 6:42Speaker 2: Specifically, without a doubt, five G is the main engine
- 6:45Speaker 2: right now for widespread phase synchronization, deployment and transport networks.
- 6:48Speaker 2: The core reason is a technology called time division duplex
- 6:51Speaker 2: or TDD. In TDD, a base station uses the same
- 6:54Speaker 2: chunk of radio frequency to both transmit and receive. It
- 6:57Speaker 2: just switches really fast between the two. Now, imagine two
- 7:00Speaker 2: base stations near each other. If one is transmitting while
- 7:02Speaker 2: its neighbor is trying to receive on that same frequency,
- 7:04Speaker 2: you get massive interference. They jam each other.
- 7:07Speaker 1: Uh okay. So they have to coordinate very very carefully
- 7:10Speaker 1: when they transmit and when they listen exactly.
- 7:12Speaker 2: They need extremely tight phase alignment. The requirement is pretty stunning.
- 7:17Speaker 2: The time difference between any two neighboring base stations has
- 7:19Speaker 2: to be less than three microseconds, and the way networks
- 7:22Speaker 2: achieve that is by making sure every base station across
- 7:25Speaker 2: the entire network is synchronized to the master UTC reference
- 7:29Speaker 2: clock to within plus or minus one point five microseconds.
- 7:32Speaker 2: If everyone stays within that one point five microsecond window
- 7:35Speaker 2: relative to UTC, then any two neighbors will automatically be
- 7:39Speaker 2: within three microseconds of each other.
- 7:40Speaker 1: Plus or minus one point five microseconds. Wow, that's the
- 7:43Speaker 1: tolerance across the whole system.
- 7:45Speaker 2: Tolerance it's demanding.
- 7:46Speaker 1: Okay, so we understand the need plus or minus one
- 7:49Speaker 1: point five microseconds for five G, even tighter for finance
- 7:52Speaker 1: in some cases, How do networks actually get this timing
- 7:56Speaker 1: signal and then distribute it reliably? Where does it originate?
- 8:01Speaker 2: Well, the ultimate source, the primary reference time clocks or prtcs.
- 8:06Speaker 2: Those are generally the Global Navigation Satellite Systems GNSS, So
- 8:11Speaker 2: think GPS, which is the US system, gel NASS from Russia,
- 8:14Speaker 2: Galileo from Europe, bay DO from China. They are, in essence,
- 8:18Speaker 2: constellations of atomic clocks orbiting the Earth. They constantly broadcast
- 8:22Speaker 2: signals that include very precise timing information. Receivers on the
- 8:25Speaker 2: ground pick these up and can figure out their position,
- 8:27Speaker 2: and crucially for us, the current precise time. Got it?
- 8:30Speaker 1: So the time comes from space basically. Then once a
- 8:34Speaker 1: receiver on the ground has that signal, how does it
- 8:36Speaker 1: get shared across say miles of fiber optic cable in
- 8:40Speaker 1: the finance port network. What tools do network designers use?
- 8:43Speaker 2: There are two main specialized methods used often in combination.
- 8:47Speaker 2: The first one is called synchronous ethernet or sink.
- 8:49Speaker 1: Okay, sink E. What's this role?
- 8:51Speaker 2: Sink E is all about frequency synchronization, remember the rate
- 8:55Speaker 2: of the clock. It's actually built into the physical layer
- 8:58Speaker 2: of the ethernet connection, kind of like how older technologies
- 9:01Speaker 2: like SDH or sonnet handled frequency. It allows network devices
- 9:05Speaker 2: to pass along a very stable frequency reference directly over
- 9:09Speaker 2: the fiberlink itself, without needing special timing packets or relying
- 9:13Speaker 2: on software higher up. So it's very reliable, very predictable
- 9:16Speaker 2: for keeping the rate stable across the network carrier grade frequency.
- 9:20Speaker 1: Okay, so SYNC nails the frequency. What about the actual
- 9:24Speaker 1: time of day, the phase alignment down to microseconds. That's
- 9:26Speaker 1: the other one. PTP exactly.
- 9:28Speaker 2: PTP the precision time protocol that's defined by IE fifteen
- 9:31Speaker 2: eighty eight PTP is specifically designed to distribute precise phase
- 9:35Speaker 2: and time synchronization over packet networks. Like standard ethernet networks,
- 9:39Speaker 2: it aims for microsecond level accuracy, sometimes even better. The
- 9:43Speaker 2: key thing that makes PTP so much better than older
- 9:45Speaker 2: protocols like NTP is its use of hardware time stamping.
- 9:48Speaker 1: Hardware time stamping what does that mean?
- 9:50Speaker 2: It means the time stamps marking when a PTP timing
- 9:53Speaker 2: packet arrives or departs, are applied right at the network
- 9:56Speaker 2: interface card as close to the physical wire as possible.
- 10:00Speaker 2: If you rely on the main CPU or the operating
- 10:02Speaker 2: system to do the time stamping, you introduce all sorts
- 10:05Speaker 2: of delays and variability jitter that kills your accuracy. PTP
- 10:09Speaker 2: with hardware support bypasses a lot of that software unpredictability.
- 10:13Speaker 1: Right, get the time stamp as close to the physical
- 10:15Speaker 1: event as possible makes sense. So SYNCY for frequency stability,
- 10:19Speaker 1: PTP for phase and time accuracy. How do operators get
- 10:23Speaker 1: the absolute best result? Do they choose one or the other?
- 10:26Speaker 2: Usually for the most demanding applications like five G, they
- 10:29Speaker 2: use both together. It's often called hybrid mode. They use
- 10:32Speaker 2: sync along constantly on the physical layer to provide that
- 10:34Speaker 2: rock solid, stable frequency foundation, and then they run PTP
- 10:38Speaker 2: on top of that stable frequency to distribute the precise
- 10:41Speaker 2: phase and time information. This combination gives you the best
- 10:44Speaker 2: of both worlds, the stability of SYNC and the accuracy
- 10:47Speaker 2: of PTP. It's generally considered the gold standard for carrier
- 10:51Speaker 2: networks define inspects like the itut G point eight two
- 10:54Speaker 2: seven five point one profile for telecom. It provides deterministic performance.
- 10:59Speaker 1: Okay, so hybrid mode seems like the way to go.
- 11:02Speaker 1: But even with the best protocols, the network itself can
- 11:05Speaker 1: fight back, right. The sources mentioned packet delay, variation, jitter,
- 11:09Speaker 1: and something called asymmetry as the main enemy. So let's
- 11:12Speaker 1: focus on asymmetry.
- 11:13Speaker 2: What is that, ah, asymmetry. Yes, that's a really tricky
- 11:16Speaker 2: one for PTP. It's kind of the silent killer of
- 11:19Speaker 2: timing accuracy. See PTP works out the time it takes
- 11:23Speaker 2: for a packet to travel from the master clock to
- 11:25Speaker 2: the slave clock by measuring the total round trip time
- 11:28Speaker 2: and then dividing by two. It fundamentally assumes that the
- 11:32Speaker 2: path delay from master to slave is exactly the same
- 11:35Speaker 2: as the path delay from slave back to master.
- 11:37Speaker 1: AH Okay, it assumes the journey takes the same amount
- 11:40Speaker 1: of time in both directions precisely.
- 11:42Speaker 2: Asymmetry is simply when that assumption is wrong, when the
- 11:45Speaker 2: forward path delay is different from the reverse path delay.
- 11:48Speaker 1: What could cause that?
- 11:49Speaker 2: Yeah, different routs exactly. Maybe the packets go out via
- 11:53Speaker 2: one set of routers and fibers but come back via
- 11:56Speaker 2: completely different set due to network routing decisions. Or maybe
- 11:59Speaker 2: the five verer length itself is physically different in one
- 12:02Speaker 2: direction versus the other in some older setups. Or maybe
- 12:05Speaker 2: there's traffic congestion affecting delays only in one direction. Lots
- 12:09Speaker 2: of potential causes.
- 12:10Speaker 1: Why is that so bad for PTP?
- 12:12Speaker 2: Because of what some call the golden rule of packet timing,
- 12:15Speaker 2: half of the total path asymmetry shows up directly as
- 12:18Speaker 2: a constant time error a phase offset at the slave clock.
- 12:21Speaker 2: So if your network path has one hundred nanoseconds of asymmetry,
- 12:25Speaker 2: meaning the trip one way is one hundred thens longer
- 12:27Speaker 2: than the other way, your slave clock will be permanently
- 12:30Speaker 2: wrong by fifty nanoseconds. PDP can't easily detect or correct
- 12:34Speaker 2: for that on its own.
- 12:35Speaker 1: Wow, fifty nanoseconds just baked in his error. Okay, that's
- 12:38Speaker 1: a huge deal when the total budget is only, say,
- 12:40Speaker 1: fifteen hundred nanoseconds. Yeah, so that's an internal network problem.
- 12:43Speaker 1: What about the sorts itself. We rely heavily on GNSS
- 12:46Speaker 1: those satellites. Are they vulnerable?
- 12:47Speaker 2: Oh? Absolutely, that's a major concern. GENUSA signals are very
- 12:51Speaker 2: weak by the time they reach the ground. This makes
- 12:53Speaker 2: them susceptible to jamming, basically overpowering the signal with noise
- 12:58Speaker 2: so the receiver can't lock on. That's denial of service.
- 13:01Speaker 2: Even more worrying, perhaps, is spoofing. That's when an attacker
- 13:05Speaker 2: transmits fake GNSS signals to trick the receiver into calculating
- 13:08Speaker 2: the wrong time or position.
- 13:10Speaker 1: So some could potentially feed incorrect time into the network
- 13:13Speaker 1: at its source.
- 13:14Speaker 2: It's a known vulnerability. Yes, and because our critical infrastructure,
- 13:17Speaker 2: power grids, finance, mobile networks relies so heavily on GNSS timing,
- 13:22Speaker 2: this vulnerability is taken very seriously. Resilient backup timing sources
- 13:26Speaker 2: are becoming essential, not just nice to haves.
- 13:29Speaker 1: Is that where things like h l RAN come in.
- 13:31Speaker 1: I saw that mention enhanced.
- 13:33Speaker 2: Loran exactly A loran is being looked at and deployed
- 13:36Speaker 2: in some regions as a terrestrial backup or complement to
- 13:39Speaker 2: space based GNSS. Loran uses very powerful low frequency radio
- 13:45Speaker 2: transmitters on the ground. The signals are much harder to
- 13:48Speaker 2: jam than genss and can penetrate buildings, tunnels, even underground
- 13:51Speaker 2: to some extent where satellite signals can't reach. The goal
- 13:55Speaker 2: for l RAN is to provide UTC traceability potentially down
- 13:58Speaker 2: to the fifteen nanosecond level, offering a really robust alternative
- 14:02Speaker 2: if GNSS is unavailable or compromised.
- 14:05Speaker 1: Interesting a ground based backup using very different technology.
- 14:08Speaker 2: Yeah, diversity and sources is key for resilience. Hashtag tag outro.
- 14:11Speaker 1: Okay, we'scovered a lot of ground here, from old town
- 14:13Speaker 1: clocks needing sun dials to needing nanoseca precision from space
- 14:17Speaker 1: and distributing it globally. Before we wrap up, let's quickly
- 14:20Speaker 1: just nail down the difference between two terms we used,
- 14:23Speaker 1: accuracy and stability. They sounds similar, but.
- 14:25Speaker 2: Aren't the same, right, correct, They're related, but distinct. Accuracy
- 14:29Speaker 2: is about how close your clock is to the true
- 14:32Speaker 2: reference time. Like UTC, we measure it using time error.
- 14:35Speaker 2: Often the maximum absolute time error maxte is your clock
- 14:39Speaker 2: actually showing the right time. Stability, on the other hand,
- 14:43Speaker 2: is about how consistently your clock ticks does its rate
- 14:46Speaker 2: change over time. A clock could be very stable its
- 14:49Speaker 2: frequency doesn't drift much but still be inaccurate if it
- 14:51Speaker 2: was set wrong initially, or it could be unstable it's
- 14:55Speaker 2: rate wandering even if it happens to be accurate right now. Ideally,
- 14:58Speaker 2: for network timing, you want both high accuracy and high stability.
- 15:01Speaker 1: Got Accurate means close to the truth. Stable means keeps
- 15:04Speaker 1: a steady beat. So looking ahead, we talked about that
- 15:07Speaker 1: demanding one point five microsecond absolute requirement from five G
- 15:10Speaker 1: relative to UTC, but the source material also mentions something
- 15:14Speaker 1: even tighter, e merging relative timing requirements between nearby five
- 15:17Speaker 1: G radios, sometimes needing alignment as close as sixty five nanoseconds.
- 15:21Speaker 2: That's right. That relative requirement is incredibly tight. It's needed
- 15:25Speaker 2: for some of the really advanced five G features, like
- 15:29Speaker 2: coordinated multipoint comp where multiple cell sites coordinate transmissions to
- 15:34Speaker 2: your phone simultaneously, or for sophisticated massive MIMO antenna arrays.
- 15:39Speaker 2: These features only work if the radios involved are synchronized
- 15:42Speaker 2: to each other with extreme precision, far tighter than just
- 15:45Speaker 2: their individual alignment to UTC.
- 15:48Speaker 1: Okay, sixty five nanoseconds relative alignment. So here's the final
- 15:51Speaker 1: thought we wanted to leave you the listener with. Today
- 15:54Speaker 1: we learned that half of any path asymmetry turns directly
- 15:57Speaker 1: into time air. If these new radio features demand relative
- 16:00Speaker 1: accuracy down to maybe sixty five nanoseconds between sites, what
- 16:04Speaker 1: kind of challenges does that create for the people designing
- 16:07Speaker 1: and running these transport networks, especially if they're getting their
- 16:09Speaker 1: timing signal maybe as a service over fiber circuits owned
- 16:12Speaker 1: by a third party, where they might not have full
- 16:14Speaker 1: control or visibility over the path symmetry.
- 16:17Speaker 2: Yeah, that's the rub, isn't it. The margin for error
- 16:19Speaker 2: is just vanishingly small. Trusting that the underlying path provides
- 16:23Speaker 2: that level of nanosecond symmetry constantly, that's going to be
- 16:27Speaker 2: I think one of the next big headaches and opportunities
- 16:31Speaker 2: in network timing. How do you guarantee that?
- 16:33Speaker 1: Definitely something to chew on. A fascinating look into an
- 16:36Speaker 1: invisible world. Thanks for joining us on the deep dive.