Presently piaware 6.1 running on Pi 3b+ buster is set with AGC on results in approx 11-14% of messages > -3dbfs
I ran optimize-gain.py and got the following results
Not sure whether to leave on AGC - appears to have gain at 49.6
If not which gain setting would be best - it’s rather confusing
TIA
test 1 of 5 | |||||||
---|---|---|---|---|---|---|---|
gain= | 49.60 | messages= | 54,661 | positions= | 2,746 | planes= | 57 |
gain= | 48.00 | messages= | 52,748 | positions= | 2,590 | planes= | 59 |
gain= | 44.50 | messages= | 48,169 | positions= | 2,308 | planes= | 56 |
gain= | 43.90 | messages= | 49,875 | positions= | 2,451 | planes= | 57 |
gain= | 43.40 | messages= | 46,902 | positions= | 2,318 | planes= | 59 |
gain= | 42.10 | messages= | 46,433 | positions= | 2,287 | planes= | 52 |
gain= | 40.20 | messages= | 46,175 | positions= | 2,288 | planes= | 52 |
gain= | 38.60 | messages= | 43,013 | positions= | 2,259 | planes= | 49 |
gain= | 37.20 | messages= | 44,168 | positions= | 2,307 | planes= | 49 |
gain= | 36.40 | messages= | 46,145 | positions= | 2,257 | planes= | 46 |
gain= | 33.80 | messages= | 42,327 | positions= | 2,018 | planes= | 48 |
gain= | 32.80 | messages= | 39,686 | positions= | 2,034 | planes= | 50 |
gain= | 29.70 | messages= | 42,365 | positions= | 2,284 | planes= | 49 |
gain= | 28.00 | messages= | 46,034 | positions= | 2,496 | planes= | 45 |
gain= | 25.40 | messages= | 42,605 | positions= | 2,274 | planes= | 45 |
gain= | 22.90 | messages= | 39,285 | positions= | 2,144 | planes= | 44 |
gain= | 20.70 | messages= | 38,644 | positions= | 2,119 | planes= | 51 |
test | 2 of | 5 | |||||
gain= | 49.60 | messages= | 41,193 | positions= | 2,252 | planes= | 51 |
gain= | 48.00 | messages= | 42,596 | positions= | 2,235 | planes= | 54 |
gain= | 44.50 | messages= | 42,345 | positions= | 2,113 | planes= | 52 |
gain= | 43.90 | messages= | 41,633 | positions= | 2,045 | planes= | 52 |
gain= | 43.40 | messages= | 41,603 | positions= | 2,230 | planes= | 55 |
gain= | 42.10 | messages= | 42,987 | positions= | 2,273 | planes= | 56 |
gain= | 40.20 | messages= | 45,086 | positions= | 2,481 | planes= | 52 |
gain= | 38.60 | messages= | 46,126 | positions= | 2,553 | planes= | 53 |
gain= | 37.20 | messages= | 50,541 | positions= | 2,843 | planes= | 55 |
gain= | 36.40 | messages= | 50,039 | positions= | 2,806 | planes= | 55 |
gain= | 33.80 | messages= | 48,125 | positions= | 2,788 | planes= | 58 |
gain= | 32.80 | messages= | 47,244 | positions= | 2,676 | planes= | 55 |
gain= | 29.70 | messages= | 49,429 | positions= | 2,839 | planes= | 61 |
gain= | 28.00 | messages= | 50,832 | positions= | 2,823 | planes= | 61 |
gain= | 25.40 | messages= | 53,873 | positions= | 2,949 | planes= | 61 |
gain= | 22.90 | messages= | 56,442 | positions= | 3,150 | planes= | 57 |
gain= | 20.70 | messages= | 53,847 | positions= | 2,926 | planes= | 61 |
test | 3 of | 5 | |||||
gain= | 49.60 | messages= | 55,600 | positions= | 2,904 | planes= | 64 |
gain= | 48.00 | messages= | 55,856 | positions= | 2,915 | planes= | 68 |
gain= | 44.50 | messages= | 58,439 | positions= | 2,980 | planes= | 70 |
gain= | 43.90 | messages= | 59,170 | positions= | 3,073 | planes= | 73 |
gain= | 43.40 | messages= | 57,225 | positions= | 2,883 | planes= | 73 |
gain= | 42.10 | messages= | 59,060 | positions= | 2,959 | planes= | 76 |
gain= | 40.20 | messages= | 59,550 | positions= | 2,943 | planes= | 80 |
gain= | 38.60 | messages= | 62,489 | positions= | 3,105 | planes= | 76 |
gain= | 37.20 | messages= | 58,711 | positions= | 2,862 | planes= | 78 |
gain= | 36.40 | messages= | 60,633 | positions= | 2,989 | planes= | 76 |
gain= | 33.80 | messages= | 62,804 | positions= | 3,111 | planes= | 76 |
gain= | 32.80 | messages= | 65,260 | positions= | 3,406 | planes= | 80 |
gain= | 29.70 | messages= | 65,811 | positions= | 3,423 | planes= | 78 |
gain= | 28.00 | messages= | 64,502 | positions= | 3,312 | planes= | 73 |
gain= | 25.40 | messages= | 65,806 | positions= | 3,343 | planes= | 72 |
gain= | 22.90 | messages= | 65,192 | positions= | 3,313 | planes= | 64 |
gain= | 20.70 | messages= | 61,706 | positions= | 3,135 | planes= | 62 |
test | 4 of | 5 | |||||
gain= | 49.60 | messages= | 60,285 | positions= | 3,147 | planes= | 71 |
gain= | 48.00 | messages= | 59,860 | positions= | 3,094 | planes= | 68 |
gain= | 44.50 | messages= | 59,108 | positions= | 3,122 | planes= | 74 |
gain= | 43.90 | messages= | 62,337 | positions= | 3,213 | planes= | 65 |
gain= | 43.40 | messages= | 61,017 | positions= | 3,087 | planes= | 66 |
gain= | 42.10 | messages= | 60,478 | positions= | 3,157 | planes= | 66 |
gain= | 40.20 | messages= | 62,396 | positions= | 3,151 | planes= | 69 |
gain= | 38.60 | messages= | 61,857 | positions= | 3,240 | planes= | 68 |
gain= | 37.20 | messages= | 58,730 | positions= | 3,093 | planes= | 65 |
gain= | 36.40 | messages= | 58,454 | positions= | 3,135 | planes= | 64 |
gain= | 33.80 | messages= | 57,823 | positions= | 3,091 | planes= | 69 |
gain= | 32.80 | messages= | 58,009 | positions= | 3,198 | planes= | 68 |
gain= | 29.70 | messages= | 53,719 | positions= | 2,902 | planes= | 61 |
gain= | 28.00 | messages= | 54,794 | positions= | 2,944 | planes= | 60 |
gain= | 25.40 | messages= | 54,796 | positions= | 2,876 | planes= | 57 |
gain= | 22.90 | messages= | 54,243 | positions= | 2,765 | planes= | 64 |
gain= | 20.70 | messages= | 53,466 | positions= | 2,706 | planes= | 59 |
test | 5 of | 5 | |||||
gain= | 49.60 | messages= | 54,462 | positions= | 2,745 | planes= | 67 |
gain= | 48.00 | messages= | 53,028 | positions= | 2,758 | planes= | 66 |
gain= | 44.50 | messages= | 52,630 | positions= | 2,766 | planes= | 68 |
gain= | 43.90 | messages= | 54,776 | positions= | 2,805 | planes= | 64 |
gain= | 43.40 | messages= | 53,891 | positions= | 2,735 | planes= | 65 |
gain= | 42.10 | messages= | 57,845 | positions= | 2,864 | planes= | 67 |
gain= | 40.20 | messages= | 60,469 | positions= | 3,167 | planes= | 68 |
gain= | 38.60 | messages= | 60,304 | positions= | 3,007 | planes= | 68 |
gain= | 37.20 | messages= | 58,741 | positions= | 2,988 | planes= | 66 |
gain= | 36.40 | messages= | 56,910 | positions= | 3,057 | planes= | 64 |
gain= | 33.80 | messages= | 57,049 | positions= | 2,975 | planes= | 69 |
gain= | 32.80 | messages= | 56,665 | positions= | 2,912 | planes= | 62 |
gain= | 29.70 | messages= | 54,026 | positions= | 2,760 | planes= | 61 |
gain= | 28.00 | messages= | 55,041 | positions= | 2,779 | planes= | 56 |
gain= | 25.40 | messages= | 50,043 | positions= | 2,575 | planes= | 56 |
gain= | 22.90 | messages= | 45,426 | positions= | 2,270 | planes= | 54 |
gain= | 20.70 | messages= | 39,123 | positions= | 1,948 | planes= | 53 |
===Totals=== | |||||||
Gain, Messages, Positions, Aircraft | |||||||
49.6 | 266,201 | 13,794 | 266 | ||||
48.0 | 264,088 | 13,592 | 266 | ||||
44.5 | 260,691 | 13,289 | 272 | ||||
43.9 | 267,791 | 13,587 | 269 | ||||
43.4 | 260,638 | 13,253 | 270 | ||||
42.1 | 266,803 | 13,540 | 272 | ||||
40.2 | 273,676 | 14,030 | 267 | ||||
38.6 | 273,789 | 14,164 | 260 | ||||
37.2 | 270,891 | 14,093 | 262 | ||||
36.4 | 272,181 | 14,244 | 250 | ||||
33.8 | 268,128 | 13,983 | 259 | ||||
32.8 | 266,864 | 14,226 | 255 | ||||
29.7 | 265,350 | 14,208 | 253 | ||||
28.0 | 271,203 | 14,354 | 246 | ||||
25.4 | 267,123 | 14,017 | 252 | ||||
22.9 | 260,588 | 13,642 | 245 | ||||
20.7 | 246,786 | 12,834 | 250 |
Jun 14 13:45:22 piaware dump1090-fa[30797]: adaptive: available dynamic range (33.7dB) >= required dynamic range (30.0dB), continuing upw
Jun 14 13:45:22 piaware dump1090-fa[30797]: adaptive: changing gain from 48.0dB (step 27) to 49.6dB (step 28) because: probing dynamic ra
Jun 14 13:45:22 piaware dump1090-fa[30797]: rtlsdr: tuner gain set to 49.6 dB (gain step 28)
Jun 14 13:45:32 piaware dump1090-fa[30797]: adaptive: available dynamic range (33.6dB) >= required dynamic range (30.0dB), continuing upwJun 14 13:45:32 piaware dump1090-fa[30797]: adaptive: changing gain from 49.6dB (step 28) to 58.6dB (step 29) because: probing dynamic raJun 14 13:45:32 piaware dump1090-fa[30797]: rtlsdr: tuner gain set to about 58.6 dB (gain step 29) (tuner AGC enabled)
Jun 14 13:45:42 piaware dump1090-fa[30797]: adaptive: available dynamic range (23.3dB) < required dynamic range (30.0dB), switching to do
Jun 14 13:45:42 piaware dump1090-fa[30797]: adaptive: changing gain from 58.6dB (step 29) to 49.6dB (step 28) because: probing dynamic ra
Jun 14 13:45:42 piaware dump1090-fa[30797]: rtlsdr: tuner gain set to 49.6 dB (gain step 28)
Jun 14 13:45:52 piaware dump1090-fa[30797]: adaptive: available dynamic range (33.3dB) >= required dynamic range (30.0dB), stopping downw