Questions tagged [infinite-impulse-response]

Infinite impulse response (IIR) is a property of signal processing systems.

50 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
299 views

IIR filters with variable roll-off

I have a filter design problem in which lowpass filters have to be designed with varying roll-off. E.g: 2.7 db/ocatve or 1.4 db/ocave. See picture below. This is easy to achieve with a FIR filter, ...
2
votes
0answers
49 views

Calculating pre-history of recursive filter from state space representation when optimising for initial z

For a recursive filter, suppose a set of $b$ and $a$ coefficients have been calculated. Assume a state-space representation for which an initial set of $z$-values have also been calculated as in ...
2
votes
0answers
166 views

Practical implementation of IIR/biquad filters following non-textbook transfer function of real-wold analog filter

I am trying to program a DSP filter to study prototypes of loudspeaker filters, which will be implemented as passive analog circuits in the final speaker system. This process involves simulation of ...
2
votes
2answers
348 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
0answers
124 views

How to transform a Fractional Order Laplace Transfer Function into a digital filter?

I'm working with loudspeaker impedance analysis. Electrical behavior of loudspeakers can be modeled with RLC networks. But real loudspeakers have components, that exhibit some non-linear and frequency ...
2
votes
2answers
116 views

Stable digital filter with leading zeroes

I'm looking construct a stable pole-only filter where the feedback coefficients start with a block of zeroes, i.e. \begin{align} a_0 &= 1\\ a_i &= 0, \textrm{ for}\ 1 \le i \lt k\\ a_i &\...
2
votes
0answers
162 views

How to design all-pass filter by specifying phase requirements?

I want to delay the part of signal above (or below) specified frequency, but I don't find any books or tutorials to tell how to design is. The commonly used biquad APFs (such as the one introduced in ...
2
votes
0answers
70 views

Is there a tool for automatically converting filter implementation forms?

I am looking for alternate tools that will automatically convert filter implementation forms (or signal flow network diagrams in general) to simplest or alternate forms; for example for going between ...
1
vote
2answers
73 views

How would one design a (quasi) linear phase adaptive notch filter for a single complex tone?

While IIR notch filters are attractive, I need to retain phase linearity at the filter output. I imagine that it's possible to use a standard IIR notch filter: https://www.researchgate.net/...
1
vote
0answers
56 views

Vary poles/zeros of digital IIR filter

Many applications that produce sound, such as software synthesizers, are able to apply a filter that varies with time, such as applying a low pass filter that varies with an LFO. I currently have a ...
1
vote
1answer
66 views

bibliography about implementation of IIR filters

I need to implement a 6th order IIR filter. The filter I need to implement is the A-weighting. I've simply used the bilinear function of Matlab with an fs of 20Khz. I need to implement this over the ...
1
vote
0answers
159 views

Phase noise modeling using gnuradio IIR filter

I need some advice regarding phase noise modeling using gnuradio IIR filter. I'm trying to synthesize phase noise (multiplicative) with a given noise mask. In one paper, the authors were able to ...
1
vote
0answers
115 views

How do I convert a two-pole two-zero transfer function from the s-domain to the z-domain?

I'm trying to convert the following IIR transfer function from the s-domain to the z-domain: $$ H(s) = \displaystyle\frac{\frac{s^2}{\omega_z^2} + 2\zeta_z\frac s\omega_z + 1}{\frac{s^2}{\omega_p^2} + ...
1
vote
0answers
51 views

Which IIR form has lowest round-off noise?

We are making some audio effects using IIR, and seeking ways to optimize its round-off noise. After searched some materials, most of them tells transposed form II has lowest round-off noise, and many ...
1
vote
0answers
176 views

Fixed point Error Spectrum Shaping (noise shaping) for biquads

Based on that article and all the resources on the internet that advise the use of noise shaping for fixed-point filter implementations, I tried to make a few simulations on Matlab for the biquad I'm ...
1
vote
0answers
387 views

Converting floating point IIR to fixed point arithmetic, given its difference equation

Is there some general way to perform the task given in the question? I have a filter given as follows: ...
1
vote
0answers
28 views

Appropriate model for IIR filter to compare with spectral ratios

A quick, basic question. I have measured spectral ratios - comparing a measured signal to an 'ideal' signal. I am fitting a specific, simple IIR filter to that data for transfer functions. So, if I'...
1
vote
0answers
290 views

Problems implementing IIR filter in VHDL

I am having some difficulty making an IIR filter in VHDL work as expected. I have implemented it by shifting the coefficients by a certain number of bits (in this case 27 bits). The outputs are then ...
1
vote
0answers
110 views

Can picking an inappropriate roll-off frequency for a digital filter just alias the roll-off value?

I believe a related question is asked here, but my question deals more with what filter is realized if one fails to consider design parameters relative to sampling rate. In designing an IIR filter we ...
1
vote
0answers
497 views

How to compute DFT of IIR

This question pertains to frequency domain filtering. I'd like to multiply an IIR filter's frequency response by a buffer of samples that have been FFT'd. I get how I'd evaluate an FIR, I'd FFT and ...
1
vote
0answers
367 views

Realization of IIR resonator

The measure of a given frequency $\omega$ in a signal $x(t)$ is: $\frac{1}{N}\sum\limits^N_{t=0}x\left(t\right)e^{^{-i \omega t}}$ This is basically an average of the correlation between the signal ...
1
vote
0answers
98 views

Deriving finite impulse response for polylogarithm

As a part of my research i have to use the following z-transform in matlab 'filter' function so as to derive the convoluted signal from the original one. $$\frac{1}{{\rm Li}_{k}(z^{-1}e^{-b})}$$ ...
1
vote
0answers
354 views

IIR biquad coefficients for negative frequencies in IQ data?

Assume I have a (single real float channel) biquad IIR filter implemented in C, and some coefficients for a bandpass filter (right out of RBJ's cookbook). If I convert the input, output, data path, ...
1
vote
0answers
82 views

interpolation of filter coefficients

i've read that it is possible to interpolate between two sets of filter coefficients (if they are close of course), but how to interpolate between two sets of coefficients which are of different ...
0
votes
0answers
27 views

Difference in results between iirj and mkfilter with Butterworth filter in BandPass

When I generate a filter on www-users.cs.york.ac.uk/~fisher/mkfilter/trad.html and another iirj (github.com/berndporr/iirj) these are not the same results. Configuration (mkfilter): Type : ...
0
votes
0answers
11 views

constructing and initializing a normalized lattice filter using scipy

I'd like to implement a 2nd order bandpass filter in scipy using a normalized lattice architecture. (I'm choosing a lattice because it's guaranteed stable even when changing the coefficients on a ...
0
votes
0answers
26 views

Adaptive interference calcellation

I've got a question regarding an adaptive filter for interference calcellation: Here, the interference is a periodic signal: $x[n] = \cos(\pi/4\cdot n + \varphi_1) + \cos(3\pi/4\cdot n + \varphi_2)$ ...
0
votes
0answers
34 views

Can I get some help plotting an IIR filter frequency response in Python?

The problem I'm trying to solve is described here. In my script, I used Euler's identity to calculate z^-n, such that z^-n = cos(omegan) - jsin(omegan). I find the magnitude of these values from a ...
0
votes
0answers
44 views

pressure decay filtering

So, I've been dealing with a series of pressure decay curves from a pressure transducer. Each one has a waterhammer effect as a consequence of shutting down pumps. Here are examples of 3 curves: I'm ...
0
votes
2answers
58 views

Impulse response of an infinite-length system

I have a system which is expressed as following: y[n] + $\alpha$ y[n-N] = x[n] where y is the output and x is the input. When I take the z-transform of both sides, I've found the transfer function ...
0
votes
0answers
20 views

Factoring digital IIR filter as a causal and anticausal pass?

Background: I'm new to signal processing and I'm reading some papers on B-spline interpolation of digital signals and trying to understand how a computation is derived. If I'm given samples from some ...
0
votes
2answers
131 views

IIR Direct FormII Filter second order in VHDL, false output

I am trying to implement an IIR second order in Direct FormII in VHDL. To make it easier to understand for me and to avoid former timing issues, I implemented the operations sequentially. In my ...
0
votes
0answers
63 views

Filter design for decimation of 1.1 kHz sensor sample rate to 100 Hz processing rate

Suppose, you have a signal source which is sampled by 1100 Hz and is "somehow" band limited to either 235 or 440 Hz. In my application, that's the ST IIS3DHHC accelerometer. There is an appnote for ...
0
votes
1answer
155 views

How to use the iircomb filter in matlab

I have a sound file that needs filtering which looks like this: Hence I think that I have noise spaced equally at 832Hz. i tried to use the iircomb filter taken from mathworks website and i managed ...
0
votes
0answers
210 views

IIR (non linear phase) filters

As you know, a nonlinear phase filter (in passband), distorts the frequency contents of passband region of signal. In general, Why do we use such filters in the case they cause distortion in the ...
0
votes
0answers
105 views

Estimating frequency when there's little isolation between signal and noise frequencies

Say I have a signal which is guaranteed to have a frequency between 110-120 Hz but is corrupted by interference signals that're very close to this frequency range. For example, let the interference ...
0
votes
0answers
806 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
474 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 ...
0
votes
0answers
54 views

should block diagrams in Direct Form 1/2 contain empty branches to fit structure?

When creating a block diagram in a well-recognized structure (Direct Forms 1&2 in particular), does one remove branches where the coefficient is 0? This picture includes a coefficient of $b_1=0....
0
votes
1answer
362 views

Convolution with an impulse response does not give the same result as the frequency response

Context I am trying to design a linear-phase FIR filter with the following frequency and phase responses: Designing the filter Given its characteristics (peak filter at 1kHz with 9dB gain and Q=7), ...
0
votes
0answers
227 views

Software implementation recipe of cascaded Biquad IIR filter

I have been given the task of measuring the performance of Biquad IIR filters on a new CPU that we are evaluating. What I know is that the Biquad filters can be cascaded to form higher order filters. ...
0
votes
1answer
389 views

python rewrite lfilter (iir) with for

It's a beginner question, but useful to users from python - signal.lfilter, I was using lfilter from Find reverse one pole ...
0
votes
1answer
281 views

Weighting function for output error IIR filter design

I noticed, when I try to fit filter coefficients to a given complex transfer function with the output error method, implemented for example in the MATLAB function ...
0
votes
2answers
709 views

Regarding BIQUAD IIR implementation in MATLAB

I want to implement a high pass filter (order 4) in MATLAB using cascade form. ...
0
votes
0answers
172 views

DSP Library IIR and FIR filters

Me and a coworker are currently in the process of making an audio dsp library. We are wondering what some good FIR and IIR filters to use were. I know ALOT of them but what do you guys think in best/...
0
votes
0answers
617 views

Biquad high-pass filter - calculating filter slope

I have to design high-pass IIR Biquad filter with cutoff frequency of 80Hz, sampling frequency 24kHz, and filter slope of 24dB/oct @ 80Hz. I have used formula for HPF biquad coefficients from here. ...
0
votes
0answers
129 views

Second-order sections from complex coefficients

I have an impulse response ir that I need to approximate with an iir because of realtime requirements. For stability I want to break down the 10th order IIR generated with Steiglitz-Mcbride to biquads ...
0
votes
0answers
172 views

Adaptive Line noise removal using IIR notch filters

I'm trying to filter out line noise(60Hz and 120Hz) from a EEG signals received over a bluetooth link. I'm proposing to use a IIR notch filter to filter out the line-noise which varies w.r.t to ...
0
votes
0answers
254 views

Transient cancellation in non causal filtering

I am using the exponential moving average filter (IIR): $$y(n)=\alpha{}\cdot{}x(n)+(1-\alpha{})y(n-1)$$ in a foward-backward filtering scheme, in order to eliminate completely any phase response ...
0
votes
0answers
300 views

IIR: get magnitude and phase from coefficients

i'm trying to plot 1)the magnitude and 2)the phase response of an IIR eq with only its coefficients. i've found somewhere that one can find the magnitude response starting with the transfer function :...