Misplaced Pages

Normalized frequency (signal processing): Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 07:59, 11 February 2022 editQwerfjkl (bot) (talk | contribs)Bots, Mass message senders4,012,124 editsm Capitalising short description "unit of measurement of frequency" per WP:SDFORMAT (via Bandersnatch)← Previous edit Revision as of 05:56, 19 February 2022 edit undoFgnievinski (talk | contribs)Autopatrolled, Extended confirmed users66,936 edits topNext edit →
Line 5: Line 5:
{{mergewith|Digital frequency|date=September 2012}} --> {{mergewith|Digital frequency|date=September 2012}} -->


In ] (DSP), '''normalized frequency''' ('''''f<sup>'</sup>''''') is a ] having ] of '']'' expressed in ] of "'''cycles per sample'''". It equals ''f<sup>'</sup>=f/f<sub>s</sub>'', where ''f'' (in ]) is an ordinary frequency quantity and ''f<sub>s</sub>'' is the '']'' (in "samples per second").
'''Normalized frequency''' is a ] of ] equivalent to ''cycles/sample''.
In ] (DSP), the continuous time variable, '''t''', with units of ''seconds'', is replaced by the discrete integer variable, '''n''', with units of ''samples''. More precisely, the time variable, in ''seconds'', has been normalized (divided) by the sampling interval, '''T''' (''seconds/sample''), which causes time to have convenient integer values at the moments of sampling. This practice is analogous to the concept of ], meaning that the natural unit of time in a DSP system is ''samples''. For regularly spaced sampling, the ] time variable, ''t'' (with units of ]), is replaced by a ] ''sampling ]'' variable, ''n=t/T'' (with units of "samples"), upon division by the sampling interval, ''T=1/f<sub>s</sub>'' (in "seconds per sample"). This practice is analogous to the concept of '']'' in physics, meaning that the natural unit of time in a DSP system is "samples".


The normalized value of a frequency variable, <math>\textstyle f</math> (''cycles/sec''), is <math>\textstyle f/f_s,</math>&nbsp; where <math>\textstyle f_s = 1/T</math>&nbsp; is the ] in ''samples/sec''.&nbsp; The maximum frequency that can be unambiguously represented by ''digital'' data is <math>\textstyle f_s/2</math>&nbsp; (known as ]) when the samples are real numbers, and <math>\textstyle f_s</math>&nbsp; when the samples are complex numbers.<ref>See ]</ref>&nbsp; The normalized values of these limits are respectively 0.5 and 1.0 ''cycles/sample''. This has the advantage of simplicity, but (similar to ]) there is a potential disadvantage in terms of loss of clarity and understanding, as these constants <math>\textstyle T</math> and <math>\textstyle f_s</math> are then omitted from mathematical expressions of physical laws. The maximum frequency that can be unambiguously represented by digital data is <math>\textstyle f_s/2</math>&nbsp; (known as ]) when the samples are real numbers, and <math>\textstyle f_s</math>&nbsp; when the samples are complex numbers.<ref>See ]</ref>&nbsp; The normalized values of these limits are respectively 0.5 and 1.0 ''cycles/sample''. This has the advantage of simplicity, but (similar to ]) there is a potential disadvantage in terms of loss of clarity and understanding, as these constants <math>\textstyle T</math> and <math>\textstyle f_s</math> are then omitted from mathematical expressions of physical laws.


The simplicity offered by normalized units is favored in textbooks, where space is limited and where real units are incidental to the point of a theorem or its proof. But there is another advantage in the DSP realm (compared to physics), because <math>\textstyle T</math> and <math>\textstyle f_s</math> are not "universal physical constants". The use of normalized frequency allows us to present concepts that are universal to all sample rates in a way that is independent of sample rate. An example of such a concept is a digital filter design whose bandwidth is specified not in ], but as a percentage of the sample rate of the data passing through it. Formulas expressed in terms of <math>\textstyle f_s</math>&nbsp; and/or <math>\textstyle T</math>&nbsp; are readily converted to normalized frequency by setting those parameters to 1. The inverse operation is usually accomplished by replacing instances of the frequency parameter, <math>\textstyle f ,</math>&nbsp; with <math>\textstyle f/f_s</math>&nbsp; or &nbsp;<math>\textstyle f\cdot T.</math><ref>{{cite book|last=Carlson|first=Gordon E.|title=Signal and Linear System Analysis|year=1992|publisher=©Houghton Mifflin Co|location=Boston,MA|isbn=8170232384|pages=469,490}}</ref> The simplicity offered by normalized units is favored in textbooks, where space is limited and where real units are incidental to the point of a theorem or its proof. But there is another advantage in the DSP realm (compared to physics), because <math>\textstyle T</math> and <math>\textstyle f_s</math> are not "universal physical constants". The use of normalized frequency allows us to present concepts that are universal to all sample rates in a way that is independent of sample rate. An example of such a concept is a digital filter design whose bandwidth is specified not in ], but as a percentage of the sample rate of the data passing through it. Formulas expressed in terms of <math>\textstyle f_s</math>&nbsp; and/or <math>\textstyle T</math>&nbsp; are readily converted to normalized frequency by setting those parameters to 1. The inverse operation is usually accomplished by replacing instances of the frequency parameter, <math>\textstyle f ,</math>&nbsp; with <math>\textstyle f/f_s</math>&nbsp; or &nbsp;<math>\textstyle f\cdot T.</math><ref>{{cite book|last=Carlson|first=Gordon E.|title=Signal and Linear System Analysis|year=1992|publisher=©Houghton Mifflin Co|location=Boston,MA|isbn=8170232384|pages=469,490}}</ref>

