ONTs are at different distances from the OLT: one at 300 m, another at 15 km. If both start transmitting on the same signal, the bursts will arrive at the OLT at different times and overlap. Ranging is measuring the delay to each ONT and assigning it a correction after which all ONTs are "at the same distance" for the OLT.
One-way delay and round-trip delay.
— route length, m
— group refractive index, about 1.467–1.468 for G.652
— speed of light in vacuum, m/s
— ONT response time (known, set by the standard)
At light travels 1 km in µs; there and back — about 9.8 µs per kilometer. A 20 km difference in distance (the GPON differential reach) is about 196 µs of round-trip delay difference, longer than the 125 µs frame.
Equalization delay: the nearest ONT waits longer, the farthest less.
— equalization delay of ONT i
— the common equalized delay of the port, no less than the largest RTD
— measured round-trip delay of ONT i
Without equalization, bursts from ONTs at different distances collide; with EqD each arrives in its own window with a guard time.
How ranging works
The OLT periodically opens a quiet window: it allocates no bandwidth to working ONTs, so that the response of a new ONT (whose distance is unknown) collides with nothing. The window length is no less than the spread of round-trip delays over the differential reach.
The new ONT responds with its serial number; the OLT assigns it an ONU-ID.
The OLT requests a response again, measures the RTD precisely and tells the ONT its EqD in a PLOAM message.
After that the OLT constantly watches the arrival time of bursts and adjusts the EqD (temperature changes the fiber length and index).
Dynamic bandwidth allocation (DBA)
Upstream bandwidth is allocated not to an ONT as a whole but to its T-CONT containers (each with its own Alloc-ID). Every few frames the OLT recalculates who gets how much and writes the result into the BWmap. The OLT gets load data either from ONT queue reports (DBRu, status-reporting DBA) or by observing how much of the allocated window the ONT actually used (traffic-monitoring DBA).
T-CONT container types in GPON (ITU-T G.984.3).
T-CONT type
Bandwidth
What for
1
fixed, always allocated
voice, synchronization, delay-critical traffic
2
assured, allocated on request
video, business services
3
assured + non-assured
data with a minimum rate
4
only "what is left" (best effort)
internet without guarantees
5
mixed: any of the above
generic container
Example: Equalizing two ONTs
Given: ONT 1 — 2 km, ONT 2 — 17 km; , ONT response time is the same and neglected; µs
Delay per 1 km: µs.
µs; µs.
µs; µs.
Answer: The nearest ONT delays its bursts by 180.4 µs, the farthest by 33.5 µs; for the OLT both end up at a "distance" of 200 µs.
Lesson problems
What is the one-way propagation delay over a 20 km route at ? (µs)
The nearest ONT is at 0.5 km, the farthest at 20.5 km. What is the difference in their round-trip delays at ? (µs)
The OLT has set µs. The measured round-trip delay of an ONT is 40 µs. What equalization delay EqD will it get? (µs)
The quiet window for ranging must cover the spread of round-trip delays over a 20 km differential reach. For at least how many 125 µs frames must bandwidth grants to working ONTs be stopped? Ignore ONT response delays. (frames)
Why does the OLT open a quiet window when activating a new ONT?
To give the ONT time to warm up its laser
The distance to the new ONT is unknown; its response may arrive at any moment within the differential reach and collide with bursts of working ONTs
To measure the loss to the new ONT
To change encryption keys
Which T-CONT type gets upstream bandwidth only when some is left after the assured ones?