Questions tagged [infinite-impulse-response]
Infinite impulse response (IIR) is a property of signal processing systems.
538
questions
3
votes
1
answer
91
views
Audio EQ Cookbook Stability
I'm implementing 6 cascaded biquad peaking filters to make a 6-band EQ. In the system I want to calculate the coefficients on the fly (it's just gain thats changing, center frequency and BW aren't). I ...
2
votes
1
answer
64
views
low shelving filter frequency response diagnosis
I am building a second order modified biquad filter based on an implementation by Will Pirkle in "designing audio effect plugins in c++". However when I look at my implementation's ...
0
votes
0
answers
42
views
Understand basic Impulse Response from Impulse, can you help me visualizing it?
I was looking at this graph from The Scientist and Engineer's Guide to Digital Signal Processing, copyright ©1997-1998 by Steven W. Smith:
where basically it shows how differnt representations can ...
0
votes
2
answers
50
views
Fixed point number scheme IIR filter with ADC
I am a student working with digital circuits. I just started a term project with someone else working on an ADC. I need to design a IIR filter in verilog.
If the output of an ADC represents 1V by ...
1
vote
1
answer
83
views
Allpass Filter with Sign Switch
I want to design a digital allpass IIR filter with the following transfer function.
$$
H(\omega) =
1 \textrm{ for } \omega < \omega_1 \textrm{ or } \omega > \omega_2
$$
and
$$
H(\omega) =
-1 \...
0
votes
0
answers
44
views
Why does an asymetric transfer function cause a non linear group delay?
I know that an IIR filter exhibits non linear group delay (so different frequencies can be delayed more) and that this is related to the fact that it is asymetric (due to considering previous outputs),...
2
votes
2
answers
121
views
Total delay of cascade FIR filters
I have a doubt regarding the total delay in terms of taps for cascade filters.
Imagine that I have an SOS IIR Filter (2 delays) and an FIR filter of 10 taps (10 delays) and another of 20 taps (20 ...
0
votes
0
answers
42
views
Bilinear transformation with a high sampling rate (chebyshev filter)
I'm trying to design a digital Chebyshev filter of order 2. This gives the general transfer function
If I transform this and simplify I get
If I then expand the denominator and then normalize so ...
3
votes
2
answers
411
views
Given two low-pass digital IIR filters, find bandpass coefficients
In the case of FIR filters it is easy to get a band-pass filter by subtracting the coefficients of two low-pass filter filters or by convolving a high-pass and a low-pass filter:
...
1
vote
2
answers
136
views
IIR/FIR equations for custom frequency response
Given a frequency response plot where gain is 0dB up to Fc and after Fc gain increases linearly by factor K (example chart below):
I am seeking how to arrive at its IIR/FIR equations so it can be ...
2
votes
1
answer
57
views
Possible errata Proakis Digital Signal Processing Third Edition Figure 2.35c
I'm reading through the 3rd edition of John G. Proakis Digital Signal Processing and I came across a possible errata in Figure 2.35c on page 116. I couldn't find any errata sheet on the publisher's or ...
0
votes
1
answer
65
views
How to trade poles of All pole filter with zeroes?
I have filter of order 2000 IIR all-pole. I want to implement it via cascade IIR filter. Is there any way to reduces poles order and increase zeroes as its cost. To balance zero and poles. Since all ...
0
votes
1
answer
94
views
Converting transfer function to cascaded IIR filter [closed]
I have two function, But I don't know which one is correct to convert my Transfer Function(tf) to secound order sections(sos).
I'm using GNU octave, and it have intrinsic ...
1
vote
0
answers
77
views
Approximating fractional-octave Gaussian smoothing with non-causal variable-width IIR filters
I am trying to implement fractional-octave smoothing of amplitude response data with approximated Gaussian filters, as briefly discussed in this AES paper.
Unfortunately, no implementation details are ...
1
vote
2
answers
86
views
Is there a way to get this reverb effect working on something else than 44.1 kHz?
I have successfully implemented the Sony PlayStation 1 reverb effect, until I realized that it strictly works at a sample of 44.1 kHz.
A quick web search shown that (as far as I understand), an IIR ...
2
votes
3
answers
678
views
Phase compensation using IIR allpass filters
As an exercise with IIR allpass filters, I am trying to compensate the phase of a lowpass Linkwitz-Riley filter using the Matlab integrated function iirgrpdelay.
The code I am using is the following:
<...
3
votes
2
answers
917
views
Why does scipy introduce its own convention for H(z) coefficients?
Conventionally, the definition of the system function for a IIR digital system is:
$$H(z)=\frac{b_{0}+b_{1}z^{-1}+b_{2}z^{-2}+\cdots}{1-a_{1}z^{-1}-a_{2}z^{-2}-\cdots}$$
where coefficients are the ...
1
vote
1
answer
77
views
LCCDE filter classification
I am trying to figure out if
$$y[n]-2.56y[n-1]+2.22y[n-2]-0.65y[n-3]=x[n]+x[n-3]$$
is either IIR or FIR, causal or non-causal, stable or unstable (BIBO).
I got the transfer function from the ...
0
votes
3
answers
160
views
is $y[n] = y[n - 4] + x[n - 4]$ time variant or invariant?
I am confused about a solution because there is feedback.
Let's introduce a delay parameter $k$ and rewrite the system equation as:
$$ y \left[ n \right] = y \left[ n - 4 - k \right] + x \left[ n - 4 -...
1
vote
1
answer
94
views
Intuitive or physical explanation of DTFT$\{1\}=2\pi\delta(\omega)$
I am trying to understand the fact that
"The DTFT of 1 (an infinite discrete sequence of unit impulses from from $-\infty$ to $+\infty$) is $2\pi\delta(\omega)$"
in an intuitive or physical ...
1
vote
2
answers
97
views
Scenarios where Phase Response is (non-)problematic
In order to get a better feel for phase response and how it applies across the field of dsp, I'm looking for example scenarios where a filter's phase response is a concern and where it is not.
Take ...
0
votes
1
answer
82
views
IIR bandpass filter attenuates frequencies within the pass band
I applied Butterworth filters (order=5) that have different cutoff frequencies to a simple signal composed of four sinusoidal oscillations and computed its PSD.
<...
0
votes
1
answer
91
views
Non-causality deepness of inverse system
Assume I have a FIR, stable and causal system. I want to know the deepness of non-causality on the inverse of my FIR system. It's obvious that the system is non-minimum-phase, since minimum-phase ...
2
votes
0
answers
63
views
Can Synchrosqueezing be use to Derive IIR Filter From Impulse Response
I am looking for alternate solutions to determine the IIR filter coefficients from the impulse response, or more specifically determine the closest IIR filter for a given FIR filter. Much of this is ...
2
votes
2
answers
545
views
Why construct a minimum phase filter from measurements?
Sorry if this is a trivial question, but I am not doing signal processing everyday. I will try to express what I think I have understood as best as possible.
Suppose I apply a (linear) sweep signal to ...
1
vote
1
answer
343
views
IIR Filter order vs group delay
From what I understand FIR filter order is same as it's group delay because of the linear phase and every frequency being delayed by same amount.
For IIR filter, filter order only tells that filter ...
0
votes
1
answer
146
views
design of cascaded biquad filter
I have to compare the response of an 8th order IIR filter and its equivalent 4 stage cascaded biquad structure. A sinusoidal signal is given as input to both the systems and the output responses are ...
1
vote
1
answer
288
views
Difference between FIR and IIR filters
I understand that FIR filters have a finite impulse response and IIR filters have an infinite impulse response. Here's the issue:
A signal is finite in time if and only if it is infinite in frequency.
...
0
votes
1
answer
158
views
Fixed point implementation of IIR filter
I am trying to implement an IIR filter followed by downsampler with the following specifications:
fs=18000,order=8,3db freq=[500 1000],downsampling factor=6.
...
0
votes
1
answer
92
views
BPF design as cascaded second order biquads
I am trying to design a bandpass filter in MATLAB with following specs:
$$\texttt{f_s = 20000Hz}$$
$$\texttt{3dB freq = [392 464]Hz}$$
$$\texttt{filter order = 8}$$
When I tried to implement the ...
0
votes
0
answers
49
views
recursive, systematic convolutional encoder with finite response
In an exercise, we had the following recursive encoder given:
For which we should find an input sequence that generates an output with finite hamming weight (I see this question similar to a find ...
2
votes
1
answer
279
views
What order of FIR filter is equivalent to an IIR filter for same design specifications and to get same magnitude response
I have to design a bandpass filter with passband frequency [300Hz 500Hz] and sampling frequency is 16kHz.The stopband attenuation required is 60dB.I have used butterworth filter in MATLAB to design ...
1
vote
1
answer
93
views
Filter IIR, 1/3 Octave Corner with 2 Octave BW
I'm trying to design a new filter with IIR to filter out specific bands.
Basically it's a bandpass filter with 2 Octave or 3 Octave bandwidth but the filter order should be equal to 1/3 Octave filter.
...
0
votes
1
answer
480
views
how to implement 0.05Hz high pass filter?
How is the high-pass filter with a cutoff frequency of 0.05 Hz(or 0.2 Hz or 0.5 Hz) implemented in Real time for ECG devices?
What kind of filter or algorithm is used?
The order of FIR filter is high. ...
1
vote
1
answer
120
views
Tell FIR part and IIR part of a signal apart
I have been trying to figure out one of the homework assignments for my DSP class, and have been spending quite a lot of time figuring out a particular problem. The solution to this problem was given ...
4
votes
3
answers
724
views
Convert Sample Rate of IIR Filter Coefficients
I have IIR filter coefficients and zeroes, poles for that filters. But all filters are generated with 192kHz sample rate. I have no other info about filter properties such as Fc or filter type or Q.
...
0
votes
1
answer
164
views
Replicating scipy.signal.lfilter with initial condition using IPP
I am trying to rewrite some Python signal processing code in C++ and am stuck trying to figure out how to replicate behavior of lfilter with initial condition.
The documentation for lfilter says that ...
0
votes
2
answers
208
views
How to Find Elliptic IIR Filter Order?
Can anyone explain to me how to use this equation to find the Order?
Let's say
$$\Omega_p/\Omega_s =0.509$$ and $$e/\delta = 0.00349$$
How can I find the Order? I'm so lost i don't know how to use ...
1
vote
2
answers
93
views
Matlab IIR stopband filter attenuates my sinusoid input with frequency in the passband
I'm a DSP newbie trying to get into the field. Despite being able to use some of the MATLAB tools, I'm still not completely solid on some intuition of the frequency domain.
I've implemented a biquad ...
1
vote
1
answer
426
views
How to implement a 3rd order Butterworth IIR allpass filter with perfectly flat frequency response?
I'm working on an audio plugin which splits audio into frequency bands for individual processing. The filters must have zero latency, so no linear phase filters.
I would like to have perfect ...
0
votes
1
answer
118
views
digital Butterworth high pass filter
I am trying to high-pass filter a signal using a Butterworth filter, but I am getting the following results :
As in the picture, there is no signal decay.
python code:
...
2
votes
1
answer
72
views
Why are Some Filter implementations Preferable for Adaptive IIRS?
I am aware that some filter implementations such as lattice/ladder and SoS sections are advantageous over high order transversal filter structures in terms of coefficient update convergence in ...
0
votes
0
answers
47
views
Design the digital IIR filter with the following specifications
Lower stopband edge = 25 Hz
Lower passband edge = 100 Hz
Upper stopband edge = 225 Hz
Upper passband edge = 150 Hz
Stopband attenuation = 18 dB
Passband ripple = 3 dB
Sampling frequency = 500 Hz.
1
vote
1
answer
326
views
How to calculate IIR Lattice Filter Coefficients for Biquad Filter
If I have a biquad filter with known $a_1, a_2, b_0, b_1, b_2$ coefficients, how do I calculate the corresponding lattice/ladder coefficients?
I have found information on deriving the lattice ...
1
vote
2
answers
277
views
How to calculate total added gain after IIR filter?
Let's say we have a white noise as input. Total RMS value is -20dBFS.
When I apply a parametric filter at 250Hz with Q = 4 at 3dB boost, what will be the final total RMS of the signal? How can I ...
0
votes
1
answer
78
views
IIR Allpass Filter Phase Response Plotting in Excel
Using formula on Audio EQ Cookbook I implemented biquad IIR filters in Excel.
As in my previous question Phase Response Function / Plotting in Excel (IIR Filter), Hilmar helped a lot with the phase ...
0
votes
1
answer
585
views
Phase Response Function / Plotting in Excel (IIR Filter)
Using formula from Audio EQ Cookbook I implemented biquad IIR filters in Excel.
I can now plot every transfer function and total of 8 band EQ with shelvings and peakings.
My problem is, I can not ...
4
votes
1
answer
92
views
Approximate a Known System with Adaptive Filter and an Unknown System in a Series
I am using gradient descent on an adaptive IIR filter for the below system 1. At the moment I am just assuming the known system is not there and it works fine. However, occasionally when the known ...
1
vote
1
answer
135
views
iir filter saturation problems
I want to implement a IIR Band Pass Filter without using MATLAB functions.
I get the coefficients as follows ($F_s$ = 1000, Band pass: 5-15Hz):
...
1
vote
0
answers
94
views
Converting a SISO LTI System to a MIMO LTI System
I have a SIMO IIR filter represented as a state space system. I'm wondering if there is a canonical way of converting a IIR filter into a MIMO system, so I can calculate $N$ terms as input at once and ...