Search

CN-122018176-A - Lens design method and system for interlayer angle accumulated offset

CN122018176ACN 122018176 ACN122018176 ACN 122018176ACN-122018176-A

Abstract

The invention relates to the technical field of optical lens design, and discloses a lens design method and system for accumulating offset of interlayer angles, wherein the method comprises the steps of constructing polar coordinate layering topological parameters; generating pre-optimized angle coefficients and initial phase sequences of each layer through geometrical shading condition deduction and safety coefficient adjustment, constructing a spiral lattice coordinate set based on a target line density method and polar coordinate rotation transformation, invoking a radial ray collision detection algorithm to evaluate the shading performance, extracting optimized angle coefficients for maximizing corridor shading rate by combining numerical gradient iterative optimization and rational number avoidance strategies, and generating a lens processing coordinate file through smooth transition constraint verification and boundary cutting. The invention can effectively shield the radial vision corridor and improve the night vision quality of the myopia prevention and control lens.

Inventors

  • Di Make
  • ZHU ZHILIN
  • CAI XIAOGU

Assignees

  • 南通诺瞳奕目医疗科技有限公司
  • 诺瞳奕目光学科技(丹阳)有限公司

Dates

Publication Date
20260512
Application Date
20260413

Claims (14)

  1. 1.A lens design method for accumulating offset of interlayer angles, comprising the following steps: s1, acquiring the diameter of an optical area of a lens and the nominal diameter of a microstructure unit, and constructing polar coordinate layering topological parameters through geometric mapping and discretization; s2, aiming at polar coordinate layering topological parameters and microstructure unit diameters, generating pre-optimized angle coefficients and initial phase sequences of all layers through geometric shielding condition deduction and safety coefficient adjustment strategies; s3, fusing pre-optimized angle coefficients, each layer of initial phase sequence and topology parameters, and constructing a spiral lattice coordinate set and each layer of point sequence based on a target line density method and a polar coordinate rotation transformation mechanism; s4, invoking a radial ray collision detection algorithm to evaluate the shielding performance of the spiral lattice, and extracting an optimized angle coefficient and an optimized lattice coordinate set for maximizing the shielding rate of the corridor by combining numerical gradient iterative optimization and rational number avoidance strategies; s5, carrying out smooth transition constraint verification and boundary cutting processing on the optimized angle coefficient, the optimized lattice coordinate set and the point number sequences of each layer to generate a final lens processing coordinate file.
  2. 2. The method for designing a lens according to claim 1, characterized in that the S1 comprises: determining an action area of the microstructure array according to the lens design requirement, setting the minimum radius as the radius of a central bright visual area of the lens, and determining the maximum radius by the diameter of an optical area of the lens; the method comprises the steps of determining the radial step length of an interlayer, determining the radial distance between two adjacent layers of rings according to the radial step length of the interlayer, wherein the radial distance is matched with the radial dimension of the nominal diameter of a microstructure unit, calculating the total number of layers according to the radial range of an array and the radial step length of the interlayer, and calculating the number of reference circumference points according to the circumference of the innermost layer and the nominal diameter of the microstructure unit.
  3. 3. The method for designing a lens according to claim 1, characterized in that S2 comprises: Calculating the angle opening angle of the microstructure unit at the innermost layer, wherein the angle opening angle is determined by the ratio of the arc length dimension of the microstructure unit to the radius of the circular ring where the microstructure unit is positioned, deducing a theoretical minimum offset, and for enabling the microstructure units of two adjacent layers to generate a shielding effect on radial projection, the centers of the upper layer unit and the lower layer unit are staggered in the radial direction by the aid of the inter-layer angle offset, and when the offset reaches half of the angle opening angle of the unit, the two layers of units start to generate effective interleaving; And introducing a safety coefficient, setting the safety coefficient according to the layer number range of the array and the uniformity of the unit size, and calculating an initial angle accumulation coefficient according to the product of the safety coefficient and the theoretical minimum offset.
  4. 4. A lens design method for interlayer angle cumulative shift according to claim 3, wherein said S2 further comprises: the safety coefficient is set in a grading mode according to the number of layers of the array, a first safety coefficient threshold value is set for a large-scale array with a preset first layer number range, a second safety coefficient threshold value is set for a medium-scale array with a preset second layer number range, a third safety coefficient threshold value is set for a small-scale array with a preset third layer number range, the first safety coefficient threshold value is larger than the second safety coefficient threshold value, and the second safety coefficient threshold value is larger than the third safety coefficient threshold value; And generating a starting phase sequence of each layer, wherein the starting phase of the ith layer is equal to the product of the layer index and the pre-optimized angle coefficient.
  5. 5. The method for designing a lens according to claim 1, characterized in that the step S3 comprises: and calculating the target point number of each layer, wherein for the ith layer, in order to enable the linear density of the corresponding layer to be close to the reference line density, the point number required by the corresponding layer is obtained by rounding up according to the product of the reference line density and the circumference of the corresponding layer.
  6. 6. The method for designing a lens according to claim 5, characterized in that S3 further comprises: For the jth point on the ith layer, calculating an angle coordinate of the jth point on a ring of the corresponding layer, wherein the angle coordinate consists of two parts, namely, a basic angle of the corresponding point in a circumference bisection enables the points in the same layer to be uniformly distributed, and the initial phase of the corresponding layer introduces interlayer angle offset; And traversing all layers and all points to generate a complete lattice coordinate set, wherein the lattice coordinate set comprises the total number of points of each layer and coordinate points, and each point comprises Cartesian coordinates and an index of the layer to which the point belongs.
  7. 7. The method for designing a lens according to claim 1, characterized in that S4 comprises: Generating a group of radial rays for shielding detection in a preset angle range by taking the geometric center of the lens as a starting point, wherein the number of the radial rays determines the angle resolution of shielding rate evaluation; for the kth ray and the ith layer, calculating Euclidean distance between the radial position corresponding to the corresponding layer and the center of each unit on the corresponding layer, and judging that the ray is blocked by the corresponding unit on the corresponding layer if the corresponding distance is smaller than the effective shielding radius of the microstructure unit; Counting the number of fully shielded rays, setting a shielding time threshold value to define the minimum shielding time required for judging that the rays are fully shielded, counting the number of rays meeting the shielding time threshold value not smaller than the shielding time threshold value, and calculating the corridor shielding rate, wherein the corridor shielding rate is defined as the proportion of the number of fully shielded rays to the total number of rays.
  8. 8. The method for designing a lens according to claim 7, characterized in that S4 further comprises: setting a target shielding rate, if the current shielding rate is larger than or equal to the target shielding rate, the current angle coefficient meets the requirement, otherwise, starting gradient optimization iteration; initializing iteration parameters, calculating a shielding rate corresponding to a current angle coefficient in each iteration, calculating a gradient through a numerical difference method, and applying a preset disturbance quantity on the basis of the current angle coefficient to calculate the shielding rate after disturbance, wherein the gradient is equal to the difference between the two values divided by the disturbance quantity; and the updated angle coefficient carries out boundary constraint and judges convergence conditions, and if the current shielding rate meets the standard or the angle coefficient change of two adjacent iterations is smaller than a preset convergence threshold or reaches a preset maximum iteration number, the iteration is terminated.
  9. 9. The method for designing a lens according to claim 8, characterized in that S4 further comprises: Performing rational number avoidance test after gradient optimization convergence, when the ratio of the interlayer angle accumulation coefficient to the twice peripheral rate is equal to a simple rational number, the unit positions in the spiral lattice have periodicity, and complete alignment occurs once every a plurality of layers on an angle space to form equidistant radial alignment bands, and the gaps form a visual corridor; If the absolute value of the difference between the ratio of the candidate angle coefficient and the twice of the circumference rate and a certain simple rational number is smaller than or equal to a preset judging threshold, judging that the candidate angle coefficient falls into a rational number neighborhood, applying a preset offset to the candidate angle coefficient, recalculating the shielding rate after the offset, continuing the offset until the candidate angle coefficient still falls into the neighborhood, checking that the difference between the candidate angle coefficient and the twice of the circumference rate and the certain simple rational number is larger than the judging threshold according to the checking standard, and recording the final optimized angle coefficient, the shielding rate corresponding to the optimized angle coefficient and the optimized lattice coordinate set corresponding to the optimized angle coefficient.
  10. 10. The lens design method of claim 8, wherein the setting the target shading rate comprises: And setting the target shielding rate in a grading manner according to the application scene of the lens, setting a first target shielding rate threshold for the application with higher requirement on the night vision scene, and setting a second target shielding rate threshold for the application mainly in daytime, wherein the first target shielding rate threshold is larger than the second target shielding rate threshold.
  11. 11. The lens design method of claim 8, wherein the iterative optimization of the combined numerical gradient to extract the optimized angle coefficients further comprises: and carrying out boundary constraint on the updated angle coefficient, wherein the lower bound of the angle coefficient is determined based on the minimum effective interleaving requirement, the upper bound of the angle coefficient is determined based on the optical area loss limit for avoiding excessive overlapping, and the self-adaptive attenuation is calculated by dividing the current step length by an attenuation factor related to the iteration times according to the initial step length.
  12. 12. The lens design method of claim 1, wherein the smooth transition constraint verification and boundary clipping process comprises: And carrying out boundary mapping of the actual contour of the lens on each coordinate point in the optimized lattice coordinate set, checking whether each coordinate point is positioned in the boundary of the actual contour of the lens, and executing clipping removal processing on the coordinate points beyond the boundary of the actual contour so as to adapt to the non-circular picture frame contour.
  13. 13. The lens design method of claim 1, wherein generating the final lens machining coordinate file further comprises: Optical parameters including addition diopter, surface curvature radius and aspherical coefficients are added to each microstructure unit in the coordinate file to generate a complete processing file which can be directly used for manufacturing links.
  14. 14. A lens design system for interlayer angle cumulative offset for performing the steps in a lens design method for interlayer angle cumulative offset as claimed in any one of claims 1 to 13, comprising: The topological parameter construction module is used for acquiring the diameter of the optical area of the lens and the nominal diameter of the microstructure unit, and constructing polar coordinate layering topological parameters through geometric mapping and discretization; the angle coefficient pre-optimization module is used for generating pre-optimized angle coefficients and initial phase sequences of all layers according to the polar coordinate layering topological parameters and the nominal diameter of the microstructure unit through geometrical shielding condition deduction and safety coefficient adjustment strategies; The spiral lattice construction module is used for fusing the pre-optimized angle coefficient, the initial phase sequence of each layer and the polar coordinate layering topological parameter, and constructing a spiral lattice coordinate set and a point sequence of each layer based on a target line density method and a polar coordinate rotation transformation mechanism; The shielding evaluation and optimization module is used for calling a radial ray collision detection algorithm to evaluate the shielding of the spiral lattice coordinate set, and extracting an optimized angle coefficient and an optimized lattice coordinate set for maximizing the shielding rate of the corridor by combining a numerical gradient iterative optimization and rational number avoidance strategy; and the coordinate file generation module is used for generating a final lens processing coordinate file by performing smooth transition constraint verification and boundary cutting processing on the optimized angle coefficient, the optimized dot matrix coordinate set and the dot sequence of each layer.