Revision as of 05:56, 19 February 2022

Unit of measurement of frequency

In digital signal processing (DSP), normalized frequency (f) is a quantity having dimension of frequency expressed in units of "cycles per sample". It equals f=f/fs, where f (in cycles per second) is an ordinary frequency quantity and fs is the sampling rate (in "samples per second"). For regularly spaced sampling, the continuous time variable, t (with units of seconds), is replaced by a discrete sampling count variable, n=t/T (with units of "samples"), upon division by the sampling interval, T=1/fs (in "seconds per sample"). This practice is analogous to the concept of natural units in physics, meaning that the natural unit of time in a DSP system is "samples".

The maximum frequency that can be unambiguously represented by digital data is f s / 2 {\displaystyle \textstyle f_{s}/2}   (known as Nyquist frequency) when the samples are real numbers, and f s {\displaystyle \textstyle f_{s}}   when the samples are complex numbers.  The normalized values of these limits are respectively 0.5 and 1.0 cycles/sample. This has the advantage of simplicity, but (similar to natural units) there is a potential disadvantage in terms of loss of clarity and understanding, as these constants T {\displaystyle \textstyle T} and f s {\displaystyle \textstyle f_{s}} are then omitted from mathematical expressions of physical laws.

The simplicity offered by normalized units is favored in textbooks, where space is limited and where real units are incidental to the point of a theorem or its proof. But there is another advantage in the DSP realm (compared to physics), because T {\displaystyle \textstyle T} and f s {\displaystyle \textstyle f_{s}} are not "universal physical constants". The use of normalized frequency allows us to present concepts that are universal to all sample rates in a way that is independent of sample rate. An example of such a concept is a digital filter design whose bandwidth is specified not in hertz, but as a percentage of the sample rate of the data passing through it. Formulas expressed in terms of f s {\displaystyle \textstyle f_{s}}   and/or T {\displaystyle \textstyle T}   are readily converted to normalized frequency by setting those parameters to 1. The inverse operation is usually accomplished by replacing instances of the frequency parameter, f , {\displaystyle \textstyle f,}   with f / f s {\displaystyle \textstyle f/f_{s}}   or   f T . {\displaystyle \textstyle f\cdot T.}

Alternative normalizations

Some programs (such as MATLAB) that design filters with real-valued coefficients use the Nyquist frequency ( f s / 2 {\displaystyle \textstyle f_{s}/2} ) as the normalization constant. The resultant normalized frequency has units of half-cycles/sample or equivalently cycles per 2 samples.

Sometimes, the unnormalized frequency is represented in units of radians/second (angular frequency), and denoted by ω . {\displaystyle \textstyle \omega .}   When ω {\displaystyle \textstyle \omega } is normalized by the sample-rate (samples/sec), the resulting units are radians/sample. The normalized Nyquist frequency is π radians/sample, and the normalized sample-rate is 2π radians/sample.

The following table shows examples of normalized frequencies for a 1 kHz signal, a sample rate f s {\displaystyle \textstyle f_{\mathrm {s} }} = 44.1 kHz, and 3 different choices of normalized units. Also shown is the frequency region containing one cycle of the discrete-time Fourier transform, which is always a periodic function.

Units Domain Computation Value
cycles/sample    or    1000 / 44100 0.02268
half-cycles/sample    or    1000 / 22050 0.04535
radians/sample    or    2 π 1000 / 44100 0.1425

Notes and citations

  1. See Aliasing
  2. Carlson, Gordon E. (1992). Signal and Linear System Analysis. Boston,MA: ©Houghton Mifflin Co. pp. 469, 490. ISBN 8170232384.

See also

Categories: