Method and device for generating random-shaped units in a spectral chip, and spectral chip

By generating random-shaped units in the spectral chip, the problem of low spectral recovery accuracy caused by regular-shaped units is solved, realizing high-precision spectral measurement and device miniaturization.

CN117705278BActive Publication Date: 2026-03-03TSINGHUA UNIVERSITY +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Traditional miniature spectrometers use regularly shaped units, resulting in low spectral recovery accuracy and making it difficult to further reduce device size.

Method used

A random shape unit generation method is adopted. By generating an initial matrix and performing an inverse Fourier transform, the level set function is obtained, and random shape units in the spectral chip are generated based on the level set function.

Benefits of technology

This improves the accuracy of spectral recovery and reduces the size and cost of spectroscopic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117705278B_ABST
    Figure CN117705278B_ABST
Patent Text Reader

Abstract

The application provides a method and device for generating random shape units in a spectrum chip and the spectrum chip, wherein the method comprises: generating an initial matrix, performing inverse Fourier transform on the initial matrix to obtain a level set function corresponding to the initial matrix; and generating random shape units in the spectrum chip based on the level set function. Since each group of micro-nano structure arrays is composed of the generated random shape units, the light modulation layer including multiple groups of micro-nano structure arrays contains various random shape units generated by the method, so that the light modulation layer has rich spectral modulation characteristics for incident light, thereby being beneficial to overcoming the limitation of spectral recovery accuracy, realizing high-precision measurement of the spectrum of the incident light, effectively improving the spectral recovery accuracy, and reducing the volume and cost of the spectrum device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of spectroscopy, and in particular to a method, apparatus and spectral chip for generating random shape units in a spectral chip. Background Technology

[0002] Traditional spectrometers require precise spectroscopic elements, making the equipment complex and bulky; while current micro spectrometers use arrays of micro- and nano-structures with regular shapes to modulate incident light, and then use algorithms to recover the spectral information of the incident light from the detector response.

[0003] For example, see Figure 1 As shown, each unit of the optical modulation layer 1 has several micro- and nano-holes penetrating the substrate. The cross-sectional shapes of the micro- and nano-holes include circles, ellipses, crosses, regular polygons, stars, or rectangles. However, this method uses regular shaped units, and by changing structural parameters such as period, duty cycle, and angle, the spectral modulation effect that can be achieved is limited, thus restricting the accuracy of spectral recovery and making it difficult to further reduce the size of the device. Summary of the Invention

[0004] This invention provides a method, apparatus, and spectral chip for generating random shape units in a spectral chip, which overcomes the shortcomings of low spectral recovery accuracy caused by the use of regular shape units in existing micro spectrometers, and achieves high-precision measurement of the incident light spectrum.

[0005] On one hand, the present invention provides a method for generating random shape units in a spectral chip, comprising: generating an initial matrix, performing an inverse Fourier transform on the initial matrix to obtain a level set function corresponding to the initial matrix; and generating the random shape units in the spectral chip based on the level set function.

[0006] Furthermore, the generation of the initial matrix further includes: padding the generated initial matrix with zeros to obtain a corresponding high-dimensional matrix; correspondingly, the inverse Fourier transform of the initial matrix to obtain the corresponding level set function includes: performing an inverse Fourier transform of the high-dimensional matrix to obtain the level set function.

[0007] Furthermore, the initial matrix is ​​a low-dimensional matrix or a high-dimensional matrix; wherein, the lower the dimension of the initial matrix, the fewer features are generated for the random shape unit, and the smoother the edges of the random shape unit.

[0008] Furthermore, generating the random shape unit in the spectral chip based on the level set function includes: representing the level set function through a three-dimensional surface; and slicing the three-dimensional surface to obtain the random shape unit.

[0009] Furthermore, the slicing process of the three-dimensional surface includes: determining a target slicing plane based on the three-dimensional surface; and slicing the three-dimensional surface according to the target slicing plane.

[0010] Furthermore, the points on the three-dimensional surface correspond one-to-one with the matrix elements in the high-dimensional matrix; wherein, the Z-axis coordinate value of the point on the three-dimensional surface is the matrix element in the high-dimensional matrix.

[0011] Furthermore, determining the target slicing plane based on the three-dimensional surface includes: determining the target slicing plane according to a preset specific value; the preset specific value is the matrix element in the high-dimensional matrix, or any value between the largest and smallest matrix element in the high-dimensional matrix.

[0012] Furthermore, the random shape unit is a binary shape; wherein, in the binary shape, matrix elements greater than the preset specific value are taken as 1, and matrix elements less than the preset specific value are taken as 0, and 0 and 1 in the binary shape represent air and medium, respectively.

[0013] Further, generating the initial matrix includes randomly generating the initial matrix having geometric symmetry; correspondingly, generating the random shape unit in the spectral chip includes generating the random shape unit having the geometric symmetry; wherein the geometric symmetry includes one or more combinations of central inversion symmetry, double rotational symmetry, quadruple rotational symmetry, mirror symmetry about the X-axis, and mirror symmetry about the Y-axis.

[0014] Secondly, the present invention also provides a device for generating random shape units in a spectral chip, comprising: a matrix generation and processing module for generating an initial matrix and performing an inverse Fourier transform on the initial matrix to obtain a level set function corresponding to the initial matrix; and a random shape unit generation module for generating the random shape units in the spectral chip based on the level set function.

[0015] Thirdly, the present invention also provides a spectral chip based on the method for generating random shape units in a spectral chip according to any one of the above claims, comprising: an optical modulation layer, a CIS wafer, and a signal processing circuit; the optical modulation layer comprises a plurality of optical modulation units, each optical modulation unit being composed of a plurality of micro-nano structure arrays, the micro-nano structure arrays being two-dimensional gratings composed of the random shape units; each of the micro-nano structure arrays corresponds to one or more pixels on the CIS wafer; the CIS wafer is used to detect the intensity of an optical signal obtained by modulating incident light by the plurality of micro-nano structure arrays, and convert the optical signal intensity into an electrical signal; the signal processing circuit is used to process the electrical signal detected and converted by the CIS wafer to obtain an image containing the spectral information of the incident light.

[0016] Fourthly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method for generating random shape units in a spectral chip as described in any of the preceding claims.

[0017] Fifthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for generating random shape units in a spectral chip as described in any of the preceding claims.

[0018] In a sixth aspect, the present invention also provides a computer program product, comprising a computer program that, when executed by a processor, implements the steps of the method for generating random shape units in a spectral chip as described in any of the preceding claims.

[0019] This invention provides a method for generating random shape units in a spectral chip. By performing an inverse Fourier transform on the generated initial matrix to obtain the corresponding level set function, and then generating random shape units in the spectral chip based on this level set function, the method ensures that each micro / nano structure array is composed of these generated random shape units. Therefore, for an optical modulation layer comprising multiple micro / nano structure arrays, this method incorporates various random shape units, giving the optical modulation layer rich spectral modulation characteristics for incident light. This helps overcome limitations in spectral recovery accuracy, enabling high-precision measurement of the incident light spectrum, effectively improving spectral recovery accuracy, and reducing the size and cost of the spectral device. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 One of the schematic diagrams of the structure of a spectral chip provided by the prior art;

[0022] Figure 2 This is a flowchart illustrating the method for generating random shape units in a spectral chip provided by the present invention.

[0023] Figure 3 A second schematic diagram of the structure of a spectral chip provided by existing technology;

[0024] Figure 4 One of the schematic diagrams illustrating the generation method of random shape units in a spectral chip provided for the invention;

[0025] Figure 5 This is the second schematic diagram illustrating the method for generating random shape units in the spectral chip provided by the present invention.

[0026] Figure 6 The third schematic diagram illustrating the method for generating random shape units in the spectral chip provided by the present invention;

[0027] Figure 7 The fourth schematic diagram illustrating the generation method of random shape units in the spectral chip provided by the present invention;

[0028] Figure 8 Fifth schematic diagram illustrating the generation method of random shape units in the spectral chip provided by the present invention;

[0029] Figure 9 This is the sixth schematic diagram illustrating the method for generating random shape units in the spectral chip provided by the present invention.

[0030] Figure 10 This is a schematic diagram of the structure of the random shape unit generation device in the spectral chip provided by the present invention;

[0031] Figure 11 A cross-sectional view of the spectral chip provided by the present invention;

[0032] Figure 12 This is a schematic diagram of the structure of the electronic device provided by the present invention.

[0033] Figure label:

[0034] 1: Optical modulation layer; 2: Photodetector layer; 3: Signal processing circuit; 4: Modulation unit; 5: Micro-nano aperture; 6: Detector unit; 7: Optical modulation layer; 8: CIS wafer; 9: Signal processing circuit; 10: Random shape unit. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0036] Figure 2 A schematic flowchart illustrating the method for generating random shape units in a spectral chip provided by this invention is shown. Figure 2 As shown, the method includes:

[0037] S201 generates an initial matrix and performs an inverse Fourier transform on the initial matrix to obtain the level set function corresponding to the initial matrix.

[0038] Understandably, generating the initial matrix can be achieved using MATLAB software. MATLAB, short for Matrix Laboratory, is a high-level programming language and environment used for numerical computation, algorithm development, data analysis, and visualization. During the use of MATLAB, the size of the generated initial matrix can be adjusted and controlled according to actual needs.

[0039] It should be noted that the initial matrix generated in this step can be a random matrix or a matrix with special properties, including symmetry. For example, if the initial matrix is ​​random, it can be generated using the rand, randi, or randn functions; if the initial matrix has central symmetry, the matrix elements in the initial matrix are set to satisfy the characteristics of central symmetry when generating the initial matrix.

[0040] It should also be noted that the generated initial matrix can be either a low-dimensional or high-dimensional matrix. Compared to a high-dimensional matrix, a low-dimensional matrix generates random shape units with fewer features, and the edges of these random shape units are smoother. In other words, the features of the random shape units generated by a low-dimensional matrix are simpler, and the edges are smoother.

[0041] That is, the elements in the initial matrix can be randomly selected within a preset range, or the values ​​of the relevant matrix elements can be fixed to take into account special properties. In a specific embodiment, the generated initial matrix is ​​a randomly generated random matrix, and each element in the random matrix is ​​randomly selected within the range [-1, 1].

[0042] It should also be noted that the initial matrix generated here should be consistent with the size of the random shape unit generated in step S202 below. Generally speaking, the generated initial matrix is ​​a low-dimensional matrix, and its size is often smaller than the size of the generated random shape unit. In this case, the initial matrix can be expanded to the same size as the random shape unit.

[0043] After generating an initial matrix using MATLAB software, an inverse Fourier transform is performed on the initial matrix to obtain the level set function corresponding to the initial matrix. The Fourier transform can represent a function satisfying certain conditions as a linear combination of trigonometric functions or their integrals, while the inverse Fourier transform is the inverse process of the Fourier transform.

[0044] It should be noted that the level set function obtained here is also a matrix, and the size of this matrix is ​​the same as the size of the initial matrix.

[0045] It should also be noted that the smaller the size of the generated initial matrix, the simpler the random shape displayed by the final random shape unit, and the smoother the edges.

[0046] S202 generates random shape units in the spectral chip based on the level set function.

[0047] Based on the level set function obtained in step S201 corresponding to the initial matrix, random shape units in the spectral chip can be generated using the obtained level set function. Specifically, the level set function is a matrix with the same size as the initial matrix. This level set function can be represented as a three-dimensional surface using MATLAB software. Then, by slicing the three-dimensional surface, the desired random shape units can be obtained.

[0048] It should be noted that the generated random shape units are suitable for spectral chips, specifically... Figure 3 This is a second schematic diagram of the structure of a spectral chip provided by the prior art.

[0049] like Figure 3 As shown, the spectral chip includes: an optical modulation layer 7, a CIS wafer 8, and a signal processing circuit 9. The optical modulation layer 7 includes multiple optical modulation units, each of which consists of multiple micro-nano structure arrays. Each micro-nano structure array is a two-dimensional grating composed of randomly shaped units, and each micro-nano structure array corresponds to one or more pixels on the CIS wafer 8.

[0050] In the process of spectral reconstruction using a spectral chip, the optical modulation layer 7 is used to modulate the incident light. The micro-nano structure array included therein has different modulation effects on different wavelength components of the incident light, and the modulation effects of different groups of micro-nano structure arrays on the incident light are also different. The CIS wafer 8 is used to detect the intensity of the optical signal obtained by the modulation of the incident light by multiple groups of micro-nano structure arrays, and converts the detected optical signal intensity into an electrical signal. The signal processing circuit 9 is used to process the electrical signal detected and converted by the CIS wafer 8, thereby obtaining an image containing the incident light spectrum information.

[0051] It should be noted that the shape of the random shape unit is random, and its size can be set according to actual needs or preferences. The arrays of micro-nano structures in the light modulation layer 7 are obtained by arranging the random shape units according to a certain rule.

[0052] In this embodiment, the corresponding level set function is obtained by performing an inverse Fourier transform on the generated initial matrix, and random shape units in the spectral chip are generated based on the level set function. Since each group of micro / nano structure arrays is composed of generated random shape units, the light modulation layer 7, which includes multiple groups of micro / nano structure arrays, contains various random shape units generated by this method. This gives the light modulation layer 7 rich spectral modulation characteristics for incident light, which helps to overcome the limitations of spectral recovery accuracy, achieve high-precision measurement of the incident light spectrum, effectively improve the accuracy of spectral recovery, and also reduce the size and cost of the spectral device.

[0053] Based on the above embodiment, in step S101, an initial matrix is ​​generated, and then the method further includes: padding the generated initial matrix with zeros to obtain the corresponding high-dimensional matrix; accordingly, an inverse Fourier transform is performed on the initial matrix to obtain the corresponding level set function, including: performing an inverse Fourier transform on the high-dimensional matrix to obtain the corresponding level set function.

[0054] Understandably, the initial matrix generated is usually a low-dimensional matrix. Here, low-dimensional means that the number of rows and columns of the initial matrix is ​​small, and the value of the number of rows and columns is generally in the range of 2-10. In this case, the random shape unit to be generated is often larger than the size of the initial matrix. In order to keep the size of the initial matrix and the random shape unit consistent, the generated initial matrix needs to be expanded until it is expanded to the size of the random shape unit to be generated.

[0055] It should be noted that the generated initial matrix can be expanded, specifically by padding with zeros or random values. In one specific embodiment, the generated initial matrix is ​​padded with zeros to obtain a high-dimensional matrix of the same size as the desired random shape unit.

[0056] Accordingly, an inverse Fourier transform is performed on the initial matrix to obtain the corresponding level set function. That is, an inverse Fourier transform is performed on the expanded initial matrix, i.e., the high-dimensional matrix, to obtain the corresponding level set function.

[0057] It should also be noted that the size of the expanded high-dimensional matrix is ​​N*N, and the value of N is generally in the range of tens to hundreds. The larger N is, the smoother the random shape displayed by the final random shape unit.

[0058] In one specific embodiment, the randomly generated initial matrix is ​​5*5 in size, and the high-dimensional matrix obtained after padding the initial matrix with zeros is 15*15 in size.

[0059] In this embodiment, a corresponding high-dimensional matrix is ​​obtained by padding the generated initial matrix with zeros, so that the size of the high-dimensional matrix is ​​consistent with the size of the generated random shape unit. The obtained high-dimensional matrix is ​​then subjected to an inverse Fourier transform to obtain the corresponding level set function, thereby further generating random shape units. By adjusting the size of the generated initial matrix, random shape units with complex or simple features can be obtained.

[0060] Based on the above embodiments, further, based on the level set function, random shape units in the spectral chip are generated, including: representing the level set function through a three-dimensional surface; and slicing the three-dimensional surface to obtain random shape units.

[0061] Understandably, random shape units in a spectral chip are generated based on the level set function. Specifically, the level set function is a matrix of the same size as the high-dimensional matrix, which can be represented by a three-dimensional surface. By slicing the three-dimensional surface, a binary shape can be obtained, which is the random shape unit that is desired.

[0062] The level set function is represented as a three-dimensional surface. Specifically, the points on the three-dimensional surface are all matrix elements in a high-dimensional matrix. There is a one-to-one correspondence between the points on the three-dimensional surface and the matrix elements in the high-dimensional matrix. Furthermore, the Z-axis coordinate of the points on the three-dimensional surface is the value of the matrix element in the high-dimensional matrix, while the X-axis and Y-axis coordinates of the points on the three-dimensional surface are the row number and column number and row and column number of the high-dimensional matrix.

[0063] The three-dimensional surface of the level set function is sliced. Specifically, the target slicing plane is first determined according to a preset specific value. After the target slicing plane is selected, the three-dimensional surface is sliced ​​according to the target slicing plane. During the slicing process, the matrix elements in the three-dimensional surface that are greater than the preset specific value are set to 1, and the matrix elements that are less than the preset specific value are set to 0, so as to obtain the corresponding binary shape, that is, random shape unit.

[0064] Of course, during the slicing process, matrix elements in the 3D surface that are less than a preset specific value can be set to 1, and matrix elements that are greater than a preset specific value can be set to 0. The specific settings can be made according to the actual situation or preferences, and no specific limitations are made here.

[0065] The preset specific value can be a matrix element in a high-dimensional matrix, or any value between the largest and smallest matrix elements in the high-dimensional matrix. The matrix elements can be random values ​​within a specific range, or specific values. For example, in a specific embodiment, Figure 4 One of the schematic diagrams shows a method for generating random shape units in a spectral chip provided by the present invention.

[0066] like Figure 4 As shown, it illustrates random shape units obtained by slicing the three-dimensional surface of the horizontal set function using matrix elements with values ​​of -0.2, 0, and 0.2 in the high-dimensional matrix as preset specific values ​​and using the plane containing the matrix elements of -0.2, 0, and 0.2.

[0067] It should be noted that the obtained random shape unit is also an N*N matrix. The random shape unit is a binary shape; in the binary shape, matrix elements greater than a preset specific value are taken as 1, and matrix elements less than the preset specific value are taken as 0, and 0 and 1 in the binary shape represent air and medium, respectively.

[0068] It should also be noted that representing the level set function as a three-dimensional surface, as well as slicing the three-dimensional surface, can both be achieved using MATLAB software.

[0069] Figure 5 The second schematic diagram illustrates the generation method of random shape units in the spectral chip provided by the present invention.

[0070] like Figure 5As shown, a low-dimensional matrix of size 5*5 is first randomly generated, which is the initial matrix; then, the initial matrix is ​​padded with zeros to obtain a high-dimensional matrix; then, the high-dimensional matrix is ​​subjected to an inverse Fourier transform to obtain the corresponding level set function; finally, the level set function is represented as a three-dimensional surface, with 0 as a preset specific value, and the plane where the matrix elements are 0 is determined as the target slicing plane. Points with Z-axis coordinate values ​​greater than 0 in the three-dimensional surface are set to 1, and points with Z-axis coordinate values ​​less than 0 in the three-dimensional surface are set to 0. The regions with values ​​of 0 and 1 represent air and medium, respectively, thus obtaining random shape units.

[0071] As mentioned above, the smaller the initial matrix, the simpler the features of the generated random shape units and the smoother the edges. Figure 6 The third schematic diagram illustrates the generation method of random shape units in the spectral chip provided by the present invention.

[0072] like Figure 6 As shown, a low-dimensional matrix of size 3*3 is first randomly generated, which is the initial matrix; then, the initial matrix is ​​padded with zeros to obtain a high-dimensional matrix; then, the high-dimensional matrix is ​​subjected to an inverse Fourier transform to obtain the corresponding level set function; finally, the level set function is represented as a three-dimensional surface, still with 0 as a preset specific value, and the plane where the matrix element has a value of 0 is taken as the target slicing plane, and the three-dimensional surface is sliced ​​to obtain the corresponding random shape unit.

[0073] Compare Figure 5 and Figure 6 The generated binary shape, obviously, is due to Figure 5 The size of the randomly generated initial matrix is ​​greater than Figure 6 The size of the randomly generated initial matrix, therefore, compared to Figure 5 The binary shape generated in the middle, Figure 6 The binary shapes generated in this way have simpler features and smoother edges.

[0074] In this embodiment, a target slicing plane is determined based on a three-dimensional surface with a level set function according to different preset specific values, and the three-dimensional surface is sliced ​​according to the target slicing plane to obtain different random shape units with complex or simple features. The two-dimensional grating structure (micro-nano structure array) based on the random shape unit has rich spectral modulation characteristics for incident light, which helps to overcome the limitation of spectral recovery accuracy and realize high-precision measurement of the incident light spectrum.

[0075] Based on the above embodiments, further, generating an initial matrix includes randomly generating an initial matrix with geometric symmetry; correspondingly, generating random shape units in the spectral chip includes generating random shape units with geometric symmetry; wherein, the geometric symmetry includes one or more combinations of central inversion symmetry, double rotational symmetry, four-fold rotational symmetry, mirror symmetry about the X-axis, and mirror symmetry about the Y-axis.

[0076] It is understandable that an initial matrix is ​​generated. Specifically, a symmetry constraint can be imposed on the randomly generated initial matrix, that is, an initial matrix with geometric symmetry is randomly generated. Then, zero-padding is performed on the initial matrix, and an inverse Fourier transform is performed on the zero-padding high-dimensional matrix to obtain the corresponding level set function. The three-dimensional surface of the level set function is then sliced ​​to obtain the corresponding random shape unit.

[0077] It should be noted that the generated initial matrix has geometric symmetry, and the random shape units generated based on the geometrically symmetric initial matrix also have corresponding geometric symmetry.

[0078] To ensure that the generated initial matrix possesses the corresponding geometric symmetry, it is only necessary to configure the matrix elements during the generation process using MATLAB software, ensuring that the matrix elements satisfy the corresponding geometric symmetry.

[0079] It should also be noted that the geometric symmetry in this embodiment includes, but is not limited to, central inversion symmetry, double rotational symmetry, four-fold rotational symmetry, mirror symmetry about the X-axis, and mirror symmetry about the Y-axis. The initial matrix possessing geometric symmetry may have one or more of the aforementioned symmetry terms, and no specific limitation is made here.

[0080] Figure 7 The fourth illustration shows a method for generating random shape units in a spectral chip provided by the present invention.

[0081] like Figure 7 As shown, by imposing a fourfold rotational symmetry constraint on a randomly generated initial matrix of size 5*5, the randomly generated initial matrix is ​​made to have fourfold rotational symmetry. Thus, the random shape units generated based on this initial matrix also have fourfold rotational symmetry.

[0082] Figure 8 The fifth illustration shows a method for generating random shape units in a spectral chip provided by the present invention.

[0083] like Figure 8As shown, by imposing a fourfold rotational symmetry constraint on a randomly generated initial matrix of size 7*7, the randomly generated initial matrix is ​​made to have fourfold rotational symmetry. Thus, the random shape units generated based on this initial matrix also have fourfold rotational symmetry.

[0084] according to Figure 7 and Figure 8 It can also be seen that, due to Figure 7 and Figure 8 The difference in the size of the initial matrix compared to Figure 7 The random shape units in Figure 8 The features of the random shape units generated in the process are more complex, and the edges of the shapes are also coarser.

[0085] In this embodiment, by applying different symmetry constraints to the initial matrix, the generated random shape unit also has the corresponding symmetry. For example, by applying four-fold rotational symmetry to the initial matrix, the generated random shape unit also has four-fold rotational symmetry, and the random shape unit is not sensitive to the polarization characteristics of the incident light.

[0086] In another embodiment, the period of the micro-nano structure array in the light modulation layer 1 of the spectral chip is 300nm, that is, the length and width of the micro-nano structure array are both 300nm. The random shape unit in the spectral chip provided by any of the above embodiments is used to generate random shape units, thereby obtaining a micro-nano structure array composed of random shape units.

[0087] Specifically, Figure 9 The sixth illustration shows a method for generating random shape units in a spectral chip provided by the present invention.

[0088] like Figure 9 As shown, the initial generated matrix is ​​7*7 in size, with matrix elements randomly selected within the range [-1, 1]. After zero-padding the initial matrix, the resulting high-dimensional matrix is ​​301*301 in size. Further, an inverse Fourier transform is performed on this high-dimensional matrix to obtain the corresponding level set function. Finally, the three-dimensional surface of the level set function is sliced, specifically using the plane containing the zero values ​​as the target slicing plane, to obtain the corresponding random shape units. Figure 9 It can be seen that the features of the final random shape unit are quite complex.

[0089] Figure 10 A schematic diagram of the structure of the device for generating random shape units in the spectral chip provided by the present invention is shown. Figure 10As shown, the device includes: a matrix generation and processing module 1010, used to generate an initial matrix and perform an inverse Fourier transform on the initial matrix to obtain the level set function corresponding to the initial matrix; and a random shape unit generation module 1020, used to generate random shape units in the spectral chip based on the level set function.

[0090] In this embodiment, an initial matrix is ​​generated by the matrix generation and processing module 1010 and subjected to an inverse Fourier transform to obtain the corresponding level set function. Based on this level set function, the random shape unit generation module 1020 generates random shape units in the spectral chip. Since each group of micro / nano structure arrays is composed of generated random shape units, the light modulation layer 7, which includes multiple groups of micro / nano structure arrays, contains various different random shape units. This gives the light modulation layer 7 rich spectral modulation characteristics for incident light, which helps to overcome the limitations of spectral recovery accuracy, achieve high-precision measurement of the incident light spectrum, and effectively improve the accuracy of spectral recovery.

[0091] The device for generating random shape units in a spectral chip provided by the present invention can be referred to in correspondence with the method for generating random shape units in a spectral chip described above, and will not be repeated here.

[0092] In one embodiment, the present invention also provides a spectral chip, wherein multiple micro-nano structure arrays in the spectral chip are composed of random shape units generated by the above embodiments.

[0093] Specifically, see Figure 3 The spectral chip includes: an optical modulation layer 7, a CIS wafer 8, and a signal processing circuit 9. The optical modulation layer 7 includes multiple optical modulation units, each of which consists of multiple micro-nano structure arrays. Each micro-nano structure array is a two-dimensional grating composed of randomly shaped units, and each micro-nano structure array corresponds to one or more pixels on the CIS wafer 8.

[0094] In the process of spectral reconstruction using a spectral chip, the optical modulation layer 7 is used to modulate the incident light. The micro-nano structure array included therein has different modulation effects on different wavelength components of the incident light, and the modulation effects of different groups of micro-nano structure arrays on the incident light are also different. The CIS wafer 8 is used to detect the intensity of the optical signal obtained by the modulation of the incident light by multiple groups of micro-nano structure arrays, and converts the detected optical signal intensity into an electrical signal. The signal processing circuit 9 is used to process the electrical signal detected and converted by the CIS wafer 8, thereby obtaining an image containing the incident light spectrum information.

[0095] It should be noted that the arrays of micro-nano structures in the optical modulation layer 7 are obtained by arranging random shape units according to a certain pattern.

[0096] It should also be noted that the optical modulation layer 7 and the CIS wafer 8 can be manufactured using semiconductor CMOS integration technology, which helps to reduce the distance between the optical modulation layer 7 and the CIS wafer 8, reduce the size of the device, achieve higher spectral resolution, and reduce packaging costs.

[0097] Figure 11 A cross-sectional view of the spectral chip provided by this invention is shown. Figure 11 As shown, each micro-nano structure array in the spectral modulation layer 7 is formed based on a two-dimensional grating structure. By changing the random shape unit 10 of the two-dimensional grating structure, the micro-nano structure array has different modulation effects on the incident light of the target band.

[0098] In this embodiment, based on the method for generating random shape units in the spectral chip provided above, a series of different random shapes with smooth edges can be generated, which is convenient for processing and fabrication. Each group of micro-nano structure arrays in the spectral chip is composed of generated random shape units. Therefore, the light modulation layer 7, which includes multiple groups of micro-nano structure arrays, contains various different random shape units, so that the light modulation layer 7 has rich spectral modulation characteristics for incident light. This helps to overcome the limitation of spectral recovery accuracy, realize high-precision measurement of the incident light spectrum, effectively improve the accuracy of spectral recovery, and also reduce the size and cost of the spectral device.

[0099] Figure 12 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 12 As shown, the electronic device may include a processor 1210, a communication interface 1220, a memory 1230, and a communication bus 1240. The processor 1210, communication interface 1220, and memory 1230 communicate with each other via the communication bus 1240. The processor 1210 can call logic instructions in the memory 1230 to execute a method for generating random shape units in the spectral chip. This method includes: generating an initial matrix, performing an inverse Fourier transform on the initial matrix to obtain a corresponding level set function, and generating the random shape units in the spectral chip based on the level set function.

[0100] Furthermore, the logical instructions in the aforementioned memory 1230 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0101] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the method for generating random shape units in the spectral chip provided by the above methods. The method includes: generating an initial matrix and performing an inverse Fourier transform on the initial matrix to obtain a corresponding level set function; and generating the random shape units in the spectral chip based on the level set function.

[0102] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements a method for generating random shape units in a spectral chip provided by the above methods. The method includes: generating an initial matrix and performing an inverse Fourier transform on the initial matrix to obtain a corresponding level set function; and generating the random shape units in the spectral chip based on the level set function.

[0103] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating random shape cells in a spectral chip, characterized by, The method comprises the following steps: generating an initial matrix and performing inverse Fourier transform on the initial matrix to obtain a level set function corresponding to the initial matrix; the initial matrix is a high-dimensional matrix; based on the level set function, generating the random shape unit in the optical spectrum chip, comprising: representing the level set function by a three-dimensional surface; the points on the three-dimensional surface correspond one by one to the matrix elements in the high-dimensional matrix, and the Z-axis coordinate value of the points on the three-dimensional surface is the matrix element in the high-dimensional matrix; determining a target slice plane based on the three-dimensional surface, specifically comprising: determining the target slice plane according to a preset value; the preset value is the matrix element in the high-dimensional matrix, or is any numerical value between the maximum matrix element and the minimum matrix element in the high-dimensional matrix; according to the target slice plane, performing slice processing on the three-dimensional surface to obtain the random shape unit; wherein the random shape unit is a binary shape, the matrix elements greater than the preset value in the binary shape are taken as 1, and the matrix elements less than the preset value are taken as 0, and 0 and 1 in the binary shape represent air and medium respectively.

2. The method for generating random shape units in a spectral chip according to claim 1, characterized in that, after generating the initial matrix, the method further comprises: performing zero padding operation on the generated initial matrix to obtain a corresponding high-dimensional matrix; correspondingly, the inverse Fourier transform on the initial matrix to obtain the corresponding level set function comprises: performing inverse Fourier transform on the high-dimensional matrix to obtain the level set function.

3. The method for generating random shape units in a spectral chip according to claim 1, characterized in that, the initial matrix is a low-dimensional matrix; wherein, the lower the dimension of the initial matrix, the fewer the number of features of the corresponding generated random shape unit, and the smoother the edge of the random shape unit.

4. The method of claim 1-3, wherein, the generating of the initial matrix comprises randomly generating the initial matrix with geometric symmetry; correspondingly, the generating of the random shape unit in the optical spectrum chip comprises: generating the random shape unit with the geometric symmetry; wherein, the geometric symmetry comprises one or more combinations of center inversion symmetry, double rotation symmetry, four-fold rotation symmetry, mirror symmetry about the X-axis and mirror symmetry about the Y-axis.

5. An apparatus for generating random shaped cells in a spectral chip, characterized by, The method comprises the following steps: a matrix generation and processing module for generating an initial matrix and performing inverse Fourier transform on the initial matrix to obtain a level set function corresponding to the initial matrix; the initial matrix is a high-dimensional matrix; a random shape unit generation module for generating the random shape unit in the optical spectrum chip based on the level set function, comprising: representing the level set function by a three-dimensional surface; the points on the three-dimensional surface correspond one by one to the matrix elements in the high-dimensional matrix, and the Z-axis coordinate value of the points on the three-dimensional surface is the matrix element in the high-dimensional matrix; determining a target slice plane based on the three-dimensional surface, specifically comprising: determining the target slice plane according to a preset value; the preset value is the matrix element in the high-dimensional matrix, or is any numerical value between the maximum matrix element and the minimum matrix element in the high-dimensional matrix; According to the target slice plane, the three-dimensional curved surface is sliced to obtain the random shape unit; wherein the random shape unit is a binary shape, and a matrix element greater than the preset value in the binary shape is 1, and a matrix element less than the preset value is 0, and 0 and 1 in the binary shape represent air and medium respectively.

6. A spectral chip based on the method of generating random shape units in the spectral chip according to any one of claims 1-4, characterized in that, Comprise: A light modulation layer, a CIS wafer and a signal processing circuit; The light modulation layer comprises a plurality of light modulation units, each light modulation unit is composed of a plurality of micro-nano structure arrays, and each micro-nano structure array is a two-dimensional grating composed of a random shape unit; each group of micro-nano structure arrays corresponds to one or more pixel points on the CIS wafer; The CIS wafer is used for detecting the light signal intensity obtained by modulating the incident light by the plurality of micro-nano structure arrays, and converting the light signal intensity into an electrical signal; the signal processing circuit is used for processing the electrical signal detected and converted by the CIS wafer to obtain an image containing the spectral information of the incident light.

7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to realize the steps of the random shape unit generation method in the spectral chip according to any one of claims 1 to 4.

8. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the random shape unit generation method in the spectral chip according to any one of claims 1 to 4.

9. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the random shape unit generation method in the spectral chip according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Image segmentation method and image segmentation device

    CN104103059A

  • Model separation method and device, terminal and computer storage medium

    CN110175984A