Questions tagged [digital-filter]
A digital filter is a system that performs mathematical operations on a sampled, discrete-time signal
147
questions
0
votes
0
answers
23
views
Signal integrity, number of DFE taps?
How do we determine how many DFE taps are required for a particular channel? Also, is there a relationship between the number of taps and the frequency?
0
votes
0
answers
26
views
How do PSIM z-blocks and s-blocks + ZOH work? MATLAB and PSIM results not matching
I've just came across PSIM's digital control and C blocks. My main goal is, in the future, to implement a dynamic control with C block in PSIM.
I created the circuit below and it runs:
The circuit ...
0
votes
1
answer
81
views
Autocorrelation digital logic design
I'm trying to implement a autocorrelation module into my FPGA. I have been doing some research on the internet and there are some complicated and advanced methods that use a Fast Fourier Transform (...
1
vote
0
answers
47
views
How would I draw a signal flow diagram for the transfer function of a resonant filter?
The transfer function is:
$$H(z)=\frac{(1-r)(1-rz^{-2})}{1-2r\cos(\omega T)z^{-1} + r^2z^{-2}}$$
I have started by finding the difference equation, but I don't know how to draw a signal flow diagram ...
0
votes
1
answer
60
views
Trying to implement a digital LPF
So I took this digital LPF from some website:
And tried implement it first in MatLab to see how it goes, here's the code used:
So for a frequency of 10 Hz I get this:
For a frequency of 1000 Hz I ...
1
vote
1
answer
45
views
A DFT-based phasor estimation
I have the sample set of ideal and real secondary current during CT saturation, need to apply the DFT analysis to samples and estimate the fundamental phasor (magnitude and phase angle) of samples (...
0
votes
1
answer
78
views
Are the subjects "button debounce" and "Nyquist–Shannon sampling theorem" related or not?
My understanding:
Regarding A/D conversion of a signal: The Nyquist-Shannon sampling theorem states, that an analog signal can be fully reconstructed (D/A converted back) if the sampling rate is >= ...
1
vote
1
answer
84
views
Confused about the sampling rate of AD7606-4 (analog to digital converter)
I'm using an AD7606-4 which is connected to an STM32 EVB.
The connection is in the serial configuration and samples only 4 channels (DOUTA only).
The sampling rate in the datasheet is 200 ksps, but I ...
0
votes
0
answers
18
views
Dispersive delay line output and convolution is same or not?
I am trying to simulate chirp radar receiver with SAW filter (DDL) used in it. I struggle with formula for DDL output. I couldn't find it anywhere. As far as I understand convolution is flipping and ...
0
votes
1
answer
157
views
Why does this circuit's output oscillate/behave erratically?
I built the following pulse-width-recognition/digital-filter circuit on a solderless breadboard. I used 1/4 of a CD4011BE with another 1 µF bypass capacitor as the inverter, a perfboarded CD4060 ...
0
votes
2
answers
58
views
FIR-filter output gain
Lately, I've been doing some FIR-filter simulations as a part of a programmatic circuit design course. One task was to use different constants b_i for the multiplying stage of the filter and see how ...
4
votes
5
answers
480
views
Digital signal processing vs. analog signal processing for a 100kHz DAQ project
I have a dumb question to ask (for a lot of you) but it has been bugging me for a while and I need someone who can give me a clear answer. (I'm a second-year in electrical engineering.)
I am working ...
2
votes
1
answer
132
views
Filter signal on oscilloscope using math functions
Is there a way to do a time domain low pass filter, in software, on a Siglent SDS2000X Plus series oscilloscope using these math functions?
The ones that stand out the most are ...
0
votes
0
answers
38
views
Adaptive Particle Filter: unknown process Equation
In my design and implementation of a SIR particle Filter, I don't have the state process equation of the actual system, which would have given a very good estimation of the real signal. I was ...
0
votes
0
answers
47
views
decimator circuit using dflipflops
I am studying about DPLL. There are questions among CDR papers written by the same researchers.
Is the symbol likes step symbol after Adder a quantizer?
The output of Decimator by factor 2 is -1,0,+1 ...
0
votes
2
answers
142
views
Laplace of third-order lead-lag filter
For Butterworth low-pass filters, the Laplace function of the third-order filter is
$$
H(s)= \frac {1}{\left(1+\frac{s}{\omega_c}\right)\left(1+\frac{s}{\omega_c}+\frac{s^2}{\omega_c^2}\right)}
$$
...
0
votes
1
answer
37
views
How to implement digital filter that will attenuate the voltage over certain ranges in my voltage-temperature plot
I have a temperature sensing circuit that has a "somehow linear" output voltage over the range 20-80 °C.
I plan to use an 8-bit ADC to have a digital representation of the voltages. However,...
0
votes
1
answer
169
views
Is there a way to convert a time delay into a sample delay?
I have been given a time delay of a signal and the sampling frequency, however, I am trying to calculate the delay in samples. My logic is: delay frequency divided by sampling frequency, however, this ...
2
votes
0
answers
55
views
Digital filters that can be applied to both static and dynamic measurements
Is there a digital filter that can be applied to both static and dynamic measurements WITHOUT changing the parameters of the digital filter?
For example I made a temperature measuring device that can ...
-1
votes
3
answers
245
views
Creating a digital PLL
I want to drive a quartz crystal resonator at its resonant frequency so I need to stay locked on to its resonant frequency as its resonant frequency changes. I'm using an FPGA to do this.
I want to ...
0
votes
1
answer
72
views
IIR digital filter: samples not matching the frequency response
I am working on a small project in Mathematica involving a Chebyshev 4th order highpass filter, trying to obtain its digital IIR filter with the bilinear transformation.
I implemented the differential ...
0
votes
1
answer
61
views
Apply S-Domain Notch to Time Signal
I have a signal in time domain which shows an 8Hz oscillation.
I've designed a notch (band-stop) filter in frequency domain (S domain) to
filter this 8Hz oscillation.
Notch design parameters are Width,...
0
votes
3
answers
232
views
Software filter for load cell readings
I looked through lots of questions, but I didn't find a suitable answer for the project I'm working on. The project can be thought of as a simple control box, water valve, and scale.
The mcu control ...
0
votes
2
answers
437
views
How to identify low pass, high pass, band pass, and band stop filters?
I'm taking a course dealing with signal processing which includes filters.
In a certain task I got these two filters h and g:
These parameters are given:
A1=159
A2=138
theta C = 0.26pi
N=337
Both ...
1
vote
1
answer
340
views
How to properly implement an IIR High-Pass filter with a cut off frequency ~20Hz
I am trying to implement a digital High-Pass filter (IIR) with a cut off frequency around ~20Hz on a STM32H753ZI with the CMSIS DSP API. Every time I try to go test it, the output is no longer ...
-1
votes
1
answer
73
views
Why using a pi filter when the applied voltage is DC?
We had to simulate this circuit for an assignment but I still don’t understand why c1, c2, c3 are used in this converter. Are they used as a filter?
2
votes
1
answer
73
views
MATLAB filter designer giving out filters with huge DC gains
hope y'all beings safe out here and doing well.
I am trying to create a single stage biquad (2nd Order) butter worth filter using MATLAB's filter designer tool.
Just to see, I tried plugging back the ...
5
votes
3
answers
445
views
Simple low pass digital filter implementation for non-uniform sampling?
I have a system sampling an analog input and I want to filter that value using a simple, first order filter. EG something of the form:
Yn = A*Xn + B*Yn-1
However I have no control over the ...
0
votes
1
answer
176
views
DC filtering for digital audio amplifiers
I am working with digital amplifiers and from what I can see there is a DC blocking filter that is placed at the start of the signal chain.
Why is this DC filter placed at the start of the signal ...
0
votes
2
answers
251
views
Filter for rotary encoder
I'm attempting to use PID for DC motor control. The motor is geared, with a magnet on the motor shaft coupled with a single hall effect sensor to help measure speed.
This is all wired up to a capture ...
0
votes
0
answers
265
views
How to draw SPL curve for a parametric equalizer?
I want to show (graphically) the Gain/Attenuation vs frequency of a parametric equalizer.
This is my circuit:
https://sound-au.com/project28.htm
The same schematicas as a screenshot:
I want to show ...
0
votes
1
answer
62
views
Low Pass filter using Parrallel components
I have a PCB design that I need to add a low pass filter. However I can only add components in parallel. It is going to be very difficult to cut the tracks or add components in series. Is there any ...
0
votes
1
answer
87
views
Are there advantageous situations when we cascade filters by descending Q-factor instead of ascending?
We usually cascade filters in ascending Q-factor to avoid saturation in each individual stage. But are there advantageous situations when we cascade filters by descending Q-factor?
0
votes
1
answer
57
views
Exercise relating to FIR filter [closed]
I was trying to resolve a problem from "Understanding Digital Signal Processing". I have some questions about it. Why do we need to redesign the filter if we find out that the sample rate is ...
0
votes
0
answers
36
views
Laplace transform to Z-transform for filter design
I was given an answer to the following question I can't understand, that how is the Impulse Invariance transformation of
$$\frac{(s+a)}{(s+a+jb)(s+a-jb)}$$ is
$$\frac{(1-e^{-aT} cos(bT) z^{-1})}{(1-e^{...
1
vote
1
answer
513
views
RC filter impulse response is exponential decaying but inverse Fourier is Sinc function
As we all know that the inverse Fourier transform of a frequency domain unit pulse/rectangular function (which looks like low pass filter) is Sinc function. So, I was under the impression that any low ...
1
vote
2
answers
306
views
Relationship between latency and sampling rate of a digital PID controller
I am trying to set up a fast digital PID controller. The error signal is read by an ADC and sent to an FPGA. The FPGA uses a PID equation to compute the integer sent to the DAC.
At the moment I am ...
0
votes
0
answers
48
views
Bilinear transformation: why does it cause a deformation on my filter
So I'm designing a Butterworth 4th order highpass digital filter. I developed all my equations (I can put them here if it is relevant) and arrived to this graphs for the frequency response. In red ...
1
vote
4
answers
124
views
Is an MPU capable of equal quality digital synthesis as a dedicated DSP chip? [closed]
Is there any factor which would cause a modern microprocessor ( such as an ARM Cortex A/M ) to be inferior at performing digital synthesis compared with a dedicated DSP chip of comparable speed?
At a ...
-1
votes
1
answer
121
views
why should I use NYQ(Nyquist Frequency) to get the propoer value of the cutting frequency in high or low pass filter? [closed]
I am working on signal processing using filters (basic,IIR,FIR) but I didn't quite got the intuition behind the next operation when I am performing a high pass filter with the cut frequency defined as ...
1
vote
2
answers
146
views
Matlab Digital filter not working, how come?
Before reading any further, to give you on some insight on the output level of the oscilloscope picture's
the ~340mV green signal is normal. If you know me I posted a question as to why its 340mV but ...
1
vote
1
answer
121
views
Output signal is being attenuated after the Biquad filter direct Form 1, why?
Thought this would deserve a separate post on its own.
What's going on is that I finally got my low pass digital filter working on the STM32H753ZI using the PMODI2S2 peripheral and I noticed the ...
4
votes
1
answer
184
views
DSP low pass filter (IIR) no longer works when changed to a new MCU
I am having troubles understanding why a DSP low pass filter was that working on the M4 is no longer working on an M7.
I recently switched over to a STM32H753ZI from a STM32L432KC.
In addition to ...
0
votes
1
answer
90
views
Sampling and Filtering
In my system I measure signals with interesting bandwith from DC to 2 kHz. I have an analog low-pass filter with 200 kHz cutoff frequency in order to filter noise. The ADC samples the signal with 500 ...
3
votes
1
answer
144
views
What are the challenges of designing high Q digital filters?
I am not familiar with digital filters and digital signal processing.
I do know that implementing an analog filter with a high quality factor is not practical, because (please correct me if I'm wrong) ...
2
votes
0
answers
128
views
Why is the prewarping not working as it should?
Just playing around with the 'c2d' command from matlab and trying to convert a continuous 2nd - order lowpass Butterworth function to a digital one which has the specs of Fc = 20e3Hz and Fs = 44....
0
votes
3
answers
656
views
Digital filtering after analog to digital conversion (ADC)
I am making a PCB that receives a signal with a frequency band of 3-50 Hz and peaks of up to 10's of uV. I have implemented proper analog LP and HP (band-pass) filters and am using a 16-bit isolated ...
1
vote
1
answer
62
views
Digital control stability for more than impulse response stability?
I have a digital control system which is described by the transfer function
$$
Y(z) = \frac{-\beta}{z - 1 + k \beta} X(z)
$$
where \$\beta\$ is a real parameter I can adjust to modify the ...
0
votes
1
answer
112
views
Software oscilloscope
I have been developing a C language software for software oscilloscope
which is part of a control software. From timing point of view the
software consists of two execution loops.
The first execution ...
2
votes
1
answer
234
views
Why does this part of an OLED filter light only when orientated correctly?
Note: The screen is an OLED screen. I had assumed it was LCD, therefore the post mentions it as such.
I was disassembling a Samsung phone (GT-I9305) and was able to seperate the LCD into two sections....