This page is part of the Spy1 construction tutorial.

Control of acousto-optic deflection using Direct Digital Synthesis

Contributed by Dejan Vučinić

Analog Devices sell a wide variety of chips for Direct Digital Synthesis (DDS) of radio-frequency signals. Two-dimensional acousto-optic deflection requires at least two independent signal sources, but having more than two synchronized generators greatly simplifies the synchronization with the data acquisition system since an additional output can be used to independently trigger the start of acquisition with deflector-specific latencies.

The AD9959 device has four independent outputs that can generate frequencies between zero and 250 MHz. This frequency range is well matched to the bandwidths of slow-shear TeO2 deflectors, which typically operate under 100 MHz. Analog sells a USB-based evaluation board with this chip, AD9959/PCBZ, that can be used to build a scan controller in a hurry.

The board, as shipped, requires several modifications before it can be used. Described here is one way to do it, which requires basic tools and skill with rework of surface-mounted electronic components. (An alternative way that wouldn't require soldering might be to use an external clock source and a lab power supply; if you try this route please report your experience here.)

1. Power supply

The AD9959/PCBZ board provides two 3.3 V inputs and one 1.8 V input. One 3.3 V input is for the USB controller, the other is for the AD9959 chip core, while the final 1.8 V input is used to power the DAC. A lab power supply with two or three outputs can be used for this task, but is clearly an overkill. Texas Instruments make a small power regulator meant for FPGAs that has three independent outputs which can be set between 1.2 V and the input voltage. This chip is sold on an evaluation board TPS75003EVM which you can buy here. This power supply can be powered by a small wall wart that puts out anywhere between 3.3 V and 6 V of DC at half an amp or so. (Note: USB bus doesn't have enough juice for this, been tried.)

The TPS75003EVM evaluation board ships with the outputs set to 1.2 V, 2.5 V and 3.3 V. To set the correct voltages for the DDS card replace the resistors in the voltage dividers for outputs 1 and 3. Output 1 is controlled by resistors R10 (33 kΩ) and R11 (68 kΩ) and the capacitor C11 (10 pF). Output 3 is controlled by resistors R6 (68 kΩ) and R7 (12 kΩ). Consult the schematic on page 11 of the user's guide that arrives with the module.

2. Clock

The AD9959/PCBZ arrives configured for use with an external clock source, such as an AD9540. Traces are provided on the board for a crystal to use with the built-in oscillator, but several modifications must be made for the chip to clock itself. Consult the schematic on page 24 of the evaluation board datasheet.

3. Test

Here is what a finished scan controller could look like:

In this example the power supply board is glued to the empty area of the DDS board.

Before testing the setup make sure jumper W7 is in the “PC” position, jumpers W1, W2, W3 and W10 are shorted and jumpers W4, W5 and W6 are open.

There are two ways to test the board: you can use the device drivers and the software supplied with the AD9959/PCBZ kit, or you can download the neurospy software and the device drivers from http://neurospy.org and run a test protocol, as shown here: