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''. | |||
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 maximum frequency that can be unambiguously represented by digital data is <math>\textstyle f_s/2</math> (known as ]) when the samples are real numbers, and <math>\textstyle f_s</math> when the samples are complex numbers.<ref>See ]</ref> 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> and/or <math>\textstyle T</math> 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> with <math>\textstyle f/f_s</math> or <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> and/or <math>\textstyle T</math> 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> with <math>\textstyle f/f_s</math> or <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 (known as Nyquist frequency) when the samples are real numbers, and 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 and 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 and 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 and/or 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, with or
Alternative normalizations
Some programs (such as MATLAB) that design filters with real-valued coefficients use the Nyquist frequency () 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 When 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 = 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
- See Aliasing
- Carlson, Gordon E. (1992). Signal and Linear System Analysis. Boston,MA: ©Houghton Mifflin Co. pp. 469, 490. ISBN 8170232384.