usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

multi-tone signal establishing

HB
Hamdüsena BİLGİ (BİLGEM)
Tue, Dec 24, 2024 6:10 AM

Hi usrp users,

I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ?
The images are attached.

Thanks

Hi usrp users, I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ? The images are attached. Thanks
MD
Marcus D. Leech
Tue, Dec 24, 2024 2:34 PM

On 24/12/2024 01:10, Hamdüsena BİLGİ (BİLGEM) via USRP-users wrote:

Hi usrp users,

I use e320 devices and I want to create multi tone signal but  when I
send 3 different signals I just see 1 signal frequency domain at
oscilloscope but I can see 3  different signal at qt guı frequency
sink.UHD usrp sink block just send center freq . And I try sending
with Python API  but its note working too.How can solve this problem ?
The images are attached.

Thanks


USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com

The maximum sample rate of the E320 for a single channel is 61.44Msps. 
So, that's your first problem.

Also, if you're adding signals together, try lowering the amplitude of
the individual signals to 0.33, since you have
  3 of them.  The maximum total signal amplitude should never exceed
1.0, and in practice, somewhat lower
  than that, in order to avoid saturation, and the resulting distortion.

On 24/12/2024 01:10, Hamdüsena BİLGİ (BİLGEM) via USRP-users wrote: > > Hi usrp users, > > I use e320 devices and I want to create multi tone signal but  when I > send 3 different signals I just see 1 signal frequency domain at > oscilloscope but I can see 3  different signal at qt guı frequency > sink.UHD usrp sink block just send center freq . And I try sending > with Python API  but its note working too.How can solve this problem ? > The images are attached. > > Thanks > > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com The maximum sample rate of the E320 for a single channel is 61.44Msps.  So, that's your first problem. Also, if you're adding signals together, try lowering the amplitude of the individual signals to 0.33, since you have   3 of them.  The maximum total signal amplitude should never exceed 1.0, and in practice, somewhat lower   than that, in order to avoid saturation, and the resulting distortion.
CK
Ceren Karaköse
Wed, Dec 25, 2024 6:31 AM

Hi Hamdüsena,

What's your spectrum analyzer center frequency?

In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency. Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies.

Best,
Ceren


From: Hamdüsena BİLGİ (BİLGEM) via USRP-users usrp-users@lists.ettus.com
Sent: Tuesday, December 24, 2024 9:10:39 AM
To: usrp-users usrp-users@lists.ettus.com
Subject: [USRP-users] multi-tone signal establishing

Hi usrp users,

I use e320 devices and I want to create multi tone signal but  when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3  different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API  but  its note working too.How can solve this problem ?
The images are attached.

Thanks

[X]

Hi Hamdüsena, What's your spectrum analyzer center frequency? In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency. Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies. Best, Ceren ________________________________ From: Hamdüsena BİLGİ (BİLGEM) via USRP-users <usrp-users@lists.ettus.com> Sent: Tuesday, December 24, 2024 9:10:39 AM To: usrp-users <usrp-users@lists.ettus.com> Subject: [USRP-users] multi-tone signal establishing Hi usrp users, I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ? The images are attached. Thanks [X]
MD
Marcus D. Leech
Wed, Dec 25, 2024 5:11 PM

On 25/12/2024 01:31, Ceren Karaköse wrote:

Hi Hamdüsena,

What's your spectrum analyzer center frequency?

In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz
and send them with freq=150MHz carrier frequency. Your output
signals should be at 250MHz, 400Mhz and 450Mhz. You should take
mesaurements around these frequencies.

Best,
Ceren

Please read what I wrote on this subject earlier.  The MAXimum
sample-rate of the E320 is 61.44Msps. You cannot represent
  these signals within that sample rate.

SDRs in general expect to receive a complex-baseband stream, which they
then up-convert, using analog hardware to the
  desired on-the-air frequency.  So any frequencies fro

m things like the "Signal Generator" block would necessarily be
  within the context of a complex baseband at whatever the sampling
rate is, and, again, the E320 will not move samples
  at a rate faster than 61.44Msps.

I would suggest looking at more of the Gnu Radio tutorials, as well as
general background material on DSP and
  complex-baseband signal representation.

Also, spend some time at the USRP Knowledge Base:

https://kb.ettus.com/Knowledge_Base

And note the "Getting Started" here:

https://kb.ettus.com/E320_Getting_Started_Guide


From: Hamdüsena BİLGİ (BİLGEM) via USRP-users
usrp-users@lists.ettus.com
Sent: Tuesday, December 24, 2024 9:10:39 AM
To: usrp-users usrp-users@lists.ettus.com
Subject: [USRP-users] multi-tone signal establishing

Hi usrp users,

I use e320 devices and I want to create multi tone signal but  when I
send 3 different signals I just see 1 signal frequency domain at
oscilloscope but I can see 3 different signal at qt guı frequency
sink.UHD usrp sink block just send center freq . And I try sending
with Python API  but  its note working too.How can solve this problem ?
The images are attached.

Thanks


USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com

On 25/12/2024 01:31, Ceren Karaköse wrote: > Hi Hamdüsena, > > What's your spectrum analyzer center frequency? > > In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz > and send them with freq=150MHz _carrier frequency_. Your output > signals should be at 250MHz, 400Mhz and 450Mhz. You should take > mesaurements around these frequencies. > > Best, > Ceren Please read what I wrote on this subject earlier.  The MAXimum sample-rate of the E320 is 61.44Msps. You *cannot* represent   these signals within that sample rate. SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the   desired on-the-air frequency.  So any frequencies fro m things like the "Signal Generator" block would necessarily be   within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples   at a rate faster than 61.44Msps. I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and   complex-baseband signal representation. Also, spend some time at the USRP Knowledge Base: https://kb.ettus.com/Knowledge_Base And note the "Getting Started" here: https://kb.ettus.com/E320_Getting_Started_Guide > ------------------------------------------------------------------------ > *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users > <usrp-users@lists.ettus.com> > *Sent:* Tuesday, December 24, 2024 9:10:39 AM > *To:* usrp-users <usrp-users@lists.ettus.com> > *Subject:* [USRP-users] multi-tone signal establishing > > Hi usrp users, > > I use e320 devices and I want to create multi tone signal but  when I > send 3 different signals I just see 1 signal frequency domain at > oscilloscope but I can see 3 different signal at qt guı frequency > sink.UHD usrp sink block just send center freq . And I try sending > with Python API  but  its note working too.How can solve this problem ? > The images are attached. > > Thanks > > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com
HB
Hamdüsena BİLGİ (BİLGEM)
Thu, Dec 26, 2024 5:57 AM

Hi,

I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters:

center_freq = 200 MHz
sample_rate = 50 MHz
frequency0 = 16 MHz
frequency1 = 4 MHz
frequency2 = -16 MHz
num_samples = 100000

I define the signals as:

t = np.arange(num_samples) / sample_rate
sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
sine_wave = sine_wave0 + sine_wave1 + sine_wave2
I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz.

When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly.

What could be causing this discrepancy?

Best regards,

Kimden: "Marcus D. Leech" patchvonbraun@gmail.com
Kime: "usrp-users" usrp-users@lists.ettus.com
Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29
Konu: [USRP-users] Re: multi-tone signal establishing

On 25/12/2024 01:31, Ceren Karaköse wrote:

Hi Hamdüsena,

What's your spectrum analyzer center frequency?

In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies.

Best,
Ceren

Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You cannot represent
these signals within that sample rate.

SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the
desired on-the-air frequency. So any frequencies fro

m things like the "Signal Generator" block would necessarily be
within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples
at a rate faster than 61.44Msps.

I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and
complex-baseband signal representation.

Also, spend some time at the USRP Knowledge Base:

[ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ]

And note the "Getting Started" here:

[ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ]

BQ_BEGIN

From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Sent: Tuesday, December 24, 2024 9:10:39 AM
To: usrp-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Subject: [USRP-users] multi-tone signal establishing

Hi usrp users,

I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ?
The images are attached.

Thanks


USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ]

BQ_END


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Hi, I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters: center_freq = 200 MHz sample_rate = 50 MHz frequency0 = 16 MHz frequency1 = 4 MHz frequency2 = -16 MHz num_samples = 100000 I define the signals as: t = np.arange(num_samples) / sample_rate sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) sine_wave = sine_wave0 + sine_wave1 + sine_wave2 I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz. When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly. What could be causing this discrepancy? Best regards, Kimden: "Marcus D. Leech" <patchvonbraun@gmail.com> Kime: "usrp-users" <usrp-users@lists.ettus.com> Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29 Konu: [USRP-users] Re: multi-tone signal establishing On 25/12/2024 01:31, Ceren Karaköse wrote: Hi Hamdüsena, What's your spectrum analyzer center frequency? In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies. Best, Ceren Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You *cannot* represent these signals within that sample rate. SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the desired on-the-air frequency. So any frequencies fro m things like the "Signal Generator" block would necessarily be within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples at a rate faster than 61.44Msps. I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and complex-baseband signal representation. Also, spend some time at the USRP Knowledge Base: [ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ] And note the "Getting Started" here: [ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ] BQ_BEGIN From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Sent: Tuesday, December 24, 2024 9:10:39 AM To: usrp-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Subject: [USRP-users] multi-tone signal establishing Hi usrp users, I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ? The images are attached. Thanks _______________________________________________ USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ] BQ_END _______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-leave@lists.ettus.com
MD
Marcus D. Leech
Thu, Dec 26, 2024 5:53 PM

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

Hi,

I followed your instructions and can see 3 different signals on the
oscilloscope. However, I have a small issue. I set the following
parameters:

center_freq = 200 MHz
sample_rate = 50 MHz
frequency0 = 16 MHz
frequency1 = 4 MHz
frequency2 = -16 MHz
num_samples = 100000

I define the signals as:

t = np.arange(num_samples) / sample_rate
sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
sine_wave = sine_wave0 + sine_wave1 + sine_wave2
I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz.
However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz.

When I test the same setup using loopback in GNU Radio, I can transmit
and receive all three signals correctly.

What could be causing this discrepancy?

Best regards,

When you say "loopback in Gnu Radio" do you mean a loop-back within the
flow-graph, without using the radio? Or an analog
  loopback between TX/RX ports on the radio?

When you're using the flow-graph and transmitting from the USRP, do you
see any "U" (under-runs) while transmitting?
  How about when you're using your Python code?


*Kimden: *"Marcus D. Leech" patchvonbraun@gmail.com
*Kime: *"usrp-users" usrp-users@lists.ettus.com
*Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29
*Konu: *[USRP-users] Re: multi-tone signal establishing

On 25/12/2024 01:31, Ceren Karaköse wrote:

 Hi Hamdüsena,

 What's your spectrum analyzer center frequency?

 In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M
 Hz and send them with freq=150MHz _carrier frequency_. Your output
 signals should be at 250MHz, 400Mhz and 450Mhz. You should take
 mesaurements around these frequencies.

 Best,
 Ceren

Please read what I wrote on this subject earlier.  The MAXimum
sample-rate of the E320 is 61.44Msps. You cannot represent
  these signals within that sample rate.

SDRs in general expect to receive a complex-baseband stream, which
they then up-convert, using analog hardware to the
  desired on-the-air frequency.  So any frequencies fro

m things like the "Signal Generator" block would necessarily be
  within the context of a complex baseband at whatever the sampling
rate is, and, again, the E320 will not move samples
  at a rate faster than 61.44Msps.

I would suggest looking at more of the Gnu Radio tutorials, as well as
general background material on DSP and
  complex-baseband signal representation.

Also, spend some time at the USRP Knowledge Base:

https://kb.ettus.com/Knowledge_Base

And note the "Getting Started" here:

https://kb.ettus.com/E320_Getting_Started_Guide

 ------------------------------------------------------------------------
 *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users
 <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com>
 *Sent:* Tuesday, December 24, 2024 9:10:39 AM
 *To:* usrp-users <usrp-users@lists.ettus.com>
 <mailto:usrp-users@lists.ettus.com>
 *Subject:* [USRP-users] multi-tone signal establishing

 Hi usrp users,

 I use e320 devices and I want to create multi tone signal but 
 when I send 3 different signals I just see 1 signal frequency
 domain at oscilloscope but I can see 3  different signal at qt guı
 frequency sink.UHD usrp sink block just send center freq . And I
 try sending with Python API  but  its note working too.How can
 solve this problem ?
 The images are attached.

 Thanks


 _______________________________________________
 USRP-users mailing list --usrp-users@lists.ettus.com
 To unsubscribe send an email tousrp-users-leave@lists.ettus.com

USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: > > Hi, > > I followed your instructions and can see 3 different signals on the > oscilloscope. However, I have a small issue. I set the following > parameters: > > center_freq = 200 MHz > sample_rate = 50 MHz > frequency0 = 16 MHz > frequency1 = 4 MHz > frequency2 = -16 MHz > num_samples = 100000 > > I define the signals as: > > t = np.arange(num_samples) / sample_rate > sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) > sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) > sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) > sine_wave = sine_wave0 + sine_wave1 + sine_wave2 > I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. > However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz. > > When I test the same setup using loopback in GNU Radio, I can transmit > and receive all three signals correctly. > > What could be causing this discrepancy? > > Best regards, When you say "loopback in Gnu Radio" do you mean a loop-back within the flow-graph, without using the radio? Or an analog   loopback between TX/RX ports on the radio? When you're using the flow-graph and transmitting from the USRP, do you see any "U" (under-runs) while transmitting?   How about when you're using your Python code? > > > ------------------------------------------------------------------------ > *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com> > *Kime: *"usrp-users" <usrp-users@lists.ettus.com> > *Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29 > *Konu: *[USRP-users] Re: multi-tone signal establishing > > On 25/12/2024 01:31, Ceren Karaköse wrote: > > Hi Hamdüsena, > > What's your spectrum analyzer center frequency? > > In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M > Hz and send them with freq=150MHz _carrier frequency_. Your output > signals should be at 250MHz, 400Mhz and 450Mhz. You should take > mesaurements around these frequencies. > > Best, > Ceren > > Please read what I wrote on this subject earlier.  The MAXimum > sample-rate of the E320 is 61.44Msps. You *cannot* represent >   these signals within that sample rate. > > SDRs in general expect to receive a complex-baseband stream, which > they then up-convert, using analog hardware to the >   desired on-the-air frequency.  So any frequencies fro > > m things like the "Signal Generator" block would necessarily be >   within the context of a complex baseband at whatever the sampling > rate is, and, again, the E320 will not move samples >   at a rate faster than 61.44Msps. > > I would suggest looking at more of the Gnu Radio tutorials, as well as > general background material on DSP and >   complex-baseband signal representation. > > Also, spend some time at the USRP Knowledge Base: > > https://kb.ettus.com/Knowledge_Base > > And note the "Getting Started" here: > > https://kb.ettus.com/E320_Getting_Started_Guide > > > ------------------------------------------------------------------------ > *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users > <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com> > *Sent:* Tuesday, December 24, 2024 9:10:39 AM > *To:* usrp-users <usrp-users@lists.ettus.com> > <mailto:usrp-users@lists.ettus.com> > *Subject:* [USRP-users] multi-tone signal establishing > > Hi usrp users, > > I use e320 devices and I want to create multi tone signal but  > when I send 3 different signals I just see 1 signal frequency > domain at oscilloscope but I can see 3  different signal at qt guı > frequency sink.UHD usrp sink block just send center freq . And I > try sending with Python API  but  its note working too.How can > solve this problem ? > The images are attached. > > Thanks > > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com
HB
Hamdüsena BİLGİ (BİLGEM)
Fri, Dec 27, 2024 5:52 AM

I am currently using E320 devices for my application. For both receive and transmit processes, I have attached a 50 dB attenuator. I am also attaching my flowgraph for your review.Additionally, my console output shows "UOOOUUU."

python code

Kimden: "Marcus D. Leech" patchvonbraun@gmail.com
Kime: "Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
Kk: "usrp-users" usrp-users@lists.ettus.com
Gönderilenler: 26 Aralık Perşembe 2024 20:53:46
Konu: Re: [USRP-users] Re: multi-tone signal establishing

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

Hi,

I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters:

center_freq = 200 MHz
sample_rate = 50 MHz
frequency0 = 16 MHz
frequency1 = 4 MHz
frequency2 = -16 MHz
num_samples = 100000

I define the signals as:

t = np.arange(num_samples) / sample_rate
sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
sine_wave = sine_wave0 + sine_wave1 + sine_wave2
I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz.

When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly.

What could be causing this discrepancy?

Best regards,

When you say "loopback in Gnu Radio" do you mean a loop-back within the flow-graph, without using the radio? Or an analog
loopback between TX/RX ports on the radio?

When you're using the flow-graph and transmitting from the USRP, do you see any "U" (under-runs) while transmitting?
How about when you're using your Python code?

BQ_BEGIN

Kimden: "Marcus D. Leech" [ mailto:patchvonbraun@gmail.com | patchvonbraun@gmail.com ]
Kime: "usrp-users" [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29
Konu: [USRP-users] Re: multi-tone signal establishing

On 25/12/2024 01:31, Ceren Karaköse wrote:

BQ_BEGIN

Hi Hamdüsena,

What's your spectrum analyzer center frequency?

In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies.

Best,
Ceren

BQ_END
Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You cannot represent
these signals within that sample rate.

SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the
desired on-the-air frequency. So any frequencies fro

m things like the "Signal Generator" block would necessarily be
within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples
at a rate faster than 61.44Msps.

I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and
complex-baseband signal representation.

Also, spend some time at the USRP Knowledge Base:

[ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ]

And note the "Getting Started" here:

[ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ]

BQ_BEGIN

From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Sent: Tuesday, December 24, 2024 9:10:39 AM
To: usrp-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Subject: [USRP-users] multi-tone signal establishing

Hi usrp users,

I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ?
The images are attached.

Thanks


USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ]

BQ_END


USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ]

BQ_END

I am currently using E320 devices for my application. For both receive and transmit processes, I have attached a 50 dB attenuator. I am also attaching my flowgraph for your review.Additionally, my console output shows "UOOOUUU." python code Kimden: "Marcus D. Leech" <patchvonbraun@gmail.com> Kime: "Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> Kk: "usrp-users" <usrp-users@lists.ettus.com> Gönderilenler: 26 Aralık Perşembe 2024 20:53:46 Konu: Re: [USRP-users] Re: multi-tone signal establishing On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: Hi, I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters: center_freq = 200 MHz sample_rate = 50 MHz frequency0 = 16 MHz frequency1 = 4 MHz frequency2 = -16 MHz num_samples = 100000 I define the signals as: t = np.arange(num_samples) / sample_rate sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) sine_wave = sine_wave0 + sine_wave1 + sine_wave2 I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz. When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly. What could be causing this discrepancy? Best regards, When you say "loopback in Gnu Radio" do you mean a loop-back within the flow-graph, without using the radio? Or an analog loopback between TX/RX ports on the radio? When you're using the flow-graph and transmitting from the USRP, do you see any "U" (under-runs) while transmitting? How about when you're using your Python code? BQ_BEGIN Kimden: "Marcus D. Leech" [ mailto:patchvonbraun@gmail.com | <patchvonbraun@gmail.com> ] Kime: "usrp-users" [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29 Konu: [USRP-users] Re: multi-tone signal establishing On 25/12/2024 01:31, Ceren Karaköse wrote: BQ_BEGIN Hi Hamdüsena, What's your spectrum analyzer center frequency? In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies. Best, Ceren BQ_END Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You *cannot* represent these signals within that sample rate. SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the desired on-the-air frequency. So any frequencies fro m things like the "Signal Generator" block would necessarily be within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples at a rate faster than 61.44Msps. I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and complex-baseband signal representation. Also, spend some time at the USRP Knowledge Base: [ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ] And note the "Getting Started" here: [ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ] BQ_BEGIN From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Sent: Tuesday, December 24, 2024 9:10:39 AM To: usrp-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Subject: [USRP-users] multi-tone signal establishing Hi usrp users, I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ? The images are attached. Thanks _______________________________________________ USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ] BQ_END _______________________________________________ USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ] BQ_END
HB
Hamdüsena BİLGİ (BİLGEM)
Fri, Dec 27, 2024 5:57 AM

I am writing to provide an updated version of my Python code. I realized that the amplitude value in the previous code was incorrect, and I have now corrected it to 0.3.

Kimden: "Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
Kime: "Marcus D. Leech" patchvonbraun@gmail.com
Kk: "usrp-users" usrp-users@lists.ettus.com
Gönderilenler: 27 Aralık Cuma 2024 8:52:44
Konu: Re: [USRP-users] Re: multi-tone signal establishing

I am currently using E320 devices for my application. For both receive and transmit processes, I have attached a 50 dB attenuator. I am also attaching my flowgraph for your review.Additionally, my console output shows "UOOOUUU."

python code

Kimden: "Marcus D. Leech" patchvonbraun@gmail.com
Kime: "Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
Kk: "usrp-users" usrp-users@lists.ettus.com
Gönderilenler: 26 Aralık Perşembe 2024 20:53:46
Konu: Re: [USRP-users] Re: multi-tone signal establishing

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

Hi,

I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters:

center_freq = 200 MHz
sample_rate = 50 MHz
frequency0 = 16 MHz
frequency1 = 4 MHz
frequency2 = -16 MHz
num_samples = 100000

I define the signals as:

t = np.arange(num_samples) / sample_rate
sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
sine_wave = sine_wave0 + sine_wave1 + sine_wave2
I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz.

When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly.

What could be causing this discrepancy?

Best regards,

When you say "loopback in Gnu Radio" do you mean a loop-back within the flow-graph, without using the radio? Or an analog
loopback between TX/RX ports on the radio?

When you're using the flow-graph and transmitting from the USRP, do you see any "U" (under-runs) while transmitting?
How about when you're using your Python code?

BQ_BEGIN

Kimden: "Marcus D. Leech" [ mailto:patchvonbraun@gmail.com | patchvonbraun@gmail.com ]
Kime: "usrp-users" [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29
Konu: [USRP-users] Re: multi-tone signal establishing

On 25/12/2024 01:31, Ceren Karaköse wrote:

BQ_BEGIN

Hi Hamdüsena,

What's your spectrum analyzer center frequency?

In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies.

Best,
Ceren

BQ_END
Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You cannot represent
these signals within that sample rate.

SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the
desired on-the-air frequency. So any frequencies fro

m things like the "Signal Generator" block would necessarily be
within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples
at a rate faster than 61.44Msps.

I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and
complex-baseband signal representation.

Also, spend some time at the USRP Knowledge Base:

[ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ]

And note the "Getting Started" here:

[ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ]

BQ_BEGIN

From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Sent: Tuesday, December 24, 2024 9:10:39 AM
To: usrp-users [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
Subject: [USRP-users] multi-tone signal establishing

Hi usrp users,

I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ?
The images are attached.

Thanks


USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ]

BQ_END


USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ]
To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ]

BQ_END

