Calibration system and calibration method for total delay of internal delay chain of programmable logic device

By designing excitation, delay and measurement modules in programmable logic devices, and using high-precision signal generators and time-digital converters for delay chain calibration, the problem of low calibration accuracy in the prior art is solved, and high precision and Highly integrated delay chain calibration meets the high-precision requirements of quantum key distribution systems.

CN119071194APending Publication Date: 2024-12-03HEFEI LIANGXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411352957.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing technology cannot effectively perform high-precision calibration of the total delay of the internal delay chain of programmable logic devices, resulting in low calibration accuracy and poor reliability, and cannot meet the demand for time measurement of high-precision and high-integration quantum key distribution systems. .

Method used

A system including excitation module, delay module and measurement module is designed to calculate the actual delay chain by generating narrow pulse width pulse signals. Total delay and adjust the delay chain length according to the difference for accurate calibration.

Benefits of technology

High-precision measurement and calibration of the total delay of the internal delay chain of programmable logic devices is achieved, providing a reliable delay calibration solution, ensuring accurate signal measurement and phase relationship maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071194A_ABST
    Figure CN119071194A_ABST
Patent Text Reader

Abstract

The invention relates to quantum communication, in particular to a calibration system and a calibration method for total delay of an internal delay chain of a programmable logic device, and an excitation module, which are characterized in that a corresponding excitation signal is generated according to the required total delay of the delay chain and is used as an input signal of a delay module; the delay module receives the excitation signal sent by the excitation module, delays the excitation signal by using a delay chain, and outputs a measurement signal to the measurement module; the measuring module is used for receiving the measuring signal sent by the time delay module and measuring and calibrating the total time delay of the time delay chain by using the measuring signal; according to the technical scheme provided by the invention, the defect that high-precision calibration cannot be carried out on the total delay of the internal delay chain of the programmable logic device in the prior art can be effectively overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to quantum communication, and in particular to a calibration system and a calibration method for the total delay of a delay chain inside a programmable logic device. Background Art

[0002] In the long history of information technology development, the traditional method of using asymmetric cryptography to encrypt information has been overcome by quantum factorization algorithms, and can be easily cracked even today when quantum computers are not yet mature. Therefore, in response to the urgent need for confidential communications in all walks of life, quantum key distribution technology (Quantum Key Distribution, QKD) has achieved unprecedented development.

[0003] In quantum key distribution systems, the requirements for high-precision time measurement and time control are getting higher and higher. Conventional methods using chip delay and external instrument measurement can no longer meet the needs of high-integration application development. Using the delay chain composed of the internal carry logic of programmable logic devices to perform high-precision time measurement on signals has higher development value than conventional chip delays, whose delay accuracy is easily affected by the total delay length and whose external instrument measurement is not conducive to system integration.

[0004] In order to meet the measurement needs of high precision and high integration, time-to-digital converters based on programmable logic devices have developed rapidly. In the process of realizing time-to-digital converters based on programmable logic devices, total delay calibration is crucial and is also the top priority in the development process. It directly becomes the key limiting factor of high-precision time-to-digital converters of programmable logic devices. The traditional method of using official unified delay data and oscilloscope sampling for delay calibration has low calibration accuracy and poor reliability. Summary of the invention

[0005] 1. Technical issues to be solved

[0006] In view of the above-mentioned shortcomings of the prior art, the present invention provides a calibration system and method for the total delay of the internal delay chain of a programmable logic device, which can effectively overcome the defect of the prior art that the total delay of the internal delay chain of a programmable logic device cannot be calibrated with high precision.

[0007] (II) Technical solution

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0009] A calibration system for the total delay of a delay chain inside a programmable logic device, including an excitation module, a delay module and a measurement module;

[0010] The excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as an input signal of the delay module;

[0011] The delay module receives the excitation signal sent by the excitation module, delays the excitation signal using the delay chain, and outputs the measurement signal to the measurement module;

[0012] The measuring module receives the measuring signal sent by the delay module and uses the measuring signal to measure and calibrate the total delay of the delay chain.

[0013] Preferably, the excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as an input signal of the delay module, including:

[0014] The excitation module generates an excitation signal of corresponding voltage, period, and duty cycle according to the required total delay of the delay chain as an input signal of the delay module;

[0015] The excitation module adopts a high-precision signal generator, and the excitation signal is a narrow pulse width pulse signal, and the period is greater than or equal to the required total delay of the delay chain.

[0016] Preferably, the delay module comprises an input unit, a delay chain unit and an output unit;

[0017] An input unit receives an excitation signal sent by the excitation module and sends the excitation signal to the delay chain unit;

[0018] The delay chain unit is composed of a delay chain formed by sequentially connecting the internal carry logic of multiple programmable logic devices, delays the excitation signal, and outputs the measurement signal to the output unit;

[0019] An output unit receives a measurement signal sent by the delay chain unit and sends the measurement signal to a measurement module;

[0020] Among them, each level of carry logic in the delay chain can output a measurement signal.

[0021] Preferably, the input unit is composed of an input buffer IBUF, the input end of the first level carry logic and the output end of the last level carry logic of the delay chain output the measurement signal to the output unit, and the output end unit is composed of two output buffers OBUF.

[0022] Preferably, the measuring module receives the measuring signal sent by the delay module, and uses the measuring signal to measure and calibrate the total delay of the delay chain, including:

[0023] The measuring module records the moment when the measuring signal outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain is received;

[0024] Determine the delay value of the measurement signal outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively passing through the output buffer OBUF;

[0025] Calculate the actual total delay of the delay chain, and compare the actual total delay of the delay chain with the required total delay of the delay chain;

[0026] Among them, the measurement module adopts a high-performance and high-precision time-to-digital converter TDC.

[0027] Preferably, the calculating the actual total delay of the delay chain includes:

[0028] The actual total delay T_delay_cal of the delay chain is calculated using the following formula:

[0029] T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1;

[0030] Among them, t_carry_1 is the moment when the measurement signal output from the input end of the first-level carry logic is received, t_carry_n is the moment when the measurement signal output from the output end of the last-level carry logic is received, t_delay_obuf1 is the delay value of the measurement signal output from the input end of the first-level carry logic passing through the output buffer OBUF, and t_delay_obufn is the delay value of the measurement signal output from the input end of the last-level carry logic passing through the output buffer OBUF.

[0031] Preferably, after comparing the actual total delay of the delay chain with the required total delay of the delay chain, the method further comprises:

[0032] If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, so as to achieve the purpose of calibrating the total delay of the delay chain.

[0033] A method for calibrating the total delay of a delay chain within a programmable logic device comprises the following steps:

[0034] S1. Determine the required total delay of the delay chain, and determine the voltage, period, and duty cycle of the excitation signal according to the required total delay of the delay chain;

[0035] S2. Determine the length of the delay chain according to the required total delay of the delay chain, and construct a delay chain consisting of a corresponding number of carry logics connected in sequence;

[0036] S3, the excitation module generates an excitation signal and sends the excitation signal to the delay module;

[0037] S4, the delay module uses the delay chain to delay the excitation signal and outputs the measurement signal to the measurement module;

[0038] S5, the measurement module calculates the actual total delay of the delay chain using the measurement signal, and compares the actual total delay of the delay chain with the required total delay of the delay chain;

[0039] S6. If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, and the process returns to S2 for recalibration. Otherwise, the calibration ends.

[0040] Preferably, in S2, the length of the delay chain is determined according to the required total delay of the delay chain, and a delay chain consisting of a corresponding number of carry logics connected in sequence is constructed, including:

[0041] The length n of the delay chain, that is, the number of carry logic n, is calculated using the following formula:

[0042] n=T_delay_need / t_carry_ever;

[0043] Among them, T_delay_need is the required total delay of the delay chain, and t_carry_ever is the average delay of the carry logic.

[0044] Preferably, the measurement module in S5 calculates the actual total delay of the delay chain using the measurement signal, including:

[0045] The measuring module records the time t_carry_1 and t_carry_n at which the measuring signals outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain are received respectively;

[0046] Determine the delay values ​​t_delay_obuf1 and t_delay_obufn of the measurement signals outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively after passing through the output buffer OBUF;

[0047] Calculate the actual total delay T_delay_cal of the delay chain:

[0048] T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1.

[0049] (III) Beneficial effects

[0050] Compared with the prior art, the calibration system and method for the total delay of the internal delay chain of a programmable logic device provided by the present invention have the following beneficial effects:

[0051] 1) By sequentially connecting the internal carry logics of multiple programmable logic devices to form a delay chain, the total delay of the internal delay chain of the programmable logic device can be measured and calibrated, thereby obtaining a very accurate total delay of the delay chain, and the total delay of the delay chain of a fixed length can be accurately measured, providing a reliable and effective delay calibration solution for the time-to-digital converter based on programmable logic devices;

[0052] 2) By connecting the internal carry logics of multiple programmable logic devices in sequence to form a delay chain, the processed signal can be accurately measured and delayed while maintaining the phase relationship. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 It is a system schematic diagram of the present invention;

[0055] Figure 2 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] The calibration system of the total delay of the internal delay chain of the programmable logic device, such as Figure 1 As shown, it includes an excitation module, a delay module and a measurement module;

[0058] The excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as an input signal of the delay module;

[0059] The delay module receives the excitation signal sent by the excitation module, delays the excitation signal using the delay chain, and outputs the measurement signal to the measurement module;

[0060] The measuring module receives the measuring signal sent by the delay module and uses the measuring signal to measure and calibrate the total delay of the delay chain.

[0061] ① The excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as the input signal of the delay module, including:

[0062] The excitation module generates an excitation signal of corresponding voltage, period, and duty cycle according to the required total delay of the delay chain as an input signal of the delay module;

[0063] The excitation module uses a high-precision signal generator, and the excitation signal is a narrow pulse width pulse signal with a period greater than or equal to the required total delay of the delay chain, preferably twice the required total delay of the delay chain.

[0064] ②The delay module includes an input unit, a delay chain unit and an output unit;

[0065] An input unit receives an excitation signal sent by the excitation module and sends the excitation signal to the delay chain unit;

[0066] The delay chain unit is composed of a delay chain formed by sequentially connecting the internal carry logic of multiple programmable logic devices, delays the excitation signal, and outputs the measurement signal to the output unit;

[0067] An output unit receives a measurement signal sent by the delay chain unit and sends the measurement signal to a measurement module;

[0068] Among them, each level of carry logic in the delay chain can output a measurement signal.

[0069] Specifically, the input unit is composed of an input buffer IBUF, the input end of the first level carry logic and the output end of the last level carry logic of the delay chain output the measurement signal to the output unit, and the output end unit is composed of two output buffers OBUF.

[0070] ③ The measurement module receives the measurement signal sent by the delay module (the two output buffers OBUF are connected to the measurement module through high-speed cables of equal length and the same material), and uses the measurement signal to measure and calibrate the total delay of the delay chain, including:

[0071] The measuring module records the moment when the measuring signal outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain is received;

[0072] Determine the delay value of the measurement signal outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively passing through the output buffer OBUF;

[0073] Calculate the actual total delay of the delay chain, and compare the actual total delay of the delay chain with the required total delay of the delay chain;

[0074] Among them, the measurement module adopts a high-performance and high-precision time-to-digital converter TDC.

[0075] 1) Calculate the actual total delay of the delay chain, including:

[0076] The actual total delay T_delay_cal of the delay chain is calculated using the following formula:

[0077] T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1;

[0078] Among them, t_carry_1 is the moment when the measurement signal output from the input end of the first-level carry logic is received, t_carry_n is the moment when the measurement signal output from the output end of the last-level carry logic is received, t_delay_obuf1 is the delay value of the measurement signal output from the input end of the first-level carry logic passing through the output buffer OBUF, and t_delay_obufn is the delay value of the measurement signal output from the input end of the last-level carry logic passing through the output buffer OBUF.

[0079] 2) After comparing the actual total delay of the delay chain with the required total delay of the delay chain, including:

[0080] If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, so as to achieve the purpose of calibrating the total delay of the delay chain.

[0081] Among them, since the measurement signals output from the input end of the first-level carry logic and the output end of the last-level carry logic of the delay chain are output to the measurement module through different output buffers OBUF logic, the relative time measured by the time-to-digital converter TDC may produce slight errors. The specific delay of the internal logic of the programmable logic device is basically determined. According to the timing analysis report of the EDA electronic design automation software, the delay values ​​of the measurement signals output from the input end of the first-level carry logic and the output end of the last-level carry logic through the output buffer OBUF can be analyzed.

[0082] Based on the above-mentioned calibration system for the total delay of the internal delay chain of the programmable logic device, the technical solution of the present application also discloses a calibration method for the total delay of the internal delay chain of the programmable logic device, such as Figure 2 As shown, the following steps are included:

[0083] S1. Determine the required total delay of the delay chain, and determine the voltage, period (greater than or equal to the required total delay of the delay chain, preferably twice the required total delay of the delay chain), and duty cycle of the excitation signal according to the required total delay of the delay chain;

[0084] S2. Determine the length of the delay chain according to the required total delay of the delay chain, and construct a delay chain consisting of a corresponding number of carry logics connected in sequence;

[0085] S3, the excitation module generates an excitation signal and sends the excitation signal to the delay module;

[0086] S4, the delay module uses the delay chain to delay the excitation signal and outputs the measurement signal to the measurement module;

[0087] S5, the measurement module calculates the actual total delay of the delay chain using the measurement signal, and compares the actual total delay of the delay chain with the required total delay of the delay chain;

[0088] S6. If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, and the process returns to S2 for recalibration. Otherwise, the calibration ends.

[0089] 1) In S2, the length of the delay chain is determined according to the required total delay of the delay chain, and a delay chain consisting of a corresponding number of carry logics connected in sequence is constructed, including:

[0090] The length n of the delay chain, that is, the number of carry logic n, is calculated using the following formula:

[0091] n=T_delay_need / t_carry_ever;

[0092] Among them, T_delay_need is the required total delay of the delay chain, and t_carry_ever is the average delay of the carry logic.

[0093] 2) The measurement module in S5 uses the measurement signal to calculate the actual total delay of the delay chain, including:

[0094] The measuring module records the time t_carry_1 and t_carry_n at which the measuring signals outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain are received respectively;

[0095] Determine the delay values ​​t_delay_obuf1 and t_delay_obufn of the measurement signals outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively after passing through the output buffer OBUF;

[0096] Calculate the actual total delay T_delay_cal of the delay chain:

[0097] T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1.

[0098] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A calibration system for the total delay of a delay chain inside a programmable logic device, characterized in that: It includes an excitation module, a delay module and a measurement module; The excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as an input signal of the delay module; The delay module receives the excitation signal sent by the excitation module, delays the excitation signal using the delay chain, and outputs the measurement signal to the measurement module; The measuring module receives the measuring signal sent by the delay module and uses the measuring signal to measure and calibrate the total delay of the delay chain.

2. The calibration system for the total delay of the internal delay chain of a programmable logic device according to claim 1, characterized in that: The excitation module generates a corresponding excitation signal according to the required total delay of the delay chain as an input signal of the delay module, including: The excitation module generates an excitation signal of corresponding voltage, period, and duty cycle according to the required total delay of the delay chain as an input signal of the delay module; The excitation module adopts a high-precision signal generator, and the excitation signal is a narrow pulse width pulse signal, and the period is greater than or equal to the required total delay of the delay chain.

3. The calibration system for total delay of internal delay chain of programmable logic device according to claim 1, characterized in that: The delay module includes an input unit, a delay chain unit and an output unit; An input unit receives an excitation signal sent by the excitation module and sends the excitation signal to the delay chain unit; The delay chain unit is composed of a delay chain formed by sequentially connecting the internal carry logic of multiple programmable logic devices, delays the excitation signal, and outputs the measurement signal to the output unit; An output unit receives a measurement signal sent by the delay chain unit and sends the measurement signal to a measurement module; Among them, each level of carry logic in the delay chain can output a measurement signal.

