# Trying to understand

**URL:** <https://discussions.flightaware.com/t/trying-to-understand/70719>\
**Category:** ADS-B Flight Tracking\
**Created:** [November 9, 2020, 1:16pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719 "2020-11-09T13:16:53Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 9, 2020, 1:16pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/1 "2020-11-09T13:16:53Z")

</div>

Good afternoon,

The last week I have been experimenting with my gain. Today I changed my gain 49.6 back to the standard -10. And suddenly my ADS-B CPU utilization increased.  
As I am trying to understand the graphs, is that “normal”  
Thanks

 ![Schermafbeelding 2020-11-09 om 14.08.16](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/4/4/44ac55113175e6cac9129dd58f24d2089888491f.png)

---

<div class="post-metadata">

**Author:** ![Humpfrey](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/humpfrey/32/137383_2.png) [@Humpfrey](https://discussions.flightaware.com/u/Humpfrey)\
**Post date:** [November 9, 2020, 4:07pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/2 "2020-11-09T16:07:19Z")

</div>

One of the key indicators for gain setting is Messages \> -3dBFS.  
Around 5% of messages seems to be a good value, but depends on your proximity to a busy airport.

 ![RTL-SDR](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/9/e/9ecb753ed7579040a4479ce34f13f5cdc8dba9b5.png)

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 9, 2020, 4:27pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/3 "2020-11-09T16:27:47Z")

</div>

Nearest airports are about 150km/250km away. But both are not in my coverage range.

 ![Screenshot 2020-11-09 at 17.24.24](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/9/9/99a4180bcf51e58cd900fd85784d51e3449f3184.jpeg)

---

<div class="post-metadata">

**Author:** ![jafrank](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jafrank/32/124667_2.png) [@jafrank](https://discussions.flightaware.com/u/jafrank)\
**Post date:** [November 9, 2020, 5:57pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/4 "2020-11-09T17:57:29Z")

</div>

> [@Dutchyb](#):
>
> As I am trying to understand the graphs, is that “normal”

“-10” is max gain. If you have any interference in your area, increasing the gain will give you _louder_ interference. So, your Pi is likely getting more signals (of all types) with the higher gain setting, but if your plane count and message count didn’t change, then those extra signals are probably garbage - but it needs to be processed to make sure it’s garbage, so more CPU usage.

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 9, 2020, 6:25pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/5 "2020-11-09T18:25:49Z")

</div>

Thank you very much. Now I understand what happened.  
So next step will try to find out my interference:) Will check again as you suggested, count and messages.

ADS-B tracks increased after changing to -10

Thanks again

 ![Screenshot 2020-11-09 at 19.27.24](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/5/d/5de88a21ec8383bd3f2654c94b9e80fe213bedfe.png)

---

<div class="post-metadata">

**Author:** ![kenf3](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/kenf3/32/113643_2.png) [@kenf3](https://discussions.flightaware.com/u/kenf3)\
**Post date:** [November 9, 2020, 6:34pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/6 "2020-11-09T18:34:26Z")

</div>

I prefer not to use the -10 max gain so that single-track messages are kept to a minimum and the range of signal levels detected is as wide as possible.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/c/a/ca368d91f284e21969798235c699b31bd73c289d.png)

---

<div class="post-metadata">

**Author:** ![foxhunter](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/foxhunter/32/113733_2.png) [@foxhunter](https://discussions.flightaware.com/u/foxhunter)\
**Post date:** [November 9, 2020, 9:03pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/7 "2020-11-09T21:03:09Z")

</div>

> [@kenf3](#):
>
> I prefer not to use the -10 max gain so that single-track messages are kept to a minimum and the range of signal levels detected is as wide as possible.

The primary value for keeping an eye on is the value for Messages \> -3dBFS  
This should be below 5% as a rule of thumb. -10 is normally not a good idea

 ![image](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/6/b/6bbd0e2f26ff6d1c6e69ed6d53b4527fb1784e01.png)  
You will need a certain amount of traffic, otherwise the values are inconsistent if traffic changes.

I left my gain at 40.2. I could go higher, but it won’t change anything in reception. Once the traffic comes back, it is the best value for my location/setup

In general i would start in the mid of 40s and then doing on step up or down and leave it for a full day at this value for further verification.

It also depends on your equipment. I am using the blue Pro Plus stick, a normal SDR can require a higher value, if used an additional LNA it can be lower.  
It’s mainly a try&error

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 7:55am UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/8 "2020-11-10T07:55:39Z")

</div>

> [@kenf3](#):
>
> I prefer not to use the -10 max gain so that single-track messages are kept to a minimum and the range of signal levels detected is as wide as possible.

Thank you very much for the explanation. Again a step forwards for me. It is much appreciated.  
I noticed that after my change to -10 the single messages rate went up., but could not explain it. Thanks to you, now I do:)

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 8:02am UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/9 "2020-11-10T08:02:38Z")

</div>

@foxhunter  
Thank you for the help. I will try and have a lot of erorrors:O  
I use a RTL\_SDR dongle, with a Jetvison antenna. So will start as you recommended somewhere at 43 and than see what will happen.

Thinking of buying a filter as well. I am living in a city, so from what I read it should be very useful. Thinking about the Uptronics filter.

Thanks again

---

<div class="post-metadata">

**Author:** ![foxhunter](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/foxhunter/32/113733_2.png) [@foxhunter](https://discussions.flightaware.com/u/foxhunter)\
**Post date:** [November 10, 2020, 9:11am UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/10 "2020-11-10T09:11:17Z")

</div>

Filter and LNA will improve your reception.

You can find more information in this thread. But careful, it requires some long winter evenings to read 🙂

> [@Thoughts on optimizing gain](https://discussions.flightaware.com/t/thoughts-on-optimizing-gain/44482):
>
> The topic of gain comes up often enough and unlike some i don’t like the gain optimization script. Aircraft fading in and out of view make short term number gathering not that useful. The metric i like most for optimizing gain is the percentage of what dump1090 calls “strong\_signals”. Those “strong\_signals” are messages that get close to getting clipped. If you don’t care about some background you can scroll down to the next post for the HOWTO slight_smile This is a clipped signal, the wa…

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 9:27am UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/11 "2020-11-10T09:27:14Z")

</div>

@foxhunter

I already started reading that thread. But being a completely non tech guy, it takes extra time and lots of more reading and re-reading.

Will start with the Uptronics 1090 Mhz filter. Read that this one is not getting that warm and Wiedehopf stated that the new RTL filter seems to be not as good as the previous one. Cannot recalls where he wrote that., somewhere here in this forum…

First step today, to change my gain.

Thanks for your time and help

---

<div class="post-metadata">

**Author:** ![foxhunter](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/foxhunter/32/113733_2.png) [@foxhunter](https://discussions.flightaware.com/u/foxhunter)\
**Post date:** [November 10, 2020, 12:22pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/12 "2020-11-10T12:22:52Z")

</div>

That’s a good starting point

I did the same way. Simply build my first receiver 18 months ago and after it started working i began optimizing it.

If you read too much at the beginning, it can confuse you. It also heavily rely on your environment

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 2:45pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/13 "2020-11-10T14:45:04Z")

</div>

@foxhunter

You are right. I try/tried to read as much as possible, but that makes me even more confused.☹

Since this morning I rplayed with gain between 40 - 49.6. Around 40 almost all planes are gone and the range dropped as well, so I will go up.  
Checking the strong messages,…pffff they stay at 0,000 percentage with:  
awk “$(cat /run/dump1090\*/stats.json| grep total | sed ‘s/._accepted":[([0-9]_)._strong\_signals":([0-9]_).\*/BEGIN {printf “\nPercentage of strong messages: %.3f \n” , \2 \* 100 / \1}/’)”

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [November 10, 2020, 5:58pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/14 "2020-11-10T17:58:06Z")

</div>

Suggesting -10 is bad without knowing the setup … isn’t recommended.

Also the graph he posted already showed that -10 wasn’t too strong.  
Non-amplified receiver: needs -10 as gain.

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 6:32pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/15 "2020-11-10T18:32:35Z")

</div>

I am facing another problem. Made a mistake while trying to change my gain.  
Saw this error:

 ![Screenshot 2020-11-10 at 19.25.48](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/a/6/a68f80873503b9bcf0bbce5cb73ef2f75bb2f4c5.jpeg)

Tried to update and restart dump1090 in Flightawre. Was successful.

 ![Screenshot 2020-11-10 at 19.26.15](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/7/a/7a93ff0ebfd5c8f127a73145905a634dcf9d80b3.png)  
But still I see the error.

Guess something is Wong in my sudo nano /etc/default/dump1090-fa

 ![Screenshot 2020-11-10 at 19.31.18](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/3/1/3179b9e94a455c0e3c98c469e00e31cd36fad30e.jpeg)

IS there a way yo correct this error?

Used the commands given by Wiedehopf

 ![Screenshot 2020-11-10 at 19.40.30](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/6/0/609d21f5ece45e6e98685c9646f9f3e0680eb129.png)

---

<div class="post-metadata">

**Author:** ![foxhunter](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/foxhunter/32/113733_2.png) [@foxhunter](https://discussions.flightaware.com/u/foxhunter)\
**Post date:** [November 10, 2020, 6:58pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/16 "2020-11-10T18:58:32Z")

</div>

> [@Dutchyb](#):
>
> IS there a way yo correct this error?

Your content in the receiver options line look messed up. It says “ **-10gain** ” which is not readable.

Mine:  
`RECEIVER_OPTIONS="--device-index 0 --gain 42.1 --ppm 0"`

You should fix that and restart it again.

As stated by @wiedehopf it depends on your setup. Antenna indoor/outdoor, Antenna optimized or not, General RTL stick or specialized (e.g. the FA stick), LNA/Filter yes-no…  
Even the cabling or connectors can be an issue

---

<div class="post-metadata">

**Author:** ![Dutchyb](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dutchyb/32/136885_2.png) [@Dutchyb](https://discussions.flightaware.com/u/Dutchyb)\
**Post date:** [November 10, 2020, 7:06pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/17 "2020-11-10T19:06:09Z")

</div>

@foxhunter

Thank you very much, copied and paste the file and saved it in a safe place.  
It is working again. Deep bow!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/system/32/38558_2.png) [@system](https://discussions.flightaware.com/u/system)\
**Post date:** [November 10, 2021, 7:06pm UTC](https://discussions.flightaware.com/t/trying-to-understand/70719/18 "2021-11-10T19:06:13Z")

</div>

Closed on November 10, 2021, 7:06pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
