[L] Change in osmo-e1d[master]: add SD-RI-PLL self-tuning of the PID gains
Attention is currently required from: Hoernchen, ale-leehrtz, laforge, tnt. Hello Hoernchen, Jenkins Builder, laforge, tnt, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-e1d/+/44231?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: add SD-RI-PLL self-tuning of the PID gains ...................................................................... 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 https://gerrit.osmocom.org/c/osmo-e1d/+/44231?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: Ifa5e1762df67c02093636908b45c6b5ce78fdc85 Gerrit-Change-Number: 44231 Gerrit-PatchSet: 2 Gerrit-Owner: ale-leehrtz <alejandra.carreon@ale-leehrtz.org> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: tnt <tnt@246tNt.com> Gerrit-Attention: ale-leehrtz <alejandra.carreon@ale-leehrtz.org> Gerrit-Attention: tnt <tnt@246tNt.com> Gerrit-Attention: laforge <laforge@osmocom.org> Gerrit-Attention: Hoernchen <ewild@sysmocom.de>
participants (1)
-
ale-leehrtz