fbpx
Wikipedia

Spectral density

In signal processing, the power spectrum of a continuous time signal describes the distribution of power into frequency components composing that signal.[1] According to Fourier analysis, any physical signal can be decomposed into a number of discrete frequencies, or a spectrum of frequencies over a continuous range. The statistical average of any sort of signal (including noise) as analyzed in terms of its frequency content, is called its spectrum.

The spectral density of a fluorescent light as a function of optical wavelength shows peaks at atomic transitions, indicated by the numbered arrows.
The voice waveform over time (left) has a broad audio power spectrum (right).

When the energy of the signal is concentrated around a finite time interval, especially if its total energy is finite, one may compute the energy spectral density. More commonly used is the power spectral density (or simply power spectrum), which applies to signals existing over all time, or over a time period large enough (especially in relation to the duration of a measurement) that it could as well have been over an infinite time interval. The power spectral density (PSD) then refers to the spectral energy distribution that would be found per unit time, since the total energy of such a signal over all time would generally be infinite. Summation or integration of the spectral components yields the total power (for a physical process) or variance (in a statistical process), identical to what would be obtained by integrating over the time domain, as dictated by Parseval's theorem.[1]

The spectrum of a physical process often contains essential information about the nature of . For instance, the pitch and timbre of a musical instrument are immediately determined from a spectral analysis. The color of a light source is determined by the spectrum of the electromagnetic wave's electric field as it fluctuates at an extremely high frequency. Obtaining a spectrum from time series such as these involves the Fourier transform, and generalizations based on Fourier analysis. In many cases the time domain is not specifically employed in practice, such as when a dispersive prism is used to obtain a spectrum of light in a spectrograph, or when a sound is perceived through its effect on the auditory receptors of the inner ear, each of which is sensitive to a particular frequency.

However this article concentrates on situations in which the time series is known (at least in a statistical sense) or directly measured (such as by a microphone sampled by a computer). The power spectrum is important in statistical signal processing and in the statistical study of stochastic processes, as well as in many other branches of physics and engineering. Typically the process is a function of time, but one can similarly discuss data in the spatial domain being decomposed in terms of spatial frequency.[1]

Units edit

In physics, the signal might be a wave, such as an electromagnetic wave, an acoustic wave, or the vibration of a mechanism. The power spectral density (PSD) of the signal describes the power present in the signal as a function of frequency, per unit frequency. Power spectral density is commonly expressed in watts per hertz (W/Hz).[2]

When a signal is defined in terms only of a voltage, for instance, there is no unique power associated with the stated amplitude. In this case "power" is simply reckoned in terms of the square of the signal, as this would always be proportional to the actual power delivered by that signal into a given impedance. So one might use units of V2 Hz−1 for the PSD. Energy spectral density (ESD) would have units of V2 s Hz−1, since energy has units of power multiplied by time (e.g., watt-hour).[3]

In the general case, the units of PSD will be the ratio of units of variance per unit of frequency; so, for example, a series of displacement values (in meters) over time (in seconds) will have PSD in units of meters squared per hertz, m2/Hz. In the analysis of random vibrations, units of g2 Hz−1 are frequently used for the PSD of acceleration, where g denotes the g-force.[4]

Mathematically, it is not necessary to assign physical dimensions to the signal or to the independent variable. In the following discussion the meaning of x(t) will remain unspecified, but the independent variable will be assumed to be that of time.

Definition edit

Energy spectral density edit

Energy spectral density describes how the energy of a signal or a time series is distributed with frequency. Here, the term energy is used in the generalized sense of signal processing;[5] that is, the energy   of a signal   is:

 

The energy spectral density is most suitable for transients—that is, pulse-like signals—having a finite total energy. Finite or not, Parseval's theorem[6] (or Plancherel's theorem) gives us an alternate expression for the energy of the signal:

 
where:
 
is the value of the Fourier transform of   at frequency   (in Hz). The theorem also holds true in the discrete-time cases. Since the integral on the left-hand side is the energy of the signal, the value of  can be interpreted as a density function multiplied by an infinitesimally small frequency interval, describing the energy contained in the signal at frequency   in the frequency interval  .

Therefore, the energy spectral density of   is defined as:[6]

 

(Eq.1)

The function   and the autocorrelation of   form a Fourier transform pair, a result also known as the Wiener–Khinchin theorem (see also Periodogram).

As a physical example of how one might measure the energy spectral density of a signal, suppose   represents the potential (in volts) of an electrical pulse propagating along a transmission line of impedance  , and suppose the line is terminated with a matched resistor (so that all of the pulse energy is delivered to the resistor and none is reflected back). By Ohm's law, the power delivered to the resistor at time   is equal to  , so the total energy is found by integrating   with respect to time over the duration of the pulse. To find the value of the energy spectral density   at frequency  , one could insert between the transmission line and the resistor a bandpass filter which passes only a narrow range of frequencies ( , say) near the frequency of interest and then measure the total energy   dissipated across the resistor. The value of the energy spectral density at   is then estimated to be  . In this example, since the power   has units of V2 Ω−1, the energy   has units of V2 s Ω−1 = J, and hence the estimate   of the energy spectral density has units of J Hz−1, as required. In many situations, it is common to forget the step of dividing by   so that the energy spectral density instead has units of V2 Hz−1.

This definition generalizes in a straightforward manner to a discrete signal with a countably infinite number of values   such as a signal sampled at discrete times  :

 
where   is the discrete-time Fourier transform of    The sampling interval   is needed to keep the correct physical units and to ensure that we recover the continuous case in the limit    But in the mathematical sciences the interval is often set to 1, which simplifies the results at the expense of generality. (also see normalized frequency)

Power spectral density edit

 
The power spectrum of the measured cosmic microwave background radiation temperature anisotropy in terms of the angular scale. The solid line is a theoretical model, for comparison.

The above definition of energy spectral density is suitable for transients (pulse-like signals) whose energy is concentrated around one time window; then the Fourier transforms of the signals generally exist. For continuous signals over all time, one must rather define the power spectral density (PSD) which exists for stationary processes; this describes how the power of a signal or time series is distributed over frequency, as in the simple example given previously. Here, power can be the actual physical power, or more often, for convenience with abstract signals, is simply identified with the squared value of the signal. For example, statisticians study the variance of a function over time   (or over another independent variable), and using an analogy with electrical signals (among other physical processes), it is customary to refer to it as the power spectrum even when there is no physical power involved. If one were to create a physical voltage source which followed   and applied it to the terminals of a one ohm resistor, then indeed the instantaneous power dissipated in that resistor would be given by   watts.

The average power   of a signal   over all time is therefore given by the following time average, where the period   is centered about some arbitrary time  :

 

However, for the sake of dealing with the math that follows, it is more convenient to deal with time limits in the signal itself rather than time limits in the bounds of the integral. As such, we have an alternative representation of the average power, where   and   is unity within the arbitrary period and zero elsewhere.

 
Clearly, in cases where the above expression for P is non-zero, the integral must grow without bound as T grows without bound. That is the reason why we cannot use the energy of the signal, which is that diverging integral, in such cases.

In analyzing the frequency content of the signal  , one might like to compute the ordinary Fourier transform  ; however, for many signals of interest the Fourier transform does not formally exist.[N 1] Regardless, Parseval's theorem tells us that we can re-write the average power as follows.

 

Then the power spectral density is simply defined as the integrand above.[8][9]

 

(Eq.2)

From here, due to the convolution theorem, we can also view   as the Fourier transform of the time convolution of   and  , where * represents the complex conjugate. Taking into account that

 
and making,  , we have:
 
where the convolution theorem has been used when passing from the 3th to the 4th line.

Now, if we divide the time convolution above by the period   and take the limit as  , it becomes the autocorrelation function of the non-windowed signal  , which is denoted as  , provided that   is ergodic, which is true in most, but not all, practical cases.[10].

 

From here we see, again assuming the ergodicity of  , that the power spectral density can be found as the Fourier transform of the autocorrelation function (Wiener–Khinchin theorem).

 

(Eq.3)

Many authors use this equality to actually define the power spectral density.[11]

The power of the signal in a given frequency band  , where  , can be calculated by integrating over frequency. Since  , an equal amount of power can be attributed to positive and negative frequency bands, which accounts for the factor of 2 in the following form (such trivial factors depend on the conventions used):

 
More generally, similar techniques may be used to estimate a time-varying spectral density. In this case the time interval   is finite rather than approaching infinity. This results in decreased spectral coverage and resolution since frequencies of less than   are not sampled, and results at frequencies which are not an integer multiple of   are not independent. Just using a single such time series, the estimated power spectrum will be very "noisy"; however this can be alleviated if it is possible to evaluate the expected value (in the above equation) using a large (or infinite) number of short-term spectra corresponding to statistical ensembles of realizations of   evaluated over the specified time window.

Just as with the energy spectral density, the definition of the power spectral density can be generalized to discrete time variables  . As before, we can consider a window of   with the signal sampled at discrete times   for a total measurement period  .

 
Note that a single estimate of the PSD can be obtained through a finite number of samplings. As before, the actual PSD is achieved when   (and thus  ) approaches infinity and the expected value is formally applied. In a real-world application, one would typically average a finite-measurement PSD over many trials to obtain a more accurate estimate of the theoretical PSD of the physical process underlying the individual measurements. This computed PSD is sometimes called a periodogram. This periodogram converges to the true PSD as the number of estimates as well as the averaging time interval   approach infinity (Brown & Hwang).[12]

If two signals both possess power spectral densities, then the cross-spectral density can similarly be calculated; as the PSD is related to the autocorrelation, so is the cross-spectral density related to the cross-correlation.

Properties of the power spectral density edit

Some properties of the PSD include:[13]

  • The power spectrum is always real and non-negative, and the spectrum of a real valued process is also an even function of frequency:  .
  • For a continuous stochastic process x(t), the autocorrelation function Rxx(t) can be reconstructed from its power spectrum Sxx(f) by using the inverse Fourier transform
  • Using Parseval's theorem, one can compute the variance (average power) of a process by integrating the power spectrum over all frequency:
     
  • For a real process x(t) with power spectral density  , one can compute the integrated spectrum or power spectral distribution  , which specifies the average bandlimited power contained in frequencies from DC to f using:[14]
     
    Note that the previous expression for total power (signal variance) is a special case where f → ∞.

Cross power spectral density edit

Given two signals   and  , each of which possess power spectral densities   and  , it is possible to define a cross power spectral density (CPSD) or cross spectral density (CSD). To begin, let us consider the average power of such a combined signal.

 

Using the same notation and methods as used for the power spectral density derivation, we exploit Parseval's theorem and obtain

 
where, again, the contributions of   and   are already understood. Note that  , so the full contribution to the cross power is, generally, from twice the real part of either individual CPSD. Just as before, from here we recast these products as the Fourier transform of a time convolution, which when divided by the period and taken to the limit   becomes the Fourier transform of a cross-correlation function.[15]
 
where   is the cross-correlation of   with   and   is the cross-correlation of   with  . In light of this, the PSD is seen to be a special case of the CSD for  . If   and   are real signals (e.g. voltage or current), their Fourier transforms   and   are usually restricted to positive frequencies by convention. Therefore, in typical signal processing, the full CPSD is just one of the CPSDs scaled by a factor of two.
 

For discrete signals xn and yn, the relationship between the cross-spectral density and the cross-covariance is

 

Estimation edit

The goal of spectral density estimation is to estimate the spectral density of a random signal from a sequence of time samples. Depending on what is known about the signal, estimation techniques can involve parametric or non-parametric approaches, and may be based on time-domain or frequency-domain analysis. For example, a common parametric technique involves fitting the observations to an autoregressive model. A common non-parametric technique is the periodogram.

The spectral density is usually estimated using Fourier transform methods (such as the Welch method), but other techniques such as the maximum entropy method can also be used.

