Optical waveguide simulation method, system and device and storage medium

By using optical path filter and K-domain partitioning technology in optical waveguide simulation, the problem of slow optical waveguide simulation speed in the existing technology is solved, and a faster and more efficient simulation process is achieved.

CN119667942APending Publication Date: 2025-03-21SUNNY AOLAI MICRO NANO OPTOELECTRONIC INFORMATION TECHNOLOGY (SHANGHAI) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510101009.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When calculating grating diffraction, existing optical waveguide simulation methods need to deal with a large number of diffraction orders, resulting in large calculation amounts and slow simulation speed, making it difficult to meet the rapid simulation requirements of complex optical waveguide structures.

Method used

The optical path filter is used to screen the grating diffraction-separated light, classify the direction of the incident wave vector through K-domain partition, and select the diffraction order of each incident wave to reduce the light without simulation calculation.

Benefits of technology

It effectively reduces the amount of light ray calculation in optical waveguide simulation, shortens simulation time, reduces design cycle, and improves design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119667942A_ABST
    Figure CN119667942A_ABST
Patent Text Reader

Abstract

The invention discloses an optical waveguide simulation method, system and device and a storage medium. The method comprises the steps that the incident direction of light penetrating through an optical waveguide is acquired; based on the incident direction, screening the light path of the light diffracted and separated by the grating through a light path filter, the light path filter being arranged on the transmission light path of the optical waveguide; and simulating the optical waveguide according to the screened light rays. The optical path filter is applied to optical waveguide simulation, light rays which do not need simulation calculation can be filtered out through the optical path filter, the calculation amount of the light rays during optical waveguide simulation is reduced, the optical waveguide simulation time is shortened, the optical waveguide design period is shortened, and the optical waveguide design efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical waveguide technology, and in particular to an optical waveguide simulation method, system, device and storage medium. Background Art

[0002] In the current design of diffraction optical waveguides, due to the diffraction characteristics of the diffraction grating, many diffraction orders will be generated, which leads to a huge amount of calculation in the optical waveguide simulation process, requiring a lot of manpower and computing power in the optical waveguide design process, resulting in reduced efficiency and extended design cycles. The diffraction orders actually required in diffraction optical waveguides are extremely limited, so in many simulation software, the process of calculating grating diffraction includes the selection of diffraction orders. Usually, optical waveguide designers will only calculate the selected diffraction orders through grating order selection, thereby saving computing resources and improving the simulation speed of optical waveguides. As the structure of optical waveguides becomes more and more complex, the simulation speed of optical waveguides is also required to be faster and faster. It is difficult to effectively improve the simulation speed by simply selecting the effective order of the grating. Designers are in urgent need of more advanced simulation methods to improve the speed.

[0003] With regard to the problem of how to improve the optical waveguide simulation speed existing in the related art, no effective solution has been proposed yet. Summary of the invention

[0004] According to various embodiments of the present application, an optical waveguide simulation method, system, device, and storage medium are provided.

[0005] In a first aspect, the present application provides an optical waveguide simulation method, comprising:

[0006] obtaining an incident direction of the light passing through the optical waveguide;

[0007] Based on the incident direction, the optical path of the light separated by the grating diffraction is screened by an optical path filter, wherein the optical path filter is arranged on the transmission optical path of the optical waveguide;

[0008] The optical waveguide is simulated according to the screened light.

[0009] In some embodiments, before obtaining the incident direction of the light passing through the optical waveguide, the method further includes:

[0010] The light source parameters, the optical waveguide parameters and the detector parameters are set, wherein the light source is set at the input end of the optical waveguide, and the detector is set at the output end of the optical waveguide.

[0011] In some embodiments, setting the optical waveguide parameters further includes: setting coupling-in grating parameters and coupling-out grating parameters, the coupling-in grating is set in the area of ​​the optical waveguide that receives the light source input, and the coupling-out grating is set in the area of ​​the optical waveguide that outputs to the detector, and the coupling-in grating parameters and the coupling-out grating parameters both include grating period, grating rotation angle, and grating area vertex coordinates.

[0012] In some embodiments, setting the optical waveguide parameters further includes: setting turning grating parameters, and the turning grating is arranged in the optical waveguide.

[0013] In some of the embodiments, when the optical path of the light separated by the grating diffraction is filtered through the optical path filter, the filtering process includes K-domain partitioning, and the K-domain partitioning is used to classify the direction of the incident wave vector and select the diffraction order of each incident wave.

[0014] In some of the embodiments, when the optical path of the light separated by the grating diffraction is filtered by the optical path filter, the method further includes: setting the number of K-domain partitions according to the architecture of the optical waveguide.

[0015] In some of the embodiments, the K-domain partitioning is implemented by a coordinate system of the optical waveguide or a coordinate system of the grating.

[0016] In some of the embodiments, when the optical path of the light separated by the grating diffraction is filtered by the optical path filter, it also includes: specifying one or more grating diffraction orders, and selecting an activated K-domain partition of the incident light for each diffraction order.

[0017] In some of the embodiments, when the optical path of the light separated by the grating diffraction is filtered by an optical path filter, it also includes: displaying the activated K-domain partition with a mark or color different from that of the unactivated K-domain partition, wherein the activated K-domain partition includes the enabled incident light.

[0018] In a second aspect, the present application also provides an optical waveguide simulation system, the optical waveguide simulation system comprising an optical waveguide system and an optical path filter, the optical waveguide system applying the above optical waveguide simulation method

[0019] In a third aspect, the present application further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the optical waveguide simulation method as described in the first aspect above is implemented.

[0020] In a fourth aspect, the present application further provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the optical waveguide simulation method as described in the first aspect above is implemented.

[0021] Compared with the related art, the present application applies an optical path filter to optical waveguide simulation. The optical path filter can filter out light that does not need to be simulated and calculated, reducing the amount of light calculation during optical waveguide simulation, thereby reducing the optical waveguide simulation time, reducing the optical waveguide design cycle, and improving the optical waveguide design efficiency.

[0022] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application, and ordinary technicians in this field can obtain other drawings based on the disclosed drawings without paying any creative work.

[0024] Figure 1 This is a hardware structure block diagram of a terminal of an optical waveguide simulation method according to an embodiment of the present application.

[0025] Figure 2 The figure is a flow chart of an optical waveguide simulation method according to an embodiment of the present application.

[0026] Figure 3 FIG. 1 is a schematic diagram of the structure of an optical waveguide simulation system according to an embodiment of the present application.

[0027] Figure 4 FIG. 1 is a schematic diagram of the structure of an optical waveguide simulation system according to an embodiment of the present application.

[0028] Figure 5 This is a schematic structural diagram of an optical path filter according to an embodiment of the present application.

[0029] Figure 6 This is a schematic structural diagram of an optical path filter according to an embodiment of the present application.

[0030] Figure 7 A schematic diagram of a specific process of designing an optical waveguide using an optical path filter according to one embodiment of the present application.

[0031] Figure 8 The flowchart is a working method of the optical path filter according to one embodiment of the present application.

[0032] Fig. 9 This is a two-partition waveguide outline diagram of an embodiment of the present application.

[0033] Fig.10This is a K-domain diagram of a two-partition optical waveguide according to an embodiment of the present application.

[0034] Fig.11A A schematic diagram of a coordinate system of K-domain partitions based on a grating coordinate system according to an embodiment of the present application.

[0035] Fig. 11B A schematic diagram of a coordinate system of a K-domain partition based on an optical waveguide coordinate system according to an embodiment of the present application.

[0036] Fig. 12A A schematic diagram of K-domain partitioning according to an embodiment of the present application.

[0037] Fig. 12B A schematic diagram of K-domain partitioning according to an embodiment of the present application.

[0038] Fig.13 A schematic diagram of rotating a K-domain partition according to an embodiment of the present application.

[0039] Fig.14A This is a schematic diagram of level selection before using an optical path filter according to an embodiment of the present application.

[0040] Fig. 14B A schematic diagram of setting the K-domain partition corresponding to each grating diffraction order according to an embodiment of the present application.

[0041] Fig. 14C This is a preview of an activated K-domain partition according to an embodiment of the present application.

[0042] Fig.15A A ray tracing diagram and a partial enlarged diagram of an embodiment of the present application without using K-domain partitioning.

[0043] Fig. 15B A ray tracing diagram and a local magnified diagram thereof after K-domain partitioning are used in one embodiment of the present application.

[0044] Fig. 15C This is an efficiency distribution diagram before using K-domain partitioning according to an embodiment of the present application.

[0045] Fig.15D This is an efficiency distribution diagram after using K-domain partitioning according to an embodiment of the present application.

[0046] Fig.16 This is a structural diagram of a computer device according to one embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0049] The method embodiments provided in this application can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 This is a hardware structure diagram of the terminal of this application. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1Different configurations shown.

[0050] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the optical waveguide simulation method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above-mentioned optical waveguide simulation method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0051] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0052] The present application provides an optical waveguide simulation method. Figure 2 is a flow chart of the optical waveguide simulation method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:

[0053] Step S210: acquiring the incident direction of the light passing through the optical waveguide.

[0054] In this step, the simulation of the optical waveguide is a simulation process for the transmission of light in the optical waveguide. The light has an incident direction when it is transmitted in the optical waveguide, and the incident direction of the corresponding light can be obtained during the simulation.

[0055] Step S220: Based on the incident direction, the optical path of the light separated by the grating diffraction is filtered by an optical path filter, wherein the optical path filter is arranged on the transmission optical path of the optical waveguide.

[0056] In this step, the optical path filter is arranged on the transmission optical path of the optical waveguide, and can be used for optical path screening, adjusting the propagation direction of the light, and realizing the screening process of the optical path during the simulation process.

[0057] Step S230: simulating the optical waveguide according to the screened light.

[0058] In this step, the light after screening is less than the light before screening, that is, the light that does not need simulation calculation is filtered out, which reduces the amount of simulation calculation of the light, thereby reducing the simulation time of the optical waveguide.

[0059] In this embodiment, the optical path filter is applied to the optical waveguide simulation. The optical path filter can filter out the light that does not need to be simulated and calculated, thereby reducing the amount of light calculation during the optical waveguide simulation, thereby reducing the optical waveguide simulation time, reducing the optical waveguide design cycle, and improving the optical waveguide design efficiency.

[0060] In some embodiments, before acquiring the incident direction of the light passing through the optical waveguide, the method further includes:

[0061] The light source parameters, the optical waveguide parameters and the detector parameters are set, wherein the light source is set at the input end of the optical waveguide, and the detector is set at the output end of the optical waveguide.

[0062] In this embodiment, light is emitted from a light source, enters from the input end of the optical waveguide, is emitted from the output end of the optical waveguide, and is received by a detector, thereby completing the transmission of light in the optical waveguide. During the optical waveguide simulation process, changes in light source parameters, optical waveguide parameters, and detector parameters will affect light transmission. By setting light source parameters, optical waveguide parameters, and detector parameters, the accuracy of optical waveguide simulation can be improved.

[0063] Specifically, the light source parameters include the light source type and the light source position, the optical waveguide parameters include the refractive index, thickness and length, etc., and the detector parameters include the detector type and the detector position.

[0064] In some embodiments, setting the optical waveguide parameters further includes: setting coupling-in grating parameters and coupling-out grating parameters, wherein the coupling-in grating is set in a region of the optical waveguide that receives light source input, and the coupling-out grating is set in a region of the optical waveguide that outputs to a detector, and the coupling-in grating parameters and the coupling-out grating parameters both include a grating period, a grating rotation angle, and grating region vertex coordinates.

[0065] In this embodiment, the optical waveguide can be provided with an in-coupling grating and an out-coupling grating, respectively, to facilitate light entering and leaving the optical waveguide. The in-coupling grating parameters and the out-coupling grating parameters can be set during the optical waveguide simulation to further improve the accuracy of the optical waveguide simulation.

[0066] Specifically, the coupling-in grating parameters and the coupling-out grating parameters may include grating period, grating rotation angle, grating area vertex coordinates, grating vector, etc. The grating period refers to the length of a set of repeated lines on the grating, that is, the minimum unit length repeated in the grating structure; the grating vector refers to the vector used to describe the effect of the grating periodic structure on the propagation of light waves.

[0067] In some embodiments, setting the optical waveguide parameters further includes: setting turning grating parameters, and the turning grating is arranged in the optical waveguide.

[0068] In this embodiment, a turning grating may be provided in the optical waveguide to facilitate the turning of the transmission path of the light in the optical waveguide. The turning grating parameters may be set during the optical waveguide simulation to further improve the accuracy of the optical waveguide simulation.

[0069] It should be noted that the step of obtaining the incident direction of the light passing through the optical waveguide may be performed after setting the coupling-in grating parameters, the coupling-out grating parameters or the turning grating parameters, or after setting multiple or all grating parameters.

[0070] In some embodiments, when the optical path of the light separated by the grating diffraction is filtered through the optical path filter, the filtering process includes K-domain partitioning, and the K-domain partitioning is used to classify the direction of the incident wave vector and select the diffraction order of each incident wave.

[0071] In this embodiment, the optical path filter can use the K-domain partitioning method to classify the direction of the incident wave vector, select the diffraction order of each incident wave, screen the target wave vector in the light to be transmitted in the optical waveguide, and filter out the wave vector that does not need to be simulated and calculated, thereby reducing the light simulation path in the optical waveguide simulation process and reducing the simulation calculation time. Using K-domain partitioning as a method for optical path screening, the screening process is more intuitive and the screening effect is better.

[0072] In some embodiments, when the optical path of the light separated by the grating diffraction is screened by the optical path filter, it also includes: setting the number of K-domain partitions according to the architecture of the optical waveguide.

[0073] In this embodiment, different optical waveguide architectures require different numbers of K-domain partitions. By setting the number of K-domain partitions according to the optical waveguide architecture, the number of K-domain partitions can be controlled, providing more flexible screening conditions for optical waveguide simulation.

[0074] Specifically, the architecture of the optical waveguide includes two partitions, three partitions or other partition forms, and the number of K-domain partitions corresponding to the two partitions includes 6, 10, etc.

[0075] In some embodiments, the K-domain partitioning is implemented by a coordinate system of the optical waveguide or a coordinate system of the grating.

[0076] In this embodiment, the coordinate system of the optical waveguide or the coordinate system of the grating can be used as a reference for K-domain partitioning, and a suitable coordinate system can be selected according to specific requirements of optical waveguide simulation.

[0077] In some embodiments, the K-domain partition may be configured with an OFFSET function to rotate the K-domain partition so as to simplify the partition corresponding to the field of view angle of the optical waveguide, thereby ensuring a more thorough screening and faster simulation calculation.

[0078] In some embodiments, when the optical path of the light separated by the grating diffraction is filtered by the optical path filter, it also includes: specifying one or more grating diffraction orders, and selecting an activated K-domain partition of the incident light for each diffraction order.

[0079] In this embodiment, K-domain partitioning can be used in conjunction with grating diffraction orders to achieve a better configuration and make the screening more thorough.

[0080] In some embodiments, when the optical path of the light separated by the grating diffraction is filtered by the optical path filter, it also includes: displaying the activated K-domain partition with a mark or color different from that of the unactivated K-domain partition, wherein the activated K-domain partition includes enabling incident light.

[0081] In this embodiment, the K-domain partition can be activated, and the activated K-domain partition includes the enabled incident light, that is, the wave vector that needs to be simulated and calculated. The activated K-domain partition is displayed with a mark or color different from that of the inactivated K-domain partition, which facilitates the activation of the K-domain partition and the setting of related parameters, avoids selection errors, and ensures the correctness of the optical waveguide simulation.

[0082] Furthermore, when displaying the K-domain partition, functions such as the refractive index selection of the optical waveguide can also be provided.

[0083] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0084] The present application also provides an optical waveguide simulation system, such as Figure 3 As shown, the optical waveguide simulation system includes an optical waveguide system 310 and an optical path filter 320, wherein the optical waveguide system 310 includes a light source component 311 for emitting light, an in-coupling grating component 312 for receiving light, an out-coupling grating component 313 for coupling out the light, and a detector component 314 for collecting light; the optical path filter 320 is used to filter the optical path of the light separated by the grating diffraction based on the incident direction of the light, and the filtered light is used to simulate the optical waveguide, wherein the optical path filter 320 is arranged on the transmission optical path of the optical waveguide.

[0085] In this embodiment, the optical path filter 320 is disposed on the transmission optical path of the optical waveguide, which can effectively filter out the wave vectors that do not need simulation calculation.

[0086] It should be noted that the optical path filter 320 can effectively receive and analyze light from different components of the optical waveguide, and is applicable to any optical waveguide component, such as the light source component 311, the coupling grating component 312, the coupling grating component 313 or the detector component 314, etc. Therefore, the optical path filter 320 can be set at the position of any optical waveguide component, or between the optical waveguide components.

[0087] In some embodiments, such as Figure 4 As shown, the optical waveguide system 310 further includes a turning grating component 315 for turning light.

[0088] In this embodiment, a turning grating component 315 may be provided in the optical waveguide to facilitate the turning of the transmission path of the light in the optical waveguide, thereby further improving the accuracy of the optical waveguide simulation.

[0089] In some embodiments, such as Figure 5 As shown, the optical path filter 320 includes a wave vector analyzer 321, and the wave vector analyzer 321 is used to filter the target wave vector.

[0090] In this embodiment, the wave vector analyzer 321 can apply K-domain partitioning to screen target wave vectors and filter out wave vectors that do not need to be simulated and calculated, thereby reducing the light simulation path in the optical waveguide simulation process and reducing the simulation calculation time. Using K-domain partitioning as a method for light path screening makes the screening process more intuitive and has a better screening effect.

[0091] In some embodiments, such as Figure 6 As shown, the optical path filter 320 further includes a light order analyzer 322, wherein the light order analyzer 322 is used to specify one or more grating diffraction orders, and the wave vector analyzer 321 is used to select an activated K-domain partition of the incident light for each diffraction order.

[0092] In this embodiment, the light order analyzer 322 can be used to specify one or more grating diffraction orders, and the wave vector analyzer 321 is used to select an activated K-domain partition of the incident light for each diffraction order. The K-domain partition can be used in combination with the grating diffraction order to achieve a better configuration and make the screening more thorough.

[0093] It should be understood by those skilled in the art that the above-mentioned components or steps of the present application can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be made into individual integrated circuits, or multiple components or steps therein can be made into a single integrated circuit for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0094] In a specific embodiment, the specific process of designing an optical waveguide using an optical path filter is as follows: Figure 7 As shown, after starting to design the optical waveguide, the designer first sets the appropriate light source parameters, optical waveguide parameters and detector parameters. When setting the optical waveguide parameters, it is divided into coupling grating parameter setting (one or more coupling grating areas can be set), turning grating parameter setting (zero or more turning grating areas can be set) and coupling out grating parameter setting (one or more coupling out grating areas can be set). The optical path filter can be applied inside the components of each part of the optical waveguide, and can also be applied between coupling and turning, turning and coupling out, and coupling out and detector, so as to filter the light that does not need simulation calculation. The specific working process of the optical path filter is as follows Figure 8 As shown, first, it is necessary to design the initial optical waveguide parameters, select the K-domain partitioning method in the optical path filter to analyze the wave vector of the light in the optical waveguide, set the appropriate number of partitions according to the architecture of the optical waveguide and compensate the rotation angle of the partitions, and finally set the activated partitions of the incident light for each diffraction order and use the preview image to visualize it for the convenience of the designer. The UI interface of the optical path filter is extremely friendly, and users can very intuitively preview the number of K-domain partitions, K-domain partition offset values, and activated K-domain partitions of the incident light of each diffraction order.

[0095] Taking the two-partition diffraction waveguide as an example, the contour diagram of the two-partition waveguide is as follows: Fig. 9 As shown, the parameters of this embodiment are FOV 30°, image aspect ratio 16:9, incident wavelength 532nm, eye box size 12*10mm, eye distance 18mm, waveguide refractive index 1.9, coupling-in grating period 375nm, coupling-out grating period 433nm*750nm, coupling-out grating rotation angle 90°. The light emitted by the optical machine is coupled into the optical waveguide through the circular coupling-in grating in the figure. The coupled-in light is transmitted in the optical waveguide to the two-dimensional grating area, and then coupled out through the two-dimensional grating. The K domain diagram of the two-partition optical waveguide is shown in Fig.10As shown, the dotted inner ring represents the light propagating in free space, the area between the solid and dotted rings represents the propagating light that satisfies the total internal reflection condition, the central black box represents the size of the FOV, and the incident light in the central black box is coupled into the grating vector and transmitted to the position between the solid and dotted rings on the right, and the light is expanded and coupled out through the two-dimensional grating vector.

