A method and device for ADC undersampling calibration in an optoelectronic hybrid computing system

By obtaining the best sampling time point within the signal cycle in the optoelectronic hybrid computing system, dividing the delay signal equally and selecting the delay signal with the highest similarity as the sampling time point, the problem of information loss caused by ADC undersampling is solved and the calculation efficiency is improved. Accuracy and data integrity.

CN118400083BActive Publication Date: 2024-09-17LIGHTSTANDARD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410836893.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-17
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

In optoelectronic hybrid computing systems, ADC undersampling leads to information loss and reduces calculation accuracy. Especially in optoelectronic hybrid computing arrays of large-scale photon arrays, existing technology is difficult to effectively solve this problem.

Method used

By obtaining the best sampling time point within the signal cycle, the delayed signal is equally divided, and the target delayed signal is selected as the best sampling time point based on similarity, and undersampling is performed to avoid information loss.

Benefits of technology

It improves the integrity and calculation accuracy of collected data, reduces the risk of data loss during AI calculations, and is suitable for large-scale photoelectric hybrid computing arrays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400083B
    Figure CN118400083B
Patent Text Reader

Abstract

The present invention relates to an ADC under-sampling calibration method in an optoelectronic hybrid computing system, which includes the following steps: S101 provides an input signal; S102 divides the input signal of one cycle equally according to a pre-configured delay parameter to obtain N delayed signals; S103 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a set of signals to be identified; S104 compares each signal to be identified in the set of signals to be identified with the input signal to obtain the similarity between each signal to be identified and the input signal; S105 selects a target delayed signal from the set of signals to be identified according to a preset screening condition, and performs under-sampling using the starting point of the target delayed signal as the optimal sampling time point; wherein the preset screening condition includes: using the signal to be identified with the greatest similarity as the target delayed signal. Accordingly, the present invention also provides an ADC under-sampling calibration device in an optoelectronic hybrid computing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of photon computing technology, and in particular relates to an ADC undersampling calibration method and device in an optoelectronic hybrid computing system. Background Art

[0002] Nyquist sampling is usually used in optical communication systems. The so-called Nyquist sampling means that the sampling rate fs must be greater than twice the highest frequency component of interest of the measured signal to avoid information loss. If it is less than twice, it is called undersampling. However, in optoelectronic hybrid computing systems used for AI computing (i.e. artificial intelligence algorithms, including various neural network algorithms), since photonic chips have higher requirements for accuracy and flexibility, especially photonic chips with large-scale photon arrays (or optoelectronic hybrid computing arrays), the ADC (analog-to-digital converter) input analog signal sampling is numerical sampling rather than Nyquist sampling, which is undersampling. However, the input signal gradually stabilizes in the link, and is not stable from the beginning. Therefore, in the case of undersampling, if sampling starts from an unstable band, it will cause information loss, thereby reducing the accuracy of the optoelectronic hybrid computing system.

[0003] Chinese utility model patent CN210515010U discloses a system for undersampling high-speed signal acquisition, which generates a clock signal through a PLL peripheral to drive a timer module. At the same time, the timer module uses the timer timing signal as the starting signal of the sampling trigger to control the ADC module to start sampling. The phase of the sampling clock changes every sampling cycle. However, the system ensures the overlap between the sampling clock and the high-speed signal by changing the phase of the ADC sampling clock, that is, the phase of the ADC sampling clock is changed by PLL and timer to achieve high-frequency sampling, so as to achieve undersampling of high-speed repetition frequency signals. However, this method is not only complicated to use, but also requires improvements to the hardware structure of the ADC. It is not applicable to optoelectronic hybrid computing systems that have integrated and encapsulated traditional structure ADCs.

[0004] In view of this, there is an urgent need for a method and device for ADC undersampling calibration in an optoelectronic hybrid computing system. Summary of the invention

[0005] The object of the present invention is to provide a calibration method and device for ADC undersampling in an optoelectronic hybrid computing system, which partially solves or alleviates the above-mentioned deficiencies in the prior art, and reduces or avoids the risk of information loss during subsequent undersampling by obtaining the best adoption time point within the signal cycle.

[0006] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions:

[0007] A first aspect of the present invention is to provide a method for calibrating ADC undersampling in an optoelectronic hybrid computing system, comprising the steps of:

[0008] S101 provides an input signal;

[0009] S102 divides the input signal of one period equally according to a pre-configured delay parameter to obtain N delayed signals;

[0010] S103 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified;

[0011] S104 compares each signal to be identified in the set of signals to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal;

[0012] S105: filtering out a target delayed signal from the set of signals to be identified according to a preset screening condition, and taking the starting point of the target delayed signal as the optimal sampling time point for under-sampling; wherein the preset screening condition includes: taking the signal to be identified with the greatest similarity as the target delayed signal.

[0013] In some embodiments, the preset screening condition further includes: if the difference between the similarities of the plurality of signals to be identified is less than a preset difference threshold, the signal to be identified whose sending time is the Pth last is used as the target delayed signal.

[0014] In some embodiments, the step of pre-configuring delay parameters specifically includes:

[0015] S201 divides the input signal of one period equally according to the initial delay parameter to obtain M delayed signals;

[0016] S202 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified;

[0017] S203 compares each signal to be identified in the set of signals to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal;

[0018] S204 determines whether the number of to-be-identified signals whose similarity difference is less than a preset difference threshold reaches a preset number threshold, if so, executes step S205; otherwise, executes step S206;

[0019] S205 determines that the input signal quality is good, and uses the first preset parameter as the maximum limit value for configuring the delay parameter;

[0020] S206 determines that the input signal quality is poor, and uses a second preset parameter as a minimum limit value for configuring the delay parameter; wherein the second preset parameter is greater than the first preset parameter.

[0021] In some embodiments, the input signal is averaged using a delay locked loop (DLL).

[0022] In some embodiments, a waveform selector is used to start waveform acquisition from the starting point of each delayed signal.

[0023] In some embodiments, the delay parameter is 10.

[0024] A second aspect of the present invention is to provide an ADC undersampling calibration device in an optoelectronic hybrid computing system, comprising:

[0025] A delay processing module, used for equally dividing the input signal of one cycle according to a pre-configured delay parameter to obtain N delayed signals;

[0026] A sampling module is used to collect waveforms by taking the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified;

[0027] A similarity determination module, used for comparing each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal;

[0028] The calibration module is used to filter out a target delayed signal from the set of signals to be identified according to preset filtering conditions, and use the starting point of the target delayed signal as the optimal sampling time point; wherein the preset filtering conditions include: using the signal to be identified with the greatest similarity as the target delayed signal.

[0029] In some embodiments, the preset screening condition further includes: if the difference between the similarities of the plurality of signals to be identified is less than a preset difference threshold, the signal to be identified whose sending time is the penultimate P is used as the target delayed signal; accordingly,

[0030] The similarity determination module is also used to calculate the difference between the similarities of two adjacent signals to be identified, and determine whether the difference is less than a preset difference threshold. If the difference between the similarities of multiple signals to be identified is less than the preset difference threshold, the signal to be identified whose sending time is the Pth to last is used as the target delayed signal.

[0031] In some embodiments, the ADC undersampling calibration device in the optoelectronic hybrid computing system further includes a delay parameter configuration module, and the delay parameter configuration module specifically includes:

[0032] A delay processing unit, used for evenly dividing the input signal of one period according to an initial delay parameter to obtain M delayed signals;

[0033] A waveform acquisition unit, used to take the starting point of each delayed signal obtained by the delay processing unit as a sampling time point to perform waveform acquisition to obtain a signal set to be identified;

[0034] A similarity calculation unit, used for comparing each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal;

[0035] A parameter configuration unit is used to determine whether the number of signals to be identified whose similarity difference is less than a preset difference threshold reaches a preset number threshold. If so, it is determined that the quality of the input signal is good, and the first preset parameter is used as the maximum limit value for configuring the delay parameter; if not, it is determined that the quality of the input signal is poor, and the second preset parameter is used as the minimum limit value for configuring the delay parameter; wherein the second preset parameter is greater than the first preset parameter.

[0036] In some embodiments, the delay processing module utilizes a delay locked loop (DLL) to perform equal delay processing on the input signal.

[0037] In some embodiments, the sampling module uses a waveform selector to start waveform acquisition from a starting point of each delayed signal.

[0038] In some embodiments, the delay parameter is 10.

