Construction method of grating incident parameter inversion model based on BP neural network
By constructing a grating incident parameter inversion model based on BP neural network, the problem that the grating coupler is sensitive to changes in the incident angle is solved, accurate incident angle information is provided, the optical signal coupling efficiency is improved, and the requirements of miniaturized communication equipment are met. Accurate demand.
Patent Information
- Application Number
- CN202010485707.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-06-01
AI Technical Summary
Grating couplers are sensitive to changes in the incident angle of optical signals, resulting in a decrease in coupling efficiency. Existing technology is difficult to accurately provide an alignment reference rotation angle for the optical signal transmitter and receiver, affecting communication quality.
Construct a grating incident parameter inversion model based on BP neural network. By collecting incident parameter data and coupling efficiency data, train and optimize the neural network model, establish a 4-8-3 network topology, and provide accurate incident angle information.
It achieves accurate alignment of optical signals and optical antenna receivers, improves optical signal coupling efficiency, and meets the efficient communication needs of miniaturized communication equipment.
Smart Images

Figure CN111695294B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of grating couplers, and in particular relates to a method for constructing a grating incident parameter inversion model based on a BP neural network. Background Art
[0002] With the continuous advancement of modern information technology, modern communication equipment must not only improve communication quality and efficiency, and develop towards the goal of miniaturization and miniaturization, but also put forward higher requirements on the size of the antenna receiving end in military equipment such as satellite communication, ship communication and radar stealth. Antennas, as front-end components in communication equipment, play a vital role in communication quality. At present, free-space laser communication antennas for small satellites and small lasers generally use telescopes to collect light wave energy.
[0003] With the development of science and technology, people have proposed a new configuration - chip optical antenna, which uses silicon-based grating couplers as signal receivers for optical antennas. Its appearance conforms to the specifications of integrated circuit chips and is interchangeable with telescopes in terms of function. Replacing telescopes with chip antennas means that optical devices and electronic devices are integrated at the chip level. The biggest benefit is that the disadvantages of discrete components are eliminated, the size of the optical antenna is greatly reduced, and the performance of the whole device is improved.
[0004] The grating coupler is very sensitive to changes in the incident angle of the optical signal. A slight change near the optimal incident angle will cause a sharp drop in coupling efficiency. Therefore, if the grating coupler is to be used as a receiving end in an optical antenna, the alignment of the communication optical signal and the receiving end coupler (i.e., the coupling efficiency reaches a peak after the communication light is incident) is particularly important. Therefore, it is particularly important to provide a reference rotation angle for the alignment of the optical signal transmitter and the receiving end coupler, and to establish a grating incident parameter inversion model for studying the grating coupling efficiency and incident parameters. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a method for constructing a grating incident parameter inversion model based on a BP neural network. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0006] The present invention provides a method for constructing a grating incident parameter inversion model based on a BP neural network, comprising:
[0007] S1: Collect several groups of incident parameter data and output coupling efficiency data of grating couplers as training samples;
[0008] S2: Construct the grating incident parameter inversion neural network model structure;
[0009] S3: Training and optimizing the grating incident parameter inversion neural network model according to the training samples to obtain the grating incident parameter inversion model.
[0010] In one embodiment of the present invention, the incident parameters include the incident angle, incident wavelength and incident polarization state of the optical signal; the output coupling efficiency includes the Z forward grating coupling efficiency, the Z reverse grating coupling efficiency and the total grating coupling efficiency.
[0011] In one embodiment of the present invention, the grating incident parameter inversion neural network model structure includes an input layer, a hidden layer and an output layer, wherein the input layer is provided with 4 neurons, the hidden layer is provided with 8 neurons, and the output layer is provided with 3 neurons.
[0012] In one embodiment of the present invention, S3 includes:
[0013] S301: Initializing the weights of the grating incident parameter inversion neural network model;
[0014] S302: Setting the learning times M and error accuracy ε of the grating incident parameter inversion neural network model;
[0015] S303: input the training sample, and calculate the input and output of each layer of the grating incident parameter inversion neural network model;
[0016] S304: Calculating the training error of the grating incident parameter inversion neural network model according to the input and output results;
[0017] S305: Calculate the adjustment value of the weight according to the training error and update the weight;
[0018] S306: repeat steps S303-S305 until the training samples are exhausted and one learning is completed, and then execute step S307;
[0019] S307: Calculate the global error E. When the global error E is greater than the error accuracy ε or the number of learning times is less than the number of learning times M, execute steps S303-S306. When the global error E is less than the error accuracy ε or the number of learning times is greater than or equal to the number of learning times M, obtain the grating incident parameter inversion model.
[0020] In one embodiment of the present invention, the S301 includes:
[0021] The connection weight w between the input layer and the hidden layer in the grating incident parameter inversion neural network model is ih , and the connection weight w between the hidden layer and the output layer ho, assign random values within (-1,1) respectively to complete the initialization.
[0022] In one embodiment of the present invention, in S303,
[0023] The kth group of samples in the training samples is used as the input x of the input layer i (k), then the input transmitted from the input layer to the hidden layer is:
[0024]
[0025] Among them, x i (k) represents the input of the input layer k = 1, 2, ..., n represents the number of neurons in the input layer, b h Represents the threshold of each neuron in the hidden layer;
[0026] After the hidden layer, the output of the hidden layer is:
[0027] ho h (k) = f(hi h (k)) h=1,2,…,
[0028] in, represents the activation function of the hidden layer;
[0029] The input to the output layer is:
[0030]
[0031] Among them, p represents the number of neurons in the hidden layer, b o Represents the threshold of each neuron in the output layer;
[0032] After passing through the output layer, the output of the output layer is:
[0033] yo o (k) = g(yi o (k)) o=1,2,…,
[0034] Among them, g(u)=u represents the activation function of the output layer.
[0035] In one embodiment of the present invention, the S304 includes:
[0036] Calculate the error e between the actual output and the expected output.
[0037]
[0038] Among them, do(k) represents the expected output corresponding to the kth group of samples, and q represents the number of neurons in the output layer;
[0039] According to the error e between the actual output and the expected output, the output layer training error δ is calculated o (k) and hidden layer training error δ h (k)
[0040]
[0041]
[0042] In one embodiment of the present invention, step S305 includes:
[0043] According to the output layer training error δ o (k) and hidden layer training error δ h (k), calculate the adjustment value Δw of the connection weight between the hidden layer and the output layer ho (k) and the adjustment value Δw of the connection weight between the input layer and the hidden layer ih (k)
[0044]
[0045]
[0046] Where μ represents the learning rate of the grating incident parameter inversion neural network model.
[0047] In one embodiment of the present invention, in S307, the global error E is calculated according to the following formula:
[0048]
[0049] Where m represents the number of sample groups in the training sample.
[0050] Compared with the prior art, the present invention has the following beneficial effects:
[0051] The method for constructing a grating incident parameter inversion model based on a BP neural network of the present invention utilizes a BP neural network to construct a grating incident parameter inversion model with a network topology of 4-8-3. The grating incident parameter inversion model has good learning and prediction capabilities, and can provide relatively accurate incident angle information for the alignment of optical signals and optical antenna receivers.
[0052] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a flow chart of a method for constructing a grating incident parameter inversion model based on a BP neural network provided by an embodiment of the present invention;
[0054] Figure 2 is a schematic diagram of grating coupling efficiency along the Z direction provided by an embodiment of the present invention;
[0055] Figure 3 It is a schematic diagram of the correlation of prediction results of a grating incident parameter inversion model provided by an embodiment of the present invention;
[0056] Figure 4 It is a schematic diagram of the correlation between a grating incident parameter inversion model provided by an embodiment of the present invention and the prediction results of a physical grating coupler. DETAILED DESCRIPTION
[0057] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of a method for constructing a grating incident parameter inversion model based on a BP neural network proposed in accordance with the present invention, in combination with the accompanying drawings and specific implementation methods.
[0058] The above and other technical contents, features and effects of the present invention are clearly presented in the following detailed description of the specific implementation modes in conjunction with the accompanying drawings. Through the description of the specific implementation modes, the technical means and effects adopted by the present invention to achieve the predetermined purpose can be more deeply and specifically understood. However, the attached drawings are only for reference and explanation purposes and are not used to limit the technical solutions of the present invention.
[0059] Embodiment 1
[0060] See also Figure 1 , Figure 1 1 is a flow chart of a method for constructing a grating incident parameter inversion model based on a BP neural network provided by an embodiment of the present invention. As shown in the figure, the steps of the method for constructing a grating incident parameter inversion model based on a BP neural network in this embodiment are as follows:
[0061] S1: Collect several groups of incident parameter data and output coupling efficiency data of grating couplers as training samples;
[0062] Since the problem to be solved in this embodiment is to use the established grating incident parameter inversion model to obtain the corresponding grating incident parameters according to the grating coupling efficiency under different incident conditions. When the grating coupler is manufactured, the structural parameters of the grating coupler are certain. Therefore, in this embodiment, the incident parameters include the incident angle, incident wavelength and incident polarization state of the light signal. In this embodiment, the grating coupling efficiency is simplified into the diffraction model of the xoz plane, see Figure 2 , Figure 2It is a schematic diagram of grating coupling efficiency along the Z direction provided by an embodiment of the present invention. As shown in the figure, the output coupling efficiency includes the Z forward grating coupling efficiency, the Z reverse grating coupling efficiency and the total grating coupling efficiency.
[0063] In this embodiment, the training samples are obtained by calculation in the finite time-domain difference method. Specifically, in the calculation process, the structural parameters of the grating are set as follows: grating period T = 650nm, etching depth H = 130nm, duty cycle f = 0.5, width d = 15μm. The polarization state of the optical signal is set to TE and TM, and the incident wavelength is set to 1550nm and 633nm. The incident angle is set to 8°~18°. Please refer to Table 1, which is a training sample of the grating incident parameter inversion model of this embodiment.
[0064] Table 1. Training samples of grating incident parameter inversion model
[0065]
[0066]
[0067] S2: Construct the grating incident parameter inversion neural network model structure;
[0068] Specifically, the grating incident parameter inversion neural network model structure includes an input layer, a hidden layer and an output layer, wherein the input layer is provided with 4 neurons, the hidden layer is provided with 8 neurons, and the output layer is provided with 3 neurons. The variables of the input layer include 4 variables of different incident angles when the polarization states are TE and TM, and the incident wavelengths are 1550nm and 633nm. The number of neurons in the hidden layer is determined by trial and error, and the possible number is 4 to 13. After multiple test fittings, it is calculated that when the number of neurons in the hidden layer is 8, the convergence speed of the model training error is the fastest. The variables of the output layer include three variables: Z forward grating coupling efficiency, Z reverse grating coupling efficiency, and grating total coupling efficiency (grating total coupling efficiency is the sum of Z forward grating coupling efficiency and Z reverse grating coupling efficiency).
[0069] S3: Training and optimizing the grating incident parameter inversion neural network model according to the training samples to obtain the grating incident parameter inversion model.
[0070] Specifically, it includes:
[0071] S301: Initializing the weights of the grating incident parameter inversion neural network model;
[0072] In this embodiment, the weights of the grating incident parameter inversion neural network model include the connection weights w between the input layer and the hidden layer. ih , and the connection weight w between the hidden layer and the output layerho Specifically, the connection weights w between the input layer and the hidden layer in the grating incident parameter inversion neural network model are ih , and the connection weight w between the hidden layer and the output layer ho , assign random values within (-1,1) respectively to complete the initialization.
[0073] S302: Setting the learning times M and error accuracy ε of the grating incident parameter inversion neural network model;
[0074] In this embodiment, the learning times M of the grating incident parameter inversion neural network model are set to 10000 times and the error accuracy ε is set to 10 -5 .
[0075] S303: input the training sample, and calculate the input and output of each layer of the grating incident parameter inversion neural network model;
[0076] In this embodiment, the kth group of samples in the training sample is used as the input x of the input layer. i (k), then the input transmitted from the input layer to the hidden layer is:
[0077]
[0078] Among them, x i (k) represents the input of the input layer k = 1, 2, ..., n represents the number of neurons in the input layer, b h Represents the threshold of each neuron in the hidden layer;
[0079] After the hidden layer, the output of the hidden layer is:
[0080] ho h (k) = f(hi h (k)) h=1,2,…(2),
[0081] in, represents the activation function of the hidden layer;
[0082] The input transmitted to the output layer is:
[0083]
[0084] Among them, p represents the number of neurons in the hidden layer, b o Represents the threshold of each neuron in the output layer;
[0085] After passing through the output layer, the output of the output layer is:
[0086] yo o (k) = g(yi o (k)) o=1,2,…(4),
[0087] Among them, g(u)=u represents the activation function of the output layer.
[0088] S304: Calculating the training error of the grating incident parameter inversion neural network model according to the output result;
[0089] Specifically, it includes:
[0090] Calculate the error e between the actual output and the expected output.
[0091]
[0092] Among them, do(k) represents the expected output corresponding to the kth group of samples, and q represents the number of neurons in the output layer;
[0093] According to the error e between the actual output and the expected output, the output layer training error δ is calculated o (k) and hidden layer training error δ h (k)
[0094]
[0095]
[0096] S305: Calculate the adjustment value of the weight according to the training error and update the weight;
[0097] According to the output layer training error δ o (k) and hidden layer training error δ h (k), calculate the adjustment value Δw of the connection weight between the hidden layer and the output layer ho (k) and the adjustment value Δw of the connection weight between the input layer and the hidden layer ih (k)
[0098]
[0099]
[0100] Where μ represents the learning rate of the grating incident parameter inversion neural network model.
[0101] According to the calculation, the adjustment value Δw of the connection weight between the hidden layer and the output layer is obtained ho (k) and the adjustment value Δw of the connection weight between the input layer and the hidden layer ih (k), Update the weights of the grating incident parameter inversion neural network model.
[0102] S306: repeat steps S303-S305 until the training samples are exhausted and one learning is completed, and then execute step S307;
[0103] S307: Calculate the global error E. When the global error E is greater than the error accuracy ε or the number of learning times is less than the number of learning times M, execute steps S303-S306. When the global error E is less than the error accuracy ε or the number of learning times is greater than or equal to the number of learning times M, obtain the grating incident parameter inversion model.
[0104] In this embodiment, the global error E is calculated according to the following formula:
[0105]
[0106] Where m represents the number of sample groups in the training sample.
[0107] The method for constructing a grating incident parameter inversion model based on a BP neural network in this embodiment uses a BP neural network to construct a grating incident parameter inversion model with a network topology of 4-8-3. The grating incident parameter inversion model has good learning and prediction capabilities, and can provide relatively accurate incident angle information for the alignment of optical signals and optical antenna receivers.
[0108] Embodiment 2
[0109] This embodiment tests the performance of the grating incident parameter inversion model based on the BP neural network constructed in the first embodiment.
[0110] The learning ability of the BP neural network is tested by training samples. In the most ideal case, the output of the training samples is the expected amount of the model. The most ideal situation is impossible and unnecessary in reality, because in this case, the degree of fitting is the highest, but it does not have generalization ability and practical application value, and the mapping of non-training samples is inaccurate or even wrong. Therefore, the learning ability and generalization ability of the BP neural network are relative. This embodiment establishes a grating incident parameter inversion model, which needs to have practical generalization ability while ensuring the high learning ability of the model, so it is necessary to use test samples to evaluate the generalization ability of the model.
[0111] In this embodiment, 12 groups of test samples are brought into the model to verify the generalization adaptability of the grating incident parameter inversion model established according to the method provided in Embodiment 1, and the test samples are obtained by the finite time-domain difference method. Please refer to Table 2, which is the test samples of the grating incident parameter inversion model of this embodiment.
[0112] Table 2. Test samples of grating incident parameter inversion model
[0113]
[0114] In this embodiment, the linear regression method is used to evaluate the prediction ability (generalization ability) of the grating incident parameter inversion model. The test sample is brought into the model to obtain the corresponding output prediction value, and the actual value is compared with the predicted value and normalized to obtain the linear regression fitting line of the grating incident parameter inversion model:
[0115] y=rx+b (11),
[0116] Among them, y represents the predicted value, x represents the actual value, r represents the correlation coefficient, and b represents the constant.
[0117] The correlation coefficient r reflects the correlation between the actual value and the predicted value, that is, the mapping degree of the grating incident parameter inversion model to the test sample. The value range of r is [0,1]. The value of r intuitively indicates the correlation between the actual value and the predicted value. The larger the r, the higher the correlation between the two values.
[0118] When the linear regression method is used to evaluate the generalization ability (prediction ability) of the grating incident parameter inversion model, if the correlation coefficient r is greater than 0.9, it indicates that the predicted value and the actual value of the grating incident parameter inversion model are well correlated, and the prediction ability of the model is good; if the correlation coefficient r is less than 0.9, it indicates that the prediction ability of the grating incident parameter inversion model is poor, and the model structure, the number of hidden layers and the number of neurons in each layer need to be adjusted. At the same time, the accuracy of the training samples needs to be considered to correctly reflect the mapping relationship between input and output.
[0119] See also Figure 3 , Figure 3 It is a schematic diagram of the correlation of the prediction results of a grating incident parameter inversion model provided by an embodiment of the present invention. As shown in the figure, it can be seen that the linear regression fitting line of the test sample correlation is y=0.972187x+0.0157, and its correlation coefficient r=0.972187, indicating that the correlation between the predicted values and the actual output values of the 12 groups of test samples is very high, and the established grating incident parameter inversion model has good predictive ability in the simulation experiment.
[0120] Furthermore, the prediction capability of the grating incident parameter inversion model was verified in an experiment using a grating coupler on a physical sheet. Taking into account the inversion range of the incident angle of the grating incident parameter inversion model and the actual experimental conditions, TM polarized 1550nm incident light was selected and coupled into the grating coupler at incident angles of 10°, 15°, and 18°, respectively. The measured grating coupling efficiency was input into the grating incident parameter inversion model established in Example 1 to obtain the model's predicted value for the incident angle. The correlation between the actual value and the predicted value was analyzed by linear regression.
[0121] See also Figure 4 , Figure 4It is a schematic diagram of the correlation of a grating incident parameter inversion model provided by an embodiment of the present invention with the prediction results of a physical grating coupler. As shown in the figure, the linear regression fitting line of the correlation of the prediction results of the physical grating coupler is y=0.909581x-0.0159, and its correlation coefficient is 0.972187>r=0.909581>0.9, indicating that the actual value of the incident angle of the physical grating coupler has a high correlation with the predicted value of the grating incident parameter inversion model, but the prediction ability of the grating incident parameter inversion model for the incident angle of the physical grating coupler is weaker than that for the test sample. Within the range of the effective incident angle of the grating coupler, the predicted value of the incident angle differs from the actual value by 8.89%, and the error is within the specified range. It can be seen that the grating incident parameter inversion model established in Example 1 also has a good prediction ability for the coupling efficiency of the physical grating coupler.
[0122] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for constructing a grating incident parameter inversion model based on a BP neural network, characterized in that: include: S1: Collect several groups of incident parameter data and output coupling efficiency data of grating couplers as training samples; S2: Construct the grating incident parameter inversion neural network model structure; S3: training and optimizing the grating incident parameter inversion neural network model according to the training samples to obtain the grating incident parameter inversion model; S3 includes: S301: Initializing the weights of the grating incident parameter inversion neural network model; S302: Setting the learning times M and error accuracy ε of the grating incident parameter inversion neural network model; S303: input the training sample, and calculate the input and output of each layer of the grating incident parameter inversion neural network model; S304: Calculating the training error of the grating incident parameter inversion neural network model according to the output result; S305: Calculate the adjustment value of the weight according to the training error and update the weight; S306: repeat steps S303-S305 until the training samples are exhausted and one learning is completed, and then execute step S307; S307: Calculate the global error E. When the global error E is greater than the error accuracy ε or the number of learning times is less than the number of learning times M, execute steps S303-S306. When the global error E is less than the error accuracy ε or the number of learning times is greater than or equal to the number of learning times M, obtain the grating incident parameter inversion model.
2. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 1, characterized in that: The incident parameters include the incident angle, incident wavelength and incident polarization state of the optical signal; the output coupling efficiency includes the Z forward grating coupling efficiency, the Z reverse grating coupling efficiency and the grating total coupling efficiency.
3. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 1, characterized in that: The grating incident parameter inversion neural network model structure includes an input layer, a hidden layer and an output layer, wherein the input layer is provided with 4 neurons, the hidden layer is provided with 8 neurons, and the output layer is provided with 3 neurons.
4. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 1, characterized in that: The S301 includes: The connection weight w between the input layer and the hidden layer in the grating incident parameter inversion neural network model is ih , and the connection weight w between the hidden layer and the output layer ho , assign random values within (-1,1) respectively to complete the initialization.
5. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 4, characterized in that: In the S303, The kth group of samples in the training samples is used as the input x of the input layer i (k), then the input transmitted from the input layer to the hidden layer is: Among them, x i (k) represents the input of the input layer k = 1, 2, ..., n represents the number of neurons in the input layer, b h Represents the threshold of each neuron in the hidden layer; After the hidden layer, the output of the hidden layer is: ho h (k)=f(hi h (k)),h=1,2,…, in, represents the activation function of the hidden layer; The input transmitted to the output layer is: Among them, p represents the number of neurons in the hidden layer, b o Represents the threshold of each neuron in the output layer; After passing through the output layer, the output of the output layer is: yo o (k) = g(yi o (k)), o = 1, 2, ..., Among them, g(u)=u represents the activation function of the output layer.
6. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 5, characterized in that: The S304 includes: Calculate the error e between the actual output and the expected output. Among them, d o (k) represents the expected output corresponding to the kth group of samples, and q represents the number of neurons in the output layer; According to the error e between the actual output and the expected output, the output layer training error δ is calculated o (k) and hidden layer training error δ h (k) 7. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 6, characterized in that: The step S305 includes: According to the output layer training error δ o (k) and hidden layer training error δ h (k), calculate the adjustment value Δw of the connection weight between the hidden layer and the output layer ho (k) and the adjustment value Δw of the connection weight between the input layer and the hidden layer ih (k) Where μ represents the learning rate of the grating incident parameter inversion neural network model.
8. The method for constructing a grating incident parameter inversion model based on a BP neural network according to claim 7, characterized in that: In S307, the global error E is calculated according to the following formula: Where m represents the number of sample groups in the training sample.
