Questions tagged [delay]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Frequency-specific Delay?

So an equalizer manipulates the gain of certain frequencies by use of a variety of filters, as we all know. But is there a way to manipulate delay in a frequency-specific manner? A parametric ...
2
votes
1answer
109 views

How to Reduce Phase Lag Caused by Kalman Filter

Background I have been developing a system using a moving robot with a distance sensor against another robot. I want to control these robots by estimating relative velocity and acceleration derived ...
2
votes
1answer
50 views

GCC-PHAT for Multiple Sound Sources

Can GCC-PHAT be used to detect multiple time-delays (that is, having multiple acoustic sources simultaneously)? The documentation for the gccphat(sig,refsig) ...
13
votes
5answers
4k views

Is a notch filter for 50 Hz without delay possible?

I am processing an EEG signal (2 kHz sampling frequency) from hardware and the built-in filter doesn't work as intended. FIR gives a delay, and IIR is unstable. The signal of interest is from 4&...
0
votes
1answer
18 views

Measurement delay versus control delay

For a typical control loop (no delay, measurement transfer function is 1) the closed-loop transfer function is $$ H(s) = \frac{G_{comp}G_{process}}{1+G_{comp}G_{process}} $$ With an actuator delay ...
0
votes
1answer
282 views

What is the meaning of inverse signal bandwidth?

I have been studying the two ray model in communication systems. The text I'm studying has two signals, $u(t)$, which is Line of Sight and $u(t-t')$, which is the reflected signal. It quotes, ...
1
vote
0answers
23 views

Quantifying the frequency shift of a delay with LP filtered feedback

