Timing signal generator and calibration system and method thereof
By designing a timing signal generator and using programmable time delay units and combinational logic units, the resolution of timing signals is improved without changing the system clock frequency, which solves the problem that the timing signal generation method in the existing technology cannot meet the time scale. The problem of unit resolution improvement is achieved, and it achieves smaller footprint and lower cost.
Patent Information
- Application Number
- CN202111499224.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-12-09
AI Technical Summary
The timing signal generation method in the existing technology cannot significantly improve the minimum time scale of the system and cannot meet the resolution improvement requirements of the time scale unit.
A timing signal generator is designed, including a configuration unit, a combinational logic unit and multiple programmable time delay units. The configuration unit receives the target delay time and configures the programmable time delay unit, generates a target edge signal, and passes the combinational logic unit Combine multiple target edge signals to generate target timing signals to flexibly set the waveform and frequency of the output signal.
Without changing the system clock frequency, by configuring the number of programmable time delay units, the resolution of the timing signal is improved, which alleviates the inability of the timing signal generation method in the existing technology to meet the demand for time scale unit resolution improvement. And compared with dedicated DelayLine chips, it takes up less space and costs less.
Smart Images

Figure CN114253346B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communications, and in particular to a timing signal generator and a calibration system and method thereof. Background Art
[0002] In the prior art, high clock frequency and DLL (Delay locked loop) technology are usually used to generate clocks of different phases, thereby generating high-resolution time scale units. However, under normal circumstances, the ability to increase the system clock frequency is limited, and generally only a slight increase can be made, resulting in an inability to significantly improve the system's minimum time scale. In other words, the timing signal generation method in the prior art cannot meet the demand for improving the resolution of the time scale unit. Summary of the invention
[0003] The object of the present invention is to provide a timing signal generator and a calibration system and method thereof, so as to alleviate the technical problem that the timing signal generation method in the prior art cannot meet the resolution improvement demand of the time scale unit.
[0004] In a first aspect, the present invention provides a timing signal generator, comprising: a configuration unit, a combinational logic unit, and a plurality of programmable time delay units;
[0005] The input end of the configuration unit is connected to the configuration input end of the timing signal generator; the output end of the configuration unit is respectively connected to the delay configuration end of each of the programmable time delay units;
[0006] The input end of each of the programmable time delay units is connected to each edge signal input end of the timing signal generator in a one-to-one correspondence; the output end of each of the programmable time delay units is connected to the input end of the combinational logic unit in a one-to-one correspondence; the output end of the combinational logic unit is connected to the output end of the timing signal generator;
[0007] The configuration unit is used to receive the target delay time of each of the programmable time delay units sent by the configuration input terminal, and configure each of the programmable time delay units based on the target delay time;
[0008] Each of the programmable time delay units is used to receive the edge signal sent by the edge signal input terminal, and delay the edge signal based on the corresponding target delay time to output a target edge signal;
[0009] The combinational logic unit is used to combine the multiple target edge signals according to a preset combinational logic to obtain a target timing signal.
[0010] In an optional implementation, the timing signal generator further includes: a first gating unit and a second gating unit;
[0011] The input end of the first gating unit is connected to the first calibration end of the timing signal generator; the output end of the first gating unit is connected to the input end of each of the programmable time delay units in a one-to-one correspondence;
[0012] The output end of each of the programmable time delay units is connected to the input end of the second gating unit in a one-to-one correspondence; the output end of the second gating unit is connected to the second calibration end of the timing signal generator;
[0013] The first gating unit and the second gating unit are used to assist the timing signal generator in calibrating the delay time of each of the programmable time delay units.
[0014] In a second aspect, the present invention provides a calibration system for a timing signal generator, the calibration system comprising: a timing data determination module, a delay time calibration module, an external calibration device, and a plurality of timing signal generators described in any one of the aforementioned embodiments;
[0015] The output end of the timing data determination module is connected to the input end of the timing signal generator; the output end of the delay time calibration module is connected to the first calibration end of each of the timing signal generators in a one-to-one correspondence, and the input end of the delay time calibration module is connected to the second calibration end of each of the timing signal generators in a one-to-one correspondence; the output end of each of the timing signal generators is connected to the input end of the external calibration device in a one-to-one correspondence;
[0016] The delay time calibration module is used to perform delay time calibration on the programmable time delay unit in each of the timing signal generators;
[0017] The external calibration device is used to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units, and determine the delay time compensation values of all programmable time delay units based on the delay time deviation;
[0018] The timing data determination module is used to provide an edge signal and a target delay time of each of the programmable time delay units, so that the timing signal generator outputs a target timing signal based on the delay time and the edge signal.
[0019] In an optional implementation, the delay time calibration module includes: a delay time calibration unit, a third gating unit and a fourth gating unit;
[0020] The input end of the third gating unit is connected to the input end of the delay time calibration module in a one-to-one correspondence, and the output end of the third gating unit is connected to the input end of the delay time calibration unit;
[0021] The output end of the delay time calibration unit is connected to the input end of the fourth gating unit, and the output end of the fourth gating unit is connected to the output end of the delay time calibration module in a one-to-one correspondence.
[0022] In an optional implementation, the external calibration device includes: an oscilloscope.
[0023] In a third aspect, the present invention provides a calibration method for a timing signal generator, the calibration method being applied to a calibration system for a timing signal generator in any one of the aforementioned embodiments, the calibration method comprising:
[0024] Using the delay time calibration module to perform delay time calibration on each programmable time delay unit in each timing signal generator;
[0025] Using an external calibration device to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units, and obtain multiple delay time deviations;
[0026] Determine the delay time compensation value of each of the programmable time delay units based on the multiple delay time deviations and the target delay time deviation, and write the corresponding delay time compensation value into each of the programmable time delay units; wherein the target delay time deviation represents the maximum time deviation among the multiple delay time deviations.
[0027] In an optional implementation, a delay time calibration module is used to perform delay time calibration on each programmable time delay unit in each timing signal generator, including:
[0028] Repeat the following steps until the delay time of all programmable time delay units is calibrated:
[0029] Controlling the output end of the fourth gating unit in the delay time calibration module to select the first calibration end of the target timing signal generator, and controlling the input end of the third gating unit in the delay time calibration module to select the second calibration end of the target timing signal generator;
[0030] Controlling the output end of the first gating unit in the target timing signal generator to gating the input end of the target programmable time delay unit, and controlling the input end of the second gating unit in the target timing signal generator to gating the output end of the target programmable time delay unit;
[0031] The delay time calibration unit in the delay time calibration module is used to calibrate the delay time of the target programmable time delay unit.
[0032] In an optional implementation, an external calibration device is used to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units to obtain multiple delay time deviations, including:
[0033] Using an external calibration device to measure the delay time deviation between a target programmable time delay unit in a target timing signal generator and each programmable time delay unit in remaining timing signal generators, to obtain a first delay time deviation set;
[0034] Using an external calibration device to measure the delay time deviation between any programmable time delay unit in the target remaining timing signal generator and the remaining programmable time delay units in the target timing signal generator to obtain a second delay time deviation set;
[0035] A delay time deviation between the target programmable time delay unit and the remaining programmable time delay units is determined based on the first delay time deviation set and the second delay time deviation set.
[0036] In a fourth aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the steps of the calibration method described in any one of the aforementioned embodiments are implemented.
[0037] In a fifth aspect, the present invention provides a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute the calibration method described in any one of the aforementioned embodiments.
[0038] The timing signal generator provided by the present invention comprises: a configuration unit, a combination logic unit and a plurality of programmable time delay units; the input end of the configuration unit is connected to the configuration input end of the timing signal generator; the output end of the configuration unit is respectively connected to the delay configuration end of each programmable time delay unit; the input end of each programmable time delay unit is connected to each edge signal input end of the timing signal generator in a one-to-one correspondence; the output end of each programmable time delay unit is connected to the input end of the combination logic unit in a one-to-one correspondence; the output end of the combination logic unit is connected to the output end of the timing signal generator; the configuration unit is used to receive the target delay time of each programmable time delay unit sent by the configuration input end, and configure each programmable time delay unit based on the target delay time; each programmable time delay unit is used to receive the edge signal sent by the edge signal input end, and delay the edge signal based on the corresponding target delay time to output, so as to obtain the target edge signal; the combination logic unit is used to combine a plurality of target edge signals according to a preset combination logic, so as to obtain the target timing signal.
[0039] The timing signal generator provided by the present invention can flexibly set the waveform and frequency of the output signal by configuring the number of programmable time delay units according to actual needs without changing the system clock frequency, thereby effectively alleviating the technical problem that the timing signal generation method in the prior art cannot meet the resolution improvement demand of the time scale unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A structural block diagram of a timing signal generator provided by an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of input and output signals of a timing signal generator provided by an embodiment of the present invention;
[0043] Figure 3 A structural block diagram of an optional timing signal generator provided in an embodiment of the present invention;
[0044] Figure 4 A system block diagram of a calibration system for a timing signal generator provided by an embodiment of the present invention;
[0045] Figure 5A structural block diagram of a delay time calibration module provided by an embodiment of the present invention;
[0046] Figure 6 A flow chart of a calibration method for a timing signal generator provided by an embodiment of the present invention;
[0047] Figure 7 A schematic diagram of an electronic device provided by an embodiment of the present invention.
[0048] Icons: 10-timing signal generator; 100-configuration unit; 200-combinatorial logic unit; 300-programmable time delay unit; 400-first selection unit; 500-second selection unit; 20-timing data determination module; 30-delay time calibration module; 40-external calibration device; 301-delay time calibration unit; 302-third selection unit; 303-fourth selection unit; 60-processor; 61-memory; 62-bus; 63-communication interface. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0050] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.
[0051] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0052] In ATE (Automatic Test Equipment), the Timing Generator module (i.e., timing signal generator) is one of its core technologies. This module can be used to output high-speed, high-precision waveforms. In the prior art, high clock frequency and DLL (Delay locked Loop) technology are usually used to generate clocks of different phases, thereby generating high-resolution time scale units, or directly using dedicated DelayLine chips to generate high-resolution time scale units. In the first timing signal generation method, since the ability to increase the system clock frequency is limited, the timing signal generation method cannot meet the resolution improvement requirements of the time scale unit; although the second timing signal generation method can meet the resolution improvement requirements of the time scale unit, since the dedicated DelayLine chip usually occupies more space, it is impossible to implement layout when the number of channels is large. In view of this, an embodiment of the present invention provides a timing signal generator to alleviate the technical problems mentioned above.
[0053] Embodiment 1
[0054] Figure 1 A structural block diagram of a timing signal generator provided by an embodiment of the present invention, such as Figure 1 As shown, the timing signal generator 10 includes: a configuration unit 100 , a combinational logic unit 200 and a plurality of programmable time delay units 300 .
[0055] The input end of the configuration unit 100 is connected to the configuration input end of the timing signal generator; the output end of the configuration unit 100 is connected to the delay configuration end of each programmable time delay unit 300 respectively.
[0056] The input end of each programmable time delay unit 300 is connected to each edge signal input end of the timing signal generator in a one-to-one correspondence; the output end of each programmable time delay unit 300 is connected to the input end of the combinational logic unit 200 in a one-to-one correspondence; the output end of the combinational logic unit 200 is connected to the output end of the timing signal generator.
[0057] The configuration unit 100 is used to receive the target delay time of each programmable time delay unit 300 sent by the configuration input terminal, and configure each programmable time delay unit 300 based on the target delay time.
[0058] Each programmable time delay unit 300 is used to receive an edge signal sent by an edge signal input terminal, and delay the edge signal based on a corresponding target delay time to output a target edge signal.
[0059] The combinational logic unit 200 is used to combine multiple target edge signals according to a preset combinational logic to obtain a target timing signal.
[0060] It can be seen from the structural description of the timing signal generator provided in the embodiment of the present invention that each timing signal generator (Timing Generator, TG for short) contains multiple programmable time delay units 300 (DelayLine, hereinafter referred to as DL), and each DL is an independent programmable time delay unit 300. Different delay times can be achieved by configuring different values, that is, programmable delay can be achieved for its input signal. The function of the configuration unit 100 is to configure DL. Through this unit, the user can set the delay time of each DL; the function of the combinational logic unit 200 is to combine the target edge signals output by different DLs in one cycle and output them. Optionally, the combinational logic of the combinational logic unit 200 is XOR logic. The embodiment of the present invention does not specifically limit the combinational logic of the combinational logic unit 200, and the user can set it according to actual needs.
[0061] That is to say, the timing signal generator delays and combines the edge signals it receives according to the set time, and outputs the target timing signal obtained after the combination. An edge signal can be understood as a signal event, which means that a specific event is executed within a certain system clock cycle. Figure 2 A schematic diagram of input and output signals of a timing signal generator provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, Edge_1, Edge_2, Edge_3 and Edge_N are connected to a high level from low to high at the same time in one cycle, and are delayed differently through their respective DLs. Figure 2 The input side of the Formatter in the Formatter realizes the misalignment of different Edge rising edges, and then after the XOR logic combination of the combinational logic unit 200, a specific waveform can be obtained at the I / O pin (the output end of the timing signal generator), and the waveform frequency is increased by 4 times compared with the system clock frequency, that is, the output waveform frequency is increased without increasing the system clock frequency. By configuring DL, the specific time T1, T2, T3 and TN can be accurately realized. It should be noted that the embodiment of the present invention does not specifically limit the connection method between the configuration unit 100 and the DL. Figure 1 The connection method in can be understood as connecting through a parallel bus. Figure 2 The connection method in can be understood as connection through a serial bus, and both connection methods are acceptable.
[0062] Based on the above description, it can be seen that the input end of each DL is connected to the edge signal input end of the timing signal generator in a one-to-one correspondence. Therefore, the more edge signal input ends of the timing signal generator (that is, the more DLs), the more types and higher rate signal waveforms can be combined in one cycle. Figure 2 The provided schematic diagram is a specific application scenario of using a lower system clock period Period to output a high-frequency signal waveform.
[0063] The timing signal generator provided by the present invention comprises: a configuration unit 100, a combinational logic unit 200 and a plurality of programmable time delay units 300; the input end of the configuration unit 100 is connected to the configuration input end of the timing signal generator; the output end of the configuration unit 100 is respectively connected to the delay configuration end of each programmable time delay unit 300; the input end of each programmable time delay unit 300 is connected to each edge signal input end of the timing signal generator in a one-to-one correspondence; the output end of each programmable time delay unit 300 is connected to the input end of the combinational logic unit 200 in a one-to-one correspondence; the combinational logic unit 200 is connected to the ... The output end of the logic unit 200 is connected to the output end of the timing signal generator; the configuration unit 100 is used to receive the target delay time of each programmable time delay unit 300 sent by the configuration input end, and configure each programmable time delay unit 300 based on the target delay time; each programmable time delay unit 300 is used to receive the edge signal sent by the edge signal input end, and delay the edge signal based on the corresponding target delay time to output a target edge signal; the combination logic unit 200 is used to combine multiple target edge signals according to a preset combination logic to obtain a target timing signal.
[0064] The timing signal generator provided by the present invention can flexibly set the waveform and frequency of the output signal without changing the system clock frequency, only by configuring the number of programmable time delay units 300 according to actual needs, thereby effectively alleviating the technical problem that the timing signal generation method in the prior art cannot meet the resolution improvement requirements of the time scale unit. In addition, compared with the dedicated DelayLine chip, it occupies less space and has lower cost.
[0065] Specifically, due to the deviation of physical routing and the influence of device PVT (P represents process deviation, V represents power supply deviation, and T represents temperature deviation), in order to achieve high-precision output time points, the timing signal generator needs to be calibrated in two aspects. On the one hand, the delay time of the DL unit is calibrated, that is, whether the actual delay generated by the DL is consistent with the set delay time; on the other hand, the delay deviation between all DL units is calibrated, including both between the DL units inside the timing signal generator and between channels (the same device is provided with multiple timing signal output channels, and each channel contains a timing signal generator). After the calibration is completed, it can be ensured that all channels can generate accurate synchronous output specific waveforms. The method and system for inter-channel calibration will be introduced in detail in the following embodiments. This embodiment will introduce the structure added to the timing signal generator to assist in delay time calibration of a single DL unit.
[0066] In an optional embodiment, if Figure 3 As shown, the timing signal generator further includes: a first gating unit 400 and a second gating unit 500 .
[0067] The input end of the first gating unit 400 is connected to the first calibration end of the timing signal generator; the output end of the first gating unit 400 is connected to the input end of each programmable time delay unit 300 in a one-to-one correspondence.
[0068] The output end of each programmable time delay unit 300 is connected to the input end of the second gating unit 500 in a one-to-one correspondence; the output end of the second gating unit 500 is connected to the second calibration end of the timing signal generator.
[0069] The first gating unit 400 and the second gating unit 500 are used to assist the timing signal generator in calibrating the delay time of each programmable time delay unit 300 .
[0070] It can be seen from the above description that two calibration ports (a first calibration port and a second calibration port) are provided on each timing signal generator. When the timing signal generator and the delay time calibration module are connected through the above two ports, a DL is selected through the first selection unit 400 and the second selection unit 500 at the same time, and the delay time calibration of the selected DL can be performed. For example, when the input end of the first selection unit 400 and its first output end (that is, the input end of the first programmable time delay unit (DL1) in the timing signal generator) are selected, and the output end of the second selection unit 500 and its first input end (that is, the output end of the first programmable time delay unit (DL1) in the timing signal generator) are selected, the delay time calibration module and DL1 are connected in series to form a loop. At this time, the delay time calibration of DL1 can be performed through the delay time calibration module. By analogy, the delay time calibration of all DLs can be completed by selecting the remaining DLs respectively using the first selection unit 400 and the second selection unit 500.
[0071] DL is usually a configurable time extension module, usually with a configuration step of 0-1023. Each configuration step represents a specific time. For example, if each step is 10ps, then 1023 means 1023*10=10.23ns. However, in actual applications, when the configuration step is one step, the accurate delay time may not be obtained: 10ps. The actual delay may be 9ps or 11ps, or other time lengths, which will cause the set delay time to be inconsistent with the actual delay time. When calibrating DL using the delay time calibration module, the delay time calibration module measures the actual delay time of each step. For example, when the step length is configured as 1023, the actual delay time obtained by the test is 10.49ns. At this time, 1023 and 10.49ns are stored in the storage unit as a set of data. By analogy, a total of 1024 sets of step length and delay time data pairs from 0 to 1023 will be obtained.
[0072] After the calibration is completed, after DL receives the target delay time, the target delay time can be used to find the corresponding configuration step number in the storage unit through the lookup table method. For example, if a 10.3ns extension needs to be configured, the closest configuration step number found through the lookup table is 1021, then the step number 1021 is written into DL, and the configuration of the DL delay time is completed.
[0073] Embodiment 2
[0074] Figure 4 is a system block diagram of a calibration system for a timing signal generator provided by an embodiment of the present invention. Figure 4As shown, the calibration system includes: a timing data determination module 20, a delay time calibration module 30, an external calibration device 40 and a plurality of timing signal generators ( Figure 4 TG in );
[0075] The output end of the timing data determination module 20 is connected to the input end of the timing signal generator; the output end of the delay time calibration module 30 is connected one-to-one with the first calibration end of each timing signal generator, and the input end of the delay time calibration module 30 is connected one-to-one with the second calibration end of each timing signal generator; the output end of each timing signal generator is connected one-to-one with the input end of the external calibration device 40.
[0076] The delay time calibration module 30 is used to perform delay time calibration on the programmable time delay unit (DL in the figure) in each timing signal generator.
[0077] The external calibration device 40 is used to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units, and determine the delay time compensation values of all programmable time delay units based on the delay time deviation.
[0078] The timing data determination module 20 is used to provide an edge signal and a target delay time of each programmable time delay unit, so that the timing signal generator outputs a target timing signal based on the delay time and the edge signal.
[0079] Through the above description of the calibration system of the timing signal generator provided by the embodiment of the present invention, it can be known that in addition to the multiple timing signal generators to be calibrated, a timing data determination module 20, a delay time calibration module 30 and an external calibration device 40 are also required in the calibration system. The timing data determination module 20 (Pattern & Timing module) can be understood as a data generation module for outputting timing signals. This module is used to describe the time, event and other information of the output waveform, and decompose it into Edge_1, Edge_2, Edge_3...Edge_N and TimingSet information to transmit to the TG module (that is, the timing signal generator mentioned above). The delay time calibration module 30 (that is, the Timing Measurement module) is used to calibrate the delay time of a single DL unit, that is, to compare the set delay time of the DL with the actual measured delay time, and make corresponding compensation. After the delay time calibration of a single DL unit is completed, the delay time deviation between the DL units needs to be calibrated using an external calibration device 40 (Timing Calibration Tool, referred to as TCT). The embodiment of the present invention does not specifically limit the device types and device models of the timing data determination module 20, the delay time calibration module 30 and the external calibration device 40, and the user can select according to actual conditions. Optionally, the external calibration device 40 includes: an oscilloscope.
[0080] The calibration process of a single DL unit has been introduced in the above embodiment 1. When calibrating the delay time deviation between DL units, an external calibration device 40 is required to be used. Figure 4 Take the provided calibration system as an example for explanation. First, all TG modules are used to generate a rising edge signal using Edge_1 at time 0 (as long as it is the same time, it does not have to be time 0, this is just an example). An external calibration device 40 is used to measure the deviation value of the rising edge signal at all I / O pins and the first I / O pin, that is, the initial deviation value of DL1 between different channels, which are recorded as Tio2_DL1, Tio3_DL1, and Tio4_DL1 respectively.
[0081] Next, keep the Edge_1 setting of TG_1 unchanged, change the other channels to Edge_2 to generate a rising edge waveform, and continue to use the external calibration device 40 to measure the deviation values of all channels and DL1 of TG_1, that is, the initial deviation values of all DL2 except TG_1 and DL1 of TG_1, and so on, measure the initial deviation values of all DL except TG_1 and DL1 of TG_1, and record them as Tio2_DL2, Tio3_DL2, Tio4_DL2...Tio2_DL3, Tio3_DL3, Tio4_DL3...
[0082] Furthermore, taking Edge_1 of TG_2 as the reference (actually any DL other than TG_1 can be selected here, and DL1 of TG_2 is used as an example for explanation), the deviation values of DL2, DL3, DLN in TG_1 and DL1 of TG_2 are measured. Because the deviation between DL1 in TG_2 and DL1 in TG_1 has been measured in the above steps, the deviation values of DL2, DL3, DLN in TG_1 and DL1 can be further obtained through calculation in this step, so that the initial deviation value of DL1 in TG_1 relative to the remaining DL can be obtained. Recorded as Tio1_DL2, Tio1_DL3, Tio1_DL4…
[0083] Finally, all DLs can be aligned by compensating them according to the measured deviation value with the maximum deviation value as a reference. For example, if Tio2_DL2 is the maximum deviation value after comparison, the compensation values of the remaining DLs are:
[0084] TG1_DL1:Tio2_DL2
[0085] TG1_DL2: Tio2_DL2-Tio1_DL2
[0086] TG1_DL3: Tio2_DL2-Tio1_DL3
[0087] TG2_DL1: Tio2_DL2-Tio2_DL1
[0088] TG2_DL2:0
[0089] TG2_DL3: Tio2_DL2-Tio2_DL3
[0090] …
[0091] Finally, all the above compensation values are written into each DL module as the initial value of DL, that is, the delay time deviation between DL units is calibrated. After the calibration is completed, it can be guaranteed that all channels can accurately and synchronously output specific waveforms, and after comprehensive calibration, high-precision time setting can be achieved.
[0092] In an optional embodiment, if Figure 5 As shown, the delay time calibration module 30 includes: a delay time calibration unit 301 , a third gating unit 302 and a fourth gating unit 303 .
[0093] The input end of the third gating unit 302 is connected to the input end of the delay time calibration module 30 in a one-to-one correspondence, and the output end of the third gating unit 302 is connected to the input end of the delay time calibration unit 301 .
[0094] The output end of the delay time calibration unit 301 is connected to the input end of the fourth gating unit 303 , and the output end of the fourth gating unit 303 is connected to the output end of the delay time calibration module 30 in a one-to-one correspondence.
[0095] The delay time calibration module 30 introduced above is used to perform delay time calibration on each DL inside the timing signal generator. When there are multiple channels, the delay time calibration module 30 reserves a pair of input and output ports for each channel to be connected to the first calibration end and the second calibration end of the timing signal generator in the channel. Since only one DL is selected at a time during the calibration process, a delay time calibration unit 301, a third selection unit 302 and a fourth selection unit 303 can be set inside the delay time calibration module 30. During calibration, the third selection unit 302 and the fourth selection unit 303 simultaneously select the corresponding calibration ends of the same timing signal generator.
[0096] Embodiment 3
[0097] Figure 6 A flowchart of a calibration method for a timing signal generator provided by an embodiment of the present invention is provided. The calibration method is applied to a calibration system of any timing signal generator in the above-mentioned embodiment 2, such as Figure 6 As shown, the calibration method specifically includes the following steps:
[0098] Step S102 , using a delay time calibration module to perform delay time calibration on each programmable time delay unit in each timing signal generator.
[0099] Step S104 , using an external calibration device to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units to obtain a plurality of delay time deviations.
[0100] Step S106 , determining a delay time compensation value of each programmable time delay unit based on the multiple delay time deviations and the target delay time deviation, and writing the corresponding delay time compensation value into each programmable time delay unit.
[0101] The target delay time deviation indicates the maximum time deviation among the multiple delay time deviations.
[0102] Specifically, when using the calibration system to calibrate a timing signal generating device containing multiple channels, combined with the description in the above embodiments, it can be seen that it is first necessary to use the delay time calibration module to calibrate the delay time of each DL in each timing signal generator. After determining that the delay time calibration of the DL is completed, it is further necessary to calibrate the delay deviation between the DLs so that the synchronous output of signals can be achieved between channels and between DLs.
[0103] Specifically, when performing delay time calibration between DLs, any one DL among multiple timing signal generators is selected as the target programmable time delay unit, that is, the target DL, and then the delay time deviation between the target DL and the remaining DLs is measured by an external calibration device. After the target DL is determined, the other DLs among the multiple timing signal generators except the target DL are the remaining DLs.
[0104] After obtaining multiple delay time deviations, in order to synchronize the outputs of all DLs, it is necessary to compensate the delay time of all DLs to the same level. Specifically, first determine the maximum time deviation from the multiple delay time deviations as the target time deviation, and then use the target time deviation as a reference and combine it with the measured delay time deviation to determine the delay time compensation value that actually needs to be written for each DL. After writing, the calibration process ends.
[0105] In an optional implementation, the above step S102, using a delay time calibration module to perform delay time calibration on each programmable time delay unit in each timing signal generator, specifically includes the following steps:
[0106] Repeat the following steps S1021 to S1023 until the delay time calibration of all programmable time delay units is completed:
[0107] Step S1021, controlling the output end of the fourth selection unit in the delay time calibration module to select the first calibration end of the target timing signal generator, and controlling the input end of the third selection unit in the delay time calibration module to select the second calibration end of the target timing signal generator.
[0108] Step S1022, controlling the output end of the first gating unit in the target timing signal generator to gating the input end of the target programmable time delay unit, and controlling the input end of the second gating unit in the target timing signal generator to gating the output end of the target programmable time delay unit.
[0109] Step S1023 , using the delay time calibration unit in the delay time calibration module to perform delay time calibration on the target programmable time delay unit.
[0110] Specifically, based on the description above, it can be known that when calibrating each DL, first control the third selection unit and the fourth selection unit to connect to the target timing signal generator (any timing signal generator to be calibrated), and then control the first selection unit and the second selection unit in the target timing signal generator to connect to the target DL (any DL to be calibrated). The embodiment of the present invention does not limit the above two connection steps, and any one of them can be done first. After the target DL is connected, it is calibrated by the delay time calibration unit, thereby ensuring that the delay time set by the user is consistent with the delay time actually generated by the DL. The method of calibrating a single DL has been introduced in detail above and will not be repeated here.
[0111] In an optional implementation, the above step S104, using an external calibration device to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units to obtain multiple delay time deviations, specifically includes the following steps:
[0112] Step S1041 , using an external calibration device to measure the delay time deviation between a target programmable time delay unit in a target timing signal generator and each programmable time delay unit in remaining timing signal generators, to obtain a first delay time deviation set.
[0113] Step S1042 , using an external calibration device to measure the delay time deviation between any programmable time delay unit in the target remaining timing signal generator and the remaining programmable time delay units in the target timing signal generator to obtain a second delay time deviation set.
[0114] Step S1043 , determining a delay time deviation between a target programmable time delay unit and remaining programmable time delay units based on the first delay time deviation set and the second delay time deviation set.
[0115] When calibrating the delay time deviation between DLs, first select the target DL (any DL in the target TG) in the target TG (target timing signal generator, any one of all TGs), and then use an external calibration device to measure the delay time deviation between the target DL in the target TG and each DL in the remaining TGs, and then obtain the first delay time deviation set.
[0116] Next, select any TG from the remaining TGs as the target remaining timing signal generator, and select any DL from the target remaining timing signal generators as the reference DL, and use an external calibration device to measure the delay time deviation between the reference DL and the DL in the target TG except the target DL (that is, the remaining programmable time delay units in the target timing signal generator), thereby obtaining a second delay time deviation set.
[0117] In view of the fact that the delay time deviation between the reference DL and the target DL has been obtained in the first delay time deviation set, the delay time deviation between the target DL in the target TG and the remaining DL in the target TG can be calculated according to the second delay time deviation set. At this point, the delay time deviation between the target DL and the remaining DL is obtained. For specific calibration examples, please refer to the contents of the above-mentioned embodiment 2, which will not be repeated here.
[0118] Embodiment 4
[0119] See also Figure 7 An embodiment of the present invention provides an electronic device, which includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.
[0120] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0121] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0122] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.
[0123] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.
[0124] A calibration method for a timing signal generator and a computer program product for an electronic device provided in an embodiment of the present invention include a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.
[0125] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0126] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0127] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0128] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0129] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0130] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A calibration system for a timing signal generator, characterized in that: The calibration system comprises: a timing data determination module, a delay time calibration module, an external calibration device and a plurality of timing signal generators; The timing signal generator comprises: a configuration unit, a combinational logic unit and a plurality of programmable time delay units; The input end of the configuration unit is connected to the configuration input end of the timing signal generator; the output end of the configuration unit is respectively connected to the delay configuration end of each of the programmable time delay units; The input end of each of the programmable time delay units is connected to each edge signal input end of the timing signal generator in a one-to-one correspondence; the output end of each of the programmable time delay units is connected to the input end of the combinational logic unit in a one-to-one correspondence; the output end of the combinational logic unit is connected to the output end of the timing signal generator; The configuration unit is used to receive the target delay time of each of the programmable time delay units sent by the configuration input terminal, and configure each of the programmable time delay units based on the target delay time; Each of the programmable time delay units is used to receive the edge signal sent by the edge signal input terminal, and delay the edge signal based on the corresponding target delay time to output a target edge signal; The combinational logic unit is used to combine the plurality of target edge signals according to a preset combinational logic to obtain a target timing signal; The output end of the timing data determination module is connected to the input end of the timing signal generator; the output end of the delay time calibration module is connected to the first calibration end of each of the timing signal generators in a one-to-one correspondence, and the input end of the delay time calibration module is connected to the second calibration end of each of the timing signal generators in a one-to-one correspondence; the output end of each of the timing signal generators is connected to the input end of the external calibration device in a one-to-one correspondence; The delay time calibration module is used to perform delay time calibration on the programmable time delay unit in each of the timing signal generators; The external calibration device is used to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units, and determine the delay time compensation values of all programmable time delay units based on the delay time deviation; The timing data determination module is used to provide an edge signal and a target delay time of each of the programmable time delay units, so that the timing signal generator outputs a target timing signal based on the delay time and the edge signal.
2. The calibration system according to claim 1, characterized in that The delay time calibration module includes: a delay time calibration unit, a third gating unit and a fourth gating unit; The input end of the third gating unit is connected to the input end of the delay time calibration module in a one-to-one correspondence, and the output end of the third gating unit is connected to the input end of the delay time calibration unit; The output end of the delay time calibration unit is connected to the input end of the fourth gating unit, and the output end of the fourth gating unit is connected to the output end of the delay time calibration module in a one-to-one correspondence.
3. The calibration system according to claim 2, characterized in that The external calibration device includes: an oscilloscope.
4. The calibration system according to claim 1, characterized in that: The timing signal generator further includes: a first gating unit and a second gating unit; The input end of the first gating unit is connected to the first calibration end of the timing signal generator; the output end of the first gating unit is connected to the input end of each of the programmable time delay units in a one-to-one correspondence; The output end of each of the programmable time delay units is connected to the input end of the second gating unit in a one-to-one correspondence; the output end of the second gating unit is connected to the second calibration end of the timing signal generator; The first gating unit and the second gating unit are used to assist the timing signal generator in calibrating the delay time of each of the programmable time delay units.
5. A calibration method for a timing signal generator, characterized in that: The calibration method is applied to a calibration system of a timing signal generator according to any one of claims 1 to 4, and the calibration method comprises: Using the delay time calibration module to perform delay time calibration on each programmable time delay unit in each timing signal generator; Using an external calibration device to measure the delay time deviation between the target programmable time delay unit and the remaining programmable time delay units, and obtain multiple delay time deviations; Determine the delay time compensation value of each of the programmable time delay units based on the multiple delay time deviations and the target delay time deviation, and write the corresponding delay time compensation value into each of the programmable time delay units; wherein the target delay time deviation represents the maximum time deviation among the multiple delay time deviations.
6. The calibration method according to claim 5, characterized in that: The delay time calibration module is used to calibrate the delay time of each programmable time delay unit in each timing signal generator, including: Repeat the following steps until the delay time of all programmable time delay units is calibrated: Controlling the output end of the fourth gating unit in the delay time calibration module to select the first calibration end of the target timing signal generator, and controlling the input end of the third gating unit in the delay time calibration module to select the second calibration end of the target timing signal generator; Controlling the output end of the first gating unit in the target timing signal generator to gating the input end of the target programmable time delay unit, and controlling the input end of the second gating unit in the target timing signal generator to gating the output end of the target programmable time delay unit; The delay time calibration unit in the delay time calibration module is used to calibrate the delay time of the target programmable time delay unit.
7. The calibration method according to claim 5, characterized in that: The delay time deviation between the target programmable time delay unit and the remaining programmable time delay units is measured by using an external calibration device to obtain multiple delay time deviations, including: Using an external calibration device to measure the delay time deviation between a target programmable time delay unit in a target timing signal generator and each programmable time delay unit in remaining timing signal generators, to obtain a first delay time deviation set; Using an external calibration device to measure the delay time deviation between any programmable time delay unit in the target remaining timing signal generator and the remaining programmable time delay units in the target timing signal generator to obtain a second delay time deviation set; A delay time deviation between the target programmable time delay unit and the remaining programmable time delay units is determined based on the first delay time deviation set and the second delay time deviation set.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the calibration method according to any one of claims 5 to 7 are implemented.
9. A computer-readable medium having a non-volatile program code executable by a processor, characterized in that: The program code causes the processor to execute the calibration method according to any one of claims 5 to 7.
