A method and system for dynamic undersampling of ADC based on optoelectronic hybrid computing system
By dynamically determining the best sampling point within the signal cycle in the photoelectric hybrid computing system, the problem of information loss caused by under-sampling is solved and the accuracy of AI calculations is improved.
Patent Information
- Application Number
- CN202410837011.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In the photoelectric hybrid computing system, under-sampling fails to determine the best sampling point within the signal period, resulting in information loss and affecting the accuracy of AI calculations.
The ADC dynamic undersampling method based on the photoelectric hybrid computing system is used to select a period in the signal to be collected as the sampling point position acquisition period, set the initial sampling point, and calculate the new sampling point based on the waveform trend between adjacent sampling points. step size until the stopping condition is reached to determine the optimal sampling time point.
It avoids information loss during undersampling to the greatest extent and improves the accuracy of AI calculations, especially in large-scale optoelectronic hybrid computing arrays.
Smart Images

Figure CN118400084B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of photon computing technology, and in particular relates to an ADC dynamic undersampling method and system based on 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 in the measured signal to avoid information loss. If it is less than twice, it is called undersampling. However, in optoelectronic hybrid computing systems used in AI computing (i.e. artificial intelligence algorithms, including various neural network algorithms), since photonic chips have higher requirements for accuracy and flexibility, the ADC (analog-to-digital converter) input analog signal sampling is numerical sampling rather than Nyquist sampling.
[0003] When undersampling, if the representative sampling time point in each cycle is not determined, information will be lost. Summary of the invention
[0004] The object of the present invention is to provide an ADC dynamic undersampling method and system based on an optoelectronic hybrid computing system, which partially solves or alleviates the above-mentioned deficiencies in the prior art, obtains the best sampling point within the signal cycle, and avoids information loss during undersampling to the greatest extent.
[0005] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions: an ADC dynamic undersampling method based on an optoelectronic hybrid computing system, comprising:
[0006] S101 selects a period in the signal to be collected as a sampling point position acquisition period;
[0007] S102 sets two initial sampling points in a sampling point position acquisition cycle in chronological order;
[0008] S103 sets the step size of the next sampling point according to the waveform trend between the previous two sampling points, so as to continue to add new sampling points within the sampling point position acquisition cycle; repeats this step until a stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times that the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold;
[0009] S104 uses the time position of the last sampling point in the sampling point position acquisition cycle as the sampling time point of all cycles of the signal to be sampled to collect the signal to be sampled.
[0010] As an improvement, the step size of the newly added sampling points is inversely proportional to the waveform trend between the previous two sampling points.
[0011] As an improvement, using the formula T=R*K -1 Calculate the step size of the newly added sampling points, K is the waveform trend, and R is the adjustment coefficient.
[0012] As an improvement, if the newly added sampling points exceed the sampling point position acquisition cycle and the stop condition is not met, the adjustment coefficient R is reduced and steps S101 to S104 are repeated.
[0013] As an improvement, the waveform trend is calculated using the formula K=|(y1-y2) / (x1-x2)|, x1≠x2, where K is the waveform trend, x1 and y1, x2 and y2 are the horizontal and vertical coordinates of two adjacent sampling points respectively.
[0014] As an improvement, the time interval between two initial sampling points is 1 / 6 period to 1 / 4 period of the signal to be sampled.
[0015] As an improvement, the two initial sampling points are set within the first 1 / 3 period.
[0016] As an improvement, the sampling point position acquisition period is randomly selected or specified in the signal to be collected.
[0017] The present invention also provides an ADC dynamic undersampling system based on an optoelectronic hybrid computing system, comprising:
[0018] A sampling point position acquisition cycle setting module is used to select a cycle in the signal to be collected as a sampling point position acquisition cycle;
[0019] An initial sampling point setting module is used to set two initial sampling points in the same period on the signal to be sampled in time sequence;
[0020] The optimal sampling point acquisition module is used to set the step size of the next sampling point according to the waveform trend between the previous two sampling points, so as to continue to add new sampling points in the same period; repeat this step until the stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold;
[0021] The sampling module is used to collect the signal to be sampled by taking the time position of the last sampling point in the cycle as the sampling time point of all cycles of the signal to be sampled.
[0022] The present invention also provides a computer system, including a memory and a processor; the memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned ADC dynamic undersampling method based on the optoelectronic hybrid computing system can be implemented.
[0023] The present invention is beneficial in that:
[0024] The present invention selects a cycle in the analog signal to be collected as a sampling point position acquisition cycle, and the cycle can be randomly selected or a representative cycle specified by the system. Then, two initial sampling points are set in the sampling point position acquisition cycle in chronological order. Both initial sampling points are set in the first 1 / 3 cycle, thereby leaving space for the subsequent sampling points. The step size of the next sampling point is set according to the waveform trend between the previous two sampling points, so that new sampling points are continuously added in the sampling point position acquisition cycle until the best sampling point is reached. The time position of the last sampling point in the sampling point position acquisition cycle is used as the sampling time point of all cycles of the signal to be sampled to collect the signal to be sampled.
[0025] By finding an optimal sampling time point within the sampling point position acquisition cycle, theoretically, sampling from the optimal sampling time point can obtain the most representative signal point of the cycle. Applying the time point where the optimal sampling time point is located to all cycles of the signal to be collected for undersampling can obtain the information of the signal to the greatest extent, thereby facilitating the conversion of analog signals to digital signals, thereby ensuring the calculation accuracy in the AI calculation process, that is, avoiding the problem of reduced AI calculation accuracy due to data loss when undersampling at non-optimal sampling time points (for example, sampling from the unstable band of the input signal), especially for optoelectronic hybrid computing systems involving large-scale optoelectronic hybrid computing arrays. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] 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.
[0027] Figure 1 A flowchart of an ADC dynamic undersampling method based on an optoelectronic hybrid computing system according to an embodiment of the present invention;
[0028] Figure 2A schematic diagram of sampling point settings in an ADC dynamic undersampling method based on an optoelectronic hybrid computing system according to an embodiment of the invention;
[0029] Figure 3 The structure diagram of an ADC dynamic undersampling system based on an optoelectronic hybrid computing system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] 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 making creative work are within the scope of protection of the present invention.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] Herein "and / or" includes any and all combinations of one or more of the associated listed items.
[0035] Herein, "plurality" means two or more than two, ie, it includes two, three, four, five, etc.
[0036] 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.
[0037] Definition of noun:
[0038] 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 computing 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.
[0039] Large-scale matrix chip: refers to a photonic computing chip in which the computing array (for example, photonic computing array) is greater than or equal to 64*64, which is large-scale, also known as a high-dimensional matrix photonic computing chip.
[0040] 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 a 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, or a photon computing unit based on a phase change material absorption effect. Hybrid computing units include: a hybrid structure based on light absorption effect and phase change material.
[0041] Computing 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 an optoelectronic hybrid computing unit, the computing array can also be called an optoelectronic hybrid computing array.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] Embodiment 1: Prior art Chinese patent application CN114706448A discloses a signal sampling method, which can obtain the current temperature of a preset sampling point; obtain a set of sampling positions corresponding to a signal to be sampled within a clock cycle; obtain a corresponding optimal sampling position from the sampling position set according to the current temperature; move the sampling clock to the optimal sampling position to perform signal sampling.
[0046] In the above-mentioned prior art, the sampling position corresponding to the signal to be sampled within a clock cycle is obtained by obtaining the clock cycle of the signal to be sampled, and then moving the phase of the sampling clock within the clock cycle to obtain the best sampling point. The above-mentioned method of obtaining the best sampling point is relatively cumbersome and mechanical. In addition, as long as the above-mentioned method is aimed at the field of temperature acquisition technology, it is greatly different from the signal to be collected in the field of photon computing technology to which the present invention is located.
[0047] like Figure 1 As shown, the present invention provides an ADC dynamic undersampling method based on an optoelectronic hybrid computing system, which can set an optimal sampling point for the signal to be sampled, so that the signal to be sampled can lose the least information when undersampling is performed at the optimal sampling point in each cycle. The specific steps include:
[0048] S101 selects a period in the signal to be collected as a sampling point position acquisition period.
[0049] The analog signal processed by the photon computing 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. The analog signal is composed of several time periods. In this step, one of the several periods that make up the analog signal can be selected as a sampling point position to obtain the period. By finding an optimal sampling time point within the period, theoretically, sampling from the optimal sampling time point can obtain the most representative signal point of the period. The time point where the optimal sampling time point is located is applied to all periods 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.
[0050] In this embodiment, the sampling point position acquisition period is randomly selected or specified in the signal to be collected. Furthermore, when specifying, a period that is more representative after the waveform is stable can be selected.
[0051] S102 sets two initial sampling points in a sampling point position acquisition cycle in chronological order.
[0052] like Figure 2 As shown, two initial sampling points are randomly set within the sampling point position acquisition cycle. Of course, in order to facilitate the setting of subsequent additional sampling points, the initial sampling points should not be set too far back. In this implementation, the two initial sampling points are set within the first 1 / 3 cycle, thereby leaving space for the subsequent sampling points to be arranged.
[0053] In addition, the time interval between two initial sampling points (i.e., step length) also needs to be properly set. If the step length is too long, the details in the waveform will be ignored, and if the step length is too short, the computational load will increase and it will be easily disturbed by noise. In this implementation, the time interval between the initial sampling points is 1 / 6 to 1 / 4 of the cycle of the signal to be sampled.
[0054] S103 sets the step size of the next sampling point according to the waveform trend between the previous two sampling points, so as to continue to add new sampling points within the sampling point position acquisition cycle; repeats this step until a stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times that the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold.
[0055] The step length between the two initial sampling points is specified by the system. Starting from the first newly added sampling point, that is, the third sampling point, its step length (the time interval between it and the previous sampling point) is determined by the waveform trend between the previous two sampling points. Figure 2As shown in FIG. 1 , the step size of the newly added sampling point I is determined by the waveform trend between the initial sampling point I and the initial sampling point II, and the step size of the newly added sampling point II is determined by the waveform trend between the newly added sampling point I and the initial sampling point II, and so on. In short, the step size of the sampling point is determined by the change of the waveform.
[0056] In this implementation, the step size of the newly added sampling points is inversely proportional to the waveform trend between the previous two sampling points. That is to say, the steeper the waveform trend between the previous two sampling points, the greater the waveform change. At this time, the step size of the newly added sampling points should be set shorter to avoid missing information; if the waveform trend between the two sampling points is flatter, it means that the waveform change is smaller. At this time, the compensation of the newly added sampling points should be set longer to improve efficiency.
[0057] More specifically, the formula T=R*K is used in this implementation. -1 Calculate the step size of the newly added sampling points, K is the waveform trend, and R is the adjustment coefficient.
[0058] Furthermore, the waveform trend described in this embodiment is calculated using the formula K=|(y1-y2) / (x1-x2)|, x1≠x2, where K is the waveform trend, x1 and y1, x2 and y2 are the horizontal coordinates and vertical coordinates of two adjacent sampling points respectively. In the analog time domain signal, the horizontal coordinate represents time and the vertical coordinate represents amplitude, so the horizontal coordinates of two sampling points cannot be equal.
[0059] The step length of the newly added sampling points is determined according to the waveform trend of the previous two sampling points. When a certain stop condition is reached, it can be considered that the optimal sampling point position of the sampling point position acquisition cycle is found, and the new sampling points are stopped.
[0060] In this implementation, the stopping conditions are: 1. The waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, that is, the waveform tends to be flat; or / and, 2. The number of times the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold, that is, the waveform trend is in a steady state.
[0061] For example, when the waveform trend of the signal to be sampled between the newly added sampling point II and the newly added sampling point III is less than 0.02, it means that the waveform is close to being flat, and at this time, the addition of new sampling points can be stopped.
[0062] Alternatively, assume that the fluctuation threshold interval is [-0.2, 0.2], and the number threshold is 3. When the waveform trend between the newly added sampling point I and the newly added sampling point II is 0.4, the waveform trend between the newly added sampling point II and the newly added sampling point III is 0.38, the waveform trend between the newly added sampling point III and the newly added sampling point IV is 0.37, and the waveform trend between the newly added sampling point IV and the newly added sampling point VI is 0.38, then the fluctuation between the waveform trend 0.4 and the waveform trend 0.38 is 0.2, the fluctuation between the fluctuation trend 0.38 and the fluctuation trend 0.37 is 0.1, and the fluctuation between the fluctuation trend 0.37 and the fluctuation trend 0.38 is -0.1, which are all within the fluctuation threshold interval and have been reached for 3 times in a row, indicating that the waveform tends to be stable. At this time, the new sampling points can also be stopped. At this time, the time point where the new sampling point VI is located is the optimal sampling time point.
[0063] Of course, it is also possible that the step size of the newly added sampling point has crossed the end point of the sampling point position acquisition cycle. At this time, the search for the best sampling time point fails and the search for the best sampling time point needs to be repeated. At this time, the adjustment coefficient R needs to be reduced to reduce the step size of the newly added sampling point, so that it is easier to reach the stop condition.
[0064] S104 uses the time position of the last sampling point in the sampling point position acquisition cycle as the sampling time point of all cycles of the signal to be sampled to collect the signal to be sampled.
[0065] When the stop condition is reached, the position of the last sampling point is the best sampling time point position of the sampling point position acquisition cycle. This time point position is analogized to all cycles of the signal to be collected for signal undersampling, which can maximize the accuracy of sampling.
[0066] For example, if the length of the sampling point position acquisition cycle is 10 nanoseconds, and the best sampling time point obtained through the above steps is the 7th nanosecond, then sampling can be performed at the 7th nanosecond of each cycle in the sampled signal.
[0067] Example 2: Figure 3 As shown, the present invention also provides an ADC dynamic undersampling system based on an optoelectronic hybrid computing system, comprising:
[0068] A sampling point position acquisition cycle setting module is used to select a cycle in the signal to be collected as a sampling point position acquisition cycle;
[0069] An initial sampling point setting module is used to set two initial sampling points in the same period on the signal to be sampled in time sequence;
[0070] The optimal sampling point acquisition module is used to set the step size of the next sampling point according to the waveform trend between the previous two sampling points, so as to continue to add new sampling points in the same period; repeat this step until the stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold;
[0071] The sampling module is used to collect the signal to be sampled by taking the time position of the last sampling point in the cycle as the sampling time point of all cycles of the signal to be sampled.
[0072] Embodiment 3: The present invention also provides a computer system, comprising a memory and a processor; the memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned ADC dynamic undersampling method based on the optoelectronic hybrid computing system can be implemented.
[0073] 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.
[0074] 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.
[0075] 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 dynamic undersampling method for ADC based on optoelectronic hybrid computing system, Features include: S101 selects a period in the signal to be collected as a sampling point position acquisition period; S102 sets two initial sampling points in a sampling point position acquisition cycle in chronological order; S103 sets the step size of the next sampling point according to the waveform trend between the two initial sampling points, thereby continuing to add new sampling points within the sampling point position acquisition cycle; The step size of the newly added sampling points is inversely proportional to the waveform trend between the previous two sampling points; the waveform trend is calculated using the formula K=|(y 1 -y 2 ) / (x 1 -x 2 ) |, x 1 ≠x 2 Calculate, where K is the waveform trend, x 1 and 1 、x 2 and 2 are the horizontal and vertical coordinates of two adjacent sampling points respectively; Repeat this step until a stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold; S104 uses the time position of the last sampling point in the sampling point position acquisition cycle as the sampling time point of all cycles of the signal to be sampled to collect the signal to be sampled.
2. The ADC dynamic undersampling method based on the optoelectronic hybrid computing system according to claim 1, Features: Using the formula T=R*K -1 Calculate the step size of the newly added sampling points, K is the waveform trend, and R is the adjustment coefficient.
3. The ADC dynamic undersampling method based on the optoelectronic hybrid computing system according to claim 2, Features: If the newly added sampling points exceed the sampling point position acquisition cycle and the stop condition is not met, the adjustment coefficient R is reduced and steps S101 to S104 are repeated.
4. The ADC dynamic undersampling method based on the optoelectronic hybrid computing system according to claim 1, Features: The time interval between two initial sampling points is 1 / 6 to 1 / 4 of the cycle of the signal to be sampled.
5. The ADC dynamic undersampling method based on the optoelectronic hybrid computing system according to claim 1, Features: The two initial sampling points are set within the first 1 / 3 period.
6. The ADC dynamic undersampling method based on the optoelectronic hybrid computing system according to claim 1, Features: The sampling point position acquisition period is randomly selected or specified in the signal to be collected.
7. An ADC dynamic undersampling system based on an optoelectronic hybrid computing system, Features include: A sampling point position acquisition cycle setting module is used to select a cycle in the signal to be collected as a sampling point position acquisition cycle; An initial sampling point setting module is used to set two initial sampling points in the same period on the signal to be sampled in time sequence; The best sampling point acquisition module is used to set the step size of the next sampling point according to the waveform trend between the previous two sampling points, so as to continue to add new sampling points in the same period; The step size of the newly added sampling points is inversely proportional to the waveform trend between the previous two sampling points; the waveform trend is calculated using the formula K=|(y 1 -y 2 ) / (x 1 -x 2 ) |, x 1 ≠x 2 Calculate, where K is the waveform trend, x 1 and 1 、x 2 and 2 are the horizontal and vertical coordinates of two adjacent sampling points respectively; Repeat this step until a stop condition is reached; the stop condition is that the waveform trend of the signal to be sampled between adjacent sampling points is less than the waveform trend threshold, or / and, the number of times the waveform trend of the signal to be sampled between adjacent sampling points fluctuates continuously within the fluctuation threshold interval exceeds the number threshold; The sampling module is used to collect the signal to be sampled by taking the time position of the last sampling point in the cycle as the sampling time point of all cycles of the signal to be sampled.
8. A computer system, Features: It comprises a memory and a processor; the memory stores a computer program, and when the computer program is executed by the processor, it can implement an ADC dynamic undersampling method based on an optoelectronic hybrid computing system as described in any one of claims 1 to 6.
