Attention is currently required from: Hoernchen, ale-leehrtz, laforge, tnt.
ale-leehrtz uploaded patch set #2 to this change.
The following approvals got outdated and were removed: Verified-1 by Jenkins Builder
add SD-RI-PLL self-tuning of the PID gains
The PID gains of the SD-RI-PLL determine the loop bandwidth, and the
right bandwidth depends on the link: on a noisy link the loop must be
slow, while a large oscillator wander calls for a fast loop.
Add a self-tuning regulator layer on top of the unchanged PID law. It
estimates the measurement noise of the FIFO level (sigma_v) and the
frequency wander of the oscillator (q_phi, from Allan-style variances
over 1 h windows), and from these recomputes the loop bandwidth
wn = (q_phi / sigma_v^2)^(1/4) and Kp/Ki by pole placement, as well as
a smoothing time constant for the error. Gain changes are rate-limited.
It also gates outliers and reports link-down ticks, so that the caller
can hold the output instead of integrating a stale or empty FIFO.
On a 53 h A/B run against the sysmocom OCTOI hub (first 24 h with the
default gains, then self-tuned), time-in-band went from 71% to 90% and
the FIFO standard deviation from 70 to 47 frames.
Like the PID controller, this is hooked up in a follow-up patch.
Related: OS#7116
Change-Id: Ifa5e1762df67c02093636908b45c6b5ce78fdc85
---
M src/Makefile.am
A src/pll_tune.c
A src/pll_tune.h
3 files changed, 336 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/31/44231/2
To view, visit change 44231. To unsubscribe, or for help writing mail filters, visit settings.