[0039] Beneficial effects: The present invention determines the optimal sampling time point of the signal by selecting a cycle from the analog signal to be collected. The cycle can be randomly selected or a representative cycle can be specified by the system. Then, the delay is evenly divided to obtain multiple delayed signals, and waveform collection is started based on the starting point of each delayed signal, and then it is compared with the waveform of the input signal to obtain the similarity with the input signal, and the starting point of the delayed signal with the greatest similarity is used as the optimal sampling time point of the input signal in this cycle (or each subsequent cycle) for undersampling. The greatest similarity with the original input signal indicates that the starting point of the corresponding delayed signal, that is, the optimal sampling time point, avoids the unstable band caused by the link, so that the collected waveform data has a high integrity, thereby ensuring the calculation accuracy in the AI ​​calculation process, that is, avoiding the problem of reduced AI calculation accuracy due to the loss of a large amount of data, especially for optoelectronic hybrid computing systems involving large-scale optoelectronic hybrid computing arrays.

[0040] During the test, an optimal sampling time point is found within the acquisition cycle. In theory, sampling from the optimal sampling time point can obtain the most representative signal point of the cycle. The time point where the optimal sampling time point is located is applied to all cycles of the signal to be collected for undersampling, which can obtain the information of the signal to the greatest extent and facilitate the conversion of analog signals to digital signals.

[0041] Furthermore, in the process of equalizing the delay processing, the specific amount of equalization is a question worth considering. If the number of equalizations is too large, there may be multiple waveforms with the same similarity or a small difference with the waveform of the input signal at the same time, which not only increases the complexity of the test, but also increases the difficulty of the test; if the number of equalizations is too small, the difference in similarity between the collected waveform and the waveform of the input signal is large, even if the starting point of the delayed signal corresponding to the waveform with the largest similarity is selected as the optimal sampling time point, there may be a large error; in view of this, in some embodiments, the first equalization delay processing is performed based on the initial delay parameter, and then the quality of the input signal is judged according to the number of delayed signals whose waveforms of each delayed signal are most similar or closest to the waveform of the input signal (for example, the similarity difference is less than the preset difference threshold), and then the corresponding delay parameters are set according to the quality of the input signal. For example, if the quality is good, the interval of the delayed signal can be set larger during the equalization processing; if the quality is poor, the interval of the delayed signal can be set smaller during the equalization processing, so as to match a reasonable delay parameter for the input signal.

[0042] In some embodiments, if the similarity between the multiple collected waveforms and the waveform of the input signal is very close, for example, the difference with the maximum similarity is very small (and the delayed signal corresponding to the maximum similarity may be the last delayed signal sent, or may not be the last delayed signal sent), and can even be ignored, therefore, the starting point of the delayed signal corresponding to the maximum similarity may not be used as the optimal sampling time point, but the multiple delayed signals with very small similarity differences are sorted according to the order of transmission time, and the Pth to last (for example, the second to last) is used as the target delayed signal, and its starting point is used as the optimal sampling time point of the input signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale. Obviously, the drawings described below are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without paying creative labor.

[0044] Figure 1 A flowchart of an ADC undersampling calibration method in an optoelectronic hybrid computing system according to an embodiment of the present invention;

[0045] Figure 2 A flowchart of an ADC undersampling calibration method in an optoelectronic hybrid computing system according to another embodiment of the invention;

[0046] Figure 3 A flowchart of an ADC undersampling calibration method in an optoelectronic hybrid computing system according to another embodiment of the present invention;

[0047] Figure 4 This is a functional module diagram of an ADC undersampling calibration device based on an optoelectronic hybrid computing system according to an embodiment of the present invention;

[0048] Figure 5 A schematic diagram of a delayed sampling clock generating circuit in an optoelectronic hybrid computing system according to an embodiment of the present invention;

[0049] Figure 6 A schematic diagram of using a delayed sampling clock generation circuit to divide an input signal of one cycle into 10 delayed signals;

[0050] Figure 7 This is a schematic diagram reflecting that the input signal on the ADC input side of the optoelectronic hybrid computing system gradually tends to be stable. DETAILED DESCRIPTION

[0051] 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.

[0052] Herein, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings by themselves. Therefore, "module", "component" or "unit" can be used mixedly.

[0053] In this document, the terms "upper", "lower", "inner", "outer", "front", "back", "one end", "the other end" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0054] In this document, unless otherwise clearly specified and limited, the terms "installed", "provided with", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0055] Herein "and / or" includes any and all combinations of one or more of the associated listed items.

