en
  • English
  • German
  • Chinese

Knowledge-Base

multi-tone DDS mode

Picture of 16 DDS cores output in frequency domainDDS – Direct Digital Synthesis – is a method for generating arbitrary periodic waves from a single, fixed-frequency reference clock and is widely used in signal generation applications. The DDS functionality implemented on Spectrum Instrumentation’s AWGs is based on the principle of adding multiple “DDS cores” to generate a multi-carrier (multi-tone) signal, with each carrier having its own well-defined frequency, amplitude and phase. In addition to these static parameters, there are also build in dynamic parameters like frequency and amplitude slope to allow for intrinsic linear changes for multiple cores.

In the simplest case, the user writes the commands frequency and amplitude for a specific DDS core to the card. The card will then output a single periodic sine wave continuously until the user writes a change to the card. These changes are written to the card in the form of commands (see below tables for a list of the available commands) that are added to a First-In-First-Out (FIFO) buffer. These commands are then executed in the order in which they were written to the card.

The right-hand example shows the output of 16 DDS cores with separate fixed frequencies between 50 MHz and 125 MHz with a spacing of 5 MHz

Examples of DDS Usage

Dual Tone for IMD test [GHz]

Frequency sweeps for vibration tests WAVEFORM: This waveform is the sum of two DDS sinewaves at 1.664 and 1.667 GHz, resulting in a periodically interference.

APPLICATION: This waveform can be used for intermodulation distortion (IMD) testing, as nonlinearities in the device under test generate mixing products at specific frequencies. The IMD level is the ratio of intermodulation product power to the desired output signal power, expressed in decibels (dB). The lower the IMD level, the better the device performance.

Frequency sweep for radar [GHz]

diagram with DDS-generated waveformsWAVEFORM: A radar pulse generated with DDS using a 1 GHz carrier with a 5 MHz linear frequency sweep (chirp) that linearly changes the carrier from 997.5 to 1002.5 MHz during the 10ms pulse duration. The FFT of the pulse shows the frequency variation.

APPLICATION: Radar simulation, where multiple independent radar sources are required.

Frequency hopping for FSK [MHz]

diagram with DDS-generated waveformsWAVEFORM: A digitally encoded FSK (frequency shift keyed) waveform showing frequency hopping between 433.9749 and 433.8888 MHz using the DDS frequency control function.

APPLICATION: Verifying and testing automotive remote keyless entry systems.

Focusing wavefronts for radar/ultrasound [MHz]

Diagram with DDS-generated waveformsWAVEFORM: Multiple DDS sine outputs are used for driving a phased array system by controlling the amplitude and phase of individual sine waves to steer or focus the wavefront.

APPLICATION: Developing and testing antenna and transducer arrays.

Driving lasers for Quantum computers [MHz]

Diagram with DDS-generated waveformsWAVEFORM: 20 DDS sine waves with dynamically variable frequencies.

APPLICATION: Signals for use with AOMs (Acoustic-Optical Modulators) to generate multiple, fully controllable laser beams from a single source. These laser beams capture and hold individual atoms, which then perform the operations inside the quantum computer.

Failure simulation for three-phase-voltage [kHz]

Screenshot of DDS-generated waveformWAVEFORM: The DDS simulation of a three-phase power fault showing the three-phase voltages with a line-to-ground fault on phase A. The lower trace shows the resulting current in Phase A, showing the ability of DDS to produce non-sinusoidal waveforms such as the exponentially decaying current waveform.

APPLICATION: These waveforms can be used to test fault-detection circuits by simulating the outputs of voltage and current transducers.

Frequency sweeps for vibration tests [kHz]

Screenshot of DDS-generated waveformWAVEFORM: One slowly changing swept sine is generated with DDS over the range of 20 Hz to 20 kHz. Up to 16 sweeps with different frequency ranges are possible in parallel. 

APPLICATION: These sweeps are used for vibration shakers to identify mechanical resonances and fatigue for automotive and aerospace parts.

Related Documents

Available DDS Commands

Build-in single-line commands:

  • Set Frequency of DDS core
  • Set Amplitude of DDS core
  • Set Phase of DDS core
  • Start linear frequency slope for DDS core
  • Start linear amplitude slope for DDS core
  • Set digital outputs
  • Change execution mode
  • Set timer for output

Advanced commands consisting of multiple commands

The fast DMA-controlled command transfer from PC to AWG card can send several million DDS commands per second. This opens up a wide flexibility and allows functions like:

  • S-Shape frequency/amplitude slopes consisting of multiple linear slope commands
  • Custom frequency/amplitude slopes consisting of multiple linear slope commands
  • AM modulation consiting of multiple amplitude change commands
  • FM modulation consiting of multiple frequency change commands
  • FSK (Frequency Shift Keying) modulation consisting of multiple frequency change commands

Example (C++ API)

The following example generates a 110 MHz signal for 100 ms, do a ramp from 110 MHz to 120 MHz within the next 100 ms and then keep the 120 MHz until stopped. general AWG initialization and amplifier settings are not shown here:

spcm_dwSetParam_i32 (hCard, SPC_DDS_TRG_SRC, SPCM_DDS_TRG_SRC_TIMER);
spcm_dwSetParam_d64 (hCard, SPC_DDS_TRG_TIMER, 0.1);


// Initial 110 MHz frequency
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_AMP, 1);
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_PHASE, 0);
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_FREQ, MEGA(110));
spcm_dwSetParam_i32 (hCard, SPC_DDS_CMD, SPCM_DDS_CMD_EXEC_AT_TRG);

// slope from 110 MHz to 120 MHz (10 MHz change in 100 ms = 100 MHz change in 1 second)
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_FREQ_SLOPE, MEGA(100));
spcm_dwSetParam_i32 (hCard, SPC_DDS_CMD, SPCM_DDS_CMD_EXEC_AT_TRG);

// Final 120 MHz frequency
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_FREQ, MEGA(120));
spcm_dwSetParam_d64 (hCard, SPC_DDS_CORE0_FREQ_SLOPE, 0);
spcm_dwSetParam_i32 (hCard, SPC_DDS_CMD, SPCM_DDS_CMD_EXEC_AT_TRG);

// Write all commands to card

spcm_dwSetParam_i32 (hCard, SPC_DDS_CMD, SPCM_DDS_CMD_WRITE_TO_CARD);

Command FIFO

Diagram of DDS commands with outputThe DDS functionality is controlled through commands that are written to a driver-internal list and then written to the card when the command SPCM_DDS_CMD_WRITE_TO_CARD is sent. These lists of commands are put onto a First-In-First-Out (command queue) buffer
and executed one after the other. The right hand command queue overview gives an idea how commands are used to generate the different output states of a single DDS core. Commands in the command queue are executed from top to bottom.

The settings are first written to a set of “shadow registers” that are a separate set of registers in parallel to the active DDS configuration registers. One command after the other manipulates the shadow registers until the command SPCM_DDS_CMD_EXEC_AT_TRIG is received, then writing from the FIFO to the shadow registers is stopped and the card starts waiting for the next internal trigger. After a trigger is received the shadow registers are transferred to the active registers.

Timing and Trigger

The DDS commands are written into AWG internal memory and can be executed in three different ways:

  • Manual: Commands from the queue are executed with a separate execution command. Timing is solely done by software.
  • Triggered: Command execution waits on an external trigger signal. This allows tight interactionn with experiment control.
  • Timer: A programmable timer with a very fine time resolution defines the command execution times.

In most cases, a combination of all three modes will be used. Mixing these modes in between a sequence of commands is no problem. The above example shows the usage of the timer

Advantages of multi-tone DDS mode