I am writing to provide an updated version of my Python code. I realized that the amplitude value in the previous code was incorrect, and I have now corrected it to 0.3. Kimden: "Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> Kime: "Marcus D. Leech" <patchvonbraun@gmail.com> Kk: "usrp-users" <usrp-users@lists.ettus.com> Gönderilenler: 27 Aralık Cuma 2024 8:52:44 Konu: Re: [USRP-users] Re: multi-tone signal establishing I am currently using E320 devices for my application. For both receive and transmit processes, I have attached a 50 dB attenuator. I am also attaching my flowgraph for your review.Additionally, my console output shows "UOOOUUU." python code Kimden: "Marcus D. Leech" <patchvonbraun@gmail.com> Kime: "Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> Kk: "usrp-users" <usrp-users@lists.ettus.com> Gönderilenler: 26 Aralık Perşembe 2024 20:53:46 Konu: Re: [USRP-users] Re: multi-tone signal establishing On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: Hi, I followed your instructions and can see 3 different signals on the oscilloscope. However, I have a small issue. I set the following parameters: center_freq = 200 MHz sample_rate = 50 MHz frequency0 = 16 MHz frequency1 = 4 MHz frequency2 = -16 MHz num_samples = 100000 I define the signals as: t = np.arange(num_samples) / sample_rate sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) sine_wave = sine_wave0 + sine_wave1 + sine_wave2 I expected to see the signals at around 216 MHz, 204 MHz, and 184 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, and 195 MHz. When I test the same setup using loopback in GNU Radio, I can transmit and receive all three signals correctly. What could be causing this discrepancy? Best regards, When you say "loopback in Gnu Radio" do you mean a loop-back within the flow-graph, without using the radio? Or an analog loopback between TX/RX ports on the radio? When you're using the flow-graph and transmitting from the USRP, do you see any "U" (under-runs) while transmitting? How about when you're using your Python code? BQ_BEGIN Kimden: "Marcus D. Leech" [ mailto:patchvonbraun@gmail.com | <patchvonbraun@gmail.com> ] Kime: "usrp-users" [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Gönderilenler: 25 Aralık Çarşamba 2024 20:11:29 Konu: [USRP-users] Re: multi-tone signal establishing On 25/12/2024 01:31, Ceren Karaköse wrote: BQ_BEGIN Hi Hamdüsena, What's your spectrum analyzer center frequency? In GNU flow, you're generating 3 sinusoids at 100M, 250M and 300M Hz and send them with freq=150MHz carrier frequency . Your output signals should be at 250MHz, 400Mhz and 450Mhz. You should take mesaurements around these frequencies. Best, Ceren BQ_END Please read what I wrote on this subject earlier. The MAXimum sample-rate of the E320 is 61.44Msps. You *cannot* represent these signals within that sample rate. SDRs in general expect to receive a complex-baseband stream, which they then up-convert, using analog hardware to the desired on-the-air frequency. So any frequencies fro m things like the "Signal Generator" block would necessarily be within the context of a complex baseband at whatever the sampling rate is, and, again, the E320 will not move samples at a rate faster than 61.44Msps. I would suggest looking at more of the Gnu Radio tutorials, as well as general background material on DSP and complex-baseband signal representation. Also, spend some time at the USRP Knowledge Base: [ https://kb.ettus.com/Knowledge_Base | https://kb.ettus.com/Knowledge_Base ] And note the "Getting Started" here: [ https://kb.ettus.com/E320_Getting_Started_Guide | https://kb.ettus.com/E320_Getting_Started_Guide ] BQ_BEGIN From: Hamdüsena BİLGİ (BİLGEM) via USRP-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Sent: Tuesday, December 24, 2024 9:10:39 AM To: usrp-users [ mailto:usrp-users@lists.ettus.com | <usrp-users@lists.ettus.com> ] Subject: [USRP-users] multi-tone signal establishing Hi usrp users, I use e320 devices and I want to create multi tone signal but when I send 3 different signals I just see 1 signal frequency domain at oscilloscope but I can see 3 different signal at qt guı frequency sink.UHD usrp sink block just send center freq . And I try sending with Python API but its note working too.How can solve this problem ? The images are attached. Thanks _______________________________________________ USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ] BQ_END _______________________________________________ USRP-users mailing list -- [ mailto:usrp-users@lists.ettus.com | usrp-users@lists.ettus.com ] To unsubscribe send an email to [ mailto:usrp-users-leave@lists.ettus.com | usrp-users-leave@lists.ettus.com ] BQ_END
MD
Marcus D. Leech
Fri, Dec 27, 2024 3:29 PM

On 27/12/2024 00:52, Hamdüsena BİLGİ (BİLGEM) wrote:

I am currently using E320 devices for my application. For both receive
and transmit processes, I have attached a 50 dB attenuator. I am also
attaching my flowgraph for your review.Additionally, my console output
shows "UOOOUUU."

I assume that you're using the SFP+ port on the E320, with 10GiGabit
links?  Because you cannot support 50Msps on a
  1GiG interface.

If you're getting a lot of O and U, it means your computer cannot "keep
up" with the flow requirements of the radio.

python code

*Kimden: *"Marcus D. Leech" patchvonbraun@gmail.com
*Kime: *"Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
*Kk: *"usrp-users" usrp-users@lists.ettus.com
*Gönderilenler: *26 Aralık Perşembe 2024 20:53:46
*Konu: *Re: [USRP-users] Re: multi-tone signal establishing

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

 Hi,

 I followed your instructions and can see 3 different signals on
 the oscilloscope. However, I have a small issue. I set the
 following parameters:

 center_freq = 200 MHz
 sample_rate = 50 MHz
 frequency0 = 16 MHz
 frequency1 = 4 MHz
 frequency2 = -16 MHz
 num_samples = 100000

 I define the signals as:

 t = np.arange(num_samples) / sample_rate
 sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
 sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
 sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
 sine_wave = sine_wave0 + sine_wave1 + sine_wave2
 I expected to see the signals at around 216 MHz, 204 MHz, and 184
 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz,
 and 195 MHz.

 When I test the same setup using loopback in GNU Radio, I can
 transmit and receive all three signals correctly.

 What could be causing this discrepancy?

 Best regards,

When you say "loopback in Gnu Radio" do you mean a loop-back within
the flow-graph, without using the radio? Or an analog
  loopback between TX/RX ports on the radio?

When you're using the flow-graph and transmitting from the USRP, do
you see any "U" (under-runs) while transmitting?
  How about when you're using your Python code?

 ------------------------------------------------------------------------
 *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com>
 <mailto:patchvonbraun@gmail.com>
 *Kime: *"usrp-users" <usrp-users@lists.ettus.com>
 <mailto:usrp-users@lists.ettus.com>
 *Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29
 *Konu: *[USRP-users] Re: multi-tone signal establishing

 On 25/12/2024 01:31, Ceren Karaköse wrote:

     Hi Hamdüsena,

     What's your spectrum analyzer center frequency?

     In GNU flow, you're generating 3 sinusoids at 100M, 250M and
     300M Hz and send them with freq=150MHz _carrier frequency_.
     Your output signals should be at 250MHz, 400Mhz and 450Mhz.
     You should take mesaurements around these frequencies.

     Best,
     Ceren

 Please read what I wrote on this subject earlier.  The MAXimum
 sample-rate of the E320 is 61.44Msps. You *cannot* represent
   these signals within that sample rate.

 SDRs in general expect to receive a complex-baseband stream, which
 they then up-convert, using analog hardware to the
   desired on-the-air frequency.  So any frequencies fro

 m things like the "Signal Generator" block would necessarily be
   within the context of a complex baseband at whatever the
 sampling rate is, and, again, the E320 will not move samples
   at a rate faster than 61.44Msps.

 I would suggest looking at more of the Gnu Radio tutorials, as
 well as general background material on DSP and
   complex-baseband signal representation.

 Also, spend some time at the USRP Knowledge Base:

 https://kb.ettus.com/Knowledge_Base

 And note the "Getting Started" here:

 https://kb.ettus.com/E320_Getting_Started_Guide


     ------------------------------------------------------------------------
     *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users
     <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com>
     *Sent:* Tuesday, December 24, 2024 9:10:39 AM
     *To:* usrp-users <usrp-users@lists.ettus.com>
     <mailto:usrp-users@lists.ettus.com>
     *Subject:* [USRP-users] multi-tone signal establishing

     Hi usrp users,

     I use e320 devices and I want to create multi tone signal but 
     when I send 3 different signals I just see 1 signal frequency
     domain at oscilloscope but I can see 3  different signal at qt
     guı frequency sink.UHD usrp sink block just send center freq .
     And I try sending with Python API  but  its note working
     too.How can solve this problem ?
     The images are attached.

     Thanks


     _______________________________________________
     USRP-users mailing list --usrp-users@lists.ettus.com
     To unsubscribe send an email tousrp-users-leave@lists.ettus.com



 _______________________________________________
 USRP-users mailing list -- usrp-users@lists.ettus.com
 To unsubscribe send an email to usrp-users-leave@lists.ettus.com
On 27/12/2024 00:52, Hamdüsena BİLGİ (BİLGEM) wrote: > > I am currently using E320 devices for my application. For both receive > and transmit processes, I have attached a 50 dB attenuator. I am also > attaching my flowgraph for your review.Additionally, my console output > shows "UOOOUUU." > I assume that you're using the SFP+ port on the E320, with 10GiGabit links?  Because you cannot support 50Msps on a   1GiG interface. If you're getting a lot of O and U, it means your computer cannot "keep up" with the flow requirements of the radio. > > > python code > ------------------------------------------------------------------------ > *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com> > *Kime: *"Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> > *Kk: *"usrp-users" <usrp-users@lists.ettus.com> > *Gönderilenler: *26 Aralık Perşembe 2024 20:53:46 > *Konu: *Re: [USRP-users] Re: multi-tone signal establishing > > On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: > > > Hi, > > I followed your instructions and can see 3 different signals on > the oscilloscope. However, I have a small issue. I set the > following parameters: > > center_freq = 200 MHz > sample_rate = 50 MHz > frequency0 = 16 MHz > frequency1 = 4 MHz > frequency2 = -16 MHz > num_samples = 100000 > > I define the signals as: > > t = np.arange(num_samples) / sample_rate > sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) > sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) > sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) > sine_wave = sine_wave0 + sine_wave1 + sine_wave2 > I expected to see the signals at around 216 MHz, 204 MHz, and 184 > MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, > and 195 MHz. > > When I test the same setup using loopback in GNU Radio, I can > transmit and receive all three signals correctly. > > What could be causing this discrepancy? > > Best regards, > > When you say "loopback in Gnu Radio" do you mean a loop-back within > the flow-graph, without using the radio? Or an analog >   loopback between TX/RX ports on the radio? > > When you're using the flow-graph and transmitting from the USRP, do > you see any "U" (under-runs) while transmitting? >   How about when you're using your Python code? > > > > ------------------------------------------------------------------------ > *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com> > <mailto:patchvonbraun@gmail.com> > *Kime: *"usrp-users" <usrp-users@lists.ettus.com> > <mailto:usrp-users@lists.ettus.com> > *Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29 > *Konu: *[USRP-users] Re: multi-tone signal establishing > > On 25/12/2024 01:31, Ceren Karaköse wrote: > > Hi Hamdüsena, > > What's your spectrum analyzer center frequency? > > In GNU flow, you're generating 3 sinusoids at 100M, 250M and > 300M Hz and send them with freq=150MHz _carrier frequency_. > Your output signals should be at 250MHz, 400Mhz and 450Mhz. > You should take mesaurements around these frequencies. > > Best, > Ceren > > Please read what I wrote on this subject earlier.  The MAXimum > sample-rate of the E320 is 61.44Msps. You *cannot* represent >   these signals within that sample rate. > > SDRs in general expect to receive a complex-baseband stream, which > they then up-convert, using analog hardware to the >   desired on-the-air frequency.  So any frequencies fro > > m things like the "Signal Generator" block would necessarily be >   within the context of a complex baseband at whatever the > sampling rate is, and, again, the E320 will not move samples >   at a rate faster than 61.44Msps. > > I would suggest looking at more of the Gnu Radio tutorials, as > well as general background material on DSP and >   complex-baseband signal representation. > > Also, spend some time at the USRP Knowledge Base: > > https://kb.ettus.com/Knowledge_Base > > And note the "Getting Started" here: > > https://kb.ettus.com/E320_Getting_Started_Guide > > > ------------------------------------------------------------------------ > *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users > <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com> > *Sent:* Tuesday, December 24, 2024 9:10:39 AM > *To:* usrp-users <usrp-users@lists.ettus.com> > <mailto:usrp-users@lists.ettus.com> > *Subject:* [USRP-users] multi-tone signal establishing > > Hi usrp users, > > I use e320 devices and I want to create multi tone signal but  > when I send 3 different signals I just see 1 signal frequency > domain at oscilloscope but I can see 3  different signal at qt > guı frequency sink.UHD usrp sink block just send center freq . > And I try sending with Python API  but  its note working > too.How can solve this problem ? > The images are attached. > > Thanks > > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com > > >
MD
Marcus D. Leech
Fri, Dec 27, 2024 4:18 PM

On 27/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

 I am writing to provide an updated version of my Python code. I
realized that the amplitude value in the previous code was incorrect,
and I have now corrected it to 0.3.

Have you actually plotted your sine waves, synthesized below, to make
sure that they make sense?


*Kimden: *"Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
*Kime: *"Marcus D. Leech" patchvonbraun@gmail.com
*Kk: *"usrp-users" usrp-users@lists.ettus.com
*Gönderilenler: *27 Aralık Cuma 2024 8:52:44
*Konu: *Re: [USRP-users] Re: multi-tone signal establishing

I am currently using E320 devices for my application. For both receive
and transmit processes, I have attached a 50 dB attenuator. I am also
attaching my flowgraph for your review.Additionally, my console output
shows "UOOOUUU."

python code

*Kimden: *"Marcus D. Leech" patchvonbraun@gmail.com
*Kime: *"Hamdüsena BİLGİ, BİLGEM" hamdusena.bilgi@tubitak.gov.tr
*Kk: *"usrp-users" usrp-users@lists.ettus.com
*Gönderilenler: *26 Aralık Perşembe 2024 20:53:46
*Konu: *Re: [USRP-users] Re: multi-tone signal establishing

On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote:

 Hi,

 I followed your instructions and can see 3 different signals on
 the oscilloscope. However, I have a small issue. I set the
 following parameters:

 center_freq = 200 MHz
 sample_rate = 50 MHz
 frequency0 = 16 MHz
 frequency1 = 4 MHz
 frequency2 = -16 MHz
 num_samples = 100000

 I define the signals as:

 t = np.arange(num_samples) / sample_rate
 sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t)
 sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t)
 sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t)
 sine_wave = sine_wave0 + sine_wave1 + sine_wave2
 I expected to see the signals at around 216 MHz, 204 MHz, and 184
 MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz,
 and 195 MHz.

 When I test the same setup using loopback in GNU Radio, I can
 transmit and receive all three signals correctly.

 What could be causing this discrepancy?

 Best regards,

