Normalized frequency (signal processing)
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 is an ordinary frequency quantity (in "cycles per second") 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.[1] 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 [2]
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 [0,1] | 1000 / 44100 | 0.02268 |
half-cycles/sample | [-1,1] or [0,2] | 1000 / 22050 | 0.04535 |
radians/sample | [-π,π] or [0,2π] | 2 π 1000 / 44100 | 0.1425 |
See also
Notes and citations
- ^ See Aliasing
- ^ Carlson, Gordon E. (1992). Signal and Linear System Analysis. Boston,MA: ©Houghton Mifflin Co. pp. 469, 490. ISBN 8170232384.