欢迎!

分享和讨论最佳内容和新营销理念,打造专业形象,共同成为更好的营销人员。

注册

You need to be registered to interact with the community.
This question has been flagged
1 Reply
18 Views

Three acoustic modems sharing one eight-slot frame will run cleanly for weeks, then start losing slots in bursts, and the usual cause is the clock rather than the channel. A frame is a schedule, and each node's idea of "now" walks away from the others at a rate set by its oscillator, not by the water. The practical question is how much drift a given guard time absorbs, and from what point resynchronising is cheaper than widening the guard.

The deployment. Three small survey USVs of the 3–4 m class, in the same platform family as our USV series, working a 2 km² bay: 8–15 m of water, sand and mud, one shore gateway on a quay wall. Each vehicle carries a modem that sends a 120-byte sounding packet once per second in its own slot. The gateway also polls a fourth node for a time reference. Longest link span is about 900 m, with the usual multipath in 10 m of water. Modem model and firmware: unspecified, because the schedule design has to survive whichever unit is fitted.

What has already been tried. Slot assignments re-cut so each node transmits only in its own slot; guard time raised from 10 ms to 20 ms, which pushed the failures later in the day but did not remove them; transmit level raised 3 dB, which made the collisions louder rather than fewer. The pattern is consistent: the first hour after a resync is clean, then nodes begin transmitting early or late against the gateway's slot markers, and the failures cluster on the node that has been running longest.

The arithmetic that decides it. A 20 ms guard is shared by two neighbours, so each may wander 10 ms before it transmits into someone else's slot. At 10 ppm an oscillator accumulates 10 µs per second, which is 0.6 ms per minute, so 10 ms arrives in about 16 minutes. At 25 ppm the same 10 ms arrives in about 6.5 minutes; with a 10 ms guard the numbers halve. That is why a schedule that looks generous on paper fails inside the first hour of a tide station: the guard is a drift budget, and the drift rate belongs to the oscillator and its temperature, not to the link budget.

Where the sound speed enters. If the gateway derives slot timing from a two-way exchange, its travel-time estimate inherits the sound-speed error: 900 m at 1500 m/s is 0.6 s one way, and a 1 m/s error in the assumed speed is 0.4 ms of timing error per exchange — the same order as the guard being protected. A node moving at 1 m/s also changes path length by 1 m per second, which is another 0.7 ms of one-way delay change, so a moving node cannot be treated as a fixed range.

What I want to confirm. Resynchronising every ten minutes holds the drift inside a 20 ms guard on paper, but that spends airtime on the control channel, and on a three-node network the control traffic is not free. I would rather design the frame than keep rescuing it.

Three questions:

1. For an eight-slot frame with a 20 ms guard, do you budget the whole guard for one node, 10 ms each side, or design to half of it, and what margin do you keep for temperature?

2. Is it better to discipline every node to one gateway clock, or let each node free-run and resync pairwise — and does the message count matter at four nodes?

3. When a node starts transmitting late, what field symptom separates clock drift from a fading path, given that both present as lost slots?

Avatar
Discard

Short answer: this is drift, not fading. Three tells separate them. A clean first hour that ends in a burst, failures clustering on the vehicle that has been powered longest, and raising transmit level making the collisions louder rather than rarer — all three point at a transmit edge walking out of its slot. A fading path loses slots at random across all nodes from the first minute, and it gets better, not worse, when you add 3 dB.

What the guard is actually buying. Your 20 ms guard is two 10 ms budgets, one per neighbour, and I would design to half of that: 5 ms of permitted wander per node. That converts into an oscillator requirement the moment you fix the resync interval. 5 ms over ten minutes is 8.3 ppm; 5 ms over five minutes is 16.7 ppm. Working backwards is the useful direction — decide the resync interval you are willing to pay for, then buy or discipline an oscillator whose relative drift, temperature included, stays under that number. At the 25 ppm you measured, a 20 ms guard is gone in 6.5 minutes and a 5 ms budget in 3.2, which is exactly why the first hour looks clean and the second does not.

The three things that eat the budget. Temperature first: an uncompensated crystal can move 20 ppm over a 20–30 °C swing, which is most of your budget on its own, while a TCXO holds a few ppm and an OCXO better still — so the drift you measure on the bench at room temperature is not the number that runs at 14:00. Second, and larger than the oscillator, is motion if your slot markers come from a one-way beacon: at 1 m/s radial speed the path length changes 1 m per second, which at 1500 m/s is 0.67 ms of apparent timing shift per second, roughly 600 ppm, an order of magnitude beyond any oscillator you would fit. A two-way exchange cancels that to first order because both directions share the same path, so the sync method decides whether you are fighting the crystal or the geometry. Third is latency asymmetry: if the reply is timestamped after the modem's own processing instead of at the receive event, every resync injects a fixed offset and the frame starts each cycle already a millisecond or two out of balance.

One check settles which of the three you have. On the gateway, log the arrival time of every burst against its own slot marker for two hours without changing the schedule, then fit a line to offset in ms against elapsed minutes. The slope is the relative drift: 0.3 ms/min is 5 ppm, 1.2 ms/min is 20 ppm. Then look across a resync — a ramp that restarts near zero is drift, a step that never returns to zero is latency inside the exchange. My criterion: if the fitted slope exceeds the per-node budget in ms divided by the resync interval you want in minutes, shorten the interval or tighten the reference; if the offset is still above 2 ms immediately after a resync, the exchange is the problem, not the crystal.

On your three questions. Budget 10 ms per side, design to 5 ms, and hold back 30% of that for temperature and ageing instead of treating it as drift you are entitled to spend. Discipline every node to the gateway clock: at four nodes a star costs three exchanges per cycle while pairwise meshing costs six, and the star gives you one time base rather than four that disagree — over the half-duplex control channel the UAM series exposes, each exchange is one turnaround, so a full star cycle is a few seconds and well under 1% of airtime at a ten-minute cadence. The field symptom for late transmission is sign and slope: a drifting node slips linearly in one direction and recovers on resync, while a fading node keeps its offset and loses whole bursts in step with SNR.

If the residual offset stays above 5 ms even with a clean exchange, the frame needs a hardware trigger or a PPS-disciplined reference at each node. Past that point no amount of guard widening will hold it.

Avatar
Discard