DSPRelated.com

Eric Jacobsen (@Slartibartfast)

Eric Jacobsen is CEO/CTO of Anchor Hill Communications, providing consulting, engineering services and solutions for digital communication systems. His work includes R&D on signal processing algorithms, architectures, and systems at Abineau Communications, Intel's Radio Communications Laboratory, EFData/California Microwave, Honeywell, and Goodyear Aerospace, among others. He spent a lot of time in IEEE 802 standards learning schmoozing, politics, and Robert's Rules of Order. http://www.anchorhill.com

Understanding and Implementing the Sliding DFT

Eric Jacobsen April 23, 201511 comments
Introduction

In many applications the detection or processing of signals in the frequency domain offers an advantage over performing the same task in the time-domain.   Sometimes the advantage is just a simpler or more conceptually straightforward algorithm, and often the largest barrier to working in the frequency domain is the complexity or latency involved in the Fast Fourier Transform computation.   If the frequency-domain data must be updated frequently in a...


Frequency-Domain Periodicity and the Discrete Fourier Transform

Eric Jacobsen August 6, 2012

Introduction

Some of the better understood aspects of time-sampled systems are the limitations and requirements imposed by the Nyquist sampling theorem [1]. Somewhat less understood is the periodic nature of the spectra of sampled signals. This article provides some insights into sampling that not only explain the periodic nature of the sampled spectrum, but aliasing, bandlimited sampling, and the so-called "super-Nyquist" or IF sampling. The approaches taken here include both mathematical...


Time-Domain Periodicity and the Discrete Fourier Transform

Eric Jacobsen July 13, 2012

Introduction

The Discrete Fourier Transform (DFT) and it's fast-algorithm implementation, the Fast Fourier Transform (FFT), are fundamental tools for processing and analysis of digital signals. While the continuous Fourier Transform and its inverse integrate over all time from minus infinity to plus infinity, and all frequencies from minus infinity to plus infinity, practical application of its discrete cousins can only be made over finite time and frequency intervals. The discrete nature...


Understanding and Relating Eb/No, SNR, and other Power Efficiency Metrics

Eric Jacobsen May 29, 20123 comments

Introduction

Evaluating the performance of communication systems, and wireless systems in particular, usually involves quantifying some performance metric as a function of Signal-to-Noise-Ratio (SNR) or some similar measurement. Many systems require performance evaluation in multipath channels, some in Doppler conditions and other impairments related to mobility. Some have interference metrics to measure against, but nearly all include noise power as an impairment. Not all systems are...


Some Observations on Comparing Efficiency in Communication Systems

Eric Jacobsen March 17, 2011
Introduction

Engineering is usually about managing efficiencies of one sort or another. One of my favorite working definitions of an engineer says, "An engineer is somebody who can do for a nickel what any damn fool can do for a dollar." In that case, the implication is that the cost is one of the characteristics being optimized. But cost isn't always the main efficiency metric, or at least the only one. Consider how a common transportation appliance, the automobile, is optimized...


Frequency Dependence in Free Space Propagation

Eric Jacobsen May 14, 20088 comments

Introduction

It seems to be fairly common knowledge, even among practicing professionals, that the efficiency of propagation of wireless signals is frequency dependent. Generally it is believed that lower frequencies are desirable since pathloss effects will be less than they would be at higher frequencies. As evidence of this, the Friis Transmission Equation[i] is often cited, the general form of which is usually written as:

Pr = Pt Gt Gr ( λ / 4πd )2 (1)

where the...


Pulse Shaping in Single-Carrier Communication Systems

Eric Jacobsen April 10, 200833 comments

Some common conceptual hurdles for beginning communications engineers have to do with "Pulse Shaping" or the closely-related, even synonymous, topics of "matched filtering", "Nyquist filtering", "Nyquist pulse", "pulse filtering", "spectral shaping", etc. Some of the confusion comes from the use of terms like "matched filter" which has a broader meaning in the more general field of signal processing or detection theory. Likewise "Raised Cosine" has a different meaning or application in this...


Handling Spectral Inversion in Baseband Processing

Eric Jacobsen February 11, 200811 comments

The problem of "spectral inversion" comes up fairly frequently in the context of signal processing for communication systems. In short, "spectral inversion" is the reversal of the orientation of the signal bandwidth with respect to the carrier frequency. Rick Lyons' article on "Spectral Flipping" at http://www.dsprelated.com/showarticle/37.php discusses methods of handling the inversion (as shown in Figure 1a and 1b) at the signal center frequency. Since most communication systems process...


Re: IIR filters with FSK signals

Reply posted 10 hours ago (03/18/2024)
Filtering is necessary to maximize SNR and BER performance, e.g., matching the pulse shapes and/or spectrum in the modulator and demodulator.   Doing this with...

Re: IIR filters with FSK signals

Reply posted 13 hours ago (03/18/2024)
You're correct that the phase response of IRR filters usually prevent them from use in modulators or demodulators.   There is usually BER performance degradation...

Re: filtering using FFT/iFFT

Reply posted 1 month ago (02/11/2024)
What do you mean by "discard the bin"?   Do you mean shorten the IFFT to smaller N?   Or do you mean zeroing the bins you are "discarding"?The behavior of zeroing...

Re: filtering using FFT/iFFT

Reply posted 1 month ago (02/11/2024)
The issue is that putting a zero at the FFT bin center only zeros the frequency at that point.   The frequencies between that bin center and the next bin center...

Re: A basic DSP question

Reply posted 1 month ago (02/07/2024)
If the packets are contiguous samples, i.e., there's no time gap between the last sample of a packet and the first sample of the next, then you can combine them...

Re: Help identify filter type

Reply posted 2 months ago (01/04/2024)
The frequency of the sine wave (aka, local oscillator, in a tuning application) determines which frequency gets mixed (translated) to baseband (DC, zero frequency). ...

Re: Help identify filter type

Reply posted 2 months ago (01/04/2024)
+1 that that's a mixer followed by an amplitude detector.   What you're describing is a tuner and a demodulator for AM radio.Usually that does include a filter,...

Re: How can I estimate the 2 parameters of this signal?

Reply posted 5 months ago (10/23/2023)
You'll need to determine whether amplitude or variance metrics are suitable for detecting the "quiet region" in your application, and how long the detection window...

Re: FM Carrier Recovery for AOA Calculation

Reply posted 6 months ago (09/10/2023)
I'm not quite sure what you're trying to do, but you can recover the phase of an FM carrier at baseband by detecting the angle of the complex vector at baseband...

Re: BPSK BW Requirement

Reply posted 7 months ago (09/01/2023)
For BPSK the symbol rate is equal to the 3dB bandwidth, which won't change for most pulse filter shapes.   The payload bit rate then depends on consideration for...

Re: resolution of the phase information from the fft

Reply posted 8 months ago (07/30/2023)
If you were intending to take an FFT, the phase information in any particular FFT output bin, for example one with a lot of energy for an input sinusoid, will be...

Re: resolution of the phase information from the fft

Reply posted 8 months ago (07/30/2023)
Think of phase resolution and amplitude resolution as being related.   Neither has anything to do with the sample rate.   Both have to do with the number of...

Re: Trying to wrap my head around FFT and SDR...

Reply posted 10 months ago (06/03/2023)
I'll +1 that it's not entirely clear what you're doing so questions will be asked.   On the other hand, your description of your processing steps sounds reasonable.Are...

Re: #OFDM point to point specification

Reply posted 10 months ago (05/21/2023)
I did!   It was camouflaged in the spam, but I will respond shortly.

Re: #OFDM point to point specification

Reply posted 10 months ago (05/17/2023)
...

Re: #OFDM point to point specification

Reply posted 10 months ago (05/16/2023)
How would you like people to get feedback to you?  Is there an email addy or a place to send it?   

Re: Electromagnetic waves question

Reply posted 10 months ago (05/09/2023)
Who says nobody talks about it?   It's why we have spatial and frequency nulls due to multipath, and whole bunch of other effects.

Re: #OFDM point to point specification

Reply posted 10 months ago (05/08/2023)
If you're not in a huge hurry I can take a look.   I've been involved in standards development for multiple OFDM systems.You can send me a note via the contact...

Re: Simulating multipath fading channel in Python

Reply posted 11 months ago (04/05/2023)
It sounds like you have the basics right.   If you want to simulate a channel for longer than the coherence time, don't create a step discontinuity between channel...

Re: Design low pass filter and decimation stages, how to?

Reply posted 11 months ago (04/04/2023)
Because the final output filter response has to be different for each it is possible that the designer of those two stages wanted a narrower output (or more stopband...

Re: Effect of decimation, tuning (mixing) on phase noise

Reply posted 12 months ago (03/30/2023)
A DDS or NCO has some noise sources that have been treated in literature fairly thoroughly, with a lot of tricks on how to mitigate noise effects in them.   Whether...
This is the example I was going to give as well. The symbol clock rate may change due to oscillator drift in the modulator or Doppler, or there've even been implementations...

Re: fft process gain revisited

Reply posted 1 year ago (03/08/2023)
You have to account for everything that is going on.   There is processing gain in the FFT as well as an increase in dynamic range by suppressing the quantization...

Re: fft process gain revisited

Reply posted 1 year ago (03/08/2023)
There is no "false gain".   I think there is just a gap in your understanding of what people mean by "processing gain".

Re: fft process gain revisited

Reply posted 1 year ago (03/08/2023)
Parseval's theorem says the total power in and out will be the same in a linear transform.   So if you scale them so that the total power is the same, fine, that's...

Re: fft process gain revisited

Reply posted 1 year ago (03/08/2023)
I think you've missed the point of what "process gain" means.  It is independent of scaling.Filters generally give SNR gain by removing the noise in the stopbands,...

Re: Single-bit long-range low-power communication

Reply posted 1 year ago (03/04/2023)
Eventually Planck and Boltzmann weigh in and the noise overcomes the signal.  You can keep making the integration time longer or increasing the transmit power,...

Re: Delay estimation using cross correlation

Reply posted 1 year ago (02/21/2023)
The signal characteristics matter a lot.  This sort of thing is done in practice a lot but the signal must have sufficient entropy and auto-correlation properties...

Re: GNURadio BPSK Position Costas Loop and Clocksync

Reply posted 1 year ago (12/02/2022)
The carrier phase detector used to lock the phase recovery loop uses the constellation points as the expected phase reference.   It can only do reliably that if...

Re: Power Spectral Density PSD° of OFDM signals

Reply posted 1 year ago (11/16/2022)
Parseval's theorem says that power is maintained across domains, so if you increase or decrease power in one domain, the same thing happens in the other, if that's...

Re: Power Spectral Density PSD° of OFDM signals

Reply posted 1 year ago (11/15/2022)
I think you're typing DSP when you mean psd, but that's okay.  ;)Regardless, you can set the amplitude of each subcarrier however you want, to make them all the...
Sounds like your client is susceptible to buzzwords.   

Re: #OFDM material

Reply posted 2 years ago (07/25/2022)
There are a number of books on OFDM and signal synchronization that cover all of those topics well.  A short search turns up a few candidates.   What you're asking...

Re: 'near IQ' sampling

Reply posted 2 years ago (07/18/2022)
It looks like nobody looked at your references.   In a generic sense I think there are a couple of different concept getting conflated, and to be honest I'm not...

Re: Clarity on Bit Reversal Sorting

Reply posted 2 years ago (06/08/2022)
I'm not familiar with that particular book, but I'll second that the bit reversal is done on the sample addresses, not their values.   There are alternate algorithms...

Re: Applications for a new FFT algorithm

Reply posted 2 years ago (04/28/2022)
It definitely sounds interesting.   If all of your claims are correct it could be very interesting in some applications.It sounds a little like a sparse (pruned)...

Re: Looking for an exotic channel coder

Reply posted 2 years ago (04/20/2022)
Sounds like you want to apply FEC to the MSBs and don't care so much about the LSBs.   This isn't too hard to do, and you could apply a Hamming code to the MSBs...

Re: correlation of two complex signals

Reply posted 2 years ago (04/18/2022)
Is the first plot you posted the detected magnitude of the output or the real or imaginary part or...?And, yes, your second zd is the conjugate of the first, so...

Re: correlation of two complex signals

Reply posted 2 years ago (04/18/2022)
Something is not being done correctly.   The magnitude of the output of the correlation function should have a strong peak if the functions are correlated.   If...

Re: Realisation the Decoder of the convolutional code

Reply posted 2 years ago (02/17/2022)
Don't rely on a single performance point to figure out what's going on.   Vary the Eb/No and plot BER against Eb/No.  If you get a normal waterfall curve then...

Re: Whatever happened to "Wavelets"?

Reply posted 2 years ago (01/11/2022)
I think it was kinda like Fuzzy Logic.   Lots of initial hype, but it eventually settled into the niches where it is actually useful.

Re: doubt regarding the sentence in sliding dft

Reply posted 2 years ago (12/29/2021)
Using the numbers from the example above with N = 512, if the slide distance, M = N and a new FFT is needed every 512 samples, then the FFT requires fewer computations...

Re: Fractionally Spaced Equalizer

Reply posted 2 years ago (12/20/2021)
As others have alluded, any adaptive equalizer design has limited degrees of freedom in which to work, and a certain amount of complexity required to provide that...

Re: RF Sampling using a 3 dB hybrid to generate I & Q

Reply posted 2 years ago (10/04/2021)
Especially with a wide bandwidth of interest it will likely not have a perfectly flat frequency reponse.   The gain and phase balance will likely not be perfect,...

Re: RF Sampling using a 3 dB hybrid to generate I & Q

Reply posted 2 years ago (10/04/2021)
Yes, this is a very common way to build a receiver.   The specifications on the hybrid will be important to determine gain and phase balance between the I and...
There's a decent article about it on dsprelated:https://www.dsprelated.com/showarticle/168.phpIf you know the SNR, the noise BW, and the bit rate, it is pretty...

Re: BCH for GF(4)

Reply posted 3 years ago (06/24/2021)
Yes.   Reed-Solomon codes are BCH codes typically with 8-bit symbols instead of binary.

Re: DTFT optimization question

