DDS Output Frequency & Tuning Word
A direct digital synthesizer builds a waveform by stepping an N-bit phase accumulator by a tuning word M every clock cycle. The output frequency is a precise fraction of the clock set by M, with a resolution equal to the clock divided by 2N. Enter a target frequency to get the nearest tuning word and the exact frequency it produces.
Equations & Parameters ▸
\(f_{\text{out}} = \dfrac{M}{2^{N}}\,f_{\text{clk}} \qquad \Delta f = \dfrac{f_{\text{clk}}}{2^{N}} \qquad M = \text{round}\!\left(\dfrac{f_{\text{target}}}{f_{\text{clk}}}\,2^{N}\right)\)
| fclk | Reference clock frequency (MHz). |
| N | Phase-accumulator width (bits), e.g. 24, 32, 48. |
| ftarget | Desired output frequency (MHz). |
| M | Frequency tuning word (integer, 0 … 2N−1). |
| Δf | Frequency resolution — the smallest output step. |
References: Analog Devices, MT-085, Fundamentals of Direct Digital Synthesis. · J. Vankka & K. Halonen, Direct Digital Synthesizers, Kluwer, 2001.
Inputs
MHz
Reference clockbits
e.g. 24/32/48MHz
Desired freqResults
Tuning
Tuning word M—
Actual fout—
Error vs target—
Limits
Resolution Δf—
Max usable (~40%)—
Diagram