[0056] Herein, "plurality" means two or more than two, ie, it includes two, three, four, five, etc.

[0057] Definition of noun:

[0058] Optical AI chip: a chip specially designed for processing optical data and performing artificial intelligence (AI) inference, also known as a photonic computing chip, or photonic chip, or optical computing chip. It is based on the principle of optics, takes optical signals as input, and performs computing operations through a series of optical elements and devices. These optical elements can be components similar to lasers, optical fibers, optical modulators, etc., which are used to process and transmit optical signals. For example, a photonic chip converts an optical signal into a weak photocurrent signal through a light-emitting diode, and then converts the photocurrent signal into a voltage signal U through a transimpedance amplifier TIA, and then the analog-to-digital converter ADC converts the voltage signal (i.e., analog signal) into a digital signal and outputs it to the FPGA for processing. At the same time, the FPGA outputs the digital signal to the digital-to-analog converter DAC to convert the digital signal output by the FPGA into an analog signal and input it into the photonic computing chip.

[0059] Large-scale matrix chip: refers to a photon computing chip whose computing array (for example, photon computing array, or simply photon array) is greater than or equal to 64*64, which is large-scale, also known as a high-dimensional matrix photon computing chip. Photon computing chips with large-scale photon arrays (or optoelectronic hybrid computing arrays) require higher accuracy and flexibility.

[0060] Computing unit: A single computing unit used to implement computing. For example, a single computing unit that implements photon computing using a Mach-Zehnder interferometer (MZI) or micro-ring structure (MMR) structure. Another example is a photon computing unit implemented using the carrier light absorption effect. Specifically, computing units can be divided into photon computing units and hybrid computing units. For example, a photon computing unit based on a light absorption effect structure, and a hybrid computing unit based on a hybrid structure of light absorption effect and phase change material.

[0061] Computational array: Based on the above computing units, an N*N computing array is constructed, and there is a computing unit at each intersection of the input row waveguide and the output column waveguide in the computing array. If the computing unit adopts a photon computing unit, the computing array can also be called a photon computing array; if the computing unit adopts a hybrid computing unit, the computing array can also be called a hybrid computing array.

[0062] Field Programmable Gate Array (FPGA): is a large-scale programmable logic device consisting of programmable logic resources, programmable interconnect resources and programmable input and output resources.

[0063] Analog to Digital Converter (ADC): is a device that converts analog signals into digital signals. ADC sampling means that the ADC samples the continuously changing analog signal within a certain time interval, so as to restore the signal waveform information without distortion under the condition of limited sampling rate. The sampling frequency determines the number of samples collected per second, usually in Hz.

[0064] Digital to Analog Converter (DAC): A converter that converts a discrete signal in the form of binary digital quantity into an analog quantity based on a standard quantity (or reference quantity). This conversion is the inverse process of analog-to-digital conversion (A / D conversion), that is, converting a digital coded signal into a corresponding analog signal.

[0065] The best sampling time point refers to the starting point of signal acquisition within a cycle, and the data loss rate of the signal acquired from this starting point is the lowest, or there is no data loss. Accordingly, in the case of undersampling, determining the best sampling time point of the signal within a cycle is called calibration.

[0066] As mentioned above, in the case of undersampling, if the representative sampling time point in each cycle is not determined, information loss will occur, which will affect the accuracy of the optoelectronic hybrid computing system, especially the photonic computing chip with a large-scale photon array. However, there is currently no ADC undersampling calibration method for the optoelectronic hybrid computing system to obtain the optimal sampling time point of the input signal, so that the ADC can undersample the input signal according to the optimal sampling time point.

[0067] In order to ensure the accuracy of the optoelectronic hybrid computing system, this paper proposes a calibration method and device for ADC undersampling in the optoelectronic hybrid computing system, which predetermines the optimal sampling time point within a cycle of the input signal input into the optoelectronic hybrid computing system, so that the ADC in the system can be undersampled according to the optimal sampling time point in the future, thereby minimizing the risk of data loss. Specifically, for the optoelectronic hybrid computing system with integrated and packaged ADC, a cycle of input signals is delayed, for example, evenly divided, to obtain multiple delayed signals, and then waveform acquisition is started at the starting point of each delayed signal to obtain corresponding multiple signals to be identified, and then the similarity between each signal to be identified and the original input signal (for example, waveform similarity) is calculated, and then according to the preset rules (including: taking the signal to be identified with the greatest similarity as the target delayed signal; or, when there are multiple signals to be identified corresponding to similarities that are not much different (such as the similarity difference is less than the preset difference threshold), the Pth last delayed signal is taken as the target delayed signal according to the sending time) from the set of signals to be identified as the target delayed signal, and the starting point of the target delayed signal is taken as the optimal sampling time point for undersampling.

[0068] Example 1: See Figure 1 , is a flow chart of an ADC under-sampling calibration method in an optoelectronic hybrid computing system according to an embodiment of the present invention. The method of this embodiment can set an optimal sampling point for the signal to be sampled, so that when the ADC is under-sampled, under-sampling can be performed at the optimal sampling point in each cycle of the signal to be sampled, thereby minimizing the loss of information. Specifically, the calibration method includes the steps of:

[0069] S101 provides an input signal.

[0070] The analog signal processed by the photonic chip needs to be converted into a digital signal through ADC. The analog signal is continuous and can only be converted into a digital signal through sampling. In this embodiment, the input signal refers to the photocurrent signal generated by the photonic computing chip in the optoelectronic hybrid computing system, which is converted into a voltage signal (i.e., an analog signal) input to the ADC after being converted through a transimpedance amplifier, which is a periodic signal.

[0071] S102 divides an input signal of one period equally according to a pre-configured delay parameter to obtain N delayed signals.

[0072] In some embodiments, a cycle is selected from several cycles of the above analog signal to obtain an optimal sampling time point in the cycle. In theory, sampling from the optimal sampling time point can obtain the most representative signal point of the cycle. Specifically, the cycle is randomly selected or specified in the signal to be collected. Furthermore, when specifying, a more representative cycle after the waveform is stable can be selected. The time point where the optimal sampling time point is located is applied to all cycles of the signal to be collected for undersampling, which can obtain the information of the signal to the greatest extent, thereby facilitating the conversion of analog signals to digital signals.

[0073] In some embodiments, the preconfigured delay parameter is 10, and accordingly, when the input signal is evenly divided, 10 delayed signals will be obtained.

[0074] In this embodiment, see Figure 5 and Figure 6 , averaging the 100MHz input signal actually means using a delayed sampling clock generation circuit (wherein an external high-frequency clock signal generates a multi-phase low-frequency sampling clock signal through an edge combiner circuit. That is, each rising / falling edge of the multi-phase sampling delay clock is generated from the rising / falling edge of the high-frequency external clock) to process the input signal to obtain 10 delayed signals: delayed signal 1 to delayed signal 0.

[0075] S103 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified.

[0076] In this embodiment, the waveform selector is used to start waveform acquisition from the starting point of each delayed signal, such as Figure 6 As shown by the middle dotted line, starting from the second dotted line, each dotted line corresponds to the starting point of a delayed signal.

[0077] S104 compares each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal.

[0078] In this embodiment, the similarity refers to the waveform similarity between the waveform of the collected signal to be identified and the waveform of the original input signal. Specifically, the existing image similarity algorithm can be used to calculate the similarity between the waveform of each signal to be identified and the waveform of the original input signal, which will not be repeated here.

[0079] S105 takes the signal to be identified with the greatest similarity as the target delayed signal, and takes the starting point of the target delayed signal as the optimal sampling time point for under-sampling.

[0080] In this embodiment, a delay process is performed on an input signal of one cycle to obtain multiple delayed signals, and waveform acquisition is performed based on the starting point of each delayed signal, and then the delayed signal is compared with the waveform of the input signal to obtain the similarity with the input signal, and finally the starting point of the delayed signal with the greatest similarity is used as the optimal sampling time point of the input signal for undersampling. The starting point of the delayed signal with the greatest similarity to the original input signal indicates that the starting point of the corresponding delayed signal, that is, the optimal sampling time point, avoids the unstable band generated by the link (such as Figure 7 The band shown by the dotted line in the middle), so that the collected waveform data has a high integrity. Therefore, when undersampling is performed based on the optimal sampling time point, the information of the signal can be obtained to the greatest extent, reducing the risk of data loss.

[0081] Embodiment 2: The present invention also provides another ADC undersampling calibration method in an optoelectronic hybrid computing system. The method of this embodiment can set an optimal sampling point for the signal to be sampled, so that when the ADC is undersampled, the signal to be sampled can be undersampled at the optimal sampling point in each cycle, thereby losing the least information. Specifically, the calibration method includes the steps in the above embodiment 1, except that, see Figure 2 In this embodiment, the starting point of the delayed signal corresponding to the waveform with the greatest similarity is not used as the optimal sampling time point, but: the similarity difference between the waveforms corresponding to the multiple collected delayed signals is first calculated, and from the signals to be identified corresponding to the multiple waveforms whose similarity difference is less than the preset difference threshold, the Pth to be identified from the last transmission time is used as the target delayed signal, and then its starting point is used as the optimal sampling time point.

[0082] In some embodiments, when calculating the similarity difference between waveforms corresponding to a plurality of delayed signals, the difference between the similarity between the waveforms corresponding to two adjacent delayed signals and the waveform of the input signal is calculated (i.e., the difference between the similarity between two delayed signals with similar transmission times, for example, the difference between the similarity between the waveforms corresponding to two adjacent delayed signals and the waveform of the input signal is calculated). Figure 6 The difference between the similarity of delayed signal 5 to the input signal and the similarity of delayed signal 4 to the input signal, and the difference between the similarity of delayed signal 5 to the input signal and the similarity of delayed signal 6 to the input signal).

[0083] If the input signal quality is good and the delay parameters are set reasonably, then the similarity between the multiple waveforms collected and the waveform of the input signal is very close, for example, the difference with the maximum similarity is very small and can even be ignored. Therefore, instead of using the starting point of the delayed signal corresponding to the maximum similarity as the optimal sampling time point, multiple delayed signals with very small similarity differences are sorted according to the order of transmission time, and the Pth last (for example, the second last) is used as the target delayed signal, and its starting point is used as the optimal sampling time point of the input signal, which can reduce data loss.

[0084] Of course, in other embodiments, after obtaining the similarity between each signal to be identified and the input signal, the similarity difference between the waveforms corresponding to the multiple collected delayed signals is first calculated, and then the number of signals to be identified whose similarity difference is less than the preset difference threshold is counted, and it is determined whether the number is greater than or equal to the first preset number threshold. If so, the Pth last signal (for example, the second to last one, or the middle one) to be identified is sent as the target delayed signal, and then its starting point is used as the optimal sampling time point; otherwise, the delayed signal with the greatest similarity is used as the target delayed signal as described in Example 1.

[0085] Example 3: See Figure 3 , is a flow chart of an ADC under-sampling calibration method in an optoelectronic hybrid computing system according to another embodiment of the present invention. The method of this embodiment can set an optimal sampling point for the signal to be sampled, so that when the ADC is under-sampled, the signal to be sampled can be under-sampled at the optimal sampling point in each cycle, thereby losing the least information. Specifically, the calibration method includes the steps of the above-mentioned embodiment 1, except that, in this embodiment, the delay parameter is pre-configured according to the quality of the input signal. Specifically, in this embodiment, the step of pre-configuring the delay parameter specifically includes:

[0086] S201 divides the input signal of one period equally according to the initial delay parameter to obtain M delayed signals.

[0087] In this embodiment, the one cycle is not the same as the one cycle in step S102 in the above embodiment 1. Since the delay parameter configuration needs to be performed in advance, those skilled in the art know that the one cycle in this embodiment is actually earlier than the one cycle in step S102 in the above embodiment 1. Specifically, it can be the previous cycle or any one of the previous cycles.

[0088] In this embodiment, the initial delay parameter is an empirical value. Preferably, M is smaller than N in the above embodiment 1.

[0089] S202 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified.

[0090] In this embodiment, as described above, the waveform selector is used to start waveform acquisition from the starting point of each delayed signal.

[0091] S203 compares each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal.

[0092] In this embodiment, the existing image similarity algorithm may be used to calculate the similarity between the waveform of each signal to be identified and the waveform of the original input signal, which will not be described in detail here.

[0093] S204 determines whether the number of to-be-identified signals whose similarity difference is less than a preset difference threshold reaches a second preset number threshold, if so, executes step S205; otherwise, executes step S206.

[0094] S205 determines that the quality of the input signal is good, and uses the first preset parameter as the maximum limit value of the configuration delay parameter.

[0095] S206 determines that the input signal quality is poor, and uses the second preset parameter as the minimum limit value for configuring the delay parameter.

[0096] In some embodiments, the second preset parameter is greater than the first preset parameter. For example, the second preset parameter is 6; the first preset parameter is 5. Preferably, the input signal quality is determined to be poor, and the third preset parameter (for example, an empirical value of 10) is used as the maximum limit value for configuring the delay parameter.

[0097] Usually the input signal quality is good (e.g. Figure 7 The unstable band shown by the middle dashed line is shorter, that is, the input signal quickly becomes stable, such as Figure 7 The stable band shown on the right side of the dotted line in the middle), then there may be multiple signals to be identified with similarities to the input signal that are not much different (preferably, the difference in similarity between the waveforms corresponding to two adjacent delayed signals and the input signal is calculated); accordingly, if the input signal quality is poor (for example, Figure 7 The unstable band shown by the middle dashed line is longer, which means that the input signal takes a long time to stabilize. Figure 7Therefore, in order to reasonably set the delay parameters and avoid the situation that more delay signals are set when the signal quality is good and thus waste resources, and insufficient delay signals are set when the signal quality is poor and thus the final optimal sampling time point is not optimal, for signals with good quality, the corresponding delay parameters are set based on the corresponding empirical values, that is, the first preset parameters; and for signals with poor quality, the corresponding delay parameters are set based on the corresponding empirical values, that is, the second preset parameters.

[0098] Example 4: See Figure 4 , is a functional module diagram of an ADC undersampling calibration device in an optoelectronic hybrid computing system according to an embodiment of the present invention. Specifically, the calibration device includes:

[0099] A delay processing module, used to divide the input signal of one cycle equally according to a pre-configured delay parameter to obtain N delayed signals; preferably, the delay parameter is 10;

[0100] A sampling module is used to collect waveforms by taking the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified;

[0101] A similarity determination module is used to compare each signal to be identified in the signal set to be identified with the input signal to obtain the similarity between each signal to be identified and the input signal;

[0102] The calibration module is used to filter out a target delayed signal from a set of signals to be identified according to preset filtering conditions, and use the starting point of the target delayed signal as the optimal sampling time point; wherein the preset filtering conditions include: using the signal to be identified with the greatest similarity as the target delayed signal.

[0103] In other embodiments, the preset screening condition also includes: if the difference between the similarities of the multiple signals to be identified is less than the preset difference threshold, the signal to be identified whose sending time is the Pth last is used as the target delayed signal. Correspondingly, the similarity determination module is also used to calculate the difference between the similarities of two adjacent signals to be identified, and determine whether the difference is less than the preset difference threshold. If the difference between the similarities of the multiple signals to be identified is less than the preset difference threshold, the signal to be identified whose sending time is the Pth last is used as the target delayed signal.

[0104] In some embodiments, an ADC undersampling calibration device in an optoelectronic hybrid computing system further includes a delay parameter configuration module, specifically, including: a delay processing unit, used to divide an input signal of one cycle according to an initial delay parameter to obtain M delayed signals; a waveform acquisition unit, used to use the starting point of each delayed signal obtained by the delay processing unit as a sampling time point to perform waveform acquisition to obtain a signal set to be identified;

[0105] A similarity calculation unit is used to compare each signal to be identified in the set of signals to be identified with the input signal to obtain the similarity between each signal to be identified and the input signal; a parameter configuration unit is used to determine whether the number of signals to be identified whose similarity difference is less than a preset difference threshold reaches a preset number threshold, and if so, it is determined that the quality of the input signal is good, and a first preset parameter is used as the maximum limit value for configuring the delay parameter; if the preset number threshold is not reached, it is determined that the quality of the input signal is poor, and a second preset parameter is used as the minimum limit value for configuring the delay parameter; wherein the second preset parameter is greater than the first preset parameter.

[0106] In some embodiments, the delay processing module utilizes a delay locked loop (DLL) to perform equal delay processing on the input signal.

[0107] In some embodiments, the sampling module uses a waveform selector to start waveform acquisition from a starting point of each delayed signal.

[0108] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a computer terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0110] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for ADC undersampling calibration in an optoelectronic hybrid computing system, characterized in that: Includes steps: S101 provides an input signal; S102 divides the input signal of one period equally according to a pre-configured delay parameter to obtain N delayed signals; S103 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified; S104 compares each signal to be identified in the set of signals to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal; S105: screening out a target delayed signal from the set of signals to be identified according to a preset screening condition, and taking the starting point of the target delayed signal as the optimal sampling time point for under-sampling; Wherein, the preset screening condition includes: taking the signal to be identified with the greatest similarity as the target delayed signal.

2. The ADC undersampling calibration method in an optoelectronic hybrid computing system according to claim 1, characterized in that: The preset screening condition also includes: if the difference between the similarities of the plurality of signals to be identified is less than a preset difference threshold, the signal to be identified whose sending time is the Pth last is used as the target delayed signal.

3. The ADC undersampling calibration method in an optoelectronic hybrid computing system according to claim 1, characterized in that: The step of pre-configuring the delay parameters specifically includes: S201 divides the input signal of one period equally according to the initial delay parameter to obtain M delayed signals; S202 performs waveform acquisition based on the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified; S203 compares each signal to be identified in the set of signals to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal; S204 determines whether the number of to-be-identified signals whose similarity difference is less than a preset difference threshold reaches a preset number threshold, if so, executes step S205; otherwise, executes step S206; S205 determines that the input signal quality is good, and uses the first preset parameter as the maximum limit value for configuring the delay parameter; S206 determines that the input signal quality is poor, and uses the second preset parameter as the minimum limit value for configuring the delay parameter; Wherein, the second preset parameter is greater than the first preset parameter.

4. The ADC undersampling calibration method in an optoelectronic hybrid computing system according to any one of claims 1 to 3, characterized in that: The input signal is evenly divided using a delay phase-locked loop (DLL); and / or, waveform collection is started from the starting point of each delayed signal using a waveform selector.

5. The ADC undersampling calibration method in an optoelectronic hybrid computing system according to claim 1, characterized in that: The delay parameter is 10.

6. An ADC undersampling calibration device in an optoelectronic hybrid computing system, characterized in that: include: A delay processing module, used to divide an input signal of one cycle equally according to a pre-configured delay parameter to obtain N delayed signals; A sampling module is used to collect waveforms by taking the starting point of each delayed signal as a sampling time point to obtain a signal set to be identified; A similarity determination module, used for comparing each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal; The calibration module is used to filter out a target delayed signal from the set of signals to be identified according to preset filtering conditions, and use the starting point of the target delayed signal as the optimal sampling time point; wherein the preset filtering conditions include: using the signal to be identified with the greatest similarity as the target delayed signal.

7. The ADC under-sampling calibration device in an optoelectronic hybrid computing system according to claim 6, characterized in that: The preset screening condition also includes: if the difference between the similarities of the plurality of signals to be identified is less than a preset difference threshold, the signal to be identified whose sending time is the penultimate P is used as the target delayed signal; accordingly, The similarity determination module is also used to calculate the difference between the similarities of two adjacent signals to be identified, and determine whether the difference is less than a preset difference threshold. If the difference between the similarities of multiple signals to be identified is less than the preset difference threshold, the signal to be identified whose sending time is the Pth to last is used as the target delayed signal.

8. The ADC under-sampling calibration device in an optoelectronic hybrid computing system according to claim 6, characterized in that: It also includes a delay parameter configuration module, which specifically includes: A delay processing unit, used for evenly dividing the input signal of one period according to an initial delay parameter to obtain M delayed signals; A waveform acquisition unit, used to take the starting point of each delayed signal obtained by the delay processing unit as a sampling time point to perform waveform acquisition to obtain a signal set to be identified; A similarity calculation unit, used for comparing each signal to be identified in the signal set to be identified with the input signal to obtain a similarity between each signal to be identified and the input signal; A parameter configuration unit is used to determine whether the number of signals to be identified whose similarity difference is less than a preset difference threshold reaches a preset number threshold. If so, it is determined that the quality of the input signal is good, and the first preset parameter is used as the maximum limit value for configuring the delay parameter; if not, it is determined that the quality of the input signal is poor, and the second preset parameter is used as the minimum limit value for configuring the delay parameter; wherein the second preset parameter is greater than the first preset parameter.

9. The ADC under-sampling calibration device in an optoelectronic hybrid computing system according to claim 6, characterized in that: The delay processing module uses a delay phase-locked loop (DLL) to perform equal delay processing on the input signal; and / or, the sampling module uses a waveform selector to start waveform acquisition from the starting point of each delayed signal.

10. The ADC under-sampling calibration device in an optoelectronic hybrid computing system according to claim 6, characterized in that: The delay parameter is 10.