Project showcase
RF Signal Generator DDS Arduino Shield AD9910 600MHz

RF Signal Generator DDS Arduino Shield AD9910 600MHz © TAPR-OHL

The way to create a high-precision generator from 100 kHz to 600 MHz based on DDS from Analog Devices - AD9910.

  • 1,744 views
  • 1 comment
  • 5 respects

Components and supplies

About this project

This story began at the moment when we got the need of an RF signal source for our experiments with SDR radio.

For implementing that kind of task, the DDS method (Direct Digital Synthesis) is ideally suitable. There existing ready-made IC (Integrated Circuits) for DDS on the market, here are the most common ones among them from Analog Devices IC: AD9910, AD9912, AD9914 and AD9915. We opted for the AD9910 because it has all the qualities we needed and it has a fair price.

For us were important parameters such as: high stability of frequency, low level of phase noise and also the minimal number of harmonics and spurious. Naturally, when working with SDR radio, it was necessary the ability of quick and easy adjustment of the output frequency in a wide range, for example, from 100 kHz to 500 MHz.

The original branded Evaluation Board costs more than 600 USD. Therefore we decided to first look for a Chinese clone of such a board and it was easily found and bought on eBay at a price of 70 USD:

AD9910 DDS Board from China

When the Chinese copy came to us, it turned out that there is no any existing software for it, and the seller could not provide for us even a connection diagram! It was sad that even an Internet search did not gave an answer on how is it to connect the Chinese board to the microcontroller. It took us for 3 full working days to redraw the circuit of this board on paper. This task was complicated by the fact that the board was of black color and the printed conductors were very poorly visible on it.

After the circuit was composed and before the first start-up, we decided to measure and check the ratings of some elements that caused us a suspicion and it turned out that elements with incorrect ratings were installed in the PLL Loop Filter circuit. We had to recalculate them according to the datasheet for the AD9910 (p. 26) and replace them with the correct ones. Upon further inspection of the Chinese board, it turned out that there were short circuits between several AD9910 legs (made by the Chinese worker during the assembly of this board), and one leg was not soldered at all. Naturally, all these shortcomings had to be eliminated before the first start-up.

Next came the stage of connecting to the microcontroller. In order not to create unnecessary difficulties when programming as a controller for controlling the AD9910, we chose the Arduino Mega. But since the ATmega2560, which is installed on the Arduino Mega, has signal levels of 5 Volts, and the AD9910 has 3.3 Volts, it had to also connect an additional level converter for 32 channels.

After that it had to study the datasheet for the AD9910 and write a control program. And only after that it was possible to turn on this whole circuit and measure the output signal. It is better to do all this with a spectrum analyzer. When we turned on the spectrum analyzer, we were unpleasantly surprised at how terrible everything was:

Spectum for DDS AD9910 board from China

Comparison Our GRA & AFCH DDS9910 Board vs China board

There were a lot of harmonics and spurious on the screen, and their level reached -25 dBm! And this is despite the fact that according to the documentation by Analog Devices to AD9910 the level of harmonics should not exceed -60 dBm. This was already enough to understand that nothing good would come out of using this board as a heterodyne for an SDR receiver. But we decided on practice to make sure on how badly everything will be.

To receive the signal, we used a receiver based on the IC MC3362, and fed the RF signal from the DDS AD9910 to the heterodyne input of the MC3362, and the Yaesu VX-6R radio station was used as a transmitter. But despite the high-quality transmitter, we could not hear anything except noise and screeching.

Therefore, we set a goal to create a generator with the characteristics declared in Datasheet and Applications Notes to the AD9910 in the form of a Shield for Arduino, that is, with the ability of connection without extra wires and external peripheral circuits, such as level converters.

