Briefly describe the principle of DDS and its implementation based on FPGA

Publisher:polkmmLatest update time:2011-12-27 Source: 互联网Keywords:FPGA Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
DDS, like DSP (digital signal processing), is a key digital technology. DDS is the abbreviation of Direct Digital Synthesizer. Compared with traditional frequency synthesizers, DDS has the advantages of low cost, low power consumption, high resolution and fast conversion time. It is widely used in the fields of telecommunications and electronic instruments and is a key technology for achieving full digitalization of equipment. In test applications in various industries, signal sources play an extremely important role. However, there are many different types of signal sources, and different types of signal sources have different functions and characteristics, and are suitable for many different applications. At present, the most common types of signal sources include arbitrary waveform generators , function generators , RF signal sources, and basic analog output modules . The use of DDS technology in signal sources has gradually become a mainstream practice in the current test and measurement industry. Using it to design a DDS circuit that meets your needs is a good solution.

1 Basic Principles of DDS

The main idea of ​​DDS is to synthesize the required waveform based on the concept of phase. Its structure consists of five parts: phase accumulator, waveform memory , digital-to-analog converter , low-pass filter and reference clock. Its basic principle block diagram is shown in Figure 1.



In summary, when the sampling frequency is constant, the frequency of the obtained discrete sequence can be controlled by controlling the frequency control word K, and the analog signal of this frequency can be uniquely restored after holding and filtering.

2. Solution of DDS based on FPGA technology

FPGA (Field-Programmable Gate Array ), which is a field-programmable gate array , is a product that is further developed on the basis of programmable devices such as PAL, GAL, CPLD, etc. It emerged as a semi-custom circuit in the field of application-specific integrated circuits ( ASIC ), which not only solves the shortcomings of custom circuits, but also overcomes the shortcomings of the limited number of gate circuits of the original programmable devices. FPGAs are generally slower than ASICs (application-specific integrated circuits ), cannot complete complex designs, and consume more power. However, they also have many advantages such as fast production, can be modified to correct errors in the program, and cheaper costs. Manufacturers may also provide cheap but poorly editable FPGAs. Because these chips have relatively poor editability, the development of these designs is completed on ordinary FPGAs, and then the design is transferred to a chip similar to ASIC. Another method is to use CPLD (complex programmable logic device ).

The basic working process of implementing DDS with FPGA is: the generated data is stored in the fixed data RAM through the VXI interface circuit, and then the phase accumulator designed by FPGA is used to calculate and select the data storage address in the RAM, and finally the frequency control word given by the data is output, and the arbitrary waveform output is realized through DAC conversion. The schematic diagram is shown in Figure 2. The dotted line part can be implemented by FPGA.


The reference clock in Figure 2 is generated by a highly stable crystal oscillator , which is mainly used to control the synchronous operation of each device in the DDS. The dotted part is equivalent to the phase accumulator, which is composed of an N-bit adder and an N-bit phase register. It is actually a counter . For each clock pulse, the adder adds the phase increment data with the accumulated phase data output by the phase register, and sends the result of the addition to the data input of the phase register. The phase register feeds back the new phase data generated by the adder after the previous clock to the input of the adder, so that the adder continues to add with the frequency control word under the action of the next clock. From this point of view, the phase accumulator accumulates the frequency control word once for each clock pulse input, and the data output by the phase accumulator is the phase of the synthesized signal. The overflow frequency of the phase accumulator is the signal frequency output by the DDS.

3 Conclusion

Using FPGA to design DDS circuits gives full play to the advantages of FPGA in system programmability. The relevant parameters can be flexibly changed through software, which brings a lot of convenience to the design. Using FPGA to design DDS circuits is more flexible than using dedicated DDS chips. As long as the ROM data in the FPGA is changed, the DDS can generate the required waveform data, and the function of the FPGA depends entirely on the design needs, so it has considerable flexibility. Embedding the DDS design into the system composed of FPGA chips will not increase the system cost much. Therefore, using FPGA to design DDS systems has a high cost-effectiveness.

Keywords:FPGA Reference address:Briefly describe the principle of DDS and its implementation based on FPGA

Previous article:Design and implementation of MⅢ bus conversion board based on FPGA and RS422
Next article:Design and Research of Arbitrary Waveform Generator Based on FPGA

Recommended ReadingLatest update time:2024-11-16 17:42

Realization of Parallel Communication between ARM9 and FPGA
Parallel port communication is the most commonly used basic function. There are two ways to realize parallel port communication between ARM9 and FPGA. One is quite clever, using SMC (Static Memory Controller), in which the enable points can be easily controlled through registers; the other way is to complete it throug
[Microcontroller]
Circuit design of a portable ECG signal acquisition system
Abstract: Aiming at the requirements of small size and high performance of portable ECG acquisition circuit, an acquisition circuit consisting of preamplifier circuit, passive high-pass filter, second-order low-pass filter, notch filter and secondary amplifier circuit is designed with AD620 and TL064 as the core. Th
[Test Measurement]
Circuit design of a portable ECG signal acquisition system
FIFO design scheme and its application based on FPGA
introduction When using DSP to realize real-time video tracking, a large amount of high-speed image acquisition is required. However, the FIFO built into the DSP itself is not enough to support the temporary storage of a large amount of data in the system, which requires a large intermediate cache. However,
[Embedded]
FIFO design scheme and its application based on FPGA
FPGA+MCU to realize VGA image signal generator
  1 Introduction   VGA (Video Graphics Array) is a standard display interface that has been widely used in the video and computer fields. VGA image signal generator is a common instrument used by TV stations, TV manufacturers, and TV maintenance personnel. Its main function is to generate standard image test signals
[Microcontroller]
FPGA+MCU to realize VGA image signal generator
Real-time dual-mode video tracking device based on multiple DSPs and FPGAs
1. Introduction With the rapid development of modern high-speed processors, image processing technology has become increasingly mature. Among them, video detection and tracking of mobile targets is an important field of image processing and analysis applications, and is the current research frontier in rela
[Embedded]
Real-time dual-mode video tracking device based on multiple DSPs and FPGAs
Network-on-chip system hardware platform based on FPGA and ARM9
 The development of IC manufacturing technology is driving the chip towards higher integration, so that the entire system can be designed into a single chip to form a system on chip (SoC). SoC adopts a global synchronous shared bus communication structure. Due to the exclusivity of the devices hanging on the bus during
[Microcontroller]
Network-on-chip system hardware platform based on FPGA and ARM9
Powering FPGAs with LM201xx PowerWise® Synchronous Buck Regulators
The LM201xx PowerWise® synchronous buck regulators are feature-rich devices that deliver up to 5A of continuous output current. The devices operate from an input voltage range of 2.95V to 5.5V and can convert output voltages as low as 0.8V. Integrated low source-drain on-resistance (RDSON) FETs provide a very efficient
[Power Management]
FPGA Implementation Method of Laplace Operator
introduction In image processing systems, it is often necessary to pre-process images. Due to the large amount of data required for image processing, it is usually difficult to meet the real-time requirements of systems with high real-time requirements by using software. As a design environment for programm
[Embedded]
FPGA Implementation Method of Laplace Operator
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号