usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Fwd: USRP-FIFO, question about double buffering

GS
George Sklivanitis
Tue, Jun 21, 2011 11:41 AM

Hello all,

Lately, I am experimenting with an implementation of a point-to-point
On-off Keying communication system. I mostly prefer to use the USRP as
the receiver, in which I can capture samples and later process them
through Matlab. However, because of the algorithms I try to apply at the
receiver (packet/symbol synchronization, channel estimation,
carrier-frequency offset cancellation, detection) I have to deal with a
lot of delay at the receiver processing part. As a result, my
transmitter keeps sending packets which will either get lost or stored
at the fifo.

Therefore, I would like to know, if it is possible to construct a second
buffer (softwarely in Matlab) in order not to lose so many data packets.
Does anyone have an intuition about the way the fifo is used?

Thanks,
GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257
www.telecom.tuc.gr/~gsklivanitis

Hello all, Lately, I am experimenting with an implementation of a point-to-point On-off Keying communication system. I mostly prefer to use the USRP as the receiver, in which I can capture samples and later process them through Matlab. However, because of the algorithms I try to apply at the receiver (packet/symbol synchronization, channel estimation, carrier-frequency offset cancellation, detection) I have to deal with a lot of delay at the receiver processing part. As a result, my transmitter keeps sending packets which will either get lost or stored at the fifo. Therefore, I would like to know, if it is possible to construct a second buffer (softwarely in Matlab) in order not to lose so many data packets. Does anyone have an intuition about the way the fifo is used? Thanks, GS -- Sklivanitis Georgios M.Sc. Student Telecommunications Division, Department of Electronics and Computer Engineering Technical University of Crete, Kounoupidiana Campus, Office 145.A10 Chania, Crete, 73100, Greece Tel. : 28210 59257 www.telecom.tuc.gr/~gsklivanitis
GS
George Sklivanitis
Wed, Jul 6, 2011 1:49 PM

Hello all,

Lately, I am experimenting with a point-to-point SDR link where my
transmitter uses On-Off Keying modulation while the receiver follows
techniques for efficient signal processing and detection (non-coherent,
coherent). My major problem is how can I measure the input SNR as a
ratio of the power of the received signal to the power of noise, given
also that we ignore the quantity of NF (Noise Figure).

Thank you in advance for your concern,

GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257
www.telecom.tuc.gr/~gsklivanitis

Hello all, Lately, I am experimenting with a point-to-point SDR link where my transmitter uses On-Off Keying modulation while the receiver follows techniques for efficient signal processing and detection (non-coherent, coherent). My major problem is how can I measure the input SNR as a ratio of the power of the received signal to the power of noise, given also that we ignore the quantity of NF (Noise Figure). Thank you in advance for your concern, GS -- Sklivanitis Georgios M.Sc. Student Telecommunications Division, Department of Electronics and Computer Engineering Technical University of Crete, Kounoupidiana Campus, Office 145.A10 Chania, Crete, 73100, Greece Tel. : 28210 59257 www.telecom.tuc.gr/~gsklivanitis
CB
Colby Boyer
Wed, Jul 6, 2011 5:20 PM

One method would be to use a single pole IIR filter to get an average of the
noise floor energy, and compare that with the average symbol energy.

On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis <
george.sklivanitis@gmail.com> wrote:

Hello all,

Lately, I am experimenting with a point-to-point SDR link where my
transmitter uses On-Off Keying modulation while the receiver follows
techniques for efficient signal processing and detection (non-coherent,
coherent). My major problem is how can I measure the input SNR as a ratio of
the power of the received signal to the power of noise, given also that we
ignore the quantity of NF (Noise Figure).

Thank you in advance for your concern,

GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257
www.telecom.tuc.gr/~**gsklivanitishttp://www.telecom.tuc.gr/~gsklivanitis