Reply posted 3 years ago (06/03/2021)
Look into the Sliding DFT algorithm.   It is a recursive sliding-window computation that greatly reduces the computational load for sparse outputs (like what you...

Re: Understanding the concept of Polyphase Filters

Reply posted 3 years ago (05/25/2021)
To answer your questions:1. A typical convolutional filter has constant coefficients, while a polyphase filter adjusts coefficients depending on the relative phases...

Re: Remove delay after filtering

Reply posted 3 years ago (04/25/2021)
The LPF FIR filters have delays proportional to the length to the peak of the impulse response.  e.g., if it is a symmetric impulse response, the delay is N/2. ...

Re: Impulse response in OFDM system using IFFT

Reply posted 3 years ago (04/20/2021)
Remember that the time-domain "impulse response" determined from the frequency-domain pilot tones will be periodic, so what you'll see is one period of an estimate...

Re: Blind symbol rate estimation references

Reply posted 3 years ago (04/19/2021)
It's a difficult problem.   I've built signal classifiers like this, and what we found was that you nearly always need to start with the BW estimate.  That's...

Re: How to compute a phase? [phase estimation]

Reply posted 3 years ago (04/06/2021)
For satellite communications Doppler and multipath are generally not big problems, at least not compared to many terrestrial applications.   Usually the frequency...

Re: How to compute a phase? [phase estimation]

Reply posted 3 years ago (04/01/2021)
Well, requirements matter, and you haven't really stated any, so it's hard to say what would work for you or not work.In many systems frequency offset is removed...

Re: How to compute a phase? [phase estimation]

Reply posted 3 years ago (03/30/2021)
Yes, a PLL is a feedback control loop.   Usually the loop architecture and development use something like a 2nd order loop filter, which is the same 2nd order...

Re: Measurement of frequency deviation in FM signals

Reply posted 3 years ago (03/28/2021)
You can certainly estimate occupied signal bandwidth using an FFT.  That will be a close approximation to the deviation depending on details.

Re: How to compute a phase? [phase estimation]

Reply posted 3 years ago (03/25/2021)
Usually synchronization of both timing and phase are done with feedback control loops.  Usually timing is synchronized first so that phase can be synchronized using...
How to define SNR in fading channels is always confusing and a reasonable way to start arguments among comm engineers.Are you measuring the signal level before or...
As Tim said, check where all the intermods land wrt harmonics, etc., but the architecture described might not be too bad.  Since the Tx is direct conversion, as...

Re: How to test my FFT implementation?

Reply posted 3 years ago (03/07/2021)
That's not a very thorough test, as many processes will produce constrained random output for random input.  So you could have something other than an FFT and get...
You should know the filter gain vs frequency, so the input/output relationship for tones at various frequencies should be straightforward to calculate, or determine...
In a basic sense it's a design decision that you have control over.   You control the gain of the filter, and you control the sizes of the registers used and therefore...

Re: BeagleBone AI

Reply posted 3 years ago (01/08/2021)
Looks like a nice upgrade to the Beaglebone Black SoC, so that's kinda cool.   The rest of it seems to be the library support for AI, which is always dubious these...

Re: Communication between ARM and DSP

Reply posted 3 years ago (12/15/2020)
DMA to shared memory?

Re: Carrier frequency correction using real IQ

Reply posted 3 years ago (11/25/2020)
Mix it to baseband so that it's complex.

Re: Purity > 1?

Reply posted 3 years ago (11/19/2020)
How much is the difference?   If it is a factor of two or a factor of sqrt(2) or their inverses, there is an arbitrary scaling factor that can be applied.   If...

Re: Anything like a “shift delay”?

Reply posted 3 years ago (10/24/2020)
Remember that frequency is the derivative of phase, so if s(t) is a slowly advancing ramp, it just means an increase in frequency.   Likewise if s(t) is a quadratic...

Re: split Hilberts

Reply posted 3 years ago (10/23/2020)
Is there are reason to not just use a mixer (i.e., complex mix to baseband)?   Hilbert transformers tend to add distortion, which can affect performance in a link. ...

Re: Tilt correction in modulators

Reply posted 4 years ago (08/14/2020)
It could mean at least a couple of different things, so I'd hope the documentation for the modulator clarifies which is meant.If IF sampling is used, it may be correcting...

Re: IFFT Synthesis Amplitude Estimation

Reply posted 4 years ago (08/12/2020)
If the amplitudes and/or phases of the components are random, then they'll reinforce/cancel randomly.   You can bound the extremes by assuming at one point all...

Re: Sythesis of a signal created as a spectrogram

Reply posted 4 years ago (08/12/2020)
You give no detail about what you might be doing, so it is impossible to offer any detailed criticism or make any assumptions about what you might or might not be...

Re: Reflectometry in power lines (spread spectrum TDR)

Reply posted 4 years ago (08/11/2020)
This is a typical remote-sensing (e.g., radar, sonar), or channel sounding (e.g., training an equalizer for a communication channel) problem.  Since you are using...
I'm not sure what you mean by the three steps you describe in your post, especially what "shape into a NRZ signal" means or why you'd do it to something you just...
Very cool.  I'm glad you're getting it sorted out.The same problems exist for single-carrier signals, where the resulting DC offset in a constellation must be...
The only mix that will put the LO energy at the DC subcarrier is a direct-conversion complex mix to baseband, since the LO is exactly at the center carrier frequency. ...
In the cases where the DC subcarrier is left vacant it was usually so that an analog direct-conversion mixer could be used.   It usually wasn't possible to completely...

Re: Moving Average Filter's Magnitude Response

Reply posted 4 years ago (07/27/2020)
dB scales are relative to something, so the positive numbers just mean that whatever the reference is, those values are above it.  The filter response plot you...

Re: understanding no perfect Zero-IF

Reply posted 4 years ago (07/25/2020)
There's a big difference in the answer depending on what kind of downconversion you used to mix it from 30MHz to the 300kHz remaining offset.   If you used a complex-valued...

Re: Adaptive filter and noise reduction

Reply posted 4 years ago (07/23/2020)
Some easy generalizations suggest that any noise events longer than the filter may not be able to be cancelled by the filter.The adaptation rate can certainly be...

Re: The size of an FIR filter for PDM-PCM conversion

Reply posted 4 years ago (07/18/2020)
Ahg, you made me go back and remember a bunch of things.I wasn't assuming audio PDM as there are other PDM applications.  We used PDM as a single-wire interface...

Re: The size of an FIR filter for PDM-PCM conversion

Reply posted 4 years ago (07/18/2020)
Yeah, brain fart.  For 16 bits from 1 you need, what, 128k:1 reduction?

Re: The size of an FIR filter for PDM-PCM conversion

Reply posted 4 years ago (07/17/2020)
Pulse Density Modulation.    Basically the amplitude is encoded in the density or duty cycle of a binary signal.  

Re: The size of an FIR filter for PDM-PCM conversion

Reply posted 4 years ago (07/17/2020)
There are a couple guiding design principles that may be able to help you out.The first is that the maximum output value of a FIR filter is the sum of the absolute...

Re: raised-cosine matched filter question

Reply posted 4 years ago (06/24/2020)
Let us know how it differs from the symbol rate.

Re: raised-cosine matched filter question

Reply posted 4 years ago (06/23/2020)
In practice, no, the roll-off doesn't matter because with raised-cosine matched filters the 3dB point is always at the symbol rate.   This is where the inflection...

Re: raised-cosine matched filter question

Reply posted 4 years ago (06/23/2020)
The noise enters the system mostly in the receiver RF, which is between the two matched filters.  Remember that the 3dB point of the matched filter is at the symbol...

Re: IF Flatness and RF Leveling

Reply posted 4 years ago (06/22/2020)
IF Flatness usually refers to the flatness of the IF filter, which would indicate whether it is likely to introduce distortion or not.RF levelling often means setting...
The answer to your question is completely dependent on the sensitivity of your system to latency or jitter or dropouts in the control signal.   If it is insensitive...
I think you are misunderstanding the figure in Proakis.   I have the 4th Ed which doesn't have that figure, so can't comment directly on what might be being shown...
Usually there's only one matched filter in the receiver, that is matched to the filter shape in the transmitter.   Signal levels coming out of that matched filter...

Re: Parallel CIC filter processing enquiry

Reply posted 4 years ago (06/10/2020)
For the most part, that's what I'd do, yes, but for stuff like that I'm usually simulating something that will ultimately be implemented.  If the implementation...

Re: Parallel CIC filter processing enquiry

Reply posted 4 years ago (06/10/2020)
To answer your first question, yes, you can simulate CIC filters in Matlab or Octave or whatever tool you wish.   One caveat with Matlab/Octave is that you have...

Re: Help with precoding (SDR implementation)

Reply posted 4 years ago (06/08/2020)
No, that's not why precoding is done, or, probably more correctly, predistortion.   Precoding often refers to coding related to space-time diversity or spatial...

Re: Help with precoding (SDR implementation)

Reply posted 4 years ago (06/07/2020)
It sounds like what you're doing has a lot of unstated details, e.g., PPS, OFDM, etc., etc.   As such I can't really help you other than to say that carrier recovery...

Re: Help with precoding (SDR implementation)

Reply posted 4 years ago (06/06/2020)
What PPS?   I've no idea what signalling you're trying to use other than one of the pics you posted appears to have a QAM constellation.   Usually a receiver...

Re: Help with precoding (SDR implementation)

Reply posted 4 years ago (06/06/2020)
If the channel has a phase component and is rotating the signal, you need to make sure that the predistortion (precoder, whatever), rotates it back in the other...
Are you phase-locking the receive signal and using differential decoding or are you using differential demodulation as a non-coherent signal?If you are using coherent...
I'm with kaz, the answer was in your question.   As the number of carriers increases the PAPR increases, which decreases the average power available for the signal,...
Do you mean that you're using a fading channel model in one case and not the other?   That'd definitely explain the difference.  They should be the same, and...
The filters need to be compatible from a sampling perspective.   One way to think of it is that the filter is designed assuming a certain number of samples per...
You have the idea correct, as far as I can tell.  Think of it in the frequency domain, where a frequency-selective filter is just multiplying the input frequencies...

Re: Coherent Combination and SNR improvement

Reply posted 4 years ago (05/20/2020)
Remember that A and B are mirror images of each other, so just mixing them down separately and adding them would be a bit of a mess.Even if you reverse one before...

Re: Coherent Combination and SNR improvement

Reply posted 4 years ago (05/20/2020)
I don't know what you mean by "baseband different copies at different Nyquist zones using a complex phasor", or "multiple copies of that signal".Until you explain...

Re: PhD in E.E. is it really worth it

Reply posted 4 years ago (05/08/2020)
Because the industry is constantly changing, your experience will be different than what people have experienced in the past.  My career included a lot of working...
Remember that in the vast majority of implementations the quantities will already be cartesian, specifically I and Q components of a signal.  So doing the operation...
Maybe I'm missing something, but what is not trivial about this?   In his thesis he shows the simple relationship of the discriminator in Eq. 4.7, which I can't...
The data sheet indicates that the 3dB rolloff is at 8GHz, and rolls off from there to 10GHz.  So I think the blue channel that is highlighted would be the least...
The short answer is no, matched filtering is not done in OFDM like it is in single carrier communications.  Consider that the single-carrier matched filters only...

Re: Auto-Correlation based Carrier Frequency Recovery

Reply posted 4 years ago (02/29/2020)
If this is the preamble detection in a burst signal it's going to be difficult.   There's always a tradeoff between low SNR operation and susceptibility to interference,...

Re: DQPSK - New t this, and want to learn...

Reply posted 4 years ago (02/17/2020)
It sounds like the symbol rate is 18kHz, and the raw (undecoded) bit rate is 36kHz. The raised cosine filter needs to be matched to the symbol rate.  The idea...

Re: DQPSK - New t this, and want to learn...

Reply posted 4 years ago (02/17/2020)
You're on the right track, and being able to see the constellation points by following the signal trace is possible but tedious.   The phase of the constellation...
There are a lot of things that could be wrong, but it's hard to tell without knowing the configuration of your sim.  You need a very high sample rate to mix up...
A properly implemented DUC or DDC should not affect BER at all.  Something in your processing chain is distorting the signal.

Re: Need tutorial information on 8VSB modulation

Reply posted 4 years ago (01/20/2020)
Hi, Rick,Twenty years ago such tutorials were pretty easy to come across, because it was all new and exciting.   Now it's pretty widely recognized that there are...

Re: How to parallelize polyphase FIR resampling filters

Reply posted 4 years ago (01/11/2020)
Are you trying to optimize for a fixed resample rate or are you trying to find a good architecture for a flexible multi-rate resampling filter?The multi-rate problem...

Re: About timing recovery

Reply posted 4 years ago (01/07/2020)
As Kaz mentioned, Timing Error Detectors, like early-late, just need to know the symbol period, Ts, and then provide a suitable error curve vs phase error for up...

Re: About timing recovery

Reply posted 4 years ago (01/07/2020)
The symbol clocks at each end of the link, the Tx and Rx, are independent and so will have random phase relationships to each other.   They also won't be exactly...
When mixing a complex signal up to an IF for transmission, it effectively becomes a real-valued signal, or, more specifically, one transmits the real part of the...
Well, dangit, I had made another, long clarifying post, but it appears to have disappeared into the ether.FWIW, Class-C amp appears to mean something to many people...
The paper may be referring to a complex tone, which has a PAPR of 0dB as I mentioned.   From that reference, 2dB is a higher PAPR.When a PA transmits a fully saturated...

Re: ADC sampling rate matlab/simulink M-PSK

Reply posted 4 years ago (12/24/2019)
That is correct, any M-PSK or M-QAM or M-ASK signal requires only one (complex) sample per symbol to recover the information.   Again, this assumes that a matched...

Re: ADC sampling rate matlab/simulink M-PSK

Reply posted 4 years ago (12/24/2019)
If a matched filter is applied and the sample timing is synchronized to the symbols, you only need one sample per symbol to fully recover M-PSK. 
This may sound weird, but the PAPR of a complex-valued tone is 0dB.  That's usually the reference point for optimizing PAPR.  Class C amps can be useful in applications...

Re: Moving average filter using Blockram

Reply posted 4 years ago (12/05/2019)
Increasing the number of effective bits essentially boils down to increasing the dynamic range by approximately 6dB for every 4:1 reduction in BW, or decimation. ...

Re: Error correcting codes

Reply posted 4 years ago (11/18/2019)
Kind of, but some of those terms, like "block code" aren't universally defined.  e.g., a "block code" can be a code with a finite-length or fixed-length codeword,...

Re: Extract pitch of irregular signal ?

Reply posted 4 years ago (11/02/2019)
A possibility of a next thing to do, since you know the frequency range of interest, is to filter out everything but that range.  i.e., isolate the 120-240Hz spectrum...

Re: Single Carrier Block Modulation

Reply posted 4 years ago (11/01/2019)
Do you have a pulse matching filter in the demodulator?   It should use all of the received samples and potentially downsample to one sample per symbol, based...

Re: New IEEE Signal Processing Society Journal

Reply posted 4 years ago (10/29/2019)
I don't see any reason to do that, so, short answer, no.   ;)

Re: OFDM questions

Reply posted 4 years ago (10/18/2019)
The subcarriers near the edges of the band are not used in order to provide "guard band" to facilitate the rolloff of channel selection filters and to prevent interference...

Re: Bin frequency amplitude estimation for convolution

Reply posted 4 years ago (10/01/2019)
A good topic to search on that will help understand this is "window functions" for DFT or FFT.  There are many good papers and tutorials.  There is always a window,...

Re: Few questions on wireless and LTE

Reply posted 4 years ago (09/28/2019)
RF mixing or "modulating" doesn't change the signal, it just translates it in frequency.   It is still OFDM.20MHz bandwidth means the signal occupies 20MHz of...

Re: Few questions on wireless and LTE

Reply posted 4 years ago (09/28/2019)
1) Inter Carrier Interference (ICI) is minimized by proper synchronization in both time and frequency.   Multipath and Doppler can still spread ICI energy around,...
I think what you really want for timing synchronization is estimation and correction of phase offset, not frequency.   As mentioned, usually with a burst protocol...
The old tried-and-true way to deal with the hardware clock metastability is just to put two flip-flops (registers) in series on the 96MHz clock.   Some people...
Since you said the signal was 1000x oversampled, e.g., 10kHz sps for a 10Hz signal, there are 1000 samples/cycle of the 10 Hz signal, or 1000 samples per 2*pi radians...
With a BW of 10Hz and a sample rate of 10kHz, you have a very high oversample rate.   So without any interpolation, just picking the nearest sample, the max jitter...
Since you're highly oversampled wrt your desired signal the jitter due to just sample skipping or repeating might be relatively low.   Whether such a scheme will...

