DUMP1090 gain setting.

Want to post something that doesn't quite fit into the other forums? This is the place for that.
Post Reply
watsonm
Posts: 26
Joined: Sun Jun 29, 2014 12:19 pm

DUMP1090 gain setting.

Post by watsonm » Mon Oct 27, 2014 10:17 am

Coming late to the party.

Apologies if you folk have already found this out but the dump1090 setting for auto-gain was found to be a misprint in the help according to the software developer.

I have recently set it to the "corrected" value with good results on my installation

Suggest you try --gain -10

Obviously "Your mileage may vary" .... :-)

Mike

sashimi3
Posts: 14
Joined: Sun Oct 12, 2014 5:53 pm
Location: United States

Re: DUMP1090 gain setting.

Post by sashimi3 » Mon Oct 27, 2014 4:37 pm

Yes our mileage may certainly vary :-)

Changing it to 10 from 48 cuts my tracked airplane count from 60-80 to something like 6

d

jonfear
Posts: 365
Joined: Sat Feb 09, 2013 12:15 pm
Location: Wick St Lawrence
Contact:

Re: DUMP1090 gain setting.

Post by jonfear » Mon Oct 27, 2014 5:40 pm

The -10 (Minus 10) is important. if you use 1o then something very strange happens. I use the autogain on all my RPi's and it works well

Jon
http://www.360radar.co.uk, the new name for MLAT Radar in the UK and Western Europe.

Former PP feeder Bm. No longer feeding. I do not have time to sort out imaginary problems with NTP
when it has been working fine for 2+ Years.

sashimi3
Posts: 14
Joined: Sun Oct 12, 2014 5:53 pm
Location: United States

Re: DUMP1090 gain setting.

Post by sashimi3 » Mon Oct 27, 2014 6:52 pm

Hmmm. ok missed that "-" :-)

Made that change. What would be the expected outcome?

d

jonfear
Posts: 365
Joined: Sat Feb 09, 2013 12:15 pm
Location: Wick St Lawrence
Contact:

Re: DUMP1090 gain setting.

Post by jonfear » Mon Oct 27, 2014 8:02 pm

In my case, I had the gain pretty much sorted so about 5NM extra and less false positives!

Jon
http://www.360radar.co.uk, the new name for MLAT Radar in the UK and Western Europe.

Former PP feeder Bm. No longer feeding. I do not have time to sort out imaginary problems with NTP
when it has been working fine for 2+ Years.

T-EGJA1
Posts: 107
Joined: Sun Sep 08, 2013 12:11 am
Location: Mid-Devon, UK

Re: DUMP1090 gain setting.

Post by T-EGJA1 » Tue Oct 28, 2014 9:22 am

On a related note, can anyone explain the difference (if any) between the settings "--gain -10" and --enable-agc" ?
dump1090 --help merely gives:
--gain <db> Set gain (default: max gain. Use -10 for auto-gain)
--enable-agc Enable the Automatic Gain Control (default: off)
Terry

T-EGJA1
Posts: 107
Joined: Sun Sep 08, 2013 12:11 am
Location: Mid-Devon, UK

Re: DUMP1090 gain setting.

Post by T-EGJA1 » Wed Oct 29, 2014 3:41 pm

Further to my previous post above, I've been doing some research and suspect that the two gain switches in dump1090 may relate to the 'RTL AGC' and 'Tuner AGC' options in SDR#, i.e. '--enable-agc' = 'RTL AGC' and '--gain -10' = 'Tuner AGC' (the latter in SDR#, when un-checked, can be manually set to a specific gain value) ........... can anyone confirm whether this is the case, or not?

From my research, consensus seems to suggest that (at least for SDR#), the preferred setting is to enable RTL AGC and disable Tuner AGC, manually setting a gain value that strikes a balance between a strong signal and low noise. To this end, I've been running SDR# tuned to 1090 Mhz and watching the ADS-B pulses in the 'waterfall' display, while adjusting the gain settings. So far, the best result seems to be with RTL AGC enabled, Tuner AGC disabled and RF Gain set to 40.2 dB. The next step is to transfer these settings to dump1090, i.e. "dump1090 --enable-agc --gain 40.2 etc. " and compare the polar plot with that from previous settings. I'll report back as to whether there's any difference after running the test for 24 hours or so.
Terry

T-EGJA1
Posts: 107
Joined: Sun Sep 08, 2013 12:11 am
Location: Mid-Devon, UK

Re: DUMP1090 gain setting.

Post by T-EGJA1 » Tue Nov 04, 2014 12:03 am

Testing various settings over the past couple of days, the optimum settings (for my set-up) are "--enable-agc" (RTL Automatic Gain Control ON) and the "--gain " omitted, i.e. using default max 'Tuner' gain.

Setting both "--enable-agc" and "--gain -10" results in noticeably fewer contacts and reduced range, presumably as a result of overloading or drowning the signal in noise.

Your mileage may vary.
Terry

Post Reply