When you say "loopback in Gnu Radio" do you mean a loop-back within
the flow-graph, without using the radio? Or an analog
  loopback between TX/RX ports on the radio?

When you're using the flow-graph and transmitting from the USRP, do
you see any "U" (under-runs) while transmitting?
  How about when you're using your Python code?

 ------------------------------------------------------------------------
 *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com>
 <mailto:patchvonbraun@gmail.com>
 *Kime: *"usrp-users" <usrp-users@lists.ettus.com>
 <mailto:usrp-users@lists.ettus.com>
 *Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29
 *Konu: *[USRP-users] Re: multi-tone signal establishing

 On 25/12/2024 01:31, Ceren Karaköse wrote:

     Hi Hamdüsena,

     What's your spectrum analyzer center frequency?

     In GNU flow, you're generating 3 sinusoids at 100M, 250M and
     300M Hz and send them with freq=150MHz _carrier frequency_.
     Your output signals should be at 250MHz, 400Mhz and 450Mhz.
     You should take mesaurements around these frequencies.

     Best,
     Ceren

 Please read what I wrote on this subject earlier. The MAXimum
 sample-rate of the E320 is 61.44Msps. You *cannot* represent
   these signals within that sample rate.

 SDRs in general expect to receive a complex-baseband stream, which
 they then up-convert, using analog hardware to the
   desired on-the-air frequency.  So any frequencies fro

 m things like the "Signal Generator" block would necessarily be
   within the context of a complex baseband at whatever the
 sampling rate is, and, again, the E320 will not move samples
   at a rate faster than 61.44Msps.

 I would suggest looking at more of the Gnu Radio tutorials, as
 well as general background material on DSP and
   complex-baseband signal representation.

 Also, spend some time at the USRP Knowledge Base:

 https://kb.ettus.com/Knowledge_Base

 And note the "Getting Started" here:

 https://kb.ettus.com/E320_Getting_Started_Guide


     ------------------------------------------------------------------------
     *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users
     <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com>
     *Sent:* Tuesday, December 24, 2024 9:10:39 AM
     *To:* usrp-users <usrp-users@lists.ettus.com>
     <mailto:usrp-users@lists.ettus.com>
     *Subject:* [USRP-users] multi-tone signal establishing

     Hi usrp users,

     I use e320 devices and I want to create multi tone signal but 
     when I send 3 different signals I just see 1 signal frequency
     domain at oscilloscope but I can see 3  different signal at qt
     guı frequency sink.UHD usrp sink block just send center freq .
     And I try sending with Python API  but  its note working
     too.How can solve this problem ?
     The images are attached.

     Thanks

     _______________________________________________
     USRP-users mailing list --usrp-users@lists.ettus.com
     To unsubscribe send an email tousrp-users-leave@lists.ettus.com



 _______________________________________________
 USRP-users mailing list -- usrp-users@lists.ettus.com
 To unsubscribe send an email to usrp-users-leave@lists.ettus.com