____________**
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/**mailman/listinfo/usrp-users
**lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

One method would be to use a single pole IIR filter to get an average of the noise floor energy, and compare that with the average symbol energy. On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis < george.sklivanitis@gmail.com> wrote: > Hello all, > > Lately, I am experimenting with a point-to-point SDR link where my > transmitter uses On-Off Keying modulation while the receiver follows > techniques for efficient signal processing and detection (non-coherent, > coherent). My major problem is how can I measure the input SNR as a ratio of > the power of the received signal to the power of noise, given also that we > ignore the quantity of NF (Noise Figure). > > Thank you in advance for your concern, > > GS > > > -- > Sklivanitis Georgios > M.Sc. Student > Telecommunications Division, > Department of Electronics and Computer Engineering > Technical University of Crete, > Kounoupidiana Campus, Office 145.A10 > Chania, Crete, 73100, Greece > Tel. : 28210 59257 > www.telecom.tuc.gr/~**gsklivanitis<http://www.telecom.tuc.gr/~gsklivanitis> > > > ______________________________**_________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/**mailman/listinfo/usrp-users_**lists.ettus.com<http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com> >
GS
George Sklivanitis
Wed, Jul 6, 2011 6:50 PM

On 7/6/11 8:20 PM, Colby Boyer wrote:

One method would be to use a single pole IIR filter to get an average
of the noise floor energy, and compare that with the average symbol
energy.

On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis
<george.sklivanitis@gmail.com mailto:george.sklivanitis@gmail.com>
wrote:

 Hello all,

 Lately, I am experimenting with a point-to-point SDR link where my
 transmitter uses On-Off Keying modulation while the receiver
 follows techniques for efficient signal processing and detection
 (non-coherent, coherent). My major problem is how can I measure
 the input SNR as a ratio of the power of the received signal to
 the power of noise, given also that we ignore the quantity of NF
 (Noise Figure).

 Thank you in advance for your concern,

 GS


 -- 
 Sklivanitis Georgios
 M.Sc. Student
 Telecommunications Division,
 Department of Electronics and Computer Engineering
 Technical University of Crete,
 Kounoupidiana Campus, Office 145.A10
 Chania, Crete, 73100, Greece
 Tel. : 28210 59257
 www.telecom.tuc.gr/~gsklivanitis
 <http://www.telecom.tuc.gr/%7Egsklivanitis>


 _______________________________________________
 USRP-users mailing list
 USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
 http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hello again,

Could it be sufficient enough to say that we measure the noise's
variance as the variance of the data captured when nobody transmits in
the desired frequency and then the ratio of the received signal energy
to the noise's energy plus 1 will give us the estimated Signal-to-Noise
ratio?

Thanks,
GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257
www.telecom.tuc.gr/~gsklivanitis

On 7/6/11 8:20 PM, Colby Boyer wrote: > One method would be to use a single pole IIR filter to get an average > of the noise floor energy, and compare that with the average symbol > energy. > > On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis > <george.sklivanitis@gmail.com <mailto:george.sklivanitis@gmail.com>> > wrote: > > Hello all, > > Lately, I am experimenting with a point-to-point SDR link where my > transmitter uses On-Off Keying modulation while the receiver > follows techniques for efficient signal processing and detection > (non-coherent, coherent). My major problem is how can I measure > the input SNR as a ratio of the power of the received signal to > the power of noise, given also that we ignore the quantity of NF > (Noise Figure). > > Thank you in advance for your concern, > > GS > > > -- > Sklivanitis Georgios > M.Sc. Student > Telecommunications Division, > Department of Electronics and Computer Engineering > Technical University of Crete, > Kounoupidiana Campus, Office 145.A10 > Chania, Crete, 73100, Greece > Tel. : 28210 59257 > www.telecom.tuc.gr/~gsklivanitis > <http://www.telecom.tuc.gr/%7Egsklivanitis> > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > Hello again, Could it be sufficient enough to say that we measure the noise's variance as the variance of the data captured when nobody transmits in the desired frequency and then the ratio of the received signal energy to the noise's energy plus 1 will give us the estimated Signal-to-Noise ratio? Thanks, GS -- Sklivanitis Georgios M.Sc. Student Telecommunications Division, Department of Electronics and Computer Engineering Technical University of Crete, Kounoupidiana Campus, Office 145.A10 Chania, Crete, 73100, Greece Tel. : 28210 59257 www.telecom.tuc.gr/~gsklivanitis
CB
Colby Boyer
Wed, Jul 6, 2011 7:50 PM

It'll probably ball park the figure. You can then cross-validate it with the
error rate.

On Wed, Jul 6, 2011 at 11:50 AM, George Sklivanitis <
george.sklivanitis@gmail.com> wrote:

**
On 7/6/11 8:20 PM, Colby Boyer wrote:

One method would be to use a single pole IIR filter to get an average of
the noise floor energy, and compare that with the average symbol energy.

On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis <
george.sklivanitis@gmail.com> wrote:

Hello all,

Lately, I am experimenting with a point-to-point SDR link where my
transmitter uses On-Off Keying modulation while the receiver follows
techniques for efficient signal processing and detection (non-coherent,
coherent). My major problem is how can I measure the input SNR as a ratio of
the power of the received signal to the power of noise, given also that we
ignore the quantity of NF (Noise Figure).

Thank you in advance for your concern,

GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257
www.telecom.tuc.gr/~gsklivanitishttp://www.telecom.tuc.gr/%7Egsklivanitis


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hello again,

Could it be sufficient enough to say that we measure the noise's variance
as the variance of the data captured when nobody transmits in the desired
frequency and then the ratio of the received signal energy to the noise's
energy plus 1 will give us the estimated Signal-to-Noise ratio?

Thanks,
GS

--
Sklivanitis Georgios
M.Sc. Student
Telecommunications Division,
Department of Electronics and Computer Engineering
Technical University of Crete,
Kounoupidiana Campus, Office 145.A10
Chania, Crete, 73100, Greece
Tel. : 28210 59257www.telecom.tuc.gr/~gsklivanitis

It'll probably ball park the figure. You can then cross-validate it with the error rate. On Wed, Jul 6, 2011 at 11:50 AM, George Sklivanitis < george.sklivanitis@gmail.com> wrote: > ** > On 7/6/11 8:20 PM, Colby Boyer wrote: > > One method would be to use a single pole IIR filter to get an average of > the noise floor energy, and compare that with the average symbol energy. > > On Wed, Jul 6, 2011 at 6:49 AM, George Sklivanitis < > george.sklivanitis@gmail.com> wrote: > >> Hello all, >> >> Lately, I am experimenting with a point-to-point SDR link where my >> transmitter uses On-Off Keying modulation while the receiver follows >> techniques for efficient signal processing and detection (non-coherent, >> coherent). My major problem is how can I measure the input SNR as a ratio of >> the power of the received signal to the power of noise, given also that we >> ignore the quantity of NF (Noise Figure). >> >> Thank you in advance for your concern, >> >> GS >> >> >> -- >> Sklivanitis Georgios >> M.Sc. Student >> Telecommunications Division, >> Department of Electronics and Computer Engineering >> Technical University of Crete, >> Kounoupidiana Campus, Office 145.A10 >> Chania, Crete, 73100, Greece >> Tel. : 28210 59257 >> www.telecom.tuc.gr/~gsklivanitis<http://www.telecom.tuc.gr/%7Egsklivanitis> >> >> >> _______________________________________________ >> USRP-users mailing list >> USRP-users@lists.ettus.com >> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >> > > Hello again, > > Could it be sufficient enough to say that we measure the noise's variance > as the variance of the data captured when nobody transmits in the desired > frequency and then the ratio of the received signal energy to the noise's > energy plus 1 will give us the estimated Signal-to-Noise ratio? > > Thanks, > GS > > -- > Sklivanitis Georgios > M.Sc. Student > Telecommunications Division, > Department of Electronics and Computer Engineering > Technical University of Crete, > Kounoupidiana Campus, Office 145.A10 > Chania, Crete, 73100, Greece > Tel. : 28210 59257www.telecom.tuc.gr/~gsklivanitis > >