Upon creating such Shield, we strictly adhered to all the recommendations from the manufacturer, and did some things even better. Here is an incomplete list of the main technical solutions that allowed us to achieve a good result at the end:

  • In accordance with the recommendation from Analog Devices, we used a 4-layer board, not a 2-layer one, as the Chinese did to reduce the cost of production.
  • Analog Devices recommends making separate or separate the power lines of analog circuits and digital ones with FB (Ferrite Beads), but we did even better: each power circuit is stabilized with a separate LDO (Low-Dropout Regulator) stabilizer and separated with FB.
  • The power scheme itself was implemented in such a way that the device could be powered from both USB and an external 7 volt power source. IMPORTANT: not to use an external power source with a voltage above 7 volts, since the DDS is powered by linear stabilizers with a low level of ripples, but they can fail due to overheating if they are powered with a voltage above 7 volts. It is thanks to the correct wiring of the board, the presence on the board of high-quality stabilizers, tantalum capacitors and common capacitor with capacity of 1000 uF, that the DDS core could be overclocked to 1.5 GHz and this is with powered by USB!
  • We found out that one of the reasons for the appearance of a large number of harmonics on the Chinese board is the DDS clock generator. The Chinese used a generator with a TTL output of 3.3 Volts. Such generator produces a rectangular signal with an infinite number of harmonics. Therefore, we used a generator with a clipped sine TCXO, since it has a minimal spectrum. And besides, it is more stable compared to the TTL generator.
  • The next problem with the Chinese board was that when clocked from an external source, the input signal passed through an ordinary jumper, which is intended only for transmitting a low-frequency signal, but not for a signal with a frequency of 1 GHz! Therefore, for switching clock sources, we use feed-through capacitors that needs to be soldered to the appropriate place to connect the desired clock source.
  • We connect all clock sources (except crystal) through balun in order to eliminate possible common-mode interference.
  • We installed an output transformer on the +IOUT/-IOUT outputs of the AD9910 to suppress even harmonics and increase the output signal level by 3 dBm.
  • We used the output filter already on the 7-th order, it was calculated and modeled in the AWR Microwave Office program, and the design and layout of the PCB section for this filter were taken from Application Notes AN-837 from Analog Devices.

In total, at this moment, the device has the following view:

  • Form factor of Shield for Arduino Mega.

DDS9910 as Arduino Shield

  • Two high-speed level converters are installed on the board, which (in addition to control via the SPI bus) allows controlling DDS via parallel interface. Thus enables usage of all functions without unnecessary wires and connecting external circuits.
  • The Shield is equipped with a 0.96” detachable OLED Display.
  • There are 3 buttons on the device for control and navigation in the menu.

The software part of the device allows to configure and save the following parameters in non-volatile EEPROM memory:

  • The output signal frequency from 100 kHz to 450 MHz (600 MHz during overclocking 1.5Ghz) with increment of 1 Hz.
  • The amplitude of the output signal from 0 to -84 dBm (or from +4 when setting the DAC Current HI).
  • Perform AM (Amplitude Modulation) with adjustment:
  • frequency modulation from 10 Hz to 100 kHz.
  • depths of modulation from 0% to 100%.
  • Produce FM (Frequency Modulation) with adjustment:
  • frequency modulation from 10 Hz to 100 kHz.
  • deviations from 0 Hz to 100 kHz.
  • Select the clock source (XO, TXCO or external) and its frequency:
  • Overclock (adjust the core frequency) from 1000 MHz to 1500 MHz.

We took measurements of two boards and compared their readings:

Code

Schematics

block diagram
Pcb shield dds9910 v1 1 1200x860 mv6fawkmzq (1) yhgogbpwmp
Arduino Sketch for AD9910 DDS Arduino Shield

Comments

Similar projects you might like

Signal Generator with Arduino Using DDS and Pico

Project tutorial by pokitMeter

  • 14,127 views
  • 1 comment
  • 11 respects

DIY Safe using Pattern lock Shield

Project showcase by Mahmoud Ahmed

  • 2,465 views
  • 0 comments
  • 15 respects

Programming Learning Shield

Project showcase by Nicole J.

  • 1,396 views
  • 2 comments
  • 3 respects

Connect to Blynk using ESP8266 as Arduino Uno wifi shield

Project tutorial by Nolan Mathews

  • 89,099 views
  • 12 comments
  • 62 respects
Add projectSign up / Login