Re: Carrier doppler shift and Signal doppler shift

Reply posted 5 years ago (08/21/2019)
Most comm satellites don't do demod-remod, they just mix an uplink band by a fixed amount and retransmit it in the downlink band.   Any shift on the uplink will...

Re: Carrier doppler shift and Signal doppler shift

Reply posted 5 years ago (08/20/2019)
In my experience the terms are used interchangeably, and if whoever is using the terms intends for there to be a distinction between them they need to be clear about...

Re: FFT Interpolation

Reply posted 5 years ago (07/30/2019)
Hi, MrColly,The spectral response of a sampled sine wave from which a finite-time sequence is taken (i.e., any practical sampled signal) is a dirichlet kernel. ...

Re: FFT Interpolation

Reply posted 5 years ago (07/26/2019)
That is one valid way to look at it, but not the only way.   The DFT is just a matrix multiply of an input vector by a transformation matrix.   There do not...

Re: FFT bins size and averaging

Reply posted 5 years ago (07/25/2019)
Do you reduce the sample rate when you average?   In other words, when you average eight samples, is it a sliding average (i.e., a FIR filter) where you output...

Re: Frequency estimation in between the bins ...

Reply posted 5 years ago (07/19/2019)
There are a number of frequency estimation techniques that use the FFT output.   A web search on "frequency estimation" and author's names like Candan, Aboutanios...

Re: ICI avoidance in OFDM

Reply posted 5 years ago (07/04/2019)
How is theta different for each subcarrier?  All of the subcarriers come through each propagation path, so all experience the same thetas and the same dopplers,...

Re: ICI avoidance in OFDM

Reply posted 5 years ago (07/03/2019)
What is the mechanism by which one subcarrier will have a significantly different frequency offset than another?  All of the subcarriers go through the same multipath...

Re: ICI avoidance in OFDM

Reply posted 5 years ago (07/02/2019)
The Forward Error Correction is not just for ICI, but for all impairments which includes noise, synchronization errors, unmitigated multipath effects, interference,...

Re: Clock drift and compensation

Reply posted 5 years ago (06/28/2019)
Some good suggestions have already been made, and another simple thing that can be done is to just occasionally repeat or drop an output sample.  Whether that's...

Re: Real to Complex conversion

Reply posted 5 years ago (06/28/2019)
You haven't specified the need to do anything with the phase or with the imaginary portion, so you haven't indicated anything that would make me think that downsampling...

Re: Timing Recovery Loop Filter Rate

Reply posted 5 years ago (05/13/2019)
Thanks a ton!  It's always good to hear when people find stuff useful.  ;)

Re: Timing Recovery Loop Filter Rate

Reply posted 5 years ago (05/10/2019)
Like Gardner, I've always found it easier to run the loop filter at the symbol rate.   There's not really any reason to run it faster, since it's not getting information...

Re: Aliasing in Radix-2 FFT - Decimation in time

Reply posted 5 years ago (05/09/2019)
I think it may be a semantic issue with some poor nomenclature in this case."Decimation" in the context of FFTs isn't downsampling.  i.e., "decimation" in time...

Re: SNR of a pulsed signal in noise

Reply posted 5 years ago (04/27/2019)
Dr Mike mentioned a way that may work in the time domain, especially if you have enough "quiet" time before and after the signal to get sufficient noise statistics.Depending...
If you have a particular type of code you're interested in there may be better selections than others.   e.g., if you're mostly interested in algebraic codes (e.g.,...

Re: Digital Modulator Artefacts

Reply posted 5 years ago (03/24/2019)
Rick's book should have some good treatments on upsampling, also called interpolating or interpolation.  There are many techniques, but for a modulator it will...

Re: Digital Modulator Artefacts

Reply posted 5 years ago (03/23/2019)
Yes, the spectrum in that pic is what I would expect to see.  That looks a lot better.If you have the processing bandwidth to upsample the baseband signal by a...

Re: Digital Modulator Artefacts

Reply posted 5 years ago (03/22/2019)
I've been away all day and just coming back to this.   Kaz is on the right track in that I think you're not implementing the mixer correctly and you're winding...

Re: Digital Modulator Artefacts

Reply posted 5 years ago (03/22/2019)
The multiplication by +1, 0, -1... is the mixer, so, yes, you are mixing from baseband to fs/4 that way. It is a very common way to do the mix, and then take an...

Re: Digital Modulator Artefacts

Reply posted 5 years ago (03/21/2019)
It looks to me like the signal was generated at baseband at half the sample rate, then mixed up to fs/4 without sufficiently suppressing the nearest image.  The...

Re: Estimating SNR in the Frequency Domain

Reply posted 5 years ago (03/20/2019)
I didn't see anything in my copy of Rick's book in App D about this, but usually in the frequency domain SNR estimation is done assuming constant noise spectral...

Re: Slow fading channel & SNR

Reply posted 5 years ago (03/13/2019)
Yes, you need a way to measure it, and there are potentially a number of ways to do it depending on your system, the signal modulation, and the receiver architecture.e.g.,...

Re: Digital Up conversion of QAM symbols

Reply posted 5 years ago (02/20/2019)
Az kaz mentioned, the mixer and signal sample rates need to match, so if you run the DDS at 1MHz and tune it accordingly the signal will need to be sampled at 1MHz. ...

Re: Difference between bit-metrics and LLR

Reply posted 5 years ago (02/14/2019)
Bit metrics are just some quantification of a characteristic of a bit, usually something reflective of the bit SNR or some quality or reliability metric of some...

Re: Understanding the concept of Polyphase Filters

Reply posted 5 years ago (01/31/2019)
I'm not sure your question really has much to do with polyphase structures.   I'm also not sure your statements about anti-aliasing are strictly true about polyphase...
I suspect that one of the reasons the subtle tradeoffs don't get detailed treatment in papers/texts is because the implementation possibilities are so varied, and...

Re: fixing sample rate error/mismatch

Reply posted 5 years ago (01/15/2019)
A resampling polyphase filter will do that job, but if the error is unknown how will you know what correction to apply?

Re: Folded FIR filter in Matlab or Octave

Reply posted 5 years ago (01/15/2019)
Many of the matlab/octave filter functions use fast convolution once the length of the filter impulse response gets very large.   You don't mention how long your...

Re: Phase Locked Loop Books in a time of DSP

Reply posted 5 years ago (01/09/2019)
This treats the theory, but no code examples.  :(http://www.compdsp.com/presentations/Jacobsen/abin...

Re: Not understanding digital signal processing

Reply posted 5 years ago (01/07/2019)
"Where do I even begin. Is the first equation saying that sin(2πf0ntₛ) produces the same value as sin(2πf0ntₛ + 2πm) the same value as sin(2π(f0 +...

Re: Not understanding digital signal processing

Reply posted 5 years ago (01/06/2019)
Which edition of that book do you have?   I'm looking at a first edition and the text description around the equations seems reasonably thorough to me.   The...

Re: SDR Direct-RF User Symbol Rate

Reply posted 5 years ago (12/30/2018)
As fred mentioned, you can decouple the symbol rate and the sample rate with a polyphase resampling filter.   You will likely have to decouple the sample rate...

Re: Real to Complex conversion

Reply posted 5 years ago (12/14/2018)
If the signal was properly sampled as a real signal, then the imaginary components are conceptually there, they're just zero-valued.   If you want the simplest...

Re: Real to Complex conversion

Reply posted 5 years ago (12/14/2018)
The simplest, and most accurate, method would be to just create the imaginary components for each collected sample and set them all to zero.   Then do whatever...
I'll just concur with kaz that what he described is the way to do it:  multiply the sum of the absolute values of the convolution coefficients with the max input...

Re: Automatic Frequency Correction AFC in DSP

Reply posted 5 years ago (10/13/2018)
Knowing the modulation lets you plan based on what else will be in the receiver.   For a PSK signal there will be a phase detector and, if it is a coherent receiver,...

Re: Automatic Frequency Correction AFC in DSP

Reply posted 5 years ago (10/12/2018)
Much depends on the type of signal.   Analog or digital?  Single or multi-carrier?   PSK?   MSK?  QAM?  Something else?   Coherent or differential?If...

Re: OFDM Constellation.

Reply posted 5 years ago (09/25/2018)
The signal is not sufficently synchronized to recover the constellations.   You need proper timing and phase lock, and how to do that will depend on the signal...
The mixing operation may be fewer computations than the Hilbert transformer, so you may want to look into it.I'm not sure what you mean in 2), but the complex tone...
It looks like you need the desired signal shifted to complex baseband, i.e., moved down 1kHz.   Since the signal is already digitized, an easy way to do this is...

Re: RF switching matrix for DOA.

Reply posted 6 years ago (07/26/2018)
You'll also want to consider that each stage will have some insertion loss and Noise Figure, so cascading them like that might be costly from a performance perspective. ...
I complain about this in aviation as a lot of text-based messages, like METAR weather reports, NOTAMs, etc., etc., are still heavily abbreviated and cryptic, which...
FWIW, an alternative approach might be to use a 4096-pt DFT, but compute only the subcarriers of interest, i.e., a sparse DFT.   This is pretty easy with a DFT,...
A few things:If I understand correctly, the symbol is 20us long.  If you stretch a 400-pt DFT to cover the entire symbol the bins will be much wider (about 10x,...
OFDM symbols are pretty simply defined for the FFT size in order to recover the subcarriers with an FFT (one subcarrier per bin).   If the FFT size is changed...
Yes, if the decimator isn't simply averaging the two frames in time, sample by sample, then the processes won't be equivalent.   Decimation implies a filter is...
That's something that you should be able to evaluate in a simulation pretty easily, I'd think.   Synchronization errors might affect one more than the other, and...

Re: filtering followed by fft a given frame

Reply posted 6 years ago (07/02/2018)
What I was getting as was that if the signal going into the FFT was the same signal used for determining symbol synchronization, then group delay won't matter because...

Re: filtering followed by fft a given frame

Reply posted 6 years ago (07/02/2018)
How is the frame time synchronization performed?   If it does something like the typical cyclic prefix correlation with the end of the frame, and if the signal...
Yes, it is possible to model the behavior in C, Matlab, or just about any software language.  Many professional design processes over the years have developed systems...
If it is not a decimating filter then it won't cause aliasing.  Generally "noise" comes from external sources and not the filter, although if one isn't careful...
You're going to need to define or clarify what you mean by "reliable".  Filter implementations are generally deterministic in that you'll know ahead of time exactly...

Re: Fourier Transform for a Chirp Signal

Reply posted 6 years ago (05/24/2018)
Others have already pointed out the phase differences between the chirp and and a sinc.   Back when I did radar work we always called it "quadratic phase" rather...

Re: Fourier Transform for a Chirp Signal

Reply posted 6 years ago (05/24/2018)
The spectrogram is pretty easy to draw, i.e., a line in the time-frequency plane that shows the peak energy moving across the frequencies that the chirp occupies. ...

Re: A Mathematical Notation Suggestion

Reply posted 6 years ago (05/20/2018)
I think many of these kinds of abbreviations are left over from the days when saving time during handwriting, or saving money on typesetting, or saving money on...

Re: "Software Receiver Design" Timing Recovery Question

Reply posted 6 years ago (05/17/2018)
I think that's the part that is just badly worded if not downright wrong.   You're right that there are only two points that are zero, and they will only be sampled...
What makes you think it wouldn't be?   If you provide some detail about your application and your concerns you might get better answers.

Re: "Software Receiver Design" Timing Recovery Question

Reply posted 6 years ago (05/16/2018)
I don't have a copy of that text, but the part you show looks very poorly worded, indeed.Realize that 1/T is the magnitude of the slope of the two lines and the...
Inserting anything other than zeros prior to filtering in an interpolation process adds energy and information, and if it's not part of the original signal energy...
Not sure what you mean by upsampling by the filter length.  A filter may be N symbols long, but with M samples per symbol the final length of the convolutional...
Consider what the frequency domain looks like when the signal is sampled only at the symbol rate, and if the spectrum were shaped what the alias behavior would be. ...

Re: 802.11 Sync on MRC receiver

Reply posted 6 years ago (05/08/2018)
Since each receiver has to attain its own synchronization independently, each receiver must estimate and use its own frequency offset information.There may be...

Re: CIC filters with decimation ratio jitter

Reply posted 6 years ago (05/04/2018)
Yes, that's useful.   I do that in resampling loops and tracking loops where the output sampling instant is steered by the loop, i.e., the decimation ratio is...

Re: 802.11 Sync on MRC receiver

Reply posted 6 years ago (04/23/2018)
Yes, you need synchronization so that the two channels can be added coherently, rather than potentially cancelling or distorting each other worse than just single-channel...

Re: Sampling at a particular instant in GNU Radio

Reply posted 6 years ago (04/20/2018)
A synchronization block will have a number of components, and they have to be appropriate for the signal and situation.   If you can break out the Timing Error...

Re: Sampling at a particular instant in GNU Radio

Reply posted 6 years ago (04/19/2018)
This is often done with a Timing Error Detector, a timing loop filter, and a resampling filter.   If the existing samples are spaced closely enough that you don't...

Re: Phase and Gain alignment

Reply posted 6 years ago (04/08/2018)
You seem to be describing an equalizer.   If you can use one of the amps output as the reference, then just generate the error signal between the reference and...

Re: spectrum of rectangular pulse using two methods

Reply posted 6 years ago (03/06/2018)
It looks like you've already been pointed in the right direction, but I'll add that this confusion is often exacerbated by the casual use of the term "sinc" to describe...
Don't worry, stuff like this is brain-bending even for experienced guys.Generally the double-sided noise is just N, such that 2N = No, where the 2 accounts for the...

Re: Real-time Wavelet Transform

Reply posted 6 years ago (02/07/2018)
You may want to provide some more details to help understand the problem.  Why can't you run a traditional FIR in real-time?   i.e., why do you need to use OLA? ...

Re: Ideas for simple bitrate regulation

Reply posted 6 years ago (02/06/2018)
Do you need a stable clock or pulse running at the coded rate or can you just get away with framing and buffering?   Alternatively, if the coded rate is a nice...

Re: Real-time Wavelet Transform

Reply posted 6 years ago (02/06/2018)
I'm not enough of a wavelet expert to comment specifically about implementation of that, other than to say that real-time processing of almost anything at 512Hz...

Re: Side lobes reduction after FFT

Reply posted 6 years ago (01/18/2018)
Under some conditions you can discern sidelobes from main lobes, but this generally means that that signal has to be made up of isolated tone(s).   Since this...

Re: Impulse behavior of FIR LP filter

Reply posted 6 years ago (01/11/2018)
I *think* I understand what you're doing, and I'll suggest that you need more than three samples per pulse to get the accuracy you're looking for.  In order to...

Re: How to downconvert a Complex RF signal in Matlab?

Reply posted 6 years ago (12/26/2017)
Rayleigh fading channel models may be complex, (as are many channel models), but usually they are applied at baseband.   In a simulation the upconverter and downverter...

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/17/2017)
This is what I mentioned early on:  downconvert with a complex LO, i.e., multiply by cos/sin instead of just one of them.   One product will be the real component,...

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/16/2017)
Yes, I noticed that in his plot.  It should be equivalent to unfiltered (i.e., rectangular pulse) 8-PSK generated as a complex constellation and upconverted to...

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/15/2017)
Consider that any real-world signal transmitted from an antenna (or over a cable, or fiber or whatever), will be a bandpass signal with a carrier frequency of fc...

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/15/2017)
Downconvert to complex baseband.   As you mentioned, if you downconvert with a complex-valued LO of exactly the carrier frequency, you will wind up with a complex-valued...

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/15/2017)
You can downconvert from real-valued to baseband digitally, i.e., after the single ADC.Edit: same in the modulator; upconvert to real-valued prior to the DAC.

