rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 64000000 -g 90 -m low -d --pga -o
Bild1.png
Does anyone have experimented already with the parameters in rx888_stream application, and know which would maybe be interesting to tweak a bit?
Which sample rate is recommended to not overwhelm rx888's USB controller?
I have removed -d and put -r in place.
As -d adds a bit of noise to the signal, where randomizing adds nothing and has the same effect.
It's a function of rounding a sample either being high or low.
E.g. if a sample is near between value 3025 and 3026, then the default is to round down to 3025.
With randomize it random round up or down....typical the best.
With dithering it looks at other samples to decide to go up or down.
Because we have 16bit, the function is best off or random...not dithering.
I also read that the lowpass-filter is just 30MHz, so with 64MPSP you may remove it.
As such I use 60MSPS
I prefer random.
Did you keept gain on 90 and gain mode on low?
High mode works weird....my gain is 60 and low mode...more then enough signal.
Maybe high mode works on VHF+, not seen it working well on HF.
Just changed it on mine, looks like a bit clearer as you said with -r
also switched to 60MSPS, guess I will have to get an FM BC filter as on uppper part some FM Stations come through
Are you sure it's not AM stations? As FM is difficult to mix with other signals, apart from overloading.
But overload is just remove some gain until it stops.
http://websdr.hb3xdc.ch:8074/
You can see it at close to 28MHz, to me it looks like a FM BC
Yeah it look like a radio station, FM Wideband, probably 3M with a multiplier/mixer to get at 3M band.
If you receive that, and 3M band blocker is the first thing I would do.
Else reduce the gain...10 points....your big antenna may get TOO much signal....try gain of 60....see what happens.
SDR receivers should never be set high in gain, as they have about 140~120db range...you can correct the waterfall and s-meter if not good. But start at LOW gain with weak stations....focus there.
Try gains until you lost very weak stations...then up a little. Then you know your optimal gain.
Good hints Bas.
Went down to -g 40 now for testing, still there on 28MHz, now with gain on 60 its bit weaker than on gain 90
Just added an external LPF Filter, now its gone
(https://www.hspshop.it/WebRoot/epagesIT/Shops/167668/60AC/BB60/401C/F4BA/8DB8/0A0A/B016/8FD4/Low-pass-filter-27586_RM_ITALY_MAIN.png)
May work...
I also have images of 34/35MHz signals, transposed to ~24MHz
I have a 30MHz LPF from SV1AFN (https://www.sv1afn.com/en/product-category-4/-21.html) but sigs are too strong and too close in frequency (almost Line-Of-Sight with repeaters)
But the good thing is that you can hear the Lyon-Marseille "Motorway of the Sun" A6 activity on this HF receiver, HI
Regards
linkz
To get high gain mode working you can use -g 20 and put the attenuator to like 10, it wont reduce signals more of an issue with the drivers i guess. You can try i use it.
So
-g 20 -a 10
I have been experimenting with the parameters, but many don't seem to behave as expected.
When using HF, the gain is too high for my liking, even with a value of 10, I see and hear spurious products. I also think this is why the AGC is problematic.
In particular
-m high gain mode is too high, which is to be expected
-g
values below 10 seem to result in excessive gain, values above 10 seem to work as expected.
-a
value of 10 or higher results in excessive gain, this is not as expected, as larger values should reduce signal levels.
--pga how do you activate that ? I have tried - 1 and true, but all produce an error.
Using the RX888 with HDSDR, I can adjust the RF and IF gain separately, and this seems to produce better results than Phantom.
Regards,
Martin
Quote from: magicint1337 on Sep 04, 2024, 10:48 PMTo get high gain mode working you can use -g 20 and put the attenuator to like 10, it wont reduce signals more of an issue with the drivers i guess. You can try i use it.
So
-g 20 -a 10
PGA is a toggle, --pga activates it, without it; it's disabled.
See code:
/// PGA enable
#[arg(long, global = true, default_value_t = false)]
pga: bool,
Combined with --pga you use; -d (dithering) and/or -r (randomize) rounding to reduce sample-errors.
Just test what works the best for you, but they don't work if --pga isn't used as far as I understand it.
As for the gains:
/// VGA gain setting 0-127
#[arg(short, long, global = true, default_value_t = 1, value_parser = value_parser!(u8).range(0..=127))]
gain: u8,
/// VGA gain mode high or low
#[arg(short = 'm', long, global = true, default_value = "high")]
gain_mode: GainMode,
/// Attenuator setting 0-63
#[arg(short, long, default_value_t = 0, value_parser = value_parser!(u8).range(0..=63))]
attenuation: u8,
The 0db gain isn't at value 0 as far as I understand it, it seems to go 2 ways....see here:
https://swling.com/blog/2021/02/new-rx-888-mk-ii-sdr-receiver-on-the-way/
Quote1. Add a tunable (variable) attenuator in the HF path, which can tune from 0 to -31.5dB.
2. Change the fixed LNA of RX888 to a VGA, which gives the -10dB to +33dB range. VGA applies to both HF and VHF.
The LNA can attenuate as well as amplify the signal.
If that is the case, I think so, it explains your 'weird' findings with the setting.
As for the attenuator, I noticed it too, I presume it's enabled by default and reduced as you give numbers?
As for Phantom, Phantom doesn't control any of these values, it just receives samples from the RX888STREAM-driver. It's piped from the driver into Phantom without any control by the last one.
Hi Bas,
OK, thanks for that.
I was aware that Phantom didn't control the values. I just wondered if excessive gain, or poor gain distribution, was contributing to the AGC issues.
HDSDR has separate RF and IF gain controls for the RX888, and it seems to handle strong signals better.
I think there must be some issues with the RX888STREAM-driver, as the values don't seem to always work as expected.
Regards,
Martin
Quote from: Bas ON5HB on Oct 05, 2024, 02:05 PMAs for Phantom, Phantom doesn't control any of these values.
Martin,
the "gain" in ./start-rx888mk2.sh is not the gain in dB but the "gain code". The "gain code" is explained in the data sheet of the VGA (AD8370).
73
John
Hi John,
OK, thanks for that. I'm used to configuring RTL type devices in websdr, where the gain parameter is specified in dB.
So values of 0 to 127 should set the gain, and the High / Low gain mode switch effectively sets the MSB.
https://www.alldatasheet.com/datasheet-pdf/view/549369/AD/AD8370.html
Page 1 shows graph of the gain vs. code.
This still doesn't explain why values below 10 seem to cause a problem.
Quote from: John DF4UE on Oct 05, 2024, 04:53 PMMartin,
the "gain" in ./start-rx888mk2.sh is not the gain in dB but the "gain code". The "gain code" is explained in the data sheet of the VGA (AD8370).
73
John
For reference, my current settings are:-
rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 82000000 -g 20 -m low -d --pga -o -
A gain setting of 20 (in theory just above 0dB) causes my noise floor to rise by approx 6dB at 30MHz when the antenna is connected.
6 to 10dB increase in noise floor, is the optimum value in terms of Signal to Noise Vs. dynamic range, but I'm not convinced that the current gain distribution is the best that can be achieved.
Regards,
Martin
I'm still using this command:
rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 -g 40 -m low -r --pga -o - | build/spectrumserver --config config.toml
And it works fine, more than one week without any crash.
And I installed a Broadcast Blocker 88-108 MHz.
https://www.passion-radio.com/sdr-accessory/fm-band-reject-473.html
Autostart?
This work fine:
sudo su
crontab -e
# Edit this file to introduce tasks to be run by cron.
#-------------------
@reboot /bin/bash -lc 'cd /home/websdr/PhantomSDR-Plus/ && ./start-rx888mk2.sh'
#-------------------
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
Good luck with the reboot,
Darko, 9a7aof
Hi Darko,
Thanks for the suggestion.
On running the crontab -e command I get back
# chrontab -e
Command 'chrontab' not found, did you mean:
command 'crontab' from deb cron (3.0pl1-137ubuntu3)
command 'crontab' from deb bcron (0.11-9)
command 'crontab' from deb systemd-cron (1.15.18-1)
Try: apt install <deb name>
I assume it is the first option, but what's the best way to proceed ?
Regards,
Martin
Quote from: 9a7aof on Oct 07, 2024, 07:52 AMAutostart?
This work fine:
sudo su
crontab -e
# Edit this file to introduce tasks to be run by cron.
#-------------------
@reboot /bin/bash -lc 'cd /home/websdr/PhantomSDR-Plus/ && ./start-rx888mk2.sh'
#-------------------
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
Good luck with the reboot,
Darko, 9a7aof
To use pga you can try to use low gain mode, it only worked for me on low gain mode, the rx888 driver is not that well so you cant use every combination.
also for crontab you wrote "chrontab", crontab -e would be correct which lets you edit it with your editor (like nano)
https://www.adminschoice.com/crontab-quick-reference