Questions tagged [group-delay]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
227 views

Measuring group delay through a linear phase filter

I'm having a difficult time wrapping my head around a phase/ group delay problem and it corresponding to where you start sampling so I built up a system to test some of these issues. The system passes ...
0
votes
0answers
30 views

Audio crackles with delay in series

I am learning to write audio plugins using VST3 sdk. I have an issue implementing 2 delays in serie, the audio starts crackling. Here is the processing code: ...
0
votes
1answer
42 views

Varying shift between microphone data

I had given a sine wave of frequency 2kHz as input to two microphones placed near to each other. The data grabbed by two microphones are then plotted in MATLAB and it was found out that the initial ...
2
votes
2answers
499 views

How to compare many bandpass filters (for their signal propogation delay)?

Let's say we have an audio signal sampled at 96 kHz, and we want to compare several bandpass filters to find the one with the lowest rectangular-envelope-propagation-delay (see graph below). The band ...
2
votes
1answer
314 views

How to obtain a meaningful group delay graph using matlab

Problem: I'm trying to analyze the behavior of an FIR filter with the following impulse response/kernel: Using Matlab's function grpdelay(myKernel,length(myKernel)), I obtained the following figure:...
2
votes
0answers
55 views

How do large tap counts effect FIR Filters for block data?

I am using the ARM CMSIS DSP library for a signal processing application. I find good filter performance when using tap counts that are in excess of 10% of the length of my data block. I understand ...
1
vote
1answer
72 views

FM demodulation using complex differentiation

I'm trying to implement the complex differentiation discriminator which is taken from Software-Defined Radio Using MATLAB, Simulink, and the RTL-SDR. The final result is $$s(t) = \frac{s_q'(t) s_i(t) -...
2
votes
4answers
608 views

What is meant by "Group delay"?in simple words?

Although likes of this question have been asked many times on DSP SE But i am unable to understand those and i wish to have a crystal clear explanation in simple words with example The only thing ...
1
vote
1answer
55 views

RF-Chain Signal Delay for Sensor Switching

Lets have a RF-chain as above with system bandwith from HP corner to the green line say 1 MHz. The signal accumulates delay as it passes through this analog chain, and due to it being non-liner filter ...
1
vote
1answer
57 views

can $e^{j\phi_0}$ be incorporated into the sine and cosine terms?

This is from "communication system" by Carlson fifth edition page 109: If transfer function of a channel be like this: $H(f)= Ae^{j\phi_0}e^{-j2\pi ft_g} $ and input to this system be: $x(t)=...
0
votes
2answers
65 views

Designing digital low pass filter with low pass-band group delay

I'm interested in specifying a digital low pass filter with low (and near constant) pass band group delay. I tried python's spicy.signal.minimum_phase to transform ...
0
votes
1answer
101 views

Design FIR with linear phase response

What is the best way to design a FIR filter with a given linear phase response, such that each frequency inside the passband is phase shifted according to: $$H(f)=e^{i2\pi f k}$$ where $k$ is factor ...
2
votes
1answer
150 views

What is the relationship between group delay and propagation delay for a filter? [duplicate]

I was trying to design a filter for a system and I was able to obtain the group delay plot in matlab using grpdelay. The group delay output is in samples. However, I was not able to relate that data ...
0
votes
0answers
54 views

Matlab group delay not corresponding to reality

I studying effects of digital filters group delay (IIR). In Matlab there is a function grpdelay which allows for particular frequency get a value of delay in samples But after filter applying and ...
2
votes
0answers
74 views

Stability of filters with negative phase delay, group delay, and positive phase

Lets assume I have an IIR filter with : bz = [1.0195 0 0]; az = [1 0.0166 0.0020]; fvtool(bz,az) The filter is stable as i can see. If you check the phase delay ...
1
vote
1answer
44 views

Group Delay of Mulitrate system