4. The system for calibrating the total delay of the internal delay chain of a programmable logic device according to claim 3, characterized in that: The input unit is composed of an input buffer IBUF, the input end of the first level carry logic and the output end of the last level carry logic of the delay chain output a measurement signal to the output unit, and the output end unit is composed of two output buffers OBUF.

5. The calibration system for total delay of internal delay chain of programmable logic device according to claim 4, characterized in that: The measuring module receives the measuring signal sent by the delay module, and uses the measuring signal to measure and calibrate the total delay of the delay chain, including: The measuring module records the moment when the measuring signal outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain is received; Determine the delay value of the measurement signal outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively passing through the output buffer OBUF; Calculate the actual total delay of the delay chain, and compare the actual total delay of the delay chain with the required total delay of the delay chain; Among them, the measurement module adopts a high-performance and high-precision time-to-digital converter TDC.

6. The calibration system for total delay of internal delay chain of programmable logic device according to claim 5, characterized in that: The calculating the actual total delay of the delay chain includes: The actual total delay T_delay_cal of the delay chain is calculated using the following formula: T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1; Among them, t_carry_1 is the moment when the measurement signal output from the input end of the first-level carry logic is received, t_carry_n is the moment when the measurement signal output from the output end of the last-level carry logic is received, t_delay_obuf1 is the delay value of the measurement signal output from the input end of the first-level carry logic passing through the output buffer OBUF, and t_delay_obufn is the delay value of the measurement signal output from the input end of the last-level carry logic passing through the output buffer OBUF.

7. The system for calibrating the total delay of the internal delay chain of a programmable logic device according to claim 5, characterized in that: After comparing the actual total delay of the delay chain with the required total delay of the delay chain, the method further comprises: If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, so as to achieve the purpose of calibrating the total delay of the delay chain.

8. A method for calibrating the total delay of a delay chain inside a programmable logic device, applied to the system for calibrating the total delay of a delay chain inside a programmable logic device according to claim 1, characterized in that: The following steps are involved: S1. Determine the required total delay of the delay chain, and determine the voltage, period, and duty cycle of the excitation signal according to the required total delay of the delay chain; S2. Determine the length of the delay chain according to the required total delay of the delay chain, and construct a delay chain consisting of a corresponding number of carry logics connected in sequence; S3, the excitation module generates an excitation signal and sends the excitation signal to the delay module; S4, the delay module uses the delay chain to delay the excitation signal and outputs the measurement signal to the measurement module; S5, the measurement module calculates the actual total delay of the delay chain using the measurement signal, and compares the actual total delay of the delay chain with the required total delay of the delay chain; S6. If the actual total delay of the delay chain does not match the required total delay of the delay chain, the length of the delay chain is adjusted to match the required total delay of the delay chain, and the process returns to S2 for recalibration. Otherwise, the calibration ends.

9. The system for calibrating the total delay of the internal delay chain of a programmable logic device according to claim 8, characterized in that: In S2, the length of the delay chain is determined according to the required total delay of the delay chain, and a delay chain consisting of a corresponding number of carry logics connected in sequence is constructed, including: The length n of the delay chain, that is, the number of carry logic n, is calculated using the following formula: n=T_delay_need / t_carry_ever; Among them, T_delay_need is the required total delay of the delay chain, and t_carry_ever is the average delay of the carry logic.

10. The system for calibrating the total delay of the internal delay chain of a programmable logic device according to claim 8, characterized in that: The measurement module in S5 uses the measurement signal to calculate the actual total delay of the delay chain, including: The measuring module records the time t_carry_1 and t_carry_n at which the measuring signals outputted by the input end of the first stage carry logic and the output end of the last stage carry logic of the delay chain are received respectively; Determine the delay values ​​t_delay_obuf1 and t_delay_obufn of the measurement signals outputted from the input end of the first-stage carry logic and the output end of the last-stage carry logic respectively after passing through the output buffer OBUF; Calculate the actual total delay T_delay_cal of the delay chain: T_delay_cal=t_carry_n-t_carry_1-t_delay_obufn-t_delay_obuf1.