All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 182 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8
Author Message
 Post subject: Re: Gain Adjustment...
PostPosted: Sun Jan 15, 2017 3:35 pm 
Offline
biekerc - FlightAware user avatar

Joined: Sat Jul 16, 2016 2:17 am
Posts: 40
What confused me was that the message value peaked at a gain value of 22 with 166,000, then went down to just 322 at 49.6, then up again to 160,000 at -10. Two gain values so close to each other, and so different results.

Now I have added a filter, and this changed things, the higher the gain, the higher message count, peaking at a gain value of 48. -10 still leads to a lower message count, comparable to a gain value of 16.

Interestingly. the filter did not make a perceptible difference with a standard TV antenna or a homebrew spider, but the FA antenna apparently profits from it.

But now I will stop hijacking this thread, and many thanks to obj for your help.


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...
PostPosted: Mon Jan 16, 2017 12:26 am 
Offline
FlightAware Member
andrew6721 - FlightAware user avatar

Joined: Sun May 10, 2015 5:06 am
Posts: 64
Location: Sydney, Australia
biekerc wrote:
But now I will stop hijacking this thread, and many thanks to obj for your help.


No, no, no - this is all useful stuff to do with the subject matter - I've always had mine set to AGC (both with the DVB-T dongle and now the ProStick) and am trying to work out whether to leave it or play around with manually setting the gain.


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...
PostPosted: Mon Jan 16, 2017 6:57 am 
Offline
davidglynn - FlightAware user avatar

Joined: Mon Dec 26, 2016 10:38 pm
Posts: 14
Location: KFIT
biekerc, can you post your ADS-B Signal graph from before and after installing the noise filter?


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...
PostPosted: Mon Jan 16, 2017 4:25 pm 
Offline
biekerc - FlightAware user avatar

Joined: Sat Jul 16, 2016 2:17 am
Posts: 40
Not very pretty, but these are the values of running the gain script coded by wittrup58. They show gain and messages. The absolute values are not comparable, they ran at different times.

    Gain w/o filter with filter
    0,00 3.890 10.663
    0,90 13.756 19.594
    1,40 19.529 19.124
    2,70 32.050 39.971
    3,70 43.231 50.626
    7,70 62.037 70.073
    8,70 80.542 88.908
    12,50 96.533 103.656
    14,40 104.417 114.737
    15,70 114.134 132.246
    16,60 127.569 146.833
    19,70 146.052 161.232
    20,70 163.105 163.632
    22,90 161.169 180.127
    25,40 162.152 186.239
    28,00 135.730 185.976
    29,70 135.226 187.130
    32,80 72.662 186.608
    33,80 77.703 187.752
    36,40 51.427 189.557
    37,20 47.634 182.157
    38,60 44.095 175.168
    40,20 38.865 185.081
    42,10 27.775 185.781
    43,40 24.053 185.428
    43,90 6.496 184.309
    44,50 5.173 187.369
    48,00 384 190.305
    49,60 322 186.080

    -10 156.974 132.837

Up to gain values of around 20, both show an increase in messages, but without the filter they then go down again, while with the filter, they continue to rise or at least stay the same. It the same for position values, btw.

Gain -10 leads to an average number of messages, even though it technically it represents in the highest possible gain, so one would expect a result like that of gain = 49.6. Maybe the optimize-script changes the gain to the next value before -10 actually leads to gain being set at the highest possible value?


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...script errors
PostPosted: Thu Mar 16, 2017 6:38 am 
Offline
navzptc - FlightAware user avatar

Joined: Fri Feb 10, 2017 7:51 am
Posts: 10
I have Dump 1090-mutability (ver 1.15 ~dev) running on a RPI3 using the latest Jessie Lite March 2017 image (python ver 2.7.9) which is running fine and outputting data with no problems.

I have tried to run lignumaqua's script from the first page, but keep running into errors, which are beyond my experience :cry:

The first error which came up was 'SyntaxError: Non-ASCII character '\xc2' in file ./set-gain.py on line 13, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details' and after looking on the interweb came across an answer to add '# -*- coding: utf-8 -*-' to the file - This I have done on the second line.

The script now gets further, but now runs into this error - 'File "./set-gain.py", line 15 ...... print "test", i+1, "of", ntests' - I am now stumped!!!

Any help/suggestions much appreciated.

Andy


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...
PostPosted: Fri Mar 24, 2017 1:33 pm 
Offline
Charter Member
cpohlad - FlightAware user avatar

Joined: Fri Nov 11, 2005 2:00 pm
Posts: 14
So I wanted to post my numbers to make sure I am doing this correctly.
I have an RPi 3 running the ADSB Receiver project image dumping to FA, FR24, PF and ADSBExchange. I have my antenna in the west-facing window of my bonus room on the second floor connected to a ProStick Plus.

I previously set my gain to 45 using the piaware-config command.

This was started at 1PM EDT near Richmond, VA

===Totals===
Gain, Messages, Positions, Aircraft
49.6 47941 1823 157
48.0 48803 1982 146
44.5 46738 2036 153
43.9 43054 1909 151
43.4 41588 1868 148
42.1 40154 1852 152
40.2 39432 1864 145
38.6 39967 1669 142
37.2 38882 1576 139
36.4 37132 1481 132
33.8 36363 1533 135
32.8 34410 1509 133
29.7 32930 1492 117
28.0 33487 1509 118
25.4 28992 1317 98
22.9 27040 1095 94
20.7 21403 721 79


Top
 Profile  
 
 Post subject: Re: Gain Adjustment...
PostPosted: Sat Mar 25, 2017 7:15 pm 
Offline
mkeflyer - FlightAware user avatar

Joined: Fri Feb 10, 2006 3:00 pm
Posts: 11
wittrup58 wrote:
I give up. Whenever I try to post all the command lines required I end up with "Forbidden You don't have permission to access /posting.php on this server."

Take a look at the command wget.
Download this file: https://raw.githubusercontent.com/wittr ... iaware3.py
And run it by typing: optimize-gain-piaware3.py
Wait for result.

Yes, your reports will still go through to FA during the tests. Except for the apx. 600 milliseconds every time dump1090-fa restarts.



So I am finally taking a bite and here comes the dumb newbie questions: Is this script supposed to work with 3.3.0 SD image?

I was able to download via the wget command but when I try to run via the above command I get "command not found".


I am very much a follow directions kind of person as I have zero clue what I am doing with any of this piaware stuff other than what a step by step writing would tell me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 182 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: conligwx, franhoran, homestea and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: