Questions tagged [digital-filters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
3answers
2k views

What is the filter with the less phase shift?

I have to analyze a dynamic signal but there is too much noise so I applied low pass filter but then there is too much phase shift.So what is the most reactive filter I can apply to my signal ? Best ...
6
votes
4answers
315 views

Make a signal that fits another the best possible with a limitation in the 2nd derivative

Consider this step function: The signal that "fits" this should look like the following (in green): The corners are now smooth because the maximum second derivative allowed is not infinite anymore. ...
1
vote
1answer
48 views

Show that $S[n]= \frac1M \sum e^{\frac{2\pi l n}M}$ for $l = 0$ to $M - 1$

I am learning about image processing. Currently, I am reading about upsampling and down sampling. Here is some background what I am reading: I was wondering if someone show me a proof of how ...
0
votes
1answer
90 views

is there a way to apply a median filter diagonally?

For example, some studies show how to smooth a spectrogram with a 2D median filter vertically and horizontally (along time or frequency). My question is how would I apply 2D median filter along the ...
0
votes
1answer
268 views

Understanding and Correcting phase shift in General Linear Phase FIR filters

I have been learning about General Linear Phase Filters and the four standard FIR implementations. I was wondering in the case $\beta = \frac{\pi}{2}$ or $\beta = \frac{3\pi}{2}$ if there was a way ...
-1
votes
1answer
2k views

What do the filter coefficients in digital filter represent?

Could you help me? How can I understand the function of the filter coefficients practically? In the simple case, it is the impulse response of the LTI system. but how do they work?
1
vote
1answer
1k views

Why is the second-order-section cascade approach giving “worse” results?

It seems that as a general rule, for digital IIR filters of order more than 2, one is encouraged to use a cascade of second order sections, for reasons connected to the poor stability of high-order ...
5
votes
2answers
1k views

What is the largest “safe” order for the digital Butterworth filter of a given signal?

Say I want to apply a zero-phase Butterworth bandpass filter, implemented in MATLAB using butter and filtfilt. So, for an order-$...
2
votes
0answers
245 views

Why does noise prevent a (kalman) filter from diverging?

I'm using a filter (not exactly kalman) of the following form to estimate angles by fusing gyroscope with accelerometer and gyro with magnetometer: $(1)\quad \hat{\theta}_k = \hat{\theta}^-_{g,k} + \...
-1
votes
1answer
2k views

Transition bands and passband gain in digital filter design

In an ideal design, a digital filter has a target gain in the passband and a zero gain (−∞ dB) in the stopband. In a real implementation, a finite transition region between the passband and the ...
4
votes
5answers
1k views

Why can't a causal digital filter have an infinitely sharp transition between the passband and the stopband?

In DSP book by Proakis and as well as in this pdf, it is mentioned that practical causal digital filters cannot have an infinitely sharp transition from Pass-band to Stop-band. Why is it so? Can you ...
0
votes
1answer
187 views

Biquad Treble Shelf filter gain being weird

Trying to compute Biquad Coefficients for use in a codec chip TLV320AIC3100. Bass Shelf(boost and attenuation) work as expected. Treble Shelf attenuation works as expected but Treble Shelf boost is ...
4
votes
1answer
867 views

Polyphase Filter decomposition. It is not working

So, I want to do a polyphase implementation of a filter bank (I had problems with it since the beginning and I already asked for help to the community in the past, indeed: Norm MPEG-1 Layer III (Mp3) ...
1
vote
1answer
88 views

Digital Lowpass Filters, basic questions

Forgive the newbie questions, I'm just starting out and wanted some basic information. I have a signal coming from a digital gyro, most of the useful information is below 90hz but I am seeing ...
2
votes
1answer
98 views

First Differentatior and Integrator

For discrete time series $Y$, first differentiation ($D_i=Y_i-Y_{i+1}$) and integrator ($S_i=Y_i+Y_{i+1}$) can be defined as two highpass and lowpass LTI digital filters. Where, transfer function for ...
1
vote
1answer
153 views

When simulating a voltage divider using wave digital filters I get inversed polarity outputs

I'm studying wave digital filters for my bachelor's thesis and I'm finding problems in implementing a voltage divider to test my knowledge. Here's the circuit that I'm trying to simulate and the WDF ...
0
votes
1answer
405 views

Same z transformed function, but different answers of inverse z transform?

Given a $\mathcal{Z}$ transformed function $E(z)=\frac{1}{z+4}$. I know there are several ways to get the inverse $\mathcal{Z}$ transform of this function : Using partial fraction $$E(z)=\frac{1}{z+...
3
votes
2answers
5k views

How does transition width of a low-pass filter affect a message which is well within the pass-band?

I'm taking a communication systems course and we use GNURadio in the lab. In an exam, we had a simple question where we were asked to demodulate a Dual Side Band (with carrier) AM signal in GNURadio. ...
0
votes
1answer
222 views

Apply LTI filter to incoming signal stream [duplicate]

Typically, when I want to filter a signal with an LTI filter (in this case a low-pass filter), I just convolve the signal with the filter. However, what do I do if I have a stream of data that I want ...
1
vote
1answer
308 views

Confusion in FFT of Resampled Data

I have the following code in Matlab: ...
3
votes
2answers
3k views

Transposed Direct Form II VS Direct Form II IIR filters?

I read in "Discrete-Time Signal Processing" Reference, in transposed Direct Form II filters section, that it implements zeros first then poles(unlike Direct form II which implements poles first), ...
1
vote
1answer
275 views

Comparison between two Digital Filters

Suppose you have two designs of IIR filters with different specifications which are meant to be implemented on a DSP. On what parameters will one compare the two filters so that we can choose which ...
1
vote
3answers
666 views

Digital filter selection for sensor

I am having a LM35 sensor which gives $10\textrm{ mV}$ signal per degree rise of temperature. Now I have one question, which digital filter will be the best for this ? This sensor will be use in very ...
0
votes
0answers
74 views

Digital filter: selection

I am going through digital filter design. But I really get confused with so many Digital filters : IIR FIR Moving Average Linear phase filter Allpass filter Comb filter Analog filter: ...
0
votes
2answers
260 views

Is ripples in frequency response of a filter ,result of periodic extension of a signal in time domain thereby producing discontinuities?

I am aware that due to gibbs phenomenon, ripples are induced at the vicinity of transition in the frequency response of a filter and ripples occur in frequency domain when there are discontinuities in ...
2
votes
2answers
2k views

What is the optimal filter?

I am currently working on a problem on filtering. In fact, let's suppose a signal that is expressed as : $r(t) = z(t) + x_i(t)$, where $z(t)$ is a smooth function and $x_i(t)$ is white Gaussian noise. ...
5
votes
5answers
5k views

What Is the Transfer Function of a Moving Average (FIR Filter)?

To make post-processing easier, I export scope measurements as CSV files, which are then post-processed (mostly in Microsoft Excel, which is not the best tool for the job, but it is all I have at my ...
2
votes
2answers
2k views

highpass filter design in Matlab

I hope to design 1st order highpass filter from transfer function. In the example of 1st order lowpass filter, I first get the coefficients of numerator and denominator in the variable 'b' and 'a'. In ...
0
votes
1answer
87 views

FFT plot not matching the output wave

I had implemented a $4^{\rm th}$ order Chebyshev I Band Pass IIR Digital Filter in Simulink to separate out $148\textrm{ Hz}$ frequency from the sum of the following waves. Input Waves $$ \begin{...
1
vote
1answer
2k views

How to design bandpass filter in python when centre frequency is greater than sampling frequency?

I implemented basic bandpass filter using Scipy resource. But how to implement the same when signal is centred at non-zero centre frequency with centre frequency > sampling frequency. I trying to ...
1
vote
2answers
1k views

Different way to separate a particular frequency from a signal

Let's say I have a signal which is composed of 2Hz,10Hz,17Hz,19Hz and 25Hz discrete time sinusoidal waves and I need to allow only 17Hz component to pass. As far as I know, the standard way to ...
1
vote
0answers
260 views

How use FIR filter for simulating an integral implemented using the trapezoidal integration?

Suppose I have this equation $$ \phi = \frac{60}{T^5} \int_0^T \left( T^2 - 6T \tau + 6\tau^2\right) y(t-\tau) d\tau - \frac{30 \alpha}{T^5} \int(T-\tau)^2\tau^2 u(t-\tau) d\tau $$ and I want to use ...
1
vote
1answer
239 views

Why do digital modulation when the signal entering the channel is analog?

I am learning about digital filters and came across the link Why do digital filters work? In real world communications, I think the input to the channel is in analog after being modulated by digital ...
2
votes
1answer
632 views

Allpass Filters - Causal and Stable

So I have been learning about how to test systems for causality and stability but I am confused about the implications on their unit circle representation. Would it be safe to say that a causal and ...
0
votes
1answer
72 views

Filtering signal with added noise (frequencies known)

I have been assigned a project to take a given noisy sound file, with added broadband and narrowband noise. The goal is to reach a certain mean-squared error between the filtered signal and the ...
0
votes
2answers
2k views

How to remove spike from the data series?

I am getting load cell reading from my adc ADS1231 every 100 ms or say at 10Hz i.e. 10 samples per seconds. I have obtained the readings as shown in the image. As you can see i am getting spike on ...
0
votes
2answers
2k views

How to keep phase response of IIR filter?

We know that IIR digital filter has nonlinear phase response in general. How can I linearize the phase response of IIR filter without altering its magnitude response?
-1
votes
1answer
335 views

Which type of filter gives the smallest filter order?

In a lowpass digital filter if I have passband and stopband ripples, passband and stopband edge frequencies. Which type of filter, IIR or FIR, will give the smaller filter order?
0
votes
1answer
126 views

Can error in digital signal be zero after filtering? [closed]

Can error in digital signal be zero after filtering? I have looked up online to know about this but I could not find a solution.
2
votes
1answer
229 views

Optimization of Filter Coefficients to Given Word Length

It seems to me that this is a difficult mathematical problem where research is still carried on: Is there an efficient way to find fixed-point coefficients whose zeros are closest to those calculated ...
4
votes
2answers
3k views

Digital filters in LabVIEW

I am very new in signal processing and using digital filters. I have to use a low-pass filter to analyze my data in LabVIEW and have a question about it. Any help and advice is appreciated. I am ...
1
vote
2answers
12k views

determining type of filter given its pole zero plot

How can I classify a filter given its pole-zero map. For example I've got my zero's located at $\pm j$ and my poles located at $\pm\frac{1}{2}j$.
4
votes
1answer
782 views

How to include phase in a sinusoidal Kalman Filter

I start with the equation for sinusoidal motion with an offset and differentiate to get the 2nd order ODE describing the motion of the object. \begin{align} x &= A\sin(\omega t + \phi) + O\\ \dot{...
0
votes
1answer
517 views

How to treat noise (in the acceleration) in a Kalman filter when tracking position?

I have an equation of motion for which I am wanting to track the position. The equation looks like this: $$\ddot{x}(t) = -a\dot{x}(t) - bx(t) + F(t)$$ where $F(t)$ is an external Stochastic force ...
4
votes
1answer
261 views

Problems with implementation of a band-stop filter on an MCU (dsPIC) using fixed-point arithmetic

I'm trying to implement a band-stop (notch) filter on a microcontroller dsPIC33EP64GS506 to filter out a $100\textrm{ Hz}$ component from an input signal. The ...
3
votes
1answer
793 views

How does parallel structure implementation of IIR speed up the process ? What happens in case of FIR?

I was learning about digital filter structures and there I came to know that parallel implementation of IIR filters speeds up the process and I understand that.But what I am not convinced of is that ...
0
votes
1answer
134 views

How to interpret these filter coefficients?

I am trying to make sense of the filter coefficients. The author claims that they are running a 3rd order lowpass Butterworth filter and were willing to give their design. They are not the most ...
1
vote
2answers
249 views

Implementation of a filter in a software application

I have to embed a bandpass filter into a software application. All the signal processing will be done in 32 or 64-bit double precision. The filter coefficients for an IIR Butterworth filter are ...
2
votes
2answers
4k views

Why analog anti aliasing filter is used before analog to digital converter when there is already a digital filter after ADC?

Normal data acquisition consist of: Analog anti aliasing filter( Sampling frequency : $5\textrm{ kHz}$) ADC - Digital Filter - (Sampling : 200K samples /sec) Digital low pass filters Filters DAC ...
0
votes
1answer
71 views

Digital frequency for images

From this Wikipedia link, the fastest fequency for digital frequency is 0.5cycle/sample. It can be rewritten as 1cycle/2sample. What does it mean? Does it mean that at least two pixles are required ...

1
3 4
5
6 7