REW's built-in high-pass adds phase shift, is there any way to remove dc but keep the phase?

DeepSOIC

Registered
Thread Starter
Joined
Mar 6, 2019
Posts
16
More  
Main Amp
diy
Front Speakers
diy
Hi!
I'm rtying to measure emitted acoustic energy by a subwoofer (vs frequency, of course) by measuring the cone velocity (with an accelerometer), pressure (with a microphone), and scalar-multiplying them to obtain the energy. I expect one to be pretty close to 90deg phase-shifted relative to the other, so a small error in phase measurement can result in a large error in the result. So i'm now going super-paranoid on getting rid of as many dc-blocking high-pass filters as possible.

Now, my soundcard happens to have a pretty high dc offset. This seems to cause some troubles in the measured spectrum (ripples). REW conveniently offfers a high-pass filter to fix that, but it adds a bit of phase shift in the frequencies of interest (5.5deg as 20Hz). I wonder if there is a better way to fix that.

For example, expanding the impulse response window helps quite a bit. But sometimes not sufficiently, it seems.

Here are some pics. This is just loopback, the ripples are not terrible. Real measurements are sometimes more concerning. Looking at the step response, it begs to have the slope subtracted (i.e., offset in impulse response)

1736540558686.png

1736540595355.png

1736540652059.png
 

DeepSOIC

Registered
Thread Starter
Joined
Mar 6, 2019
Posts
16
More  
Main Amp
diy
Front Speakers
diy
hm, how did i not think of this myself! thanks, i'll try!
 

witwald

New Member
Joined
Oct 15, 2020
Posts
25
Now, my soundcard happens to have a pretty high dc offset. This seems to cause some troubles in the measured spectrum (ripples).
I am curious to know the value of the DC offset that your soundcard has. @DeepSOIC, would you be able to provide a measurement?
 

DeepSOIC

Registered
Thread Starter
Joined
Mar 6, 2019
Posts
16
More  
Main Amp
diy
Front Speakers
diy
according to rew, it's just 1.4 over 32767. I think that the full-scale input is about 1 Vpk, so the offset is 40 microvolts, which is way less than i'd expect from even just the opamps i've added to have a balanced input with phantom power. I just didn't expect that such a tiny offset would be so noticeable during measurements.
 

John Mulcahy

REW Author
Joined
Apr 3, 2017
Posts
8,220
I have added an option to apply a 2Hz zero phase high pass filter to a measurement in the latest beta, but you will need large left and right window widths to avoid ripple if you use that.
 

DeepSOIC

Registered
Thread Starter
Joined
Mar 6, 2019
Posts
16
More  
Main Amp
diy
Front Speakers
diy
awesome, thanks!
 
Top Bottom