An on-chip spectrum detection method and system based on reverse design coding structure

By employing an on-chip spectral detection method that reverse-engineers the coding structure, and by utilizing the reverse-engineering of background spectral modulation and resonance enhancement structures, the complexity and area issues of existing spectral detection devices are resolved, achieving highly efficient spectral detection.

CN123135232APending Publication Date: 2026-11-20NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611499338.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing on-chip spectral detection technologies suffer from problems such as complex coding structures, large device areas, high redundancy of coding channels, large calibration workload, and high similarity of output responses of adjacent wavelengths, making it difficult to achieve miniaturization, low power consumption, and low cost of spectral detection equipment.

Method used

By adopting a reverse-designed coding structure, a non-flat background transmission spectrum and a narrow linewidth resonant response are formed by setting a reverse-designed background spectrum modulation structure, a background resonance enhancement structure and a single high-Q on-chip resonant cavity in the on-chip spectral structure. Combined with response matrix calibration and reconstruction, spectral detection is realized.

Benefits of technology

With fewer optical units and a compact structure, a rich and repeatable encoded spectral response is formed, which improves the integration level and detection reliability of spectral detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123135232A_ABST
    Figure CN123135232A_ABST
Patent Text Reader

Abstract

The present application belongs to the field of integrated photonics and spectral detection technology, and discloses a kind of on-chip spectral detection method and system based on reverse design coding structure.The method calibrates the multi-state response of on-chip coded spectral structure, establishes a response matrix;The input light to be measured is input into the on-chip coded spectral structure, a non-flat background transmission spectrum is formed by reverse design background spectral modulation structure, the response is enhanced by using background resonance enhancement structure, and combined with a single high-Q on-chip resonant cavity to superimpose narrow linewidth resonant response, forming a coded spectral response with wavelength fingerprint characteristics;Collect the output intensity vector under each coding state, and complete the reconstruction of the measured spectrum based on the response matrix.The present application improves the difference of output response corresponding to different wavelength input light through the cooperative modulation of three types of spectral response, reduces the complexity of the structure, forms an information-rich, repeatable calibration coded response, and improves the integration level, reliability and detection accuracy of on-chip spectral detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of integrated photonics and spectral detection technology, specifically to an on-chip spectral detection method and system based on a reverse-designed coding structure. Background Technology

[0002] Spectroscopic detection, by acquiring the intensity distribution of light at different wavelengths, enables the analysis of the composition, concentration, and state of the analyte. It is widely used in gas sensing, environmental monitoring, food safety, biomedical detection, industrial process control, and edge-side intelligent detection. Traditional spectrometers typically employ optical components such as prisms, gratings, interferometers, or tunable filters to achieve spatial dispersion or selective separation of light signals at different wavelengths. Their spectral resolution is usually related to the size of the dispersive element, the optical path length, the slit width, the detector pixel size, and mechanical stability. While these spectrometers possess relatively mature technology, they often suffer from large size, complex optical path structures, and high manufacturing and assembly costs. Furthermore, they are difficult to integrate with other functional devices on a single chip, thus failing to meet the application requirements of miniaturization, low power consumption, low cost, and mass deployment of spectroscopic detection equipment.

[0003] To reduce the size of spectral detection equipment and improve its integration, existing technologies have proposed on-chip computational spectrometers. On-chip computational spectrometers typically pre-calibrate the output response of the spectral encoding structure at different input wavelengths, mapping the spectrum to be measured into a finite-dimensional detection signal, and then recovering the spectrum through matrix inversion, compressed sensing, machine learning, or neural networks. Existing on-chip computational spectrometers often employ filter arrays, multi-microring resonant cavity arrays, random scattering media, multimode interference structures, photonic crystals, or tunable filter structures to generate wavelength-related responses. Among these, filter arrays and multi-microring resonant cavity arrays usually require a large number of encoding units with varying spectral responses to increase the spectral encoding dimensionality; random scattering media and multimode interference structures often require a large chip area and may be affected by fabrication deviations, temperature variations, and material inhomogeneities. Therefore, existing on-chip spectral detection schemes still suffer from problems such as complex encoding structures, large device areas, numerous ports or channels, significant calibration workload, and high similarity of output responses for adjacent wavelengths.

[0004] Therefore, the main technical problem that needs to be solved by existing on-chip spectral detection technology is: how to form a coded spectral response with rich spectral features, high distinguishability between different wavelengths, and stable calibration using a small number of compact on-chip optical units without relying on a large number of independent filters, multi-micro-ring resonant cavity arrays, or large-area random scattering structures. Summary of the Invention

[0005] To address the problems of complex on-chip spectral detection structures, large device areas, and high redundancy in encoding channels in existing systems, this invention first provides an on-chip spectral detection method based on reverse-designed encoding structures. This method is executed through an on-chip encoded spectral structure and includes the following steps: S100. Set the on-chip coded spectral structure to multiple repeatable coded states, obtain the output intensity response corresponding to different coded wavelengths in each coded state within the target working band, and establish a response matrix based on the output intensity response. S200: Input the light to be measured into the on-chip coded spectral structure, and make the on-chip coded spectral structure sequentially enter each of the coding states in S100; S300, for the light to be measured input in S200, a non-flat background transmission spectrum is formed by the reverse-designed background spectrum modulation structure, a resonance enhancement response is formed in the non-flat background transmission spectrum by the background resonance enhancement structure, and a narrow linewidth resonance response is superimposed by the single high-Q on-chip resonant cavity, so that the non-flat background transmission spectrum, resonance enhancement response and narrow linewidth resonance response are coupled in each coding state to form a coding spectral response with wavelength fingerprint characteristics. S400: Collect the coded spectral response corresponding to each coded state in S300 to obtain the output intensity vector corresponding to the light under test; S500: Using the response matrix established in S100, the output intensity vector obtained in S400 is spectrally reconstructed to obtain the spectral detection result of the light to be measured.

[0006] As a further improvement of the present invention, S100 specifically includes the following steps: S110. Input wavelength-tunable calibration light into the on-chip coded spectral structure, and change the input wavelength of the calibration light within the target operating band; S120. For each calibration wavelength in S110, by changing the equivalent refractive index of the single high-Q on-chip resonant cavity or its coupling region, or by changing the input state of the input light, the on-chip coded spectral structure can form multiple repeatable coded states. S130: Collect the output intensity response of each calibration wavelength in each encoding state in S120 respectively; S140. Arrange the output intensity responses collected in S130 according to the correspondence between the calibration wavelength, encoding state and output intensity response, and establish the response matrix.

[0007] As a further improvement of the present invention, the reverse-designed background spectral modulation structure is obtained through the following steps before performing S100: S010. Determine the target working band and manufacturing constraints corresponding to the on-chip coded spectral structure, and determine the target background transmission spectrum according to the target working band, wherein the target background transmission spectrum satisfies the monotonically non-decreasing constraint at discrete sampling wavelengths arranged in increasing order of wavelength, that is, the target background transmittance corresponding to the later sampling wavelength is not lower than the target background transmittance corresponding to the previous sampling wavelength. S020. Based on the target background transmission spectrum determined in S010, establish an electromagnetic simulation model of the on-chip coded spectral structure, and take the material distribution of the candidate background spectral modulation structure as the object to be optimized. S030. Use the electromagnetic simulation model established in S020 to evaluate the candidate background transmission spectrum, establish optimization objectives, and determine the material distribution update direction. S040. Iteratively update the material distribution according to the material distribution update direction determined in S030, process the updated material distribution with manufacturing rules, and generate the layout of the reverse design background spectral modulation structure. The iteration is terminated when at least one of the following conditions is met: the relative change of the optimization objective function is lower than a preset threshold and the preset number of iterations is maintained; each constraint meets a preset tolerance; or the maximum number of iterations is reached.

[0008] As a further improvement of the present invention, S030 specifically includes the following steps: S031. Obtain the candidate background transmittance corresponding to each sampling wavelength in the target working band of the candidate background spectral modulation structure, and compare it with the target background transmittance corresponding to the sampling wavelength in the target background transmittance spectrum to obtain the background spectrum matching result. S032. Determine whether the candidate background transmittance corresponding to adjacent sampling wavelengths decreases according to the increasing order of sampling wavelengths, and apply monotonicity constraints to the local decrease in the candidate background transmittance spectrum during the iterative optimization process. S033. Determine the insertion loss evaluation results based on the spectral response corresponding to the candidate background spectral modulation structure. S034. Determine the evaluation results of manufacturing rules based on the material distribution of candidate background spectral modulation structures; S035, combined with the results obtained from S031 to S034, aims to minimize the optimization objective function J(x) and determine the material distribution update direction corresponding to each material state; Wherein, the material distribution vector x of the candidate background spectral modulation structure, the monotonicity penalty term and optimization objective function They are respectively: ( x ) in, Indicates the total number of adjustable areas; This indicates the adjustable region number. =1, 2, ..., ; Indicates the first The material state of each adjustable area. ∈{0,1}, =1 indicates that the corresponding region retains high refractive index material. =0 indicates that the corresponding area has been etched or filled with low-refractive-index material; Indicates the sampling wavelength sequence number; Represents the material distribution vector In the Each sampling wavelength Candidate background pass rate at the location; Indicates the first Target background transmittance at each sampling wavelength; Indicates a monotonicity penalty term; This represents the insertion loss constraint term; Indicates manufacturing rule constraints; , and These represent the weight coefficients of the corresponding constraint terms. This represents the total number of discrete sampling wavelengths; This represents the upper limit of allowable insertion loss; manufacturing rule constraints are uniformly denoted as... ; , and Instead of fixed physical constants of the device, these are optimization weights determined by the normalization scale and design priority of each objective.

[0009] As a further improvement of the present invention, S040 specifically includes the following steps: S041. Based on the material distribution update direction determined in S030, the material distribution of the candidate background spectral modulation structure is iteratively updated using adjoint optimization, topology optimization, particle swarm optimization, genetic algorithm, Bayesian optimization, or a combination thereof. S042. Perform at least one of the following processing on the material distribution updated iteratively in S041: binarization, morphological filtering, fillet processing, minimum feature size checking, and proximity effect correction, to obtain a structural pattern that satisfies manufacturing constraints. S043. Generate the layout of the reverse-designed background spectral modulation structure based on the structural graphic obtained in S042.

[0010] As a further improvement of the present invention, the formation of the resonance enhancement response in S300 specifically includes the following steps: S310, The light field input through the input end face is transmitted along the input waveguide to the reverse-designed background spectrum modulation structure, so that the input end face, the reverse-designed background spectrum modulation structure and the light propagation path between them form a background resonance enhancement structure; S320, the back propagation component generated by the reverse-designed background spectrum modulation structure returns along the optical propagation path and interferes with the optical field propagating in the forward direction along the input waveguide; S330, through the interference in S320, introduces at least one of phase accumulation, peak-valley undulation and resonance characteristics into the non-flat background transmission spectrum, forming the resonance enhancement response.

[0011] As a further improvement of the present invention, S500 specifically includes the following steps: S510, Obtain the response matrix established in S100 and the output intensity vector obtained in S400; S520. Based on the mapping relationship between the input spectrum and the output intensity response represented by the response matrix, the output intensity vector is solved using matrix inversion, regularized inversion, compressed sensing, neural network, or a combination thereof. S530. Obtain the reconstructed spectrum corresponding to the light to be measured based on the solution results in S520.

[0012] Based on this, the present invention also provides an on-chip spectral detection system based on a reverse-designed coding structure, including a coding spectral module, a measurement channel forming unit, a detection module and a processing module; The encoded spectral module includes an input waveguide, an output waveguide, a reverse-designed background spectral modulation structure, a background resonance enhancement structure formed by the light propagation path between the input end face and the reverse-designed background spectral modulation structure, a single high-Q on-chip resonant cavity, and an output port. The reverse-designed background spectral modulation structure is used to form a non-flat background transmission spectrum within the target operating wavelength band. The background resonance enhancement structure is used to form a resonance enhancement response in the non-flat background transmission spectrum. The single high-Q on-chip resonant cavity is used to superimpose a narrow-linewidth resonance response, so that the non-flat background transmission spectrum, the resonance enhancement response, and the narrow-linewidth resonance response are coupled to form an encoded spectral response with wavelength fingerprint characteristics. The measurement channel forming unit is connected to the encoding spectrum module, and is used to enable the encoding spectrum module to form multiple repeatable encoding states, and to use the output response of the one output port in each encoding state as a measurement channel respectively. The detection module is connected to the output port of the coded spectrum module and is used to collect the output intensity of each measurement channel and convert it into a detection signal. The processing module is connected to the measurement channel forming unit and the detection module respectively, and is used to control the formation of each encoding state, establish a response matrix according to the detection signal corresponding to each measurement channel at different calibration wavelengths, form an output intensity vector according to the detection signal corresponding to the light under test at each measurement channel, and reconstruct the spectrum under test using the response matrix and the output intensity vector.

[0013] As a further improvement of the present invention, the reverse-designed background spectral modulation structure is disposed at the front end, within the coupling region, or near the coupling region of the single high-Q on-chip resonant cavity; the reverse-designed background spectral modulation structure includes a pixelated scattering region, a shallow etched perturbation region, a sidewall perturbation region, a photonic crystal perturbation region, a subwavelength aperture array, a quasi-random scattering region, an asymmetric directional coupler, a reverse-designed reflector, or a combination thereof.

[0014] As a further improvement of the present invention, the background resonance enhancement structure is formed by the input end face, the reverse-designed background spectral modulation structure, and the light propagation path between the two; the reverse-designed background spectral modulation structure is also used to convert part of the forward propagation light field into a reverse propagation component that returns along the light propagation path, so that the reverse propagation component interferes with the forward propagation light field; the single high-Q on-chip resonant cavity is a micro-ring resonant cavity, a racetrack-shaped micro-ring resonant cavity, a micro-disk resonant cavity, a micro-sphere resonant cavity, a spiral ring resonant cavity, or a single-cavity high-Q on-chip resonant structure.

[0015] Compared with existing technologies, this invention sets up an on-chip encoded spectral structure consisting of a reverse-designed background spectral modulation structure, a background resonance enhancement structure, and a single high-Q on-chip resonant cavity. This allows the input light to be sequentially subjected to broadband background modulation, resonance enhancement modulation, and narrow-linewidth resonance modulation within the on-chip structure, thereby forming an encoded spectral response with wavelength fingerprint characteristics. The background spectral modulation structure is optimized through reverse design to form a designable non-flat background transmission spectrum within the target operating wavelength band. Furthermore, the combination of the background resonance enhancement response and the high-Q resonance response enhances the differences in output responses corresponding to different wavelengths of input light. This invention reduces the problems of high structural complexity, large area, and response redundancy found in traditional filter arrays, multi-micro-ring arrays, or random scattering structures. Simultaneously, by calibrating the on-chip encoded spectral structure, a mapping relationship between the input spectrum and the output intensity response is established. Based on the calibrated response matrix, the output intensity vector is reconstructed, enabling the recovery of the measured spectrum using a finite-dimensional detection signal. Therefore, this invention can generate an information-rich, repeatable, and wavelength-discriminative encoded spectral response with fewer optical units and a compact on-chip structure, improving the integration and reliability of on-chip spectral detection. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the present invention, the accompanying drawings used in the embodiments are briefly described below. Obviously, the drawings described below are only some embodiments of the present invention; for those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0017] Figure 1 This is a flowchart of the on-chip spectral detection method in an embodiment of the present invention; Figure 2 This is a schematic diagram of the on-chip coded spectral structure and the background resonance enhancement structure formed between the input end face and the reverse-designed background spectral modulation structure in an embodiment of the present invention; Figure 3 This is the measured total coding spectral response diagram of the on-chip coding spectral structure in an embodiment of the present invention; Figure 4 This is an example diagram of neural network spectral reconstruction based on virtual or synthetic spectra in an embodiment of the present invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the following embodiments are only some embodiments of the present invention, and not all embodiments. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the protection scope of the present invention.

[0019] The following detailed embodiments further illustrate an on-chip spectral detection method and system based on a reverse-designed coding structure. These embodiments are intended to explain the technical concept, implementation process, and the relationship between the various technical features of this invention, and are not intended to limit the scope of protection of this invention.

[0020] The on-chip coded spectral structure employed in this invention includes an input waveguide, an output waveguide, a reverse-designed background spectral modulation structure, a background resonance enhancement structure formed by the optical propagation path between the input end face and the reverse-designed background spectral modulation structure, a single high-Q on-chip resonant cavity, and an output port. Specifically, the reverse-designed background spectral modulation structure is used to generate a non-flat background transmission spectrum within the target operating wavelength band; the background resonance enhancement structure is used to introduce phase accumulation, peak-valley undulations, and resonance characteristics based on the non-flat background transmission spectrum; and the single high-Q on-chip resonant cavity is used to further superimpose a narrow-linewidth resonant response.

[0021] Therefore, after the input light passes through the three types of structures mentioned above, the wide-band background variation, background resonance enhancement features, and local narrow-linewidth resonance features can be coupled and superimposed at the output end to form a coded spectral response with wavelength fingerprint characteristics. The output response corresponding to different input wavelengths differs in intensity, peak and valley positions, local slope, and resonance variations, thus providing a physical coding basis for subsequent response matrix calibration and spectrum reconstruction.

[0022] Example 1 Please see Figures 1 to 4 This embodiment provides an on-chip spectral detection method based on a reverse-designed coding structure. The method first completes the design of a reverse-designed background spectral modulation structure, then uses the prepared on-chip coded spectral structure to perform response calibration, and based on the response calibration results, completes the input of the light to be measured, composite spectral modulation, output intensity acquisition, and reconstruction of the light spectrum to be measured.

[0023] Before performing the spectral response calibration step S100, it is necessary to obtain a reverse-designed background spectral modulation structure capable of forming the target background transmission spectrum. The reverse design process is executed sequentially from S010 to S040.

[0024] S010. Determine the target operating band and manufacturing constraints corresponding to the on-chip coded spectral structure, and determine the target background transmission spectrum based on the target operating band. Wherein, at discrete sampling wavelengths arranged in ascending order of wavelength, the target background transmittance corresponding to the later sampling wavelength is not lower than the target background transmittance corresponding to the previous sampling wavelength.

[0025] Specifically, the target operating band to be covered by the on-chip coded spectral structure is first determined based on the spectral characteristic range of the object under test. The target operating band is used both to limit the wavelength range of subsequent electromagnetic simulations and to determine the distribution range of each calibration wavelength in the response matrix.

[0026] In this embodiment, the target operating wavelength is set to 1500 nm to 1600 nm. After determining the target operating wavelength, this wavelength is divided into multiple sampling wavelengths, which are arranged in ascending order. The sampling wavelengths constitute the wavelength nodes for subsequent background transmittance calculation, monotonicity determination, and target optimization calculation.

[0027] Furthermore, after determining the target operating band, it is also necessary to obtain the manufacturing constraints of the on-chip coded spectral structure. Manufacturing constraints include the device platform, waveguide dimensions, minimum manufacturable linewidth, minimum manufacturable spacing, allowable insertion loss, structural dimensions of a single high-Q on-chip resonator, and coupling conditions. In this embodiment, the target operating band is 1500 nm to 1600 nm, and resonant design is preferably performed near 1550 nm; target loading... The value is 8×10 4Up to 1.6×10 5 ,according to This translates to a design linewidth of approximately 9.7 pm to 19.4 pm at 1550 nm. (The above...) The values ​​and linewidths are design or simulation targets, not measured results; the upper limit of allowable insertion loss. The free spectral range, actual resonant wavelength, and thermal tuning range are determined based on subsequent simulations, process plans, or calibration results.

[0028] This embodiment employs a silicon-on-insulator (SiI) platform, where the SiI wafer comprises a top silicon layer and a buried oxide layer. The top silicon layer has a thickness of 220 nm, and the buried oxide layer has a thickness of 1.5 μm. The input and output waveguides are strip waveguides with a width of 500 nm and a height of 220 nm.

[0029] A single high-Q on-chip resonator employs a microring resonator. The radius of the microring resonator is set to 10 μm to 50 μm, and the coupling gap between the microring resonator and the bus waveguide is set to 100 nm to 300 nm. The pixel size of the reverse-engineered background spectrum modulation structure is set to 50 nm to 100 nm, with a minimum manufacturable linewidth and minimum manufacturable spacing of no less than 50 nm.

[0030] After obtaining the target operating band and manufacturing constraints, the target background transmittance spectrum Ttarget(λ) is further determined. The target background transmittance spectrum is used to describe the target background transmittance that needs to be formed at different sampling wavelength positions when reverse-engineering the background spectral modulation structure.

[0031] In this embodiment, the target background transmittance spectrum is set to a background transmittance spectrum that monotonically does not decrease at discrete sampling wavelengths. Specifically, when arranging the sampling wavelengths in ascending order, adjacent sampling points are allowed to have the same target background transmittance, satisfying the following formula: The above monotonically non-decreasing condition is used to limit the target background transmission spectrum; the candidate background transmission spectrum may temporarily decrease locally during the iterative optimization process, and the monotony penalty term in S032 is used to constrain this local decrease.

[0032] With the above settings, the target background transmission spectrum can provide a broadband background encoding with a defined trend for different input wavelengths. Subsequently, the background resonance enhancement response and the narrow linewidth resonance response generated by the single high-Q on-chip resonant cavity will be further superimposed on this broadband background encoding, thereby forming an encoded spectral response containing multiple spectral variation scales.

[0033] S020. Based on the target background transmission spectrum determined in S010, an electromagnetic simulation model of the on-chip coded spectral structure is established. The electromagnetic simulation model includes an input waveguide, a candidate background spectral modulation structure, a background resonance enhancement structure, a single high-Q on-chip resonant cavity, and an output port. The material distribution of the candidate background spectral modulation structure is taken as the object to be optimized.

[0034] After determining the target background transmission spectrum, an electromagnetic simulation model corresponding to the actual on-chip coded spectral structure is further established. To ensure that the reverse design results can work in conjunction with the background resonance enhancement structure and the single high-Q on-chip resonator, the electromagnetic simulation model does not only include the candidate background spectral modulation structure, but also incorporates the input waveguide, candidate background spectral modulation structure, background resonance enhancement structure, single high-Q on-chip resonator, and output port into the same model.

[0035] The input waveguide is used to transmit the simulated input light to the candidate background spectral modulation structure. The candidate background spectral modulation structure is located at the front end, within, or near the coupling region of the single high-Q on-chip resonant cavity, so that the background spectral modulation result can be incorporated into the subsequent resonance enhancement and high-Q resonance modulation process.

[0036] The background resonance enhancement structure is formed by the input end face, the candidate background spectral modulation structure, and the optical propagation path between them. Preferably, the reverse design region also serves as a back coupling or reflection structure and is arranged at the front end of the bus waveguide near the coupling region of the single high-Q micro-ring. The incident light propagates forward along the bus waveguide from the input end face. After passing through the reverse design region, part of it continues to propagate to the output port, while the other part is converted into a reverse propagation component that returns along the optical propagation path. The reverse propagation component interferes with the forward propagation light field, thereby forming the background resonance enhancement response.

[0037] A single high-Q on-chip resonant cavity is coupled to the input waveguide and / or the output waveguide to superimpose a narrow-linewidth resonant response onto the background spectral modulation and resonance enhancement results. The output port is used to obtain the output optical field and output intensity after being modulated by the above structures.

[0038] Based on the established overall structural model, the design region corresponding to the candidate background spectral modulation structure is divided into multiple adjustable regions. Each adjustable region corresponds to a material state variable, and all material state variables together form the material distribution of the candidate background spectral modulation structure. In the preferred design model of this embodiment, the inverse design region is 8 μm × 1.6 μm, the pixel side length is 80 nm, corresponding to 100 × 20 pixels, with a total of 2000 design variables; the design variables adopt binary material states. , respectively, represent retained silicon and etched or filled with low-refractive-index materials.

[0039] The material distribution vector is represented as: in, The material distribution vector representing the candidate background spectral modulation structure; Indicates the total number of adjustable areas; This indicates the adjustable region number. ; Indicates the first The material state of each adjustable area. ∈{0,1}; =1 indicates that the corresponding region retains high refractive index material. =0 indicates that the corresponding area has been etched or filled with low-refractive-index material.

[0040] Material distribution vector Design variables in Each corresponds to an adjustable region; changing the value of any design variable xᵢ will change the material state of the corresponding region and further affect the candidate background transmittance spectrum, insertion loss, and manufacturing rule evaluation results.

[0041] The material state in different adjustable regions alters the propagation path, scattering direction, local interference relationship, and phase delay of the light field in the candidate background spectral modulation structure. Therefore, by continuously updating the material distribution... It can gradually adjust the candidate background transmission spectrum to make it approach the target background transmission spectrum determined in S010.

[0042] After setting the structural composition and material variables, the electromagnetic simulation method is further selected. This embodiment can use the finite-difference time-domain method, the finite element method, the characteristic module expansion method, or a combination of the above methods.

[0043] When using the finite-difference time-domain method, the electromagnetic simulation region is spatially meshed. An input light source covering the target operating wavelength is set at the input waveguide end, and a power monitor or field monitor is set at the output port. By recording the output optical power at different sampling wavelengths, the spectral response corresponding to the candidate structure is obtained.

[0044] When using the finite element method, material parameters and boundary conditions are set for the input waveguide, candidate background spectrum modulation structure, background resonance enhancement structure, and single high-Q on-chip resonant cavity, respectively. Then, the steady-state optical field distribution corresponding to each sampling wavelength is obtained by solving the electromagnetic field control equation.

[0045] When using the characteristic mode expansion method, the propagation modes in the input waveguide and output waveguide are expanded to calculate the mode coupling, propagation loss and phase change between different structural regions.

[0046] Therefore, the electromagnetic simulation model can output the background transmission spectrum corresponding to the candidate background spectral modulation structure, the resonance enhancement response corresponding to the background resonance enhancement structure, and the total encoded response after the three types of structures work together.

[0047] S030. Based on the electromagnetic simulation model established in S020, calculate the background transmission spectrum corresponding to the candidate background spectral modulation structure, and determine the material distribution update direction of the candidate background spectral modulation structure according to the difference between the background transmission spectrum and the target background transmission spectrum in S010, the monotonicity of the background transmission spectrum, the insertion loss evaluation results and the manufacturing rule evaluation results.

[0048] After establishing the electromagnetic simulation model, the current material distribution x is input into the electromagnetic simulation model to calculate the background transmission spectrum of the candidate background spectral modulation structure in the target operating band. Subsequently, based on the matching degree between the candidate background transmission spectrum and the target background transmission spectrum, the monotonically non-decreasing characteristics at adjacent sampling wavelengths, the insertion loss, and the satisfaction of manufacturing rules, the adjustment direction of the current material distribution is determined.

[0049] S030 specifically includes the following steps.

[0050] S031. Obtain the background transmittance corresponding to each sampling wavelength in the target working band of the candidate background spectral modulation structure, and compare the background transmittance with the target background transmittance of the corresponding sampling wavelength in the target background transmittance spectrum to obtain the background spectrum matching result.

[0051] Specifically, the distribution of materials The corresponding candidate background spectral modulation structure is input into the electromagnetic simulation model established in S020, and the background transmittance corresponding to each sampling wavelength in the target working band is calculated sequentially to obtain the candidate background transmittance spectrum. .

[0052] For the Each sampling wavelength Obtain candidate background transmittance And compare it with the target background transmittance corresponding to the same sampling wavelength in the target background transmittance spectrum. Compare them.

[0053] Subsequently, the transmittance differences corresponding to all sampling wavelengths are summarized to obtain the background spectrum matching results between the candidate background transmittance spectrum and the target background transmittance spectrum.

[0054] When the difference between the two is large, it indicates that the current material distribution cannot form the predetermined background spectral change, and the corresponding material region needs to be adjusted; when the difference between the two gradually decreases, it indicates that the current candidate background spectral modulation structure is approaching the target background spectral modulation requirements.

[0055] At the same time, the background resonance enhancement response can also be calculated based on the same electromagnetic simulation model. and the total encoded response after the three types of structures work together. .in, This represents the background resonance enhancement response corresponding to the material distribution vector x at wavelength λ; Represents the material distribution vector At wavelength The corresponding total encoded response.

[0056] S032. Determine whether the candidate background transmittance corresponding to adjacent sampling wavelengths decreases according to the increasing order of sampling wavelengths, and apply monotonicity constraints to the local decrease in the candidate background transmittance spectrum during the iterative optimization process.

[0057] After obtaining the candidate background transmittance spectrum, the transmittance of the candidate background corresponding to adjacent sampling wavelengths is compared in ascending order of sampling wavelength.

[0058] When the The candidate background transmittance corresponding to the sampling wavelength is not less than that of the first sampling wavelength. When calculating the candidate background transmittance for each sampling wavelength, no monotonicity penalty is applied to the corresponding wavelength range.

[0059] Conversely, when the candidate background transmittance corresponding to the (j+1)th sampling wavelength is lower than that corresponding to the jth sampling wavelength, it indicates that the candidate background transmittance spectrum has locally decreased in the corresponding interval. In this case, the corresponding interval is determined as the segment where the local decrease occurs, and a monotonicity constraint is applied to this local segment.

[0060] The monotonicity penalty term is represented as: in, Indicates material distribution The corresponding monotonicity penalty term; Indicates the first Candidate background transmittance corresponding to each sampling wavelength; Indicates the first Candidate background transmittance corresponding to each sampling wavelength. This represents the total number of discrete sampling wavelengths, and the summation range is... to .

[0061] Therefore, when the candidate background transmittance corresponding to the next sampling wavelength is not lower than the candidate background transmittance corresponding to the previous sampling wavelength, no monotonicity penalty is generated in the corresponding wavelength range; when the candidate background transmittance corresponding to the next sampling wavelength is lower than the candidate background transmittance corresponding to the previous sampling wavelength, a monotonicity penalty is generated in the corresponding wavelength range.

[0062] Furthermore, the greater the local decrease, the larger the monotonicity penalty. Therefore, in the subsequent material distribution update process, the optimization algorithm adjusts the structural regions that cause local decreases, so that the candidate background transmittance spectrum gradually meets the requirement of monotonic non-decreasing at adjacent sampling wavelengths.

[0063] S033. Determine the insertion loss evaluation results based on the spectral response corresponding to the candidate background spectral modulation structure.

[0064] After completing background spectrum matching and monotonicity evaluation, the energy attenuation of candidate background spectrum modulation structures and their combinations within the target operating band is further determined based on the input optical power and output optical power.

[0065] If the candidate background transmission spectrum approximates the target variation trend by reducing the overall output light intensity, it may result in an excessively weak output signal, thereby reducing the signal-to-noise ratio of the detection module. Therefore, insertion loss needs to be included as an independent evaluation factor in the optimization process.

[0066] When the insertion loss of the candidate structure exceeds the upper limit of the allowable insertion loss ILmax determined in S010, an insertion loss constraint is applied to the current material distribution so that subsequent material distribution updates maintain the trend of the target background transmittance spectrum while ensuring that the output end obtains effective optical power that meets the detection requirements.

[0067] This step prevents reverse engineering results from focusing solely on spectral shape while neglecting light energy transmission efficiency, thus preserving the output intensity that meets detection requirements for subsequent response calibration and detection of the light under test.

[0068] S034. Evaluation results of manufacturing rules based on material distribution of candidate background spectral modulation structure.

[0069] After obtaining the insertion loss evaluation results, the candidate material distribution is further checked for manufacturing rules based on the pixel size, minimum manufacturable linewidth and minimum manufacturable spacing determined in S010.

[0070] Manufacturing rule checks include determining whether there are high-refractive-index material regions with dimensions smaller than the minimum manufacturable linewidth, low-refractive-index pores that are too small, adjacent structures with spacing smaller than the minimum manufacturable spacing, isolated material regions, narrow connection regions, and sharp edges that are difficult to process stably in the candidate material distribution.

[0071] When the aforementioned structural features exist in the candidate material distribution, manufacturing rules are applied to the corresponding regions. Thus, while the spectral properties of the material distribution continuously improve, it can also gradually transform into a structural form permissible under actual processing conditions.

[0072] S035. Combine the background spectrum matching results in S031, the monotonicity constraints in S032, the insertion loss evaluation results in S033, and the manufacturing rule evaluation results in S034 to establish an optimization objective for evaluating candidate background spectrum modulation structures.

[0073] After completing each independent evaluation, the background spectrum matching results, monotonicity constraints, insertion loss evaluation results, and manufacturing rule evaluation results are combined into a unified optimization objective function.

[0074] The objective function is expressed as: ( x ) in, Represents the material distribution vector The corresponding optimization objective function; Indicates the sampling wavelength sequence number; Indicates the first Each sampling wavelength; Represents the material distribution vector In the Candidate background transmittance at each sampling wavelength; Indicates the first Target background transmittance at each sampling wavelength; Indicates a monotonicity penalty term; This represents the insertion loss constraint term; ( x () indicates a manufacturing rule constraint. , and These represent the weight coefficients of the corresponding constraint terms. The summation range of the background spectrum matching term in the objective function represents the total number of discrete sampling wavelengths. to ; Indicates the upper limit of allowable insertion loss; , and The normalization scale and design priority of each objective item are determined accordingly.

[0075] Among them, the background spectrum matching term is used to reduce the difference between the candidate background transmission spectrum and the target background transmission spectrum; the monotonicity penalty term is used to suppress the local decrease in the candidate background transmission spectrum; the insertion loss constraint term is used to maintain the output optical power; and the manufacturing rule constraint term is used to ensure that the final structure can be fabricated through actual processes.

[0076] To minimize the optimization objective function With the goal of adjusting the material state changes in each adjustable region, The impact of each design variable was determined. The corresponding material state update direction is then input into the next stage of the iterative optimization process.

[0077] S040. Based on the material distribution update direction determined in S030, the material distribution of the candidate background spectral modulation structure is iteratively updated, and the updated material distribution is processed by manufacturing rules to generate the layout of the reverse-designed background spectral modulation structure.

[0078] After obtaining the material distribution update direction, the material state of each adjustable region is further adjusted through iterative optimization. After completing the iterative optimization, the material distribution also needs to be binarized and processed according to manufacturing rules to transform the material distribution in the simulation environment into a layout structure that can be actually processed.

[0079] S040 specifically includes the following steps.

[0080] S041. Based on the material distribution update direction determined in S030, the material distribution of the candidate background spectral modulation structure is iteratively updated using adjoint optimization, topology optimization, particle swarm optimization, genetic algorithm, Bayesian optimization, or a combination thereof.

[0081] When using adjoint optimization, the material distribution update direction is determined based on the influence of each material state variable on the optimization objective function, and the material state of each adjustable region is adjusted accordingly.

[0082] When using topology optimization, the material state in the design region is taken as the variable to be optimized, and the material state of each adjustable region is iteratively adjusted according to the optimization objective function.

[0083] When using particle swarm optimization, genetic algorithm, or Bayesian optimization, material distribution, structural location, local size, or structural combination can be used as variables to be optimized, and different candidate structures can be evaluated based on the optimization objective function.

[0084] Regardless of the optimization method used, each iteration includes updating the material distribution, updating the electromagnetic simulation model, recalculating the background transmission spectrum, recalculating the monotonicity penalty, recalculating the insertion loss and manufacturing rule evaluation results, and readjusting the material distribution.

[0085] By repeatedly executing the above process, the candidate background transmission spectrum gradually approaches the target background transmission spectrum, satisfying the discrete sampling point monotonically non-decreasing constraint, insertion loss requirement, and manufacturing rule requirement within a preset numerical tolerance. The iteration terminates when at least one of the following conditions is met: the relative change of the optimization objective function is below a preset threshold and remains at a preset iteration count; all constraints satisfy the preset tolerance; or the maximum iteration count is reached.

[0086] S042. Perform at least one of the following processing steps on the material distribution updated iteratively in S041: binarization, morphological filtering, fillet processing, minimum feature size checking, and proximity effect correction, to obtain a structural pattern that satisfies manufacturing constraints.

[0087] After completing the iterative update of the material distribution, the material distribution is binarized to determine each adjustable region as a region of high refractive index material or a region that is etched and filled with low refractive index material.

[0088] After binarization, morphological filtering is further performed to handle isolated material regions, excessively small holes, and narrow connection regions.

[0089] Subsequently, the sharp edges in the structural pattern are rounded to reduce the risk of shape distortion of the sharp structure during exposure and etching.

[0090] Based on this, the dimensions of high-refractive-index material regions, low-refractive-index pores, and adjacent structures are examined. When the corresponding dimensions are less than 50 nm, the relevant regions are merged, deleted, widened, or their spacing is adjusted to ensure that the minimum manufacturable linewidth and minimum manufacturable spacing meet the processing requirements.

[0091] Furthermore, based on the pattern deviations that may occur during electron beam exposure, deep ultraviolet lithography, and etching processes, proximity effect correction is performed on the structural pattern to compensate for the dimensional changes caused by exposure energy diffusion, mutual influence between adjacent patterns, and etch sidewall offset.

[0092] After the manufacturing rules are processed, the processed structural graphic is input into the electromagnetic simulation model again to recalculate the background transmission spectrum, resonance enhancement response, and total encoding response to confirm that the manufacturing rules processing has not destroyed the main spectral modulation features.

[0093] S043. Based on the structural graphic obtained in S042, generate the layout of the background spectral modulation structure in reverse design.

[0094] After completing the manufacturing rule processing and spectral performance verification, the structural pattern that meets the design requirements is converted into a layout file for electron beam exposure or photolithography.

[0095] The reverse-designed background spectral modulation structure can employ pixelated scattering regions, shallow etched perturbation regions, sidewall perturbation regions, photonic crystal perturbation regions, subwavelength aperture arrays, quasi-random scattering regions, asymmetric directional couplers, reverse-designed reflectors, or combinations of the above structures.

[0096] Furthermore, the reverse-designed background spectral modulation structure layout is combined with the input coupling structure, output coupling structure, input waveguide, output waveguide, background resonance enhancement structure, a single high-Q on-chip resonant cavity, and test markers to form the overall layout of the on-chip coded spectral structure.

[0097] This completes the preliminary design process of reverse engineering the background spectral modulation structure. Subsequently, the on-chip coded spectral structure can be fabricated according to the overall layout, and the fabricated structure can be used to perform response calibration and detection of the target spectrum.

[0098] S100. Set the on-chip coding spectral structure to multiple reproducible coding states, obtain the output intensity response of different calibration wavelengths in the target working band under each coding state, and establish a response matrix based on the output intensity response.

[0099] After the on-chip coded spectral structure is fabricated, its spectral response is calibrated. Response calibration is used to determine the correspondence between different calibration wavelengths, different coding states, and output intensities, and to establish a response matrix for subsequent reconstruction of the spectrum to be measured.

[0100] S100 specifically includes the following steps.

[0101] S110. Use wavelength-tunable calibration light to scan the target working band.

[0102] A tunable narrow-linewidth laser is connected to the input of an on-chip coded spectral structure, an external InGaAs photodetector is connected to the output, and a reference channel is set up for acquiring the input optical power. A photodiode integrated with the on-chip coded spectral structure can be used as an alternative to an external InGaAs photodetector.

[0103] Subsequently, the output wavelength of the tunable narrow-linewidth laser is controlled to be changed point by point within the range of 1500nm to 1600nm. Each output wavelength is used as a calibration wavelength and corresponds to the sampling wavelength defined in S010.

[0104] The preferred calibration scan step size is 2 pm. The calibration laser linewidth is significantly smaller than the target resonant linewidth and not greater than the scan step size. After each tuning, data is collected after the laser output stabilizes, and the average value is taken after sampling 20 times for each calibration wavelength. The absolute stabilization time is determined based on the calibration results of the laser used and the test procedure.

[0105] By scanning the target operating band point by point, the output response of the on-chip coded spectral structure at different input wavelengths can be obtained sequentially.

[0106] S120. Based on each calibration wavelength, change the equivalent refractive index of a single high-Q on-chip resonant cavity or coupling region, or change the input state of the input light, to form multiple repeatable coded states.

[0107] After determining the current calibration wavelength, the on-chip coded spectral structure can form multiple coded states through thermal tuning, electro-optic modulation, or input state switching. In a preferred design embodiment, at least two reproducible coded states are formed by a microheater positioned above the microring resonant cavity, and four states corresponding to different heating powers can be used as examples; the actual heating power, state switching time, and stabilization time are determined based on the calibration results of the thermal tuner.

[0108] When using thermal adjustment, the refractive index of the material is changed by altering the temperature of the microring resonant cavity or coupling region, thereby adjusting the microring resonant position and coupling state.

[0109] When using electro-optic modulation, the equivalent refractive index of the corresponding region is changed by applying an electrical signal, thereby altering the resonance or coupling conditions of the on-chip resonant cavity of a single high-Q chip.

[0110] When using the input state switching method, different coded spectral responses can be generated by the same structure by changing the input conditions when the input light enters the on-chip coded spectral structure.

[0111] To ensure that subsequent detection results correspond to the response matrix, each encoded state corresponds to a defined control condition and can be repeatedly generated according to the same control condition.

[0112] S130: Collect the output intensity response of each calibration wavelength under different encoding states.

[0113] For each calibration wavelength, the on-chip coded spectral structure is sequentially set to each coded state formed in S120, and the output optical power corresponding to each coded state is collected by the detection device.

[0114] In one optional implementation, to reduce the impact of laser output power fluctuations on calibration results, the input optical power is simultaneously acquired, and the output optical power is normalized based on the input optical power.

[0115] In one alternative implementation, the same calibration wavelength and the same encoding state are repeatedly sampled, and the average value of the multiple sampling results is used as the corresponding output intensity response.

[0116] S140. Establish a response matrix based on the correspondence between each calibration wavelength, each encoding state, and the corresponding output intensity response.

[0117] After obtaining all calibration data, the output intensity corresponding to the same calibration wavelength in each coding state is arranged in the order of coding state to form the response vector corresponding to that calibration wavelength.

[0118] Subsequently, the multiple response vectors are combined to form a response matrix R according to the order of the calibrated wavelengths. The response matrix R is used to describe the mapping relationship between different input wavelengths and output intensities under different coding states within the target operating band.

[0119] Furthermore, the processing module can also calculate the correlation between the output responses corresponding to different coding states. When the output responses corresponding to two coding states are highly similar, it indicates that there is high redundancy in the spectral coding information they provide. In this case, some highly correlated coding states can be filtered out, and the response matrix can be reconstructed based on the retained low-redundancy coding states. Correlation filtering can be used: for each coding state's response spectral vector within the target working band... and Calculate the absolute Pearson correlation coefficient When the response spectrum vector is not mean-trimmed, normalized cosine similarity can be used as an equivalent implementation. When the correlation index exceeds a preset threshold... At that time, the corresponding highly correlated coding states are filtered out, and the response matrix is ​​reconstructed based on the retained low-redundancy coding states; a preset threshold is used. Determined based on calibration data.

[0120] After the response matrix is ​​established, the on-chip coded spectral structure can enter the photodetector stage.

[0121] S200: Input the light to be measured into the on-chip coded spectral structure, and make the on-chip coded spectral structure sequentially enter each of the coded states in S100.

[0122] First, the light to be tested is coupled to the input waveguide through an end-face coupling structure or a grating coupling structure, so that the light to be tested propagates along the input waveguide to the spectral modulation region formed by the reverse-designed background spectral modulation structure, background resonance enhancement structure and a single high-Q on-chip resonant cavity.

[0123] After the input light to be tested is stabilized, the state of the individual high-Q on-chip resonant cavity, coupling region or input light is adjusted sequentially according to the control conditions and arrangement order corresponding to each encoded state in S120.

[0124] In the detection phase, the order of temperature, electrical signals, input states, and encoding states is consistent with that in the calibration phase. By maintaining these consistent conditions, it can be ensured that the output intensity vector obtained in the detection phase corresponds to the response matrix established in S140.

[0125] S300, based on the light to be measured input in S200, forms a non-flat background transmission spectrum by reverse designing a background spectral modulation structure. A background resonance enhancement structure between the input end face and the reverse-designed background spectral modulation structure introduces a resonance enhancement response into the non-flat background transmission spectrum. A narrow linewidth resonance response is superimposed by a single high-Q on-chip resonant cavity, so that the non-flat background transmission spectrum, resonance enhancement response and narrow linewidth resonance response are coupled in each coding state to form a coding spectral response with wavelength fingerprint characteristics.

[0126] The light to be tested first enters the reverse-designed background spectral modulation structure. Since the propagation constant, scattering path, interference relationship and phase delay of light of different wavelengths are different in the structure, different wavelengths will form different background transmission intensities after passing through the reverse-designed background spectral modulation structure.

[0127] Therefore, by reverse designing the background spectral modulation structure, a non-flat background transmission spectrum that monotonically does not decrease at discrete sampling wavelengths is formed within the target operating band, providing background coding features over a wide band for different input wavelengths.

[0128] After forming a non-flat background transmission spectrum, a background resonance enhancement structure is formed by the input end face, the reverse design of the background spectrum modulation structure, and the light propagation path between the two. The background resonance enhancement process specifically includes the following steps.

[0129] S310, enables the light field input through the input end face to be transmitted along the input waveguide to the reverse-designed background spectrum modulation structure.

[0130] The input end face and the reverse-designed background spectral modulation structure constitute the optical interfaces at both ends of the light propagation path, and the reverse-designed background spectral modulation structure also serves as a back coupling or reflection structure.

[0131] S320, the back propagation component generated by the reverse-designed background spectral modulation structure returns along the optical propagation path and interferes with the optical field propagating in the forward direction along the input waveguide.

[0132] When the forward-propagating light field enters the reverse-design background spectrum modulation structure, part of the light field continues to propagate along the original propagation direction to the output port, while the other part of the light field is converted into a reverse propagation component that returns along the input waveguide.

[0133] The reverse propagation component interferes with the forward propagation light field in the light propagation path between the input end face and the reverse-designed background spectral modulation structure, thereby changing the amplitude and phase relationship of the local light field.

[0134] S330, through interference in S320, introduces at least one of phase accumulation, peak-valley undulation and resonance characteristics into the non-flat background transmission spectrum, forming a resonance enhancement response.

[0135] Because the back-propagating component and the forward-propagating light field have different propagation directions and phase changes, when they interfere, additional peaks and valleys, local resonances and phase accumulation will be formed in the original non-flat background transmission spectrum.

[0136] The resulting resonant enhancement response can increase the difference between the output responses corresponding to adjacent wavelengths and make the encoded spectral response no longer dependent on the overall change in background transmittance.

[0137] After background resonance enhancement is completed, the optical field is further coupled with the single high-Q on-chip resonant cavity. When the input light wavelength satisfies the resonance condition of the single high-Q on-chip resonant cavity, the optical field circulates within the resonant cavity, forming a narrow linewidth resonant response.

[0138] A single high-Q on-chip resonant cavity can be a micro-ring resonant cavity, a racetrack-shaped micro-ring resonant cavity, a micro-disk resonant cavity, a micro-sphere resonant cavity, a spiral ring resonant cavity, or other single-cavity high-Q on-chip resonant structures with equivalent functions.

[0139] Ultimately, the non-flat background transmission spectrum, the resonance enhancement response, and the narrow linewidth resonance response are coupled and superimposed at the output end, forming a coded spectral response with wavelength fingerprint characteristics.

[0140] The encoded spectral response simultaneously includes overall background variations across a wide wavelength range, peak-to-valley variations formed by background resonances, and narrow-linewidth resonance details formed by a single high-Q on-chip resonant cavity. Therefore, different input wavelengths can produce different output intensity responses.

[0141] S400: Collect the coded spectral response corresponding to each coded state in S300 to obtain the output intensity vector corresponding to the light under test.

[0142] When the on-chip coded spectral structure is in each coded state in S200, the output intensity corresponding to each coded state is collected by the detection module.

[0143] The detection module can employ an external InGaAs photodetector or a photodiode integrated with the on-chip coded spectral structure. An external InGaAs photodetector is the preferred option, while an integrated photodiode is an alternative. A reference channel is also included to collect the input optical power and normalize the output intensity. The detector model and noise parameters are determined based on the equipment datasheet or test records.

[0144] In one optional implementation, the output intensity corresponding to each encoded state is subjected to input power normalization, repeated sampling averaging, or noise processing; the detection phase employs the same data processing method as the calibration phase. The input power normalization, repeated sampling averaging, and noise processing remain optional implementations and are not essential steps in the independent claims.

[0145] Subsequently, according to the coding state order used in the response matrix in S140, the output intensities corresponding to each coding state are arranged to form the output intensity vector y corresponding to the light under test.

[0146] The on-chip coded spectral structure in this embodiment has one output port. The output intensities corresponding to different coding states of the output port are used as measurement channels and combined in order of coding states to form an output intensity vector.

[0147] S500: Based on the response matrix established in S100, the output intensity vector obtained in S400 is spectrally reconstructed to obtain the spectral detection result of the light to be measured.

[0148] After obtaining the output intensity vector, the processing module calls the response matrix established in the calibration stage and recovers the spectrum to be measured based on the mapping relationship between the input spectrum and the output intensity represented by the response matrix.

[0149] S500 specifically includes the following steps.

[0150] S510, Obtain the response matrix and output intensity vector.

[0151] The processing module reads the response matrix established in S140. It also receives the output intensity vector formed in S400.

[0152] In one alternative implementation, the output intensity vectors are arranged in the order of the encoding states used by the response matrix to maintain the correspondence between the two encoding states.

[0153] S520. Based on the mapping relationship between the input spectrum and the output intensity represented by the response matrix, the output intensity vector is solved.

[0154] The solution methods include matrix inversion, regularized inversion, compressed sensing, neural networks, or a combination of the above methods.

[0155] When using the matrix inversion method, based on the response matrix With output intensity vector The linear mapping relationship between the input and output spectra is used to directly obtain the spectrum to be measured. When using regularized inversion, regularization constraints are added during matrix solving to reduce the impact of measurement noise, ill-conditioned response matrices, and high correlation between different coding states on the reconstruction results. When using compressed sensing, the sparsity or compressibility of the spectrum to be measured is utilized to recover the spectrum from the finite-dimensional output intensity vector. When using a neural network, training samples are first constructed using known input spectra and corresponding output intensity vectors. Then, the neural network is trained to learn the mapping relationship between the output intensity vector and the input spectrum. After training, the output intensity vector corresponding to the light to be measured is input into the neural network, which outputs the reconstructed spectrum of the light to be measured. Neural networks are mainly used to improve spectral reconstruction under nonlinear errors and noise conditions; they do not constitute a necessary condition for the on-chip coded spectral structure to generate a coded spectral response. Figure 4 The results shown are examples of neural network reconstruction based on virtual or synthetic spectra, not experimental results; single-peak, double-peak, and multi-peak synthetic spectra can be used as training labels. The encoded output vector is obtained by calculating the response matrix using simulation or calibration and then superimposed with noise. As network input, to reconstruct the spectrum As network outputs, evaluation metrics include normalized root mean square error, spectral correlation coefficient, peak position error, and minimum resolvable interval in bimodal scenarios.

[0156] S530. Obtain the reconstructed spectrum corresponding to the light to be measured based on the solution results in S520.

[0157] The solution results obtained in S520 are arranged in order of wavelength within the target working band to obtain the spectral intensity of the light under test at each wavelength position. Subsequently, the different wavelengths and their corresponding spectral intensities are combined to form the reconstructed spectrum of the light under test, and this reconstructed spectrum is output as the final spectral detection result.

[0158] Example 2 This embodiment provides an on-chip coded spectral structure and its fabrication method. Based on the overall GDS layout generated in S043 of Embodiment 1, the following steps are performed sequentially: substrate preparation, layout exposure, pattern transfer, upper cladding deposition, dicing, coupling region processing, packaging, and testing, to obtain the on-chip coded spectral structure for performing S100 to S500.

[0159] First, an SOI wafer with a top silicon thickness of 220 nm and a buried oxide layer thickness of 1.5 μm was selected as the device substrate. Then, the SOI wafer was cleaned sequentially with acetone, isopropanol, and deionized water, and dried with nitrogen gas after cleaning.

[0160] To further remove organic residues, moisture, and tiny particles from the wafer surface, oxygen plasma cleaning can be performed on the cleaned SOI wafer.

[0161] After substrate cleaning is completed, photoresist is formed on the SOI wafer surface according to the overall layout generated by S043, and the input coupling structure, output coupling structure, input waveguide, output waveguide, reverse-designed background spectrum modulation structure, background resonance enhancement structure, single high-Q on-chip resonant cavity, and exposure pattern corresponding to test marks are formed by electron beam exposure or deep ultraviolet lithography.

[0162] After exposure, the photoresist is developed to form the top silicon etching mask. Subsequently, reactive ion etching or inductively coupled plasma etching is used to transfer the layout pattern to the top silicon.

[0163] This embodiment employs a 220nm full etching method to form the input waveguide, output waveguide, reverse-designed background spectrum modulation structure, background resonance enhancement structure, and a single high-Q micro-ring resonator in the top silicon layer.

[0164] After pattern transfer is complete, residual photoresist is removed and the chip is cleaned. Subsequently, a silicon dioxide cladding layer is deposited on the chip surface to protect the on-chip optical structures and form a stable optical cladding environment.

[0165] After the upper cladding deposition is completed, the chip is diced, and end face processing or grating coupling region windowing is performed according to the input / output coupling method.

[0166] Furthermore, the input and output terminals of the on-chip encoded spectral structure are connected via a fiber optic array, and the chip is placed on a temperature control stage. The temperature control stage is used to reduce the impact of ambient temperature changes on the microring resonant position and the stability of the encoded spectral response.

[0167] In this embodiment, the width of the input waveguide and the output waveguide is 500 nm; the radius of a single high-Q microring resonator is 10 μm to 50 μm; the coupling gap between the microring resonator and the bus waveguide is 100 nm to 300 nm; the pixel size of the reverse-designed background spectrum modulation structure is 50 nm to 100 nm; and the minimum manufacturable linewidth and the minimum manufacturable spacing are both not less than 50 nm.

[0168] This embodiment provides several alternative structural forms for on-chip encoded spectral structures.

[0169] In one embodiment, the reverse-designed background spectral modulation structure employs pixelated scattering regions. Each pixelated scattering region consists of multiple high-refractive-index material regions and low-refractive-index material regions, with the material state of each region determined based on the reverse-design results in S010 to S040.

[0170] In another implementation, the reverse-engineered background spectral modulation structure employs a shallowly etched perturbation region. By adjusting the position, shape, and distribution of the shallowly etched region, the effective refractive index and phase delay corresponding to different wavelengths of light can be altered.

[0171] Furthermore, the reverse design of the background spectrum modulation structure can also employ sidewall perturbation regions. By altering the local shape of the waveguide sidewalls, differences in the propagation constants and scattering states corresponding to different wavelengths can be created.

[0172] Furthermore, the reverse design of background spectral modulation structures can also employ photonic crystal perturbation regions, subwavelength aperture arrays, or quasi-random scattering regions. By adjusting the spatial distribution of the apertures, periodic perturbation structures, or quasi-random perturbation structures, the propagation paths, scattering intensities, and phase relationships of light fields at different wavelengths can be altered.

[0173] In another implementation, the reverse-designed background spectral modulation structure employs an asymmetric directional coupler. The asymmetric directional coupler utilizes the difference in coupling ratios corresponding to different wavelengths to form a non-flat background transmission spectrum.

[0174] In another implementation, the reverse-designed background spectral modulation structure employs a reverse-designed reflector. The reverse-designed reflector simultaneously generates a non-flat background transmission spectrum and a backpropagation component by utilizing the differences in reflection intensity and phase corresponding to different wavelengths.

[0175] Corresponding to the background modulation structure described above, a single high-Q on-chip resonant cavity can be a racetrack-shaped micro-ring resonant cavity, a micro-disk resonant cavity, a micro-sphere resonant cavity, a spiral ring resonant cavity, or other single-cavity on-chip resonant structures with equivalent narrow linewidth resonance function.

[0176] In addition to the SOI silicon photonics platform, device platforms can also be silicon nitride platforms, lithium niobate platforms, III-V group material platforms, chalcogenide glass platforms, or heterogeneous integration platforms.

[0177] When using different device platforms, the dimensions of the input waveguide, output waveguide, reverse-designed background spectrum modulation structure, and single high-Q on-chip resonant cavity are adjusted accordingly based on the material refractive index, propagation loss, target operating band, and manufacturing process.

[0178] Regardless of the structural form or device platform used, the reverse design of the background spectral modulation structure is obtained through S010 to S040, and the response calibration, the light under test encoding, the output intensity acquisition and spectral reconstruction are completed through S100 to S500.

[0179] Example 3 This embodiment provides an on-chip spectral detection system based on a reverse-designed coding structure. The system includes a coding spectral module, a measurement channel forming unit, a detection module, and a processing module; wherein the coding spectral module employs the on-chip coding spectral structure described in this embodiment to perform composite spectral coding on the input light.

[0180] The coded spectral module includes an input waveguide, an output waveguide, a reverse-designed background spectral modulation structure, a background resonance enhancement structure formed by the light propagation path between the input end face and the reverse-designed background spectral modulation structure, a single high-Q on-chip resonant cavity, and an output port.

[0181] The reverse-designed background spectral modulation structure is used to perform the background spectral modulation process in S300 and form a non-flat background transmission spectrum.

[0182] Based on this, the background resonance enhancement structure is used to perform the resonance enhancement process in S310 to S330, and introduces phase accumulation, peak-valley undulation and resonance characteristics into the non-flat background transmission spectrum.

[0183] Furthermore, a single high-Q on-chip resonant cavity is used to superimpose a narrow-linewidth resonant response onto a non-flat background transmission spectrum and a resonant enhancement response.

[0184] The measurement channel forming unit is connected to the coded spectrum module, enabling the coded spectrum module to form multiple repeatable coded states, and using the output response of the output port corresponding to each coded state as a measurement channel. Thermal tuning, electro-optic modulation, or input state switching can be used as specific implementation methods for forming the multiple coded states.

[0185] The detection module is connected to the output port of the coded spectrum module and is used to convert the output light intensity corresponding to each measurement channel into a detection signal to perform the output intensity acquisition process in S130 and S400.

[0186] The processing module is connected to the measurement channel forming unit and the detection module respectively. It is used to control the formation of each encoding state, form the output intensity vector according to the measurement channel sequence, store or call the response matrix, and reconstruct the spectrum to be measured based on the response matrix and the output intensity vector.

[0187] In calibration mode, the encoding spectral module, detection module, and processing module work together to execute S100 to establish the response matrix corresponding to the target working band.

[0188] After the response matrix is ​​established, the system switches to the detection mode. In the detection mode, the encoding spectral module, the detection module, and the processing module jointly execute steps S200 to S500 to obtain the spectral detection results corresponding to the light under test.

[0189] Using the above methods and systems, the reverse design of the background spectral modulation structure first forms a wide-band non-flat background transmission spectrum, and the background resonance enhancement structure further forms phase accumulation and peak-valley undulations. Finally, a single high-Q on-chip resonant cavity forms narrow-linewidth resonant details.

[0190] Therefore, the three types of spectral responses can form a synergistic composite coded response at the output. Without relying on a large number of independent filters, multi-micro-ring resonator arrays, or large-area random scattering structures, this composite coded response is beneficial for enhancing the response differences between different input wavelengths and providing a calibrable physical coding basis for the reconstruction of the spectrum under test.

Claims

1. An on-chip spectral detection method based on a reverse-designed coding structure, characterized in that, The method is executed via an on-chip encoded spectral structure and includes the following steps: S100. Set the on-chip coded spectral structure to multiple repeatable coded states, obtain the output intensity response corresponding to different coded wavelengths in each coded state within the target working band, and establish a response matrix based on the output intensity response. S200: Input the light to be measured into the on-chip coded spectral structure, and make the on-chip coded spectral structure sequentially enter each of the coding states in S100; S300, for the light to be measured input in S200, a non-flat background transmission spectrum is formed by the reverse-designed background spectrum modulation structure, a resonance enhancement response is formed in the non-flat background transmission spectrum by the background resonance enhancement structure, and a narrow linewidth resonance response is superimposed by the single high-Q on-chip resonant cavity, so that the non-flat background transmission spectrum, resonance enhancement response and narrow linewidth resonance response are coupled in each coding state to form a coding spectral response with wavelength fingerprint characteristics. S400: Collect the coded spectral response corresponding to each coded state in S300 to obtain the output intensity vector corresponding to the light under test; S500: Using the response matrix established in S100, the output intensity vector obtained in S400 is spectrally reconstructed to obtain the spectral detection result of the light to be measured.

2. The on-chip spectral detection method according to claim 1, characterized in that, S100 specifically includes the following steps: S110. Input wavelength-tunable calibration light into the on-chip coded spectral structure, and change the input wavelength of the calibration light within the target operating band; S120. For each calibration wavelength in S110, by changing the equivalent refractive index of the single high-Q on-chip resonant cavity or its coupling region, or by changing the input state of the input light, the on-chip coded spectral structure can form multiple repeatable coded states. S130: Collect the output intensity response of each calibration wavelength in each encoding state in S120 respectively; S140. Arrange the output intensity responses collected in S130 according to the correspondence between the calibration wavelength, encoding state and output intensity response, and establish the response matrix.

3. The on-chip spectral detection method according to claim 1, characterized in that, The reverse-designed background spectral modulation structure is obtained through the following steps before performing S100: S010. Determine the target working band and manufacturing constraints corresponding to the on-chip coded spectral structure, and determine the target background transmission spectrum according to the target working band, wherein the target background transmission spectrum satisfies the monotonically non-decreasing constraint at discrete sampling wavelengths arranged in increasing order of wavelength, that is, the target background transmittance corresponding to the later sampling wavelength is not lower than the target background transmittance corresponding to the previous sampling wavelength. S020. Based on the target background transmission spectrum determined in S010, establish an electromagnetic simulation model of the on-chip coded spectral structure, and take the material distribution of the candidate background spectral modulation structure as the object to be optimized. S030. Use the electromagnetic simulation model established in S020 to evaluate the candidate background transmission spectrum, establish optimization objectives, and determine the material distribution update direction. S040. Iteratively update the material distribution according to the material distribution update direction determined in S030, process the updated material distribution with manufacturing rules, and generate the layout of the reverse design background spectral modulation structure. The iteration is terminated when at least one of the following conditions is met: the relative change of the optimization objective function is lower than a preset threshold and the preset number of iterations is maintained; each constraint meets a preset tolerance; or the maximum number of iterations is reached.

4. The on-chip spectral detection method according to claim 3, characterized in that, S030 specifically includes the following steps: S031. Obtain the candidate background transmittance corresponding to each sampling wavelength in the target working band of the candidate background spectral modulation structure, and compare it with the target background transmittance corresponding to the sampling wavelength in the target background transmittance spectrum to obtain the background spectrum matching result. S032. Determine whether the candidate background transmittance corresponding to adjacent sampling wavelengths decreases according to the increasing order of sampling wavelengths, and apply monotonicity constraints to the local decrease in the candidate background transmittance spectrum during the iterative optimization process. S033. Determine the insertion loss evaluation results based on the spectral response corresponding to the candidate background spectral modulation structure. S034. Determine the evaluation results of manufacturing rules based on the material distribution of candidate background spectral modulation structures; S035, combined with the results obtained from S031 to S034, aims to minimize the optimization objective function J(x) and determine the material distribution update direction corresponding to each material state; Wherein, the material distribution vector of the candidate background spectral modulation structure x Monotonicity penalty item and optimization objective function They are respectively: ( x ) in, Indicates the total number of adjustable areas; This indicates the adjustable region number. =1, 2, ..., ; Indicates the first The material state of each adjustable area. ∈{0,1}, =1 indicates that the corresponding region retains high refractive index material. =0 indicates that the corresponding area has been etched or filled with low-refractive-index material; Indicates the sampling wavelength sequence number; Represents the material distribution vector In the Each sampling wavelength Candidate background pass rate at the location; Indicates the first Target background transmittance at each sampling wavelength; Indicates a monotonicity penalty term; This represents the insertion loss constraint term; Indicates manufacturing rule constraints; , and These represent the weight coefficients of the corresponding constraint terms; This represents the total number of discrete sampling wavelengths; This represents the upper limit of allowable insertion loss; manufacturing rule constraints are uniformly denoted as... ; , and Instead of fixed physical constants of the device, these are optimization weights determined by the normalization scale and design priority of each objective.

5. The on-chip spectral detection method according to claim 3, characterized in that, S040 specifically includes the following steps: S041. Based on the material distribution update direction determined in S030, the material distribution of the candidate background spectral modulation structure is iteratively updated using adjoint optimization, topology optimization, particle swarm optimization, genetic algorithm, Bayesian optimization, or a combination thereof. S042. Perform at least one of the following processing on the material distribution updated iteratively in S041: binarization, morphological filtering, fillet processing, minimum feature size checking, and proximity effect correction, to obtain a structural pattern that satisfies manufacturing constraints. S043. Generate the layout of the reverse-designed background spectral modulation structure based on the structural graphic obtained in S042.

6. The on-chip spectral detection method according to claim 1, characterized in that, The formation of the resonance enhancement response in S300 specifically includes the following steps: S310, The light field input through the input end face is transmitted along the input waveguide to the reverse-designed background spectrum modulation structure, so that the input end face, the reverse-designed background spectrum modulation structure and the light propagation path between them form a background resonance enhancement structure; S320, the back propagation component generated by the reverse-designed background spectrum modulation structure returns along the optical propagation path and interferes with the optical field propagating in the forward direction along the input waveguide; S330, through the interference in S320, introduces at least one of phase accumulation, peak-valley undulation and resonance characteristics into the non-flat background transmission spectrum, forming the resonance enhancement response.

7. The on-chip spectral detection method according to claim 1, characterized in that, The S500 specifically includes the following steps: S510, Obtain the response matrix established in S100 and the output intensity vector obtained in S400; S520. Based on the mapping relationship between the input spectrum and the output intensity response represented by the response matrix, the output intensity vector is solved using matrix inversion, regularized inversion, compressed sensing, neural network, or a combination thereof. S530. Obtain the reconstructed spectrum corresponding to the light to be measured based on the solution results in S520.

8. An on-chip spectral detection system based on a reverse-designed coding structure, characterized in that, It includes an encoded spectrum module, a measurement channel forming unit, a detection module, and a processing module; The encoded spectral module includes an input waveguide, an output waveguide, a reverse-designed background spectral modulation structure, a background resonance enhancement structure formed by the light propagation path between the input end face and the reverse-designed background spectral modulation structure, a single high-Q on-chip resonant cavity, and an output port. The reverse-designed background spectral modulation structure is used to form a non-flat background transmission spectrum within the target operating wavelength band. The background resonance enhancement structure is used to form a resonance enhancement response in the non-flat background transmission spectrum. The single high-Q on-chip resonant cavity is used to superimpose a narrow-linewidth resonance response, so that the non-flat background transmission spectrum, the resonance enhancement response, and the narrow-linewidth resonance response are coupled to form an encoded spectral response with wavelength fingerprint characteristics. The measurement channel forming unit is connected to the encoding spectrum module, and is used to enable the encoding spectrum module to form multiple repeatable encoding states, and to use the output response of the one output port in each encoding state as a measurement channel respectively. The detection module is connected to the output port of the coded spectrum module and is used to collect the output intensity of each measurement channel and convert it into a detection signal. The processing module is connected to the measurement channel forming unit and the detection module respectively, and is used to control the formation of each encoding state, establish a response matrix according to the detection signal corresponding to each measurement channel at different calibration wavelengths, form an output intensity vector according to the detection signal corresponding to the light under test at each measurement channel, and reconstruct the spectrum under test using the response matrix and the output intensity vector.

9. The on-chip spectral detection system according to claim 8, characterized in that, The reverse-designed background spectral modulation structure is disposed at the front end, within, or near the coupling region of the single high-Q on-chip resonant cavity; the reverse-designed background spectral modulation structure includes a pixelated scattering region, a shallow etched perturbation region, a sidewall perturbation region, a photonic crystal perturbation region, a subwavelength aperture array, a quasi-random scattering region, an asymmetric directional coupler, a reverse-designed reflector, or a combination thereof.

10. The on-chip spectral detection system according to claim 8, characterized in that, The background resonance enhancement structure is formed by the input end face, the reverse-designed background spectral modulation structure, and the light propagation path between them; the reverse-designed background spectral modulation structure is also used to convert part of the forward propagation light field into a reverse propagation component that returns along the light propagation path, so that the reverse propagation component interferes with the forward propagation light field; the single high-Q on-chip resonant cavity is a micro-ring resonant cavity, a racetrack-shaped micro-ring resonant cavity, a micro-disk resonant cavity, a micro-sphere resonant cavity, a spiral ring resonant cavity, or a single-cavity high-Q on-chip resonant structure.