On 27/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: > >  I am writing to provide an updated version of my Python code. I > realized that the amplitude value in the previous code was incorrect, > and I have now corrected it to 0.3. Have you actually plotted your sine waves, synthesized below, to make sure that they make sense? > ------------------------------------------------------------------------ > *Kimden: *"Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> > *Kime: *"Marcus D. Leech" <patchvonbraun@gmail.com> > *Kk: *"usrp-users" <usrp-users@lists.ettus.com> > *Gönderilenler: *27 Aralık Cuma 2024 8:52:44 > *Konu: *Re: [USRP-users] Re: multi-tone signal establishing > > I am currently using E320 devices for my application. For both receive > and transmit processes, I have attached a 50 dB attenuator. I am also > attaching my flowgraph for your review.Additionally, my console output > shows "UOOOUUU." > > > > python code > ------------------------------------------------------------------------ > *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com> > *Kime: *"Hamdüsena BİLGİ, BİLGEM" <hamdusena.bilgi@tubitak.gov.tr> > *Kk: *"usrp-users" <usrp-users@lists.ettus.com> > *Gönderilenler: *26 Aralık Perşembe 2024 20:53:46 > *Konu: *Re: [USRP-users] Re: multi-tone signal establishing > > On 26/12/2024 00:57, Hamdüsena BİLGİ (BİLGEM) wrote: > > > Hi, > > I followed your instructions and can see 3 different signals on > the oscilloscope. However, I have a small issue. I set the > following parameters: > > center_freq = 200 MHz > sample_rate = 50 MHz > frequency0 = 16 MHz > frequency1 = 4 MHz > frequency2 = -16 MHz > num_samples = 100000 > > I define the signals as: > > t = np.arange(num_samples) / sample_rate > sine_wave0 = amplitude * np.exp(2j * np.pi * frequency0 * t) > sine_wave1 = amplitude * np.exp(2j * np.pi * frequency1 * t) > sine_wave2 = amplitude * np.exp(2j * np.pi * frequency2 * t) > sine_wave = sine_wave0 + sine_wave1 + sine_wave2 > I expected to see the signals at around 216 MHz, 204 MHz, and 184 > MHz. However, on the oscilloscope, I see them at 205 MHz, 201 MHz, > and 195 MHz. > > When I test the same setup using loopback in GNU Radio, I can > transmit and receive all three signals correctly. > > What could be causing this discrepancy? > > Best regards, > > When you say "loopback in Gnu Radio" do you mean a loop-back within > the flow-graph, without using the radio? Or an analog >   loopback between TX/RX ports on the radio? > > When you're using the flow-graph and transmitting from the USRP, do > you see any "U" (under-runs) while transmitting? >   How about when you're using your Python code? > > > > ------------------------------------------------------------------------ > *Kimden: *"Marcus D. Leech" <patchvonbraun@gmail.com> > <mailto:patchvonbraun@gmail.com> > *Kime: *"usrp-users" <usrp-users@lists.ettus.com> > <mailto:usrp-users@lists.ettus.com> > *Gönderilenler: *25 Aralık Çarşamba 2024 20:11:29 > *Konu: *[USRP-users] Re: multi-tone signal establishing > > On 25/12/2024 01:31, Ceren Karaköse wrote: > > Hi Hamdüsena, > > What's your spectrum analyzer center frequency? > > In GNU flow, you're generating 3 sinusoids at 100M, 250M and > 300M Hz and send them with freq=150MHz _carrier frequency_. > Your output signals should be at 250MHz, 400Mhz and 450Mhz. > You should take mesaurements around these frequencies. > > Best, > Ceren > > Please read what I wrote on this subject earlier. The MAXimum > sample-rate of the E320 is 61.44Msps. You *cannot* represent >   these signals within that sample rate. > > SDRs in general expect to receive a complex-baseband stream, which > they then up-convert, using analog hardware to the >   desired on-the-air frequency.  So any frequencies fro > > m things like the "Signal Generator" block would necessarily be >   within the context of a complex baseband at whatever the > sampling rate is, and, again, the E320 will not move samples >   at a rate faster than 61.44Msps. > > I would suggest looking at more of the Gnu Radio tutorials, as > well as general background material on DSP and >   complex-baseband signal representation. > > Also, spend some time at the USRP Knowledge Base: > > https://kb.ettus.com/Knowledge_Base > > And note the "Getting Started" here: > > https://kb.ettus.com/E320_Getting_Started_Guide > > > ------------------------------------------------------------------------ > *From:* Hamdüsena BİLGİ (BİLGEM) via USRP-users > <usrp-users@lists.ettus.com> <mailto:usrp-users@lists.ettus.com> > *Sent:* Tuesday, December 24, 2024 9:10:39 AM > *To:* usrp-users <usrp-users@lists.ettus.com> > <mailto:usrp-users@lists.ettus.com> > *Subject:* [USRP-users] multi-tone signal establishing > > Hi usrp users, > > I use e320 devices and I want to create multi tone signal but  > when I send 3 different signals I just see 1 signal frequency > domain at oscilloscope but I can see 3  different signal at qt > guı frequency sink.UHD usrp sink block just send center freq . > And I try sending with Python API  but  its note working > too.How can solve this problem ? > The images are attached. > > Thanks > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >