Repository navigation
Reduce dynpower SNR down threshold - #3577
Conversation
|
I like testing new things in ELRS, https://www.facebook.com/profile.php?id=61571315974669 but how do you flash PR FW, creating a Wifi file in Config doesn't work, and I haven't been successful with UART either... |
|
I know, but it always ends up like this when I try to fix a wifi file |
Works for me. Try clearing platformio dependencies in the support tab: |
Thanks! Tested, but still doesn't work, but will test on another computer in a while |
There was a problem hiding this comment.
A couple hours of tests ducking into woods trying to trick it, and a errr more distant test lead to
- Roughly the same performance (<1LQ difference) for a little less power (0.5 of a power level)
- More frequent lowering of power as expected, the value changed from +1.5 to +0.5 SD
- More frequent power changes but that's fine, we have no requirement for how often the power should change, so long as it is right!








4.0.0 introduced a statistical SNR based dynamic power algorithm for packet rates providing SNR (Lora modes). The algorithm calculates a moving SNR mean and its standard deviation (sd). The SNR mean and sd are updated in conditions where LQ is near perfect (>= 99%) as a "really good" reference. This reference is used to calculate (also moving) SNR power up and down thresholds using factors of sd. The original implementation calculated the power down SNR threshold as SNR mean + 1.5sd. This PR tunes the allowed deviation from SNR mean for power down events.
I flight tested this PR with 100Hz full res and now see a behavior similar to 3.6. (which uses fixed thresholds).
This change requires more testing. I hope some users will join me in testing different usage scenarios (fpv, LOS, varying ranges different Lora packet rates and power settings) .