[0096] The above-described embodiment has a situation where there are a lot of diffracted light rays, that is, there are many different wave vectors propagating in the optical waveguide, and the number of wave vectors increases sharply as the light propagates, resulting in an extremely long simulation calculation time. In order to solve the problem of extremely slow simulation speed, the optical path screening function is used. In the optical path filter, the K domain is partitioned using the K domain partitioning method, and only the wave vectors in the active area are calculated. In the optical path filter, the K domain partitioning can be implemented through the grating coordinate system, such as Fig.11A As shown in the figure, since the grating is rotated by 90°, its K-domain distribution is transformed from the original rightward distribution to downward distribution. K-domain partitioning can also be achieved through the optical waveguide coordinate system, such as Fig. 11B As shown, at this time, the K domain partition is realized by the optical waveguide coordinate system, and its K domain distribution does not change. The optical path filter provides two different coordinate systems to meet different needs. In this embodiment, the K domain is partitioned by the optical waveguide coordinate system.

[0097] In order to meet the optical waveguide design requirements under different K domain conditions, the optical path filter can also divide the K domain into 1 to infinite different regions. Fig. 12A The K domain is divided into 6 regions, serial number #1 represents the free space propagation region, and regions #2 to #7 represent the total internal reflection regions. Fig. 12B The K domain is divided into 10 regions, where #1 also represents the free space propagation region, and #2-#11 also represent the total internal reflection region. In this embodiment, a two-partition architecture is used to design the optical waveguide, and combined with its K domain distribution, so Fig. 12A The K domain is divided into 6 regions as shown in FIG. Fig.10 and Fig. 12A and 12B It can be seen that if the K-domain partition is not operated after it is partitioned, its field of view will fall into different areas, which is obviously not the best choice. In order to further simplify the partitions to which the field of view belongs, an offset function is added to the optical path filter to rotate the K-domain partition. Fig.13 As shown, a, b, c and d correspond to the cases where the offset is set to 0°, 30°, 60° and 90° respectively. In this embodiment, the offset value is 30°.

[0098] The diffraction order of the grating is different in each area. Therefore, in order to filter out unwanted light and increase simulation speed, it is necessary to screen the area of ​​each order distribution. Fig.14A The figure shows the order selection before the optical path filter is used. The order selections are 1(-1,1), 2(0,0), 3(0,2), and 4(1,1). Based on this order, the activated K-domain partition of the incident light of each diffraction order is set, such as Fig. 14B As shown, the activated K-domain partitions corresponding to each level are 1 (2, 7), 2 (2, 6, 7), 3 (7), and 4 (6, 7). Fig. 14B The preview of the activated K-domain partition is as follows Fig. 14C As shown, Fig. 14C In the first figure, #2 and #7 represent activated areas (areas that need to be calculated), #3, #4, #5 and #6 represent filtered areas (areas that do not need to be simulated). Fig. 14C In the second figure, #2, #7 and #6 represent the activated areas (areas to be calculated), #3, #4 and #5 represent the filtered areas (areas that do not need simulation calculation). Fig. 14C In the third figure, #7 represents the activated area (the area to be calculated), #2, #3, #4, #5 and #6 represent the filtered areas (the area without simulation calculation). Fig. 14C In the fourth figure, #7 and #6 represent activated areas (areas to be calculated), and #2, #3, #4, and #5 represent filtered areas (areas that do not need to be simulated). With the above settings, only the selected order and the light in the corresponding activated area will be calculated in the optical waveguide design simulation, and all other unselected orders and K-domain partitions will be filtered out, which greatly improves the simulation speed and improves the efficiency of optical waveguide design.

[0099] After the optical path filter and optical waveguide parameters are configured, the optical waveguide is simulated. Figure 15 compares the ray tracing diagrams before and after using K-domain partitioning. Fig.15A This is the ray tracing diagram without using K-domain partitioning and its local enlarged diagram. Fig. 15B This is the ray tracing diagram after using K-domain partitioning and its local enlarged diagram. Fig.15A and Fig. 15B It is not difficult to find that the number of ray tracing is drastically reduced after using K-domain partitioning. Fig. 15C and 15D They are the efficiency distribution diagrams before and after using K-domain partitioning. The efficiency calculation time without using K-domain partitioning is 182s, and the efficiency calculation time after using K-domain partitioning is 28s. In this embodiment, the single simulation time is increased by about 6 times, which greatly shortens the optical waveguide design cycle, improves the optical waveguide design efficiency, and lays a more solid foundation for the optimization iteration of the diffraction optical waveguide.

[0100] The present application also provides a computer device 400, which may be a server. Fig.16is a structural diagram of a computer device according to an embodiment of the present application. Fig.16 As shown, the computer device 400 includes a processor 41, a memory and a network interface 43 connected through a system bus. The processor 41 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a storage medium 421 and an internal memory 422. The storage medium 421 stores an operating system, a computer program and a database. The internal memory 422 provides an environment for the operation of the operating system and the computer program in the storage medium 421. The network interface 43 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor 41, an optical waveguide simulation method is implemented.

[0101] Those skilled in the art will understand that Fig.16 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0102] In addition, in combination with the optical waveguide simulation method in the above embodiment, the present application embodiment can provide a storage medium 421 for implementation. The storage medium 421 stores a computer program, and when the computer program is executed by a processor, any optical waveguide simulation method in the above embodiment is implemented.

[0103] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synch link) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0104] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0105] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. An optical waveguide simulation method, characterized in that: The method comprises: obtaining an incident direction of the light passing through the optical waveguide; Based on the incident direction, the optical path of the light separated by the grating diffraction is screened by an optical path filter, wherein the optical path filter is arranged on the transmission optical path of the optical waveguide; The optical waveguide is simulated according to the screened light.

2. The optical waveguide simulation method according to claim 1, wherein: Before obtaining the incident direction of the light passing through the optical waveguide, the method further includes: The light source parameters, the optical waveguide parameters and the detector parameters are set, wherein the light source is set at the input end of the optical waveguide, and the detector is set at the output end of the optical waveguide.

3. The optical waveguide simulation method according to claim 2, wherein: Setting the optical waveguide parameters also includes: setting coupling-in grating parameters and coupling-out grating parameters, wherein the coupling-in grating is set in the area of ​​the optical waveguide that receives the input of the light source, and the coupling-out grating is set in the area of ​​the optical waveguide that outputs to the detector, and the coupling-in grating parameters and the coupling-out grating parameters both include a grating period, a grating rotation angle, and grating area vertex coordinates.

4. The optical waveguide simulation method according to claim 3, wherein: Setting the optical waveguide parameters also includes: setting turning grating parameters, and the turning grating is arranged in the optical waveguide.

5. The optical waveguide simulation method according to claim 1, wherein: When the optical path of the light separated by the grating diffraction is filtered by the optical path filter, the filtering process includes K-domain partitioning, and the K-domain partitioning is used to classify the direction of the incident wave vector and select the diffraction order of each incident wave.

6. The optical waveguide simulation method according to claim 5, wherein: When the optical path of the light separated by the grating diffraction is screened by the optical path filter, the method further includes: setting the number of K-domain partitions according to the architecture of the optical waveguide.

7. The optical waveguide simulation method according to claim 5, wherein: The K-space partitioning is realized by means of a coordinate system of the optical waveguide or a coordinate system of the grating.

8. The optical waveguide simulation method according to claim 5, wherein: When the optical path of the light separated by the grating diffraction is filtered by the optical path filter, it also includes: specifying one or more grating diffraction orders, and selecting an activated K-domain partition of the incident light for each diffraction order.

9. The optical waveguide simulation method according to claim 5, wherein: When the optical path of the light separated by the grating diffraction is filtered by the optical path filter, it also includes: displaying the activated K-domain partition with a mark or color different from that of the unactivated K-domain partition, wherein the activated K-domain partition includes enabling incident light.

10. An optical waveguide simulation system, characterized in that: The optical waveguide simulation system comprises an optical waveguide system and an optical path filter, and the optical waveguide simulation system applies the optical waveguide simulation method according to any one of claims 1 to 9.

11. A computer device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the optical waveguide simulation method according to any one of claims 1 to 9.

12. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the optical waveguide simulation method according to any one of claims 1 to 9 when executed.