Re: Help on Demodulating an 8-PSK Signal

Reply posted 6 years ago (12/15/2017)
Most digital communication texts have a lot of content describe PSK modulation and typical modulators and demodulators.   Usually the waveform is processed, in...

Re: FIR Amplitude

Reply posted 6 years ago (12/12/2017)
That should work, yes.
You only need an SNR estimate from each input signal to do the combining rather than a full channel estimate if you want to do the combining first.   You can use...
If you combine first before equalization, you have to train the equalizer on the combined signal, not either of the pre-combined signals.  
If you do the combining first, you will get the SNR improvement of the combiner and will be equalizing on the combined channels.   If you do the equalizing first,...

Re: IIR filters

Reply posted 6 years ago (11/29/2017)
In my personal experience I've only ever needed IIR filters when I needed an LPF that had a very narrow bandwidth.   They're very good for that since the complexity...

Re: fft/ifft scaling revisited

Reply posted 6 years ago (11/28/2017)
I'll +1 on some of what's been said before, and just point out that it's often a matter of implementation efficiency.   Scaling by 1/sqrt(N) on both forward and...

Re: Upsampling of data

Reply posted 6 years ago (11/20/2017)
There are lots of ways to do this, including linear interpolation, spline interpolation, etc.   Also look into "multirate filtering" or similar topics such as...
It looks to me like you're just getting tripped up on definitions and terminology, which are pretty soft, anyway.   Additionally, the time required for the cyclic...

Re: DDS jitter

Reply posted 6 years ago (11/03/2017)
I'll add a +1 that this isn't a trivial task if you want some degree of accuracy in the final jitter estimation.   There are a number of tricks that you can do...

Re: Synchronization For Fading Channels

Reply posted 6 years ago (10/26/2017)
It can depend on the type of modulation and the type of fading, but generally robust algorithms will work in either (maybe that's just the definition of a robust...
Waveform compression has been around for a long time and is well-studied.  Depending on your requirements you can look into all of the various audio compression...

Re: Frequency Interpolation Algorithms

Reply posted 6 years ago (10/17/2017)
If there is only one tone present, there are quite a few different algorithms that can interpolate the peak value, both direct and iterative.   Here is a survey...
Any wifi product that is compliant with 802.11n or better will have MIMO.   In other words, the multiple antennas will be used for a variety of combining and MIMO...

Re: Enhancing multivariate signals

Reply posted 7 years ago (09/16/2017)
What do you mean by "enhance"?   It's hard to recommend anything without knowing what you're trying to achieve.
Ah, I misunderstood.   That happens a lot.   ;)There were a lot of papers on non-uniform sampling probably ten years ago, and my impression on the gist of the...
If you are just collecting samples and doing some DSP stuff with them, like correlation, etc., is there really a need to resample to the other clock?   I'm still...
What is the final end use of the signal?   If you are just doing analysis or extracting information from it, then there's no need to insert the zero and generate...

Re: Choice between Scilab and Python + numpy

Reply posted 7 years ago (09/11/2017)
Look into using Gnu Octave.   It is generally compatible with Matlab (older stuff, anyway), is free, and has a decent GUI IDE.
No, that's not normal.   Be careful about how you are measuring the signal and noise power in the receiver, as that is a common area for mistakes.  Since you are...

Re: DSP Windowing function

Reply posted 7 years ago (08/23/2017)
It's just an element-by-element multiplication, so a structure with a counter or two and a multiplier is basically it.   If the window function is symmetric, which...

Re: How to calculate the FFT period?

Reply posted 7 years ago (07/03/2017)
The system is designed so that the fading will be flat for each subcarrier, so, in general, this restricts the subcarrier spacing.   Once that is determined and...
The terminology that you're using, "header" and "tail", are ambiguous in this context.   I think you need to clarify what you mean.   By "header" do you mean a...

Re: Magnitude of frequency components

Reply posted 7 years ago (06/28/2017)
If you're really just interested in the magnitude of the energy in bins 1 and 3 and you know there isn't other interfering energy in those bins to corrupt the measurement,...

Re: Generating Bandlimited Noise

Reply posted 7 years ago (06/23/2017)
Generally AWGN is the appropriate model for thermal noise, and with the usual numeric ways of generating AWGN (which you should be able to find with some simple...

Re: Estimating SNR without windowing

Reply posted 7 years ago (06/17/2017)
It should be easy to compute the total power in the input, then estimate the power in the tone from the amplitude estimate you determine, the noise power is then...

Re: DFT/FFT

Reply posted 7 years ago (06/05/2017)
One of the beauties of the complex mix (rather than a real-valued mix) is that it translates all of the spectrum equally, so no image-rejection filters are needed.A...

Re: DFT/FFT

Reply posted 7 years ago (06/05/2017)
How would you determine the frequency offset?   Are there assumptions about your input signal you can exploit?   However you detect the offset, you can adjust...

Re: DFT/FFT

Reply posted 7 years ago (06/05/2017)
The input spectrum is just the spectrum of the input signal being processed.   It can be shifted up or down in frequency by any arbitrary amount by multiplying...

Re: DFT/FFT

Reply posted 7 years ago (06/05/2017)
Why not just mix the input spectrum up or down with e^jw to match the known offset?   It accomplishes the same thing and you don't have to worry about orthogonality...

Re: I need help

Reply posted 7 years ago (05/17/2017)
If you're using only a single example of possible channel impulse responses, then, yes, that can happen.   Is this a free-space application, or...?   Regardless,...

Re: Optimal Filter lineup selection

Reply posted 7 years ago (05/16/2017)
I think the first step is determining what "optimal" and "best" mean to you in the context of your project.  Until you do that you have no way of assessing whether...

Re: Differential coding for ICI cancelation

Reply posted 7 years ago (05/15/2017)
Yes, you don't have to maintain phase coherence, i.e., phase-lock.   Differential coding allows there to be a small amount of phase rotation between symbols, due...

Re: Differential coding for ICI cancelation

Reply posted 7 years ago (05/15/2017)
The differential modulation allows the data to be recovered without requiring phase coherence in the receiver.  It does not mitigate interference of any kind,...

Re: DFT

Reply posted 7 years ago (05/15/2017)
1) For an N-point DFT, the input can be "windowed".   Even with a rectangular window the window will be N-points, or less if zero-padding is used.2-4)  You need...

Re: FFT Speed, FIR Output

Reply posted 7 years ago (05/12/2017)
The FIR filter is not doing anything magic.   The output will be the input with the frequencies attenuated by the filter suppressed.   That is all.   If the input...

Re: FFT Speed, FIR Output

Reply posted 7 years ago (05/12/2017)
What are you trying to accomplish with the FIR filter?   The output of the FIR will be the input filtered by the FIRs frequency response.   You've indicated a...
For bursty systems like WiFi or Zigbee, PER (Packet Error Rate) is usually used instead of BER, pretty much for the reason you illustrate.  Characterizing PER provides...

Re: Cross talk in ADC channel due to noise on PCB

Reply posted 7 years ago (04/26/2017)
There are a number of different crosstalk removal methods depending on what your signals are and how much processing you can do.  If the crosstalk characteristic...

Re: Semi-blind OFDM channel estimation.

