Light field distribution optimization method and device, equipment, storage medium and program product
The structural model of COB optical chip is optimized through the light field energy feedback algorithm LEFA, which solves the uniformity and velocity problems in the calculation of light field distribution, and realizes efficient optimization of light field energy distribution.
Patent Information
- Application Number
- CN202410986274.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
The existing light field distribution calculation methods are difficult to achieve high uniform light field distribution requirements, and the calculation process is complex and the calculation speed is slow.
By obtaining the initial structural model of the on-board chip-packaged COB optical chip, the light field energy deviation between the initial light field energy distribution and the preset light field energy distribution, the initial structural model is optimized by using the light field energy feedback algorithm LEFA, and the light field energy feedback algorithm is obtained. The optimized structural model achieves a high uniformity distribution of light field energy mapped to the preset target surface through the preset free surface.
The high uniformity of light field distribution requirements is achieved, the calculation process is simplified and the calculation speed is improved.
Smart Images

Figure CN118940503A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical technology, and in particular to a method, device, equipment, storage medium and program product for optimizing light field distribution. Background Art
[0002] With the rapid development of semiconductor lighting theory and related technologies, the current semiconductor lighting light source chips mainly include single light source chips and chip on board (COB) packages. Compared with single light source chips, COB light chips have the advantages of low thermal resistance, integrated packaging surface light output, and small space occupation. It is one of the mainstream trends of lighting light source chips. More and more researchers are investing in the research of light field distribution calculation, but the traditional light field distribution calculation method based on conventional surfaces has insufficient freedom to control the light field. The light field distribution of COB light chips needs to undergo rigorous light field calculation to achieve high uniformity of light field distribution requirements. Therefore, the high degree of freedom of light field distribution is an important reason affecting the uniformity of COB light chips.
[0003] However, at present, the traditional light field distribution calculation method based on conventional surfaces is difficult to achieve the requirements of highly uniform light field distribution, and the calculation process is complicated and the calculation speed is slow. Summary of the invention
[0004] The technical solution of the present invention aims to provide a light field distribution optimization method, device, equipment, storage medium and program product to solve the problems that the existing light field distribution calculation method is difficult to achieve the high uniformity light field distribution requirements, and the calculation process is complicated and the calculation speed is slow.
[0005] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0006] An embodiment of the present invention provides a method for optimizing light field distribution, including:
[0007] Acquire an initial structural model of a chip-on-board packaged COB optical chip, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface;
[0008] Acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface;
[0009] According to the light field energy feedback algorithm LEFA and the light field energy deviation, the initial structural model is optimized to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
[0010] Optionally, the light field energy includes light intensity and illumination;
[0011] Obtain the initial structural model of the COB optical chip on board package, including:
[0012] According to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, the initial point light source mapping light field energy of the mapping area on the preset target surface is obtained by mapping the light field energy of the first point light source to the preset target surface through the preset free-form surface, wherein the first angle is the angle between the light emitted by the first point light source and the first coordinate axis, the second angle is the angle between the projection of the light emitted by the first point light source on the first plane and the optical axis of the first point light source, the first plane is the plane formed by the optical axis of the first point light source and the second coordinate axis, the target plane is the plane formed by the first coordinate axis and the second coordinate axis, and the first point light source is any point light source in the COB optical chip;
[0013] The initial structural model of the COB optical chip is obtained according to the array of the point light sources in the COB optical chip and the light field energy mapped by the initial point light source.
[0014] Optionally, obtaining the initial point light source mapping light field energy of the first point light source mapped to the mapping area on the preset target surface through the preset free-form surface according to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, includes:
[0015] Obtaining a corresponding relationship between the first angle and the first coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0016] Obtaining a corresponding relationship between the second angle and the second coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0017] According to the correspondence between the first angle and the first coordinate axis, and the correspondence between the second angle and the second coordinate axis, the initial point light source mapping light field energy of the first point light source is obtained by mapping the light field energy of the first point light source to the mapping area on the preset target surface through the preset free surface.
[0018] Optionally, obtaining a light field energy deviation between the initial light field distribution and a preset light field energy distribution on the preset target surface includes:
[0019] Acquire the initial point light source mapping light field energy of each point light source in the COB optical chip in the initial light field distribution, which is mapped to the mapping area on the preset target surface through the preset free-form surface;
[0020] Obtaining an average value of light field energy mapped by a preset point light source in each mapping area on the preset target surface in the preset light field energy distribution;
[0021] The light field energy deviation corresponding to the mapping area is obtained according to the initial point light source mapping light field energy of the mapping area and the average value.
[0022] Optionally, the initial structural model is optimized according to a light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model, including:
[0023] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is increased by a first preset value to obtain the first point light source mapping light field energy of the mapping area;
[0024] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is reduced by a second preset value to obtain a second point light source mapping light field energy of the mapping area;
[0025] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area;
[0026] The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0027] Optionally, obtaining the optimized structural model according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area comprises:
[0028] When the target condition is met, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area;
[0029] When the target condition is not met, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, and the initial light field distribution is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model until the target condition is met;
[0030] The target conditions include:
[0031] The difference between the light field energy mapped by the first point light source in the mapping area and the average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a first preset difference;
[0032] A difference between the light field energy mapped by the second point light source in the mapping area and an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a second preset difference.
[0033] Optionally, the method further comprises:
[0034] When the number of updates of the initial light field distribution reaches a preset number, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0035] Optionally, obtaining the optimized structural model according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area comprises:
[0036] Adjusting the size of the mapping area according to the target rule to obtain the adjusted size of the mapping area, wherein the target rule includes: reducing the size of the mapping area corresponding to the light field energy mapped by the first point light source by a first size threshold, increasing the size of the mapping area corresponding to the light field energy mapped by the second point light source by a second size threshold, and maintaining the size of the mapping area corresponding to the light field energy mapped by the third point light source;
[0037] According to the size of the preset target surface, the adjusted size is normalized to obtain a target mapping size corresponding to each mapping area;
[0038] The optimized structural model is obtained according to the light field energy mapped by the first point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the second point light source, the light field energy mapped by the third point light source, and the target mapping size of the mapping area corresponding to the light field energy mapped by the third point light source.
[0039] The embodiment of the present invention further provides a light field distribution optimization device, comprising:
[0040] A first acquisition module is used to acquire an initial structural model of a COB optical chip in a chip-on-board package, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface;
[0041] A second acquisition module, used to acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface;
[0042] The first processing module is used to optimize the initial structural model according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
[0043] An embodiment of the present invention further provides a light field distribution optimization device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the light field distribution optimization method described above is implemented.
[0044] An embodiment of the present invention further provides a readable storage medium, on which a program is stored. When the program is executed by a processor, the steps in the light field distribution optimization method described above are implemented.
[0045] An embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in any one of the above light field distribution optimization methods.
[0046] At least one of the above technical solutions of the present invention has the following beneficial effects:
[0047] The light field distribution optimization method provided by the scheme of the present invention obtains the initial structural model of the COB optical chip (the initial structural model is used to indicate the initial light field energy distribution of the light field energy of the COB optical chip mapped to the preset target surface through the preset free surface), obtains the light field energy deviation between the initial light field energy distribution and the preset light field energy distribution, and then uses the light field energy feedback algorithm LEFA and the light field energy deviation to optimize the initial structural model to obtain an optimized structural model. The optimized structural model is used to indicate the optimized light field energy distribution of the light field energy of the COB optical chip mapped to the preset target surface through the preset free surface. Through the above process, the light field distribution requirement with high uniformity can be achieved, and the calculation process is simple and the calculation speed is fast. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flow chart of a light field distribution optimization method provided by an embodiment of the present invention;
[0049] Figure 2 A schematic diagram of light field energy mapping of a first point light source chip provided in an embodiment of the present invention;
[0050] Figure 3 A schematic diagram of an energy mapping process of mapping a point light source through a mapping area on a free-form surface to a mapping area on a target surface provided by an embodiment of the present invention;
[0051] Figure 4 A specific flow chart of the light field distribution optimization method provided by an embodiment of the present invention;
[0052] Figure 5 One of the structural schematic diagrams of the first node provided in an embodiment of the present invention;
[0053] Figure 6 The second structural diagram of the first node provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0055] In order to solve the problems that the existing light field distribution calculation method is difficult to achieve the requirement of highly uniform light field distribution, and the calculation process is complicated and the calculation speed is slow, the embodiments of the present invention provide a light field distribution optimization method, device, equipment, storage medium and program product.
[0056] like Figure 1 As shown, an embodiment of the present invention provides a light field distribution optimization method, including:
[0057] Step 101: Obtain an initial structural model of a chip-on-board packaged COB optical chip (or COB light source chip, light source chip), wherein the initial structural model is used to indicate the initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free surface.
[0058] Among them, the preset free-form surface (or called free-form surface) can be a surface of any preset shape. In this embodiment, the preset free-form surface is also expressed in the form of a model, that is, the preset free-form surface can also be called a free-form surface model, and the preset target surface (or called target surface) can be a plane.
[0059] In this step, the initial model structure of the COB optical chip is first calculated. The initial structure model is used to indicate the initial light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free surface. It can also be understood that the initial structure model represents the light field energy distribution formed by the light emitted by the COB optical chip passing through the free surface and incident on the target surface. The law of conservation of energy is obeyed when the light is incident and emitted between the two surfaces.
[0060] Step 102: Obtain a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface.
[0061] The preset light field energy distribution on the preset target surface may be understood as an ideal light field energy distribution on the preset target surface.
[0062] In this step, since there will be different degrees of difference between the initial light field energy distribution indicated by the initial structure model and the ideal square energy distribution, and the difference mainly depends on the relative size of the COB optical chip, the light field energy deviation between the initial light field energy distribution and the preset light field energy distribution on the preset target surface is obtained. The preset light field energy distribution can be a highly uniform light field energy distribution.
[0063] Step 103: According to the light field energy feedback algorithm (Lightfield Energy Feedback Algorithm, LEFA) and the light field energy deviation, the initial structural model is optimized to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free surface.
[0064] In this step, based on the initial structural model of the COB optical chip, the initial structural model is subsequently optimized through the LEFA algorithm, so that the optimized structural model can also produce highly uniform light field energy distribution for the COB light source chip, that is, the LEFA algorithm is used for the initial light field energy distribution of the COB light source chip, so that the degraded light field energy distribution tends to a highly uniform distribution.
[0065] The embodiment of the present invention uses the LEFA algorithm to effectively solve the calculation deviation of the light field distribution of the COB light source chip, so as to make the light field distribution more uniform and obtain higher light field distribution uniformity.
[0066] In an optional embodiment, the light field energy includes light intensity and illumination;
[0067] Obtain the initial structural model of the COB optical chip on board package, including:
[0068] According to the light intensity of the first point light source (or called the first point light source chip), the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free surface, the first angle and the second angle, the light field energy of the first point light source is mapped to the initial point light source mapping light field energy of the mapping area on the preset target surface through the preset free surface, wherein the first angle is the angle between the light emitted by the first point light source and the first coordinate axis, the second angle is the angle between the projection of the light emitted by the first point light source on the first plane and the optical axis of the first point light source, the first plane is the plane formed by the optical axis of the first point light source and the second coordinate axis, and the target plane is the plane formed by the first coordinate axis and the second coordinate axis.
[0069] Among them, the first point light source is any point light source in the COB optical chip. It can also be understood that the COB light source chip includes multiple point light sources (or called point light source chips), which is composed of an array of many point light source chips.
[0070] In this optional embodiment, the initial model structure of the point light source chip is first calculated, and an arbitrary point light source chip, that is, the first point light source chip, is selected, such as Figure 2The figure shows a schematic diagram of the light field energy mapping of the first point light source chip in the (u, V) coordinate system. The preset free-form surface is represented by the (u, v) coordinate system, the preset target surface is represented by the (x, y) coordinate system, the optical axis of the first point light source is the z-axis, and the light intensity along the z-axis is I0. The target illumination spot (the illumination spot of the first point light source) is perpendicular to the z-axis, the center point coordinates are (0, 0, I0), the light source is at the center of the coordinates, and the illumination is represented by E. L x and L y They are respectively the half-length and half-width of the rectangular grid (i.e., the size of the first point light source mapped to the preset target surface through the preset free-form surface). Since the light field distribution of the light emitted by the point light source chip is an axisymmetric structure, only the energy mapping relationship of the first quadrant is considered. dΩ is the solid angle, u is the angle between the light and the x-axis (i.e., the first coordinate axis or the coordinate on the first coordinate axis) (i.e., u is the first angle), v is the angle between the projection of the light on the yoz plane (yoz plane is the plane formed by the y-axis and the z-axis, the yoz plane is the first plane, and the y-axis is the second coordinate axis or the coordinate on the second coordinate axis) and the z-axis (i.e., v is the second angle), and o is the origin of the coordinate system. The light at an angle of (u, v) in the light source area is incident on the target area dA (i.e., the first point light source is incident on the area of the preset free-form surface to the area of the preset target surface). Light intensity distribution I(u, v) = I0sin u cos v. In this energy correspondence, the light ray with an angle of u is on a coordinate with a magnitude of x, and the light ray with an angle of v is on a coordinate with a magnitude of y.
[0071] Further, according to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, the initial point light source mapping light field energy of the light field energy of the first point light source mapped to the mapping area on the preset target surface through the preset free-form surface is obtained, including:
[0072] Obtaining a corresponding relationship between the first angle and the first coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0073] Obtaining a corresponding relationship between the second angle and the second coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0074] According to the correspondence between the first angle and the first coordinate axis, and the correspondence between the second angle and the second coordinate axis, the initial point light source mapping light field energy of the first point light source is obtained by mapping the light field energy of the first point light source to the mapping area on the preset target surface through the preset free surface.
[0075] Specifically, when obtaining Figure 2 After the light field energy mapping schematic diagram of the first point light source chip in the (u, v) coordinate system shown, since the first point light source passes through the preset free-form surface and is incident on the preset target surface, the law of conservation of energy is followed. Based on the above, combined with the law of conservation of energy, we have:
[0076] ∫∫I0sin 2 u cos v dudv=∫∫Edxdy
[0077] After that, the correspondence between u and x-axis is determined as follows:
[0078]
[0079] Similarly, the corresponding relationship between the v and y axes is determined as follows:
[0080]
[0081] In this way, a one-to-one correspondence between the point light source angle (u, v) and the coordinates on the target surface (X, y) coordinate axis in the energy mapping relationship is obtained, and therefore the initial structural model of the light field distribution that conforms to the point light source chip can be calculated. The initial structural model of the light field distribution of the light source chip is used to indicate the initial point light source mapping light field energy of the first point light source that is mapped to the mapping area on the preset target surface through the preset free surface.
[0082] The initial structural model of the COB optical chip is obtained according to the array of the point light sources in the COB optical chip and the light field energy mapped by the initial point light source.
[0083] Specifically, the COB light source chip is integrated by an array of many point light source chips to enhance the overall lighting energy to meet a wider range of lighting needs. The COB light source chip is adapted to the initial structural model of the light field distribution of the point light source chip obtained in the above steps, and the initial structural model of the COB optical chip can be obtained.
[0084] It should be noted that the process of calculating the initial structural model of the light field distribution based on the point light source includes two processes: the establishment of the light energy mapping mechanism and the solution and construction of the initial structural model. After the point light source chip is directly replaced with the COB light source chip, the obtained light field distribution is significantly degraded, and the actual light field energy distribution differs from the expected ideal light field energy distribution effect to varying degrees. Therefore, it is necessary to obtain the light field energy deviation between the initial light field distribution and the preset light field energy distribution on the preset target surface, and based on the light field energy deviation, use LEFA to optimize the initial structural model.
[0085] In an optional embodiment, obtaining a light field energy deviation between the initial light field distribution and a preset light field energy distribution on the preset target surface includes:
[0086] The light field energy of each point light source in the COB optical chip in the initial light field distribution is obtained by mapping the light field energy of the initial point light source in the mapping area on the preset target surface through the preset free surface. It can be understood that the initial light field distribution includes the light field energy of each point light source in the COB optical chip, which is mapped to the mapping area on the preset target surface through the mapping area of the preset free surface, and the initial point light source mapping light field energy is formed in the mapping area on the preset target surface.
[0087] The average value of the preset point light source mapping light field energy of each mapping area on the preset target surface in the preset light field energy distribution is obtained. It can be understood that the preset light field distribution includes the preset point light source mapping light field energy of each point light source in the COB optical chip in the mapping area on the preset target surface, and the average value is the average value of the preset point light source mapping light field energy of each point light source in the mapping area on the preset target surface. The preset target surface includes at least one mapping area, and the mapping area in the initial light field distribution corresponds one-to-one to the mapping area in the preset light field distribution.
[0088] According to the initial point light source mapping light field energy of the mapping area and the average value, the light field energy deviation corresponding to the mapping area is obtained. Optionally, for each mapping area, the difference between the initial point light source mapping light field energy of the mapping area and the average value is obtained as the light field energy deviation of the mapping area.
[0089] For example, Figure 3As shown, it is the energy mapping process of any point light source in the COB optical chip through the mapping area of the free surface to the mapping area on the target surface. The free surface through which the point light source passes is represented by the (u, v) coordinate system, which can be represented by the E (Energy Matrix) matrix, which represents the energy grid distribution of the COB light source chip. Each grid of the free surface represents a mapping area. The target surface is represented by the (x, y) coordinate system, which can be represented by the T (Target surface matrix) matrix, which represents the energy distribution of the light field formed by the light emitted by the point light source through the free surface and incident on the target surface. Each grid of the target surface represents a mapping area. The law of conservation of energy is observed when the light between the two matrices is incident and emitted.
[0090] Furthermore, the light field energy deviation can be represented by an optimization coefficient. For example, the ratio of the initial point light source mapping light field energy of the mapping area to the average value is used as the optimization coefficient. If the optimization coefficient is 1, it means that the light field energy deviation corresponding to the mapping area is no deviation. If the optimization coefficient is less than 1, it means that the initial point light source mapping light field energy of the mapping area is less than the average value. If the optimization coefficient is greater than 1, it means that the initial point light source mapping light field energy of the mapping area is greater than the average value. For another example, the difference between the initial point light source mapping light field energy of the mapping area and the average value is used as the optimization coefficient. If the optimization coefficient is 0, it means that the light field energy deviation corresponding to the mapping area is no deviation. If the optimization coefficient is less than 0, it means that the initial point light source mapping light field energy of the mapping area is less than the average value. If the optimization coefficient is greater than 0, it means that the initial point light source mapping light field energy of the mapping area is greater than the average value.
[0091] In an optional embodiment, the initial structural model is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model, including:
[0092] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is increased by a first preset value to obtain the first point light source mapping light field energy of the mapping area;
[0093] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is reduced by a second preset value to obtain a second point light source mapping light field energy of the mapping area;
[0094] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area;
[0095] The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0096] Specifically, by Figure 3 After the energy grid mapping method shown in the figure establishes the energy mapping relationship between the point light source and the target surface, the light field energy of each mapping area on the target surface can be obtained by tracing the light rays of the COB optical chip. The light field energy of each mapping area on the target surface is compared with the average light field energy E ave (i.e., the above average value) is compared to obtain the optimization coefficient q of the LEFA algorithm. Among them, when q<1, it can be seen that compared with the ideal average light field energy value (i.e., the average value), the light field energy allocated to the mapping area is too small and needs to be increased. In the current calculation optimization, positive feedback is required to the area to increase the light field energy value of the area, that is, the initial point light source mapping light field energy of the mapping area is increased by the first preset value to obtain the first point light source mapping light field energy of the mapping area. On the contrary, when q>1, it can be seen that compared with the ideal average light field energy value, the light field energy value allocated to the mapping area is too high and needs to be reduced, that is, in the current calculation optimization, negative feedback is required to the mapping area to reduce the light field energy value of the mapping area, that is, the initial point light source mapping light field energy of the mapping area is reduced by the second preset value to obtain the second point light source mapping light field energy of the mapping area. When q=1, there is no need to change the established light field energy value of the mapping area, that is, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area. Among them, the first preset value and the second preset value include light intensity and illumination respectively. The first preset value and the second preset value can be the same or different. The specific value is set according to demand and is not limited in this embodiment.
[0097] In the above optimization process, the division of the solid angle remains unchanged, and the solid angle divided by the initial structural model calculation is always maintained.
[0098] It should be noted that the initial structural model needs to be optimized and calculated multiple times to make the light field distribution close to the preset light field energy distribution. Therefore, according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, the optimized structural model is obtained, including:
[0099] When the target condition is met, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area;
[0100] When the target condition is not met, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, and the initial light field distribution is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model until the target condition is met;
[0101] The target conditions include:
[0102] The difference between the light field energy mapped by the first point light source in the mapping area and the average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a first preset difference;
[0103] A difference between the light field energy mapped by the second point light source in the mapping area and an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a second preset difference.
[0104] Among them, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area and the light field energy mapped by the third point light source in the mapping area. It can be understood that the light field energy corresponding to each mapping area in the initial light field distribution is updated to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source or the light field energy mapped by the third point light source corresponding to the mapping area.
[0105] Furthermore, the method further comprises:
[0106] When the number of updates of the initial light field distribution reaches a preset number, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0107] It should be noted that after performing the above-mentioned optimization process multiple times, the light field energy distribution will no longer be optimized after reaching saturation of uniformity, and the optimized structural model is obtained based on the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0108] Further, according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, the optimized structural model is obtained, including:
[0109] Adjusting the size of the mapping area according to the target rule to obtain the adjusted size of the mapping area, wherein the target rule includes: reducing the size of the mapping area corresponding to the light field energy mapped by the first point light source by a first size threshold, increasing the size of the mapping area corresponding to the light field energy mapped by the second point light source by a second size threshold, and maintaining the size of the mapping area corresponding to the light field energy mapped by the third point light source;
[0110] According to the size of the preset target surface, the adjusted size is normalized to obtain a target mapping size corresponding to each mapping area;
[0111] The optimized structural model is obtained according to the light field energy mapped by the first point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the second point light source, the light field energy mapped by the third point light source, and the target mapping size of the mapping area corresponding to the light field energy mapped by the third point light source.
[0112] It should be noted that in the LEFA algorithm, when the actual light field energy distribution (initial light field energy distribution) deviates partially from the preset light field energy distribution, the division of the solid angle remains unchanged during the light field energy calculation optimization process, and the solid angle divided by the initial structural model is always maintained. The actual light field energy distribution is calculated and optimized by the light field energy optimization coefficient to obtain a new light field energy distribution. However, since the light field energy distribution is controlled by the grid division on the target surface (each grid corresponds to a mapping area), when the light field energy distribution on the target surface changes, the grid division on the target surface also needs to change, and the calculated structural model is therefore also changed, so a new optimized structural model can be obtained. Specifically, when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, after the initial point light source mapping light field energy of the mapping area is increased by a first preset value to the first point light source mapping light field energy, the size of the mapping area corresponding to the first point light source mapping light field energy is reduced by a first size threshold; when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is reduced by a second preset value to the second point light source mapping light field energy, and the size of the mapping area corresponding to the second point light source mapping light field energy is increased by a second size threshold; when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area, the size of the mapping area is maintained, and the size of the adjusted mapping area is obtained. Among them, the first size threshold and the second size threshold both include the size threshold of each side of the mapping area, that is, when the size of the mapping area is adjusted, the size of each side of the mapping area is adjusted. The first size threshold and the second size threshold can be equal or different, and the specific value can be set according to needs.
[0113] Afterwards, in order to ensure that the size of the preset target surface remains unchanged, the adjusted size is normalized according to the size of the preset target surface to obtain the target mapping size corresponding to each mapping area, and the optimized structural model is obtained according to the point light source mapping light field energy corresponding to each mapping area and the size of the mapping area.
[0114] It should also be noted that after the above-mentioned adjustment of the size of the mapping area, the light field energy of each mapping area may not meet the above-mentioned target conditions. Therefore, it is necessary to optimize the light field energy of the mapping area again, and then adjust the size of the mapping area again so that the light field energy of the point light source in each mapping area is close to E ave , in order to improve the uniformity of the overall light field energy distribution.
[0115] By outputting the structural model obtained by reverse calculation, the optimal structural model with high uniformity of the COB light source chip can be obtained.
[0116] Combine the following Figure 4 , specifically describe the specific process of the light field distribution optimization method provided by the embodiment of the present invention:
[0117] First of all, this light field optimization distribution method is a model optimization adapted to the COB light source chip. Specifically, the initial structure model of the point light source is calculated first, and the COB light source chip is integrated by many point light source arrays. When the point light source array in the COB light source chip is adapted to the initial structure model of the COB light source chip obtained by the point light source, the ideal light field energy distribution will be significantly degraded, and the initial structure model calculated by the point light source cannot meet the COB light source chip. In order to solve the problem of obvious degradation of light field energy in light field energy distribution, the preset light field energy distribution (ideal light field energy distribution) is input, and the initial structure model obtained by point light source calculation is used as the calculation basis. The initial light field energy distribution in the initial structure model is collected, and the LEFA algorithm is used for the initial light field distribution of the COB light source chip to make the degraded light field energy distribution tend to a highly uniform distribution. In this process, it is difficult to achieve a highly uniform light field energy distribution effect only through a few calculation optimizations. If the target conditions are not met, multiple light field energy feedback calculations are often required to make the actual light field energy distribution continuously approach the ideal light field energy distribution. Finally, the uniformity of the calculated light field energy distribution reaches saturation and no longer improves. At this time, the optimal light field energy distribution is obtained, the target conditions are met, and a highly uniform light field energy distribution is obtained. Therefore, the optimized structure model adapted to the COB light source chip is obtained and output.
[0118] The light field distribution optimization method provided by the embodiment of the present invention combines the optical characteristics of the COB light source chip and the energy grid mapping method to realize the rapid calculation of the light field energy distribution structural model. For COB light source chips, it is difficult to control the distribution of the light field using only traditional surfaces. The obtained structural model often has insufficient degrees of freedom and complex calculations, making it difficult to achieve the high uniformity of the light field distribution requirements. The energy grid mapping method is used to quickly calculate a highly uniform light field energy distribution structural model; the energy conservation relationship is used to establish a one-to-one correspondence between the energy grid, reduce the amount of ray tracing and improve the model calculation efficiency. The LEFA algorithm is used to solve the problem of obvious degradation of the light field energy distribution of the COB light source chip, which leads to a decrease in the uniformity of the light field energy distribution. Multiple feedback optimization of the light field energy distribution can improve the uniformity to a certain extent, and can be better adapted to the COB light source chip.
[0119] like Figure 5 As shown, an embodiment of the present invention further provides a light field distribution optimization device, comprising:
[0120] The first acquisition module 501 is used to acquire an initial structural model of a COB optical chip in a chip-on-board package, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface;
[0121] A second acquisition module 502 is used to acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface;
[0122] The first processing module 503 is used to optimize the initial structural model according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
[0123] Optionally, the light field energy includes light intensity and illumination;
[0124] The first acquisition module 501 includes:
[0125] A first processing unit is used to obtain the initial point light source mapping light field energy of the mapping area on the preset target surface through the preset free-form surface, based on the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, wherein the first angle is the angle between the light emitted by the first point light source and the first coordinate axis, the second angle is the angle between the projection of the light emitted by the first point light source on the first plane and the optical axis of the first point light source, the first plane is the plane formed by the optical axis of the first point light source and the second coordinate axis, the target plane is the plane formed by the first coordinate axis and the second coordinate axis, and the first point light source is any point light source in the COB optical chip;
[0126] The second processing unit is used to map the light field energy according to the array of point light sources in the COB optical chip and the initial point light source to obtain the initial structural model of the COB optical chip.
[0127] Optionally, the first processing unit is specifically configured to:
[0128] Obtaining a corresponding relationship between the first angle and the first coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0129] Obtaining a corresponding relationship between the second angle and the second coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0130] According to the correspondence between the first angle and the first coordinate axis, and the correspondence between the second angle and the second coordinate axis, the initial point light source mapping light field energy of the first point light source is obtained by mapping the light field energy of the first point light source to the mapping area on the preset target surface through the preset free surface.
[0131] Optionally, the second acquisition module 502 includes:
[0132] A first acquisition unit is used to acquire the initial point light source mapping light field energy of each point light source in the COB optical chip in the initial light field distribution, which is mapped to the mapping area on the preset target surface through the preset free-form surface;
[0133] A second acquisition unit is used to acquire an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface in the preset light field energy distribution;
[0134] The third processing unit is configured to obtain a light field energy deviation corresponding to the mapping area according to the initial point light source mapping light field energy of the mapping area and the average value.
[0135] Optionally, the first processing module 503 includes:
[0136] A fourth processing unit is configured to increase the initial point light source mapping light field energy of the mapping area by a first preset value to obtain a first point light source mapping light field energy of the mapping area when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than an average value of the preset point light source mapping light field energies of each mapping area on the preset target surface;
[0137] A fifth processing unit is configured to reduce the initial point light source mapping light field energy of the mapping area by a second preset value to obtain a second point light source mapping light field energy of the mapping area when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface;
[0138] A sixth processing unit is configured to use the initial point light source mapping light field energy of the mapping area as the third point light source mapping light field energy of the mapping area when the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target plane is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target plane;
[0139] The seventh processing unit is used to obtain the optimized structural model according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0140] Optionally, the seventh processing unit is specifically configured to:
[0141] When the target condition is met, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area;
[0142] When the target condition is not met, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, and the initial light field distribution is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model until the target condition is met;
[0143] The target conditions include:
[0144] The difference between the light field energy mapped by the first point light source in the mapping area and the average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a first preset difference;
[0145] A difference between the light field energy mapped by the second point light source in the mapping area and an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a second preset difference.
[0146] Optionally, the first processing module 503 further includes:
[0147] An eighth processing unit is used to obtain the optimized structural model according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area when the number of updates of the initial light field distribution reaches a preset number.
[0148] Optionally, the seventh processing unit is specifically configured to:
[0149] Adjusting the size of the mapping area according to the target rule to obtain the adjusted size of the mapping area, wherein the target rule includes: reducing the size of the mapping area corresponding to the light field energy mapped by the first point light source by a first size threshold, increasing the size of the mapping area corresponding to the light field energy mapped by the second point light source by a second size threshold, and maintaining the size of the mapping area corresponding to the light field energy mapped by the third point light source;
[0150] According to the size of the preset target surface, the adjusted size is normalized to obtain a target mapping size corresponding to each mapping area;
[0151] The optimized structural model is obtained according to the light field energy mapped by the first point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the second point light source, the light field energy mapped by the third point light source, and the target mapping size of the mapping area corresponding to the light field energy mapped by the third point light source.
[0152] It should be noted that the light field distribution optimization device described in the embodiment of the present invention is a device capable of executing the above-mentioned light field distribution optimization method, and all embodiments of the above-mentioned light field distribution optimization method are applicable to the device and can achieve the same or similar technical effects.
[0153] like Figure 6 As shown, an embodiment of the present invention further provides a light field distribution optimization device, including: a processor 601; and a memory 603 connected to the processor 601 through a bus interface 602, wherein the memory 603 is used to store programs and data used by the processor 601 when performing operations, and the processor 601 calls and executes the programs and data stored in the memory 603.
[0154] The transceiver 604 is connected to the bus interface 602 and is used to receive and send data under the control of the processor 601. Specifically, the processor 601 is used to read the program in the memory 603. The processor 601 performs the following process:
[0155] Acquire an initial structural model of a chip-on-board packaged COB optical chip, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface;
[0156] Acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface;
[0157] According to the light field energy feedback algorithm LEFA and the light field energy deviation, the initial structural model is optimized to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
[0158] Optionally, the light field energy includes light intensity and illumination;
[0159] The processor 601 is configured to:
[0160] According to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, the initial point light source mapping light field energy of the mapping area on the preset target surface is obtained by mapping the light field energy of the first point light source to the preset target surface through the preset free-form surface, wherein the first angle is the angle between the light emitted by the first point light source and the first coordinate axis, the second angle is the angle between the projection of the light emitted by the first point light source on the first plane and the optical axis of the first point light source, the first plane is the plane formed by the optical axis of the first point light source and the second coordinate axis, the target plane is the plane formed by the first coordinate axis and the second coordinate axis, and the first point light source is any point light source in the COB optical chip;
[0161] The initial structural model of the COB optical chip is obtained according to the array of the point light sources in the COB optical chip and the light field energy mapped by the initial point light source.
[0162] Optionally, the processor 601 is specifically configured to:
[0163] Obtaining a corresponding relationship between the first angle and the first coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0164] Obtaining a corresponding relationship between the second angle and the second coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source;
[0165] According to the correspondence between the first angle and the first coordinate axis, and the correspondence between the second angle and the second coordinate axis, the initial point light source mapping light field energy of the first point light source is obtained by mapping the light field energy of the first point light source to the mapping area on the preset target surface through the preset free surface.
[0166] Optionally, the processor 601 is configured to:
[0167] Acquire the initial point light source mapping light field energy of each point light source in the COB optical chip in the initial light field distribution, which is mapped to the mapping area on the preset target surface through the preset free-form surface;
[0168] Obtaining an average value of light field energy mapped by a preset point light source in each mapping area on the preset target surface in the preset light field energy distribution;
[0169] The light field energy deviation corresponding to the mapping area is obtained according to the initial point light source mapping light field energy of the mapping area and the average value.
[0170] Optionally, the processor 601 is configured to:
[0171] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is increased by a first preset value to obtain the first point light source mapping light field energy of the mapping area;
[0172] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is reduced by a second preset value to obtain a second point light source mapping light field energy of the mapping area;
[0173] When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area;
[0174] The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0175] Optionally, the processor 601 is specifically configured to:
[0176] When the target condition is met, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area;
[0177] When the target condition is not met, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, and the initial light field distribution is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model until the target condition is met;
[0178] The target conditions include:
[0179] The difference between the light field energy mapped by the first point light source in the mapping area and the average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a first preset difference;
[0180] A difference between the light field energy mapped by the second point light source in the mapping area and an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a second preset difference.
[0181] Optionally, the processor 601 is further configured to:
[0182] When the number of updates of the initial light field distribution reaches a preset number, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
[0183] Optionally, the processor 601 is specifically configured to:
[0184] Adjusting the size of the mapping area according to the target rule to obtain the adjusted size of the mapping area, wherein the target rule includes: reducing the size of the mapping area corresponding to the light field energy mapped by the first point light source by a first size threshold, increasing the size of the mapping area corresponding to the light field energy mapped by the second point light source by a second size threshold, and maintaining the size of the mapping area corresponding to the light field energy mapped by the third point light source;
[0185] According to the size of the preset target surface, the adjusted size is normalized to obtain a target mapping size corresponding to each mapping area;
[0186] The optimized structural model is obtained according to the light field energy mapped by the first point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the second point light source, the light field energy mapped by the third point light source, and the target mapping size of the mapping area corresponding to the light field energy mapped by the third point light source.
[0187] Among them, Figure 6In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 601 and memory represented by memory 603. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface 602 provides a user interface 605. The transceiver 604 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 601 when performing operations.
[0188] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in any one of the light field distribution optimization methods described above are implemented.
[0189] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0190] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0191] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0192] A specific embodiment of the present invention further provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0193] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for optimizing light field distribution, characterized in that: include: Acquire an initial structural model of a chip-on-board packaged COB optical chip, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface; Acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface; According to the light field energy feedback algorithm LEFA and the light field energy deviation, the initial structural model is optimized to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
2. The method according to claim 1, characterized in that The light field energy includes light intensity and illumination; Obtain the initial structural model of the COB optical chip on board package, including: According to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, the initial point light source mapping light field energy of the mapping area on the preset target surface is obtained by mapping the light field energy of the first point light source to the preset target surface through the preset free-form surface, wherein the first angle is the angle between the light emitted by the first point light source and the first coordinate axis, the second angle is the angle between the projection of the light emitted by the first point light source on the first plane and the optical axis of the first point light source, the first plane is the plane formed by the optical axis of the first point light source and the second coordinate axis, the target plane is the plane formed by the first coordinate axis and the second coordinate axis, and the first point light source is any point light source in the COB optical chip; The initial structural model of the COB optical chip is obtained according to the array of the point light sources in the COB optical chip and the light field energy mapped by the initial point light source.
3. The method according to claim 2, characterized in that According to the light intensity of the first point light source, the illumination of the first point light source, the size of the first point light source mapped to the preset target surface through the preset free-form surface, the first angle and the second angle, obtaining the initial point light source mapping light field energy of the mapping area where the light field energy of the first point light source is mapped to the preset target surface through the preset free-form surface, including: Obtaining a corresponding relationship between the first angle and the first coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source; Obtaining a corresponding relationship between the second angle and the second coordinate axis according to the light intensity of the first point light source, the first angle, the second angle, the size of the first point light source mapped to the preset target surface through the preset free-form surface, and the illumination of the first point light source; According to the correspondence between the first angle and the first coordinate axis, and the correspondence between the second angle and the second coordinate axis, the initial point light source mapping light field energy of the first point light source is obtained by mapping the light field energy of the first point light source to the mapping area on the preset target surface through the preset free surface.
4. The method according to claim 1, characterized in that: Obtaining a light field energy deviation between the initial light field distribution and a preset light field energy distribution on the preset target surface includes: Acquire the initial point light source mapping light field energy of each point light source in the COB optical chip in the initial light field distribution, which is mapped to the mapping area on the preset target surface through the preset free-form surface; Obtaining an average value of light field energy mapped by a preset point light source in each mapping area on the preset target surface in the preset light field energy distribution; A light field energy deviation corresponding to the mapping area is obtained according to the initial point light source mapping light field energy of the mapping area and the average value.
5. The method according to claim 1, characterized in that According to the light field energy feedback algorithm LEFA and the light field energy deviation, the initial structure model is optimized to obtain an optimized structure model, including: When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is less than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is increased by a first preset value to obtain the first point light source mapping light field energy of the mapping area; When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is greater than the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is reduced by a second preset value to obtain a second point light source mapping light field energy of the mapping area; When the light field energy deviation corresponding to the mapping area indicates that the initial point light source mapping light field energy of the mapping area on the preset target surface is equal to the average value of the preset point light source mapping light field energy of each mapping area on the preset target surface, the initial point light source mapping light field energy of the mapping area is used as the third point light source mapping light field energy of the mapping area; The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
6. The method according to claim 5, characterized in that The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, including: When the target condition is met, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area; When the target condition is not met, the initial light field distribution is updated according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, and the initial light field distribution is optimized according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model until the target condition is met; The target conditions include: The difference between the light field energy mapped by the first point light source in the mapping area and the average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a first preset difference; A difference between the light field energy mapped by the second point light source in the mapping area and an average value of the light field energy mapped by the preset point light source in each mapping area on the preset target surface is less than a second preset difference.
7. The method according to claim 6, characterized in that The method further comprises: When the number of updates of the initial light field distribution reaches a preset number, the optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area.
8. The method according to any one of claims 5 to 7, characterized in that The optimized structural model is obtained according to the light field energy mapped by the first point light source in the mapping area, the light field energy mapped by the second point light source in the mapping area, and the light field energy mapped by the third point light source in the mapping area, including: Adjusting the size of the mapping area according to the target rule to obtain the adjusted size of the mapping area, wherein the target rule includes: reducing the size of the mapping area corresponding to the light field energy mapped by the first point light source by a first size threshold, increasing the size of the mapping area corresponding to the light field energy mapped by the second point light source by a second size threshold, and maintaining the size of the mapping area corresponding to the light field energy mapped by the third point light source; According to the size of the preset target surface, the adjusted size is normalized to obtain a target mapping size corresponding to each mapping area; The optimized structural model is obtained according to the light field energy mapped by the first point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the first point light source, the light field energy mapped by the second point light source, the target mapping size of the mapping area corresponding to the light field energy mapped by the second point light source, the light field energy mapped by the third point light source, and the target mapping size of the mapping area corresponding to the light field energy mapped by the third point light source.
9. A light field distribution optimization device, characterized in that: include: A first acquisition module is used to acquire an initial structural model of a COB optical chip in a chip-on-board package, wherein the initial structural model is used to indicate an initial light field energy distribution of the COB optical chip after the light field energy is mapped to a preset target surface through a preset free-form surface; A second acquisition module, used to acquire a light field energy deviation between the initial light field energy distribution and a preset light field energy distribution on the preset target surface; The first processing module is used to optimize the initial structural model according to the light field energy feedback algorithm LEFA and the light field energy deviation to obtain an optimized structural model, wherein the optimized structural model is used to indicate the optimized light field energy distribution of the COB optical chip after the light field energy is mapped to the preset target surface through the preset free-form surface.
10. A light field distribution optimization device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the method for optimizing light field distribution according to any one of claims 1 to 8 is implemented.
11. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by a processor, the steps in the light field distribution optimization method according to any one of claims 1 to 8 are implemented.
12. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps in the light field distribution optimization method according to any one of claims 1 to 8.