Block Diagram of DDSThe DDS mode can be used everywhere, where pure sine signals are needed for the application. Instead of calculating and transfering thousends or even millions of samples to AWG memory, a few simple DDS commands can do the job. The multi-tone DDS mode is especially helpful when controlling Acousto-Optic Deflectors (AOD) and Acousto-Optic Modulators (AOM) as often used in pysics and especially quantum experiments. Using multi-tone sine signals with frequency slopes can move atoms in quantum experiments in an easy way.

This allows optical tweezer manipulation with a few commands from experiment control software.

Comparison of the different DDS mode implementations

The DDS mode is available as option for different AWG series as well as a separate DDS generator model. All implementations are working in the verys same way and offer the same user interface with the same DDS commands. Main difference is the maximum output frequency, the output rate and the number of DDS cores per generator. Depending on the model, the DDS cores can be split between the channels in different ways. The below table shows the series differences. Please refer to the data sheet for more details:

Feature M5i.635x, M5i.636x

DN2.635-xx, DN2.636x
DN6.635-xx(1)
M5i.632x

DN2.632-xx
DN6.632-xx(1)
M4i.663x
M4x.663x
DN2.663-xx(1)
DN6.663-xx(1)
M4i.662x
M4x.662x
DN2.662-xx(1)
DN6.662-xx(1)
M4i.962x
M4x.962x
DN2.962-xx(1)
DN6.962-xx(1)
M2p.65xx

DN2.65x(1)
DN6.65xx(1)
Channels per AWG 1 or 2 1 or 2 1 or 2 1, 2 or 4 1, 2 or 4 1, 2, 4 or 8
Bandwidth 2.5 GHz / 3.9 GHz 1.2 GHz 400 MHz 200 MHz 200 MHz 70 MHz
AWG Mode Standard Standard Standard Standard Option Standard
AWG output rate 10 GS/s 3.2 GS/s 1.25 GS/s 625 MS/s 625 MS/s 125 MS/s
DDS Mode Option -DDS64 Option -DDS64 Option -DDS20 Option -DDS20 Standard Option -DDS16
DDS Clock Rate 10 GS/s 3.2 GS/s 1.25 GS/s 1.25 GS/s 625 MS/s 125 MS/s
DDS cores on 1 channel 64 (2.5 GS/s)
32 (5.0 GS/s)
16 (10.0 GS/s)
64 (2.5 GS/s)
32 (3.2 GS/s)

20 20 50 16
DDS cores on 2 channels 32/32 (2.5 GS/s)
16/16 (5.0 GS/s)
32/32 (2.5 GS/s)
16/16 (3.2 GS/s)
20/1 or
16/5
20/1 or
16/5
50/0 or
49/1
8/8
DDS cores on 4 channels n.a. n.a. n.a. 20/1/1/1 or
16/5/1/1 or
12/5/5/1 or
8/5/5/5
50/0/0/0 or
49/1/0/0 or
48/1/1/0 or
47/1/1/1
4/4/4/4
DDS cores on 8 channels n.a. n.a. n.a. n.a. n.a. 2/2/2/2/2/2/2/2

(1) In DN (NetBox generator) units, multi‑tone DDS functionality is distributed according to the internal AWG module architecture, with each AWG module’s cores shared across its channels rather than assigned strictly per output. Internal AWG modules can also operate completely independent of each other, also using AWG and DDS in parallel on different AWG modules. The DN models internally have 2-channel and 4-channel AWG modules. Please refer to the according data sheet to learn more about the internal structure.

Series Links

Videos about the DDS option

Show on Youku

Contact

On location for you. Choose your region.

Europe USA Asia
Contact Europe
Phone +49 (0)4102 6956-0
Fax +49 (0)4102 6956-66
E-Mail info@spec.de
Contact USA
Phone +1 (201) 562-1999
Fax +1 (201) 820-2691
E-Mail sales@spectrum-instrumentation.com
Contact Asia
Phone +61 402 130 414
E-Mail greg.tate@spectrum-instrumentation.com
Support

Request support. We are happy to help.

Support
powered by webEdition CMS