how do I find the group delay of multirate system.(sample rate converter) , IIR non-linear phase filter Say decimation by 2 (with lpf) = tf1(num,den) then again decimation by 2 (with lpf) = tf2(num,...
3
votes
1answer
574 views

Group delay of the integrator

I have a set of sensors, some velocity-meters and others accelerometers. To process the two groups together, I integrate the accelerometers signals (in time domain, using MATLAB's ...
1
vote
3answers
438 views

How to practically correct for group delay imposed by a digital filter (Python)

I'm using Python to filter a signal using a Butterworth filter (scipy.signal.butter) and subsequently passing this through a forward-backward filter with cascaded second order sections (scipy.signal....
0
votes
2answers
45 views

Bandpass with large group delay

I read that a simple delay filter that delays all frequencies requires at least $\frac {N-1} {2f_s}$ taps. In my case this would result in way too many taps (20000). Can I achieve this with ...
49
votes
5answers
68k views

What is the difference between phase delay and group delay?

I'm studying some DSP and I'm having trouble understanding the difference between phase delay and group delay. It seems to me that they both measure the delay time of sinusoids passed through a ...
0
votes
1answer
147 views

Group delay plot of a Moving average filter

I am implementing the moving average filter in Matlab. Using fvtool on this filter, gave the following output curve, is this group delay curve correct? Edit: My confusion is regarding the values of ...
1
vote
2answers
284 views

Showing linear-phase frequency response when only real part is known

I'm studying for an exam, and this particular practice problem is missing the solution: Given a causal LTI system where only the real part of the frequency response is known, $$\Re\left\{H(j\...
1
vote
1answer
92 views

Group delay of non differentiable unwrapped phase

As we know group delay as a function of frequency, computed as differentiation of unwrapped phase, but what happen at those frequencies where unwrapped phase is non differentiable?how to calculate ...
0
votes
0answers
37 views

Estimation of Group Delay from Noisy Frequency Response Measurements

Consider a linear, time-invariant system. Noisy measurements of the magnitude and phase associated with the frequency response of the system are available over some dense generally non-uniform grid ...
1
vote
2answers
325 views

How do you calculate the group delay in samples of a Biquad Filter at a given frequency from the coefficients?

If I have a BiQuad all-pass filter with a given set of coefficients such as: g: 0.903228 a1: -1.88142 a2: 0.903228 B1: -2.08299 B2: 1.10714 And my operation per ...
8
votes
2answers
537 views

Negative group delay and envelope advance

I am having a doubt reading about delays in signal processing. Let there be an input to a LTI system with frequency response $H(f)$, given signal $x(t) = a(t)\cos(2\pi f_ot)$, where $a(t)$ is a ...
0
votes
3answers
3k views

Group delay of moving average filter

I have implemented a moving average filter (in Python) where I fill a list with values and average them. When new values arrive the oldest will be deleted. Now I am wondering how much delay I get ...
0
votes
2answers
611 views

Calculate the time delay introduced by group delay for IIR-Filters

First of all, let me show what I mean by a simple example of an FIR-Filter: I designed an FIR-Filter with a constant group delay of 323 samples and my sampling rate is 500 Hz. Now I can calculate the ...
5
votes
1answer
233 views

Group Delay for Hilbert Transformer and Resulting Dispersion

An ideal Hilbert Transformer shifts the phase for all positive frequencies by $-\pi/2$ and all negative frequencies by $+\pi/2$ while maintaining constant magnitude everywhere. Group Delay is the ...
10
votes
4answers
9k views

How can a filter have zero group delay?

If you put a wave packet through the passband of a 1st-order low-pass filter, it will be delayed by the group delay of the filter, and remain the same amplitude, right? If you put the same wave ...
1
vote
1answer
243 views

Compensate delay of non-symmetric (non-linear phase) filter

Lets assume I want to apply a matched filter h which is non-symmetric to my signal x and the output is ...
1
vote
2answers
492 views

Interpolated FIR filter group delay

I'm trying to design a digital low pass filter with a narrow transition band. My sampling rate is 25 kHz, the cut off frequency is 60 Hz & the transition band width is 4 Hz. I'm looking for about ...
3
votes
1answer
327 views

Compensating the Group Delay of an Analog Filter using DSP

I am having a problem in my current project where I need to measure different biological signals (like ECG) simultaneously. As the instrumentation hardware is developed by different people over time, ...
2
votes
1answer
736 views

Compute group delay of an audio file from STFT

I'd like to reproduce results from this paper in which the authors used Group Delay-grams as an input to the Machine Learning model. The Machine Learning side is not the one that I have problems with. ...
8
votes
2answers
3k views

Physical Meaning of Negative Group Delay for causal LTI systems

I have implemented in Matlab (with minor variations) the example 5.1.2 "Illustration of Effects of Group Delay and Attenuation" I found in Alan Oppenheim's Discrete-Time Signal Processing 3rd edition. ...
0
votes
2answers
457 views

How to Add Group Delay?

I was confused about the value of group delay, I am not sure whether my opinion is correct. For example, if I want to add a group delay of $0.25$ time units to a zero-phase signal, does it mean that I ...
0
votes
1answer
148 views

Ideal Discrete Time Hilbert Transformer with constant group delay

Let's assume we have an ideal discrete time Hilbert Trasnformation system (90-degree phase shifter) with a frequency response over one period: $$H(e^{jw}) = \left\{ \begin{array}{ll} -j & \...
-1
votes
1answer
77 views

average linear phase (group delay)- how can be calculated, given a signal samples at frequency F?

Average linear phase (group delay)- how can be calculated, given a signal samples at frequency F? The definition doesn't help since the frequency is constant: $-[signalPhase(n)-signalPhase(n-1)]/[...
1
vote
1answer
2k views

How to remove a costant group delay?

I have to subtract, from a signal x[n], its version filtered thorugh an LPF FIR filter, like this: xf=filter(h_lpf,1,x); y=x-xf; How can I remove the group delay introduced by the filter h_lpf into ...
4
votes
3answers
8k views

How to find the group delay of IIR filters in Python/SciPy

I sent a square wave signal (red) through a IIR filter (butterworth in this case), to make it more "realistic". Then there's a slight group delay in my output signal (blue). Is there a way to find out ...
2
votes
2answers
487 views

Mean delay for a M tap harmonically weighted filter

I am trying to derive the mean delay for $M$ filter taps harmonically weighted: $$y[n] = \frac{M\,x[n] + (M-1)x[n−1]... + 1 \cdot x[n−M+1]}{\tfrac12 M (M + 1)}$$. For a uniformly weighted filter, I ...
0
votes
0answers
68 views

The grid frequencies In the design of a digital filter

I want to find many difference 'h' with same group delay and length filter using this code : https://gist.github.com/mattdsp/17f508d2b368db61f47689e4622d8841/c1518f22a5aa451951601b56c5d9f72743868bfe ...
0
votes
1answer
432 views

Compensating for group delay in FIR with symmetrical coefficients

Suppose I have a sinusoidal signal of 50Hz sampled at 6.4kHz and I wished to filter it at: Band pass: 160Hz, Bands stop: 800Hz, Apass:0.1db, Astop: 106db For a FIR filter order of 40 I would get 41 ...
0
votes
0answers
1k views

All pass filter design for group delay compensation

I've designed an IIR bandpass elliptic filter in Scilab with the following parameters. Sampling Frequency = 25000 Hz Lower cutoff frequency = 100 Hz Upper cutoff frequency = 150 Hz Pass band ripple = ...
0
votes
0answers
774 views

IIR filter group delay

I've designed an IIR bandpass elliptic filter in Scilab with the following parameters. Sampling Frequency = 25000 Hz Lower cutoff frequency = 100 Hz Upper cutoff frequency = 150 Hz Pass band ...
1
vote
1answer
70 views

position of useful filtered data inside DFT based filtered output

I'm trying to filter a 400 samples signal with various bandstop FIR filters (constant group delay), one at a time to see which one gives me the desired result. Every filter was build using the Kaiser ...
0
votes
2answers
664 views

Finding phase from group delay

I know that group delay is defined as : $$\begin{align} \tau(\omega) = grd [H(e^{j\omega})] &=-\frac{d[\arg[H(e^{j\omega})]]}{d\omega}\end{align}$$ But if what is available is group delay itself,...
3
votes
0answers
79 views

Interpretation of instaneous time and instaneous frequency in time-frequency plane?

In this paper: Sparse time-frequency representations, Given signal $x(t)$, the time-frequency representation was got by Gabor transform and was denoted by $\chi(t,\omega)=|\chi(t,\omega)|\exp(\mathrm{...
2
votes
1answer
2k views

Differences between phase and group delay

Yet another group delay vs. phase delay question! Though this is a question that's been asked several times I don't feel like it's been fully discussed so I'll post an example that I can't quite seem ...
4
votes
3answers
7k views

Converting from a phase response to a group delay response and vice-versa

I'm trying to figure out how to convert any phase response to the corresponding group delay response. Is there a way to do that, and vice-versa if possible?