Jump to content

Instantaneous phase and frequency: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Short description|Electrical engineering concept}}
'''Instantaneous phase and frequency''' are important concepts in [[signal processing]] that occur in the context of the representation and analysis of time-varying functions.<ref>{{Cite journal|last=Sejdic|first=E.|last2=Djurovic|first2=I.|last3=Stankovic|first3=L.|date=August 2008|title=Quantitative Performance Analysis of Scalogram as Instantaneous Frequency Estimator|journal=IEEE Transactions on Signal Processing|volume=56|issue=8|pages=3837–3845|doi=10.1109/TSP.2008.924856|issn=1053-587X}}</ref> The '''instantaneous phase''' (also known as '''local phase''' or simply '''phase''') of a ''complex-valued'' function ''s''(''t''), is the real-valued function:
{{Technical|date=July 2022}}

'''Instantaneous phase and frequency''' are important concepts in [[signal processing]] that occur in the context of the representation and analysis of time-varying functions.<ref>{{Cite journal|last1=Sejdic|first1=E.|last2=Djurovic|first2=I.|last3=Stankovic|first3=L.|date=August 2008|title=Quantitative Performance Analysis of Scalogram as Instantaneous Frequency Estimator|journal=IEEE Transactions on Signal Processing|volume=56|issue=8|pages=3837–3845|doi=10.1109/TSP.2008.924856|bibcode=2008ITSP...56.3837S |s2cid=16396084 |issn=1053-587X}}</ref> The '''instantaneous phase''' (also known as '''local phase''' or simply '''phase''') of a ''complex-valued'' function ''s''(''t''), is the real-valued function:
:<math>\varphi(t) = \arg\{s(t)\},</math>
:<math>\varphi(t) = \arg\{s(t)\},</math>
where '''arg''' is the [[Argument (complex analysis)|complex argument function]].
where '''arg''' is the [[Argument (complex analysis)|complex argument function]].
The '''instantaneous frequency''' is the temporal rate of the instantaneous phase.
The '''instantaneous frequency''' is the [[temporal rate of change]] of the instantaneous phase.


And for a ''real-valued'' function ''s''(''t''), it is determined from the function's [[analytic signal|analytic representation]], ''s''<sub>a</sub>(''t''):<ref>{{cite book|last=Blackledge|first=Jonathan M.|title=Digital Signal Processing: Mathematical and Computational Methods, Software Development and Applications|year=2006|publisher=Woodhead Publishing|isbn=1904275265|page=134|edition=2}}</ref>
And for a ''real-valued'' function ''s''(''t''), it is determined from the function's [[analytic signal|analytic representation]], ''s''<sub>a</sub>(''t''):<ref>{{cite book|last=Blackledge|first=Jonathan M.|title=Digital Signal Processing: Mathematical and Computational Methods, Software Development and Applications|year=2006|publisher=Woodhead Publishing|isbn=1904275265|page=134|edition=2}}</ref>
Line 11: Line 14:
where <math>\hat{s}(t)</math> represents the [[Hilbert transform]] of ''s''(''t'').
where <math>\hat{s}(t)</math> represents the [[Hilbert transform]] of ''s''(''t'').


When ''φ''(''t'') is constrained to its [[principal value]], either the interval {{open-closed|−''π'', ''π''}} or {{closed-open|0, 2''π''}}, it is called ''wrapped phase''. Otherwise it is called ''unwrapped phase'', which is a continuous function of argument ''t'', assuming ''s''<sub>a</sub>(''t'') is a continuous function of ''t''. Unless otherwise indicated, the continuous form should be inferred.
When ''φ''(''t'') is constrained to its [[principal value]], either the interval {{open-closed|−''π'', ''π''}} or {{closed-open|0, 2''π''}}, it is called '''''wrapped phase'''''. Otherwise it is called '''''unwrapped phase''''', which is a continuous function of argument ''t'', assuming ''s''<sub>a</sub>(''t'') is a continuous function of ''t''. Unless otherwise indicated, the continuous form should be inferred.

[[File:Phase vs Time, wrapped and unwrapped.jpg|thumb|400px|Instantaneous phase vs time. The function has two true discontinuities of 180° at times 21 and 59, indicative of amplitude zero-crossings. The 360° "discontinuities" at times 19, 37, and 91 are artifacts of phase wrapping.]]


[[File:Phase vs Time, wrapped and unwrapped.jpg|thumb|400px|Instantaneous phase vs time. The function has two true discontinuities of 180°, indicative of amplitude zero-crossings. The 360° "discontinuities" at times 37 and 91 are artifacts of phase wrapping.]]
[[File:Instantaneous (wrapped) phase; one 360° plot stacked 3 times vertically.jpg|thumb|400px|Instantaneous phase of a frequency-modulated waveform: MSK (minimum shift keying). A 360° "wrapped" plot is simply replicated vertically two more times, creating the illusion of an unwrapped plot, but using only 3x360° of the vertical axis.]]


==Examples==
==Examples==
Line 34: Line 39:
In both examples the local maxima of ''s''(''t'') correspond to ''φ''(''t'') =&nbsp;2{{pi}}''N'' for integer values of&nbsp;''N''. This has applications in the field of computer vision.
In both examples the local maxima of ''s''(''t'') correspond to ''φ''(''t'') =&nbsp;2{{pi}}''N'' for integer values of&nbsp;''N''. This has applications in the field of computer vision.


