A small sine wave source on the test bench originally outputs 2 MHz. After the engineer increments the frequency tuning word of the direct digital synthesizer by one, the main peak shifts slightly, but several new spurs appear. Since the crystal oscillator and power supply remain unchanged, the new spurs cannot be directly attributed to the crystal oscillator's phase noise. First, check whether the lower bits of the phase accumulator are discarded by the lookup circuit, and whether these lower bits begin to vary periodically after changing the tuning word. With only a one-step difference between the two settings, the phase error sent to the amplitude lookup table may change from a fixed offset to a repeating variation. These two aspects must be verified separately.
Here, an independent low-voltage signal source provides a reference sine wave to the electronic test bench, without assuming any commercial equipment uses a specific circuit or component. The board-level issue to be addressed is clearly separating clock, digital synthesis, and analog output. Whether the output frequency is sufficiently close to the target and whether there are any prohibited discrete components across the entire bandwidth are inherently two independent requirements.
The phase accumulator can have more bits than the lookup table uses
Each reference clock cycle adds the frequency tuning word to a direct digital synthesizer’s phase accumulator. It wraps after a full cycle. A 16-bit accumulator represents one cycle with 65,536 phase counts. The tuning word sets the advance per clock, so a change in its least significant bit can move the frequency by one step.
If the phase-to-amplitude lookup uses only the upper 8 bits, the 16-bit accumulator still runs as designed but the lookup sees just 256 possible addresses. The lower 8 bits remain in the accumulator and participate in the next addition. The lookup phase differs from the internal phase. A constant discarded remainder produces a fixed offset in this ideal model, while a repeating, variable remainder can produce discrete spectral components.
Do not interpret this as all spurs originating from a single address. Quantization of amplitude, nonlinearity in the digital-to-analog output, discrete components on the reference source, power supply coupling, and test instrumentation may also leave spectral lines. Even if a tuning word renders the phase truncation term constant over time, the actual output may still be limited. Conversely, a change in one line does not immediately resolve the issue; first modify the quantity that can alter the lower-bit sequence, then re-verify using the same measurement boundaries.
Changing the tuning word by one changes what the discarded bits do
Assuming a reference of 16 MHz with phase updates per cycle, an internal 16-bit accumulator, and a lookup table for the high 8 bits, with an initial phase of zero. When the tuning word is 8192, the nominal frequency is 16 MHz × 8192 ÷ 65536, yielding 2 MHz. Since 8192 is divisible by 256, the low 8 bits remain zero thereafter; thus, this ideal model exhibits no time-varying phase truncation error.
Changing the tuning word to 8193 raises the nominal output frequency by approximately 244.14 Hz. At this point, each step increments the lower 8 bits by 1, causing the remainder to cycle from 0 to 255 and back to 0. One full cycle comprises 256 steps; calculated against a 16 MHz clock, the low-bit error sequence repeats every 16 microseconds, yielding a repetition rate of 62,500 Hz. This value explains why the expected observation is not merely a shift of the main peak; it describes the error sequence period and cannot be used to guarantee a specific spectral line of fixed amplitude in practice. Higher-order components, spectral image folding, additional processing within the implementation, and analog path effects will alter the final observed position and amplitude. If the actual design does not directly lookup the high 8 bits, these figures cannot be applied directly.
Another frequently asked procurement question: Can replacing the crystal oscillator with a lower tolerance fix the issue? When the interface is compatible, one may consider the Epson SG-210STF 16 MHz CMOS version, standard reel-pack part number X1G004171040300, which specifies a frequency tolerance of ±25 ppm under rated operating conditions, with first-year aging specified separately. Considering only the reference frequency, this corresponds to approximately ±50 Hz at a 2 MHz output. It affects the absolute output frequency and the scale factor scaled from the reference frequency, but it does not render the lower eight bits of the tuning word 8193 constant. To reduce this portion of spurs, one must return to the digital synthesis architecture or the allowable frequency points, rather than substituting spur performance with better absolute frequency.
| Test bench action | Which quantities are fixed? | What can be compared against? |
|---|---|---|
| Keep the original reference unchanged and compare two adjacent tuning words. | Power supply, load, filtering, and instrument settings | Does the new spectral line vary with changes in the low-order bit structure of the tuning word? |
| In digital interfaces, either store the lookup table address or recalculate the lower bits. | Initial phase and actual word width | Is the discarded lower bit fixed, and is the error repetitive? |
| With the synthesis configuration unchanged, compare against the compliant reference source. | Control Word, Output Stage, and Measurement Conditions | Frequency offset, noise, or discrete components introduced by the reference path. |
| Switching test channels or ranges for the same digital output. | Synthesis Configuration, Output Load, and Input Boundaries | Is the peak related to the instrument or the output chain? |
How does R&D submit deliverables, and how does procurement draft a request for quotation?
First, select at least one low-frequency fixed reference point, then select a point near it where the low-frequency component actually changes. Only by observing both points with the same load is there a chance to mitigate the impact of simulated path variations. Retain the measured reference input frequency, two complete tuning words, internal phase width, table lookup width, and output status. If using self-developed logic, one may first save the digital sequence to compare its variations; if the architecture is closed, inquire with the module supplier about the guaranteed frequency band, discrete spectral line limitations, and typical test frequency points, rather than guessing that the internal implementation exactly matches this model. During verification, do not merely copy the highest line adjacent to the instrument; instead, record the frequency band range and identify which carrier it is relative to. If two settings differ, one should not draw conclusions directly based on peak height.
Separate frequency accuracy from spectral acceptance. The frequency window must account for reference tolerance, rounding the requested frequency to a tuning word and agreed supply and temperature conditions. Define spurious performance at the required frequencies and loads, with agreed discrete components to check. If the design must sweep a continuous band, one frequency with favorable truncation cannot qualify it. If only fixed frequencies are allowed, qualify the approved set without silently moving required test points.
Keep the effective tuning word separate from the frequency shown on the display. Some modules calculate the word from the requested frequency and configured clock, with rounding that can vary by firmware. Save the actual word if available, or at least the firmware version and reference frequency. “About 2 MHz” does not identify the configuration. Establish whether a supplier’s spectrum settings can be reproduced before treating the plot as acceptance evidence.
Common Follow-up Questions
Does widening the accumulator necessarily reduce this spurious? This cannot be determined solely on that basis. While a wider accumulator typically enables finer tuning steps, the bit width used for table lookup and the low-order structure of the tuning word still determine truncation error. The tuning resolution and the phase-to-amplitude conversion path design must be addressed separately.
Can one fixed frequency with low spurs qualify the source? It is useful as a control for identifying phase-truncation effects. The other frequency settings, analog stage and reference need their own evidence.
If the main tone agrees with the tuning formula, why measure spurs? The formula checks the nominal frequency. Spectral testing checks for unwanted output components that could affect the device under test.