Related concepts edit

  • The spectral centroid of a signal is the midpoint of its spectral density function, i.e. the frequency that divides the distribution into two equal parts.
  • The spectral edge frequency (SEF), usually expressed as "SEF x", represents the frequency below which x percent of the total power of a given signal are located; typically, x is in the range 75 to 95. It is more particularly a popular measure used in EEG monitoring, in which case SEF has variously been used to estimate the depth of anesthesia and stages of sleep.[16][17][18]
  • A spectral envelope is the envelope curve of the spectrum density. It describes one point in time (one window, to be precise). For example, in remote sensing using a spectrometer, the spectral envelope of a feature is the boundary of its spectral properties, as defined by the range of brightness levels in each of the spectral bands of interest.[19]
  • The spectral density is a function of frequency, not a function of time. However, the spectral density of a small window of a longer signal may be calculated, and plotted versus time associated with the window. Such a graph is called a spectrogram. This is the basis of a number of spectral analysis techniques such as the short-time Fourier transform and wavelets.
  • A "spectrum" generally means the power spectral density, as discussed above, which depicts the distribution of signal content over frequency. For transfer functions (e.g., Bode plot, chirp) the complete frequency response may be graphed in two parts: power versus frequency and phase versus frequency—the phase spectral density, phase spectrum, or spectral phase. Less commonly, the two parts may be the real and imaginary parts of the transfer function. This is not to be confused with the frequency response of a transfer function, which also includes a phase (or equivalently, a real and imaginary part) as a function of frequency. The time-domain impulse response   cannot generally be uniquely recovered from the power spectral density alone without the phase part. Although these are also Fourier transform pairs, there is no symmetry (as there is for the autocorrelation) forcing the Fourier transform to be real-valued. See Ultrashort pulse#Spectral phase, phase noise, group delay.
  • Sometimes one encounters an amplitude spectral density (ASD), which is the square root of the PSD; the ASD of a voltage signal has units of V Hz−1/2.[20] This is useful when the shape of the spectrum is rather constant, since variations in the ASD will then be proportional to variations in the signal's voltage level itself. But it is mathematically preferred to use the PSD, since only in that case is the area under the curve meaningful in terms of actual power over all frequency or over a specified bandwidth.

Applications edit

Any signal that can be represented as a variable that varies in time has a corresponding frequency spectrum. This includes familiar entities such as visible light (perceived as color), musical notes (perceived as pitch), radio/TV (specified by their frequency, or sometimes wavelength) and even the regular rotation of the earth. When these signals are viewed in the form of a frequency spectrum, certain aspects of the received signals or the underlying processes producing them are revealed. In some cases the frequency spectrum may include a distinct peak corresponding to a sine wave component. And additionally there may be peaks corresponding to harmonics of a fundamental peak, indicating a periodic signal which is not simply sinusoidal. Or a continuous spectrum may show narrow frequency intervals which are strongly enhanced corresponding to resonances, or frequency intervals containing almost zero power as would be produced by a notch filter.

Electrical engineering edit

 
Spectrogram of an FM radio signal with frequency on the horizontal axis and time increasing upwards on the vertical axis.

The concept and use of the power spectrum of a signal is fundamental in electrical engineering, especially in electronic communication systems, including radio communications, radars, and related systems, plus passive remote sensing technology. Electronic instruments called spectrum analyzers are used to observe and measure the power spectra of signals.

The spectrum analyzer measures the magnitude of the short-time Fourier transform (STFT) of an input signal. If the signal being analyzed can be considered a stationary process, the STFT is a good smoothed estimate of its power spectral density.

Cosmology edit

Primordial fluctuations, density variations in the early universe, are quantified by a power spectrum which gives the power of the variations as a function of spatial scale.

Climate Science edit

Power spectral-analysis have been used to examine the spatial structures for climate research.[21] These results suggests atmospheric turbulence link climate change to more local regional volatility in weather conditions.[22]

See also edit

Notes edit

  1. ^ Some authors (e.g. Risken[7]) still use the non-normalized Fourier transform in a formal way to formulate a definition of the power spectral density
     
    where   is the Dirac delta function. Such formal statements may sometimes be useful to guide the intuition, but should always be used with utmost care.

References edit

  1. ^ a b c P Stoica & R Moses (2005). "Spectral Analysis of Signals" (PDF).
  2. ^ Gérard Maral (2003). VSAT Networks. John Wiley and Sons. ISBN 978-0-470-86684-9.
  3. ^ Michael Peter Norton & Denis G. Karczub (2003). Fundamentals of Noise and Vibration Analysis for Engineers. Cambridge University Press. ISBN 978-0-521-49913-2.
  4. ^ Alessandro Birolini (2007). Reliability Engineering. Springer. p. 83. ISBN 978-3-540-49388-4.
  5. ^ Oppenheim; Verghese. Signals, Systems, and Inference. pp. 32–4.
  6. ^ a b Stein, Jonathan Y. (2000). Digital Signal Processing: A Computer Science Perspective. Wiley. p. 115.
  7. ^ Hannes Risken (1996). The Fokker–Planck Equation: Methods of Solution and Applications (2nd ed.). Springer. p. 30. ISBN 9783540615309.
  8. ^ Fred Rieke; William Bialek & David Warland (1999). Spikes: Exploring the Neural Code (Computational Neuroscience). MIT Press. ISBN 978-0262681087.
  9. ^ Scott Millers & Donald Childers (2012). Probability and random processes. Academic Press. pp. 370–5.
  10. ^ The Wiener–Khinchin theorem makes sense of this formula for any wide-sense stationary process under weaker hypotheses:   does not need to be absolutely integrable, it only needs to exist. But the integral can no longer be interpreted as usual. The formula also makes sense if interpreted as involving distributions (in the sense of Laurent Schwartz, not in the sense of a statistical Cumulative distribution function) instead of functions. If   is continuous, Bochner's theorem can be used to prove that its Fourier transform exists as a positive measure, whose distribution function is F (but not necessarily as a function and not necessarily possessing a probability density).
  11. ^ Dennis Ward Ricker (2003). Echo Signal Processing. Springer. ISBN 978-1-4020-7395-3.
  12. ^ Robert Grover Brown & Patrick Y.C. Hwang (1997). Introduction to Random Signals and Applied Kalman Filtering. John Wiley & Sons. ISBN 978-0-471-12839-7.
  13. ^ Von Storch, H.; Zwiers, F. W. (2001). Statistical analysis in climate research. Cambridge University Press. ISBN 978-0-521-01230-0.
  14. ^ An Introduction to the Theory of Random Signals and Noise, Wilbur B. Davenport and Willian L. Root, IEEE Press, New York, 1987, ISBN 0-87942-235-1
  15. ^ William D Penny (2009). "Signal Processing Course, chapter 7".
  16. ^ Iranmanesh, Saam; Rodriguez-Villegas, Esther (2017). "An Ultralow-Power Sleep Spindle Detection System on Chip". IEEE Transactions on Biomedical Circuits and Systems. 11 (4): 858–866. doi:10.1109/TBCAS.2017.2690908. hdl:10044/1/46059. PMID 28541914. S2CID 206608057.
  17. ^ Imtiaz, Syed Anas; Rodriguez-Villegas, Esther (2014). "A Low Computational Cost Algorithm for REM Sleep Detection Using Single Channel EEG". Annals of Biomedical Engineering. 42 (11): 2344–59. doi:10.1007/s10439-014-1085-6. PMC 4204008. PMID 25113231.
  18. ^ Drummond JC, Brann CA, Perkins DE, Wolfe DE: "A comparison of median frequency, spectral edge frequency, a frequency band power ratio, total power, and dominance shift in the determination of depth of anesthesia," Acta Anaesthesiol. Scand. 1991 Nov;35(8):693-9.
  19. ^ Swartz, Diemo (1998). "Spectral Envelopes". [1].
  20. ^ Michael Cerna & Audrey F. Harvey (2000). "The Fundamentals of FFT-Based Signal Analysis and Measurement" (PDF).
  21. ^ Communication, N. B. I. (2022-05-23). "Danish astrophysics student discovers link between global warming and locally unstable weather". nbi.ku.dk. Retrieved 2022-07-23.
  22. ^ Sneppen, Albert (2022-05-05). "The power spectrum of climate change". The European Physical Journal Plus. 137 (5): 555. arXiv:2205.07908. Bibcode:2022EPJP..137..555S. doi:10.1140/epjp/s13360-022-02773-w. ISSN 2190-5444. S2CID 248652864.

