A signal generator for high-precision ADC on-chip testing

Publisher:caijtLatest update time:2011-02-20 Source: 现代电子技术 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

0Introduction

With the advancement of technology and the continuous development of deep submicron integrated circuit technology, the integration of chips is getting higher and higher, and the scale of chips is getting larger and larger. In various chip application fields such as wireless communication and image processing, more and more system-on-chips (SoCs) choose to integrate analog circuit modules and digital circuit modules with different functions into the same chip, so as to achieve the best performance of the entire system while minimizing the cost. However, this has brought unexpected difficulties to chip testing and greatly increased the testing cost. As a bridge connecting digital systems and analog systems, ADC testing is particularly important. With the continuous improvement of ADC performance, the external environment of the chip has also become the main obstacle to ADC testing. In order to solve the above problems and more accurately test the real performance of ADC when it is integrated into SoC as an IP core, various ADC built-in self-test (Built-In-SelfTest) methods have emerged. How to accurately and efficiently provide test excitation for ADC built-in self-test is a very critical issue. This paper proposes a method for implementing a triangle wave signal generator that can be used for ADC on-chip testing. The generated triangle wave has very good linearity and can meet the test requirements of 14b high-precision ADC. The entire design is implemented using UMC 0.18μm CMOS technology with a power supply voltage of 1.8V.

1 Design Constraints of Triangle Wave Signal Generator

The code density histogram test method is based on statistics. When using this method to test the static characteristics of the ADC, the test excitation added must be as close to the ideal as possible. In this article, it is necessary to obtain a precise triangle wave as much as possible. If the obtained triangle wave signal has nonlinearity or gain error, then the histogram distribution of the measured code element will be uneven when the signal is used to test an ideal ADC (as shown in Figure 1). This unevenness comes from the error of the test excitation itself, so the integral nonlinearity (INL) and differential nonlinearity (DNL) of the ADC measured by this method introduce errors. In this way, the accuracy of the test results depends largely on the accuracy of the added triangle wave signal. Therefore, when designing a triangle wave generator, the linearity and amplitude of the required triangle wave generator must be determined based on the performance indicators of the ADC being tested. The triangle wave signal generator designed in this article must meet the test requirements of an ADC with an accuracy of 14b, so its accuracy requirement must not be less than 16b.

Histogram distribution of code elements

2 Principle of triangle wave signal generator

The principle of generating a triangular wave signal is to charge the capacitor with a constant positive current to obtain a uniformly rising ramp voltage. When the voltage rises to a certain value, a constant negative current is used to discharge the capacitor to obtain a uniformly falling ramp voltage. By alternating the positive and negative currents to charge and discharge the capacitor, a continuous triangular wave voltage signal can be obtained. The rising and falling slopes are determined by the ratio of the positive and negative currents to the capacitors I/C. In order to meet the requirements of ADC testing, the triangular wave signal should have good linearity and a low slope, which requires a precise small current and a large capacitor.

Figure 2 describes the principle of the triangle wave signal generator. In the figure, the operational amplifier, resistor R, and capacitor C form a square wave integrator; the comparator, resistor R1, and resistor R2 form a hysteresis comparator as a feedback control circuit. The working process of the circuit is as follows:

Principle of triangle wave signal generator

(1) When the comparator output level is low level VomL, capacitor C is in the charging state, and Vout continues to rise. When the value of Vout rises to make the voltage at the positive input terminal of the comparator higher than Vref, the comparator output flips and outputs high level VomH. At the same time, the current direction changes, and capacitor C enters the discharging state;

(2) When the comparator output level is high level VomH, capacitor C is in the discharge state, and Vout continues to decrease. When the value of Vout drops to the point where the voltage at the positive input of the comparator is lower than Vref, the comparator output flips and outputs low level VomL. At the same time, the current direction also flips, and capacitor C enters the charging state.

(3) Such cyclic oscillation generates a periodic continuous triangular wave voltage signal.

The threshold voltage of the output triangular wave voltage signal Vout is:

Threshold voltage

Where: Vref is the reference voltage of the negative terminal of the comparator; VomH and VomL are the high and low levels of the comparator output respectively.

The comparator output is high

From the above formula, we can see that the period T is determined by the RC constant, the peak-to-peak value Vout.pp and the high and low levels VomH and VomL of the comparator output. [page]

3 Specific circuit design and implementation

3.1 Operational Amplifier Design

The operational amplifier is a key part of the entire circuit structure, which directly determines the linearity and linear output range of the triangle wave signal generator. The operational amplifier, resistor R, and capacitor C form an integration circuit. Its main function is to keep the level at one end of the integration capacitor C stable, which requires the operational amplifier to have a higher gain; at the same time, in order to make the linear output range of the triangle wave signal generator as large as possible, the operational amplifier is required to have a larger output swing.

The operational amplifier in this article adopts a two-stage structure, as shown in Figure 3. Among them: the input stage adopts a sleeve cascode structure with a gain bootstrap circuit, including a main operational amplifier and an auxiliary operational amplifier. The main operational amplifier adopts a sleeve cascode structure with NMOS input, which has high gain, low power consumption and good frequency characteristics. The auxiliary operational amplifiers OP1 and OP2 are folded cascode fully differential structures with PMOS input and NMOS input, respectively, to further improve the gain of the operational amplifier. The second stage adopts a common source structure to improve the disadvantage of the small output swing of the sleeve cascode structure, and can also improve the open-loop gain of the operational amplifier to a certain extent. The increase in the number of stages will also introduce new zeros and poles, which will affect the stability of the operational amplifier. Therefore, compensation capacitor C must be added to ensure that the phase margin meets the requirements.

The operational amplifier adopts a two-stage structure

The AC amplitude-frequency and phase-frequency characteristics of the operational amplifier obtained by Spectre simulation are shown in Figure 4. Table 1 summarizes the basic performance parameters of the operational amplifier.

Phase-frequency characteristics

3.2 Hysteresis Comparator Design

The hysteresis characteristic of the hysteresis comparator is the result of the introduction of positive feedback in the comparator. The hysteresis comparator has two input thresholds. When the input voltage passes through one of the thresholds, the output voltage will change, and the input threshold will jump to another value. To change the output again, the input must reach the threshold after the jump. At the same time as the output changes, the threshold will jump back to the original value. The hysteresis comparator circuit and input-output characteristic curve used in this article are shown in Figure 5.

Characteristic curves

The two input thresholds are:

Input Threshold

The comparator circuit in the hysteresis comparator is implemented with a two-stage open-loop op amp. Since the comparator back stage is a 2mΩ resistor, the comparator output stage resistance must be low enough to prevent the comparator output voltage from failing to reach the power supply voltage and ground voltage due to resistor voltage division. Therefore, an inverter chain with a large width-to-length ratio is added after the two-stage open-loop op amp to obtain a lower output resistance, as shown in Figure 6.

Open loop amplifier [page]

4 Simulation Results

The overall circuit of the triangle wave signal generator is simulated at the transistor level. The simulated triangle wave voltage signal range is 82mV to 1.719V, and the period is 366μs, as shown in FIG7 .

Transistor-level simulation

The triangle wave signal is sampled for multiple cycles, and the three voltage ranges of 0.1-1.7V, 0.2-0.6V, and 0.3-1.5V are quantized and converted using the 16b ideal ADC, and the corresponding code density histogram analysis is performed to obtain the respective DNL and INL, as shown in Figure 8. As can be seen from Figure 8, for the quantization of the 16b ideal ADC, the INL of these three different voltage ranges is below 1LSB (equivalent to INL < 24μV), which can meet the test of the static characteristics of the 14b ADC.

Respective DNL and INL

5 Conclusion

This paper designs a high-precision and high-linearity analog triangle wave signal generator for high-precision ADC on-chip testing, which can provide effective excitation for on-chip testing of ADC static parameters up to 14b. The simulation results show that the triangle wave voltage signal generated by the signal generator ranges from 82mV to 1.719V, the period is 366μs, INL<24μV, and the equivalent accuracy reaches more than 16b. Its amplitude and frequency can be adjusted according to specific design requirements, and its linearity is good, which can meet the test requirements of 14b high-precision ADC static parameters.

Reference address:A signal generator for high-precision ADC on-chip testing

Previous article:10GBASE-T Ethernet Signal Integrity Measurement Solution
Next article:Interference problems caused by poor power grounding on oscilloscope testing

Recommended ReadingLatest update time:2024-11-16 19:40

STM32 multi-channel ADC rule conversion implementation
vu16 ADC_RCVTab ;      // add it yourself int main(void) { #ifdef DEBUG    debug(); #endif      RCC_Configuration();      NVIC_Configuration();      GPIO_Configuration();    LcdShow_Init();      RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); //Enable DMA clock    DMA_DeInit(DMA1_Channel1);
[Microcontroller]
How is the data of each ADC defined in the memory of stm32 multi-channel ADC+DMA?
#define N 50 //50 samples per channel #define M 7 //7 channels uint32_t ADC_ConvertedValue ; DMA_InitStructure.DMA_MemoryBaseAddr = (u32)&ADC_ConvertedValue; DMA_InitStructure.DMA_BufferSize = N*M; //DMA channel DMA buffer size Here DMA knows to put data into ADC_ConvertedValue and the SIZE of the buffer. When the
[Microcontroller]
Insights on STM32 internal ADC accuracy
        According to the technical manual provided by ST, the ADC parameters of STM32F103 are quite excellent, with a sampling rate of up to 1MHz, 12Bit, and various errors are also lower than those of mid- and low-end dedicated ADC chips.        However, in actual use, it is quite different from what is described in
[Microcontroller]
Accuracy Calibration of TMS320C28x ADC
introduction: The TMS320F2812 has an internal integrated ADC conversion module. The ADC module is a 12-bit, pipelined analog-to-digital converter with a built-in dual sample-and-hold (S/H) and multiplexed 16-channel inputs. The fast conversion time runs at 25 MHz, ADC clock or 12.5 Msps, and
[Embedded]
Accuracy Calibration of TMS320C28x ADC
ADC effective bit specification and oscilloscope system effective bit
There are many key indicators to measure the quality of an oscilloscope test system, and the "effective number of bits" is crucial to understanding the entire measurement system. This article will discuss the oscilloscope effective bit ENOB, and the impact of ENOB on actual signal testing, and combine it with practica
[Test Measurement]
ADC effective bit specification and oscilloscope system effective bit
How to implement PWM output and ADC sampling within a cycle in stm32
1. Set TIM1 channel 1 to PWM mode, channel 3 to Timing mode, and allow TIM_IT_Update and TIM_IT_CC3 to update interrupts; 2. There are three methods for STM32 ADC: (Sampling method three TIM8+ADC1+DMA2)     A. Use timer interrupts to perform ADC conversion at regular intervals, so that the ADC data register must be
[Microcontroller]
How to implement PWM output and ADC sampling within a cycle in stm32
ADC Peripheral Circuit Design Method
When using ADC chips, due to the diversity of ADC models, their performance has its own limitations. Therefore, in order to make the ADC adapt to the needs of the site and meet the requirements of the subsequent circuit, it is necessary to design the peripheral circuit of the ADC. The design of the ADC peripheral ci
[Analog Electronics]
iTOP-4412 development board_driver_adc driver upgrade and test routine
This document introduces the upgrade and test routines of the ADC driver of the iTOP-4412 development board. The built-in driver can only support one ADC. This article introduces how to modify the control to support 4 ADCs. 1 Hardware Introduction As shown in the figure below, this is a screenshot of the 4412 datashee
[Microcontroller]
iTOP-4412 development board_driver_adc driver upgrade and test routine
Latest Test Measurement 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号