Hi Reid,
The ADC clip return is set if the ADC reaches max level for 3 ADC clock ticks between packets sent to the PC. The ADC clock is running fast at 76.8MHz so there can be up to ~200000 clock ticks or chances to increment the clip counter to 3 between packets, depending on the number and bandwidth of receivers selected.
How are you detecting/seeing inter-mod distortion?
If I remember correctly, Alan setup similar AGC in SparkSDR. For more resolution, he uses the bandscope data, which are real samples of the ADC, to make his AGC decisions. He is often on this group but you can be sure to find him on the SparkSDR group:
73,
Stevekf7o
On Tuesday, May 5, 2020 at 12:30:37 PM UTC-7, scumball contractor wrote:Hi Steve,
I have been doing some updates to the Open Power SDR code which allows the full LNA range to be used. I have used this functionality to create an auto attenuator which will increase the gain until the ADC starts to clip and then back it off. It will attempt to increase the gain again after 100 secs (configurable). If there is no ADC clip, it will increase the gain again after another 100 secs and so on. This allows the HL2 to track the total power available for a particular band.
This all works quite well, except for 160 and 10 meters. I suspect this is because on those two bands, the HL2 is exposed to maximum power density. What I have noticed is that I get inter-mod well before I get the ADC indication via the protocol. I believed you do some processing in the gateway which means that the ADC over load is not the direct over-load from the ADC.
I looked back at a message where the ADC overload was discussed and there was talk of a number of clips been added to the protocol but I don't see it mentioned in the description in the Wiki. Was that added or is the ADC clip bit all there is?
Cheers
ReidGi8TME/Mi0BOT
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/e88a83c8-95bf-4af3-a0bd-cf3402d4b9d4%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to herme...@googlegroups.com.
Hi Reid,It's great to have someone working on powersdr, It has been a bit restrictive in the past having to maintain compatability.
I do use a combination of the ep4 wideband packet and the overload indicator for rf agc and an adc level peak meter. The wideband packet is a very small sample so is far from perfect, better feedback from the radio is still on my wish list but in honesty I found very little difference between side by side comparisons of various agc strategies so my motivation dropped.
A long time a go I had an agc mode that kept the band noise just 10db above the calibrated radio noise where possible, this generally ran at far lower gain than the 'as much gain as possible without clipping' mode. On identical radios sharing an antenna there was not a conclusive difference in wspr spot counts over 24hrs, unfortunately I did not log the results against time and I have a slight feeling that there was a pattern that changed during the day. Re doing this is still on my ever growing todo list right next to looking at adc linearization again :)
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/57ce2280-359f-41d2-b201-59abf8147421%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite+unsubscribe@googlegroups.com.
Hi Reid and Alan,
If you two have a simple proposal to provide more useful ADC clipping indication to software without much addition or change to the existing protocol, please let me know. I'm not sure what is most useful to software here, but am willing to make changes.
The AD9866 actually doesn't have a clip indicator, and I am faking it by detecting max values of the ADC.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/a4e86263-3160-42f7-acde-0d34fa52384d%40googlegroups.com.
73,
Stevekf7o
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/57ce2280-359f-41d2-b201-59abf8147421%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to herme...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/a4e86263-3160-42f7-acde-0d34fa52384d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/0da07403-a8b9-46cc-a2c8-c1bbdae52755%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/f8aac860-2266-42a8-a3cf-557185661c07%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/0da07403-a8b9-46cc-a2c8-c1bbdae52755%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to herme...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/f8aac860-2266-42a8-a3cf-557185661c07%40googlegroups.com.
Hi Reid,
there is some great stuff here https://www.qsl.net/in3otd/ham_radio/Hermes-Lite/RX_meas.html In my agc I jump many of the lna values and just use the steps that look best from a noise point of view but am not sure if these are the best from an IMD perspective.73 Alan M0NNB
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/caf6e39b-98ec-4ec8-8eea-56802136ead5%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/b6b9b370-d48e-3033-5e8a-15eda6a5ada8%40gmail.com.
73
Dave M0WID