DSPRelated.com

Dan Boschen (@DanBoschen)

Background: Wireless communication physical layer hardware implementations from antenna to modem both in analog and digital domains; Microwaves & RF, Analog, Data Conversion, and Digital (FPGA). Dan is an engineer at Microchip (Formerly Microsemi, formerly Symmetricom) and teaches DSP and Python for the IEEE and DSPRelated.

Re: Error in frequency estimation for low frequencies

Reply posted 22 hours ago (04/19/2024)
Glad that it is helpful.If this is for FMCW radar, this article describes the complex-baseband architecture as another option to get the complex analytic signal...
The structure your proposing wouldn't be feasible with a continuous time input, as you would also need to reconstruct to a continuous time output - and to do it...
The phase of the aliases rotates after each delay prior to the down-samplers, and then again after the up-samplers in each of the recreated Nyquist zones. Due to...

Re: Error in frequency estimation for low frequencies

Reply posted 2 days ago (04/18/2024)
I suspect you are getting aliasing effects between the positive and negative frequencies for a real signal (given the finite time duration: the aliasing is the interaction...

Re: CIC bus width

Reply posted 4 weeks ago (03/25/2024)
The accumulator(s) in the CIC filter are allowed to overflow once in the time duration of the subtractions in the comb(s), as long as the accumulators properly wrap...

Re: Pre-add for transposed FIR

Reply posted 4 months ago (12/30/2023)
Here's an image of the folded linear phase filter in direct form and transposed form: linear_phase_filters.png

Re: Pre-add for transposed FIR

Reply posted 4 months ago (12/30/2023)
Have you considered transposing folded structure? Take the folded linear phase FIR filter and reverse all direction flows, change the adders to branched and branches...

Re: An Online Mathematics Reference Book

Reply posted 8 months ago (08/28/2023)
I have a copy my good friend gave me in college in 1986 that I pull of my work desk shelf every other day it seems, and then my mother's copy she had 20 years prior...

Re: Stereo to complex sample

Reply posted 8 months ago (08/28/2023)
One way to do this is with the Hilbert Transform to get the Analytic Signal which would be just the positive frequencies which are represented by the first half...

Re: Sigma-delta DAC or delta-sigma DAC?

Reply posted 11 months ago (05/26/2023)
The Sigma is the accumulator (for Sigma-Delta DAC) or integrator (for Sigma-Delta ADC as shown below) just prior to decision and feedback. The output of the decision...

Re: Sigma-delta DAC or delta-sigma DAC?

Reply posted 11 months ago (05/26/2023)
They are both the same thing and used interchangeably. I must admit that I use both depending on how I wake up in the morning. My impression is Sigma-Delta is more...

Re: CIC implement question?

Reply posted 11 months ago (05/15/2023)
I agree with you that the CIC still has viable applications but don't agree that "single bit is very limited". In particular we are seeing more and more single...

Re: Electromagnetic waves question

Reply posted 11 months ago (05/15/2023)
... I use the DFT to synthesize antenna patterns in multi-element arrays for this reason. I love it when disciplines overlap to the same underlying principles!

Re: The Anatomy of a Finite Impulse Response

Reply posted 11 months ago (05/15/2023)
I love new intuitive ways of looking at things. Kudos!

Re: The Anatomy of a Finite Impulse Response

Reply posted 11 months ago (05/15/2023)
Thanks yes I can't underline enough how much visualizing phasors and working with complex signals simplifies the intuition for DSP. My courses start with this in...

Re: The Anatomy of a Finite Impulse Response

Reply posted 11 months ago (05/15/2023)
Nice question Kaz! Is “The frequency response is the Fourier Transform of the Impulse Response” an insufficient intuition for you? Perhaps then more intuition...

Re: How to calculate biquad cascade coefficient

Reply posted 11 months ago (05/15/2023)
In most depictions of the standard forms, the feedback coefficients are negated. This is just convenient convention based on how the transfer function as given maps...

Re: The Anatomy of a Finite Impulse Response

Reply posted 11 months ago (05/15/2023)
The intuition of converting the symmetric or antisymmetric coefficients to real sinusoidal components is helpful for the large subset of all possible FIR filters...

Re: CIC implement question?

Reply posted 1 year ago (04/20/2023)
Ah ok! Good clarification- that makes a lot of sense. So in applications where down-sampling is to be done on a multi-bit signal, perhaps the CIC is still a viable...

Re: CIC implement question?

Reply posted 1 year ago (04/20/2023)
Very nice fred!!! I laughed out loud at all the intro slides. Yes CIC very bad with floating point. I believe with fixed point we can overflow once with no consequence...

Re: CIC implement question?

Reply posted 1 year ago (04/18/2023)
I don’t think you are necessarily “wrong” in your thought process - it is just a matter of being clear on how the frequency axis is scaled. Each block on its...

Re: CIC implement question?

Reply posted 1 year ago (04/17/2023)
The z^{-1} blocks shown represent a one sample delay for the sampling rate of that block. With that view, they are all correct as Mth order CIC decimate by 2 filters. Be...

Re: Correlated phase noise

Reply posted 1 year ago (04/01/2023)
Krishk- Did the update get to the root of your question or is there still some confusion here? It may help to know that for small angles beta, the sidebands due...
An NCO is equivalent to a fractional divider of the master clock. In general when you divide any frequency tone with phase noise by $N$, the phase noise goes down...
I have seen "DDS" referred to the combination of an NCO with a D/A (meaning providing an analog output) whereas an NCO is providing a digitally generated source....

Re: Correlated phase noise

Reply posted 1 year ago (03/30/2023)
I updated that post to focus on the phase noise cancellation, bottom lined here:This occurs in down-conversion only and not in up-conversion given the output in...

Re: Correlated phase noise

Reply posted 1 year ago (03/30/2023)
Did your same post on Stack Exchange not answer your question?https://dsp.stackexchange.com/questions/87286/corr...
Often decimation filtering is done very simply with averaging: a CIC decimation filter is mathematically equivalent to a moving average over D samples followed...

Re: fft process gain revisited

Reply posted 1 year ago (03/11/2023)
Yes, no disagreement with that. I was trying to provide an explanation how it is the same and yet the same processing gain concepts apply (but apparently I didn't...

Re: fft process gain revisited

Reply posted 1 year ago (03/11/2023)
This does apply equally in reverse, and you are correct that the operations are symmetric other than the sign on the exponential. Further by convention we scale...

Re: fft process gain revisited

Reply posted 1 year ago (03/11/2023)
Hi David-The FFT is a narrow band filter, and the quantization noise (up to the limits of the SFDR) is spread evenly across all bins, so you can get a lot more bits...

Re: fft process gain revisited

Reply posted 1 year ago (03/09/2023)
Sorry for my distraction about bin power spread due to windowing which is my preferred use of processing gain in an FFT. My bigger point was there is no actual change...

Re: fft process gain revisited

Reply posted 1 year ago (03/08/2023)
A noise density is an easier way I think to view this, as the noise density (in power/Hz specifically NOT power/bin) for spread waveforms (such as quantization...

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

Reply posted 1 year ago (03/05/2023)
No the power spectral density will remain constant if the transmitter transmits at a constant power the same waveform (since the PSD is the power spread over frequency). There...
Randy- I was curious too! See https://dsp.stackexchange.com/questions/85937/pole...

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

Reply posted 1 year ago (03/04/2023)
Time varying channels due to Doppler and multipath will be a big limitation. If there are no other temporal variations (such as Doppler from movement or channel...

Re: IIR filters

Reply posted 1 year ago (12/20/2022)
A resampled FIR is also a very good solution for this case (even decimating to implement the LPF and interpolating after if the higher sampling rate is needed)....
Related but those don’t really fit the bill as they are used to compare two complex magnitudes rather than estimate the complex magnitude. However what I didn’t...
Very nice Rick! I didn't know that, thanks for the additional history and nice work. Until I reread the post, I was going to go forward from this point thinking...
This is the "Alpha Max + Beta Min" algorithm as a high-speed approximation for the magnitude of a complex number (or more generically the square root of the sum...

Re: #OFDM sample rate

Reply posted 2 years ago (07/18/2022)
If the RF Bandwidth is 10 MHz there is no need to sample at or more than 30.72 MHz assuming complex baseband samples  —sampling at twice the FFT sampling rate...

Re: 'near IQ' sampling

Reply posted 2 years ago (07/18/2022)
This is also referred to as “undersampling”. Key requirements and considerations to do this properly are that the analog input bandwidth of the ADC surpasses...

Re: correlation of two complex signals

Reply posted 2 years ago (04/18/2022)
Yes you are correct and that Matlab and Octave do the expected conjugation. Apparently your signal has been already conjugated which can occur when the spectrum...

Re: correlation of two complex signals

Reply posted 2 years ago (04/18/2022)
What may be missing is the complex conjugate that is required when doing a complex correlation. Correlation is the integration of the complex conjugate product of...

Re: Coherent re-sampling

Reply posted 2 years ago (03/13/2022)
Have you considered windowing prior to the FFT? This will minimize the spectral leakage at the expense of widening the main lobe (frequency selectivity). Given you...

Re: Modelling a RF amplifier in Python

Reply posted 2 years ago (02/21/2022)
I recommend modeling the baseband equivalent signal which is the complex magnitude and phase versus time (the analytic signal moved to DC). There is no reason to...
Thanks, that is handy! The derivation now that I think about it seems straightforward. What we see is we are just lowering "S" in SNR directly: SNR = 20Log(Sine...
The formula SNR = 6 dB/bit + 1.76 dB is insensitive to DC offsets. This result comes from the variance of a uniform distribution as being q/12. If you apply that...

Use this form to contact DanBoschen

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

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