diyAudio (http://www.diyaudio.com/forums/)
-   Software Tools (http://www.diyaudio.com/forums/software-tools/)
-   -   Problem with calculation of phase response (time zero) (http://www.diyaudio.com/forums/software-tools/190627-problem-calculation-phase-response-time-zero.html)

 pawelpl 10th June 2011 11:34 PM

Problem with calculation of phase response (time zero)

Let me explain how do i calculate phase response.
First step is to playback sine sweep signal and record response. This step i perform in Audacity software. Then i export stimulus and recorded response to Matlab software.
The second step is to found delay between stimulus and response, using cross correlation, and remove this delay from response. So, after this step i should have two time zero signals.
The third step is to calculate Frequency/Phase response by H = FFT(Recorded response) / FFT(Stimulus).

The problem is that calculating delay by cross correlation (step two) not always return correct value and it is affect on phase response.
Can somebody suggest me how to properly calculate time zero to get correct phase response ?

 JohnPM 19th June 2011 05:39 PM

In the absence of prior knowledge of the nature of the system (e.g. physical distances, air temperature, electrical and processing delays) it can be very difficult to come up with a "true" zero time for the measurement. For full range measurements cross-correlation with a minimum phase version of the response gives a pretty good figure, that is the method REW uses in its "Estimate IR Delay" function.

 pawelpl 4th July 2011 10:28 AM

John, thanks for advice, i've did like you describe and it works in my case (passive RLC circuits).

 All times are GMT. The time now is 03:21 AM.

vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.