TWI773457B - Method of calculating error compensation for phase adjustment circuit - Google Patents

Method of calculating error compensation for phase adjustment circuit Download PDF

Info

Publication number
TWI773457B
TWI773457B TW110127212A TW110127212A TWI773457B TW I773457 B TWI773457 B TW I773457B TW 110127212 A TW110127212 A TW 110127212A TW 110127212 A TW110127212 A TW 110127212A TW I773457 B TWI773457 B TW I773457B
Authority
TW
Taiwan
Prior art keywords
phase adjustment
adjustment circuit
circuit
phase
voltage
Prior art date
Application number
TW110127212A
Other languages
Chinese (zh)
Other versions
TW202230992A (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 TWI773457B publication Critical patent/TWI773457B/en
Publication of TW202230992A publication Critical patent/TW202230992A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2834Automated test systems [ATE]; using microprocessors or computers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/30Structural combination of electric measuring instruments with basic electronic circuits, e.g. with amplifier
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • G01R31/2601Apparatus or methods therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • G01R31/2607Circuits therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Analogue/Digital Conversion (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

A method of calculating error compensation for a phase adjustment circuit includes: starting initializing a field programmable gate array (FPGA); performing a self-test by the FPGA, if the self-test indicates a normal state, performing a next step, and if the self-test indicates an error state, sending an error message; acquiring information about operating time of the FPGA; calculating a circuit drift coefficient; determining a phase compensation value according to the circuit drift coefficient ; calculating a voltage value required to be output to a comparator in the phase adjustment circuit; outputting the voltage value to a digital to analog converter in the phase adjustment circuit; and finishing performing the compensation of the phase adjustment circuit.

Description

應用於相位調整電路的誤差補償計算方法Error Compensation Calculation Method Applied to Phase Adjustment Circuit

本發明涉及半導體測試技術領域,具體地說是一種應用於相位調整電路的誤差補償計算方法。The invention relates to the technical field of semiconductor testing, in particular to an error compensation calculation method applied to a phase adjustment circuit.

在晶片自動測試機領域,常常需要對某些訊號做輸出波形相位的調整,對於高速訊號來說,精確的相位控制電路代表著測試機的設計水準,直接影響到測試廠對晶片的測試效果。業內傳統使用FPGA對高頻時鐘計數的方式來做訊號相位調整,這種方式有兩個不足:一是相位調整只能是高頻時鐘週期的整數倍,無法做到無級調整;二是如果訊號頻率較快,需要選用高階的可程式邏輯陣列(field programmable gate array, FPGA),對成本和FPGA設計都是一個挑戰。特別的,當實際電路採用的晶片、電阻與電容隨著使用時間的增加,其特性會隨時間產生偏移,大部分測試機會要求測試機使用者每隔3~6個月對測試機進行校準,通常直流方面的校準會比較容易,採用相應的校準儀錶即可,但是相位調整電路的校準會需要用到高階示波器,在用戶現場很難滿足條件。如果長時間不進行相位調整電路的校準,會造成相位調整結果隨時間發生偏移。In the field of automatic chip testing machines, it is often necessary to adjust the output waveform phase of certain signals. For high-speed signals, the precise phase control circuit represents the design level of the testing machine, which directly affects the testing effect of the testing factory on the chip. The industry traditionally uses FPGA to count the high-frequency clock to adjust the signal phase. This method has two disadvantages: one is that the phase adjustment can only be an integer multiple of the high-frequency clock cycle, and it cannot achieve stepless adjustment; The signal frequency is fast, and high-level programmable logic array (FPGA) needs to be selected, which is a challenge to cost and FPGA design. In particular, when the chips, resistors and capacitors used in the actual circuit increase with the use of time, their characteristics will shift with time. Most testing opportunities require testing machine users to calibrate the testing machine every 3 to 6 months. , Usually the DC calibration is easier, just use the corresponding calibration instrument, but the calibration of the phase adjustment circuit will require the use of a high-order oscilloscope, which is difficult to meet the conditions at the user's site. If the calibration of the phase adjustment circuit is not performed for a long time, the phase adjustment result will be shifted over time.

本發明為克服現有技術的不足,提供一種應用於相位調整電路的誤差補償計算方法,採用實測對相位偏移誤差和時間建模,從而預測相位調整電路隨時間產生誤差,低成本方便的實現對使用時間造成的誤差進行補償。In order to overcome the deficiencies of the prior art, the present invention provides an error compensation calculation method applied to a phase adjustment circuit, which adopts the actual measurement to model the phase offset error and time, thereby predicting that the phase adjustment circuit generates errors with time, and realizes low-cost and convenient Compensate for errors caused by time.

為實現上述目的,設計一種應用於相位調整電路的誤差補償計算方法,具體流程如下:In order to achieve the above purpose, an error compensation calculation method applied to the phase adjustment circuit is designed. The specific process is as follows:

S1:開始初始化可程式化邏輯陣列(FPGA);S1: Start to initialize the programmable logic array (FPGA);

S2:使FPGA進行自檢,若自檢顯示正常,則繼續步驟S3;若自檢顯示有誤,則上報錯誤;S2: Make the FPGA perform self-checking, if the self-checking display is normal, proceed to step S3; if the self-checking display is wrong, report the error;

S3:讀取FPGA使用時間的長度;S3: Read the length of the FPGA usage time;

S4:計算電路漂移係數,其中電路漂移係數滿足下式,K=(1+αt)* (1-βt) * (1- γ

Figure 02_image001
),且K為電路漂移係數; S4: Calculate the circuit drift coefficient, where the circuit drift coefficient satisfies the following formula, K=(1+αt) * (1-βt) * (1- γ
Figure 02_image001
), and K is the circuit drift coefficient;

S5:根據電路漂移係數,計算相位補償值,其中相位補償值滿足下式,T = RC*Ln[U VG1/(U VG1-U C)] * K= RC*Ln[U VG1/(U VG1-U C)] * (1+αt)* (1-βt) * (1- γ

Figure 02_image001
),且T為相位補償值; S5: Calculate the phase compensation value according to the circuit drift coefficient, where the phase compensation value satisfies the following formula, T = RC*Ln[U VG1 /(U VG1 -U C )] * K= RC*Ln[U VG1 /(U VG1 -U C )] * (1+αt) * (1-βt) * (1- γ
Figure 02_image001
), and T is the phase compensation value;

S6:計算出需要輸出給相位調整電路的比較器的電壓值;S6: Calculate the voltage value that needs to be output to the comparator of the phase adjustment circuit;

S7:將輸出的電壓值給相位調整電路的數位類比轉換器;以及S7: a digital-to-analog converter that supplies the output voltage value to the phase adjustment circuit; and

S8:完成相位調整電路補償配置。S8: Complete the phase adjustment circuit compensation configuration.

所述的相位補償係數K=(1+αt)* (1-βt) * (1- γ

Figure 02_image001
),FPGA的使用時間對於電阻的影響公式為 R=R0 *(1+αt),其中R0是初始時的精確阻值,α為電阻的電阻時間係數,通過具體實驗可以測出電路中採用電阻的係數;FPGA的使用時間對於電容的影響公式為C = C0 * (1-βt),經實驗得出電容量每年的損耗大概在1%~2%,運算增益隨時間的變化多在10mV/年,變化因數考慮為 1- γ
Figure 02_image001
。 The phase compensation coefficient K=(1+αt)*(1-βt)*(1-γ
Figure 02_image001
), the formula for the influence of FPGA usage time on the resistance is R=R0 * (1+αt), where R0 is the precise initial resistance value, α is the resistance time coefficient of the resistance, and the coefficient of the resistance used in the circuit can be measured through specific experiments. ; The influence formula of FPGA usage time on capacitance is C = C0 * (1-βt). It is found by experiments that the annual loss of capacitance is about 1%~2%, and the change of operation gain with time is mostly 10mV/year. The variation factor is considered as 1- γ
Figure 02_image001
.

所述的FPGA自檢為通過FPGA和相位調整電路的數位類比轉換器產生一個精細可調電壓輸入相位調整電路的比較器負端,並輸入用於相位調整的高速訊號至相位調整電路的比較器正端,兩個電壓輸入到比較器的兩端,藉由調整比較器負端的電壓,可以在比較器的輸出端得到不同相位的波形。The FPGA self-check is to generate a finely adjustable voltage through the digital-to-analog converter of the FPGA and the phase adjustment circuit, which is input to the negative terminal of the comparator of the phase adjustment circuit, and inputs a high-speed signal for phase adjustment to the comparator of the phase adjustment circuit. On the positive end, two voltages are input to the two ends of the comparator. By adjusting the voltage on the negative end of the comparator, waveforms of different phases can be obtained at the output end of the comparator.

本發明同現有技術相比,提供一種應用於相位調整電路的誤差補償計算方法,採用實測對相位偏移誤差和時間建模,從而預測相位調整電路隨時間產生誤差,低成本方便的實現對使用時間造成的誤差進行補償。Compared with the prior art, the present invention provides an error compensation calculation method applied to the phase adjustment circuit, which adopts the actual measurement to model the phase offset error and time, thereby predicting the error of the phase adjustment circuit over time, and realizes the low-cost and convenient implementation for the use of Compensate for errors caused by time.

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

如圖1所示,一種應用於相位調整電路的誤差補償計算方法100,可程式化邏輯陣列(FPGA)與相位調整電路連接,相位調整電路內包括數位類比轉換器和比較器,具體流程如下:As shown in FIG. 1, an error compensation calculation method 100 applied to a phase adjustment circuit. A programmable logic array (FPGA) is connected to the phase adjustment circuit, and the phase adjustment circuit includes a digital-to-analog converter and a comparator. The specific process is as follows:

S1:FPGA初始化開始;S1: FPGA initialization starts;

S2:FPGA自檢(即自行檢測),若自檢顯示正常,則繼續步驟S3;若自檢顯示有誤,則系統上報錯誤;S2: FPGA self-checking (ie self-checking), if the self-checking display is normal, go to step S3; if the self-checking display is wrong, the system will report an error;

S3:讀取FPGA使用時間的長度;S3: Read the length of the FPGA usage time;

S4:計算電路漂移係數。例如,可利用下式計算,K=(1+αt)* (1-βt) * (1- γ

Figure 02_image001
),其中K為電路漂移係數,且t為FPGA使用時間長度; S4: Calculate the circuit drift coefficient. For example, it can be calculated using the following formula, K=(1+αt)*(1-βt)*(1-γ
Figure 02_image001
), where K is the circuit drift coefficient, and t is the length of time used by the FPGA;

S5:根據電路漂移係數,計算相位補償值。例如,可利用下式計算,T = RC*Ln[U VG1/(U VG1-U C)] * K= RC*Ln[U VG1/(U VG1-U C)] * (1+αt)* (1-βt) * (1- γ

Figure 02_image001
),其中T為相位補償值,R為相位調整電路中的一電阻(例如為圖2的電阻R1)之阻值,且C為相位調整電路中的一電容(例如為圖2的電容C1)之容值; S5: Calculate the phase compensation value according to the circuit drift coefficient. For example, it can be calculated using the following formula, T = RC*Ln[U VG1 /(U VG1 -U C )] * K= RC*Ln[U VG1 /(U VG1 -U C )] * (1+αt) * (1 -βt) * (1- γ
Figure 02_image001
), where T is the phase compensation value, R is the resistance of a resistor in the phase adjustment circuit (eg, resistor R1 in Figure 2), and C is a capacitor in the phase adjustment circuit (eg, capacitor C1 in Figure 2) capacity value;

S6:計算出需要輸出給相位調整電路的比較器的電壓值;S6: Calculate the voltage value that needs to be output to the comparator of the phase adjustment circuit;

S7:將輸出的電壓值給相位調整電路的數位類比轉換器;S7: give the output voltage value to the digital-to-analog converter of the phase adjustment circuit;

S8:相位調整電路補償配置完成。S8: Compensation configuration of the phase adjustment circuit is completed.

相位補償係數K=(1+αt)* (1-βt) * (1- γ

Figure 02_image001
),FPGA的使用時間對於電阻的影響公式為 R=R0 *(1+αt),其中R0是初始時的精確阻值,α為電阻的電阻時間係數,通過具體實驗可以測出電路中採用電阻的係數;FPGA的使用時間對於電容的影響公式為 C = C0 * (1-βt),經實驗得出電容量每年的損耗大概在1%~2%;運算增益隨時間的變化多在10mV/年,變化因數考慮為 1- γ
Figure 02_image001
。 Phase compensation coefficient K=(1+αt) * (1-βt) * (1- γ
Figure 02_image001
), the formula for the influence of FPGA usage time on the resistance is R=R0 * (1+αt), where R0 is the precise initial resistance value, α is the resistance time coefficient of the resistance, and the coefficient of the resistance used in the circuit can be measured through specific experiments. ; The influence formula of FPGA usage time on capacitance is C = C0 * (1-βt), the annual loss of capacitance is about 1%~2% through experiments; the change of operation gain with time is mostly 10mV/year, The variation factor is considered as 1- γ
Figure 02_image001
.

FPGA自檢為通過FPGA和相位調整電路的數位類比轉換器產生一個精細可調電壓,並輸入該電壓至相位調整電路的比較器負端。輸入相位調整的高速訊號至相位調整電路的比較器正端。上述兩個電壓輸入到比較器的兩端,通過調整比較器負端的電壓,可以在比較器的輸出端得到不同相位的波形。The FPGA self-check generates a finely adjustable voltage for the digital-to-analog converter through the FPGA and the phase adjustment circuit, and inputs this voltage to the negative terminal of the comparator of the phase adjustment circuit. Input the high-speed signal of phase adjustment to the positive terminal of the comparator of the phase adjustment circuit. The above two voltages are input to both ends of the comparator, and by adjusting the voltage of the negative terminal of the comparator, waveforms of different phases can be obtained at the output terminal of the comparator.

可以通過FPGA記錄和讀取使用時間的長度,再通過示波器實際的測量,對時間跟相位漂移建模。後續在測試機的使用中,FPGA會依據這個補償模型和實際使用時間長度,來計算比較器負端電壓設定值。The length of use time can be recorded and read through the FPGA, and then the time and phase drift can be modeled through the actual measurement of the oscilloscope. In the subsequent use of the tester, the FPGA will calculate the set value of the negative terminal voltage of the comparator according to the compensation model and the actual use time.

如圖2所示,其中電阻R1和電容C1用於RC上升時間延遲的調整,由RC充電時間公式推導電容C1上的電壓,U C=U VG1*(1-e -t/rc),所以延遲誤差t=RC*Ln[U VG1/(U VG1-U C)], 其中U C為電容C1的電壓,電容C1上的電壓U C會隨著電阻R1對其的充電逐漸升高,也就是數位類比轉換器IOP1的輸入正端的電壓會逐漸升高,電阻R5及電阻R2構成運算的放大電路,實際應用可以根據具體電壓需求來調整成期望的放大倍數,其中電阻R5、電阻R2與數位類比轉換器IOP1接收電壓VF1。 As shown in Figure 2, where the resistor R1 and the capacitor C1 are used for the adjustment of the RC rise time delay, the voltage on the capacitor C1 is derived from the RC charging time formula, U C =U VG1 *(1-e -t/rc ), so Delay error t=RC*Ln[U VG1 /(U VG1 -U C )], where U C is the voltage of capacitor C1, and the voltage U C on capacitor C1 will gradually increase with the charging of resistor R1, and also That is, the voltage of the input positive terminal of the digital analog converter IOP1 will gradually increase, and the resistance R5 and the resistance R2 constitute an operational amplifier circuit. The actual application can be adjusted to the desired amplification factor according to the specific voltage requirements. The resistance R5, the resistance R2 and the digital The analog converter IOP1 receives the voltage VF1.

LMV393為比較器U1的型號,其正端為前一級數位類比轉換器IOP1的輸出電壓U O= U C* (1+ R2/R1)(即放大後的Uc)。比較器U1的負端輸入電壓U VS1(即圖2中的電壓VS1),為FPGA通過數位類比轉換器(DAC)調整的,為可程式設計端,其連接至電阻R3。隨著比較器U1正端的輸出電壓U O的上升,當輸出電壓U O高於負端輸入電壓U VS1時,比較器U1的輸出端反向,發出上升邊緣,這個上升邊緣的延遲是可以通過調整比較器負端輸入端上的電壓VS1來調整的。於此例中,比較器U1的輸出端更連接電阻R6,電阻R6的一端接收電壓VF2,且電阻R6的另一端接收電壓VS2。 LMV393 is the type of comparator U1, and its positive terminal is the output voltage U O = U C * (1+ R2/R1) of the previous stage digital-analog converter IOP1 (that is, the amplified Uc). The negative terminal input voltage U VS1 of the comparator U1 (ie, the voltage VS1 in FIG. 2 ) is adjusted by the FPGA through a digital-to-analog converter (DAC), and is a programmable terminal, which is connected to the resistor R3. With the rise of the output voltage U O of the positive terminal of the comparator U1, when the output voltage U O is higher than the input voltage U VS1 of the negative terminal, the output terminal of the comparator U1 is reversed and a rising edge is issued. The delay of this rising edge can be passed through It is adjusted by adjusting the voltage VS1 on the negative input of the comparator. In this example, the output end of the comparator U1 is further connected to the resistor R6, one end of the resistor R6 receives the voltage VF2, and the other end of the resistor R6 receives the voltage VS2.

電路中的電阻R1、電容 C1、數位類比轉換器IOP1、電壓VS1和比較器U1等均存在隨時間漂移,當使用時間發生變化時其運算增益,阻值,容值,輸出電壓等參數均可能發生變化。該電路可能由於自動測試機使用時間的推移,相位調整電路的輸出會發生改變,由此建立數學模型,針對相位隨時間變化T=RC*Ln[U VG1/(U VG1-U C)]建立數學模型,以求得更為精確的誤差補償。 The resistor R1, capacitor C1, digital-to-analog converter IOP1, voltage VS1 and comparator U1 in the circuit all drift with time. When the use time changes, its operational gain, resistance value, capacitance value, output voltage and other parameters may all be change. This circuit may change the output of the phase adjustment circuit due to the use of the automatic testing machine over time, so a mathematical model is established to establish the phase change with time T=RC*Ln[U VG1 /(U VG1 -U C )] Mathematical model for more accurate error compensation.

使用時間對於電阻的影響公式為 R=R0 *(1+αt),其中R0是初始時的精確阻值,α為電阻的電阻時間係數,通過具體實驗可以測出電路中採用電阻的係數,經實測α非常小。The formula for the influence of the use time on the resistance is R=R0 * (1+αt), where R0 is the precise initial resistance value, and α is the resistance time coefficient of the resistance. Through specific experiments, the coefficient of the resistance used in the circuit can be measured, and the measured α very small.

使用時間對於X7R電容的容值影響比較大,呈現線性老化特性C=C0 * (1-βt),經實驗,電容量每年的損耗大概在1%~2%。The use time has a great influence on the capacitance of the X7R capacitor, showing a linear aging characteristic C=C0 * (1-βt). After experiments, the annual loss of capacitance is about 1%~2%.

運算增益隨時間的變化較小,多在10毫伏特(mV)/年,變化因數考慮為 1- γ

Figure 02_image001
。 The change of operational gain over time is small, mostly at 10 millivolts (mV)/year, and the change factor is considered as 1- γ
Figure 02_image001
.

因此,電路漂移係數K =(1+αt)* (1-βt) * (1- γ

Figure 02_image003
)。 Therefore, the circuit drift coefficient K = (1+αt) * (1-βt) * (1-γ
Figure 02_image003
).

最終計算延遲的補償公式如下:T=RC*Ln[U VG1/(U VG1-U C)]*K;T=RC*Ln[U VG1/(U VG1-U C)]*(1+αt)* (1-βt) * (1- γ

Figure 02_image001
)。 The compensation formula for the final calculation delay is as follows: T=RC*Ln[U VG1 /(U VG1 -U C )]*K; T=RC*Ln[U VG1 /(U VG1 -U C )]*(1+αt)* (1-βt) * (1-γ
Figure 02_image001
).

實施例:Example:

基於Sandtek公司的Astar系列自動測試機,經過實際測量,得出α, β和γ參數數值如表一所示。 表一 α <0.0001(電阻老化) β 1.1% γ 0.003 Based on Sandtek's Astar series automatic testing machine, after actual measurement, the α, β and γ parameter values are shown in Table 1. Table I alpha <0.0001 (resistance aging) beta 1.1% γ 0.003

帶入延遲計算公式:假設階躍(step size, 又稱單位步進)訊號源電壓U VG1= 2V,U C設定為50%的U VG1,即當U C到達輸入階躍訊號50%的時候,比較器發生翻轉,從而輸出延遲後的訊號,即進行了相位的調整。當不考慮時間補償時,計算如下: Bring-in delay calculation formula: Assuming that the step size (also known as unit step) signal source voltage U VG1 = 2V, U C is set to 50% of U VG1 , that is, when U C reaches 50% of the input step signal , the comparator flips, and the delayed signal is output, that is, the phase is adjusted. When time compensation is not considered, the calculation is as follows:

設U VG1= 2V,U C= 1;帶入T = RC*Ln[U VG1/(U VG1-U C)] = Ln[2/(2-1)] = 6.931微秒(us);加入時間補償因數,假定時間t=1年,重新計算T: Let U VG1 = 2V, U C = 1; bring in T = RC*Ln[U VG1 /(U VG1 -U C )] = Ln[2/(2-1)] = 6.931 microseconds (us); add Time compensation factor, assuming time t=1 year, recalculate T:

T= RC*Ln[U VG1/( U VG1- U C)] *(1+αt)* (1-βt) * (1- γ

Figure 02_image001
) = 6.931 * (1+0.0001) * (1- 0.011) * (1 – 0.003) = 6.931 * 0.986 = 6.835 us。 T= RC*Ln[U VG1 /( U VG1 - U C )] * (1+αt) * (1-βt) * (1- γ
Figure 02_image001
) = 6.931 * (1+0.0001) * (1- 0.011) * (1 – 0.003) = 6.931 * 0.986 = 6.835 us.

依據T= 6.835 帶入之前公式T = RC*Ln[U VG1/( U VG1- U C)],計算出調整後的U CCalculate the adjusted U C according to T= 6.835 brought into the previous formula T = RC*Ln[U VG1 /( U VG1 - U C )].

100:誤差補償計算方法 R1~R3, R5~R6:電阻 VG1, VS1, VS2, VF2:電壓 U1:比較器 LMV393:型號 IOP1:數位類比轉換器 100: Error compensation calculation method R1~R3, R5~R6: Resistors VG1, VS1, VS2, VF2: Voltage U1: Comparator LMV393: Model IOP1: Digital to Analog Converter

[圖1]為本發明流程圖;以及 [圖2]為相位調整電路圖。 [Fig. 1] is a flow chart of the present invention; and [Figure 2] is a circuit diagram of phase adjustment.

100: 誤差補償計算方法100: Error compensation calculation method

Claims (2)

一種誤差補償計算方法,其應用於一相位調整電路,該誤差補償計算方法包括:S1:開始初始化一可程式化邏輯陣列;S2:使該可程式化邏輯陣列進行自檢,若自檢顯示正常,執行步驟S3,若自檢顯示有誤,則上報錯誤;S3:讀取該可程式化邏輯陣列使用時間的長度;S4:計算一電路漂移係數,其中該電路漂移係數滿足下式,K=(1+αt) * (1-βt) * (1-γ√t),且K為該電路漂移係數,t為該可程式化邏輯陣列使用時間的長度,α為該相位調整電路的電阻之電阻時間係數,β為該相位調整電路的電容之電容時間係數,γ為該相位調整電路的運算增益之增益變化時間係數;S5:根據該電路漂移係數,計算一相位補償值,其中該相位補償值滿足下式,T=RC*Ln[UVG1/(UVG1-UC)] * K=RC*Ln[UVG1/(UVG1-UC)] * (1+αt) * (1-βt) * (1-γ√t),T為該相位補償值,R為該相位調整電路的電阻之阻值,C為該相位調整電路的電容之容值,UVG1為階躍訊號源電壓的電壓值,且UC為該相位調整電路的電容上的電壓值;S6:計算出需要輸出給該相位調整電路的一比較器的一電壓值;S7:輸出該電壓值給該相位調整電路的一數位類比轉換器;以及S8:完成該相位調整電路的補償配置。 An error compensation calculation method, which is applied to a phase adjustment circuit, the error compensation calculation method includes: S1: start to initialize a programmable logic array; S2: make the programmable logic array perform self-check, if the self-check shows normal , perform step S3, if the self-check shows an error, report the error; S3: read the length of the use time of the programmable logic array; S4: calculate a circuit drift coefficient, wherein the circuit drift coefficient satisfies the following formula, K =(1+αt) * (1-βt) * (1-γ√ t ), and K is the drift coefficient of the circuit, t is the length of the use time of the programmable logic array, and α is the resistance of the phase adjustment circuit The resistance time coefficient, β is the capacitance time coefficient of the capacitance of the phase adjustment circuit, γ is the gain change time coefficient of the operation gain of the phase adjustment circuit; S5: Calculate a phase compensation value according to the circuit drift coefficient, where the phase The compensation value satisfies the following formula, T=RC*Ln[U VG1 /(U VG1 -U C )] * K=RC*Ln[U VG1 /(U VG1 -U C )] * (1+αt) * (1 -βt) * (1-γ√ t ), T is the phase compensation value, R is the resistance value of the resistor of the phase adjustment circuit, C is the capacitance value of the capacitor of the phase adjustment circuit, U VG1 is the step signal source voltage value of the voltage, and U C is the voltage value on the capacitor of the phase adjustment circuit; S6: calculate a voltage value that needs to be output to a comparator of the phase adjustment circuit; S7: output the voltage value to the phase adjustment circuit a digital-to-analog converter of the circuit; and S8: complete the compensation configuration of the phase adjustment circuit. 如請求項1之誤差補償計算方法,其中該可程式化邏輯陣列進行自檢為藉由該可程式化邏輯陣列和該相位調整電路的該數位類比轉換器產生一個精細可調電壓,並輸入該精細可調電壓至該相位調整電路的該比較器之一負端,並輸入用於相位調整的一高速訊號至該相位調整電路的該比較器之一正端,藉由調整該負端的電壓,在該比較器的一輸出端得到不同相位的波形。 The error compensation calculation method of claim 1, wherein the programmable logic array performs self-checking by generating a finely adjustable voltage through the programmable logic array and the digital-to-analog converter of the phase adjustment circuit, and inputting the Finely adjust the voltage to a negative terminal of the comparator of the phase adjustment circuit, and input a high-speed signal for phase adjustment to a positive terminal of the comparator of the phase adjustment circuit, by adjusting the voltage of the negative terminal, Waveforms of different phases are obtained at an output end of the comparator.
TW110127212A 2021-01-27 2021-07-23 Method of calculating error compensation for phase adjustment circuit TWI773457B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110109098.4A CN112924849B (en) 2021-01-27 2021-01-27 Error compensation calculation method applied to phase adjustment circuit
CN202110109098.4 2021-01-27

Publications (2)

Publication Number Publication Date
TWI773457B true TWI773457B (en) 2022-08-01
TW202230992A TW202230992A (en) 2022-08-01

Family

ID=76166787

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110127212A TWI773457B (en) 2021-01-27 2021-07-23 Method of calculating error compensation for phase adjustment circuit

Country Status (2)

Country Link
CN (1) CN112924849B (en)
TW (1) TWI773457B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321259B1 (en) * 2005-10-06 2008-01-22 Altera Corporation Programmable logic enabled dynamic offset cancellation
TW200935720A (en) * 2007-10-19 2009-08-16 Qualcomm Inc Method and apparatus for compensating for tuning nonlinearity of an oscillator
TW202013896A (en) * 2018-06-06 2020-04-01 美商微晶片科技公司 Compensating for frequency variation of a crystal oscillator and related systems, methods and devices

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040210790A1 (en) * 2001-11-26 2004-10-21 Yongsam Moon 0.6-2.5 GBaud CMOS tracked 3X oversampling transceiver with dead zone phase detection for robust clock/data recovery
CN105322965B (en) * 2015-12-07 2017-09-08 中国科学院微电子研究所 The digital analog converter with calibration function is detected with delay distortion
CN205283410U (en) * 2015-12-19 2016-06-01 蒋小春 High accuracy blind spot compensation arrangement based on FPGA
CN107070450A (en) * 2016-11-30 2017-08-18 黄山学院 Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting
CN107084662A (en) * 2017-04-12 2017-08-22 合肥工业大学 Orthogonal signalling real-time processing method based on FPGA
CN110166049A (en) * 2019-06-10 2019-08-23 中车大连机车车辆有限公司 Analog-to-digital conversion datum drift automatic compensating method and device
CN111998842B (en) * 2020-06-30 2022-07-12 浙江大学 On-line compensation method and system for phase delay of micromechanical gyroscope interface circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321259B1 (en) * 2005-10-06 2008-01-22 Altera Corporation Programmable logic enabled dynamic offset cancellation
TW200935720A (en) * 2007-10-19 2009-08-16 Qualcomm Inc Method and apparatus for compensating for tuning nonlinearity of an oscillator
TW202013896A (en) * 2018-06-06 2020-04-01 美商微晶片科技公司 Compensating for frequency variation of a crystal oscillator and related systems, methods and devices

Also Published As

Publication number Publication date
TW202230992A (en) 2022-08-01
CN112924849A (en) 2021-06-08
CN112924849B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
US9726696B2 (en) Precision reference circuit and related method
JPH05196510A (en) Method for obtaining measured quantity and circuit device for performing this method
CN108918980B (en) Capacitance signal measuring circuit and measuring method
WO2021184740A1 (en) Current calibration device for power supply channel in test system, and correction method therefor
JP2008070307A (en) Capacity measuring device and method
TWI241071B (en) Test framework and test method of analog to digital converter
TWI549480B (en) System and method for oscillator frequency control
US10488269B2 (en) Temperature Measurement Circuitry and Method
CN212514879U (en) Operational amplifier test system
JPS61253474A (en) Attenuator
van der Goes et al. A simple accurate bridge-transducer interface with continuous autocalibration
CN109493700A (en) Operational amplifier test macro for Remote Virtual Experiments
US8723711B1 (en) Stair-step voltage ramp module including programmable gain amplifier
TWI773457B (en) Method of calculating error compensation for phase adjustment circuit
KR101446669B1 (en) Method for calibrating the measurement output distortion using continuous full-scale voltage/current sampling about circuit
CN111220901A (en) Operational amplifier testing system and method
CN109029791A (en) A kind of temperature sensor calibration method of anti-reflective to Early effect
CN110346703B (en) Method for eliminating parasitic capacitance influence in ultra-fast semiconductor component test
JP2006279839A (en) A/d-converting device, and sensor device with a/d-converting device
US11329607B2 (en) RC oscillator
Starkloff et al. The AC quantum voltmeter used for AC current calibrations
Willenberg et al. Novel digital voltage ramp generator for use in precision current sources in the picoampere range
JPH0241077B2 (en)
JP2001255948A (en) Adjustment device for comparator reference voltage
Gupta et al. A modified RDC with an auto-adjustable SC source enabled auto-calibration scheme