<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 11:10 AM <<a href="mailto:wllmbecks@gmail.com">wllmbecks@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7565079812326911083WordSection1"><p class="MsoNormal">As Graham pointed out, there is no “Master” gain control built into the interface specification<u></u><u></u></p><p class="MsoNormal">of Airspy devices.  However, In addition to manual gain control, there are sensitivity, and linearity modes<u></u><u></u></p><p class="MsoNormal">that apply AGC over the LNA and Mixer stages. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The “Master” gain control it seems is a feature in SDRTrunk whereby some values are applied to the<u></u><u></u></p><p class="MsoNormal">LNA, Mixer, and IF gains settings in addition to allow the end user input specific Tuner gain settings.<u></u><u></u></p><p class="MsoNormal">That said, there is no need to mimic overall RF amplitude values displayed on op25 FFT plots.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The fundamental difference between typical RTL SDR devices and the Airspy R2’s and Mini’s<u></u><u></u></p><p class="MsoNormal">is the much lower noise floor and the superior signal handling characteristics of the Airspy.<u></u><u></u></p><p class="MsoNormal">At the end of the day it’s all about Signal to Noise (S/N) performance of any given radio receiver<u></u><u></u></p><p class="MsoNormal">that defines overall usable sensitivity.   <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Shown below are FFT plots captured from the same P25 system with an Airspy R2 followed by<u></u><u></u></p><p class="MsoNormal">a NooElec SMArt.  Observe the Airspy exhibits an average noise floor of approximately -80 while<u></u><u></u></p><p class="MsoNormal">the RTL exhibits an average noise floor of approximately -63 to -64 that clearly demonstrates <u></u><u></u></p><p class="MsoNormal">that the Airspy has a 16 to 17 dB advantage over the RTL device.</p></div></div></blockquote><div><br></div><div>Er, no.. it means that *after all of the gains have been applied*, the noise floor measures differently. As you pointed out above, then apparently immediately forgot, it's SNR that matters. Eyeballing your plots, it seems like the SNR is similar - somewhere in the 35-40dB range (can't tell more than that, given the resolution). Note that the vertical scale is not the same between the two plots. Also, the RF frequency is not the same, so that's probably not a fair comparison either.</div><div><br></div><div>    ~iain</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7565079812326911083WordSection1"><p class="MsoNormal">In addition to the lower noise performance,  the signal handling in crowed RF spectrums<u></u><u></u></p><p class="MsoNormal">of the Airspy is also a plus.  I happen to live in a rural area where there are few in-band 800 MHz<u></u><u></u></p><p class="MsoNormal">signals, but it should be noted that most RTL’s suffer from self-induced intermodulation interference<u></u><u></u></p><p class="MsoNormal">when operated in crowded RF spectrums.   <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><u>Airspy R2  ./rx.py --args 'airspy' -S 2500000 -N 'LNA:15,MIX:15,IF:10'<u></u><u></u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img width="498" height="359" style="width: 5.1875in; height: 3.7361in;" id="gmail-m_-7565079812326911083Picture_x0020_1" src="cid:1745a55c1d05b006a1"><u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><b><u>NooElec RTL</u></b><u>  <b>./rx.py --args 'rtl' --gains 'lna:49'<u></u><u></u></b></u></p><p class="MsoNormal"><b> <u></u><u></u></b></p><p class="MsoNormal"><img width="498" height="329" style="width: 5.1875in; height: 3.4236in;" id="gmail-m_-7565079812326911083Picture_x0020_3" src="cid:1745a55c1d0772f6c2"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The third FFT plot below does demonstrate the relatively poor IM performance of an RTL SDR<u></u><u></u></p><p class="MsoNormal">captured from one of my remote instances of op25 tuned to a VHF P25 system where there<u></u><u></u></p><p class="MsoNormal">are numerous in-band signals.   In this case I am using a five element Yagi antenna aimed at the<u></u><u></u></p><p class="MsoNormal">distant RFSS in combination with minimum LNA settings to mitigate as much of the IM products<u></u><u></u></p><p class="MsoNormal">as are possible.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Signals shown in the plot below approximately -45 are IM products and are not real in-band signals<u></u><u></u></p><p class="MsoNormal">when at times there are legitimate in-band signals that do produce IM products that cause bit errors<u></u><u></u></p><p class="MsoNormal">to the desired P25 control or voice channels.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><u>NooElec RTL</u></b><u>  <b>./rx.py --args 'rtl' --gains 'lna:49'<u></u><u></u></b></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img width="501" height="363" style="width: 5.2152in; height: 3.7847in;" id="gmail-m_-7565079812326911083Picture_x0020_4" src="cid:1745a55c1d0bda4f13"><u></u><u></u></p><p class="MsoNormal"> Bill<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">-----Original Message-----<br>From: op25-dev <<a href="mailto:op25-dev-bounces@lists.osmocom.org" target="_blank">op25-dev-bounces@lists.osmocom.org</a>> On Behalf Of <a href="mailto:op25@zellners.com" target="_blank">op25@zellners.com</a><br>Sent: Friday, September 4, 2020 5:35 AM<br>To: <a href="mailto:op25-dev@lists.osmocom.org" target="_blank">op25-dev@lists.osmocom.org</a><br>Subject: Re: [op25-dev] rx.py Airspy MASTER GAIN Setting option?????<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">Quoting Graham Norbury <<a href="mailto:gnorbury@bondcar.com" target="_blank"><span style="color:windowtext;text-decoration:none">gnorbury@bondcar.com</span></a>>:<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">> I'm not aware of a master gain parameter.   LNA, MIX, IF are the three gain<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">> controls.  All take value between 0-15.<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">Ummm...mmm...hmmmmmm...<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">SDRTrunk exposes:<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">4 CONTROLS and 3 options in a drop down.<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">A guess is these "modes" are some sort of custom setup? As you can set CUSTOM MODE and you can then adjust IF,MIX,LNA separately... in SENSITIVITY or LINEARITY MODES it has a "MASTER" slider which I will take it that if there really are only 3 real gains must be a custom adjust to all 3 via that slider???? Which it doesn't reflect in the GUI that its adjusting them.... but thats not really relevant here.<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">I am trying to match performance from an RTL to the Airspy, and the plot on the spectrum is at least 20db down from the RTL (RTL Gain 49)..unless the Airspys are significantly less sensitive which SDRT doesn't seem to show.<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">I get -20db power level with the RTL and and the airspy is at -40db...and playing with those gains didn't seem to budge it... hmmm..<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">I'll give another whack tonight using only the 3 controls and see what I get...<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText">Thanks...<u></u><u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="gmail-m_-7565079812326911083MsoPlainText"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div>