Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stemlab 128.88-16 Origin of TX spurs in 3rd Nyquist Zone and possible remedy? #1059

Open
hb9ewy opened this issue Aug 19, 2022 · 5 comments
Open

Comments

@hb9ewy
Copy link

hb9ewy commented Aug 19, 2022

Description of the setup:

  • Device: Stemlab 122.88-16, V1R1
  • SD card image: red-pitaya-alpine-3.14-armv7-20220322.zip
  • Application: "SDR transceiver compatible with HPSDR"
  • Other relevant information: SDR Quisk 4.1.96, but same behavior with powerSDRmx

Description of the problem:

  • Spurs on TX in 2m Band close to the carrier (e.g. about 192kHz), only 50..60dBc, depenig on the selected I/Q data rate (rx sampling rate on quisk).
  • The strength of the spurs depends on the transmitted carrier level in a linear manner.
  • see SA screenshots below:
    a) 384kHz I/Q data rate
    TX_RP16_384kHz_Spurs_IMG_5252

a) 192kHz I/Q data rate
TX_RP16_192kHz_Spurs_IMG_5249

Steps to reproduce the problem:

Stemlab powered from analog DC power supply.

  1. tx a constant carrier in the 2m band. e.g. fundamental about 21.41.46MHz -> 144.34MHz in 3rd NQZ, level below fs.
  2. observe an measure surious emissions close to carrier. 145MHz bandbassfilter on output 1 or 2 followed by the SA.
    10 dB attenuator directly on output did no change the relative spur level.
  3. vary the I/Q data rate: 48, 96, 192, 384 kHz.

I wonder what causes these spurs and why do they vary with the I/Q data rate (I assume this to be the rate of the the rx data stream).
Is my assumption correct, that the tx I/Q data rate is always 48kHz?

Thank you.

@pavel-demin
Copy link
Owner

Thank you for the tests. I will try to reproduce this effect.

Is my assumption correct, that the tx I/Q data rate is always 48kHz?

Yes, the TX I/Q rate is fixed and it is always 48k.

@hb9ewy
Copy link
Author

hb9ewy commented Aug 20, 2022

Thanks Pavel.
With the TX I/Q rate always being 48 kHz I really wonder what makes the observed spurs to depend on the RX I/Q rate.
May be crosstalk in the processing chain of the DAC clock in the HW or FPGA? Measurments of the signal are difficult, but I may try.

BTW, the fundamental signal has these spurs at better than -80dBc, measured at 10.7 MHz with a notch filter supressing the carrier.
Yesterday night I measured TX in the 3rd NQZ on a modified Red Pitaya 14 Bit - spurs are stronger and there are more. The 122.88-16 is definitely cleaner.

For my application I consider to take the fundamental tx signal and upconvert it by the 122.88 MHz clock (using an older transverter which used an external 130MHZ LO).

@hb9ewy
Copy link
Author

hb9ewy commented Aug 20, 2022

Hi Pavel,
I had been in contact with DC9OE, and he experienced similar spurs, caused probably by an on board SMPS.
BTW: the discussion with DC9OE is there: https://saure.org/phpBB_04/viewtopic.php?f=35&t=536&p=3168#p3168

SMPS Noise

  • With an H-Field probe I found considerable 200kHz fields on the PCB; and also on 1.8V lines. Additional filtering on the 3V3A supply of the DAC did not improved matters.
  • So SMPS noise is probaly an important contributor of these spurs. Though, I still wonder what is the cause of the dependency with the RX I/Q rate.
  • Observation: reduction of the DC power supply down to about 4.2 V reduces the amplitude of the spurs at +/- ca. 200kHz kHz by more than 6 dB and they move closer to the carrier. I think this conforms an SMPS as on cause of the spurs.

FW Dependency

Because Edwin did not observed die dependency of Spurs on the RX I/Q data rate I tested the behavior with the oldest FW I found: red-pitaya-alpine-3.12-armv7-20200628.zip

  • With FW 3.12 from 20200628 no dependency of the spurs on the RX I/Q data rate!
  • the spurs show a dependency on the RX I/Q data rate with (listed only the FW I tested):
    • FW 3.12 from 20210427
    • FW 3.14 from 20210707
    • FW 3.14 from 20220322

So there may have been a FW change responsible for the new spurs. And because it increases the spurs (more and up to 10 stronger) it would be useful to fix, even if the presumably SMPS generated spurs still persist.

@pavel-demin
Copy link
Owner

Thank you for testing different versions.

Looking at the changes between 20200628 and 20210427, I think only the following changes could affect this SDR application:

  • added fifth receiver to SDR transceiver compatible with HPSDR for better compatibility with Thetis (907db3b, d61ef4f)
  • improved DAC interface and PLL configuration (40ed371, 20e3d80)

@hb9ewy
Copy link
Author

hb9ewy commented Aug 23, 2022

Hi Pavel,
I looked already at these changes, but have too few knowledge about FPGA programming to understand them.
For now I will use the oldest 3.12 FW and reduce the power supply voltage to reduce the SMPS spurs.
The main issue for tx is high DAC clock noise. In the 3rd NQZ naturally it gets worse, I only measured about -110dBc at +/- 100kHz. I need at least 20dB better for 144MHz. NO chance with this HW. I hope the future releases of the HW will improve.
Once HW has improved (which I hope it will) these spurs may need attention again.

Thanks for looking into this issue.
For me it could be moved into the backlog or even closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants