A photonic computing chip with a multi-channel calibration module and an optoelectronic hybrid computing system

By designing a multi-channel calibration module in the photon computing chip, the input optical signal of the computing channel is adjusted, which solves the problem of inconsistency in the computing channel, improves the calculation accuracy and reduces the burden on the computing module.

CN119759175APending Publication Date: 2025-04-04LIGHT-BASED TECH (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411940013.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

Process errors and coupling errors between optical fiber and photon computing chips in the production process of existing optical chips lead to inconsistencies between the computing channels, affecting the calculation accuracy.

Method used

设计一种具有多通道校准模块的光子计算芯片,通过校准模块对计算模块的输入光信号进行调整,使每条待校准通道的校准输出值均为基准校准输出值。

Benefits of technology

By setting up a calibration module on the hardware to change the optical signal, consistent calibration between calculation channels is achieved, ensuring the calculation accuracy of the photon computing chip, and reducing the burden on the computing module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119759175A_ABST
    Figure CN119759175A_ABST
Patent Text Reader

Abstract

The present invention discloses a photon computing chip and an optoelectronic hybrid computing system with a multi-channel calibration module, wherein the photon computing chip includes a light source module for providing a light source, a modulator array composed of a plurality of modulators for modulating the light signal output by the light source module, and a computing module for performing optical computing; further includes a calibration module; the calibration module includes a plurality of submodules, and the submodules correspond one to one with the light signal modulators in the modulator array; the calibration module can adjust the input light signal of the computing module; the error originally caused by the manufacturing process error and the optical fiber coupling is adjusted by the input light signal, so that the final output structure reaches consistency. The present invention changes the light signal by setting the calibration module on the hardware, and there is no need to add the calibration coefficient in the computing module, thereby reducing the burden of the computing module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of optical chips, and in particular relates to a photonic computing chip with a multi-channel calibration module and an optoelectronic hybrid computing system. Background Art

[0002] In the process of AI calculation, electronic chips play an important role in data transmission and calculation. The whole process of artificial neural algorithm contains a large number of matrix multiplication operations, and the CPU based on traditional computer architecture is very laborious to process these operations, and the calculation efficiency is low. Therefore, academia and industry have turned their attention to new hardware structures specifically used for artificial neural networks and deep learning, such as GPU, ASIC and FPGA. However, no matter what kind of technical architecture, it is designed and manufactured using traditional microelectronics technology. The improvement of AI chip performance is inseparable from the improvement of microelectronics integration. However, at the beginning of the 21st century, it was difficult for microelectronics technology to develop according to the prediction of Moore's Law, and the difficulty of improving chip integration continued to increase.

[0003] Compared with electrons, photons have many unique properties: photons have no rest mass, no interaction between photons, and almost no interference; different wavelengths of light can be used for multi-channel simultaneous communication, and at a modulation frequency of tens of hertz, photons can still obtain stable modulation and information transmission, while electrical signals face the problem of radiation loss at high frequencies; in addition, optical signals are not affected by electromagnetic fields and have strong confidentiality. Even more unique is that by using some specific optical structures, photons can perform some mathematical operations with zero energy consumption. Therefore, the use of photons can achieve ultra-high-speed, low-energy or even zero-energy computing, thereby breaking through the performance and cost bottlenecks of traditional microelectronic chips.

[0004] As the semiconductor industry gradually enters the post-Moore era, the development of integrated circuits continues to evolve in different directions. On the one hand, the development of new semiconductor materials, especially carbon nanotubes and two-dimensional semiconductor materials, continues the essence of Moore's Law and continues to reduce the size of devices or chips, that is, "More Moore"; on the other hand, for specific application fields, the development of new architectures and heterogeneous integrated chips, such as neuromorphic chips, optoelectronic chips, quantum chips, etc., achieves "More than Moore".

[0005] Among them, photonic computing chips based on silicon-based optoelectronic technology use materials and processes compatible with integrated circuits to integrate micron and nanoscale photonics, electronics and optoelectronic devices on the same silicon substrate to achieve functional integration and complementary advantages of microelectronic devices and optoelectronic devices, and obtain optoelectronic chips with superior performance, which is an effective way to solve the performance bottleneck and information congestion faced by traditional integrated circuits. Thanks to the mature application of optical fiber communication, photons, as information carriers, have more multiplexing dimensions than electrons, such as amplitude, phase, wavelength, mode, etc., and thus have larger bandwidth, faster speed and lower energy consumption. Early silicon-based optoelectronic chips were designed to replace copper interconnect technology and solve the bottleneck of interconnection communication between the processor core and memory of microelectronic chips. The microprocessor and storage unit are realized by microelectronic devices, while the photonic devices mainly complete signal transmission and information transmission. With the increasing maturity of silicon photonic technology and the huge advantages of optical communication, people's attention to silicon photonic computing chips has gradually shifted from information transmission to information processing, including analog computing, quantum computing, brain-like computing and other cutting-edge application fields.

[0006] Due to the process errors in the production of optical chips and the errors caused by the coupling between optical fibers and photonic computing chips, it is impossible for each computing channel to be completely consistent. Inconsistency between channels will affect the calculation accuracy. Summary of the invention

[0007] The purpose of the present invention is to provide a photonic computing chip and an optoelectronic hybrid computing system with a multi-channel calibration module, which partially solves or alleviates the above-mentioned deficiencies in the prior art and can perform consistency calibration between computing channels, thereby ensuring the computing accuracy of the photonic computing chip.

[0008] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions: a photonic computing chip with a multi-channel calibration module, comprising a light source module for providing a light source, a modulator array composed of a plurality of modulators for modulating the light signal output by the light source module, and a computing module for performing optical computing; further comprising a calibration module, the calibration module comprising a plurality of submodules, the submodules corresponding one-to-one to the light signal modulators in the modulator array; the calibration module can adjust the input light signal of the computing module; During calibration, the light source module inputs the same calibration light signal to the calculation module channel by channel to obtain the calibration output value of each channel; Select a channel as the reference channel, and use the calibration output value of the reference channel as the reference calibration output value; the remaining channels are used as channels to be calibrated; The calibration module adjusts the input optical signal of the calculation module of each channel to be calibrated according to the external control electrical signal, so that when the light source module inputs the calibration optical signal, the calibration output value of each channel to be calibrated of the calculation module is the reference calibration output value.

[0009] As an improvement, the calibration module is arranged between the light source module and the modulator array, or between the modulator array and the calculation module; In the case where the calibration module is arranged between the light source module and the modulator array, the output optical signal of the light source module is the input optical signal of the calibration module; the calibration module compensates the output optical signal of the light source module according to the external control electrical signal, thereby forming the input optical signal of the modulator array; When the calibration module is arranged between the modulator array and the computing module, the output optical signal of the modulator array is the input optical signal of the calibration module; the calibration module adjusts the output optical signal of the modulator array according to the external control electrical signal, thereby forming the input optical signal of the computing module.

[0010] As an improvement, the step of the calibration module adjusting the input optical signal of each channel calculation module to be calibrated according to the external control electrical signal includes: Input the reference calibration output value as an independent variable into a matching function pre-fitted in the channel to be calibrated to obtain a corresponding external control electrical signal; or, search for an external control electrical signal corresponding to the reference calibration output value in a matching table pre-constructed in the channel to be calibrated; The output light signal from the light source module is adjusted according to the external control electrical signal by the calibration module.

[0011] As an improvement, the fitting step of the matching function includes: Recording several external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration light signal; The external control electrical signal and the corresponding output value are regarded as discrete points in a two-dimensional coordinate system; Fit discrete points into a curve; The expression function of the curve is used as the matching function of the channel to be calibrated.

[0012] As an improvement, the step of constructing the matching table includes: According to the set step length, all external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration light signal are obtained; A matching table of the channel to be calibrated is constructed according to the acquired external control electrical signal and the corresponding output value.

[0013] As an improvement, the steps for obtaining the set step size include: Initializing the step length, and adjusting the external control electrical signal according to the initialization step length; Compare the output values ​​of the optical signal modulator under adjacent external control electrical signals; if the absolute value of the difference is less than the difference threshold range, add the current step size to the preset incremental step size as the step size for the next adjustment; if the absolute value of the difference is within the difference threshold range, the step size remains unchanged; if the absolute value of the difference is greater than the difference threshold range, subtract the incremental step size from the current step size as the step size for the next adjustment.

[0014] As an improvement, the external control electrical signal is adjusted upward from the lower limit of the normal working voltage range of the external control electrical signal, or the external control electrical signal is adjusted downward from the upper limit of the normal working voltage range of the external control electrical signal.

[0015] As an improvement, the channel with the smallest calibration output value is used as the reference channel.

[0016] The present invention also provides an optoelectronic hybrid computing system, comprising the above-mentioned photonic computing chip with a multi-channel calibration module; further comprising a control module, the controller being connected to a DAC module; the DAC module converts the digital signal emitted by the control module into an analog signal and sends it to a calibration module and a modulator array respectively; further comprising a detection module and an ADC module connected to the output end of the computing module in sequence; the detection module converts the optical signal output by the computing module into an electrical signal; the output end of the ADC module is connected to the control module, thereby converting the output of the computing module from an analog signal into a digital signal and sending it to the controller.

[0017] As an improvement, the DAC module at least includes a first DAC submodule connected to the calibration module and a second DAC submodule connected to the modulator array.

[0018] Beneficial effects: The photonic computing chip provided by the present invention is provided with a calibration module; the calibration module includes a plurality of sub-modules, and the sub-modules correspond one-to-one to the optical signal modulators in the modulator array; the calibration module can adjust the input optical signal of the computing module on each channel to be calibrated, so that when the light source module inputs the calibration optical signal, the calibration output value of each channel to be calibrated of the computing module is the benchmark calibration output value.

[0019] The present invention changes the input of the corresponding optical signal path in the calculation module by adjusting the output optical signal of the light source module or the output optical signal of the modulator. The inconsistency of the optical signal path originally caused by the manufacturing process error and the optical fiber coupling precision error is adjusted to make the final output structure consistent. The present invention changes the optical signal by setting a calibration module in hardware, and there is no need to add a calibration coefficient in the calculation module, thereby reducing the burden of the calculation module.

[0020] In addition, the present invention also provides a calibration method for a photonic chip based on the above-mentioned photonic computing chip. During calibration, the light source module inputs the same calibration light signal to the computing module channel by channel to obtain the calibration output value of each channel. The channel with the smallest calibration output value is used as the reference channel, and the calibration output value of the reference channel is used as the reference calibration output value; the remaining channels are used as channels to be calibrated; the calibration module adjusts the input light signal of the computing module of each channel to be calibrated according to the external control electrical signal, so that when the light source module inputs the calibration light signal, the calibration output value of each channel to be calibrated of the computing module is the reference calibration output value.

[0021] After the calibration is completed, the external control electrical signal of the calibration module submodule corresponding to each channel is solidified when the output reference calibration output value is output, so that the optical signal is pre-adjusted each time it is used in the future. No soft calibration is required in the calculation module.

[0022] The present invention also provides a method for obtaining the specific value of the external control electrical signal, one of which is a function fitting method and the other is a table lookup method. Through the above two methods, as long as the reference calibration output value is obtained, the required external control electrical signal can be inferred, which is simple and fast. When the optical chip is initialized, the calculation channel can be calibrated quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] 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 ordinary technicians in this field, other drawings can also be obtained based on these drawings without paying creative labor.

[0024] Figure 1 It is a structural schematic diagram of the present invention; Figure 2 A schematic diagram of another structure of the present invention; Figure 3 Flow chart of the calibration method in the present invention. DETAILED DESCRIPTION

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

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

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

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

[0029] Herein, "and / or" includes any and all combinations of one or more of the listed related items. Herein, "plurality" means two or more, that is, it includes two, three, four, five, etc.

[0030] Embodiment 1: Prior art Chinese patent application CN201310044171.X discloses a method for calibrating the consistency of laser paths of an optical vector-matrix multiplier, the optical vector-matrix multiplier comprising: a microprocessing module and a plurality of laser paths controlled by the microprocessing module; the method is executed by the microprocessing module, comprising: obtaining a correction coefficient k of each laser path with reference to a reference laser path before actual operation; [n] and b [n] ; and in the actual operation process, the input vector V of the current laser path is corrected by the correction coefficient k [n] and b [n] Corrected to V′=k [n] V+b [n] .

[0031] In the above-mentioned prior art, the correction coefficient of the reference laser path is first obtained, and then the input vector of the current laser path is corrected using the correction coefficient. This is a soft calibration, and the correction coefficient is used as a parameter in the calculation, which will bring additional calculation to the calculation unit, increase the power consumption of the calculation unit, and increase the system overhead.

[0032] To solve this problem, Figure 1 , Figure 2 As shown, the present invention provides a photonic computing chip with a multi-channel calibration module, which realizes the calibration between the channels in the photonic computing chip from the hardware level.

[0033] The computing power of a photonic computing chip is proportional to the size of its computing matrix. The greater the computing power, the larger the matrix size. As the matrix size increases, the number of channels also increases. For example, a 64X64 computing matrix includes 64 optical signal channels and 64 electrical signal channels. Similarly, a 128X128 computing matrix includes 128 optical signal channels and 128 electrical signal channels. Due to differences in technology, the optical signal channels in a photonic computing chip cannot be completely consistent, which affects the computing accuracy.

[0034] The problem to be solved in the present invention is to calibrate the consistency of several optical signal channels in the calculation matrix (the calibration method of the electrical signal channel will not be described in detail in the present invention).

[0035] Specifically, the photonic computing chip provided by the present invention specifically includes: a light source module for providing a light source, a modulator array composed of a plurality of modulators for modulating the optical signal output by the light source module, and a computing module for performing optical computing; it also includes a calibration module, the calibration module includes a plurality of sub-modules, and the sub-modules correspond one-to-one to the optical signal modulators in the modulator array; the calibration module can compensate for the input optical signal of the computing module.

[0036] The present invention changes the input of the corresponding optical signal path in the calculation module by adjusting the output optical signal of the light source module or the output optical signal of the modulator. The inconsistency of the optical signal path originally caused by the manufacturing process error and the optical fiber coupling precision error is compensated by the input optical signal, so that the final output structure is consistent. The present invention changes the optical signal by setting a calibration module in hardware, and there is no need to add a calibration coefficient in the calculation module, thereby reducing the burden of the calculation module.

[0037] In this embodiment, the calibration module may be arranged between the light source module and the modulator array, or between the modulator array and the calculation module.

[0038] In the case where the calibration module is arranged between the light source module and the modulator array, the output optical signal of the light source module is the input optical signal of the calibration module; the calibration module compensates the output optical signal of the light source module according to the external control electrical signal, thereby forming the input optical signal of the modulator array. Figure 1 shown.

[0039] In the case where the calibration module is arranged between the modulator array and the computing module, the output optical signal of the modulator array is the input optical signal of the calibration module; the calibration module compensates the output optical signal of the modulator array according to the external control electrical signal, thereby forming the input optical signal of the computing module, such as Figure 2 shown.

[0040] Embodiment 2: The present invention also provides an optoelectronic hybrid computing system, including the photonic computing chip with a multi-channel calibration module provided in Embodiment 1; more specifically, the optoelectronic hybrid computing system also includes a control module, and the controller is connected to a DAC module; the DAC module converts the digital signal emitted by the control module into an analog signal and sends it to the calibration module and the modulator array respectively, and in some embodiments, it also needs to be sent to the computing module.

[0041] Some computing modules use the optical signals sent by the modulator array and the electrical signals sent by the DAC module to implement matrix multiplication. In the above case, the DAC module needs to send electrical signals to the computing module. In other computing modules, due to the different internal designs of the optical chip itself, the calculation weights can be adjusted through optical signals, thus eliminating the need for additional DAC modules to send electrical signals.

[0042] In the photonic computing chip, the function of the DAC (Digital-to-Analog Converter) module is to convert digital signals into analog signals. In the present invention, the DAC module converts the control signal (digital signal) sent by the control module into analog signals and sends them to the calibration module, the modulator array and the computing module respectively, thereby controlling the above modules.

[0043] like Figure 1 As shown, in some embodiments, the DAC module includes a first DAC submodule connected to the calibration module, a second DAC submodule connected to the modulator array, and a third DAC submodule connected to the calculation module. The calibration module, the modulator array, and the calculation module correspond to a DAC submodule respectively, so as to facilitate receiving the control signal sent by the controller. Of course, as mentioned above, some calculation modules do not need to send electrical signals to the calculation module, so there is no need for a third DAC module, such as Figure 2 shown.

[0044] In addition, the photonic computing chip also includes a detection module and an ADC module connected to the output end of the computing module in sequence; the detection module converts the optical signal output by the computing module into an electrical signal; the output end of the ADC (Analog-to-Digital Converter) module is connected to the control module, thereby converting the output of the computing module from an analog signal to a digital signal and sending it to the controller.

[0045] In addition, the detection module includes a PD (Phtodetector) module and a TIA (Transimpedance amplifier) ​​module.

[0046] The function of the PD module is to convert the optical signal into an electrical signal, while the function of the TIA module is to amplify the weak current signal from the PD module into a voltage signal, so as to facilitate the subsequent ADC module to perform signal processing.

[0047] Embodiment 3: Figure 3 As shown, based on the above-mentioned photon computing chip with a multi-channel calibration module, the present invention also provides a multi-channel calibration method for a photon computing chip, and the specific steps thereof include: During S1 calibration, the light source module inputs the same calibration light signal to the calculation module channel by channel to obtain the calibration output value of each channel.

[0048] In this embodiment, calibration is performed when the photonic computing chip leaves the factory or in other scenarios where reinitialization is required.

[0049] First, the same calibration light signal is input into each light signal channel in the calculation module through the light source module, and the calibration output value inputted for each channel is obtained. It can be foreseen that since each channel has differences, the calibration output value outputted by each channel also has differences.

[0050] S2 selects a certain channel as a reference channel, and uses the calibration output value of the reference channel as a reference calibration output value; the remaining channels are used as channels to be calibrated.

[0051] In this step, one channel needs to be selected as the reference channel, and the remaining channels are used as channels to be calibrated, so that the output value of the channel to be calibrated is consistent with the output value of the reference channel under the same input.

[0052] In some embodiments, the channel with the smallest calibration output value is used as the reference channel. The reason is that in a photonic computing chip, the enhancement of the optical signal may be constrained by the characteristics of the device itself. For example, the intensity of the optical signal output by the light source module to a certain channel is fixed and cannot be increased. Therefore, the channel with the smallest calibration output value is selected as the reference channel. In order to achieve the same output, the other channels to be calibrated only need to reduce the intensity of the optical signal during transmission.

[0053] The S3 calibration module adjusts the input optical signal of the calculation module of each channel to be calibrated according to the external control electrical signal, so that when the light source module inputs the calibration optical signal, the calibration output value of each channel to be calibrated of the calculation module is the reference calibration output value.

[0054] In this step, the external control electric signal is actually the electric signal after the control signal sent by the control module is converted by the DAC module. The external control electric signal can be either a voltage signal or a current signal, which is not limited in the present invention.

[0055] In this embodiment, a calibration module is used to adjust the input optical signal of the channel to be calibrated; according to the description of the first embodiment, the calibration module includes a plurality of submodules, and the submodules correspond to the modulators in the modulator array one by one; the calibration module is arranged between the light source module and the modulator array, or between the modulator array and the calculation module. Therefore, in this embodiment, the calibration module adjusts the input optical signal of each channel to be calibrated according to the external control electrical signal, which also includes two situations: First, when the calibration module is arranged between the light source module and the modulator array, the output light signal of the light source module is the input light signal of the calibration module; the calibration module compensates the output light signal of the light source module according to the external control electrical signal, thereby forming the input light signal of the modulator array.

[0056] Second, when the calibration module is arranged between the modulator array and the computing module, the output optical signal of the modulator array is the input optical signal of the calibration module; the calibration module compensates the output optical signal of the modulator array according to the external control electrical signal, thereby forming the input optical signal of the computing module.

[0057] Under the control of the external control electrical signal, the calibration module adjusts the optical signal emitted by the light source module or the output optical signal of the modulator array through the submodule, thereby changing the output of the light source module or the modulator on the corresponding channel, and finally changing the input optical signal of the calculation module of each channel to be calibrated. It can be foreseen that the adjustment of the input optical signal of the channel to be calibrated is compensated by a certain proportion, the purpose of which is to make the calibration output values ​​of all channels to be calibrated consistent with the reference calibration output value when the calibration optical signal is input to the light source module.

[0058] In this embodiment, the step of the calibration module adjusting the input optical signal of each channel to be calibrated according to the external control electrical signal includes: S31 inputs the reference calibration output value as an independent variable into a matching function pre-fitted for the channel to be calibrated to obtain a corresponding external control electrical signal; or, searches for an external control electrical signal corresponding to the reference calibration output value from a matching table pre-constructed for the channel to be calibrated.

[0059] This embodiment provides two methods for obtaining specific external control signals, one is a function fitting method, and the other is a table lookup method.

[0060] The fitting step of the matching function in the function fitting method includes: S311 records a number of external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration optical signal.

[0061] For each channel to be calibrated, different external control electrical signals are used to intervene when the same calibration optical signal is input, and each external control electrical signal and the corresponding output value are recorded.

[0062] For example, when inputting the same calibration optical signal P ref Under the premise of setting the external control electrical signal I 1 , get the output value S of the channel 1 ; Set external control electrical signal I 2 , get the output value S of the channel 2 ; Set external control electrical signal I 3 , get the output value S of the channel 3 …and so on.

[0063] S312 takes the external control electrical signal and the corresponding output value as discrete points in a two-dimensional coordinate system.

[0064] For example, the values ​​obtained in the previous step are combined into discrete points in a two-dimensional coordinate system, that is, P1=(I 1 , S 1 ), P2=(I 2 , S 2 ), P3=(I 3 , S 3 )……. It can be understood that, in a two-dimensional coordinate system, the external control electrical signal value is the x-coordinate of a point, and the corresponding output value is the y-coordinate.

[0065] S313 fits the discrete points into a curve.

[0066] In this embodiment, the method for fitting discrete points into a curve is one of least squares fitting, polynomial fitting, spline interpolation fitting, and non-parametric fitting.

[0067] The least squares method is a commonly used data fitting method, especially suitable for fitting discrete points in a two-dimensional coordinate system into a curve. Its basic idea is to find the best fitting curve for the data by minimizing the sum of squares of errors. Its general steps include: 1. Determine the model function, 2. Establish the error function, 3. Solve the coefficients, 4. Calculate the fitting curve, and 5. Evaluate the fitting effect.

[0068] Since this method is a prior art, it will not be described in detail in the present invention. Of course, other methods can also be selected to fit the curve, which will not be described in detail in the present invention.

[0069] S314 uses the expression function of the curve as the matching function of the channel to be calibrated.

[0070] The expression of the curve fitted in the previous step is the matching function. It can be foreseen that when obtaining the external control electrical signal, it is only necessary to input the reference calibration output value as an independent variable into the matching function to obtain the corresponding external control electrical signal.

[0071] Each channel to be calibrated needs to be fitted with a matching function.

[0072] In the table lookup method, the steps of constructing the matching table include: S321 obtains all external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration optical signal according to the set step size.

[0073] Similar to the function fitting method, for each channel to be calibrated, different external control electrical signals are used to intervene when the same calibration optical signal is input, and each external control electrical signal and the corresponding output value are recorded.

[0074] For example, when inputting the same calibration optical signal P ref Under the premise of setting the external control electrical signal I 1 , get the output value S of the channel 1 ; Set external control electrical signal I 2 , get the output value S of the channel 2 ; Set external control electrical signal I 3 , get the output value S of the channel 3 …and so on.

[0075] In the table lookup method, adjacent external control electrical signals, such as I 1 and I 2 , I 2 and I 3 The interval is the set step length. The steps to obtain the set step length include: S3211 initializes the step length and adjusts the external control electrical signal according to the initialized step length.

[0076] In this embodiment, the external control electrical signal may be a voltage signal or a current signal. In the initial state, the external control electrical signal is adjusted upward from the lower limit of the normal working voltage or current range of the external control electrical signal, or the external control electrical signal is adjusted downward from the upper limit of the normal working voltage or current range of the external control electrical signal.

[0077] When adjusting for the first time, adjust according to the preset initialization step length. The initialization step length can be adaptively adjusted based on the technician's experience.

[0078] Assume that the normal range of the external control electrical signal is [I s ,I e ], the initial step size is I 0 . Then first record the lower limit of the range I s Then record the output value of I s +I 0 The output value below.

[0079] S3212 compares the output values ​​of the optical signal modulator under adjacent external control electrical signals; if the absolute value of the difference is less than the difference threshold range, the current step size plus the preset incremental step size is used as the step size for the next adjustment; if the absolute value of the difference is within the difference threshold range, the step size remains unchanged; if the absolute value of the difference is greater than the difference threshold range, the current step size minus the incremental step size is used as the step size for the next adjustment.

[0080] In this embodiment, the step size is not fixed, but will be adaptively adjusted. Compare the outputs under two adjacent external control voltages, for example, 1 and I 2 The output S 1 and S 2 If the absolute value of the difference between the two is less than the difference threshold, then S 1 and S 2 The difference is not only within the tolerance range of the system, but also too dense. In this embodiment, the incremental step size is preset. In the above case, the current supplementary step size plus the incremental step size is used as the step size of the next step.

[0081] If the absolute value of the difference between the two is within the difference threshold, then S 1 and S 2 The difference is tolerable by the system. When calibrating, even without S 1 Then S 2 As the output is also within the deviation range allowed by the system. In the above case, the current step size remains unchanged.

[0082] Of course, if the absolute value of the difference between the two exceeds the difference threshold range, it is considered that the two are irreplaceable and interpolation is required. Therefore, the step size should be shortened to obtain a more densely distributed output value. In the above case, the current complement step size minus the incremental step size is used as the step size of the next step.

[0083] The above rules are used in analogy until the normal working range of the entire external control electrical signal is traversed. S322 constructs a matching table for the channel to be calibrated according to the acquired external control electrical signal and the corresponding output value.

[0084] After traversing the normal working range of the entire external control electrical signal, a number of external control electrical signals and corresponding outputs are obtained, and the two are compiled into a matching table for the channel to search.

[0085] It is understandable that a matching table needs to be pre-built for each channel.

[0086] S32 adjusts the output light signal from the light source module according to the external control electrical signal through the calibration module.

[0087] It can be understood that the calibration module adjusts and compensates the calibration light signal from the light source module in a certain submodule according to the external control electrical signal, so that the input light signal of the corresponding modulator changes, thereby changing the output light signal of the modulator. The output light signal of the adjuster is used as the input light signal of the channel in the calculation module, so that the output of the channel is the reference calibration output value.

[0088] After the calibration is completed, the external control electrical signal of the calibration module submodule corresponding to each channel is solidified when the output reference calibration output value is output, so that the optical signal is pre-adjusted each time it is used in the future. No soft calibration is required in the calculation module.

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

[0090] 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, 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, magnetic disk, optical disk), and includes a number of instructions for a computer terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0091] 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 photonic computing chip with a multi-channel calibration module, characterized in that: The system comprises a light source module for providing a light source, a modulator array composed of a plurality of modulators for modulating the light signal output by the light source module, and a calculation module for performing light calculation; the system also comprises a calibration module, the calibration module comprises a plurality of submodules, and the submodules correspond one to one with the light signal modulators in the modulator array; the calibration module can compensate the input light signal of the calculation module; During calibration, the light source module inputs the same calibration light signal to the calculation module channel by channel to obtain the calibration output value of each channel; Select a channel as the reference channel, and use the calibration output value of the reference channel as the reference calibration output value; The remaining channels are used as channels to be calibrated; The calibration module adjusts the input optical signal of the calculation module of each channel to be calibrated according to the external control electrical signal, so that when the light source module inputs the calibration optical signal, the calibration output value of each channel to be calibrated of the calculation module is the reference calibration output value.

2. The photonic computing chip with a multi-channel calibration module according to claim 1, characterized in that: The calibration module is arranged between the light source module and the modulator array, or between the modulator array and the calculation module; In the case where the calibration module is arranged between the light source module and the modulator array, the output optical signal of the light source module is the input optical signal of the calibration module; the calibration module adjusts the output optical signal of the light source module according to the external control electrical signal, thereby forming the input optical signal of the modulator array; In the case where the calibration module is arranged between the modulator array and the calculation module, the output optical signal of the modulator array is the input optical signal of the calibration module; The calibration module adjusts the output optical signal of the modulator array according to the external control electrical signal, thereby forming the input optical signal of the calculation module.

3. A photonic computing chip with a multi-channel calibration module according to claim 1, characterized in that The step of the calibration module adjusting the input optical signal of each channel calculation module to be calibrated according to the external control electrical signal comprises: Input the reference calibration output value as an independent variable into a matching function pre-fitted in the channel to be calibrated to obtain a corresponding external control electrical signal; or, search for an external control electrical signal corresponding to the reference calibration output value in a matching table pre-constructed in the channel to be calibrated; The output light signal from the light source module is adjusted according to the external control electrical signal by the calibration module.

4. A photonic computing chip with a multi-channel calibration module according to claim 3, characterized in that The fitting step of the matching function comprises: Recording several external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration light signal; The external control electrical signal and the corresponding output value are regarded as discrete points in a two-dimensional coordinate system; Fit discrete points into a curve; The expression function of the curve is used as the matching function of the channel to be calibrated.

5. The photonic computing chip with a multi-channel calibration module according to claim 3, characterized in that The steps of constructing the matching table include: According to the set step length, all external control electrical signals and corresponding output values ​​of the channel to be calibrated under the calibration light signal are obtained; A matching table of the channel to be calibrated is constructed according to the acquired external control electrical signal and the corresponding output value.

6. A photonic computing chip with a multi-channel calibration module according to claim 5, characterized in that The steps to obtain the set step size include: Initializing the step length, and adjusting the external control electrical signal according to the initialization step length; Compare the output values ​​of the optical signal modulator under adjacent external control electrical signals; if the absolute value of the difference is less than the difference threshold range, add the current step size to the preset incremental step size as the step size for the next adjustment; if the absolute value of the difference is within the difference threshold range, the step size remains unchanged; if the absolute value of the difference is greater than the difference threshold range, subtract the incremental step size from the current step size as the step size for the next adjustment.

7. The photon computing chip with a multi-channel calibration module according to claim 6, characterized in that: The external control electrical signal is adjusted upward from the lower limit of the normal operating voltage or current range of the external control electrical signal, or the external control electrical signal is adjusted downward from the upper limit of the normal operating voltage or current range of the external control electrical signal.

8. The photonic computing chip with a multi-channel calibration module according to claim 1, characterized in that: The channel with the smallest calibration output value is used as the reference channel.

9. An optoelectronic hybrid computing system, characterized in that: It includes a photon computing chip with a multi-channel calibration module as described in any one of claims 1 to 8; it also includes a control module, the controller is connected to a DAC module; the DAC module converts the digital signal sent by the control module into an analog signal and sends it to the calibration module and the modulator array respectively; it also includes a detection module and an ADC module connected to the output end of the computing module in sequence; the detection module converts the optical signal output by the computing module into an electrical signal; the output end of the ADC module is connected to the control module, so as to convert the output of the computing module from an analog signal to a digital signal and send it to the controller.

10. The optoelectronic hybrid computing system according to claim 9, characterized in that: The DAC module at least includes a first DAC submodule connected to the calibration module and a second DAC submodule connected to the modulator array.

Citation Information

Patent Citations

  • A Method for Correcting the Consistency of Laser Paths in Optical Vector-Matrix Multipliers

    CN103106062B