TW202230993A - A method to test dac linearity with low cost - Google Patents

A method to test dac linearity with low cost Download PDF

Info

Publication number
TW202230993A
TW202230993A TW110127206A TW110127206A TW202230993A TW 202230993 A TW202230993 A TW 202230993A TW 110127206 A TW110127206 A TW 110127206A TW 110127206 A TW110127206 A TW 110127206A TW 202230993 A TW202230993 A TW 202230993A
Authority
TW
Taiwan
Prior art keywords
digital
analog
voltage
digital converter
test
Prior art date
Application number
TW110127206A
Other languages
Chinese (zh)
Other versions
TWI771121B (en
Inventor
津 魏
經祥 張
胡雪原
Original Assignee
大陸商勝達克半導體科技(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商勝達克半導體科技(上海)有限公司 filed Critical 大陸商勝達克半導體科技(上海)有限公司
Application granted granted Critical
Publication of TWI771121B publication Critical patent/TWI771121B/en
Publication of TW202230993A publication Critical patent/TW202230993A/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1071Measuring or testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

A method to test DAC linearity with low cost is provided. (S1) A high precision parameter measuring unit operation parameter is set. (S2) A digital test channel is set to be in an input retrieving mode. (S3) A digital test channel pattern program is executed and an under-test ADC converts a trigger signal and is retrieved by the digital test channel. (S4) Whether the retrieved data is successful or failed is determined by the digital test channel such that a failed data report is recorded when the retrieved data is failed. (S5) Steps (S3) and (S4) are repeated until the voltage of the high precision parameter measuring unit rises to a terminal value. (S6) The failed data report is inquired to determine whether the test is under a condition of go or no-go and is analyzed. Comparing to a current technology, the present invention shortens a test time while maintaining high precision and increasing test efficiency.

Description

一種低成本測試類比至數位轉換器線性度的方法A low-cost method for testing the linearity of analog-to-digital converters

本發明是關於類比至數位轉換器技術領域,具體地說是一種低成本測試類比至數位轉換器線性度的方法。The present invention relates to the technical field of analog-to-digital converters, in particular to a low-cost method for testing the linearity of analog-to-digital converters.

目前很多數位晶片都集成了少量類比與數位混合訊號處理的功能,以類比至數位轉換器(analog to digital converter;ADC)最為典型。為了判斷類比至數位轉換器的好壞,通常需要測試類比至數位轉換器的線性度。At present, many digital chips integrate a small amount of analog and digital mixed-signal processing functions, with analog to digital converter (ADC) being the most typical. In order to judge the quality of an analog-to-digital converter, it is usually necessary to test the linearity of the analog-to-digital converter.

在自動測試機臺上測試類比至數位轉換器的線性度的傳統方法和技術要求是:1)利用任意波形產生器(arbitrary waveform generator;AWG)產生的電壓斜坡訊號,連接到類比至數位轉換器的類比訊號輸入端。電壓範圍覆蓋整個類比至數位轉換器工作的電壓輸入範圍。需要高品質的電壓斜坡訊號,平滑度足夠好。為了避免出現臺階紋波,要利用任意波形產生器的低通濾波功能來平滑斜坡波形,且斜坡不能太慢,以保證低通濾波器的平滑效果。2)利用數位通道的捕獲功能去抓取類比至數位轉換器轉換的數位編碼輸出結果。要做足夠多次轉換和抓取足夠多的資料,以保證類比至數位轉換器每一個數值編碼都有平均16點對應的電壓輸入,類比至數位轉換器全“0”碼和全“1”碼都有足夠多的飽和電壓輸入;例如10位元的類比至數位轉換器有1024個數值編碼,通常需要採樣資料1024*16+2000點。並且需要高品質的時脈同步控制,任意波形產生器每次產生斜坡的相位要有精準偏移量,以保證所有數位編碼的對應的電壓都會被採樣且機率均等。3)將採集的資料回讀,後台軟體做柱狀圖分佈分析,計算積分非線性(INL)和微分非線性(DNL)的指標,判斷通過或不通過(Pass/Fail)。The traditional methods and technical requirements for testing the linearity of an analog-to-digital converter on an automatic test machine are: 1) Use the voltage ramp signal generated by an arbitrary waveform generator (AWG) to connect to the analog-to-digital converter The analog signal input terminal. The voltage range covers the entire analog-to-digital converter operating voltage input range. A high-quality voltage ramp signal with sufficient smoothness is required. In order to avoid step ripple, the low-pass filtering function of the arbitrary waveform generator should be used to smooth the ramp waveform, and the ramp should not be too slow to ensure the smoothing effect of the low-pass filter. 2) Use the capture function of the digital channel to capture the digital code output result converted from the analog to digital converter. It is necessary to convert enough times and capture enough data to ensure that each numerical code of the analog-to-digital converter has an average of 16 corresponding voltage inputs, and the analog-to-digital converter has all "0" codes and all "1" codes. The code has enough saturation voltage input; for example, a 10-bit analog-to-digital converter has 1024 numerical codes, and usually requires 1024*16+2000 points of sampling data. In addition, high-quality clock synchronization control is required, and the phase of each ramp generated by the arbitrary waveform generator must have a precise offset to ensure that the corresponding voltages of all digital codes will be sampled with equal probability. 3) Read back the collected data, analyze the histogram distribution in the background software, calculate the indicators of integral nonlinearity (INL) and differential nonlinearity (DNL), and judge whether to pass or fail (Pass/Fail).

測試通常需要測試機台加配混合訊號測試模組,包含任意波形產生器。混合訊號測試模組是昂貴的,而且佔用測試機台的內部空間,相當於減少了機台的數位訊號測試通道的數量。The test usually requires the test machine to be equipped with a mixed-signal test module, including an arbitrary waveform generator. The mixed-signal test module is expensive and occupies the internal space of the test machine, which is equivalent to reducing the number of digital signal test channels of the machine.

傳統測試方法需要大量資料採樣,佔用測試時間。而且採樣資料要回讀到電腦端,做軟體分析,才能判斷結果,這個回讀過程也佔用測試時間。並且,傳統測試方法沒有簡化的空間。對於低成本的類比至數位轉換器,通常只有在晶片設計驗證階段,才會啟用精準測量INL/DNL的方法。在晶片量產階段的測試的需求只要滿足通過或不通過(Go-NoGo)的判斷即可。具體就是驗證INL/DNL有沒有超過最小編碼寬度的情況。但是傳統測試方法為了測試判斷結果正確,就不能縮減採樣資料量,因此不能縮減測試時間。而且通過或不通過(Go-NoGo)的判斷還是要基於INL/DNL的計算,還是要把資料全部回讀並做軟體分析。Traditional testing methods require a large amount of data sampling, which takes up testing time. In addition, the sampling data must be read back to the computer, and software analysis can be done to judge the results. This read back process also takes up the test time. Also, there is no room for simplification in traditional test methods. For low-cost analog-to-digital converters, methods to accurately measure INL/DNL are typically only enabled during the chip design verification phase. The test requirements in the wafer mass production stage only need to meet the judgment of pass or fail (Go-NoGo). Specifically, it is to verify whether the INL/DNL exceeds the minimum encoding width. However, the traditional testing method cannot reduce the amount of sampling data in order to make the test judgment result correct, so the testing time cannot be reduced. Moreover, the judgment of pass or fail (Go-NoGo) should still be based on the calculation of INL/DNL, or all the data should be read back and analyzed by software.

因此利用混合訊號測試模組的傳統測試方法對於低成本的類比至數位轉換器晶片測試是不經濟的,負擔不起的。Therefore, the traditional test method using mixed-signal test modules is uneconomical and unaffordable for low-cost analog-to-digital converter chip testing.

本發明為克服現有技術的不足,提供一種低成本測試類比至數位轉換器線性度的方法,利用數位測試通道上整合的高精度參數測量單元實現低成本測試類比至數位轉換器線性度的需求。In order to overcome the deficiencies of the prior art, the present invention provides a low-cost method for testing the linearity of an analog-to-digital converter.

為實現上述目的,設計一種低成本測試類比至數位轉換器線性度的方法,其特徵在於包括如下步驟:In order to achieve the above object, a low-cost method for testing the linearity of an analog-to-digital converter is designed, which is characterized by comprising the following steps:

(S1)設置高精度參數測量單元工作參數;(S1) Set the working parameters of the high-precision parameter measurement unit;

(S2)設置數位測試通道為輸入捕獲模式;(S2) Set the digital test channel to input capture mode;

(S3)執行數位測試通道樣式程式,被測類比至數位轉換器轉換觸發訊號,並被數位測試通道捕獲;(S3) Execute the digital test channel pattern program, the analog-to-digital converter under test converts the trigger signal, and the signal is captured by the digital test channel;

(S4)數位測試通道對抓取的資料進行成功或出錯的判斷,如果出錯,記錄出錯資料報告;(S4) The digital test channel makes a judgment on the success or error of the captured data, and if there is an error, records the error data report;

(S5)重複步驟(S3)-(S4),直至高精度參數測量單元的電壓升高至結束值;(S5) Repeat steps (S3)-(S4) until the voltage of the high-precision parameter measurement unit rises to the end value;

(S6)查詢出錯資料報告,判斷通過或不通過,獲得所有的出錯資料報告進行分析;(S6) Query the error data report, judge whether it is passed or not, and obtain all the error data reports for analysis;

所述的步驟(S3)具體包括如下步驟:The step (S3) specifically includes the following steps:

(S31)執行數位測試通道樣式程式;(S31) Execute the digital test channel pattern program;

(S32)高精度參數測量單元依次根據被測類比至數位轉換器的每一數值編碼對應的中心電壓理想值輸出電壓;(S32) The high-precision parameter measuring unit sequentially outputs the voltage according to the ideal value of the central voltage corresponding to each numerical code from the analog to the digital converter under test;

(S33)高精度參數測量單元輸出的電壓到位後,被測類比至數位轉換器做一次類比至數位轉換;(S33) After the voltage output by the high-precision parameter measurement unit is in place, the analog-to-digital converter under test performs an analog-to-digital conversion;

(S34)等待固定時間t後,數位測試通道做一次資料抓取。(S34) After waiting for a fixed time t, the digital test channel performs a data capture.

所述的步驟(S1)中,設置高精度參數測量單元輸出的臺階電壓的初始值為被測類比至數位轉換器的數位編碼0對應的電壓,單步值為被測類比至數位轉換器的最小編碼寬度電壓,結束值為被測類比至數位轉換器的最大數位編碼值對應的電壓。In the step (S1), the initial value of the step voltage output by the high-precision parameter measurement unit is set as the voltage corresponding to the digital code 0 of the analog-to-digital converter under test, and the single-step value is the voltage of the analog-to-digital converter under test. The minimum code width voltage, the end value is the voltage corresponding to the maximum digital code value of the analog-to-digital converter under test.

所述的步驟(S34)中的固定時間t=1/f,f為被測類比至數位轉換器的採樣率。The fixed time t=1/f in the step (S34), f is the sampling rate of the analog-to-digital converter under test.

所述的步驟(S4)中將數位測試通道抓取的資料與數位測試通道樣式程式裡的預期值進行比較,兩個數值完全相等為成功,有1位元差異即為出錯。In the step (S4), the data captured by the digital test channel is compared with the expected value in the digital test channel pattern program. If the two values are completely equal, it is a success, and if there is a 1-bit difference, it is an error.

所述的步驟(S6)中通過或不通過的判斷標準是出錯資料報告是否全空,出錯資料報告全空即為通過,出錯資料報告不為空即為不通過。The criterion for passing or failing in the step (S6) is whether the error data report is completely empty, and the error data report is completely empty is passed, and if the error data report is not empty, it is failed.

