on the use of an original calibration scheme. The effectiveness of the calibration procedure is

Similar documents
Optimizing Sinusoidal Histogram Test for Low Cost ADC BIST

An ADC-BiST Scheme Using Sequential Code Analysis

Modulation Based On-Chip Ramp Generator for ADC BIST

ADC Automated Testing Using LabView Software

Adaptive LUT-based System for In Situ ADC Auto-correction

Analogue Network of Converters : A DFT Technique to Test a Complete Set of ADCs and DACs Embedded in a Complex SiP or SOC

Oscillation built-in-self-test for ADC linearity testing in deep submicron CMOS technology

An 11 Bit Sub- Ranging SAR ADC with Input Signal Range of Twice Supply Voltage

SUCCESSIVE approximation register (SAR) analog-todigital

A DSP-Based Ramp Test for On-Chip High-Resolution ADC

A VCO-based analog-to-digital converter with secondorder sigma-delta noise shaping

Design Strategy for a Pipelined ADC Employing Digital Post-Correction

Chapter 3 Novel Digital-to-Analog Converter with Gamma Correction for On-Panel Data Driver

Analog to Digital Conversion

TESTING OF AN 8-BIT SIGMA DELTA ADC BASED ON CODE WIDTH TECHNIQUE USING 45nm TECHNOLOGY

An Analog Phase-Locked Loop

A Novel Method for Testing Digital to Analog Converter in Static Range

Second-Order Sigma-Delta Modulator in Standard CMOS Technology

Design of Analog and Mixed Integrated Circuits and Systems Theory Exercises

Fig. 2. Schematic of the THA. M1 M2 M3 M4 Vbias Vdd. Fig. 1. Simple 3-Bit Flash ADC. Table1. THA Design Values ( with 0.

SP 22.3: A 12mW Wide Dynamic Range CMOS Front-End for a Portable GPS Receiver

A novel implementation of the histogram-based technique for measurement of INL of LUT-based correction of ADC

A PSEUDO-CLASS-AB TELESCOPIC-CASCODE OPERATIONAL AMPLIFIER

Approaches to On-chip Testing of Mixed Signal Macros in ASICs

SAF ANALYSES OF ANALOG AND MIXED SIGNAL VLSI CIRCUIT: DIGITAL TO ANALOG CONVERTER

DAT175: Topics in Electronic System Design

LOW CURRENT REFERENCES WITH SUPPLY INSENSITIVE BIASING

Tuesday, March 22nd, 9:15 11:00

A rad-hard 8-channel 12-bit resolution ADC for slow control applications in the LHC environment

Reduction of Peak Input Currents during Charge Pump Boosting in Monolithically Integrated High-Voltage Generators

A high-efficiency switching amplifier employing multi-level pulse width modulation

Analog to Digital Converters Testing

ECEN 474/704 Lab 5: Frequency Response of Inverting Amplifiers

Chapter 6. Case Study: 2.4-GHz Direct Conversion Receiver. 6.1 Receiver Front-End Design

Analogue to Digital Conversion

Assoc. Prof. Dr. Burak Kelleci

CHAPTER. delta-sigma modulators 1.0

Modeling Gate Oxide Short Defects in CMOS Minimum Transistors

Design of a Temperature-Compensated Crystal Oscillator Using the New Digital Trimming Method

Data Conversion Techniques (DAT115)

Built-In Self-Test Methodology for A/D Converters

Correlation Between Static and Dynamic Parameters of A-to-D Converters: In the View of a Unique Test Procedure

Nonuniform multi level crossing for signal reconstruction

UNLIKE digital circuits, the specifications of analog circuits

ISSN:

RESISTOR-STRING digital-to analog converters (DACs)

Atypical op amp consists of a differential input stage,

Rail to Rail Input Amplifier with constant G M and High Unity Gain Frequency. Arun Ramamurthy, Amit M. Jain, Anuj Gupta

A 19-bit column-parallel folding-integration/cyclic cascaded ADC with a pre-charging technique for CMOS image sensors

A Low Power Small Area Multi-bit Quantizer with A Capacitor String in Sigma-Delta Modulator

A New Design Technique of CMOS Current Feed Back Operational Amplifier (CFOA)

A PIPELINE VOLTAGE-TO-TIME CONVERTER FOR HIGH RESOLUTION SIGNAL EXTRACTION OFF-CHIP

Analogue to Digital Conversion

The Design of a Two-Stage Comparator

A 24 V Chopper Offset-Stabilized Operational Amplifier with Symmetrical RC Notch Filters having sub-10 µv offset and over-120db CMRR

All-digital ramp waveform generator for two-step single-slope ADC

Final Exam Spring 2012

Design of a Folded Cascode Operational Amplifier in a 1.2 Micron Silicon-Carbide CMOS Process

Front-End and Readout Electronics for Silicon Trackers at the ILC

Comparison between Analog and Digital Current To PWM Converter for Optical Readout Systems

Low-Voltage Low-Power Switched-Current Circuits and Systems

4. Digital Measurement of Electrical Quantities

On-Chip Evaluation of Oscillation-Based-Test Output Signals for Switched-Capacitor Circuits

ALTHOUGH zero-if and low-if architectures have been

Single-channel power supply monitor with remote temperature sense, Part 1

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

AN-742 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

Enhancing Analog Signal Generation by Digital Channel Using Pulse-Width Modulation

ALow Voltage Wide-Input-Range Bulk-Input CMOS OTA

A new class AB folded-cascode operational amplifier

Application Note 80. July How to Use the World s Smallest 24-Bit No Latency Delta-Sigma TM ADC to its Fullest Potential AN80-1

A New CMOS-DC/DC-Step-Up Converter for up to 2 mw Enduring Loads

Fault Testing of Analog Circuits Using Combination of Oscillation Based Built-In Self- Test and Quiescent Power Supply Current Testing Method

Design of an Integrated OLED Driver for a Modular Large-Area Lighting System

The Design and Characterization of an 8-bit ADC for 250 o C Operation

CONTINUOUS DIGITAL CALIBRATION OF PIPELINED A/D CONVERTERS

A Novel Continuous-Time Common-Mode Feedback for Low-Voltage Switched-OPAMP

Current Rebuilding Concept Applied to Boost CCM for PF Correction

Design of Sub-10-Picoseconds On-Chip Time Measurement Circuit

Non-linear Control. Part III. Chapter 8

Chapter 13: Comparators

FPGA Based Mixed-Signal Circuit Novel Testing Techniques

The Importance of Data Converter Static Specifications Don't Lose Sight of the Basics! by Walt Kester

A Compact 2.4V Power-efficient Rail-to-rail Operational Amplifier. Strong inversion operation stops a proposed compact 3V power-efficient

A10-Gb/slow-power adaptive continuous-time linear equalizer using asynchronous under-sampling histogram

A 4 GSample/s 8-bit ADC in. Ken Poulton, Robert Neff, Art Muto, Wei Liu, Andrew Burstein*, Mehrdad Heshami* Agilent Laboratories Palo Alto, California

ABSTRACT 1. INTRODUCTION

A 12 bit 125 MHz ADC USING DIRECT INTERPOLATION

An accurate track-and-latch comparator

Final Results from the APV25 Production Wafer Testing

A 2.4 GHz to 3.86 GHz digitally controlled oscillator with 18.5 khz frequency resolution using single PMOS varactor

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

Design and Layout of Two Stage High Bandwidth Operational Amplifier

LAYOUT IMPLEMENTATION OF A 10-BIT 1.2 GS/s DIGITAL-TO-ANALOG CONVERTER IN 90nm CMOS

On-Chip Ramp Generators for Mixed-Signal BIST and ADC Self-Test

A radiation tolerant, low-power cryogenic capable CCD readout system:

THE TREND toward implementing systems with low

DESIGN OF MULTIPLYING DELAY LOCKED LOOP FOR DIFFERENT MULTIPLYING FACTORS

A Deterministic Dynamic Element Matching Approach for Testing High Resolution ADCs Using Low Accuracy DACs (Design Number: 68091)

Deep-Submicron CMOS Design Methodology for High-Performance Low- Power Analog-to-Digital Converters

Transcription:

Ref: BC.MEJ-IMST01.2 Analog Built-In Saw-Tooth Generator for ADC Histogram Test F. Azaïs, S. Bernard, Y. Bertrand and M. Renovell LIRMM - University of Montpellier 161, rue Ada - 34392 Montpellier Cedex 5 France {azais, bernard, bertrand, renovell}@lirmm.fr tel: +33 (0) 467 418 666 fax: +33 (0) 467 418 500 Abstract This paper presents an analog built-in saw-tooth generator to be used for linear histogram test of ADCs. The internal generation of a highly linear signal with precise amplitude control relies on the use of an original calibration scheme. The effectiveness of the calibration procedure is evaluated through simulations and results demonstrate that ramp signals with a linearity of 15 bits and an average slope error of 0.4% can be achieved. In addition, the proposed implementation exhibits a very low silicon area, making the generator suitable for BIST application. I. Introduction The development of CMOS technologies gives the possibility of designing high quality analog integrated circuits as well as mixed-signal integrated circuits. However, the price of an increasing number of mixed-signal devices is presently being dominated by the cost of performing production test. One important factor affecting this cost is the direct cost of the test

equipment. Indeed, the cost of mixed-signal testers is exceedingly high on account of their requirement for both digital and analog test equipment with very high-performance capabilities. An attractive alternative to simplify the test equipment is to move some or all the tester functions onto the chip itself. The use of Built-In Self-Test (BIST) for high volume production of mixed-signal ICs is desirable to reduce the cost per chip during production testing by the manufacturers. Within the past few years, analog and mixed-signal BIST have received the growing attention of industry and research community in order to alleviate increasing test difficulties. In particular, a number of papers deal with the problem of ADC and DAC testing. For mixedsignal ICs with an ADC and a DAC, many of the proposed BIST techniques uses an all-digital approach [1-3] based on a reconfiguration in test mode such that the circuit appears all digital by connecting the analog output of the DAC to the input of the ADC, possibly via some analog block under test. Another all-digital BIST approach [4-6] exploits the digital signal processing (DSP) capabilities to determine characteristic parameters of the converters. Finally, an interesting approach has been proposed more recently, which is based on a polynomial-fitting algorithm to implement DAC and ADC BIST [7]. In case of mixed-signal ICs including solely an ADC, an original approach is detailed in [8], which relies on a reconfiguration in test mode that creates oscillation in the circuit. Measurements on these oscillations guarantee some tests. Note that in this case, no generation of input stimulus is required. A more classical ADC BIST scheme implies the generation of an analog test stimulus and the digital processing of the ADC outputs. Classical digital modules such as signature analyzers, simple adders or modulo 2n adders may be used for the processing of ADC outputs. However, these classical digital compression techniques have been found inadequate due to the possible misinterpretation of the ADC responses. In addition, it is to note

that ADCs are preferably tested using a specification-oriented approach with the objective to determine parameters of interest such as offset, gain, non-linearity, signal-to-noise ratio Classical digital compression techniques do not provide any information on these parameters. A BIST module proposed in [9] partially overcomes this drawback since it permits to evaluate the converter linearity. Only the LSB is used for the determination of the linearity, the global functionality of the converter being tested with the comparison between the remaining bits and a counter clocked by the LSB. A more complete evaluation of the converter characteristics can be obtained by means of the histogram test method and BIST analyzers implementing this technique are presented in [10,11]. Concerning on-chip test stimulus generation, only a limited number of BIST solutions have been proposed. Original generators providing single or multi-tone analog signals are described in [12-14] to make frequency-domain test of converters. Time-domain testing is addressed in [15,16] with solutions for generating a precise analog ramp signal. The objective of this paper is to develop an on-chip generator dedicated to linear histogram testing of ADCs. The histogram method is one of the most popular techniques for ADC testing in the industrial context. It actually relies on probabilistic methods to deduce the behavior of the circuit under test. The basic idea behind this approach is that the probability distribution behavior of the output signal is directly related to the input probability distribution through the circuit's transfer characteristic. The histogram method therefore involves the application of a given analog signal to the ADC input and the record of the number of times each code appears on the ADC outputs. Processing the measured data against a reference histogram then permits to extract the circuit's characteristics. For instance, a uniformly distributed input signal applied to an ideal converter should produce a flat histogram, with equal count in each bin. Any count deviation then reflects a change in the code width in the transfer characteristic and can be

evaluated through appropriate computations. To achieve statistically satisfactory results, this technique requires a lot of samples. However in practice, it is difficult to collect such a high number of samples applying a single ramp test stimulus. A multi-cycle approach is usually adopted which consists in sampling several cycles of the input signal within the test interval. In particular for linear histogram testing, the input test stimulus should be either a saw-tooth or a triangle signal. It is therefore the purpose of this paper to develop an analog built-in saw-tooth generator. A drastic reduction of the testing costs would then be obtained since the ADC test can be performed on standard digital test equipment instead of a sophisticated and costly mixed-signal tester. The paper is organized as follows. Section 2 gives the generator requirements needed to ensure accurate ADC characterization in terms of signal linearity and amplitude control. The basic principles of the ramp generation are recalled in section 3 and the need of self-calibration to take into account parameter fluctuations is shown. Then our proposal for accurate selfcalibrated saw-tooth generator is described in section 4 and simulations validate the calibration procedure. Finally, the performances of the generator are analyzed and discussed in section 5. II. Generator requirements This section reviews the main requirements the test stimulus generator has to fulfil in order to achieve satisfactory test quality. One first obvious constraint concerns the silicon area since the generator has to be fabricated on the same IC as the circuit under test. The generator must occupy minimal silicon area so that the resulting overhead to the system is economically viable. The second constraint concerns the quality of the test signal. Indeed, the histogram technique relies on the fact that the probability distribution behavior of the output signal is directly related to the input probability distribution through the circuit's transfer characteristic. The ADC

characteristics are then extracted by comparison between the measured histogram and a reference histogram corresponding to the ideal input signal distribution. Obviously, the correct determination of these characteristics depends on the quality of the input signal whose probability distribution should be as close as possible to the ideal one. In particular, because Differential Non-Linearity (DNL) and Integral Non-Linearity (INL) are two key parameters of the converter measured with the histogram technique, the input signal should exhibit a quality exceeding that of the circuit under test in terms of linearity. For illustration, figure 1 compares the histogram measured through a perfect n-bit converter in case of an ideal saw-tooth signal and a degraded saw-tooth signal containing linearity errors. In the ideal case, we have a uniform distribution with an equal count for all codes, the value of this count being directly proportional to the number of samples (N) collected to build the histogram: N H ideal = n 2 In case of linearity errors included in the input saw-tooth signal, we can observe some variations in the code counts. Even if these variations are due to non-idealities of the input signal, they will be considered as linearity errors of the converter when comparing the measured histogram to the ideal reference one. Consequently, it is clear that the input signal must exhibit linearity errors much lower than the DNL and INL values to be measured for the converter under test.

Another important parameter of the input signal involved in the determination of the ADC characteristics is the amplitude of the test stimulus. Let us illustrate this point with a simple example. Ideally, the input signal should exactly cover the full scale range of the converter in order to obtain the ideal reference histogram of figure 2.a. Now if we assume a variation in the amplitude of the saw-tooth signal, for instance a reduction, we obtain the histogram of figure 2.b. This histogram shows that a fraction of the converter codes are not exercised by the input signal, resulting in a code count equal to 0. On the other hand, we still have a uniform distribution for all remaining codes, but with a higher code count. However, this histogram is very different from the ideal reference histogram demonstrating that that a reduction of the input signal amplitude will strongly affect the measurement of the ADC characteristics. In the same way, an increase in the input signal amplitude strongly impacts the resulting histogram as shown in figure 2.c. In this case, we observe a uniform distribution for all codes except the last one but with a lower code count, and a much higher count for the last code. These results clearly reveal that it is of crucial importance to be able to control the amplitude of the generated saw-tooth signal. This points out a specific requirement for the test generator in the context of a BIST solution. Because the saw-tooth signal is generated on-chip, unavoidable process variations have to be taken into account and the generator should be insensitive to these variations with regard to its amplitude. As a summary, a practical saw-tooth generator for linear histogram testing of ADCs should respect some specific test constraints. It must be capable of generating a signal with quality exceeding that of the circuit-under-test in terms of linearity and should be insensitive to process variations with regard to the signal amplitude. These two features guaranty the test quality. In addition, it must occupy minimal silicon area so that the resulting overhead to the system is economically viable.

III. Basic ramp generator III.1. Ramp generation principle A very simple approach to generate a ramp voltage consists in charging a capacitor by a constant current. The resulting voltage across the capacitor is a ramp directly proportional with time: Vout ( t I C ) = C t where C is the charging capacitor and I C the charging current. The simplified schematic of such a ramp generator is given in figure 3. It comprises in addition to the constant current source and the charging capacitor, a switch to control the duration of the ramp and a switch to initialize the structure. As an example of integrated circuit implementation, we consider the ramp generator described in figure 4. Transistor M1 is the current source, transistors M2 through M5 form a cascode current mirror, transistors M6 through M9 correspond to biasing transistors and C is the charging capacitor. Transistors M10-M11 operate as a switch to stop the charging of the capacitor when "Step" is at logic 0. Transistor M12 is used to initialize the structure at a given predetermined voltage V init, typically ground for a ramp with positive values only and a negative voltage for a symmetrical ramp around 0. As a case study, this structure has been implemented with a charging capacitor of 10pF and a charging current of 0.3µA. It allows to generate a symmetrical ramp of 3V amplitude with a duration of 0.1ms using a negative initialization voltage of -1.5V. Iterating the ramp generation process therefore should permit to generate a saw-tooth signal with a frequency around 10kHz. This corresponds to the desired input signal frequency to be applied to the ADC for performing the histogram test.

III.2. Performances of the basic ramp generator As stated in the previous section, the quality of the generated ramp is a crucial point since the ramp has to be used as test stimulus for the ADC. In particular, the generated ramp should exhibit high-linearity and precise amplitude to be used for histogram testing. So first, we determine the linearity of the generated ramp voltage. This linearity actually depends on the ability of the current source to deliver a constant current and we can expect good performance due to the use of the cascode current mirror. The basic ramp generator has been simulated using Hspice and results are detailed in figure 5 with the ramp signal along with the corresponding INL. We obtain a ramp signal of 3V amplitude with a duration of 0.1ms and we measure a maximum INL of 80µV. This corresponds to a slope distortion lower than 0.003%. The basic ramp generator therefore exhibits good linearity performance. This linearity has to be compared to the resolution of the converter to be tested. We can express the linearity of the ramp generator in terms of resolution using: Input Range INL max = 2 n We obtain a linearity higher than 15 bits for the ramp generator (considering a 3V input range). According to the requirement of at least 2-bits better resolution for the test stimulus than for the converter-under-test, the basic ramp generator is therefore suitable to test a 12-bit ADC. Then we study the sensitivity of the basic ramp generator to process fluctuations. Since the duration of the ramp is controlled by the Step signal, the ramp amplitude actually depends on the slope of the generated ramp voltage. This slope is determined by the current source and capacitor values. Hence, the slope precision just depends on the ability of precisely controlling the value of the charging current and the value of the capacitor. However, it is extremely difficult to obtain a precise control of these values due to fluctuations in the manufacturing

environment. To illustrate this point, various electrical simulations have been performed taking into account the typical and worst case models provided in a CMOS 0.6µm technology. Simulation results are summarized in figure 6. The extreme sensitivity of the structure to process variation clearly appears on these results. Indeed in the typical case, we obtain the desired ramp voltage with an amplitude of 3V for a ramp duration of 0.1ms, which corresponds to a ramp slope of 30V/ms. Looking at worst case simulation results, we observe that the final output voltage varies from 0.2V up to 2.5V, which corresponds to variations in the ramp slope as high as ±50%. This imprecision mainly comes from the uncorrelated variations of the current source and capacitor values. These results clearly demonstrate that the basic ramp generator suffers from very poor performance in terms of slope precision, which prevents its direct use as test stimulus generator for histogram testing of ADCs. IV. Calibrated saw-tooth generator IV.1. Principle In order to correct the inaccuracy of the basic ramp generator, the authors have developed an original adaptive scheme [16]. The basic principle consists in comparing the generated ramp voltage to a predetermined reference voltage and feeding back an adjustment signal so that the ramp voltage converges with the reference voltage within a given period. Figure 7 shows the general block-diagram of the corrective scheme, which comprises 3 blocks: the ramp generator circuit delivers a ramp voltage during a given period according to the Step signal, the comparator indicates whether the ramp voltage has reached the predetermined reference voltage during the period,

the ramp rate control circuit provides the adjustment signal to the generator according to the comparison result. Such a corrective scheme uses two reference values, i.e. a clock signal to define the ramp period (Step) and the reference voltage (V ref ). The goal is to adjust the current source value of the ramp generator to a proper value so that the ramp voltage converges with the reference voltage within the given period. The proposed implementation of the ramp rate control circuit is based on the use of a very simple capacitive structure. The idea is to progressively accumulate on a capacitor the amount of charge required to drive the proper analog control voltage. Due to this progressive accumulation, the process of ramping and adjusting the control voltage has to be iterated a number of times to complete the system calibration. It is therefore an iterative adaptive scheme. Figure 8 shows the implementation of this adaptive scheme. The feedback circuitry simply consists of a capacitor bridge controlled by the comparator output. At each iteration, we have an adjustment of the control voltage according to the comparison result. This adjustment is actually performed by the capacitor bridge in a two-phase operation, i.e. first pre-charge of capacitor C1 to either the positive or negative saturation voltage according to the comparison result, and then charge distribution between the 2 capacitors. The resulting output voltage is expressed as: V ctrl (i) = C2 V C1 + C2 ctrl (i 1) ± C1 V C1 + C2 sat C 1 Assuming that << 1, an estimate of the output voltage is given by: C2 V ctrl (i) V ctrl (i 1) ± C1 V C2 sat

This expression clearly translates how, assuming a very low capacitor ratio, the control voltage is adjusted of a small increment C1 = Vsat at each iteration. C2 As an illustration of the calibration procedure, we consider the case of a reduction of the ramp slope due to process variations. The calibration procedure starts with a number of cycles in which the control voltage is progressively augmented of at each iteration, until the ramp voltage reaches the reference voltage within the given period. Then, the control voltage oscillates around the proper value in the following iterations, indicating that the calibration is completed. The timing diagram corresponding to this adaptive scheme is given in figure 9. Once the system is calibrated, we can then use the generator to deliver a saw-tooth signal by continuously iterating the process of ramping without any intermediate calibration step. In this case, the Step signal is maintained at logic 1 and only the Init signal is used to initialize ramp generation at each cycle. IV.2. Integrated circuit implementation The calibrated saw-tooth generator described in the previous section has been implemented in a CMOS 0.6µm technology. In order to achieve high precision on the ramp calibration, we have to implement a very low capacitor ratio. For instance, the adjustment of the control voltage within 1mV requires a capacitor ratio of 4.10-4 (assuming a ±2.5V saturation voltage for the comparator). To ensure such a low capacitor ratio while maintaining a low area overhead, we suggest to use only the parasitic capacitors of the transmission gates operating as switches for C1 and choose 10pF for C2 as illustrated in figure 10. The complete structure has been simulated to validate the calibration process. A number of electrical simulations have been performed taking into account the acceptable process variations defined in a CMOS 0.6µm technology. For each simulation, we verify that the ramp

voltage correctly calibrates itself with the reference voltage in less than 20 cycles. As an illustration, figure 11 depicts the various signal observed during one of these simulations. On this example, the ramp voltage calibrates itself to the reference voltage in less than 10 cycles. Then, we have oscillations of the control voltage around -13mV with an amplitude less than 1mV. Measurements of the ramp slope once calibrated reveal an average slope error of 0.4%, which clearly demonstrates the effectiveness of the calibration scheme to correct the sensitivity of the ramp generator to process fluctuations. We also verify that the linearity of the ramp generator is not degraded by the additional circuitry. A detailed view of the calibrated ramp along with the corresponding INL is given in figure 12. We measure a maximum INL of 91µV, which translates in a linearity of 15 bits for the ramp voltage. This result is comparable to the linearity of the basic ramp generator, demonstrating that we have a very low impact of the additional circuitry on the linearity performance. V. Performances and discussion The previous section has detailed the calibration procedure of the saw-tooth generator. In particular, it has been shown that each single ramp of the saw-tooth generator ramp exhibits good linearity and slope precision once calibrated. In this section, we now use the calibrated saw-tooth generator as test stimulus generator for an ADC and we want to evaluate the quality of this test stimulus in the context linear histogram testing. More precisely, we want to demonstrate that the histogram built up collecting the samples on the ADC output corresponds to the histogram of a perfect converter. The experimental setup is the following. We consider a perfect converter of 10-bit resolution, 3V full scale range and 50MHz clock rate. We want to perform the histogram test on this converter using 64261 samples collected at-speed.

The first step consists in defining the appropriate input stimulus amplitude and period to test this converter. Ideally, the input stimulus amplitude should corresponds to the full scale range of the converter. However in practice, an input signal slightly larger than full scale is usually applied to the circuit under test. This permits to ensure that all converter codes are fully exercised. In addition, this also permits to limit the effect of unavoidable non-linearity errors at the initialization of each ramp of the saw-tooth signal. So we choose V init = 1.6V and V ref = +1.6V so that the saw-tooth generator delivers a 3.2V amplitude signal once calibrated. Then, we have to define the period of the input signal. We actually want to collect 64261 with a sampling frequency at 50MHz. In order to minimize test time, the coherent testing approach is usually adopt [17]. Indeed, coherent testing provides a means to gather information using the least number of samples. Basically the idea is that, given a number of samples, these samples can be distributed over a controlled interval in a way that is informationally equivalent to a uniform distribution over one signal period. The fundamental requirement for coherent testing is described by the equation: F F in = s M N with M and N relatively prime, where F in is the input test frequency, F s the sampling frequency, M the number of input test cycles and N the number of samples. So according to this equation, we determine that the samples have to be collected on M=13 periods on the input test signal. Indeed, remember that the basic ramp generator is designed to deliver a ramp signal in the 3V amplitude range with a 0.1ms duration under typical mean conditions. The input test frequency consequently lies in the 10kHz range, implying 13 periods of the input signal to collect the 64261 samples. The test frequency is then selected according to the coherent testing requirement as F in = 10.111kHz, corresponding to a signal period of

98.9µs. So we define the Init signal as a pulse at logic 1 each 98.9µs with a duration of 0.3µs, while the Step signal is maintained at logic 1 for the duration of the input test stimulus. All the parameters being determined, we can now run the calibration procedure. Figure 13 shows simulation results of the resulting calibrated saw-tooth signal together with the Init control signal. Finally, we apply 13 periods of the calibrated saw-tooth signal to the converter and we build up the corresponding histogram. From this histogram, we can now evaluate the DNL and INL of the converter. Experimental results are given in figure 14. The first graph corresponds to the measured histogram on the ADC output. As expected, this histogram appears perfectly flat with an equal code count for all codes (excepted the extreme ones because of the overloaded input signal). The second graph plots the DNL of the converter. The maximum measured DNL value is equal to 0.07 LSB. Such a low value is in agreement with the assumption of an ideal converter, taking into account that the finite number of samples used to built up the histogram introduces an inaccuracy in the parameter measurement. Finally, the last graph shows the INL of the converter. The maximum measured INL value is 0.16 LSB. At first glance, this value seems to be less performing than the DNL one. Nevertheless, it remains close to that obtained from an ideal converter. In any case, it remains under that usually derived from real converters. Concerning the critical criterion of extra area, the solution we propose is found to be highly performing. Indeed, we obtain a very compact structure that occupies only a small area of 0.047mm 2. The layout of the self-calibrated saw-tooth generator is given in figure 15. It can be noticed that more than half of the area is devoted to the implementation of the two 10pF capacitors. One of these capacitors is part of the basic ramp generator while the other is part of the control rate circuitry. As a result, the total area is shared out as 30% for the basic ramp generator and 70% for the adaptive circuitry. However, it can be observed that the OPA

represents a relatively important part of the area since it occupies 55% of the adaptive circuitry. Hence, a significant minimization of the self-calibrated saw-tooth generator could be achieved by using a dedicated comparator instead of the standard OPA provided in the library. VI. Conclusions In the context of BIST for analog and mixed signal circuits, this paper presents an analog built-in generator dedicated to the test of A-to-D Converters using a linear histogram approach. In order to fulfill reliable characterization of ADCs, a high-quality test stimulus is required in terms of linearity and precise amplitude control. An original self-calibrating scheme has been developed to meet these requirements. The basic idea consists in progressively adjusting the current source value of the ramp generator so that each ramp voltage converges with a predetermined reference voltage within a given period. Such a technique permits to combine easy and precise slope adjustment capability with good linearity, resulting in high-quality signal generation. In addition, the generated signal is intrinsically not sensitive to process variations due to the self-calibrating scheme. The effectiveness of the calibration has been demonstrated through electrical simulation. A number of simulations have been performed under various process conditions and results show that once calibrated, the generator delivers ramp signals with an average slope error of 0.4 % and a linearity of 15 bits. The signal quality when used as a test stimulus for ADC has also been evaluated by computing the histogram obtained through an ideal converter. The very low values measured for DNL and INL parameters confirm the efficiency of the self-calibrated saw-tooth generator. In addition the proposed implementation exhibits a very low silicon area, making the generator suitable for BIST application.

VII. References [1] M.J. Ohletz, "Hybrid Built-In Self-Test (HBIST) for Mixed Analogue/Digital Integrated Circuits", Proc. European Test Conference, pp. 307-316, 1991. [2] N. Nagi, A. Chatterjee, J. Abraham, "A Signature Analyzer for Analog and Mixed-Signal Circuits", Proc. ICCD, pp.284-87, 1994. [3] K. Damm, W. Anheier, "HBIST Of Nonlinear Analog Building Blocks In Mixed-Signal Circuits", International Mixed Signal Testing Workshop, pp.257-62, June 1995. [4] E. Teraoca, T. Kengaku, I. Yasui, K. Ishikawa, T. Matsuo, "A Built In Self Test for ADC and DAC in a Single Chip Speech CODEC", Proc. International Test Conference, pp. 791 796, 1993. [5] M.F. Toner and G.W. Roberts, "A BIST Scheme for a SNR, Gain Tracking and Frequency Response Test of a Sigma Delta ADC", IEEE Trans. Circuits & Systems II, Vol. 42, pp. 1 15, 1995. [6] M.F. Toner and G.W. Roberts, "A Frequency Response, Harmonic Distortion, and Intermodulation Distortion Test for BIST of a Sigma Delta ADC", IEEE Trans. Circuits & Systems II, Vol. 43, No. 8, pp. 608 613, 1996. [7] S Sunter, N. Nagi, "A Simplified Polynomial Fitting Algorithm for DAC and ADC BIST", Proc. International Test Conference, pp. 389 395, 1997. [8] K. Arabi, B. Kaminska, "Efficient and Accurate Testing of Analog to Digital Converters Using Oscillation Test Method", Proc. European Design & Test Conference, pp. 348 352, 1997. [9] R. de Vries, T. Zwemstra, E. Bruls, P. Regtien, "Built-In Self Test Methodology for A/D Converters", Proc. European Design & Test Conference, pp. 353-358, 1997.

[10] M. Renovell, F. Azaïs. S. Bernard, Y. Bertrand, "Hardware Resource Minimization for a Histogram-based ADC BIST", Proc. VLSI Test Symposium, pp. 247-252, 2000. [11] F. Azaïs, S. Bernard, Y. Bertrand, M. Renovell, "Towards an ADC BIST Scheme using the Histogram Test Technique", Proc. European Test Workshop, pp. 53-58, 2000. [12] X. Haurie, G.W. Roberts, "Arbitrary-Precision Signal Generation for Bandlimited Mixed- Signal Testing", Proc. International Test Conference, pp.78-86, 1995. [13] A.K. Lu, G.W. Roberts, "An Analog Multi-Tone Signal Generator for Built-In Self-Test Applications", Proc. International Test Conference, pp. 650-659, 1994. [14] G.W. Roberts, A.K. Lu, "Analog Signal Generation for Built-In Self-Test of Mixed-Signal Integrated Circuits", Kluwer Academic Publishers, ISBN 0-7923-9564-6, 1995. [15] B. Provost, E. Sanchez-Sinencio, "Auto-Calibrating Analog Timer for On-Chip Testing", Proc. International Test Conference, 1999. [16] F. Azaïs, S. Bernard, Y. Bertrand, X. Michel, M. Renovell "A Low-Cost Adaptive Ramp Generator for Analog BIST Applications", Proc. VLSI Test Symposium, 2001. [17] M. Mahoney, "DSP based Testing of Analog and Mixed Signal Integrated Circuits", IEEE Computer Society Press, ISBN 0-8186-0785-8, 1987.

Code Count H(i) H ideal Code Count H(i) H ideal Code i (a) Code i (b) (a) ideal saw-tooth signal (b) degraded saw-tooth signal containing linearity errors Fig. 1. Input signal histogram through a perfect converter (a ) A m p litu d e Code 2 n Code 1 Full Scale Code Coun H id e al Time Code i (b ) A m p litu d e Code 2 n Code 1 Full Scale Code Count H id e al Time Code i (c) A m p litu d e Code 2 n Code 1 Full Scale Code Count H id e al Time Code i (a) full scale amplitude (b) amplitude reduction (c) amplitude increase Fig. 2. Influence of the amplitude on the input signal histogram

t ramp V dd Step S1 I C. t C V ctrl I C t ramp C S2 Init V out Fig. 3. Principle of voltage ramp generation Vdd M9 M3 M4 M2 M5 I C Step M10 M11 Step M8 M7 V ctrl M1 M6 C 10pF M12 Init V out Vss V init Fig. 4. Schematic of the ramp generator

(V) (V) 2.0 1.5 1.0 0.5 0.0-0.5-1.0-1.5 Ramp Voltage -2.0 0.0 20u 40u 60u 80u 100u 120u 100u 75u 50u 25u 0.0-25u -50u -75u Ramp INL time (s) -100u 0.0 20u 40u 60u 80u 100u 120u time (s) Fig. 5. Linearity of the basic ramp generator t ram p worst case typical 46V/ms +1.5V 30V/ms 17V/ms 3V amplitude -1.5V Fig. 6. Slope variation of the basic ramp generator

Step Ramp Generator Circuit V ou t V ctrl Comparator Ramp Rate Control Circuit V com p V ref Fig. 7. Block-diagram of the corrective scheme Step Ramp Generator Circuit V out V ctrl Comparator Φ 2 Φ 1 C1 <<1 C2 Φ in i C2 C1 ±V sat Ramp Rate Control Circuit V ref Fig. 8. Implementation of the corrective scheme t ramp t cal Cycle i Step V ref V out V comp V ctrl Fig. 9. Timing diagram of the calibration procedure

M9 Vdd M3 M4 Ramp Generator Circuit M2 M5 I C M10 M11 Step Step M8 M7 V ctrl M1 M6 C 10pF M12 Init V out Vss V init V ctrl Φ ini M13 C cal 10pF Φ 2 Φ 2 M14 M15 Φ 1 Φ 1 M16 M17 Ramp Rate Control Circuit +V sat -V sat _ + V ref Comparator Fig. 10. Adaptive ramp generator schematic Fig. 11: Simulation results

(V) (V) 2.0 Ramp Voltage 1.5 1.0 0.5 0.0-0.5-1.0-1.5-2.0 0.0 20u 40u 60u 80u 100u 120u time (s) 100u 75u 50u 25u 0.0 Ramp INL -25u -50u -75u -100u 0.0 20u 40u 60u 80u 100u 120u time (s) Fig. 12: Linearity of the adaptive ramp generator 98.9µs period 13 input signal cycles 3.2V amplitude Fig. 13: Input signal test stimulus

Test Parameters Histogram Results DNL ADC Model INL Fig. 14: Experimental histogram test results charging capacitor of the ramp generator circuit OPA capacitor of the ramp rate control circuit Fig. 15: Layout of the self-calibrated generator