I am working at a Karplus-Strong sound synthesis technique where an excitation impulse is subjected to a delay with feedback and a one pole LP filter in the feedback line. The process is simply y[0]=(...
0
votes
1answer
73 views

What factors affect the propagation delay at wireless communication?

Generally, the signal propagation delay is d/c. d is a distance between a transmitting antenna and a receiving antenna. c is light speed. However in NS-3, there is Random Propagation Delay Model ...
0
votes
2answers
78 views

audio signal time delay estimation(TDE) in indiviual and separate mics

common TDE problems algorithms(such as GCC) often require audio signals in different mics concurrently, however, is it possible to estimate audio signal time of arrivals(ToA) in different mics ...
0
votes
2answers
37 views

What is effect of fractional sample delay effect on FIR Filters?

In the DSP lecture slides we have this slide: And So why this part of FIR Type 2 and Type 4 filter impulse response equation bolded in this slide? Thanks for your attention.
0
votes
2answers
38 views

How is time or sampling rate accounted for in this model?

A basic model of coupled strings (eg. piano) is provided here as: The principle is that it has two identical string simulations each formed by a delay line and LPF. The outputs of these are summed at ...
0
votes
1answer
66 views

How to correct a QAM time delay

How can you correct the anticlockwise rotation that occurs in the received constellation of a QAM system? My only idea is to compensate the delay with an advance but this is impossible since you ...
0
votes
0answers
23 views

Z transmittance from diffrence equation made out of diagram

I have a problem with getting Z transmittance out of a single block of diagram, when e(nT) is as an input, and u(nT) is as an output. Period of sampling is T = 0.5 s The diagram is: My first thought ...
1
vote
1answer
89 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 ...
5
votes
1answer
248 views

Maximum cross-correlation coefficient value for time delay estimation

I am using cross-correlation for time delay estimation of two synchronized recordings ($x_1$ and $x_2$) of a fixed sound source from two different locations. I understand that the delay is associated ...
1
vote
1answer
710 views

GCC-PHAT (Generalized cross correlation) always peak at delay=0 on real audio signal

I have studied the GCC-PHAT algorithm to estimate TDOA on audio signals at 2 mics. Here is my MATLAB implementation: ...
1
vote
1answer
36 views

Plotting phase delay from first principles giving different result from phasedelay() function. Why?

I have a length 10 Finite Impulse response as shown below, and I am trying to find the phase delay of this FIR. $$h[n]=\begin{cases}0.1,& 0\le n \lt 10\\ 0,&\textrm{otherwise}\end{cases}$$ I ...
0
votes
0answers
40 views

Mathematical expression for a system

I have a system that delays the input with k samples and concatenates the new input with delayed one so that y = [x(n) x(n-k)] so if the input comes with n samples the output should be k+n samples. ...
1
vote
0answers
158 views

Implementing real-time variable fractional delay line in Matlab

I am attempting to implement a fractional delay line in Matlab which operates in real time, uses an object-oriented approach, and whose length can be modulated each time a sample is processed. I have ...
0
votes
2answers
203 views

Delay in Savitzky-Golay filtering

I am applying a Savitzky-Golay filter to a signal, using the scipy function. I need to calculate the lag of the filtered signal, and how much is it behind the original signal. Could someone shed ...
0
votes
1answer
289 views

90 Degree Phase Shift / Rotation Algorithm for SDR

I'm working on a library to preform frequency demodulation from an SDR signal. I'm using https://github.com/sysrun/rtl-sdr/blob/master/src/rtl_fm.c as a crib for this. The algorithm starts by taking ...
1
vote
0answers
60 views

Time delay estimation of signals increasingly decorrelated

The problem may be summarized as follows: I have a stochastic signals and I want to measure an increasing delay, as depicted in the following picture. The picture represents the signal as it is being ...
3
votes
1answer
73 views

Is it possible to design a band-pass filter with fewer taps than a series HPF + LPF?

I am digitally filtering a signal that is streaming live. The goal is to reduce the filter delay as much as possible while maintaining the quality of some measurements based on the filtered signal. ...
0
votes
1answer
112 views

Findin the source direction using cross-correlation function

I am new to DSP and I'm working on the following problem. We have a sound source in the far field and a microphone array consisting of two microphones with distance d. We want to determine the source ...
0
votes
1answer
51 views

What is the z-domain transfer function of variable delay?

Is it possible to obtain the transfer function of a signal that has a variable delay? For instance, I have a signal consisting of 10 samples: 0,1,1,1,1,0,0,0,0,1 If I would apply a unit delay to ...
1
vote
1answer
225 views

FIR filter to delay signal [duplicate]

About filter design, mostly we want to control frequency amplitude response and the linearity of phase response. I wonder whether there are FIR filters specialized to delay signal? For instance, let'...
0
votes
1answer
132 views

difference equation block diagram delay or advance confusion

When does the unit delay, become unit advance essentially. Goal is to deduce difference equation from block diagram. Green text is notes about what the value should be in that node of the diagram. ...
2
votes
1answer
532 views

Implementation of a Variable Fractional Delay with Lagrange Interpolation using Farrow Structure

I am writing a C++ simulation software working in time domain. I generate regularly sampled data, and need them to be delayed, in "real-time", by a variable fractional delay. This is a pretty common ...
0
votes
3answers
336 views

Fractional Delay using Polyphase Filter

How to use rectangular window design to design a length-9 polyphase filter which delays an input signal by 3/5 of a sample? An expression for the 9 coefficients is required.
0
votes
2answers
4k views

What exactly is a 90 degree phase shift of a digital signal in FM demodulation appraoches?

I am working on an FSK demodulator (1200/2200Hz, 1200 baud) featuring a 90 degree phase shift operation. I don't exactly understand what 360 degrees mean for a digital signal. My sampling frequency ...
0
votes
1answer
39 views

Dynamics processor for speech - apply gain on delayed samples?

A Dynamics processor (limiter, compressor, expander, and gate) is calculating the output gain at some point in time, and it is applying this gain at some delayed point in time. This allows for ...
1
vote
1answer
379 views

digital IIR filter delay and oversampling

Can oversampling decrease the delay of digital IIR filter? Imagine there is some digital signal going into processor that applies low pass filter.Lets say its 1 KHz sample rate and the filter is ...
21
votes
3answers
50k views

What effect does a delay in the time domain have in the frequency domain?

If I have a signal that is time limited, say a sinusoid that only lasts for $T$ seconds, and I take the FFT of that signal, I see the frequency response. In the example this would be a spike at the ...
0
votes
1answer
238 views

Emulating a Variable Delay

I am trying to emulate a satellite link where the delay time between the satellite and ground station changes over time due to the satellite's motion. I plan do this by converting to the frequency ...
0
votes
1answer
925 views

Converting Time Shift to Phase Shift

I have just started taking signal & systems lessons and here is my question: If we say that x0(t) = A.cos(w0t). (a cosine signal with zero phase shift, w0 ...
0
votes
0answers
132 views

Bandpass Fractional Delay Filter

I am designing a fractional delay filter, I found this code for lagrange FIR fractional delay filter, The fractional delay filter acts as a low pass filter, it passes low frequencies from 0 to 0.25*fs....
0
votes
1answer
327 views

Compute Power Delay Profile (PDP) from Delay Spread

I have data pertaining to channel obtained from measurements. In order to make use of this data, I need to convert it into a form as follows: ...
1
vote
0answers
309 views

Time-Delay beamforming delay computation

I'm trying to implement a beamforming algorithm in python and I'm stuck with the time-delay computation for a rectangular array. I'm using the following equation to compute the delays based on the ...
1
vote
1answer
500 views

How to calculate the delay generated by a 2nd order all-pass filter

I'm trying to simulate the dispersion effect of a stiff string in a digital waveguide system, by using second-order all-pass filters. I use a second order all-pass filter with this transfer function:...
2
votes
0answers
165 views

How can I oversample the received signal by double of sampling time and have two signals

I have a question, how can I make the sampling in Matlab for the received the signal by half of time duration of symbol (Ts), and have two copies of signal (that's the process of fractional sampling ...
6
votes
4answers
4k views

How to calculate a delay (correlation peak) between two signals with a precision smaller than the sampling period?

I would like to calculate a delay between two signals in MATLAB. Normally, I would do this with a cross-correlation (xcorr), and then calculate the position of the ...
0
votes
1answer
193 views

Audio transfer function modelling with pink noise + signal

I'm trying to model a transfer function for a noisy audio system, specifically to measure delayed system response. Before I can confidently apply control, I need to verify that I can exert control ...
0
votes
2answers
91 views

Calculation of autocorrelation - does calculation “loop”?

With a delay $l$, autocorrelation is defined as: $$r_{xx}(l) = \sum_{n=-\infty}^{\infty}x(n)x(n-l) = \sum_{n=-\infty}^{\infty}x(n)x(n+l).$$ I want to calculate the autocorrelation of a signal $$x(n)...
2
votes
1answer
589 views

How to calculate a delay between two signals in frequency domain?

Calculation of a delay between two signals is generally done by finding the maximum in the cross-correlation of the two signals (in time domain): $$ \tau_{delay} = \arg\max_\limits{t}(f(t) \star g(t)) ...
1
vote
0answers
115 views

Sensor fusion under unknown correlations: can covariance intersection account for delays?

Of late, there has been some interest in cooperative estimation algorithms in robotics, where the information sources are usually sensors such as cameras. When multiple robots observe surrounding ...
3
votes
0answers
74 views

Minimum time delay that can be estimated between two sensors

Consider a 1-dimensional toy problem. I have two sensors at different points along the $x$-axis. Somewhere away from the sensors, a disturbance is created which travels towards the sensors, first ...
1
vote
1answer
230 views

Finding audio signal time delay: cross-correlation vs. impulse response?

I need to find a time delay between the two audio signals, one comming from one set of speakers, and the other being the source signal that is initialy sent to speakers. I send some noise through ...
1
vote
2answers
537 views

Farrow fractional delay filter - Range of delay?

I am implementing a fractional delay for resampling purposes, using the Farrow structure to enable continuously variable delays. For now I am simply using windowed sinc functions as my low-pass ...
2
votes
1answer
224 views

Can a unit delay in discrete time be represented by exponential functions?

If we have a signal $y[n]$ and its unit delayed version $y[n-1]$, can we write $y[n-1]$ in terms of $y[n]$ times some exponential? The reason I want to do this is to then take $y[n]$ common and ...
1
vote
1answer
77 views

How to quantify delay in filtered output?

I have a signal containing two sine tones 30 kHz and 60 KHz. I used a second order IIR notch filter to filter out the 60 KHz component from the signal, so now the signal has only 30 KHz component. ...