External links edit

  • Power Spectral Density Matlab scripts

spectral, density, this, article, about, signal, processing, relation, spectra, time, series, further, applications, physical, sciences, spectrum, physical, sciences, spectral, power, density, redirects, here, confused, with, spectral, power, signal, processin. This article is about signal processing and relation of spectra to time series For further applications in the physical sciences see Spectrum physical sciences Spectral power density redirects here Not to be confused with Spectral power In signal processing the power spectrum S x x f displaystyle S xx f of a continuous time signal x t displaystyle x t describes the distribution of power into frequency components f displaystyle f composing that signal 1 According to Fourier analysis any physical signal can be decomposed into a number of discrete frequencies or a spectrum of frequencies over a continuous range The statistical average of any sort of signal including noise as analyzed in terms of its frequency content is called its spectrum The spectral density of a fluorescent light as a function of optical wavelength shows peaks at atomic transitions indicated by the numbered arrows The voice waveform over time left has a broad audio power spectrum right When the energy of the signal is concentrated around a finite time interval especially if its total energy is finite one may compute the energy spectral density More commonly used is the power spectral density or simply power spectrum which applies to signals existing over all time or over a time period large enough especially in relation to the duration of a measurement that it could as well have been over an infinite time interval The power spectral density PSD then refers to the spectral energy distribution that would be found per unit time since the total energy of such a signal over all time would generally be infinite Summation or integration of the spectral components yields the total power for a physical process or variance in a statistical process identical to what would be obtained by integrating x 2 t displaystyle x 2 t over the time domain as dictated by Parseval s theorem 1 The spectrum of a physical process x t displaystyle x t often contains essential information about the nature of x displaystyle x For instance the pitch and timbre of a musical instrument are immediately determined from a spectral analysis The color of a light source is determined by the spectrum of the electromagnetic wave s electric field E t displaystyle E t as it fluctuates at an extremely high frequency Obtaining a spectrum from time series such as these involves the Fourier transform and generalizations based on Fourier analysis In many cases the time domain is not specifically employed in practice such as when a dispersive prism is used to obtain a spectrum of light in a spectrograph or when a sound is perceived through its effect on the auditory receptors of the inner ear each of which is sensitive to a particular frequency However this article concentrates on situations in which the time series is known at least in a statistical sense or directly measured such as by a microphone sampled by a computer The power spectrum is important in statistical signal processing and in the statistical study of stochastic processes as well as in many other branches of physics and engineering Typically the process is a function of time but one can similarly discuss data in the spatial domain being decomposed in terms of spatial frequency 1 Contents 1 Units 2 Definition 2 1 Energy spectral density 2 2 Power spectral density 2 2 1 Properties of the power spectral density 2 3 Cross power spectral density 3 Estimation 4 Related concepts 5 Applications 5 1 Electrical engineering 5 2 Cosmology 5 3 Climate Science 6 See also 7 Notes 8 References 9 External linksUnits editSee also Fourier transform Units In physics the signal might be a wave such as an electromagnetic wave an acoustic wave or the vibration of a mechanism The power spectral density PSD of the signal describes the power present in the signal as a function of frequency per unit frequency Power spectral density is commonly expressed in watts per hertz W Hz 2 When a signal is defined in terms only of a voltage for instance there is no unique power associated with the stated amplitude In this case power is simply reckoned in terms of the square of the signal as this would always be proportional to the actual power delivered by that signal into a given impedance So one might use units of V2 Hz 1 for the PSD Energy spectral density ESD would have units of V2 s Hz 1 since energy has units of power multiplied by time e g watt hour 3 In the general case the units of PSD will be the ratio of units of variance per unit of frequency so for example a series of displacement values in meters over time in seconds will have PSD in units of meters squared per hertz m2 Hz In the analysis of random vibrations units of g2 Hz 1 are frequently used for the PSD of acceleration where g denotes the g force 4 Mathematically it is not necessary to assign physical dimensions to the signal or to the independent variable In the following discussion the meaning of x t will remain unspecified but the independent variable will be assumed to be that of time Definition editEnergy spectral density edit Energy spectral density redirects here Not to be confused with energy spectrum Energy spectral density describes how the energy of a signal or a time series is distributed with frequency Here the term energy is used in the generalized sense of signal processing 5 that is the energy E displaystyle E nbsp of a signal x t displaystyle x t nbsp is E x t 2 d t displaystyle E triangleq int infty infty left x t right 2 dt nbsp The energy spectral density is most suitable for transients that is pulse like signals having a finite total energy Finite or not Parseval s theorem 6 or Plancherel s theorem gives us an alternate expression for the energy of the signal x t 2 d t x f 2 d f displaystyle int infty infty x t 2 dt int infty infty left hat x f right 2 df nbsp where x f e i 2 p f t x t d t displaystyle hat x f triangleq int infty infty e i2 pi ft x t dt nbsp is the value of the Fourier transform of x t displaystyle x t nbsp at frequency f displaystyle f nbsp in Hz The theorem also holds true in the discrete time cases Since the integral on the left hand side is the energy of the signal the value of x f 2 d f displaystyle left hat x f right 2 df nbsp can be interpreted as a density function multiplied by an infinitesimally small frequency interval describing the energy contained in the signal at frequency f displaystyle f nbsp in the frequency interval f d f displaystyle f df nbsp Therefore the energy spectral density of x t displaystyle x t nbsp is defined as 6 S x x f x f 2 displaystyle bar S xx f triangleq left hat x f right 2 nbsp Eq 1 The function S x x f displaystyle bar S xx f nbsp and the autocorrelation of x t displaystyle x t nbsp form a Fourier transform pair a result also known as the Wiener Khinchin theorem see also Periodogram As a physical example of how one might measure the energy spectral density of a signal suppose V t displaystyle V t nbsp represents the potential in volts of an electrical pulse propagating along a transmission line of impedance Z displaystyle Z nbsp and suppose the line is terminated with a matched resistor so that all of the pulse energy is delivered to the resistor and none is reflected back By Ohm s law the power delivered to the resistor at time t displaystyle t nbsp is equal to V t 2 Z displaystyle V t 2 Z nbsp so the total energy is found by integrating V t 2 Z displaystyle V t 2 Z nbsp with respect to time over the duration of the pulse To find the value of the energy spectral density S x x f displaystyle bar S xx f nbsp at frequency f displaystyle f nbsp one could insert between the transmission line and the resistor a bandpass filter which passes only a narrow range of frequencies D f displaystyle Delta f nbsp say near the frequency of interest and then measure the total energy E f displaystyle E f nbsp dissipated across the resistor The value of the energy spectral density at f displaystyle f nbsp is then estimated to be E f D f displaystyle E f Delta f nbsp In this example since the power V t 2 Z displaystyle V t 2 Z nbsp has units of V2 W 1 the energy E f displaystyle E f nbsp has units of V2 s W 1 J and hence the estimate E f D f displaystyle E f Delta f nbsp of the energy spectral density has units of J Hz 1 as required In many situations it is common to forget the step of dividing by Z displaystyle Z nbsp so that the energy spectral density instead has units of V2 Hz 1 This definition generalizes in a straightforward manner to a discrete signal with a countably infinite number of values x n displaystyle x n nbsp such as a signal sampled at discrete times t n t 0 n D t displaystyle t n t 0 n Delta t nbsp S x x f lim N D t 2 n N N x n e i 2 p f n D t 2 x d f 2 displaystyle bar S xx f lim N to infty Delta t 2 underbrace left sum n N N x n e i2 pi fn Delta t right 2 left hat x d f right 2 nbsp where x d f displaystyle hat x d f nbsp is the discrete time Fourier transform of x n displaystyle x n nbsp The sampling interval D t displaystyle Delta t nbsp is needed to keep the correct physical units and to ensure that we recover the continuous case in the limit D t 0 displaystyle Delta t to 0 nbsp But in the mathematical sciences the interval is often set to 1 which simplifies the results at the expense of generality also see normalized frequency Power spectral density edit Not to be confused with spectral power distribution nbsp The power spectrum of the measured cosmic microwave background radiation temperature anisotropy in terms of the angular scale The solid line is a theoretical model for comparison The above definition of energy spectral density is suitable for transients pulse like signals whose energy is concentrated around one time window then the Fourier transforms of the signals generally exist For continuous signals over all time one must rather define the power spectral density PSD which exists for stationary processes this describes how the power of a signal or time series is distributed over frequency as in the simple example given previously Here power can be the actual physical power or more often for convenience with abstract signals is simply identified with the squared value of the signal For example statisticians study the variance of a function over time x t displaystyle x t nbsp or over another independent variable and using an analogy with electrical signals among other physical processes it is customary to refer to it as the power spectrum even when there is no physical power involved If one were to create a physical voltage source which followed x t displaystyle x t nbsp and applied it to the terminals of a one ohm resistor then indeed the instantaneous power dissipated in that resistor would be given by x 2 t displaystyle x 2 t nbsp watts The average power P displaystyle P nbsp of a signal x t displaystyle x t nbsp over all time is therefore given by the following time average where the period T displaystyle T nbsp is centered about some arbitrary time t t 0 displaystyle t t 0 nbsp P lim T 1 T t 0 T 2 t 0 T 2 x t 2 d t displaystyle P lim T to infty frac 1 T int t 0 T 2 t 0 T 2 left x t right 2 dt nbsp However for the sake of dealing with the math that follows it is more convenient to deal with time limits in the signal itself rather than time limits in the bounds of the integral As such we have an alternative representation of the average power where x T t x t w T t displaystyle x T t x t w T t nbsp and w T t displaystyle w T t nbsp is unity within the arbitrary period and zero elsewhere P lim T 1 T x T t 2 d t displaystyle P lim T to infty frac 1 T int infty infty left x T t right 2 dt nbsp Clearly in cases where the above expression for P is non zero the integral must grow without bound as T grows without bound That is the reason why we cannot use the energy of the signal which is that diverging integral in such cases In analyzing the frequency content of the signal x t displaystyle x t nbsp one might like to compute the ordinary Fourier transform x f displaystyle hat x f nbsp however for many signals of interest the Fourier transform does not formally exist N 1 Regardless Parseval s theorem tells us that we can re write the average power as follows P lim T 1 T x T f 2 d f displaystyle P lim T to infty frac 1 T int infty infty hat x T f 2 df nbsp Then the power spectral density is simply defined as the integrand above 8 9 S x x f lim T 1 T x T f 2 displaystyle S xx f lim T to infty frac 1 T hat x T f 2 nbsp Eq 2 From here due to the convolution theorem we can also view x T f 2 displaystyle hat x T f 2 nbsp as the Fourier transform of the time convolution of x T t displaystyle x T t nbsp and x T t displaystyle x T t nbsp where represents the complex conjugate Taking into account thatF x T t x T t e i 2 p f t d t x T t e i 2 p f t d t x T t e i 2 p f t d t x T t e i 2 p f t d t F x T t x T f displaystyle begin aligned mathcal F left x T t right amp int infty infty x T t e i2 pi ft dt amp int infty infty x T t e i2 pi ft dt amp int infty infty x T t e i2 pi ft dt amp left int infty infty x T t e i2 pi ft dt right amp left mathcal F left x T t right right amp left hat x T f right end aligned nbsp and making u t x T t displaystyle u t x T t nbsp we have x T f 2 x T f x T f F x T t F x T t F u t F x T t F u t x T t u t t x T t d t e i 2 p f t x T t t x T t d t e i 2 p f t d t displaystyle begin aligned left hat x T f right 2 amp hat x T f cdot hat x T f amp mathcal F left x T t right cdot mathcal F left x T t right amp mathcal F left u t right cdot mathcal F left x T t right amp mathcal F left u t mathbin mathbf x T t right amp int infty infty left int infty infty u tau t x T t dt right e i2 pi f tau amp int infty infty left int infty infty x T t tau x T t dt right e i2 pi f tau d tau end aligned nbsp where the convolution theorem has been used when passing from the 3th to the 4th line Now if we divide the time convolution above by the period T displaystyle T nbsp and take the limit as T displaystyle T rightarrow infty nbsp it becomes the autocorrelation function of the non windowed signal x t displaystyle x t nbsp which is denoted as R x x t displaystyle R xx tau nbsp provided that x t displaystyle x t nbsp is ergodic which is true in most but not all practical cases 10 lim T 1 T x T f 2 lim T 1 T x T t t x T t d t e i 2 p f t d t R x x t e i 2 p f t d t displaystyle lim T to infty frac 1 T left hat x T f right 2 int infty infty left lim T to infty frac 1 T int infty infty x T t tau x T t dt right e i2 pi f tau d tau int infty infty R xx tau e i2 pi f tau d tau nbsp From here we see again assuming the ergodicity of x t displaystyle x t nbsp that the power spectral density can be found as the Fourier transform of the autocorrelation function Wiener Khinchin theorem S x x f R x x t e i 2 p f t d t R x x f displaystyle S xx f int infty infty R xx tau e i2 pi f tau d tau hat R xx f nbsp Eq 3 Many authors use this equality to actually define the power spectral density 11 The power of the signal in a given frequency band f 1 f 2 displaystyle f 1 f 2 nbsp where 0 lt f 1 lt f 2 displaystyle 0 lt f 1 lt f 2 nbsp can be calculated by integrating over frequency Since S x x f S x x f displaystyle S xx f S xx f nbsp an equal amount of power can be attributed to positive and negative frequency bands which accounts for the factor of 2 in the following form such trivial factors depend on the conventions used P bandlimited 2 f 1 f 2 S x x f d f displaystyle P textsf bandlimited 2 int f 1 f 2 S xx f df nbsp More generally similar techniques may be used to estimate a time varying spectral density In this case the time interval T displaystyle T nbsp is finite rather than approaching infinity This results in decreased spectral coverage and resolution since frequencies of less than 1 T displaystyle 1 T nbsp are not sampled and results at frequencies which are not an integer multiple of 1 T displaystyle 1 T nbsp are not independent Just using a single such time series the estimated power spectrum will be very noisy however this can be alleviated if it is possible to evaluate the expected value in the above equation using a large or infinite number of short term spectra corresponding to statistical ensembles of realizations of x t displaystyle x t nbsp evaluated over the specified time window Just as with the energy spectral density the definition of the power spectral density can be generalized to discrete time variables x n displaystyle x n nbsp As before we can consider a window of N n N displaystyle N leq n leq N nbsp with the signal sampled at discrete times t n t 0 n D t displaystyle t n t 0 n Delta t nbsp for a total measurement period T 2 N 1 D t displaystyle T 2N 1 Delta t nbsp S x x f lim N D t 2 T n N N x n e i 2 p f n D t 2 displaystyle S xx f lim N to infty frac Delta t 2 T left sum n N N x n e i2 pi fn Delta t right 2 nbsp Note that a single estimate of the PSD can be obtained through a finite number of samplings As before the actual PSD is achieved when N displaystyle N nbsp and thus T displaystyle T nbsp approaches infinity and the expected value is formally applied In a real world application one would typically average a finite measurement PSD over many trials to obtain a more accurate estimate of the theoretical PSD of the physical process underlying the individual measurements This computed PSD is sometimes called a periodogram This periodogram converges to the true PSD as the number of estimates as well as the averaging time interval T displaystyle T nbsp approach infinity Brown amp Hwang 12 If two signals both possess power spectral densities then the cross spectral density can similarly be calculated as the PSD is related to the autocorrelation so is the cross spectral density related to the cross correlation Properties of the power spectral density edit Some properties of the PSD include 13 The power spectrum is always real and non negative and the spectrum of a real valued process is also an even function of frequency S x x f S x x f displaystyle S xx f S xx f nbsp For a continuous stochastic process x t the autocorrelation function Rxx t can be reconstructed from its power spectrum Sxx f by using the inverse Fourier transformUsing Parseval s theorem one can compute the variance average power of a process by integrating the power spectrum over all frequency P Var x S x x f d f displaystyle P operatorname Var x int infty infty S xx f df nbsp For a real process x t with power spectral density S x x f displaystyle S xx f nbsp one can compute the integrated spectrum or power spectral distribution F f displaystyle F f nbsp which specifies the average bandlimited power contained in frequencies from DC to f using 14 F f 2 0 f S x x f d f displaystyle F f 2 int 0 f S xx f df nbsp Note that the previous expression for total power signal variance is a special case where f Cross power spectral density edit See also Coherence signal processing Given two signals x t displaystyle x t nbsp and y t displaystyle y t nbsp each of which possess power spectral densities S x x f displaystyle S xx f nbsp and S y y f displaystyle S yy f nbsp it is possible to define a cross power spectral density CPSD or cross spectral density CSD To begin let us consider the average power of such a combined signal P lim T 1 T x T t y T t x T t y T t d t lim T 1 T x T t 2 x T t y T t y T t x T t y T t 2 d t displaystyle begin aligned P amp lim T to infty frac 1 T int infty infty left x T t y T t right left x T t y T t right dt amp lim T to infty frac 1 T int infty infty x T t 2 x T t y T t y T t x T t y T t 2 dt end aligned nbsp Using the same notation and methods as used for the power spectral density derivation we exploit Parseval s theorem and obtainS x y f lim T 1 T x T f y T f S y x f lim T 1 T y T f x T f displaystyle begin aligned S xy f amp lim T to infty frac 1 T left hat x T f hat y T f right amp S yx f amp lim T to infty frac 1 T left hat y T f hat x T f right end aligned nbsp where again the contributions of S x x f displaystyle S xx f nbsp and S y y f displaystyle S yy f nbsp are already understood Note that S x y f S y x f displaystyle S xy f S yx f nbsp so the full contribution to the cross power is generally from twice the real part of either individual CPSD Just as before from here we recast these products as the Fourier transform of a time convolution which when divided by the period and taken to the limit T displaystyle T to infty nbsp becomes the Fourier transform of a cross correlation function 15 S x y f lim T 1 T x T t t y T t d t e i 2 p f t d t R x y t e i 2 p f t d t S y x f lim T 1 T y T t t x T t d t e i 2 p f t d t R y x t e i 2 p f t d t displaystyle begin aligned S xy f amp int infty infty left lim T to infty frac 1 T int infty infty x T t tau y T t dt right e i2 pi f tau d tau int infty infty R xy tau e i2 pi f tau d tau S yx f amp int infty infty left lim T to infty frac 1 T int infty infty y T t tau x T t dt right e i2 pi f tau d tau int infty infty R yx tau e i2 pi f tau d tau end aligned nbsp where R x y t displaystyle R xy tau nbsp is the cross correlation of x t displaystyle x t nbsp with y t displaystyle y t nbsp and R y x t displaystyle R yx tau nbsp is the cross correlation of y t displaystyle y t nbsp with x t displaystyle x t nbsp In light of this the PSD is seen to be a special case of the CSD for x t y t displaystyle x t y t nbsp If x t displaystyle x t nbsp and y t displaystyle y t nbsp are real signals e g voltage or current their Fourier transforms x f displaystyle hat x f nbsp and y f displaystyle hat y f nbsp are usually restricted to positive frequencies by convention Therefore in typical signal processing the full CPSD is just one of the CPSDs scaled by a factor of two CPSD Full 2 S x y f 2 S y x f displaystyle operatorname CPSD text Full 2S xy f 2S yx f nbsp For discrete signals xn and yn the relationship between the cross spectral density and the cross covariance isS x y f n R x y t n e i 2 p f t n D t displaystyle S xy f sum n infty infty R xy tau n e i2 pi f tau n Delta tau nbsp Estimation editMain article Spectral density estimation The goal of spectral density estimation is to estimate the spectral density of a random signal from a sequence of time samples Depending on what is known about the signal estimation techniques can involve parametric or non parametric approaches and may be based on time domain or frequency domain analysis For example a common parametric technique involves fitting the observations to an autoregressive model A common non parametric technique is the periodogram The spectral density is usually estimated using Fourier transform methods such as the Welch method but other techniques such as the maximum entropy method can also be used Related concepts editNot to be confused with spectral density physical science The spectral centroid of a signal is the midpoint of its spectral density function i e the frequency that divides the distribution into two equal parts The spectral edge frequency SEF usually expressed as SEF x represents the frequency below which x percent of the total power of a given signal are located typically x is in the range 75 to 95 It is more particularly a popular measure used in EEG monitoring in which case SEF has variously been used to estimate the depth of anesthesia and stages of sleep 16 17 18 A spectral envelope is the envelope curve of the spectrum density It describes one point in time one window to be precise For example in remote sensing using a spectrometer the spectral envelope of a feature is the boundary of its spectral properties as defined by the range of brightness levels in each of the spectral bands of interest 19 The spectral density is a function of frequency not a function of time However the spectral density of a small window of a longer signal may be calculated and plotted versus time associated with the window Such a graph is called a spectrogram This is the basis of a number of spectral analysis techniques such as the short time Fourier transform and wavelets A spectrum generally means the power spectral density as discussed above which depicts the distribution of signal content over frequency For transfer functions e g Bode plot chirp the complete frequency response may be graphed in two parts power versus frequency and phase versus frequency the phase spectral density phase spectrum or spectral phase Less commonly the two parts may be the real and imaginary parts of the transfer function This is not to be confused with the frequency response of a transfer function which also includes a phase or equivalently a real and imaginary part as a function of frequency The time domain impulse response h t displaystyle h t nbsp cannot generally be uniquely recovered from the power spectral density alone without the phase part Although these are also Fourier transform pairs there is no symmetry as there is for the autocorrelation forcing the Fourier transform to be real valued See Ultrashort pulse Spectral phase phase noise group delay Sometimes one encounters an amplitude spectral density ASD which is the square root of the PSD the ASD of a voltage signal has units of V Hz 1 2 20 This is useful when the shape of the spectrum is rather constant since variations in the ASD will then be proportional to variations in the signal s voltage level itself But it is mathematically preferred to use the PSD since only in that case is the area under the curve meaningful in terms of actual power over all frequency or over a specified bandwidth Applications editFurther information Spectrum Any signal that can be represented as a variable that varies in time has a corresponding frequency spectrum This includes familiar entities such as visible light perceived as color musical notes perceived as pitch radio TV specified by their frequency or sometimes wavelength and even the regular rotation of the earth When these signals are viewed in the form of a frequency spectrum certain aspects of the received signals or the underlying processes producing them are revealed In some cases the frequency spectrum may include a distinct peak corresponding to a sine wave component And additionally there may be peaks corresponding to harmonics of a fundamental peak indicating a periodic signal which is not simply sinusoidal Or a continuous spectrum may show narrow frequency intervals which are strongly enhanced corresponding to resonances or frequency intervals containing almost zero power as would be produced by a notch filter Electrical engineering edit nbsp Spectrogram of an FM radio signal with frequency on the horizontal axis and time increasing upwards on the vertical axis The concept and use of the power spectrum of a signal is fundamental in electrical engineering especially in electronic communication systems including radio communications radars and related systems plus passive remote sensing technology Electronic instruments called spectrum analyzers are used to observe and measure the power spectra of signals The spectrum analyzer measures the magnitude of the short time Fourier transform STFT of an input signal If the signal being analyzed can be considered a stationary process the STFT is a good smoothed estimate of its power spectral density Cosmology edit Primordial fluctuations density variations in the early universe are quantified by a power spectrum which gives the power of the variations as a function of spatial scale Climate Science edit Power spectral analysis have been used to examine the spatial structures for climate research 21 These results suggests atmospheric turbulence link climate change to more local regional volatility in weather conditions 22 See also editBispectrum Brightness temperature Colors of noise Least squares spectral analysis Noise spectral density Spectral density estimation Spectral efficiency Spectral leakage Spectral power distribution Whittle likelihood Window functionNotes edit Some authors e g Risken 7 still use the non normalized Fourier transform in a formal way to formulate a definition of the power spectral density x w x w 2 p f w d w w displaystyle langle hat x omega hat x ast omega rangle 2 pi f omega delta omega omega nbsp where d w w displaystyle delta omega omega nbsp is the Dirac delta function Such formal statements may sometimes be useful to guide the intuition but should always be used with utmost care References edit a b c P Stoica amp R Moses 2005 Spectral Analysis of Signals PDF Gerard Maral 2003 VSAT Networks John Wiley and Sons ISBN 978 0 470 86684 9 Michael Peter Norton amp Denis G Karczub 2003 Fundamentals of Noise and Vibration Analysis for Engineers Cambridge University Press ISBN 978 0 521 49913 2 Alessandro Birolini 2007 Reliability Engineering Springer p 83 ISBN 978 3 540 49388 4 Oppenheim Verghese Signals Systems and Inference pp 32 4 a b Stein Jonathan Y 2000 Digital Signal Processing A Computer Science Perspective Wiley p 115 Hannes Risken 1996 The Fokker Planck Equation Methods of Solution and Applications 2nd ed Springer p 30 ISBN 9783540615309 Fred Rieke William Bialek amp David Warland 1999 Spikes Exploring the Neural Code Computational Neuroscience MIT Press ISBN 978 0262681087 Scott Millers amp Donald Childers 2012 Probability and random processes Academic Press pp 370 5 The Wiener Khinchin theorem makes sense of this formula for any wide sense stationary process under weaker hypotheses R x x displaystyle R xx nbsp does not need to be absolutely integrable it only needs to exist But the integral can no longer be interpreted as usual The formula also makes sense if interpreted as involving distributions in the sense of Laurent Schwartz not in the sense of a statistical Cumulative distribution function instead of functions If R x x displaystyle R xx nbsp is continuous Bochner s theorem can be used to prove that its Fourier transform exists as a positive measure whose distribution function is F but not necessarily as a function and not necessarily possessing a probability density Dennis Ward Ricker 2003 Echo Signal Processing Springer ISBN 978 1 4020 7395 3 Robert Grover Brown amp Patrick Y C Hwang 1997 Introduction to Random Signals and Applied Kalman Filtering John Wiley amp Sons ISBN 978 0 471 12839 7 Von Storch H Zwiers F W 2001 Statistical analysis in climate research Cambridge University Press ISBN 978 0 521 01230 0 An Introduction to the Theory of Random Signals and Noise Wilbur B Davenport and Willian L Root IEEE Press New York 1987 ISBN 0 87942 235 1 William D Penny 2009 Signal Processing Course chapter 7 Iranmanesh Saam Rodriguez Villegas Esther 2017 An Ultralow Power Sleep Spindle Detection System on Chip IEEE Transactions on Biomedical Circuits and Systems 11 4 858 866 doi 10 1109 TBCAS 2017 2690908 hdl 10044 1 46059 PMID 28541914 S2CID 206608057 Imtiaz Syed Anas Rodriguez Villegas Esther 2014 A Low Computational Cost Algorithm for REM Sleep Detection Using Single Channel EEG Annals of Biomedical Engineering 42 11 2344 59 doi 10 1007 s10439 014 1085 6 PMC 4204008 PMID 25113231 Drummond JC Brann CA Perkins DE Wolfe DE A comparison of median frequency spectral edge frequency a frequency band power ratio total power and dominance shift in the determination of depth of anesthesia Acta Anaesthesiol Scand 1991 Nov 35 8 693 9 Swartz Diemo 1998 Spectral Envelopes 1 Michael Cerna amp Audrey F Harvey 2000 The Fundamentals of FFT Based Signal Analysis and Measurement PDF Communication N B I 2022 05 23 Danish astrophysics student discovers link between global warming and locally unstable weather nbi ku dk Retrieved 2022 07 23 Sneppen Albert 2022 05 05 The power spectrum of climate change The European Physical Journal Plus 137 5 555 arXiv 2205 07908 Bibcode 2022EPJP 137 555S doi 10 1140 epjp s13360 022 02773 w ISSN 2190 5444 S2CID 248652864 External links editPower Spectral Density Matlab scripts Retrieved from https en wikipedia org w index php title Spectral density amp oldid 1218000341 Explanation, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.