Testing and research of high-performance DAC chips based on FPGA

Publisher:闪耀的星空Latest update time:2011-03-30 Source: 维库Keywords:FPGA  DAC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
As a bridge between digital and analog systems, D/A converters are not only required to be fast and sensitive, but also to meet system requirements in terms of linearity error, signal-to-noise ratio, and gain error [1]. Therefore, studying the test methods of DAC chips is of great significance to the development of high-speed and high-resolution DAC chips.

At present, the Waveform Measurement and Analysis Association has proposed the technical standard IEEE Std.1057 for DAC testing. The terms and test methods in it provide more references for DAC testing. Traditional standard testing is only suitable for test instruments such as signal generators and oscilloscopes, but the test accuracy is not high; large-scale chip testing uses automatic test equipment (ATE), but the cost is very high; recently proposed DAC test methods, such as combining V777 digital test system to perform DAC testing, applying analog filters to perform audio DAC testing, using digital-analog mixed signal test system Quartet to test high-speed DAC, etc. [5], these methods cannot meet the requirements of versatility, accuracy and cost at the same time. In order to meet the above requirements, a high-performance DAC chip loop test method based on FPGA is proposed.

1 DAC main technical parameters

The main technical parameters of DAC can basically be divided into static characteristic parameters and dynamic characteristic parameters. The static characteristic parameters of DAC are used to determine the accuracy of its conversion, mainly including offset error (Offset Error), gain error (Gain Error), integral nonlinear error (INL) and differential nonlinear error (DNL). The dynamic characteristic parameters of DAC are used to determine its performance under AC conditions, mainly including signal-to-noise ratio (SNR), signal-to-noise and distortion ratio (SINAD), effective number of bits (ENOB), total harmonic distortion (THD), and spurious-free dynamic range (SFDR).

2 Test plan

2.1 Design Principles

The DAC chip parameter loop test method is to form a complete signal loop with the signal to be tested. First, the signal to be tested is generated by FPGA, which is converted into an analog signal after passing through the DAC chip, and then converted into a digital signal after filtering, amplification circuit and ADC chip, and stored in the RAM of FPGA. Then, the data is taken out using the QuartusII software Signal tap II tool. After importing it into Matlab software, the digital signal can be analyzed and calculated to obtain the technical parameters of DAC [6]. Before ADC sampling, an analog signal receiver, such as an oscilloscope, spectrum analyzer, etc., can be used to compare and analyze with the back-end test results. The design principle is shown in Figure 1.

Since FPGA is very flexible to use, different circuit functions can be generated by configuring different programming data, and parameter tests can be performed on DAC chips with different resolutions and sampling speeds; filtering and operational amplifier circuits reduce the noise of signals during conversion and transmission as much as possible; digital signals are more accurate than analog signals in analysis and calculation, ensuring the accuracy of the test system; compared with other DAC test systems, this test solution uses fewer components and has a lower cost.

Design Principle

Figure 1 Design principle

2.2 Hardware Implementation

The DAC uses a DAC chip with 12-bit resolution and 250 Ms/s sampling speed. The chip adopts key technologies such as LVDS differential circuit, PTAT reference source and 4+4+4 current source array, which can meet the requirements of high-speed and high-resolution conversion circuit processing. The FPGA is the EP3C25Q240C8 chip of the Cyclone III series of Altera Company. It has low power consumption, strong system integration capability and low price. It contains 24* logic units, 594 Kbit memory space and 4 phase-locked loops. The hardware resources can fully meet the test requirements [8]. The ADC is the LTC2242-12 chip of LINEAR Company. It has very good AC characteristics and reduces the error caused by the test system. The operational amplifier is the AD8008 chip of ADI Company. The very good driving characteristics ensure the quality of the output signal of the DAC chip and improve the driving ability of the DAC.

2.3 Software Design

The software code is implemented in the hardware description language Verilog. The signals to be tested generated by FPGA include Test (all zeros, all ones, etc.), Ladder (step wave) and Sin (sine wave). The Test signal is used to test the static characteristic parameters of the DAC chip, the offset error and gain error, the Ladder signal is used to test DNL and INL, and the Sin signal is used to test the dynamic characteristic parameters SNR, SINAD, ENOB, THD and SFDR.

The data analysis and calculation process is mainly realized by Matlab software. The DAC chip inputs all-zero and all-one signals to calculate the offset error and gain error; when using step wave signals to test INL and DNL, ​​in order to test the accuracy, the 12-bit input data is divided into four bits of high, medium and low for testing. The dynamic characteristic parameter test of DAC adopts the fast Fourier transform method. The data taken out by the Signal tap II tool is subjected to FFT and other operations to obtain dynamic characteristic parameters such as SNR, SINAD, ENOB, THD and SFDR, which can fully reflect the dynamic characteristics of DAC, here accurate to the 14th order harmonic.

3 Test Results

Test signal test: The output voltage of the DAC in the all-one input state is 760 mV, and the output voltage in the all-zero input state is 276 uV. After Matlab calculation, the offset error is 0.036% and the gain error is 3.63%.

Ladder signal test: When calculating INL and DNL, ​​the test principle of the four bits of DAC input, high, medium and low is the same. The middle four bits are used as an example. n=12, i changes from 24 to 28 bits, represented by 1LSB, and the 15-step ladder wave output is measured and converted into voltage values. Some data are shown in Table 1. Each column of data represents the order, the minimum test value, the maximum test value, the average test value, the ideal value, and the final voltage value after considering the influence of small current. After using Matlab software to analyze the data, the INL and DNL curves are shown in Figures 2 and 3.

Table 1 15-step wave voltage value

15th step wave voltage value

INL analysis curve

Figure 2 INL analysis curve

DNL analysis curve

Figure 3 DNL analysis curve

Sin signal test: The input sine wave frequency is 25 kHz, the AD sampling rate is 100 MHz/s, and the output digital signal is analyzed and calculated by Matlab. The measured SNR is 58 dB, SINAD is 57.75 dB, SFDR is 62.84 dB, THD is 58.62 dB, and ENOB is 9.3 bits. The time domain waveform and the spectrum of the 14th order harmonic after FFT transformation are shown in Figures 4 and 5.

Sin signal output time domain waveform

Figure 4 Sin signal output time domain waveform

Sin signal output frequency domain waveform

Figure 5 Sin signal output frequency domain waveform

4 Conclusion

Taking a 12-bit, 250 Ms/s DAC chip as an example, the loop test method based on FPGA was used to test its static characteristic parameters and dynamic characteristic parameters. The experimental results show that the static characteristic parameters and dynamic characteristic parameters of the DAC chip can be effectively tested. At the same time, DAC chips with different resolutions and sampling speeds can be tested. The test results are more accurate than those of ordinary analog test instruments, and the test system is less expensive than dedicated DAC automatic test equipment.


Keywords:FPGA  DAC Reference address:Testing and research of high-performance DAC chips based on FPGA

Previous article:Design of Partial Response CPM Signal Demodulator Based on FPGA
Next article:Design of IEEE-1394b Bidirectional Data Transmission System Based on FPGA

Recommended ReadingLatest update time:2024-11-16 21:53

FPGA Implementation of Digital Frequency Signal Correction
0 Introduction In a radio receiver system, the signal received by the receiver often experiences frequency offset due to the influence of factors such as the motion of the transmitter, the motion of the receiver, and the dynamic change of the standard frequency over time, so frequency offset correction is r
[Embedded]
FPGA Implementation of Digital Frequency Signal Correction
MAX1220 Multichannel ADC/DAC with FIFO, Temperature Sensor, and GPIO Ports
 The MAX1220/MAX1257/MAX1258 integrate a 12-bit, multichannel analog-to-digital converter (ADC) and a 12-bit, octal digital-to-analog converter (DAC) on a single IC. These devices also include a temperature sensor, configurable general-purpose I/O ports (GPIOs), and a 25MHz SPI™/QSPI™/MICROWIRE™-compatible serial inte
[Analog Electronics]
MAX1220 Multichannel ADC/DAC with FIFO, Temperature Sensor, and GPIO Ports
Application of AD977A in EEG signal acquisition system
Preface EEG (Electroencephalography) is a spontaneous potential activity generated by brain nerve activity and existing in the central nervous system, which contains rich brain activity information. It is an important means of brain research, physiological research and clinical brain disease diagnosis. Reco
[Analog Electronics]
Eliminate noise interference using signal averaging technology
    Many high-speed data acquisition applications, such as LiDAR or fiber optic testing, require the acquisition of small repetitive signals from noisy environments. Therefore, the biggest challenge in the design of data acquisition systems is how to minimize the impact of noise. Using signal averaging technology, you
[Embedded]
Eliminate noise interference using signal averaging technology
Implementing DisplayPort with FPGA
At the Consumer Electronics Show in January, several of the industry's leading flat-panel TV and display technology companies announced high-definition 3D TVs and stunning 4K x 2K LCD displays that will dramatically increase the amount of data that needs to be exchanged between TVs, displays and other electronic device
[Embedded]
Implementing DisplayPort with FPGA
Design and implementation of a large-capacity FPGA with 6.8 billion transistors
Not long ago, Xilinx launched the industry's largest programmable logic device, the Virtex-7 2000T  FPGA , and began to supply it to customers. The Virtex-7 2000T has 6.8 billion transistors and 2 million logic cells, equivalent to a 20 million-gate ASIC. This is also Xilinx's first FPGA that uses the unique stack
[Power Management]
Design and implementation of a large-capacity FPGA with 6.8 billion transistors
Design of FPGA EDM pulse power supply (intelligent pulse power supply)
Discrete components circuits design is complex and circuit debugging is difficult. The pulse power supply based on single-chip microcomputer or 32-bit embedded CPU has greatly improved performance and is highly intelligent, but its portability is not good for different processors, and once the
[Analog Electronics]
Design of FPGA EDM pulse power supply (intelligent pulse power supply)
Design using FPGA and structured ASIC
Because structured ASIC has the characteristics of low unit cost, low power consumption, high performance and fast turnaround, more and more advanced system design engineers are considering adopting it. In structured ASICs, functional resources such as general-purpose logic gates, memory, phase-locked loops, and I/O c
[Embedded]
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号