- Direct digital synthesis
Direct Digital Synthesis (DDS) is an electronic method for digitally creating arbitrary
waveform s and frequencies from a single, fixed sourcefrequency .Overview
A basic DDS circuit consists of an electronic controller, a
random-access memory , a frequency reference (usually acrystal oscillator ), acounter and adigital-to-analogue converter (DAC). Two operating steps are required to make the device work: we shall call these "programming" and "running".Programming
In the "programming" step, the electronic controller fills the memory with data. Each
datum is a binary word representing the amplitude of the signal at an instant of time. The array of data in the memory then forms a table of amplitudes, with time implied by the position in the table. If, for example, the first half of the table were filled with zeroes and the second half with values of 100%, then the data would represent a square wave. Any other wave shape can be created simply by altering the data.Running
In the "running" step, the counter (properly called the "
phase accumulator ") is instructed to advance by a certain increment on each pulse from the frequency reference. The output of the phase accumulator (the "phase") is used to select each item in the data table in turn. Finally, the DAC converts this sequence of data to an analogue waveform.To generate a periodic waveform, the circuit is set up so that one pass through the table takes a time equal to the period of the waveform. For example, if the reference frequency is 1 MHz, and the table contains 1000 entries, then a complete pass through the table with a phase increment of 1 will take 1000 / 1 MHz = 1 ms, so the frequency of the output waveform will be 1/(1 ms) = 1 kHz.
This system can generate a higher output frequency simply by increasing the phase increment so that the counter runs through the table more quickly. In the example above, the phase increment is equal to 1, so the next possible frequency is obtained by setting the increment to 2, resulting in a doubling of output frequency. To obtain a finer control of frequency than this, the standard phase increment can be set to, say, 10. This then allows slightly higher or lower output frequencies. For example, increasing the increment to 11 would increase the output frequency by 10%, and reducing it to 9 would decrease the output frequency by the same proportion. The more precision required over the frequency, the more bits are needed in the counter.
Implementation details
Practical implementations usually set the size of the lookup table to be a power of 2 and work with 32-bit phase accumulators and phase increments. Usually the upper 8 or 10 bits of the counter are used as lookup table index (lookup table size is 256 or 1024, respectively). The remaining lower bits can be used as a parameter or index to
interpolate between the adjacent entries in the lookup table. Often linear interpolation suffices. The source frequency usually comes from a crystal of 1 MHz to 100 MHz.The highest frequency that can be generated this way depends on the size of the lookup table and the frequency. In order to generate a reasonable representation of the waveform, at least a minimum number of samples must be taken from it. If the phase increment becomes too large, then the counter would step through the lookup table too fast and the result may be a severe distortion of the output signal.
Implementations exist in both software and hardware. Due to the realtime nature of DDS, software implementations are usually limited to audio frequencies.
Applications of DDS are:
function generator s, mixers,modulator s, and sound synthesizers.ee also
*
Numerically-controlled oscillator References
Papers
*Tierney, J., Rader, C.M., and Gold, B. "A Digital Frequency Synthesizer," "IEEE Transactions on Audio and Electroacoustics" AU-19:1, March 1971, 48-56
Books
*Goldberg, Bar-Giora, "Digital Techniques in Frequency Synthesis", New York: McGraw-Hill, 1996. ISBN 0-07-024166-X
External links
*" [http://www.cs.washington.edu/homes/diorio//Talks/InvitedTalks/MTT97/index.html Direct and Indirect Frequency Synthesis in the 0.5–20GHz Frequency Range] " (Slides from a talk)
* [http://www.ieee.li/pdf/viewgraphs_dds.pdf Direct Digital Synthesis Primer (Viewgraphs)]
* [http://www.ieee.li/pdf/essay_dds.pdf Tutorial on Digital Signal Synthesis (Essay)]
* [http://www.eece.maine.edu/~sturner/sturner_phdthesis.pdf Ph.D. Thesis: "High-Speed Digital and Mixed-Signal Components for X- and Ku-Band Direct Digital Synthesizers in Indium Phosphide DHBT Technology"]
* [http://artemias.free.fr/IMG/pdf/THESE_THURIES_final.pdf Another thesis on high speed DDS (French)]
*L. Cordesses, [http://lionel.cordesses.googlepages.com/DDS1.pdf "Direct Digital Synthesis: A Tool for Periodic Wave Generation (Part 1)"] "IEEE Signal Processing Magazine, DSP Tips & Tricks column", pp. 50-54, Vol. 21, No. 4 July 2004.
*L. Cordesses, [http://lionel.cordesses.googlepages.com/DDS2.pdf Direct Digital Synthesis: A Tool for Periodic Wave Generation (Part 2)] "IEEE Signal Processing Magazine, DSP Tips & Tricks column", pp. 110-117, Vol. 21, No. 5, Sep. 2004.
Wikimedia Foundation. 2010.