所述的數位測試通道、高精度參數測量單元與被測類比至數位轉換器之間設有測試電路,所述的測試電路包括數位測試通道、參數設置數位至類比轉換器、強制放大器、誤差比較器、電壓放大器以及被測類比至數位轉換器,數位測試通道的樣式觸發訊號埠連接參數設置數位至類比轉換器的一端,參數設置數位至類比轉換器的另一端分別連接誤差比較器的一號埠以及強制放大器的一號埠,誤差比較器的二號埠分別連接強制放大器的二號埠、高精度參數測量單元與電壓放大器的三號埠,誤差比較器的三號埠連接數位測試通道的參數到位訊號埠,強制放大器的三號埠分別連接被測類比至數位轉換器的一號埠及第一電壓跟隨器的一端,第一電壓跟隨器的另一端連接電壓放大器的一號埠,被測類比至數位轉換器的二號埠分別連接第二電壓跟隨器的一端以及第二系統公共接地端的一端,第二電壓跟隨器的另一端連接電壓放大器的二號埠,第二系統公共接地端的另一端連接第一系統公共接地端的一端,第一系統公共接地端的另一端連接強制放大器的四號埠,被測類比至數位轉換器的三號埠連接數位測試通道的數位通道捕獲埠。A test circuit is provided between the digital test channel, the high-precision parameter measurement unit and the analog-to-digital converter under test, and the test circuit includes a digital test channel, a parameter-setting digital-to-analog converter, a forced amplifier, and an error comparison. The digital test channel's pattern trigger signal port is connected to one end of the parameter setting digital to analog converter, and the other end of the parameter setting digital to analog converter is respectively connected to the No. 1 of the error comparator. port and the No. 1 port of the forced amplifier, the No. 2 port of the error comparator is respectively connected to the No. 2 port of the forced amplifier, the high-precision parameter measurement unit and the No. 3 port of the voltage amplifier, and the No. 3 port of the error comparator is connected to the digital test channel. The parameter is in place to the signal port, and the No. 3 port of the amplifier is forced to connect the analog under test to the No. 1 port of the digital converter and one end of the first voltage follower. The other end of the first voltage follower is connected to the No. 1 port of the voltage amplifier. The second port of the analog-to-digital converter is respectively connected to one end of the second voltage follower and one end of the second system common ground, the other end of the second voltage follower is connected to the second port of the voltage amplifier, and the second system common ground The other end is connected to one end of the first system common ground, the other end of the first system common ground is connected to the fourth port of the forced amplifier, and the third port of the analog to digital converter under test is connected to the digital channel capture port of the digital test channel.

本發明同現有技術相比,具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1.通過數位測試通道與高精度參數測量單元之間的雙向通訊機制,最佳化了電壓穩定等待時間,縮減了測試時間;1. Through the two-way communication mechanism between the digital test channel and the high-precision parameter measurement unit, the waiting time for voltage stabilization is optimized and the test time is shortened;

2.利用高精度參數測量單元的四線模式,確保載入到被測類比至數位轉換器輸入端的電壓精準,優於被測類比至數位轉換器的最小編碼寬度的10倍以上的精度。2. Utilize the four-wire mode of the high-precision parameter measurement unit to ensure that the voltage loaded into the input terminal of the analog-to-digital converter under test is accurate, which is better than the accuracy of more than 10 times the minimum code width of the analog-to-digital converter under test.

3.數位測試通道直接對抓取的資料進行判斷,無需回讀數據分析,可以直觀地獲得測試結果,提高測試效率;3. The digital test channel directly judges the captured data, without the need to read back the data for analysis, the test results can be obtained intuitively, and the test efficiency can be improved;

4.當測試過程出錯,只記錄出錯資料報告,出錯時回讀出錯資料報告,不必每次測試都回讀數據;並且回讀的資料包含了所有錯誤,便於直接分析結果,無需從大量測試資料檢索出錯資料。4. When there is an error in the test process, only the error data report is recorded, and the error data report is read back when there is an error, and it is not necessary to read back the data every time the test is performed; and the read back data includes all errors, which is convenient for direct analysis of the results, without the need for a large number of test data. Searching for error data.

有關本案的特徵、實作與功效,茲配合圖式作較佳實施例詳細說明如下。Regarding the features, implementation and effects of this case, a preferred embodiment is described in detail as follows in conjunction with the drawings.

下面根據附圖對本發明做進一步的說明。The present invention will be further described below according to the accompanying drawings.

類比至數位轉換器ADC是把輸入電壓訊號轉換成輸出數位編碼。如圖4至圖5所示。數位編碼用二進位表示,在量化範圍內,每一個電壓都會轉換成唯一數位編碼值,每一個數位編碼值對應於一段電壓範圍,這個範圍的電壓都會轉換為相同的數位編碼值。這個範圍的寬度就叫數位編碼寬度。這個電壓範圍的中點稱為轉態點。全部量化範圍除以數位編碼值的總數,叫最小編碼寬度,標記了類比至數位轉換器ADC的解析度。The analog-to-digital converter ADC converts the input voltage signal into an output digital code. As shown in Figure 4 to Figure 5. The digital code is represented by binary bits. In the quantization range, each voltage will be converted into a unique digital code value. Each digital code value corresponds to a voltage range, and the voltages in this range will be converted into the same digital code value. The width of this range is called the digital code width. The midpoint of this voltage range is called the transition point. The total quantization range divided by the total number of digitally encoded values, called the minimum code width, marks the resolution of the analog-to-digital converter ADC.

理想情況下,所有數位編碼的數位編碼寬度都相同,都等於最小編碼寬度,每個轉態點都位於理想ADC特徵線上。Ideally, all digit codes have the same digit code width, which is equal to the minimum code width, and each transition point is located on the ideal ADC characteristic line.

實際轉換函數和理想轉換函數的偏差如圖6所示。在整個量化範圍內,實際轉態點和理想轉態點偏差的最大值,稱為積分非線性。The deviation between the actual transfer function and the ideal transfer function is shown in Figure 6. In the entire quantification range, the maximum deviation between the actual transition point and the ideal transition point is called integral nonlinearity.

如果測試的輸入電壓都是理想轉態點,當實際轉態點和理想轉態點偏差大於一個數位編碼寬度時,就會出現轉換結果不符預期。我們依次遍曆所有理想轉態點的電壓來驗證類比至數位轉換器ADC的轉換,轉換結果就會出現多個不符合預期值。If the tested input voltages are all ideal transition points, when the deviation between the actual transition point and the ideal transition point is greater than one digit code width, the conversion result does not meet expectations. We verify the analog-to-digital converter ADC conversion by looping through the voltages of all ideal transition points in turn, and the conversion results show multiple values that are not as expected.

因此,如果積分非線性的通過或不通過標準是誤差小於一個最小編碼寬度,只做理想轉態點的驗證就能夠檢出積分非線性的通過或不通過。Therefore, if the pass or fail criterion of integral nonlinearity is that the error is less than a minimum code width, the pass or fail of integral nonlinearity can be detected only by the verification of the ideal transition point.

在實際轉換函數中,每個數位編碼寬度都有誤差,如圖7所示。即實際寬度和標準寬度(最小編碼寬度)的偏差。在所有數位編碼值的偏差中最大值稱為微分非線性。In the actual transfer function, there is an error for each digit code width, as shown in Figure 7. That is, the deviation between the actual width and the standard width (minimum encoded width). The largest value among the deviations of all digit-encoded values is called differential nonlinearity.

如果測試的輸入電壓都是理想轉態點,每個數位編碼值只對應測量一個點,無法標定實際的數位編碼寬度,因此無法得出微分非線性。但是當實際轉態點和理想轉態點的偏差大於一個數位編碼寬度時,不但轉換結果不符預期,檢查相鄰的結果還必然出現丟失碼或重複碼的現象。我們依次遍歷所有理想轉態點的電壓來驗證類比至數位轉換器的轉換,轉換結果就會出現丟失碼和重複碼。而且丟失碼和重複碼的現象應該成對出現,兩者之間的資料都不符合預期。If the tested input voltages are all ideal transition points, each digital code value corresponds to only one measurement point, and the actual digital code width cannot be calibrated, so the differential nonlinearity cannot be obtained. However, when the deviation between the actual transition point and the ideal transition point is greater than one digit code width, not only the conversion result is not as expected, but also the phenomenon of missing codes or duplicate codes will inevitably appear when checking adjacent results. We verify the analog-to-digital converter conversion by going through the voltages of all ideal transition points in turn, resulting in missing codes and duplicate codes. And the phenomenon of missing codes and duplicate codes should appear in pairs, and the data between the two are not as expected.

如果丟失碼和重複碼間隔很近甚至相鄰,則此處表現為微分非線性。如果丟失碼和重複碼之間包括了一大串不符合資料,則此處表現為積分非線性。根據這個特點可以判斷微分非線性有沒有超過一個最小編碼寬度。If the missing code and the repeated code are closely spaced or even adjacent, the differential nonlinearity is exhibited here. If there is a large series of non-conforming data between the missing code and the repeated code, the integral nonlinearity is manifested here. According to this feature, it can be judged whether the differential nonlinearity exceeds a minimum code width.

因此,如果微分非線性的通過或不通過標準是誤差小於一個最小編碼寬度,只做理想轉態點的驗證也能夠檢出微分非線性的通過或不通過。Therefore, if the pass or fail criterion of the differential nonlinearity is that the error is less than a minimum code width, only the verification of the ideal transition point can also detect the pass or fail of the differential nonlinearity.

請參照圖1至圖3。圖1為本發明一實施例中,一種低成本測試類比至數位轉換器線性度的方法100的流程圖。圖2為本發明一實施例中,本發明步驟(S3)-(S4)的流程圖。圖3為本發明一實施例中,用以實現方法100的電路圖。Please refer to Figure 1 to Figure 3. FIG. 1 is a flowchart of a low-cost method 100 for testing the linearity of an analog-to-digital converter according to an embodiment of the present invention. FIG. 2 is a flowchart of steps (S3)-(S4) of the present invention in an embodiment of the present invention. FIG. 3 is a circuit diagram for implementing the method 100 according to an embodiment of the present invention.

如圖1至圖3所示,一種低成本測試類比至數位轉換器線性度的方法,包括如下步驟:As shown in Figures 1 to 3, a low-cost method for testing the linearity of an analog-to-digital converter includes the following steps:

(S1)設置高精度參數測量單元PMU工作參數;(S1) Set the working parameters of the high-precision parameter measurement unit PMU;

(S2)設置數位測試通道PE為輸入捕獲模式;(S2) Set the digital test channel PE to the input capture mode;

(S3)執行數位測試通道PE樣式程式,被測類比至數位轉換器ADC轉換觸發訊號,並被數位測試通道PE捕獲;(S3) Execute the digital test channel PE style program, the analog to digital converter ADC converts the trigger signal, and is captured by the digital test channel PE;

(S4)數位測試通道PE對抓取的資料進行成功或出錯的判斷,如果出錯,記錄出錯的出錯資料報告;(S4) The digital test channel PE judges the success or error of the captured data, and if there is an error, records the error data report of the error;

(S5)重複步驟(S3)-(S4),直至高精度參數測量單元PMU的電壓升高至結束值;(S5) Repeat steps (S3)-(S4) until the voltage of the high-precision parameter measurement unit PMU rises to the end value;

(S6)查詢出錯資料報告,判斷通過或不通過,獲得所有的出錯資料報告進行分析;(S6) Query the error data report, judge whether it is passed or not, and obtain all the error data reports for analysis;

所述的步驟(S3)具體包括如下步驟:The step (S3) specifically includes the following steps:

(S31)執行數位測試通道PE樣式程式;(S31) Execute the digital test channel PE style program;

(S32)高精度參數測量單元PMU依次根據被測類比至數位轉換器ADC的每一數值編碼對應的中心電壓理想值輸出電壓;(S32) The high-precision parameter measurement unit PMU sequentially encodes the corresponding ideal value of the central voltage according to each value of the analog to the digital converter ADC under test and outputs the voltage;

(S33)高精度參數測量單元PMU輸出的電壓到位後,被測類比至數位轉換器ADC做一次類比至數位轉換;(S33) After the voltage output by the high-precision parameter measurement unit PMU is in place, the analog-to-digital converter ADC under test performs an analog-to-digital conversion;

(S34)等待固定時間t後,數位測試通道PE做一次資料抓取。(S34) After waiting for a fixed time t, the digital test channel PE performs a data capture.

步驟(S1)中,設置高精度參數測量單元PMU輸出的臺階電壓的初始值為被測類比至數位轉換器ADC的數位編碼0對應的電壓,單步值為被測類比至數位轉換器ADC的最小編碼寬度電壓,結束值為被測類比至數位轉換器ADC的最大數位編碼值對應的電壓。In step (S1), the initial value of the step voltage output by the high-precision parameter measurement unit PMU is set as the voltage corresponding to the digital code 0 of the analog-to-digital converter ADC under test, and the single-step value is the voltage of the analog-to-digital converter ADC under test. The minimum code width voltage, the end value is the voltage corresponding to the maximum digital code value of the analog-to-digital converter ADC under test.

步驟(S34)中的固定時間t=1/f,f為被測類比至數位轉換器ADC的採樣率。The fixed time t=1/f in step (S34), f is the sampling rate of the analog-to-digital converter ADC under test.

步驟(S4)中將數位測試通道PE抓取的資料與數位測試通道樣式程式裡的預期值進行比較,兩個數值完全相等為成功,有1位元差異即為出錯。In step (S4), the data captured by the digital test channel PE is compared with the expected value in the digital test channel style program. If the two values are completely equal, it is a success, and if there is a 1-bit difference, it is an error.

步驟(S6)中通過或不通過的判斷標準是出錯資料報告是否全空,出錯資料報告全空即為通過,出錯資料報告不為空即為不通過。出錯資料報告全空,即說明所有數位編碼值的電壓誤差都小於一個最小編碼寬度,符合通過的標準。出錯資料報告不為空,說明至少有一個數位編碼值的電壓誤差大於一個最小編碼寬度,符合不通過的標準。The criterion for passing or failing in step (S6) is whether the error data report is completely empty, and the error data report is completely empty is passed, and the error data report is not empty is the failure. The error data report is completely empty, which means that the voltage error of all digital code values is less than a minimum code width, which meets the passed standard. If the error data report is not empty, it means that the voltage error of at least one digital code value is greater than a minimum code width, which meets the standard of rejection.

數位測試通道PE、高精度參數測量單元PMU與被測類比至數位轉換器ADC之間設有測試電路。測試電路包括數位測試通道PE、參數設置數位至類比轉換器DAC、強制放大器FA、誤差比較器EC、電壓放大器VA、被測類比至數位轉換器ADC,數位測試通道PE的樣式觸發訊號埠T1連接參數設置數位至類比轉換器DAC的一端,參數設置數位至類比轉換器DAC的另一端分別連接誤差比較器EC的一號埠以及強制放大器FA的一號埠,誤差比較器EC的二號埠分別連接強制放大器FA的二號埠、高精度參數測量單元PMU與電壓放大器VA的三號埠,誤差比較器EC的三號埠連接數位測試通道PE的參數到位訊號埠T2,強制放大器FA的三號埠分別連接被測類比至數位轉換器ADC的一號埠及第一電壓跟隨器VF1的一端,第一電壓跟隨器VF1的另一端連接電壓放大器VA的一號埠,被測類比至數位轉換器ADC的二號埠分別連接第二電壓跟隨器VF2的一端以及第二系統公共接地端GND2的一端,第二電壓跟隨器VF2的另一端連接電壓放大器VA的二號埠,第二系統公共接地端GND2的另一端連接第一系統公共接地端GND1的一端,第一系統公共接地端GND1的另一端連接強制放大器FA的四號埠,被測類比至數位轉換器ADC的三號埠連接數位測試通道PE的數位通道捕獲埠T3。A test circuit is provided between the digital test channel PE, the high-precision parameter measurement unit PMU and the analog-to-digital converter ADC under test. The test circuit includes a digital test channel PE, a parameter setting digital-to-analog converter DAC, a forced amplifier FA, an error comparator EC, a voltage amplifier VA, an analog-to-digital converter ADC under test, and the pattern trigger signal port T1 connection of the digital test channel PE The parameters set the digital to one end of the analog converter DAC, and the other end of the parameter set digital to the analog converter DAC are respectively connected to the first port of the error comparator EC and the first port of the forced amplifier FA, and the second port of the error comparator EC respectively Connect the No. 2 port of the forced amplifier FA, the high-precision parameter measurement unit PMU and the No. 3 port of the voltage amplifier VA, the No. 3 port of the error comparator EC is connected to the parameter in-position signal port T2 of the digital test channel PE, and the No. 3 port of the forced amplifier FA The ports are respectively connected to the first port of the analog under test to the digital converter ADC and one end of the first voltage follower VF1, the other end of the first voltage follower VF1 is connected to the first port of the voltage amplifier VA, and the analog under test is connected to the digital converter. The second port of the ADC is respectively connected to one end of the second voltage follower VF2 and one end of the second system common ground GND2, the other end of the second voltage follower VF2 is connected to the second port of the voltage amplifier VA, and the second system common ground The other end of GND2 is connected to one end of the first system common ground terminal GND1, the other end of the first system common ground terminal GND1 is connected to the fourth port of the forced amplifier FA, and the third port of the analog to digital converter ADC is connected to the digital test channel. PE's digital channel capture port T3.

具體使用時,數位測試通道PE的型號為ADATE318BCPZ。參數設置數位至類比轉換器DAC的型號為AD5522JSVUZ內置的16-BIT FIN DAC。強制放大器FA的型號為OPA547。誤差比較器EC的型號為AD5522JSVUZ內置的兩個電壓比較器CPL和CPH,其閾值電壓分別設置為目標電壓加/減一個最小編碼寬度電壓。當實際電壓到達兩個閾值電壓中間區間,則兩個比較器的輸出邏輯可以作為電壓到位的指示。電壓放大器的型號為AD5522JSVUZ內置的VA。第一電壓跟隨器VF1、第二電壓跟隨器VF2的型號均為AD5522JSVUZ晶片內置的電壓跟隨器。In specific use, the model of digital test channel PE is ADATE318BCPZ. Parameter setting The model of the digital-to-analog converter DAC is the built-in 16-BIT FIN DAC of the AD5522JSVUZ. The model number of the forced amplifier FA is OPA547. The model of the error comparator EC is the built-in two voltage comparators CPL and CPH of the AD5522JSVUZ, and its threshold voltages are respectively set to the target voltage plus/minus a minimum code width voltage. When the actual voltage reaches the middle interval between the two threshold voltages, the output logic of the two comparators can be used as an indication that the voltage is in place. The model of the voltage amplifier is the VA built into the AD5522JSVUZ. The models of the first voltage follower VF1 and the second voltage follower VF2 are both built-in voltage followers in the AD5522JSVUZ chip.

如圖3所示,僅利用高精度參數測量單元PMU也能夠實現類比至數位轉換器ADC的線性度的測試,相比常規的測試方案,測試系統可以省去配置混合訊號測試模組,提高數位通道的密度,降低測試成本,提高測試效率。As shown in Figure 3, the linearity test of the analog-to-digital converter ADC can be achieved only by using the high-precision parameter measurement unit PMU. The density of the channels reduces the test cost and improves the test efficiency.

高精度參數測量單元PMU工作在臺階電壓輸出模式。輸出電壓由參數設置數位至類比轉換器DAC設置,預先設置好臺階值,從0電壓開始,每收到一個觸發訊號,輸出電壓就會增加一個臺階,不需要每次設置。當參數設置數位至類比轉換器DAC的精度遠高於被測類比至數位轉換器ADC的最小編碼寬度,就可以用高精度參數測量單元PMU來測試類比至數位轉換器ADC的非線性。The high-precision parameter measurement unit PMU works in the step voltage output mode. The output voltage is set by the parameter setting digital-to-analog converter DAC, and the step value is pre-set, starting from 0 voltage, each time a trigger signal is received, the output voltage will increase by one step, and there is no need to set it every time. When the accuracy of the parameter setting the digital-to-analog converter DAC is much higher than the minimum code width of the analog-to-digital converter ADC under test, the high-precision parameter measurement unit PMU can be used to test the nonlinearity of the analog-to-digital converter ADC.

強制放大器FA的輸出電壓經過多段線路送到被測晶片類比至數位轉換器ADC的輸入端,再通過晶片接地接腳和系統公共接地端,回流至高精度參數測量單元PMU電路,這是一對訊號驅動線。驅動線路上的電流會引入電壓誤差。但是通過四線制接法,將被測晶片的輸入端和晶片接地用一對專用的訊號傳輸線引入高精度參數測量單元PMU的測量電路,這對傳輸線上電流極小,因此幾乎沒有引入電壓誤差,可以很精確測量到被測晶片的實際值。通過負迴受封閉迴路控制,可以很精準控制被測晶片的載入的電壓實際值。The output voltage of the forced amplifier FA is sent to the input end of the analog to digital converter ADC through the multi-segment line, and then returned to the high-precision parameter measurement unit PMU circuit through the chip ground pin and the system common ground. This is a pair of signals drive line. Currents on the drive lines introduce voltage errors. However, through the four-wire connection method, the input end of the tested chip and the grounding of the chip are introduced into the measurement circuit of the high-precision parameter measurement unit PMU with a pair of dedicated signal transmission lines. The current on the transmission line is extremely small, so almost no voltage error is introduced. The actual value of the wafer under test can be measured very accurately. Through the closed loop control of the negative loop, the actual value of the loaded voltage of the wafer under test can be precisely controlled.

強制放大器FA有補償電容,會放慢實際電壓到位速度,以保障封閉迴路電路穩定性。而誤差比較器可以判斷實際電壓是否到位,並在電壓到位之後發送一個參數到位訊號給數位測試通道。Forcing the amplifier FA to have a compensation capacitor will slow down the actual voltage arrival speed to ensure the stability of the closed loop circuit. The error comparator can judge whether the actual voltage is in place, and send a parameter in-place signal to the digital test channel after the voltage is in place.

雖然以上描述了本發明的具體實施方式,但是本領域的技術人員應該理解,這些僅是舉例說明,在不違背本發明的原理和實質的前提下,可以對這些實施方式做出多種變更或修改。Although the specific embodiments of the present invention are described above, those skilled in the art should understand that these are only examples, and various changes or modifications can be made to these embodiments without departing from the principle and essence of the present invention .

100:方法 S1~S6:步驟 S31~S34:步驟 ADC:類比至數位轉換器 DAC:參數設置數位至類比轉換器 EC:誤差比較器 FA:強制放大器 GND1:第一系統公共接地端 GND2:第二系統公共接地端 PE:數位測試通道 PMU:高精度參數測量單元 T1:樣式觸發訊號埠 T2:參數到位訊號埠 T3:數位通道捕獲埠 VA:電壓放大器 VF1:第一電壓跟隨器 VF2:第二電壓跟隨器 100: Method S1~S6: Steps S31~S34: Steps ADC: Analog to Digital Converter DAC: Parameterized Digital-to-Analog Converter EC: Error Comparator FA: Force Amplifier GND1: Common ground terminal of the first system GND2: Common ground terminal of the second system PE: digital test channel PMU: High Precision Parametric Measurement Unit T1: Pattern trigger signal port T2: parameter in place signal port T3: Digital channel capture port VA: Voltage Amplifier VF1: first voltage follower VF2: Second Voltage Follower

[圖1]為本發明一實施例中,一種低成本測試類比至數位轉換器線性度的方法的流程圖; [圖2]為本發明一實施例中,本發明步驟(S3)-(S4)的流程圖; [圖3]為本發明一實施例中,用以實現方法的電路圖; [圖4]為本發明一實施例中,類比至數位轉換器的原理示意圖; [圖5]為本發明一實施例中,圖4中A處的局部放大圖; [圖6]為本發明一實施例中,實際轉換函數和理想轉換函數的偏差示意圖;以及 [圖7]為本發明一實施例中,在實際轉換函數每個數位編碼寬度的誤差示意圖。 [FIG. 1] is a flowchart of a low-cost method for testing the linearity of an analog-to-digital converter in an embodiment of the present invention; [Fig. 2] is a flowchart of steps (S3)-(S4) of the present invention in an embodiment of the present invention; [FIG. 3] is a circuit diagram for implementing the method in an embodiment of the present invention; [FIG. 4] is a schematic diagram of the principle of an analog-to-digital converter in an embodiment of the present invention; [Fig. 5] is a partial enlarged view of A in Fig. 4 in an embodiment of the present invention; [ Fig. 6 ] is a schematic diagram of the deviation between the actual transfer function and the ideal transfer function in an embodiment of the present invention; and [ FIG. 7 ] is a schematic diagram of the error of each digit code width of the actual conversion function in an embodiment of the present invention.

S31~S34:步驟 S31~S34: Steps

Claims (6)

一種低成本測試類比至數位轉換器線性度的方法,包括如下步驟: (S1)設置一高精度參數測量單元的一工作參數; (S2)設置一數位測試通道為輸入捕獲模式; (S3)執行一數位測試通道樣式程式,使一被測類比至數位轉換器轉換一觸發訊號,並被該數位測試通道捕獲; (S4)該數位測試通道對抓取的資料進行成功或出錯的判斷,如果出錯,記錄出錯的一出錯資料報告; (S5)重複步驟(S3)-(S4),直至該高精度參數測量單元的一電壓升高至一結束值;以及 (S6)查詢該出錯資料報告,判斷通過或不通過,獲得所有的該出錯資料報告進行分析; 其中,所述的步驟(S3)具體包括如下步驟: (S31)執行該數位測試通道樣式程式; (S32)使該高精度參數測量單元依次根據該被測類比至數位轉換器的每一數值編碼對應的一中心電壓理想值輸出該電壓; (S33)該高精度參數測量單元輸出的該電壓到位後,使該被測類比至數位轉換器做一次類比至數位轉換;以及 (S34)等待一固定時間t後,該數位測試通道做一次資料抓取。 A low-cost method for testing the linearity of an analog-to-digital converter, comprising the following steps: (S1) setting a working parameter of a high-precision parameter measuring unit; (S2) Set a digital test channel to input capture mode; (S3) Execute a digital test channel pattern program, so that a tested analog-to-digital converter converts a trigger signal and is captured by the digital test channel; (S4) The digital test channel judges whether the captured data is successful or erroneous, and if there is an error, a report of the erroneous data is recorded; (S5) repeating steps (S3)-(S4) until a voltage of the high-precision parameter measuring unit rises to an end value; and (S6) Query the error data report, judge whether it passes or fail, and obtain all the error data reports for analysis; Wherein, the step (S3) specifically includes the following steps: (S31) Execute the digital test channel pattern program; (S32) causing the high-precision parameter measuring unit to sequentially output the voltage according to an ideal value of a central voltage corresponding to each numerical code from the analog to digital converter to be measured; (S33) After the voltage output by the high-precision parameter measurement unit is in place, make the analog-to-digital converter under test perform an analog-to-digital conversion; and (S34) After waiting for a fixed time t, the digital test channel performs a data capture. 如請求項1所述的一種低成本測試類比至數位轉換器線性度的方法,更包含:步驟(S1)中,設置該高精度參數測量單元輸出一臺階電壓的一初始值為該被測類比至數位轉換器的數位編碼0對應的電壓,一單步值為該被測類比至數位轉換器的一最小編碼寬度電壓,一結束值為該被測類比至數位轉換器的 一最大數位編碼值對應的電壓。A low-cost method for testing the linearity of an analog-to-digital converter as claimed in claim 1, further comprising: in step (S1), setting an initial value of the high-precision parameter measurement unit to output a step voltage for the analog to be tested The voltage corresponding to the digital code 0 to the digital converter, a single step value is a minimum code width voltage of the analog-to-digital converter under test, and an end value is a maximum digital code value of the analog-to-digital converter under test corresponding voltage. 如請求項1所述的一種低成本測試類比至數位轉換器線性度的方法,更包含:步驟(S34)中的該固定時間t=1/f,f為該被測類比至數位轉換器的一採樣率。A low-cost method for testing the linearity of an analog-to-digital converter as described in claim 1, further comprising: the fixed time t=1/f in step (S34), where f is the measured analog-to-digital converter a sampling rate. 如請求項1所述的一種低成本測試類比至數位轉換器線性度的方法,更包含:步驟(S4)中將該數位測試通道抓取的資料與數位測試通道樣式程式裡的一預期值進行比較,兩個數值完全相等為成功,有1位元差異即為出錯。A low-cost method for testing the linearity of an analog-to-digital converter as described in claim 1, further comprising: in step (S4), comparing the data captured by the digital test channel with an expected value in the digital test channel pattern program If the two values are completely equal, the comparison is successful, and there is a 1-bit difference, which is an error. 如請求項1所述的一種低成本測試類比至數位轉換器線性度的方法,更包含:步驟(S6)中通過或不通過的判斷標準是該出錯資料報告是否全空,該出錯資料報告全空即為通過,該出錯資料報告不為空即為不通過。A low-cost method for testing the linearity of an analog-to-digital converter as described in claim 1, further comprising: the criterion for passing or failing in step (S6) is whether the error data report is completely empty, and the error data report is full Empty means pass, if the error data report is not empty means fail. 如請求項1所述的一種低成本測試類比至數位轉換器線性度的方法,其中該數字測試通道、該高精度參數測量單元與該被測類比至數位轉換器之間設有一測試電路,該測試電路包括該數位測試通道、一參數設置數位至類比轉換器、一強制放大器、一誤差比較器、一電壓放大器以及該被測類比至數位轉換器,該數位測試通道的一樣式觸發訊號埠連接該參數設置數位至類比轉換器的一端,該參數設置數位至類比轉換器的另一端分別連接該誤差比較器的一一號埠以及該強制放大器的一一號埠,該誤差比較器的一二號埠分別連接該強制放大器的一二號埠、該高精度參數測量單元與該電壓放大器的一三號埠,該誤差比較器的一三號埠連接該數位測試通道的一參數到位訊號埠,該強制放大器的一三號埠分別連接該被測類比至數位轉換器的一一號埠及該第一電壓跟隨器的一端,該第一電壓跟隨器的另一端該連接電壓放大器的一一號埠,該被測類比至數位轉換器的一二號埠分別連接一第二電壓跟隨器的一端以及一第二系統公共接地端的一端,該第二電壓跟隨器的另一端連接該電壓放大器的一二號埠,該第二系統公共接地端的另一端連接一第一系統公共接地端的一端,該第一系統公共接地端的另一端連接該強制放大器的一四號埠,該被測類比至數位轉換器的一三號埠連接該數位測試通道的一數位通道捕獲埠。A low-cost method for testing the linearity of an analog-to-digital converter as claimed in claim 1, wherein a test circuit is provided between the digital test channel, the high-precision parameter measurement unit and the analog-to-digital converter under test, and the The test circuit includes the digital test channel, a parameter-setting digital-to-analog converter, a forcing amplifier, an error comparator, a voltage amplifier, and the analog-to-digital converter under test. A pattern trigger signal port of the digital test channel is connected to This parameter sets one end of the digital-to-analog converter, and the other end of the digital-to-analog converter is respectively connected to port 11 of the error comparator and port 11 of the forced amplifier. The No. 1 and No. 2 ports are respectively connected to the No. 1 and No. 2 ports of the forced amplifier, the high-precision parameter measurement unit and the No. 1 and 3 ports of the voltage amplifier. The No. 1 and 3 ports of the error comparator are connected to a parameter-in-place signal port of the digital test channel. Ports 1 and 3 of the forced amplifier are respectively connected to the analog-to-digital converter port 11 and one end of the first voltage follower, and the other end of the first voltage follower is connected to the voltage amplifier's port 11 Ports 1 and 2 of the analog-to-digital converter under test are respectively connected to one end of a second voltage follower and one end of a second system common ground, and the other end of the second voltage follower is connected to one end of the voltage amplifier Port No. 2, the other end of the second system common ground terminal is connected to one end of a first system common ground terminal, the other end of the first system common ground terminal is connected to the No. 14 port of the forced amplifier, the analog to digital converter under test is Port 1 and 3 are connected to a digital channel capture port of the digital test channel.
TW110127206A 2021-01-08 2021-07-23 A method to test dac linearity with low cost TWI771121B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110026569.5A CN112865792B (en) 2021-01-08 2021-01-08 Method for testing linearity of analog-digital converter at low cost
CN202110026569.5 2021-01-08

Publications (2)

Publication Number Publication Date
TWI771121B TWI771121B (en) 2022-07-11
TW202230993A true TW202230993A (en) 2022-08-01

Family

ID=76001888

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110127206A TWI771121B (en) 2021-01-08 2021-07-23 A method to test dac linearity with low cost

Country Status (2)

Country Link
CN (1) CN112865792B (en)
TW (1) TWI771121B (en)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973631A (en) * 1998-01-20 1999-10-26 Raytheon Company Test circuit and method of trimming a unary digital-to-analog converter (DAC) in a subranging analog-to-digital converter (ADC)
SE516157C2 (en) * 1999-05-28 2001-11-26 Ericsson Telefon Ab L M Correction of static errors in an AD converter
TWI230514B (en) * 2003-10-29 2005-04-01 Spirox Corp Built-in self-test (BIST) apparatus and method for analog-to-digital converter (ADC)
TWI241071B (en) * 2004-06-30 2005-10-01 Univ Nat Cheng Kung Test framework and test method of analog to digital converter
US7023366B1 (en) * 2004-12-23 2006-04-04 Teradyne, Inc. Using a parametric measurement unit for converter testing
CN101088223A (en) * 2004-12-23 2007-12-12 泰拉丁公司 Using a parametric measurement unit for converter testing
US7519878B2 (en) * 2005-08-04 2009-04-14 Teradyne, Inc. Obtaining test data for a device
US8760180B1 (en) * 2013-07-29 2014-06-24 Analog Test Engines Systems and methods mitigating temperature dependence of circuitry in electronic devices
CN106059582B (en) * 2016-04-28 2019-07-02 芯海科技(深圳)股份有限公司 A kind of Testing of mixed signal chipset system and method
CN107560750A (en) * 2016-06-30 2018-01-09 国神光电科技(上海)有限公司 A kind of temperature measurement circuit and a kind of temperature measurement structure
CN107290588A (en) * 2017-05-03 2017-10-24 芯海科技(深圳)股份有限公司 A kind of system of high-precision multithreading measurement frequency
CN208061672U (en) * 2017-08-04 2018-11-06 成都泰码思测控技术有限公司 A kind of flash memory Trimming test boards
CN108226751B (en) * 2017-12-14 2020-10-02 芯海科技(深圳)股份有限公司 System and method for evaluating performance of multi-processor cooperative chip
CN208421017U (en) * 2018-08-03 2019-01-22 珠海市运泰利自动化设备有限公司 A kind of program-controlled adjustable analog power of internal resistance
US10884038B1 (en) * 2020-06-08 2021-01-05 North China Electric Power University Phasor estimation algorithm for PMU calibration

Also Published As

Publication number Publication date
CN112865792A (en) 2021-05-28
TWI771121B (en) 2022-07-11
CN112865792B (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN107181489B (en) Analog-to-digital conversion calibration method and device
WO2010132712A1 (en) Systems and methods for vector-based analog-to-digital converter sequential testing
CN102938647B (en) Change-over circuit and chip
CN106374923B (en) High-precision ADC reference voltage calibration system and calibration method
CN109150183A (en) The Capacitor Mismatch Calibration of SAR-ADC based on metastable state detection
CN103475369B (en) The high-precision ADC test of identification is disposably calibrated based on signal source error
US7724014B2 (en) On-chip servo loop integrated circuit system test circuitry and method
CN108988859A (en) Comparator imbalance voltage calibration method based on redundant digit
WO1997049188A1 (en) Method of testing an analog-to-digital converter
TWI771121B (en) A method to test dac linearity with low cost
US6717540B1 (en) Signal preconditioning for analog-to-digital conversion with timestamps
US6462693B1 (en) Analog to digital signal conversion method and apparatus
CN112311399A (en) Analog-digital converter testing device and method
CN113364461B (en) Analog-to-digital conversion calibration method and system for chip to be tested
CN202424690U (en) Current type digital-to-analogue conversion device
CN115327353A (en) ATE-based ADC (analog to digital converter) mass production test method
CN112311393A (en) J750-based high-voltage high-precision analog-to-digital converter testing device and method
CN205754280U (en) SAR analog-digital converter test system
CN114448435B (en) Comparator threshold error calibration method, device, equipment and medium
CN101895294B (en) Self-testing device and self-testing method for cut-and-trial digital-to-analog converter
CN115940951A (en) Calibration method of analog-digital converter
WO2024139035A1 (en) Calibration method for analog-to-digital converter
US20240223202A1 (en) Method for calibrating analog-to-digital converter
CN114337614B (en) Comparator-based high-precision edge detection method and system
CN117665686B (en) ATE (automatic test equipment) equipment-based dynamic load calibration method and system, equipment and medium