RF Gain?

Post information or questions regarding SDRplay products here
Post Reply
kb9rz
Posts: 2
Joined: Sat Oct 31, 2015 7:31 pm

RF Gain?

Post by kb9rz » Sat Oct 31, 2015 7:52 pm

I have found the Gain Reduction control but this doesn't work like a typical RF Gain on a conventional receiver. RF Gain controls flatten the signal and reduce the signal-to-noise relationship. Is there any way to do this using HDSDR?
Last edited by kb9rz on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Tech_Support
Posts: 499
Joined: Mon Jun 01, 2015 7:00 pm

Re: RF Gain?

Post by Tech_Support » Sat Oct 31, 2015 9:10 pm

Dear kb9rz,
The RSP gain control is indeed different from a conventional receiver. The first thing to note is that what is controlled is gain reduction from Maximum gain and not gain as such. If you are using HDSDR, with the slider at the top of its adjustment rang and the Gain reduction setting at 0 dB, you are at maximum gain. This will be far to high for any real world use case and so you will need to reduce the gain by anything up to 60 or 70 dB or maybe more depending upon the band you are operating in and the type of antenna you are using.
The second point to note is that the LNA gain is not controlled directly. The LNA has a single gain step and the point at which this step is applied within the overall gain reduction curve is controlled by the LNA trip threshold. The default setting is 59 dB, which means that the overall receiver gain will have to be reduced by more than 59 dB before the LNA gain reduction step is applied.

More details behind the way gain control and AGC works on the RSP can be found at:

http://www.sdrplay.com/docs/SDRplay_AGC ... e_r2p2.pdf

Sincerely

SDRplay Tech_Support
Last edited by Tech_Support on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

eckrot
Posts: 29
Joined: Thu Aug 13, 2015 6:55 pm

Re: RF Gain?

Post by eckrot » Sun Nov 01, 2015 9:50 am

Dear SDRPlay team,

I've read the technical note about the AGC and made some tests. From that I noticed that the LNA On causes ghost signals (from non-linearity or overload) in the shortwave ranges, even at the moment I do only have a Discone on roof as antenna (which is not a powerful shortwave antenna at all). Switching the LNA On populates 10m with BC stations, switching it off all is fine.
So, one could switch the LNA off and all is fine ... unfortunately, on the VHF/UHF bands the LNA helps to increase the SNR, so in most cases it should be switched on in these bands.
It would be fine if this frequency dependent LNA on/off switching (or the LNA threshold, as it is implemented now) could be done automatically in the extio.dll. Just to be able to define different LNA settings for different frequencies. If you would go this way, the next small step is to make the mixer gain control also frequency dependent. Then, one could program the right LNA/gain settings that fits exactly to the antenna used.
What do you think, does this make sense?
I've seen that in the SDRConsole is something similar done, isn't it? However, I could not reproduce the same effects as using your extio.dll and HDSDR. Maybe the implementation in SDRConsole is still buggy.

Eckhard
Last edited by eckrot on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

jazzkutya
Posts: 26
Joined: Wed Sep 23, 2015 8:50 pm

Re: RF Gain?

Post by jazzkutya » Mon Nov 02, 2015 2:27 pm

Hi Eckhard,

I don't think this would be a good idea because the situation is very dependent on antenna used any many other factors. For example with my (very badly situated) antenna the LNA even helps with false reception AM broadcasts, because in my case these are caused by some spurs originating inside the RSP between the baseband amp and the LNA. Redistributing gain from the baseband amp to the LNA helps in my case.

edit: sorry, I've read your post too fast at first, I see you meant it configurable. That way it's a good idea.
Last edited by jazzkutya on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

kb9rz
Posts: 2
Joined: Sat Oct 31, 2015 7:31 pm

Re: RF Gain?

Post by kb9rz » Mon Nov 02, 2015 5:06 pm

It would be good if you could modify your DLL so that it emulates how conventional AGC works, and put a "RF Gain" control under the ExtIO button. This is certainly doable technically. (I'll help you do it if you want.) Otherwise the experience is not a good one for me on SSB, personally, I'm afraid. I like everything so far except this.
Last edited by kb9rz on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

eckrot
Posts: 29
Joined: Thu Aug 13, 2015 6:55 pm

Re: RF Gain?

Post by eckrot » Wed Nov 11, 2015 5:52 pm

Dear SDRPlay team,

thank you very much for introducing the preset profiles into the extio.dll GUI! That's really nice to have!
One question about that: would it also be possible to make it automatically frequency depended switched? Just define lower and upper frequency boarders a certain profile should become valid? That would make it even more easy for the user to handle the characteristics of the used antenna. However, if you would do this, the bandwidth (resp. sample rate) should not be stored within the profile!
It seems that the extio.dll interface (at least for HDSDR) supports reading back the LO. Found this code on HDSDR webpage in FAQ section:

long EXTIO_API GetHWLO(void)
{
return (long)( glLOfreq & 0xFFFFFFFF );
}


What do you think, would this be possible?

Thank you very much for your hard work!

73 Eckhard
Last edited by eckrot on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: RF Gain?

Post by sdrplay » Thu Nov 12, 2015 7:29 am

Thank you for your input. I guess that this would mean that you would have to set the frequency before loading the profile rather than switching to the profile you want and then setting the frequency. I'm not sure at this point that we want to apply that restriction but I see what your saying.

We will be reviewing how the profiles are working and make some improvements in coming releases. I will make a note of your request to be looked at for that review.

Thanks and best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply