FIVRA AcademyAll lessonsSimulatorsGlossaryРусский

PON networks · 30 min · engineering level

Ranging and DBA

You will calculate the delay and equalization of ONTs at different distances and understand how the OLT allocates upstream bandwidth.

Take it interactively: simulators and problems

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.

t1=L ngc,RTD=2t1+trespt_{1} = \frac{L\,n_g}{c},\qquad RTD = 2t_{1} + t_{\text{resp}}

One-way delay and round-trip delay.

At ng=1.468n_g = 1.468 light travels 1 km in 4.8974.897 µ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.

EqDi=Teq−RTDiEqD_i = T_{eq} - RTD_i

Equalization delay: the nearest ONT waits longer, the farthest less.

Without equalization: bursts of two ONTs arrive at the OLT overlappingOLT inputONT 1 (2 km)ONT 2 (17 km)collisionWith equalization delay EqD: all ONTs are "as if" at the same distanceOLT inputONT 1: window per BWmapONT 2: next windowguard time
Without equalization, bursts from ONTs at different distances collide; with EqD each arrives in its own window with a guard time.

How ranging works

  1. 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.
  2. The new ONT responds with its serial number; the OLT assigns it an ONU-ID.
  3. The OLT requests a response again, measures the RTD precisely and tells the ONT its EqD in a PLOAM message.
  4. 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 typeBandwidthWhat for
1fixed, always allocatedvoice, synchronization, delay-critical traffic
2assured, allocated on requestvideo, business services
3assured + non-assureddata with a minimum rate
4only "what is left" (best effort)internet without guarantees
5mixed: any of the abovegeneric container

Example: Equalizing two ONTs

Given: ONT 1 — 2 km, ONT 2 — 17 km; ng=1.468n_g = 1.468, ONT response time is the same and neglected; Teq=200T_{eq} = 200 µs

  1. Delay per 1 km: 1.468/2.998⋅108 m/s⋅1000=4.8971.468 / 2.998\cdot10^{8}\ \text{m/s} \cdot 1000 = 4.897 µs.
  2. RTD1=2⋅2⋅4.897=19.6RTD_1 = 2\cdot2\cdot4.897 = 19.6 µs; RTD2=2⋅17⋅4.897=166.5RTD_2 = 2\cdot17\cdot4.897 = 166.5 µs.
  3. EqD1=200−19.6=180.4EqD_1 = 200 - 19.6 = 180.4 µs; EqD2=200−166.5=33.5EqD_2 = 200 - 166.5 = 33.5 µ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

  1. What is the one-way propagation delay over a 20 km route at ng=1.468n_g = 1.468? (µs)
  2. The nearest ONT is at 0.5 km, the farthest at 20.5 km. What is the difference in their round-trip delays at ng=1.468n_g = 1.468? (µs)
  3. The OLT has set Teq=250T_{eq} = 250 µs. The measured round-trip delay of an ONT is 40 µs. What equalization delay EqD will it get? (µs)
  4. 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)
  5. Why does the OLT open a quiet window when activating a new ONT?
    1. To give the ONT time to warm up its laser
    2. 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
    3. To measure the loss to the new ONT
    4. To change encryption keys
  6. Which T-CONT type gets upstream bandwidth only when some is left after the assured ones?
    1. Type 1
    2. Type 2
    3. Type 4
    4. Type 5

Sources

Solve the lesson problems · Next: Optical budget classes