Issue |
Int. J. Metrol. Qual. Eng.
Volume 8, 2017
|
|
---|---|---|
Article Number | 13 | |
Number of page(s) | 12 | |
DOI | https://doi.org/10.1051/ijmqe/2017012 | |
Published online | 23 May 2017 |
Research Article
Design and implementation of a platform for experimental testing and validation of analog-to-digital converters: static and dynamic parameters
1
University of Carthage, National Institute of Applied Sciences and Technology, INSAT, Research Laboratory “Materials, Measurements and Applications”,
Centre Urbain Nord, BP676,
1080
Tunis Cedex, Tunisia
2
University of Sfax, National Engineering School of Sfax, ENIS, Research Unit in Micro-Electro-Thermal Systems METS,
BP 1173-3038, km 3.5,
Sfax, Tunisia
⁎ Corresponding author: nejm.sifi@fss.rnu.tn
Received:
11
December
2016
Accepted:
2
May
2017
This paper presents an implementation of a data acquisition system for analog-to-digital converters (ADCs) using “Laboratory Virtual Instrument Engineering Workbench (LabVIEW)” as software for data analysis. The designed and implemented platform allows interaction with the device under test through means of data acquisition and instrument controls. Developing custom tests in LabVIEW can result in reduced test time, which in turn will help reduce costs in testing. This system was developed for evaluation purposes of ADC's static and dynamic parameters (gain error, offset error, DNL, INL, SNR, SINAD, IMD, etc.) using single and multi-frequency signals. The virtual control and analysis instrument was created in “LabVIEW” environment to control test signals generation and data acquisition. The testing performance of the platform is demonstrated using the classical ADC circuit “ADC0804”. A comparison with experimental results obtained by CANTEST platform from Bordeaux University (France) is also presented to highlight our platform.
Key words: analog-to-digital converter / static and dynamic specifications / spectral analysis / LabVIEW environment / testing and validation
© I.B. Mansour et al., published by EDP Sciences, 2017
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
1 Introduction
Analog-to-digital converters (ADCs) are nowadays part of complex systems developed for various applications such as medical applications, telecommunications, and consumer applications [1]. They translate analog electrical signals representing real-world: light, sound, temperature or pressure to binary numbers. It is an electronic system or a module that has analog input, reference voltage input and digital outputs. The ADC converts analog input signal to digital output values (bits) that represent the size of the analog input comparing to the reference voltage, as shown in Figure 1. The input/output transfer function of an ADC is given by the following formula: (1) where N is the number of output bits (resolution), G is the gain factor (usually “1”), Vin is the analog input voltage (or current), Vref is the reference voltage (or current).
There is a wide variety of ADC architectures available depending on the requirements of the application. ADCs performances vary from high-speed, low resolution (example: flash converters) to high-resolution, low-bandwidth oversampled noise-shaping (example: sigma delta converters).
The high-sample rates required for serial link applications can be attained in two ways. First, a single-channel high speed ADC can be used, which limits the choice of architectures available. The alternative solution is to use several lower sample-rate ADCs in a time-interleaved configuration, in order to increase the sample-rate. This allows a variety of architectures to be used depending on the specific requirements such as power dissipation, area, latency and design time [2]. The architectures that are used for high-sample rate applications, either in a single-channel or time-interleaved are: flash ADCs, folding ADCs, pipeline ADCs and successive approximation ADCs. In this work, we are interested in successive approximation architecture which represents the majority of the ADC market for medium to high resolution ADCs.
The successive approximation ADC can be seen as the implementation of a binary search algorithm. In a single stage, the input is sampled and then a state-machine controls a digital-to-analog converter (DAC) output, determining one by one, the bits from the most significant bit (MSB) to the least significant bit (LSB). As the search algorithm is iterative, only one comparator is needed. The comparator output sequentially updates the successive approximation register (SAR). The input signal is sampled at the beginning of the conversion and after “k” clock cycles the conversion is complete and a new sample is taken. Therefore, the sampling frequency is less than the internal clock frequency. This is a major disadvantage of the SAR ADC architecture [2].
At present, most part of the signal processing in areas like instrumentation, telecommunications, control and consumer electronics is carried out at the digital level. The role of ADCs placed at the borders of the digital domain is getting a particular relevance, since the signal degradation introduced by these components cannot normally be recovered by subsequent processing. The correct evaluation of the whole system performance therefore requires the test of these mixed-signal devices [3]. There are various methods of finding the code edges of an ADC such as binary search methods that are well-suited for production testing of circuits that are essentially one-bit ADCs like comparators [4]. The use of binary search for ADCs with more resolution will result in at least 100 samples per iteration needed per code edge measurement. Thus, this is not benefit in the test time of production testing. The servo-method is another method that utilizes a servo-circuit that does the function of a step search. This method is a fast hardware version which is very useful for production testing but it is not as fast as the histogram tests like linear ramp and sinusoidal methods [4]. In ADC testing, a histogram shows how many times each output code appears in the response vector, regardless the location [5]. Linear ramp simplifies computation due to the proportionality of the step width to the number of hits of each code [5–7]. But the speed of the ramp has not to be too fast unless the code will not be hit as many times as needed in order to get the best resolution and repeatability [8].
In this work, we choose to use the spectral analysis as a method of ADC characterization. Indeed, it is easier to produce a pure sinusoidal waveform than a perfectly linear ramp. This also allows to perform an improved characterization of dynamic performance of the ADC under test [4]. To achieve this goal, we designed and implemented an ADC characterization platform based upon a high performance data acquisition card and an analysis program using “Laboratory Virtual Instrument Engineering Workbench (LabVIEW)” programming environment. This analysis program provides all static and dynamic parameters of the ADC under test such as offset, gain, differential non-linearity (DNL) and integral non-linearity (INL) errors, signal-to-noise and distortion ratio (SINAD), spurious free dynamic range (SFDR) and the total harmonic distortion (THD). Furthermore, to manage uncertainties on the results given by our platform, we can define a datasheet associated with each converter tested. This datasheet indicates the set of uncertainties for each parameter (INL, DNL, SINAD, THD, etc.). The user of the converter would be able to take into account the uncertainty given in the datasheet. Moreover, it should be noted that manufacturers datasheets of ADCs provide only electrical characteristics, timing waveforms, timing diagrams, some applications, etc.
2 SAR conversion principle
The successive approximation ADC is by far the most popular architecture for data-acquisition applications, especially when multiple channels require input multiplexing. From the modular and hybrid devices of the 1970s to today's modern low-power ICs, the successive approximation ADC has been the workhorse of data-acquisition systems. The architecture was first utilized in experimental pulse-code-modulation systems by Bell Labs in the 1940s. Bernard Gordon, at Epsco, introduced the first commercial vacuum-tube SAR ADC in 1954; an 11-bit, 50-kSPS ADC that dissipated 500 W.1
The principle of the SAR consists of a sample-and-hold (S/H) circuit, a comparator, a DAC and a logic control unit. ADC employs a binary search algorithm that uses the digital logic circuitry to determine the value of each bit in a sequential or successive manner based on the outcome of the comparison between the outputs of the S/H circuit and DAC feedback from a capacitor array [9]. Figures 2 and 3 illustrate a block diagram of the SAR and the successive approximation conversion procedure, respectively [10].
Notice that four comparison periods are required for a 4-bit ADC. Generally, an N-bit SAR ADC requires N comparison periods and is not ready for the next conversion until all the bit values are determined. This explains why these ADCs are power and space efficient, yet are rarely seen in speed-and-resolution combinations beyond a few mega-samples per second (MSPS) at 14–16 bits. Some of the smallest ADCs available on the market are based on the SAR architecture [10].
In order to process rapidly changing signals, SAR ADCs have an input S/H to keep the signal constant during the conversion cycle. The conversion starts with the internal D/A converter set to midscale. The comparator determines whether the S/H output is greater or less than the DAC output, and the result (the MSB of the conversion) is stored in the SAR as a “1” or a “0”. The DAC is then set either to 1/4 scale or 3/4 scale (depending on the value of the MSB), and the comparator makes the decision for the second bit of the conversion. The result (“1” or “0”) is stored in the register, and the process continues until all the bit values are determined.
Fig. 2 Block diagram for the successive approximation register. |
Fig. 3 1.4-bit SAR ADC operation. |
3 Static and dynamic parameters
Traditionally, ADCs have been specified by their static characteristics such as INL and DNL, gain error and offset error. These specifications are important for determining the direct current (DC) accuracy of an ADC, and are very important in applications such as weighing, temperature measurement, and other situations where the input signal varies slowly over time.
Many applications, however, require digitizing a signal which varies quickly over time. These include digital signal processing (DSP) applications, such as digital audio, spectral analysis, and motion control. For these applications, DC accuracy is not as crucial as alternating current (AC) accuracy which is represented by the dynamic specifications, such as signal-to-noise ratio (SNR), THD, inter-modulation distortion (IMD), and SFDR. In this section, we present and discuss the various static and dynamic specifications used in the proposed characterization platform.
3.1 Static specifications
Due to limitations in elements used to fabricate an ADC on an integrated circuit (IC), manufactured ADCs have not perfect transfer functions. The deviations from perfect transfer functions define the dc-accuracy (static errors). Static errors affect the conversion of all input signals and can be fully characterized using non-varying input signals. Static errors are characterized by offset error, gain error, INL and DNL. Figure 4 illustrates some static specifications like:
-
offset error: it is defined as the deviation of the actual ADC's transfer function from the perfect ADC's transfer function from zero to the measured transition [11];
-
gain error: it represents the difference between ideal voltages which provides “full scale” output code versus the actual voltage for which the converter provides full scale output code [12];
-
there are two major types of non-linearity that degrade the performance of an ADC: DNL and INL. The DNL is defined as the difference between an actual step width and the ideal value of 1LSB.2 INL is the difference between the code centers from the ideal line [13]. INL can also be specified as the sum of DNLs [14]. DNL and INL equations are given by (2) (3) where VD is the electrical value corresponding to the digital output code D, N is the ADC resolution and VLSB-Ideal is the ideal spacing for two adjacent digital codes2;
-
missing code: this situation occurs when a digital code at the ADC output is not produced for the corresponding input voltage [13].
Fig. 4 Characteristics of non-ideal ADC. |
3.2 Dynamic specifications
To obtain quantitative information on the dynamic performance of a converter, different specifications are defined, the most used of which are
-
SNR is the ratio of the signal amplitude to the noise level (Eq. (4)). It is generally specified in the data sheets at a set of input signal frequencies, at a specific sampling rate, and with the signal amplitude at or near the maximum allowable level [15] (4) where the lowercase characters “rms” means “root mean square”.
A good estimation of the SNR value for a perfect N-bit converter excited by a full scale signal is given by [16]: (5)
-
SINAD provides an information regarding the noise and harmonic energy present in the frequency spectrum. It is defined as: (6) (7) where S is the input signal effective value, and Si, the effective value of the ith harmonic component [3].
-
The effective number of bits (ENOB) is the number of bits with which the ADC behaves like a perfect ADC [11]. It is a widely used performance criteria and is derived from the formula of the SINAD: (8)
-
THD relates the “rms” sum of the amplitudes of the digitized signal harmonics to the amplitude of the signal: (9) where Vf1 is the amplitude of the fundamental and Vfi is the amplitude of the ith harmonic. To give an indication upon the harmonic distortion, particularly needed in the audio field, the THD is determined from the harmonic components Hk (k is an integer varying from 0 to user defined value) located at multiple frequencies of the input signal in the Nyquist band (from 0 to half the sampling frequency) [16]: (10)
In practice, only the first few harmonics of the output signal are actually treated as distortion, while the remaining distortion is treated as noise. An ADC characterized by a low THD is especially important in applications such as audio and spectral analysis because in these applications, particularly, one does not want the conversion process to add new frequency components to the signal [3].
-
The SFDR provides information regarding the difference between maximum amplitude tone in frequency spectrum and the fundamental input tone. It is defined as: (11) (12)
-
IMD: this phenomenon occurs when two frequency components in a signal interact through the nonlinearities in the ADC to produce signals at additional frequencies [15]. If f1 and f2 are the signal frequencies at the input of the device, the possible IMD products f12 are given by fab = af1 ± bf2, where a and b are positive integer values, and are such that f12 is positive. The jth order IMD products are those for which a + b = j. IMD due to second order terms is commonly defined as: (13) where Va and Vb are the amplitudes of the fundamentals and V1,1 and V1,−1 are the amplitudes of the sum and difference frequencies, respectively.
4 Test hardware setup
4.1 Description of the proposed test platform
The hardware implementation of ADCs test setup, which is generally easy and fast, puts in evidence some difficulties due to the mixed nature of the tested component itself and the limitation of the test instrumentation. These difficulties increase with the speed and resolution of the ADC. The configuration of a classical test hardware is given in Figure 5.
A sinusoidal signal is used as input, a square signal is generally used to provide the clock that operates the ADC and a pulse generator for starting the conversion. The use of filters if often necessary for the clock, pulse and input signals to reduce noise and harmonic distortions. The mixed nature of ADCs requires coexisting on the same printed circuit board (PCB) three antagonistic elements: a sensitive analog part, a sensitive and noisy clock, and a noisy digital part. For these reasons, we proposed to optimize the test hardware by replacing the external instruments generating the test signals by some inputs/outputs (I/O) of an acquisition card. The latter is configured and controlled using a designed software. Figure 6 illustrates the proposed test hardware to characterize ADCs.
Through the proposed configuration, we are conform to IEEE Standard for Digitizing Waveform Recorders (IEEE Std. 1057) [17] and IEEE Standard for Terminology and Test Methods for Analog-to-Digital Converters (IEEE Std. 1241) [18] which specifies that the test setup should satisfy the following five conditions for accurately performing the spectral testing of ADCs. Firstly, the spectral purity of the input signal should be about 3–4 bits more pure than the ADC under test. In other words, to test an N-bit ADC, the input signal should be more than N + 3 bits pure. The second condition is that the peak-to-peak voltage of the input signal should be slightly lower than the ADC input range so that the output of the ADC is not clipped. The third condition is to have very low relative jitter between the clock and input signals. The fourth condition is that, if possible, the input signal has to be coherently sampled. Finally, the total number of sampled points (or data record length) should be sufficiently large. Let Fin be the frequency of the input signal, Fc, the clock frequency, M, the total number of data points recorded to measure the spectral characteristics, and J, the total number of periods of the input signal sampled in the recorded data. The four parameters are related by the following equation: (14) With this configuration, we were able to reduce the effects of external noise from different instruments. In our case, a tested ADC receives firstly, a 100 ns pulse width to start conversion. Then, it receives an analog input signal from the personal computer (PC) via the I/O acquisition card. The amplitude of the input signal is selected such that its peak-to-peak value is within the ADC input range. The converter under test receives the analog signal and, after conversion, sends its digital output to PC. The latter will store these digital values to determine static and dynamic parameters. The input voltage and the pulse are generated from the designed configuration and control software of the acquisition card.
Fig. 5 Classical ADC test scheme. |
Fig. 6 Proposed ADC test setup. |
4.2 Characteristics of the proposed test platform
The proposed test platform is based upon the following parts:
-
–
PCI 6052E is an acquisition card of National Instruments used to acquire digital data from the ADC under test. The digital data is send to the PC. The card has the following features [19]:
-
•
two 16-bit ADCs with 16 analog inputs,
-
•
16-bit DACs with voltage outputs,
-
•
eight lines of transistor-transistor logic (TTL)-compatible DIO,
-
•
two 24-bit counter/timers for TIO;
-
•
-
–
NI BNC-2110 is a connector block which simplifies the connection of analog signals, digital signals and timing I/O;
-
–
a designed configuration and control application based on LabVIEW which is a system-design platform and development environment for a visual programming language from National Instruments;
-
–
ADC 0804 is the ADC under test. It is a CMOS 8-bit, based on successive approximation A/D conversion method. It uses a differential potentiometric ladder similar to the 256R products [20].
The implemented characterization platform is presented in Figure 7. Figure 8 presents the LabVIEW interface developed to configure and control the acquisition card and also to perform the necessary calculation to obtain different static and dynamic characteristics.
Spectral analysis of the ADC is based on the exploitation of the Fourier transform of the digital samples acquired at the converter output when a pure sine wave is applied to its input. The resulting spectrum is analyzed to evaluate static and dynamic performances of the ADC. In the next section, an overview of spectral analysis will be presented.
Moreover, it should be noted that even if the PCI 6052E acquisition card is of an older generation, its characteristics are quite valid and sufficient for the application case that we have chosen. Our platform represents a prospective study applied to an ADC of average characteristics. We therefore used the acquisition card we have at the Research Laboratory “MMA-Lab” of INSAT-Tunis. It is also clear that improving the performance of our platform and testing converters of better characteristics requires the use of better performance acquisition cards such as the National Instruments PCI-6514 and PCI-6515.
Fig. 7 Implemented characterization platform. |
Fig. 8 The LabVIEW interface developed to configure and control the acquisition card and to perform the necessary calculation to obtain different static and dynamic characteristics. |
5 Spectral analysis technique
A wide variety of tests have been developed to identify static and dynamic specifications. Many of these tests rely on Fourier analysis using the discrete Fourier transform (DFT) and the fast Fourier transform (FFT), as well as other mathematical models. The frequency domain tests extracts SFDR, THD, SINAD, SNR, and ENOB from the frequency spectrum of the ADC output response. In particular, the evaluation of the ADC performance is carried out by processing a DFT of a data record [21]. In frequency-domain methods, a sine wave is applied at the input of the ADC under test. Then, an appropriate algorithm chosen from those existing and based on the DFT of the corresponding ADC output codes is used to estimate the ADC dynamic parameters [16,22,23]. In fact, many algorithms are proposed in literature based on DFT and can be used to evaluate ADC dynamics parameters. Among these algorithms, we note “sine fitting” algorithms, commonly used in fast dynamic tests of ADCs. Traditionally they are used to measure noise, signal to noise and distortion ratio and ENOB. More recently they were proposed to obtain INL, DNL and the transfer function of ADCs, namely when they present a hysteric behavior. Also there are proposed algorithms for calculating in three steps, a near-optimum frequency “fnearopt” which is close to any desired frequency. The signal parameters can also be determined using the maximum likelihood (ML) algorithm. The ML estimator is not influenced negatively by the (possibly) nonlinear characteristics of the ADC, thus the signal parameters, the fitting residuals and values such as SINAD, ENOB can be determined with the best achievable precision. Thus, we can evaluate the distortion and noise introduced by quantization [24].
Two spectral analysis techniques are commonly used:
-
“single tone” technique;
-
“dual tone” technique.
5.1 “Single tone” technique
The principle of this technique is to apply a pure sinusoidal input to the converter to perform the spectral analysis. Figure 9 shows an example of the spectrum obtained. We can observe the fundamental frequency of the input signal Fin, the harmonic frequencies kFin (k is an integer value) and the noise created by the non-linearity of the converter [25]. This technique provides SINAD, THD, SFDR and the jitter of ADC.
5.2 “Dual tone” technique
“Dual tone” technique uses as input, the sum of two sinusoidal signals of frequency F1 and F2 having no harmonic relation between them (F1 ≠ kF2, k is an integer). This technique allows highlighting all the phenomena of inter-modulation induced by the conversion of the composite signal [25]. IMD is generally caused by modulation, and it can occur when an ADC samples a signal composed of two (or multiple) sine-wave signals, F1, F2. IMD spectral components can occur at both the sum (iF1 + jF2) and the difference (iF1 − jF2) frequencies (i and j are integers) for all possible integer multiples of the fundamental (input frequency tone) or signal-group frequencies. Figure 10 shows an example of a spectrum obtained with “dual tone” technique. We can observe the appearance of parasitic frequencies at Fij = iF1 + jF2 in addition to the harmonic components of the input signal at frequencies Fk1k2 = k1F1 + k2F2 (k1 and k2 are integers). These are the inter-modulation parasitic frequencies. With this testing technique, it is possible to determine the IMD of ADCs. In the next section, we will present the applied spectral analysis technique to identify and analyze the set of static and dynamic parameters of ADC.
It should be noted that for the scale of Figures 9 and 10, we have put on the x-axis Fin, 2Fin, …, and Fin1, 2Fin1, …, so, the scales depend on the values of Fin and Fin1. Indeed, these figures are theoretical and are given for illustration.
Fig. 9 “Single tone” spectral analysis (a theoretical illustration). |
Fig. 10 “Dual tone” spectral analysis (a theoretical illustration). |
6 Static parameters evaluation
Static errors are due to the conversion of analog signals into digital signals (quantization error) and imperfections existing in a real ADC. “Single tone” technique is implemented on the successive approximation converter to identify static parameters of the “ADC 0804”. Figure 11 shows the transfer function of the ADC under test (blue curve). This curve shows a slight deviation from the ideal transfer curve (red curve), this is due to the nonlinearity of the converter.
Using the same test, we determine the power spectral density “DSP” of the input signal, as shown in Figure 12. Then we identify the gain error, offset error, “INL” and “DNL”. Figures 13 and 14 show the “DNL” and the “INL” of the ADC under test. In Table 1, the various static errors obtained by the “single tone” technique are summarized.
To highlight our experimental results of static test, we compared them to results obtained with the platform “CANTEST” [26]. The latter is a characterization system designed and developed in “Microelectronics IXL laboratory” in Bordeaux I University. It is used to characterize ADCs under test. It permits the evaluation of a set of parameters like SNR, INL, DNL, etc. There are many versions of CANTEST: there is one developed with “C language” in “MAC” environment, an “ADCLab” version developed in Windows environment with “Matlab” and the newest version of CANTEST allows the use of logic analyzer HP16702 equipped with rapid acquisition probes HP16760. Table 2 compares the error rate differential and integral linearity obtained using the implemented platform and the results published for the CANTEST [27]. For the measurements of DNL errors, we note a slight difference between the two testing setup equals to 0.47 dB and 0.34 dB for INL measurements. Also, we notice a slight deviation between the rate of DNL and INL obtained by the two platforms, this is due to the error introduced by the last code (LSB). Indeed, the width of the first stage is 1/2LSB and the width of the last stage is 3/2LSB. Thus, the last code has the widest stage, hence the state transition can take place at different times with each acquisition. This allows influencing on the measurement results and implies possible errors on the measurement of DNL and INL. However, the test results showed good DNL and INL values and an acceptable correlation with the datasheet of the “ADC 0804” published by the manufacturer.
Furthermore, it has to be noted that the “ADC 0804”-type converter that we used can be provided by several sources, i.e., Intersil, National Instruments and Philips. Unfortunately, developers of the platform CANTEST at Bordeaux I University have not indicated the manufacturer of the ADC that they used. On the other hand, we have taken care to consult various technical data sheets of suppliers and we considered that the declared deviations of the performances did not penalize for our work. So we decided to use the National Instruments ADC0804 circuit.
Fig. 11 Transfer functions of ADC under test and ideal ADC. |
Fig. 12 Power spectral density of ADC under test. |
Fig. 13 Differential non-linearity of ADC under test. |
Fig. 14 Integral non-linearity of ADC under test. |
Test results obtained by spectral analysis.
Comparison between the results of measurements errors of differential and integral non-linearity.
7 Dynamic parameters evaluation
We coupled the two testing techniques by spectral analysis in order to extract all of the dynamic parameters of the converter under test. We were able to determine the “THD”, “SINAD”, “SFDR”, “ENOB” and “IMD”. Table 3 shows the various errors obtained by the spectral analysis “dual tone” test. Figures 15 and 16 illustrate respectively the measurements of THD from the fundamental frequency to the 9th harmonic and IMD of the ADC under test.
Figure 15 gives the variation of THD versus frequency for the fundamental frequency and 8 successive harmonics. Values of those frequency peaks are little lower than fundamental peak. The second harmonic is located at 2 MHz = 2 × Fin, the next at 3 MHz = 3 × Fin, …, the 9th harmonic is located at 9 MHz = 9 × Fin. Figure 16 gives the variation of IMD versus frequency. Inter-modulation distortion is measured with two or more input signals at different, closely spaced frequencies, all of the same amplitude. We observe a fundamental peak equal to −52 dB and located at 1Fin = 1 MHz. IMD can be expressed as the ratio of the power in the inter-modulation products to the power in one of the original input frequencies. Some applications, particularly those concerned with radio frequency signal processing, are more sensitive to some modulation products than others.
To highlight these results, we also compared the obtained measurements to another study made at Bordeaux I University [6]. Table 4 presents a comparison between results obtained using the implemented platform and the ones published in reference [6]. Through this table, we note a slight deviation between the two testing setup. For THD measurements, we found a difference equal to 1.23 dB, it represents 2.25% of the total THD value found in [6]. The overall obtained results show that the differences between the measurements and analysis results obtained using the implemented platform are very close to the published results in [6]. This is very encouraging in terms of overall performances of our platform.
Measurements results of dynamic parameters by “dual tone” technique.
Fig. 15 Total harmonic distortion (THD) of ADC under test. |
Fig. 16 Inter-modulation distortion (IMD) of ADC under test. |
Comparison of measurement results of dynamic parameters.
8 Number of samples effects on static and dynamic specifications
The number of samples captured and processed by FFT for spectral analysis is a parameter of particular importance in a test environment. Indeed, the test time and material resources are directly dependent, they are the two main factors contributing to the overall test cost. Investigations have been performed by varying the number of samples N considered to perform the FFT. In this part of the study, we varied the number N of samples captured over the M acquisition periods which constitute the unitary test pattern. We scanned all the powers of 2 greater than Nmin = 210 = 1024. With a coherent sampling, we provide a relationship between the sampling frequency Fs, the number of samples M, the test signal frequency Fin and the number of cycles in the sampled set J (see Eq. (14)). Thus, if the number of samples M is increased during a fixed number of periods of stimulus J, this increase raises the sampling period by keeping the frequency of the input signal Fin constant.
For illustration, Figures 17 and 18 give the variation of static (DNL and INL) and dynamic (SINAD, SFDR, THD) parameters versus the number of samples N. Unfortunately, we do not have theoretical values to perform a comparison with the experimental results. In fact, data sheet of the converter do not provide any static and dynamic specifications. It is important to mention that in our case “n”, which is the number of ADC output bits (resolution), is equal to 8. As N = 2n+4, the minimum value of N is 28+4 = 212 = 4096; this is the minimum value of samples acquired to have a good accuracy for static and dynamic parameters measurement.
When a small number of samples is used for spectral analysis, it is clear that the values of the static and dynamic parameters measured are not the theoretically expected values in the case of a converter tested with the same signal amplitude. Moreover, we note that from the sample number N equal to 4096, the values of static and dynamic parameters vary slightly versus the number of samples. If we consider the dispersion of static and dynamic parameters when the number of samples taken into account is equal to its minimum value N = 2n+4, we can meet the maximum measurement error εNmin on each static and dynamic performance. The obtained results are compiled in Table 5. εNmin represents the dispersion of static and dynamic parameters when the number of samples N equals to 4096. As an example, for INL measurement:
-
for N = 4096, INL = 0.8001;
-
for N > 4096, INL = 0.8
The high value of dispersion is obtained for dynamic parameters: THD and SINAD, they are sensitive to the number of sample variations but in a tolerable range. These measurement errors are quite acceptable for the test.
One can notice that for spectral analysis, the sampling with a number N = 4096 of samples seems to separate two domains: under N = 4096: better accuracy on static measurement, and beyond N = 4096: better accuracy on the dynamic part. In fact, through Figures 17 and 18, we can observe a very low variation of static (INL, DNL) and dynamic (THD, SINAD, SFDR) parameters for N ≥ 4096. For example, for INL measurements, we note a variation between −0.05 (LSB) and 0.82 (LSB) for N < 4096 and it is equal to 0.8 (LSB) for N ≥ 4096. For SINAD measurement, we note a large deviation (250–32 dB) for N < 4096 and a small deviation (1%) for N ≥ 4096. So, for static and dynamic parameters, to guarantee a better accuracy, we have to choose N ≥ 4096. In general case, to ensure a high accuracy it is better to choose a number of samples greater than 2n+4.
Furthermore, the study of amplitude effect on the measurements of static and dynamic parameters was performed. We have noted that static and dynamic parameters are sensitive to the variation of the amplitude of input signal. The maximum deviation of the SINAD and SFDR observed over the amplitude range studied (from A = FS − 5q to A = FS − q, A: signal amplitude, FS: full scale, q: quantum) (Tab. 6) is small, in the order of 0.34 dB for SINAD and 1.48% for SFDR. So, the influence of the amplitude cannot induce more than 0.8% variation on the SINAD ratio and 3% on the SFDR ratio. For THD measurement, we have noted a large deviation equal to 10%. These results suggest that in the case of a real measurement of the dynamic parameters, any uncertainty on the amplitude of the input analog stimulus may lead to a significant measurement differences, especially for the measurement of THD.
Fig. 17 Static parameters versus the number of samples. |
Fig. 18 Dynamic parameters versus the number of samples. |
Dispersion of static and dynamic parameters for N = 4096.
Experimental results of the input signal amplitude variation influence on static and dynamic parameters [A: amplitude, FS: full scale, q: quantum].
9 Conclusion
In this paper, an experimental platform implemented for the characterization of ADCs is presented. The designed platform is a combination of hardware and software tools. The analysis technique used is the spectral analysis which is based upon FFT. This technique is commonly used in industry for analog and mixed signal circuits, especially ADCs. This technique consists of two complementary testing parts to identify all static and dynamic parameters of ADCs: gain error, offset error, INL, DNL, THD, SINAD, SFDR and IMD. The classical ADC0804 converter was used as a case study. The results obtained and compared to those achieved by the CANTEST experimental test system developed at Bordeaux I University (France) are very interesting and encouraging in terms of uncertainty and correlation. Moreover, many developments could be carried out with the validated platform but the most significant and immediate are the use of a more efficient acquisition card with a resolution up to 20 bits and the implementation of equivalent models of the converter under test in order to propose by simulation-optimization, for a possible redesign, some relevant physical modifications.
References
- V. Kerzérho, P. Cauvet, S. Bernard, F. Azaïs, M. Renovell, M. Comte, Fully-efficient ADC test technique for ATE with low resolution arbitrary wave generators, in IMSTW'07: International Mixed-Signals Testing Workshop and 3rd International GHz/Gbps Test Workshop, June (2007) [Google Scholar]
- T. Sundström, Design of high-speed analog-to-digital converters using low-accuracy components, Department of Electrical Engineering, Linköping University, Linköping, Sweden, 2011 [Google Scholar]
- F. Azaïs, S. Bernard, Y. Bertrand, M. Comte, M. Renovell, Correlation between static and dynamic parameters of A-to-D converters: in the view of a unique test procedure, J. Electron. Test. 20, 375–387 (2004) [CrossRef] [Google Scholar]
- G. Roberts, F. Taenzler, M. Burns, An Introduction to Mixed-Signal IC Test and Measurement (Oxford University Press, 2000) [Google Scholar]
- B.E. Franklin, C.M. Akujuobi, W. Ali, ADC automated testing using LabView software, Center of Excellence for Communication Systems Technology Research (CECSTR), in Proceedings of the 2004 American Society for Engineering Education Annual, American Society for Engineering Education (2004) [Google Scholar]
- D. Haddadi, Test dynamique des convertisseurs analogiques numériques rapides: caractérisation par analyse temporelle, test industriel et considération instrumentales, Doctoral thesis, Graduate School of Physical Sciences and Engineering of Bordeaux I, France, 2002 [Google Scholar]
- S. Cherubal, A. Chatterjee, Optimal linearity testing of analog-to-digital converters using a linear model, IEEE Trans. Circuits Syst. I: Fundam. Theory Appl. 50, 317–327 (2003) [CrossRef] [Google Scholar]
- B.E. Franklin, C.M. Akujuobi, W. Ali, ADC automated testing using LabView software, in Proceedings of the 2004 American Society for Engineering Education Annual (2004) [Google Scholar]
- F. Azaïs, S. Bertrand, Y. Bertrand, M. Renovell, Implementation of a linear histogram BIST for ADCs, in Proceedings of the Conference on Design, Automation and Test in Europe, Munich, Germany (2001) [Google Scholar]
- H.A. Hassan, I. Abdul-Halin, I. Bin-Aris, M.K. Bin-Hassan, Design of a low power 8-bit SAR-ADC CMOS, in Proceedings of Student Conference on Research and Development, SCOReD 2009, UPM Serdang, Malaysia (2009) [Google Scholar]
- Atmel AVR127: Understanding ADC Parameters, Application Note, 8456C-AVR-10, 2013, http://www.atmel.com/Images/Atmel-8456-8-and-32-bit-AVR-Microcontrollers-AVR127-Understanding-ADC-Parameters_Application-Note.pdf [Google Scholar]
- ADC Performance Parameters – Convert the Units Correctly!, Application Report, SLAA587, Texas Instruments, 2013, http://www.ti.com/ [Google Scholar]
- R. Hedayati, A Study of Successive Approximation Registers and Implementation of an UltraLow Power 10-Bit SAR ADC in 65nm CMOS Technology, Master's thesis performed in Electronic Devices, 2011 [Google Scholar]
- H. Khurramabadi, ADC Converters (Lecture 13), UC Berkeley Course, Analog-Digital Interfaces in VLSI Technology EE247, 2006 [Google Scholar]
- L.G. Melkonian, Dynamic Specifications for Sampling A/D Converters, National Semiconductor Application, Note 769 [Google Scholar]
- European Project DYNAD, Methods and Draft Standards for the DYNamic Characterization and Testing of Analog-to-Digital Converters, http://www.fe.up.pt/∼hsm/dynad/ [Google Scholar]
- IEEE Standard for Digitizing Waveform Recorders, IEEE Std. 1057, 2007 [Google Scholar]
- IEEE Standard for Terminology and Test Methods for Analog-to-Digital Converters, IEEE Std. 1241, 2010 [Google Scholar]
- NI 6052E User Manual, Multifunction I/O Devices for PCI/PXI/1394 Bus Computers, http://www.ni.com/ [Google Scholar]
- ADC080 × 8-Bit, μP-Compatible, Analog-to-Digital Converters, Texas Instruments, http://www.ti.com/ [Google Scholar]
- S. Rapuano, Preliminary considerations on ADC standard harmonization, IEEE Trans. Instrum. Meas. 57, 386–394 (2008) [CrossRef] [Google Scholar]
- IEEE Std. 1241, Standard for Terminology and Test Methods for Analog-to-Digital Converters, 2000 [Google Scholar]
- D. Petri, Frequency-domain testing of waveform digitizers, IEEE Trans. Instrum. Meas. 51, 445–453 (2002) [CrossRef] [Google Scholar]
- I. Benamrane, M. Hamine, Techniques de Test pour les convertisseurs analogiques/numériques, Department of Electrical Engineering, Polytechnical School of Montréal, Canada, 2004 [Google Scholar]
- S. Bernard, Test intégré pour Convertisseurs Analogique/Numérique, Micro and nanotechnologies/Microelectronics, Université Montpellier II – Sciences et Techniques du Languedoc, 2001 [Google Scholar]
- S. Renaud, Contribution à la caractérisation des circuits de conversion analogique numérique: conception et réalisation d'un système d'évaluation dynamique de ces dispositifs, Thèse de doctorat, Université de Bordeaux I, 1990 [Google Scholar]
- R. Maghrebi, Contribution à la modélisation, conception et test de structures de conversion analogique numérique, Doctoral thesis, National Engineering School of Sfax, Tunisia, 2004 [Google Scholar]
Cite this article as: Imen Ben Mansour, Raja Maghrebi, Nejmeddine Sifi, Oualid Touayar, Design and implementation of a platform for experimental testing and validation of analog-to-digital converters: static and dynamic parameters, Int. J. Metrol. Qual. Eng. 8, 13 (2017)
All Tables
Comparison between the results of measurements errors of differential and integral non-linearity.
Experimental results of the input signal amplitude variation influence on static and dynamic parameters [A: amplitude, FS: full scale, q: quantum].
All Figures
Fig. 1 Basic diagram of ADC [13]. |
|
In the text |
Fig. 2 Block diagram for the successive approximation register. |
|
In the text |
Fig. 3 1.4-bit SAR ADC operation. |
|
In the text |
Fig. 4 Characteristics of non-ideal ADC. |
|
In the text |
Fig. 5 Classical ADC test scheme. |
|
In the text |
Fig. 6 Proposed ADC test setup. |
|
In the text |
Fig. 7 Implemented characterization platform. |
|
In the text |
Fig. 8 The LabVIEW interface developed to configure and control the acquisition card and to perform the necessary calculation to obtain different static and dynamic characteristics. |
|
In the text |
Fig. 9 “Single tone” spectral analysis (a theoretical illustration). |
|
In the text |
Fig. 10 “Dual tone” spectral analysis (a theoretical illustration). |
|
In the text |
Fig. 11 Transfer functions of ADC under test and ideal ADC. |
|
In the text |
Fig. 12 Power spectral density of ADC under test. |
|
In the text |
Fig. 13 Differential non-linearity of ADC under test. |
|
In the text |
Fig. 14 Integral non-linearity of ADC under test. |
|
In the text |
Fig. 15 Total harmonic distortion (THD) of ADC under test. |
|
In the text |
Fig. 16 Inter-modulation distortion (IMD) of ADC under test. |
|
In the text |
Fig. 17 Static parameters versus the number of samples. |
|
In the text |
Fig. 18 Dynamic parameters versus the number of samples. |
|
In the text |
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.