Direct digital synthesis

Direct digital synthesis

Direct Digital Synthesis (DDS) is an electronic method for digitally creating arbitrary waveforms and frequencies from a single, fixed source frequency.

Overview

A basic DDS circuit consists of an electronic controller, a random-access memory, a frequency reference (usually a crystal oscillator), a counter and a digital-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 generators, mixers, modulators, 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.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Direct Digital Synthesis — Die Direct Digital Synthesis oder direkte digitale Synthese (kurz DDS) ist ein Verfahren in der digitalen Signalverarbeitung zur Erzeugung periodischer, bandbegrenzter Signale mit praktisch beliebig feiner Frequenzauflösung. Das Verfahren stellt… …   Deutsch Wikipedia

  • Direct digital synthesizer — A DDS function generator. Direct Digital Synthesizer (DDS) is a type of frequency synthesizer used for creating arbitrary waveforms from a single, fixed frequency reference clock. Applications of DDS include: signal generation, local oscillators… …   Wikipedia

  • Digital Down Converter — Blockschaltbild eines DDC …   Deutsch Wikipedia

  • Digital Up Converter — Ein Digital Up Converter, kurz DUC, ist eine elektronische Schaltung die ein digitales Basisbandsignal in ein digitales Bandpasssignal umsetzt. DUC Das digitale Basisbandsignal hat typischerweise eine sehr niedrige Abtastrate, meist die der… …   Deutsch Wikipedia

  • Wavetable synthesis — is a technique used in certain digital music synthesizers to implement real time additive synthesis and direct digital synthesis with a minimum of hardware. The technique was first developed by Wolfgang Palm in the late 1970s, and has since been… …   Wikipedia

  • Digital filter — A general finite impulse response filter with n stages, each with an independent delay, di, and amplification gain, ai. In electronics, computer science and mathematics, a digital filter is a system that performs mathematical operations on a… …   Wikipedia

  • Comparison of analog and digital recording — This article compares the two ways in which sound is recorded and stored. Actual sound waves consist of continuous variations in air pressure. Representations of these signals can be recorded using either digital or analog techniques. An analog… …   Wikipedia

  • High-level synthesis — (HLS), sometimes referred to as C synthesis, electronic system level (ESL) synthesis, algorithmic synthesis, or behavioral synthesis, is an automated design process that interprets an algorithmic description of a desired behavior and creates… …   Wikipedia

  • Wave field synthesis — (WFS) is a spatial audio rendering technique, characterized by creation of virtual acoustic environments. It produces artificial wave fronts synthesized by a large number of individually driven speakers. Such wave fronts seem to originate from a… …   Wikipedia

  • Frequency synthesizer — A frequency synthesizer is an electronic system for generating any of a range of frequencies from a single fixed timebase or oscillator. They are found in many modern devices, including radio receivers, mobile telephones, radiotelephones, walkie… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”