FFTs, and ratio of FFTs Phase question

  • Context: Graduate 
  • Thread starter Thread starter jblc
  • Start date Start date
  • Tags Tags
    Phase Ratio
Click For Summary
SUMMARY

The forum discussion centers on the challenge of determining the phase relationship between input and output signals using swept-sine (chirp) signals for system identification. The phase is calculated using the formula atan2(Imag{FFTratio}, Real{FFTratio}), where FFTratio is derived from the complex FFTs of the output and input signals. The user reports unexpected phase behavior when analyzing constant-phase-shifted chirps, noting a significant drop in phase from -140 degrees near 1 Hz to -5000 degrees above 10 Hz, despite the expectation of a constant phase relationship. This discrepancy raises questions about the underlying dynamics of the chirp signals and their impact on phase measurement.

PREREQUISITES
  • Understanding of FFT (Fast Fourier Transform) and its application in signal processing.
  • Familiarity with MATLAB's System Identification Tool for analyzing signal data.
  • Knowledge of phase measurement techniques in frequency-domain analysis.
  • Basic concepts of chirp signals and their role in system identification.
NEXT STEPS
  • Investigate the effects of non-linearities in chirp signals on phase measurements.
  • Learn about advanced techniques for phase unwrapping in signal processing.
  • Explore MATLAB functions for analyzing frequency response and phase behavior.
  • Research the implications of signal noise on FFT results and phase estimation.
USEFUL FOR

Signal processing engineers, researchers in system identification, and MATLAB users seeking to understand phase relationships in frequency-domain analysis of chirp signals.

jblc
Messages
10
Reaction score
0
Q: How do you find the phase between an input and output signal? These signals are swept-sin (chirp: https://en.wikipedia.org/wiki/File:Linear-chirp.svg) signals for system identification, so I'm looking to find a transfer function.

Background: A frequency-domain Transfer Function's magnitude is found by taking the ratio of the output/input FFTs:
FFTratio = Complex{FFT out} / Complex{FFTin}, ∴ Magnitude = abs(FFTratio).
To find the phase, take the angle between the complex FFTs:
atan2( Imag{FFTratio}, Real{FFTratio} )

As a test, in Matlab's System Identification Tool, with two simple, 140 deg shifted and noisy 10 Hz sinusoids -- NON-swept, just simple sines -- the answer is as expected, and the phase is appr. -140 deg at 10 Hz in the phase plot.

Question: BUT when using two simulated constant-phase-shifted chirps, for system identification (chirp), the phase isn't a constant -140 Hz.
The phase drops dramatically from -140 deg near 1 Hz, and above 10 Hz it goes towards -5000 deg. See the attached images. The chirps are 0.01 Hz sinusoid at t=0, and a 400 Hz sinusoid at t=200s.
A zoomed 20s signal is shown for clarity. yc is output (top), uc is input (bottom).

Why is the phase not a constant -140 deg up until ~400 Hz? Why does the phase drop to -5000 deg? The swept-sin (chirp) peaks continue to remain at a constant phase relative to each other, so it should stay at -140

Attachments:
2x time-signals
1x FFTs of output(top) and input (bottom), called "Periodogram"
1x transfer function estimate, magnitude on top, phase on bottom
 

Attachments

  • chirp t full.jpg
    chirp t full.jpg
    10.5 KB · Views: 539
  • chirp t.jpg
    chirp t.jpg
    35.1 KB · Views: 541
  • chirp FFTs.jpg
    chirp FFTs.jpg
    12.4 KB · Views: 531
  • chirp phase 2.jpg
    chirp phase 2.jpg
    9.6 KB · Views: 521
Physics news on Phys.org
I'm sorry you are not generating any responses at the moment. Is there any additional information you can share with us? Any new findings?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 5 ·
Replies
5
Views
13K