Description

Lens design method and system for interlayer angle accumulated offset Technical Field The invention relates to the technical field of optical lens design, in particular to a lens design method and system for accumulating offset of interlayer angles. Background The myopia prevention and control lens realizes peripheral defocus regulation and control by arranging the microstructure array on the surface of the lens, and the lens is widely applied to the teenager myopia prevention and control field. The microstructure array generally adopts a multi-layer circular ring layout, each layer is distributed with different numbers of microstructure units, and the optical performance and visual quality of the lens are directly affected by an interlayer layout mode. The prior art micro-structured array layout scheme mainly includes concentric ring layouts, golden angle arrangements and random layouts. The concentric ring layout has the advantages that all layers of units are aligned strictly in the radial direction to form a radial visual corridor penetrating through the whole array, the golden angle arrangement adopts fixed about 2.4 radians as an interlayer offset angle, the fixed value cannot be adapted for specific layers and unit sizes, and the random layout can break the radial alignment but the uncertainty of unit positions leads to difficulty in ensuring optical uniformity. The technical problems of the prior art are that radial corridors with concentric circle layout generate radial non-uniformity of stray light and visual interference under a night point light source environment, periodic alignment can still occur to form a local visual corridor in a golden angle scheme under specific layer number configuration, and random fluctuation of defocusing signal intensity in different directions is caused by random layout, so that uniformity and stability of myopia prevention and control effects are affected. Disclosure of Invention The invention provides a lens design method and a lens design system for accumulating offset of interlayer angles, which solve the technical problems of night vision interference caused by a radial vision corridor in the related technology and periodical alignment and optical non-uniformity of the existing layout scheme under specific configuration. The invention provides a lens design method for accumulating offset of interlayer angles, which comprises the following steps: s1, acquiring the diameter of an optical area of a lens and the nominal diameter of a microstructure unit, and constructing polar coordinate layering topological parameters through geometric mapping and discretization; s2, aiming at polar coordinate layering topological parameters and microstructure unit diameters, generating pre-optimized angle coefficients and initial phase sequences of all layers through geometric shielding condition deduction and safety coefficient adjustment strategies; s3, fusing pre-optimized angle coefficients, each layer of initial phase sequence and topology parameters, and constructing a spiral lattice coordinate set and each layer of point sequence based on a target line density method and a polar coordinate rotation transformation mechanism; s4, invoking a radial ray collision detection algorithm to evaluate the shielding performance of the spiral lattice, and extracting an optimized angle coefficient and an optimized lattice coordinate set for maximizing the shielding rate of the corridor by combining numerical gradient iterative optimization and rational number avoidance strategies; s5, carrying out smooth transition constraint verification and boundary cutting processing on the optimized angle coefficient, the optimized lattice coordinate set and the point number sequences of each layer to generate a final lens processing coordinate file. In a preferred embodiment, the S1 includes: determining an action area of the microstructure array according to the lens design requirement, setting the minimum radius as the radius of a central bright visual area of the lens, and determining the maximum radius by the diameter of an optical area of the lens; the method comprises the steps of determining the radial step length of an interlayer, determining the radial distance between two adjacent layers of rings according to the radial step length of the interlayer, wherein the radial distance is matched with the radial dimension of the nominal diameter of a microstructure unit, calculating the total number of layers according to the radial range of an array and the radial step length of the interlayer, and calculating the number of reference circumference points according to the circumference of the innermost layer and the nominal diameter of the microstructure unit. In a preferred embodiment, the S2 includes: Calculating the angle opening angle of the microstructure unit at the innermost layer, wherein the angle opening angle is determined by the ratio of the arc length dimension of the microstructure