Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Brands and Sourcing

Generating a variable square wave with the AD9850: why the BOM needs a filter before the comparator

An AD9850 module quote says “100 MHz reference, programmable square wave.” The design needs 10, 20 and 40 MHz, and the receiver samples on each rising edge. Ask the supplier to identify the fitted path from DAC current output through the low-pass filter and comparator to the clock connector. Request traces under the intended load. Setting the frequency word to produce 40 MHz is one part of the job. The filter, comparator threshold and receiver together determine whether the upper end of the range can be used as a clock.

Break the module description into measurable stages

The AD9850 Revision H block diagram follows CLKIN through the DDS and DAC, then shows a low-pass filter and the comparator. IOUT and IOUTB are analog current outputs. VINP and VINN are the noninverting and inverting comparator inputs, with true and complementary logic outputs at QOUT and QOUTB. The typical circuit uses a single-ended low-pass network and derives a comparator midpoint from the other side of the DAC output. Find the current-to-voltage load, the fitted filter and the actual reference voltage on the module schematic. Complementary outputs alone do not establish compatibility with an LVDS input. If the receiver requires LVDS, confirm the corresponding output stage and termination on the assembled board.

Check the reference supply before comparing frequencies. The AD9850BRS is specified up to 125 MHz at 5 V and 110 MHz at 3.3 V. For an example running at 3.3 V with a 100 MHz reference, the period is 10 ns. A measured duty cycle of 35% at CLKIN would give 3.5 ns high and 6.5 ns low. The data sheet lists a 4.1 ns minimum for each width at 3.3 V and 25 °C, so this example falls short on the high pulse. Request frequency, logic levels, load and duty-cycle specifications for the full ordering code, then measure at the receiving pin rather than assuming that the oscillator label establishes all of them.

Locate the first image pair at both ends of the working range

Use the reference frequency plus and minus the programmed output frequency for a first estimate of the nearest DAC sampling images. This locates frequency components in the ideal model. Clock feedthrough, harmonics and other spurs are separate things to check on the board. Both examples use a 100 MHz reference.

OutputFirst image pairSpacing to the lower image
10 MHz90 MHz and 110 MHz80 MHz
40 MHz60 MHz and 140 MHz20 MHz

For a single fixed filter that must pass up to 40 MHz and give the required rejection by 60 MHz, the distance between those requirements is only 20 MHz. Checking only the 10 MHz setting can miss the difficult end of the range. Request insertion loss and minimum rejection at specified frequencies in the actual source and load configuration. A stated cutoff alone does not tell you the stopband response of the layout. If the upper end fails, evaluate a narrower operating band, switched filtering or a different reference configuration. For a change to CLKIN, check the applicable supply and timing limits again.

For example, assume the 60 MHz component before the filter is −20 dBc relative to the 40 MHz fundamental. If the project requires −50 dBc at the comparator input, the filter must attenuate 60 MHz by at least 30 dB more than it attenuates 40 MHz. With 2 dB of insertion loss at 40 MHz, the illustrative absolute attenuation needed at 60 MHz is at least 32 dB. Check that the remaining fundamental amplitude still gives a useful comparator input. These figures demonstrate how to write a filter acceptance requirement. They are not a general module specification.

Keep an analog trace and a receiver trace in the acceptance record

At 10, 20 and 40 MHz, capture the DAC voltage after its conversion load, VINP, VINN and the receiving pin. Examine their differential crossing, the fundamental and the stronger images as the programmed frequency changes. When comparing voltages before and after the filter, keep the measurement impedance with the data. An instrument terminated in 50 Ω can alter the node it is intended to measure. Use a known test configuration or a probe appropriate to the node. An analog spur limit needs a measurement bandwidth and amplitude reference, while a jitter limit needs a threshold, load and timing or statistical definition.

A frequency counter can report 40 MHz even if occasional extra edges, short pulses or duty-cycle changes cause problems at the receiver. Capture the two comparator inputs and QOUT together. Follow one intended crossing into a correctly directed digital edge, then measure high and low levels and minimum pulse widths at the receiver itself. If the design changes frequency while running, capture FQ_UD and the output during the transition. The data sheet lists 18 CLKIN cycles of latency for a frequency change, or 180 ns at 100 MHz. This describes the DDS stage. Measure the filter transient and the time to a usable digital clock separately under the real load.

List the exact reference oscillator and AD9850 ordering configurations, fitted filter parts, PCB revision, comparator interface, target frequencies and load in the purchase and acceptance records. For a complete module, request spectra at the low and high ends and time-domain captures through a representative frequency change. Those records make it possible to decide which part of the circuit needs changing if an otherwise promising quote fails the board test.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.