==Formulations==
==Instantaneous frequency==
'''Instantaneous angular frequency''' is defined as:
'''Instantaneous angular frequency''' is defined as:
:<math>\omega(t) = \frac{d\varphi(t)}{dt},</math>
:<math>\omega(t) = \frac{d\varphi(t)}{dt},</math>
Line 90: Line 95:


==See also==
==See also==
*[[Angular displacement]]
*[[Analytic signal]]
*[[Analytic signal]]
*[[Frequency modulation]]
*[[Frequency modulation]]
*[[Group delay]]
*[[Group delay]]
*[[Instantaneous amplitude]]
*[[Instantaneous amplitude]]
*[[Negative frequency]]


==References==
==References==
Line 100: Line 107:
==Further reading==
==Further reading==
*{{cite book |first=Leon |last=Cohen |title=Time-Frequency Analysis |publisher=Prentice Hall |year=1995 }}
*{{cite book |first=Leon |last=Cohen |title=Time-Frequency Analysis |publisher=Prentice Hall |year=1995 }}
*{{cite book |last=Granlund |last2=Knutsson |title=Signal Processing for Computer Vision |publisher=Kluwer Academic Publishers |year=1995 }}
*{{cite book |last1=Granlund |last2=Knutsson |title=Signal Processing for Computer Vision |publisher=Kluwer Academic Publishers |year=1995 }}


[[Category:Signal processing]]
[[Category:Signal processing]]

Latest revision as of 19:31, 22 July 2023

Instantaneous phase and frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions.[1] The instantaneous phase (also known as local phase or simply phase) of a complex-valued function s(t), is the real-valued function:

where arg is the complex argument function. The instantaneous frequency is the temporal rate of change of the instantaneous phase.

And for a real-valued function s(t), it is determined from the function's analytic representation, sa(t):[2]

where represents the Hilbert transform of s(t).

When φ(t) is constrained to its principal value, either the interval (−π, π] or [0, 2π), it is called wrapped phase. Otherwise it is called unwrapped phase, which is a continuous function of argument t, assuming sa(t) is a continuous function of t. Unless otherwise indicated, the continuous form should be inferred.

Instantaneous phase vs time. The function has two true discontinuities of 180° at times 21 and 59, indicative of amplitude zero-crossings. The 360° "discontinuities" at times 19, 37, and 91 are artifacts of phase wrapping.
Instantaneous phase of a frequency-modulated waveform: MSK (minimum shift keying). A 360° "wrapped" plot is simply replicated vertically two more times, creating the illusion of an unwrapped plot, but using only 3x360° of the vertical axis.

Examples

[edit]

Example 1

[edit]

where ω > 0.

In this simple sinusoidal example, the constant θ is also commonly referred to as phase or phase offset. φ(t) is a function of time; θ is not. In the next example, we also see that the phase offset of a real-valued sinusoid is ambiguous unless a reference (sin or cos) is specified. φ(t) is unambiguously defined.

Example 2

[edit]

where ω > 0.

In both examples the local maxima of s(t) correspond to φ(t) = 2πN for integer values of N. This has applications in the field of computer vision.

Formulations

[edit]

Instantaneous angular frequency is defined as:

and instantaneous (ordinary) frequency is defined as:

where φ(t) must be the unwrapped phase; otherwise, if φ(t) is wrapped, discontinuities in φ(t) will result in Dirac delta impulses in f(t).

The inverse operation, which always unwraps phase, is:

This instantaneous frequency, ω(t), can be derived directly from the real and imaginary parts of sa(t), instead of the complex arg without concern of phase unwrapping.

2m1π and m2π are the integer multiples of π necessary to add to unwrap the phase. At values of time, t, where there is no change to integer m2, the derivative of φ(t) is

For discrete-time functions, this can be written as a recursion:

Discontinuities can then be removed by adding 2π whenever Δφ[n] ≤ −π, and subtracting 2π whenever Δφ[n] > π. That allows φ[n] to accumulate without limit and produces an unwrapped instantaneous phase. An equivalent formulation that replaces the modulo 2π operation with a complex multiplication is:

where the asterisk denotes complex conjugate. The discrete-time instantaneous frequency (in units of radians per sample) is simply the advancement of phase for that sample

Complex representation

[edit]

In some applications, such as averaging the values of phase at several moments of time, it may be useful to convert each value to a complex number, or vector representation:[3]

This representation is similar to the wrapped phase representation in that it does not distinguish between multiples of 2π in the phase, but similar to the unwrapped phase representation since it is continuous. A vector-average phase can be obtained as the arg of the sum of the complex numbers without concern about wrap-around.

See also

[edit]

References

[edit]
  1. ^ Sejdic, E.; Djurovic, I.; Stankovic, L. (August 2008). "Quantitative Performance Analysis of Scalogram as Instantaneous Frequency Estimator". IEEE Transactions on Signal Processing. 56 (8): 3837–3845. Bibcode:2008ITSP...56.3837S. doi:10.1109/TSP.2008.924856. ISSN 1053-587X. S2CID 16396084.
  2. ^ Blackledge, Jonathan M. (2006). Digital Signal Processing: Mathematical and Computational Methods, Software Development and Applications (2 ed.). Woodhead Publishing. p. 134. ISBN 1904275265.
  3. ^ Wang, S. (2014). "An Improved Quality Guided Phase Unwrapping Method and Its Applications to MRI". Progress in Electromagnetics Research. 145: 273–286. doi:10.2528/PIER14021005.

Further reading

[edit]
  • Cohen, Leon (1995). Time-Frequency Analysis. Prentice Hall.
  • Granlund; Knutsson (1995). Signal Processing for Computer Vision. Kluwer Academic Publishers.