Full of dry goods, in-depth interpretation of the key indicator of high-speed ADC - conversion error rate
ä½è
ï¼ç®¡çå æ¥æºï¼æ¬ç« æµè§æ°ï¼756 å叿¶é´ï¼2016/2/24 9:30:11
High-speed analog-to-digital converters (ADCs) have some inherent limitations that can occasionally cause rare conversion errors beyond their normal function. However, many actual sampling systems do not allow high ADC conversion error rates. Therefore, quantizing the frequency and amplitude of the high-speed analog-to-digital conversion error rate (CER) is very important.
Â
High-speed or GSPS ADCs (Gigabit Sampling ADCs per second) and relatively sparse conversion errors not only make them difficult to detect but also make the measurement process very time-consuming. This duration often exceeds milliseconds, reaching hours, days, weeks, or even months. To help reduce this time-consuming testing burden, error rates can be estimated with certainty at a certain level of "confidence" while maintaining the quality of results.
误ç çï¼BERï¼ä¸è½¬æ¢è¯¯å·®ç
Similar to the digital equivalent of BER in serial or parallel digital data transmission, CER is the ratio of the number of conversion errors to the total sample size.使¯ï¼BERåCERä¹é´æä¸äºæªç¶ä¸åä¹å¤ãæ°åæ°æ®æµä¸çBERæµè¯éç¨é¿ä¼ªéæºåºåï¼è¯¥åºåå¯äºåéå¨ä¸å¨ä¼ è¾ä¸¤ç«¯ä½¿ç¨å¸¸ç¨ç§å弿¥å¯å¨ãæ¥æ¶å¨é¢æå°æ¶å°çæ³çä¼ è¾ãéè¿è§å¯æ¥æ¶æ°æ®ä¸çæ³æ°æ®çå·®å¼ï¼ä¾¿å¯ç²¾ç¡®è®¡ç®åºBERã两端ä¹é´ä¼ªéæºåºåæ°æ®ä¸ç失é
(åºäºç§åå¼)å³è§ä¸ºè¯¯ç ã
Â
Unlike CER, error measurement is not as simple as a simple numerical comparison. Because ADC conversion always involves small nonlinearity, as well as system noise and jitter, it is not always possible to determine the exact difference between expected and actual data. Instead, an error threshold needs to be established to determine the boundary between conversion errors and samples with allowable expected noise. This differs from digital BER and does not provide an exact comparison of the expected data sent and received. Instead, the error magnitude of the sample must first be quantified, and only then determined whether it is a conversion error or within the expected nonlinear range of the converter and system. The bit-error rate of the digital interface on the ADC backend must be lower than the converter's core CER, so it cannot be ignored. If not, data output transmission errors will override the CER and become the main source of error.
äºç¨³æ
A common cause of conversion errors in high-speed ADCs is a phenomenon called metastability.é«éADCå¨å°æ¨¡æä¿¡å·è½¬æ¢ä¸ºæ°åå¼ç转æ¢è¿ç¨ä¸ï¼å¾å¾ä¼å¨ä¸åé¶æ®µä½¿ç¨å¤ä¸ªæ¢¯çº§æ¯è¾å¨ã妿æ¯è¾å¨æ æ³ç¡®å®æ¨¡æè¾å
¥æ¯é«äºè¿æ¯ä½äºå
¶åèç¹æ¶ï¼å°±ä¼äº§çå¯è½å¯¼è´åºç°é误代ç çäºç¨³æç»æãå½ä¸¤ä¸ªæ¯è¾å¨çè¾å
¥ä¹å·®å¹
度éå¸¸å°æä¸ºé¶æ¶ï¼å°±å¯è½åçè¿ç§æ
åµï¼æ¤æ¶æ æ³è¿è¡æ£ç¡®æ¯è¾ãç±äºæ¤é误å¼ä¼æ²¿çæµæ°´çº¿ä¼ æï¼å æ¤ADCå¯è½äº§çé大ç转æ¢é误ã
Â
When the input for differential simulation is a relatively large positive or negative value, the comparator can quickly calculate the difference and provide a clear decision. When the difference value is small or zero, the comparator takes much longer to make a decision. If the comparator outputs latch before this decision point, a metastable result will be produced.
Â
Some design solutions can mitigate this problem.
First, the comparator is designed to have a very small uncertainty range, forcing it to make accurate decisions within the maximum possible simulated input conditions. However, this can lead to increased circuit power and design size.
The second method is to delay comparator sampling time as much as possible, giving the analog input the longest time to establish the known comparator output value. However, this method has multiple limitations, as the delay can only last until the current sampling time ends, after which the comparator must continue processing the next sample.
The third method uses intelligent error detection and correction algorithms that digitally compensate for uncertainties introduced by comparators in subsequent stages of the high-speed ADC conversion process. When a comparator fails to make a decision within the maximum allowable time, logic can detect the deficiency. This information can then be attached to relevant samples for future internal adjustments. When this alarm is identified, post-processing steps can be used to correct the error before the sample is output from the converter. This can be seen from the AD9625 in Figure 1, a 12-bit, 2.5GSPS ADC from ADI.

Figure 1: Comparator uncertainty can be identified during the analog-to-digital conversion process of the AD9625. Execute the calibration command in subsequent steps to correct the sample, then output from the converter.
置信度
CER Confidence (CL) refers to the extrapolation of future errors without being precise to a specific failure rate. This reduces the total number of samples obtained for a given CER, but at the cost of not guaranteeing 100% certainty.仿°å¦è§åº¦æ¥è¯´ï¼è¦è¾¾å°ç»å¯¹100%çç¡®å®æ§ï¼éè¦å徿 éæç»æ¶é´å
çæ ·æ¬ãå æ¤ï¼æ ¹æ®è¡ä¸ç»éªï¼95%ç置信度已ç»ç¸å½æ¥è¿å·²ç¥å¼ï¼å¹¶ä¸å®ç°äºä¸ç¡®å®æ§åæµéæ¶é´ä¹é´ç平衡ã妿尿µè¯éå¤ä¸ç¾æ¬¡ï¼åæ95次å¯ä»¥åç¡®è¯å«è¯¯ç çãææ¶å·¥ç¨å¸ä¼è¯¯è®¤ä¸ºä¸æ¦å¨æµè¯æé´æ£æµå°è¯¯å·®ï¼è¯¥è¿ç¨å°±ä¼ç»æå¹¶æ¾å°æç»çCERãè¿æ¢ä¸åç¡®ä¹ä¸å®æ´ãæ 论è¿ç¨ä¸æ¯å¦æè¯¯å·®ï¼è½¬æ¢è¯¯å·®çåç¸å
³ç置信度é½å¯ä»¥æµè¯ã使¯ï¼å¦æå¨ç»å®ç½®ä¿¡åº¦ä¸æ£æµå°è¯¯å·®ï¼å䏿²¡æé误æ¶çæ ·æ¬æ°ç¸æ¯ï¼å¿
é¡»å¢å æµéçæ ·æ¬æ°éã
The above formula provides the natural logarithmic mathematical relationship expression for confidence level, bit error rate, and sample size. Where: N is the number of samples to be measured; CER is the conversion bit error rate; CL is the confidence level; E is the number of detected errors.
Â
When no error is detected, the formula is simplified: the term on the right equals zero, and the result depends only on the term on the left. When CL is 95% and no error is detected, the required sample size is only about the reciprocal of the expected CER multiplied by 3. Measuring 100% confidence, i.e., CL = 1.0 for any CER value, mathematically requires obtaining -ln(0) infinitely infinite sample counts (N).
Error threshold
The conversion error margin in high-speed ADCs is critical; some errors are more significant than others. For example, one or two least effective bit (LSB) errors may fall within the system's expected noise floor and may not even affect instantaneous performance. However, highest significant significant bit (MSB) errors, or even full-scale errors, can cause system failure events. Therefore, CER testing requires a mechanism or threshold to determine the severity of errors during conversion.
Â
The error threshold for conversion should include known linearity deficiencies of the ADC, as well as clock jitter and other system noise beyond the converter's capabilities.对äºä»»ä½ç»å®æ ·æ¬ï¼è¿äºé常ä¼ç´¯å 为14ä½ADCç4æ5个æä½ææä½(LSB)æ16ï½32个代ç ãæ ¹æ®ADCå辨çãç³»ç»æ§è½ååºç¨ç误ç çè¦æ±ï¼è¯¥å¼ç大å°å¯è½ç¥æä¸åãä½¿ç¨æ¤è¯¯å·®å¸¦ä¸çæ³å¼è¿è¡æ¯è¾åï¼è¶
åºæ¤éå¼çæ ·æ¬å°è¢«è§ä¸ºè½¬æ¢é误ãå¨ä¼ ç»è§é¢ADCä¸ï¼æ¤é误被称为âéªç âï¼å 为å®ä¼å¨è§é¢å±å¹ä¸äº§ç亮ç½è²åç´ éªçã坿¥åç转æ¢å¨è¯¯ç çå¾å¤§ç¨åº¦ä¸åå³äºä¿¡å·å¤çç³»ç»åç³»ç»è¯¯å·®å®¹å·®è¦æ±ã
Â
Historically, the conversion error rate of GSPS ADCs has generally not been lower than 1e-14. The 1e-15 error rate means the converter should not have conversion errors within the 1e15 sample range. Although these numbers seem large, with today's advanced converter technology's high sampling rates, CER testing is still achievable. However, for a 125MSPS converter with an 8ns sampling rate, 1e15 sampling will take 800,000 seconds (1e15*8ns), which is 9.24 days. To achieve 95% CL in these bit error rates, the average sampling duration must be multiplied by 2.996.
CERæµè¯
Figure 2 shows how to test the internal ADC core CER. When sampling at or near the ADC's maximum encoding rate, a relatively slower frequency sine wave can be used as the analog input. Analog input signals should be planned so that, ignoring system noise, the expected absolute difference between two adjacent samples does not exceed 1LSB code. Ideally, the analog input signal should be slightly larger than the full scale to allow all ADC code to be used. Analog input and code sampling rates should be calculated to establish longer consistency cycles, whereas ADCs do not perform consistent sampling at the same code level.

Figure 2: Two sampling scenarios for CER testing. The top case samples analog signals at a rate slightly faster than Fs/2, with only one sample compared every other sample. Ideally, the difference between two consecutive samples should not exceed one LSB code. The following scenario involves oversampling relatively slow analog inputs so that differences between two adjacent samples do not exceed one LSB code.
The system uses a counter to track when the amplitude difference between two adjacent samples exceeds the threshold limit and counts this as a conversion error. This counter must retain the cumulative total of errors throughout the entire testing process. To ensure the system operates as expected, the relationship between the error magnitude and ideal conditions should also be recorded. The time required for testing will be based on sampling rate, required test CER, and required confidence (Figure 3).
å°ç»
Typical converter architectures can achieve some system-acceptable measurement conversion bit error rates, and new designs and error detection algorithms are driving better performance at the limits. ADI's 12-bit 2.5 GSPS ADC AD9625 hierarchical comparison pipeline core uses proprietary technology to detect ADC conversion errors during the early stages of the pipeline, then process and correct later errors. This achieves industry-leading measurement CERs on 12-bit GSPS ADCs that outperform the 1e-15 with 95% confidence.