Reply posted 7 years ago (04/19/2017)
I'm not sure what you mean by "known preamble and unknown pilots", but be careful with the use of the preamble.  In many standards the preamble is segmented into...

Re: PAPR (peak to average power ratio)

Reply posted 7 years ago (04/13/2017)
The relevance is to budget headroom to saturation in the Power Amplifier.   A higher PAPR means a higher backoff from peak output is required to maintain linearity...

Re: coherence bandwidth and carrier frequency

Reply posted 7 years ago (04/04/2017)
No, the coherence bandwidth has to do with the dynamic fading of the channel.   It is a measure of how wide the fading regions are in the channel spectrum.   They're...

Re: The adoption of the frequency measure "Hertz"

Reply posted 7 years ago (03/30/2017)
I still have my cps to Hz conversion chart that my first manager gave me as a joke.   One axis is logarithmic so it makes a nice curve.

Re: code rate vs rate matching in FEC/Channel coding

Reply posted 7 years ago (03/25/2017)
Is the context of your question specific to a particular standard or device?   "Rate Matching" may actually mean something different across different contexts,...

Re: Frequency resolution

Reply posted 7 years ago (03/24/2017)
As gregladd pointed out, the aggregate response of the time window (considering both duration and shape) will result in a frequency response with a modified sinx/x...

Re: ZigBee and Multipath

Reply posted 7 years ago (03/18/2017)
You can do that but you'll lose performance as the SNR decreases or the multipath gets bad (e.g., more than one large peak).   Usually with SS a "rake receiver"...

Re: ZigBee and Multipath

Reply posted 7 years ago (03/17/2017)
In general usage Zigbee range is not very far, 10-20m, so the expected delay spreads would be less than a chip period.   If the delay spread is less than a symbol...

Re: Biquad IIR filter for Phase inverting?

Reply posted 7 years ago (02/21/2017)
I might be missing something, but if you want the same effect as swapping speaker terminals, that's the same as multiplying by -1.   i.e., a sign inversion will...

Re: Any fancy idea for an algorithm ?

Reply posted 7 years ago (02/20/2017)
What sort of features or properties are you trying to reveal?  "Compare" is pretty broad.

Re: MIMO naming convention

Reply posted 7 years ago (02/16/2017)
Actually that's backwards.   The terminology is from the perspective of the channel, so Single Input Multiple Output means that there is a single transmit antenna...
Distortion is the difference between the shape of the waveform that went into the amplifier and what came out.   If anything changes in the shape of the waveform,...
If an "ideal" amp is really "ideal" it doesn't add any distortion, amplitude or phase.  Otherwise it wouldn't be very "ideal", I think.  ;)The easy example to...
The easy way is to use a very high sample rate.

Re: Why do we want an amplifier to be linear?

Reply posted 7 years ago (02/01/2017)
No worries, it was really just addressing your comment about where do non-linear amps get employment if they're not in a rock or metal band.

Re: Why do we want an amplifier to be linear?

Reply posted 7 years ago (02/01/2017)
As John_G alluded, nonlinear (e.g., Class C) amps are often used in communications to increase transmit power efficiency.  This requires using constant-envelope...

Re: TWTAs as compared to SSPAs

Reply posted 7 years ago (01/29/2017)
One point that hasn't yet been mentioned (aside from the excellent comments so far), is that TWTAs have historically often been run in saturation for efficiency,...
The unused subcarriers are the easiest to regenerate because they're always zero.   So when you recreate the OFDM symbol, there is no energy in those subcarriers....
There is no signal in the unused subcarriers, ever, so any channel effects in the unused spectrum will be inconsequential to the signals in the occupied subcarriers.It's...

Re: Source coding in WiFi or LTE

Reply posted 7 years ago (12/31/2016)
There often isn't any, since the "source" of the data is usually not known to the modem, or even the network.  That makes it hard to apply source coding since...

Re: convolution coding for FEC

Reply posted 7 years ago (10/15/2016)
To your example, if the input is x and the output is abc, you might puncture one of those to reduce the code rate to 1/2.  e.g., the output of the encoder around...

Re: Sampling frequency in Baseband

Reply posted 7 years ago (10/11/2016)
What sampling rate you use for transmission, i.e., at the final DAC before the RF system, is an implementation decision.   Some may choose to digitze at baseband,...

Re: FSK demodulation and SNR measurements

Reply posted 8 years ago (09/10/2016)
The initial waveform used to get synchronization is known as a "preamble", and right now you're using a chirp.  One nice property of a chirp is that it has a good...

Re: Code vs Uncoded EbN0

Reply posted 8 years ago (08/22/2016)
The definitions of coded bit and uncoded bit can get swapped.  In the article I referenced Ec was specifically defined to represent the channel bits, which are...

Re: Code vs Uncoded EbN0

Reply posted 8 years ago (08/22/2016)
Help me understand your question.   If I understand correctly, you're asking what's the difference between:EbN0[db]=EbN0[db](old)−10log10(Rc)andCodedEbNo = UncodedEbNo...
If Eb is the energy per information bit, and Rb is the information bit rate, then that already takes into account any coding overhead or other overhead (e.g., framing).This...

Re: ADPLL vs Linear PLL

Reply posted 8 years ago (08/04/2016)
The units of the products of the oscillator and detector gains should be something like 1/seconds.  "Volts" are usually abstracted in a digital implementation,...

Re: ADPLL vs Linear PLL

Reply posted 8 years ago (08/04/2016)
What are the units of the VCO gain when it is equal to 1?   Which multiplier do you mean?   Do you mean the phase detector?   What are the units of the gain when...

Re: ADPLL vs Linear PLL

Reply posted 8 years ago (08/03/2016)
I'll second Tim's statement that you need to be clear about what you mean.   Anything you run in Matlab is digital.   It may be a simulation of an analog system,...

Re: PLL in presence of noise

Reply posted 8 years ago (07/26/2016)
In another thread you mentioned obtaining frequency from a locked digital PLL, and I explained how to do that very accurately using the Phase Increment Register...

Re: PLL in presence of noise

Reply posted 8 years ago (07/26/2016)
Have you done a web search on "frequency estimation"?   There are a number of techniques depending on what your unique constraints might be, but there's a lot of...

Re: Estimating Frequency in PLL from phase

Reply posted 8 years ago (07/20/2016)
Yes, the NCO always has the basic value of the reference frequency in its Phase Increment Register (PIR).   If your loop adjusts the PIR to steer the loop to lock...

Re: Zero IF vs Low IF receivers

Reply posted 8 years ago (07/10/2016)
In the zero-IF receiver the analog signal is mixed to baseband and two converters sample the I and Q streams with the signal centered about DC.   The difficulty...

Re: Restorative Upsampling

Reply posted 8 years ago (07/01/2016)
As has already been pointed out, there are some unsubstantiated grandiose claims on the linked site and the example code doesn't appear to do anything that would...

Re: Processing block size and matched filtering

Reply posted 8 years ago (06/15/2016)
There are a number of things you can do depending on how much processing power you have available to you.   This sounds like a good application for a sliding DFT,...

Re: phase detector and vco gain

Reply posted 8 years ago (05/31/2016)
This presentation covers one way to address this:http://www.compdsp.com/presentations/Jacobsen/abin...Note that KoKd (or kpko in your notation) has no dependence...

Re: Loop bandwidth for symbol timing recovery

Reply posted 8 years ago (05/27/2016)
There are two texts that come up a lot for this:Digital Communications Receivers, Synchronization, Channel Estimation, and Signal Processing, by Meyr and Moeneclaey, and,Synchronization...
Yes, Kd is the slope around the zero-error region.   The units for that slope must be compatible with the units of Ko, the DDS/VCO gain constant, such that the...

Use this form to contact Slartibartfast

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address