Optical lens polishing control method and system
By obtaining the lens parameter deviation distribution matrix and merging adjacent regions to ensure the matching of the grinding area, the problem of insufficient lens grinding accuracy in the prior art is solved, and high-precision lens grinding is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-03-31
AI Technical Summary
Existing optical lens polishing control methods cannot guarantee polishing accuracy, resulting in over- or under-polishing in some areas, which affects the optical accuracy of the lens.
By obtaining the deviation distribution matrix of the initial parameters and standard parameters of the entire lens area, pre-division is performed based on multiple constraints, and adjacent areas are merged to ensure the shape regularity and size adaptation of the polishing area, and appropriate polishing parameters are matched for polishing.
This improves the optical precision of the lens, avoids problems such as grinding path deviation and inability to grind areas that are too small, and enhances the accuracy and efficiency of grinding.
Smart Images

Figure CN121756237A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical lens technology, and in particular to an optical lens polishing control method and system. Background Technology
[0002] In the field of optics, lenses, as core optical components, directly determine key indicators such as imaging quality and light transmission performance of optical systems due to their surface precision. They are widely used in many important fields, including eyewear manufacturing, camera lenses, semiconductor lithography equipment, and medical devices. With the continuous improvement of optical performance requirements from downstream industries, the precision and efficiency of lens polishing processes have become a core focus of industry attention. The core objective of lens polishing is to remove excess material from the lens surface so that the final geometric parameters of the lens (such as radius of curvature, surface roughness, and thickness) meet preset standard requirements, thereby ensuring the normal realization of its optical functions.
[0003] Currently, parameter matching and zoned grinding are core processes in mainstream lens polishing. Before starting the polishing operation, workers need to obtain the initial parameters of the lens (including data such as curvature, thickness deviation, and surface flatness of different areas) using professional testing equipment, and then compare these initial parameters with preset standard parameters one by one. Based on the comparison results, the system will further determine the corresponding polishing parameters for each area, such as polishing pressure, polishing speed, polishing path, and the thickness of material to be removed. The reason for adopting zoned grinding is that during the lens forming process, the initial parameters of different areas often vary significantly due to various factors such as mold precision, uneven material shrinkage, and processing errors. If uniform polishing parameters are used for overall processing, it is easy to cause over-polishing or under-polishing in some areas, failing to meet the high precision requirements of the lens.
[0004] However, existing zoned polishing solutions still face significant technical bottlenecks in practical applications. Current zone division methods are primarily based on preset intervals of standard parameters or simple clustering of initial lens parameters. This division logic easily leads to two key problems: first, the divided polishing areas are irregularly shaped, with some areas exhibiting complex, irregular structures; second, some divided areas are too small, even smaller than the minimum fit size of conventional polishing tools. Both of these situations directly affect the polishing operation's effectiveness: on the one hand, for irregularly shaped areas, the polishing tool struggles to precisely fit the lens surface, causing polishing path deviation and compromising the accuracy of zoned polishing, thus affecting the final optical precision of the lens; on the other hand, for excessively small areas, targeted polishing is impossible. Therefore, current polishing control methods cannot guarantee polishing accuracy. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide an optical lens polishing control method and system, which aims to solve the problem that the existing optical lens polishing control methods cannot guarantee polishing accuracy.
[0006] This invention provides a method for controlling the polishing of optical lenses, the method comprising: The initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens are obtained respectively. The initial parameters of the entire region are compared with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region. Based on the parameter deviation distribution matrix, the lens is pre-divided into several initial grinding areas according to preset rules under multiple constraints. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is compatible with the grinding head, and the size of the initial grinding area being no less than the minimum compatible size of the grinding tool. The dimensions of each initial grinding area are checked. If there is an initial grinding area whose size is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and the final grinding area division result is obtained. Based on the final grinding area division results, the corresponding grinding parameters are matched based on the parameter data of each grinding area, and the grinding area is then ground using the corresponding grinding parameters.
[0007] Furthermore, in the aforementioned optical lens polishing control method, before the step of pre-dividing the lens into several initial polishing areas according to a preset rule under multiple constraints based on the parameter deviation distribution matrix, the method further includes: Obtain the model parameters of the grinding tool, which should include at least the grinding head diameter, the limit range of the grinding trajectory, and the effective grinding area. Based on the model parameters of the grinding tool, determine the appropriate regular geometric shape type and the minimum fit size of the grinding tool, set the minimum specification threshold for each regular geometric shape, and build a grinding head fit shape library containing different shapes and specifications. Based on the model parameters of the current grinding tool, the corresponding regular geometric shape for the grinding head is found in the grinding head adapter shape library.
[0008] Furthermore, in the aforementioned optical lens polishing control method, the step of merging and adjusting adjacent initial polishing areas based on parameter deviation similarity includes: Calculate the parameter deviation similarity coefficient between adjacent initial polishing areas. The parameter deviation similarity coefficient is obtained by weighted calculation based on the difference in curvature deviation, thickness deviation, and surface flatness deviation between the two areas. According to the parameter deviation similarity coefficient from high to low, adjacent initial grinding areas are selected sequentially for merging simulation to obtain the shape and size of the merged area; Verify whether the size of the merged area meets the requirement of not being smaller than the minimum fit size of the grinding tool. If it does, the merging of the adjacent areas in this group is completed. If it does not, continue to select the next group of adjacent initial grinding areas for merging simulation until the size of all grinding areas meets the requirements.
[0009] Furthermore, in the aforementioned optical lens polishing control method, the step of pre-dividing the lens into several initial polishing areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix, wherein the multiple constraints at least include the initial polishing area having a regular geometric shape adapted to the polishing head and the initial polishing area having a size not less than the minimum adapted size of the polishing tool, includes: Based on the regular geometric shape of the grinding head, the optical lens is divided into a geometric grid according to preset rules to form a basic geometric grid; The parameter deviation distribution matrix is mapped onto the basic geometric grid. The average deviation value in each grid cell is calculated. High deviation grid cells with average deviation values exceeding the preset deviation threshold are selected, and the corresponding position coordinates and contour range are recorded. The geometric dilation algorithm is used to expand the contour of high deviation grid cells. If the expanded contours of adjacent high deviation grid cells overlap after expansion, they are merged into a composite region. The contour of the composite region is composed of the outer contour envelope of each overlapping grid cell, and the envelope is a combination of regular geometric shapes that are adapted to the grinding head. For low-deviation mesh cells that do not exceed the deviation threshold, their original basic mesh division shape is retained. If a single low-deviation mesh cell is surrounded by multiple high-deviation composite regions, the low-deviation mesh cell is assigned to the high-deviation composite region with the closest adjacent deviation value, ensuring that all division regions are continuous regular geometric shapes or combinations thereof.
[0010] Furthermore, in the aforementioned optical lens polishing control method, the step of dividing the optical lens into a geometric grid according to a preset rule based on the regular geometric shape adapted to the polishing head to form a basic geometric grid includes: Based on the regular geometric shape of the grinding head, a corresponding preset coordinate system is established with the preset point on the optical lens as the origin, and several sets of equally spaced dividing lines are set. The spacing of the dividing lines is calculated and determined based on the minimum fit size of the grinding tool. The optical lens is geometrically meshed based on the dividing lines to obtain the basic geometric mesh.
[0011] Furthermore, in the aforementioned optical lens polishing control method, the step of establishing a preset coordinate system corresponding to a preset point on the optical lens as the origin based on the regular geometric shape adapted to the polishing head, and setting several sets of equally spaced dividing lines includes: If the shape of the grinding head is a circle or a regular polygon, then a polar coordinate system is constructed with the geometric center of the optical lens as the origin, and several sets of equally spaced concentric rings and radial dividing lines are set to form a basic geometric grid of polar coordinates. If the adapted shape is a rectangle, square, or other non-polar coordinate adapted shape, then a rectangular coordinate system is constructed with the lower left corner vertex of the optical lens as the origin, and several sets of equally spaced horizontal and vertical dividing lines are set to form a basic geometric grid of rectangular coordinates. The spacing between the dividing lines and the included angle of the radial dividing lines in polar coordinates are both calculated and determined based on the minimum fit size of the grinding tool.
[0012] Furthermore, in the aforementioned optical lens polishing control method, the step of pre-dividing the lens into several initial polishing areas according to a preset rule under multiple constraints based on the parameter deviation distribution matrix further includes: Based on the global distribution characteristics of each region in the parameter deviation distribution matrix, a machine learning model is used to extract features of curvature deviation, thickness deviation, and surface flatness deviation, generating a dynamic weight matrix that reflects the degree of influence of each parameter on the polishing difficulty; wherein, the machine learning model is trained on a historical polishing dataset, and the training data includes feedback on the actual polishing effect under different parameter combinations. The weighted parameter deviation matrix is obtained by performing an element-wise multiplication operation between the parameter deviation distribution matrix and the dynamic weight matrix; the weighting operation formula is as follows: ; in, The first element in the weighted parameter deviation matrix i Line 1 j Column elements, For the first Dynamic weights of class parameters This represents the deviation value at the corresponding position in the original parameter deviation matrix; Using the weighted parameter deviation matrix as input, a multi-objective particle swarm optimization algorithm is employed to initially divide the lens region; the optimization objectives include: Minimize the standard deviation of the weighted parameter bias in each region; Maximize the ratio of the area of each region to the minimum fit size of the polishing tool; Constrain the shape of each region to a regular geometric shape that is compatible with the grinding head; The fitness function of the MOPSO algorithm is defined as follows:
[0013] in, , , These are the weighting coefficients. Standard deviation, For the area, For the minimum fit size, This is a penalty for shape violations; Based on the optimization results of the MOPSO algorithm, an initial set of grinding regions that satisfies multiple constraints is generated.
[0014] Another object of the present invention is to provide an optical lens polishing control system, the system comprising: The acquisition module is used to acquire the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens, and compare the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region. The constraint module is used to pre-divide the lens into several initial grinding areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is compatible with the grinding head, and the size of the initial grinding area being not less than the minimum compatible size of the grinding tool. The verification module is used to verify the size of each initial grinding area. If there is an initial grinding area size that is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and the final grinding area division result is obtained. The polishing module is used to match the corresponding polishing parameters based on the parameter data of each polishing area according to the final polishing area division results, and then polish the polishing area according to the corresponding polishing parameters.
[0015] Another object of the present invention is to provide a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0016] Another object of the present invention is to provide an electronic device including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of the method described above.
[0017] This invention obtains the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of a standard optical lens, respectively. The initial parameters are compared with the standard parameters to obtain a parameter deviation distribution matrix for each region. Based on the parameter deviation distribution matrix, the lens is pre-divided into several initial polishing regions under multiple constraints and preset rules. These constraints include at least the shape of the initial polishing region being a regular geometric shape suitable for the polishing head, and the size of the initial polishing region being no less than the minimum suitable size of the polishing tool. The size of each initial polishing region is verified. If any initial polishing region is smaller than the minimum suitable size of the polishing tool, adjacent initial polishing regions are merged and adjusted based on parameter deviation similarity until all adjusted polishing region sizes meet the requirement of being no less than the minimum suitable size of the polishing tool, resulting in the final polishing region division. Based on the final polishing region division, corresponding polishing parameters are matched to the parameter data corresponding to each polishing region, and the region is polished using these parameters. This solution avoids the problems of irregularly shaped grinding areas, difficulty in precisely fitting grinding tools to the lens surface leading to grinding path deviation, and insufficient size of the divided areas for targeted grinding found in existing partitioned grinding schemes. Ultimately, it ensures the accuracy of partitioned grinding, improves the final optical precision of the lens, and solves the problem of insufficient control precision in optical lens grinding in existing technologies. Attached Figure Description
[0018] Figure 1 This is a flowchart of the optical lens polishing control method in the first embodiment of the present invention; Figure 2 This is a structural block diagram of the optical lens polishing control system in the third embodiment of the present invention.
[0019] The following detailed description, in conjunction with the accompanying drawings, will further illustrate the present invention. Detailed Implementation
[0020] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Several embodiments of the invention are illustrated in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
[0021] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there may be an intervening component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there may be an intervening component. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.
[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0023] Example 1 Please see Figure 1 The figure shows an optical lens polishing control method in the first embodiment of the present invention, the method including steps S10 to S13.
[0024] Step S10: Obtain the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens. Compare the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region.
[0025] The process involves acquiring the initial parameters of the entire area of the optical lens to be polished and the standard parameters of the entire area of a standard optical lens. The initial parameters are then compared with the standard parameters to obtain the parameter deviation distribution matrix for each area. The initial parameters refer to the key performance parameters of the entire effective optical surface of the lens to be polished, including but not limited to curvature, thickness, surface flatness, and refractive index uniformity at various points. These parameters can be acquired using high-precision measuring equipment such as interferometers, laser thickness gauges, and atomic force microscopes. For example, an interferometer can be used to scan the lens surface to obtain curvature data at points spaced 10 micrometers apart. The standard parameters are the ideal parameter standards used in the design of this lens model, output by optical design software or specified by industry standards.
[0026] The comparison process involves calculating the difference between the initial parameters and the standard parameters at corresponding points, and then arranging these differences into a matrix according to the spatial position of the lens, namely the parameter deviation distribution matrix. This matrix can intuitively present the magnitude and distribution pattern of the deviation in each region of the lens, providing a data basis for subsequent region division.
[0027] Step S11: Based on the parameter deviation distribution matrix, the lens is pre-divided into several initial polishing areas according to preset rules under multiple constraints. The multiple constraints include at least the shape of the initial polishing area being a regular geometric shape that is compatible with the polishing head, and the size of the initial polishing area being not less than the minimum compatible size of the polishing tool.
[0028] Secondly, based on the parameter deviation distribution matrix, the lens is pre-divided into several initial grinding areas according to preset rules under multiple constraints. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is compatible with the grinding head, and the size of the initial grinding area being no less than the minimum compatible size of the grinding tool.
[0029] Preset rules typically involve clustering based on the magnitude of deviation. For example, consecutive areas with deviation values within the same range are grouped into an initial polishing area. The geometric shape of the polishing head's fit needs to be determined based on the actual polishing tool used. If the polishing head is round, the initial area can be round, fan-shaped, etc. If it is a square polishing head, the initial area can be square, rectangular, etc. This is because irregular shapes can lead to insufficient contact between the polishing head and the area, resulting in polishing dead corners. The minimum fit size of the polishing tool refers to the minimum area size in which the polishing head can effectively perform the polishing action. For example, for a round polishing head with a diameter of 5 mm, the minimum fit size is usually a diameter of 5 mm. If the initial area size is smaller than this value, the polishing head cannot completely cover the area, resulting in incomplete polishing.
[0030] In addition, in some optional embodiments of the present invention, the step of pre-dividing the lens into several initial polishing areas according to a preset rule under multiple constraints based on the parameter deviation distribution matrix further includes: Obtain the model parameters of the grinding tool, which should include at least the grinding head diameter, the limit range of the grinding trajectory, and the effective grinding area. Based on the model parameters of the grinding tool, determine the appropriate regular geometric shape type and the minimum fit size of the grinding tool, set the minimum specification threshold for each regular geometric shape, and build a grinding head fit shape library containing different shapes and specifications. Based on the model parameters of the current grinding tool, the corresponding regular geometric shape for the grinding head is found in the grinding head adapter shape library.
[0031] First, obtain the model parameters of the polishing tool. These parameters should include at least the polishing head diameter, the maximum range of the polishing trajectory, and the effective polishing area. The polishing head diameter directly determines the minimum compatible size and basic specifications of the compatible shape of the polishing tool. For example, an 8mm diameter round polishing head and a 5mm diameter polishing head will have different compatible area sizes and shape details. The maximum range of the polishing trajectory refers to the maximum space that the polishing head can reach on the lens surface. For example, for some lenses with special edges, the polishing head may not be able to reach the very edge, and this parameter will affect the division of the edge area. The effective polishing area refers to the actual area that the polishing head can perform polishing, not the total area of the polishing head. For example, if there is wear on the edge of the polishing head, the effective polishing area will be smaller than the actual area, and an accurate value needs to be obtained through calibration.
[0032] Secondly, based on the model parameters of the grinding tool, the appropriate regular geometric shape type is determined, and the minimum fit size of the grinding tool is also determined. Minimum specification thresholds are set for each regular geometric shape, and a grinding head fit shape library containing different shapes and specifications is constructed. The appropriate regular geometric shape type is determined by the shape of the grinding head; for example, a round grinding head fits round, fan-shaped, and other geometric shapes, while a square grinding head fits square, rectangular, and other geometric shapes. The minimum fit size is determined by both the grinding head diameter and the effective grinding area. For example, the minimum fit size of a round grinding head is usually set to its effective grinding diameter to ensure that the grinding head can completely cover the area and function effectively. The minimum specification threshold for each regular geometric shape is the minimum size standard for the corresponding shape; for example, the minimum specification threshold for a round shape is the minimum fit diameter, and for a square shape, it is the minimum fit side length.
[0033] The grinding head adapter shape library is a database that organizes and stores the adapter shapes and specification thresholds corresponding to different models of grinding tools. For example, the library will record that the adapter shape corresponding to model A (round, diameter 5 mm) is round or fan-shaped, and the minimum specification threshold is a diameter of 5 mm; the adapter shape corresponding to model B (square, side length 6 mm) is square or rectangle, and the minimum specification threshold is a side length of 6 mm, etc.
[0034] Finally, based on the model parameters of the current grinding tool, the corresponding regular geometric shape compatible with the grinding head is found from the grinding head adapter shape library. This step matches the currently used grinding tool model with the records in the shape library, quickly locating the regular geometric shape suitable for the tool. For example, if the current grinding tool is model A, the library can directly find two compatible shapes: circle and sector, without the need for redesign.
[0035] Step S12: Perform size verification on each initial grinding area. If there is an initial grinding area size smaller than the minimum fit size of the grinding tool, then merge and adjust adjacent initial grinding areas based on parameter deviation similarity until all adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and obtain the final grinding area division result.
[0036] In this process, the dimensions of each initial grinding area are checked. If there is an initial grinding area whose size is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, thus obtaining the final grinding area division result.
[0037] Dimensional verification involves checking the key dimensions of each initial area one by one; for example, checking the diameter of a circular area and the side length of a square area. Parameter deviation similarity refers to the degree of similarity in the type and magnitude of deviations between adjacent areas. For example, if two adjacent areas both have curvature deviations with deviation values of 0.01 and 0.012 respectively, their similarity is high, and merging them will not result in mismatched grinding parameters due to excessive deviation differences. When merging and adjusting, adjacent areas with high similarity should be merged first to avoid excessive fluctuations in deviations within the merged area, ensuring the applicability of subsequent grinding parameters.
[0038] Specifically, the step of merging and adjusting adjacent initial polishing areas based on parameter deviation similarity includes: Calculate the parameter deviation similarity coefficient between adjacent initial polishing areas. The parameter deviation similarity coefficient is obtained by weighted calculation based on the difference in curvature deviation, thickness deviation, and surface flatness deviation between the two areas. According to the parameter deviation similarity coefficient from high to low, adjacent initial grinding areas are selected sequentially for merging simulation to obtain the shape and size of the merged area; Verify whether the size of the merged area meets the requirement of not being smaller than the minimum fit size of the grinding tool. If it does, the merging of the adjacent areas in this group is completed. If it does not, continue to select the next group of adjacent initial grinding areas for merging simulation until the size of all grinding areas meets the requirements.
[0039] The calculation involves determining the parameter deviation similarity coefficient between adjacent initial polishing areas. This coefficient is calculated by weighting the differences in curvature deviation, thickness deviation, and surface flatness deviation between the two areas. Curvature, thickness, and surface flatness are the three most critical parameters in optical lens polishing, and their deviations directly determine the polishing difficulty and required parameters. The weighted calculation assigns different weights to each parameter based on its impact on the polishing effect. For example, curvature deviation has the greatest impact on lens optical performance, so its weight can be set to 0.5; thickness deviation has a weight of 0.3; and surface flatness deviation has a weight of 0.2. The deviation differences of the corresponding parameters in the two areas are then multiplied by their respective weights and summed. The result, after normalization, becomes the parameter deviation similarity coefficient. The closer the coefficient is to 1, the more similar the deviations of the two areas are.
[0040] Secondly, adjacent initial polishing areas are selected sequentially for merging simulation according to the parameter deviation similarity coefficient from high to low, to obtain the shape and size of the merged area. The merging simulation uses optical design software or polishing control software to virtually merge two selected adjacent areas, calculating the outline and key dimensions of the merged area. For example, merging two adjacent fan-shaped areas may form a larger fan-shaped or semi-circular area, and merging two adjacent rectangular areas may form a larger rectangular area. Areas with high similarity coefficients are prioritized for merging because these areas have similar deviations, resulting in smaller deviation fluctuations within the merged area, making it easier to match unified polishing parameters. For example, areas with a similarity coefficient of 0.92 are prioritized for merging simulation over areas with a similarity coefficient of 0.7.
[0041] Finally, verify whether the size of the merged area meets the requirement of not being smaller than the minimum fit size of the grinding tool. If it does, the merging of the adjacent areas in this group is completed. If it does not, continue to select the next group of adjacent initial grinding areas for merging simulation until the size of all grinding areas meets the requirements.
[0042] Step S13: Based on the final grinding area division result, match the corresponding grinding parameters based on the parameter data corresponding to each grinding area, and grind the grinding area using the corresponding grinding parameters.
[0043] Based on the final grinding area division, corresponding grinding parameters are matched to the parameter data for each grinding area, and then the area is ground using these parameters. These parameters include grinding pressure, grinding speed, grinding time, and grinding media type. For example, areas with larger deviations can be matched with higher grinding pressure and longer grinding times, while areas with smaller deviations use gentler grinding parameters to avoid over-grinding and damaging the lens surface. The beneficial effect of this step is to achieve differentiated grinding, significantly improve grinding accuracy and efficiency, and reduce the risk of damage to the lens surface.
[0044] In summary, the optical lens polishing control method in the above embodiments of the present invention obtains the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens, respectively, compares the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region; based on the parameter deviation distribution matrix, the lens is pre-divided into several initial polishing regions according to preset rules under multiple constraints, the multiple constraints include at least the shape of the initial polishing region being a regular geometric shape adapted to the polishing head, and the size of the initial polishing region not being less than the minimum adapted size of the polishing tool; the size of each initial polishing region is checked, if there is a case where the size of an initial polishing region is less than the minimum adapted size of the polishing tool, then adjacent initial polishing regions are merged and adjusted based on the parameter deviation similarity until the size of all adjusted polishing regions meets the requirement of not being less than the minimum adapted size of the polishing tool, to obtain the final polishing region division result; according to the final polishing region division result, the corresponding polishing parameters are matched based on the parameter data corresponding to each polishing region, and the polishing region is polished using the corresponding polishing parameters. This solution avoids the problems of irregularly shaped grinding areas, difficulty in precisely fitting grinding tools to the lens surface leading to grinding path deviation, and insufficient size of the divided areas for targeted grinding found in existing partitioned grinding schemes. Ultimately, it ensures the accuracy of partitioned grinding, improves the final optical precision of the lens, and solves the problem of insufficient control precision in optical lens grinding in existing technologies.
[0045] Example 2 This embodiment also proposes an optical lens polishing control method. The difference between the optical lens polishing control method in this embodiment and the optical lens polishing control method in Embodiment 1 is as follows: The step of pre-dividing the lens into several initial polishing areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix, wherein the multiple constraints include at least the shape of the initial polishing area being a regular geometric shape adapted to the polishing head, and the size of the initial polishing area being not less than the minimum adapted size of the polishing tool, includes: Based on the regular geometric shape of the grinding head, the optical lens is divided into a geometric grid according to preset rules to form a basic geometric grid; The parameter deviation distribution matrix is mapped onto the basic geometric grid. The average deviation value in each grid cell is calculated. High deviation grid cells with average deviation values exceeding the preset deviation threshold are selected, and the corresponding position coordinates and contour range are recorded. The geometric dilation algorithm is used to expand the contour of high deviation grid cells. If the expanded contours of adjacent high deviation grid cells overlap after expansion, they are merged into a composite region. The contour of the composite region is composed of the outer contour envelope of each overlapping grid cell, and the envelope is a combination of regular geometric shapes that are adapted to the grinding head. For low-deviation mesh cells that do not exceed the deviation threshold, their original basic mesh division shape is retained. If a single low-deviation mesh cell is surrounded by multiple high-deviation composite regions, the low-deviation mesh cell is assigned to the high-deviation composite region with the closest adjacent deviation value, ensuring that all division regions are continuous regular geometric shapes or combinations thereof.
[0046] The process involves dividing the optical lens into a basic geometric grid based on the regular geometric shape of the grinding head and a preset rule. The regular geometric shape of the grinding head is matched from a built shape library; for example, the matching shape for a circular grinding head is a circle. The preset rule is a grid division standard based on this shape, such as dividing the lens into multiple circular or fan-shaped grids of the same size at equal intervals. The basic geometric grid is a grid structure covering the entire effective optical surface of the lens. Each grid unit is a regular geometric shape that matches the grinding head; for example, the basic geometric grid for a circular grinding head can be multiple fan-shaped grids of equal diameter, while the basic geometric grid for a square grinding head can be multiple rectangular grids of equal side length.
[0047] Secondly, the parameter deviation distribution matrix is mapped onto the basic geometric grid. The average deviation value within each grid cell is calculated, and high-deviation grid cells with average deviation values exceeding a preset deviation threshold are selected. The corresponding position coordinates and contour range are recorded. The mapping of the parameter deviation distribution matrix involves mapping the deviation value of each point in the matrix to each grid cell of the basic geometric grid. For example, if the deviation value of a certain point in the matrix corresponds to grid cell A, then that value is included in the deviation statistics of grid cell A. The average deviation value within each grid cell is obtained by summing the deviation values of all points in the cell and dividing by the number of points. The preset deviation threshold is set according to the precision requirements of the lens. For example, the deviation threshold for high-precision lenses can be set to 0.01. Grid cells exceeding this value are considered high-deviation grid cells, and these cells are areas that require special attention during polishing. Recording the position coordinates and contour range is for subsequent precise processing of high-deviation areas. For example, the coordinates are used to locate the specific position of the high-deviation grid cell, and the contour range is used to determine its spatial size.
[0048] Next, a geometric expansion algorithm is used to expand the contours of high-deviation mesh cells. If the expanded contours of adjacent high-deviation mesh cells overlap after expansion, they are merged into a composite region. The contour of the composite region is formed by the outer contour envelopes of the overlapping mesh cells, and this envelope is a combination of regular geometric shapes adapted to the grinding head. The geometric expansion algorithm refers to expanding the contours of high-deviation mesh cells outward by a certain distance. The expansion distance is usually determined according to the minimum fit size of the grinding tool, such as expanding by 2 mm, to avoid the high-deviation areas being too scattered. If the contours of adjacent high-deviation mesh cells overlap after expansion, it indicates that the deviation ranges of these areas are related, and they are merged into a composite region. The outer contour of the composite region is the envelope formed by wrapping the contours of all overlapping mesh cells, and this envelope is composed of regular geometric shapes adapted to the grinding head. For example, after merging two overlapping circular mesh cells, the envelope can be a larger circle.
[0049] Finally, for low-deviation mesh cells that do not exceed the deviation threshold, their original basic mesh division shape is retained. If a single low-deviation mesh cell is surrounded by multiple high-deviation composite regions, the low-deviation mesh cell is assigned to the high-deviation composite region with the closest adjacent deviation value, ensuring that all divided regions are continuous regular geometric shapes or combinations thereof. Low-deviation mesh cells have small deviations and do not require special polishing; retaining the original mesh shape reduces unnecessary region merging operations. If a single low-deviation mesh cell is surrounded by multiple high-deviation composite regions, such as three circular composite regions, the cell is in an isolated state. If treated as a separate region, it may be too small to be processed by the polishing tool. Therefore, it is assigned to the composite region with the closest adjacent deviation value. For example, if the average deviation value of the low-deviation cell is 0.008, the average deviation value of adjacent composite region A is 0.012, composite region B is 0.02, and composite region C is 0.015, then it is assigned to composite region A.
[0050] Furthermore, the step of dividing the optical lens into a geometric grid according to preset rules based on the regular geometric shape adapted to the grinding head to form a basic geometric grid includes: Based on the regular geometric shape of the grinding head, a corresponding preset coordinate system is established with the preset point on the optical lens as the origin, and several sets of equally spaced dividing lines are set. The spacing of the dividing lines is calculated and determined based on the minimum fit size of the grinding tool. The optical lens is geometrically meshed based on the dividing lines to obtain the basic geometric mesh.
[0051] This paper clarifies the specific implementation methods for establishing a coordinate system and setting dividing lines based on the adapted shape. It solves the problem of mesh mismatch between the mesh and the grinding tool caused by unreasonable coordinate system selection and unscientific dividing line spacing in traditional mesh generation, improving the standardization and adaptability of the basic geometric mesh generation. Specifically, based on the regular geometric shape adapted to the grinding head, corresponding preset coordinate systems are established with preset points on the optical lens as origins. Several sets of equally spaced dividing lines are set. The spacing of the dividing lines is determined based on the minimum adapted size of the grinding tool. The preset points are the origin positions set according to the geometric characteristics of the lens. The dividing lines are the baselines used for mesh generation. The equal spacing ensures consistent mesh unit size. The spacing of the dividing lines needs to be calculated based on the minimum adapted size of the grinding tool. Geometric mesh generation of the optical lens is performed based on the dividing lines to obtain the basic geometric mesh. For example, the intersection of concentric ring dividing lines and radial dividing lines in the polar coordinate system forms multiple fan-shaped mesh units; the intersection of horizontal and vertical dividing lines in the rectangular coordinate system forms multiple rectangular mesh units. The division process can be completed automatically by design software. The software automatically generates a basic geometric grid covering the entire effective optical surface of the lens based on the set coordinate system and dividing line parameters.
[0052] For example, if the shape of the grinding head is a circle or a regular polygon, a polar coordinate system is constructed with the geometric center of the optical lens as the origin, and several sets of equally spaced concentric rings and radial dividing lines are set to form a basic geometric grid of polar coordinates. If the adapted shape is a rectangle, square, or other non-polar coordinate adapted shape, then a rectangular coordinate system is constructed with the lower left corner vertex of the optical lens as the origin, and several sets of equally spaced horizontal and vertical dividing lines are set to form a basic geometric grid of rectangular coordinates. The spacing between the dividing lines and the included angle of the radial dividing lines in polar coordinates are both calculated and determined based on the minimum fit size of the grinding tool.
[0053] If the grinding head's fitting shape is circular or a regular polygon, a polar coordinate system is constructed with the geometric center of the optical lens as the origin. Several sets of equally spaced concentric rings and radial dividing lines are set to form the basic geometric grid of the polar coordinate system. The circular or regular polygonal fitting shape closely matches the radial and circumferential characteristics of the polar coordinate system. With the lens's geometric center as the origin, it ensures that the grid cells are evenly distributed with the center as the reference, making it suitable for processing circular or near-circular optical lenses. The concentric ring dividing lines are equally spaced rings distributed radially, and the radial dividing lines are straight lines with equal included angles extending from the center to the edge. The grid cells formed by their intersection are fan-shaped, and the size of the fan is determined by the spacing of the concentric rings and the included angle of the radial dividing lines. If the adapted shape is a rectangle, square, or other non-polar coordinate adapted shape, a Cartesian coordinate system is constructed with the lower left corner vertex of the optical lens as the origin. Several sets of equally spaced horizontal and vertical dividing lines are set to form the basic geometric grid of the Cartesian coordinate system. Rectangular and square shapes are adapted to the x-axis and y-axis features of the Cartesian coordinate system. With the lower left corner vertex of the lens as the origin, it is convenient to locate the grid cells at the edge of the lens, which is suitable for processing rectangular or square optical lenses. The horizontal dividing lines are equally spaced straight lines distributed in the horizontal direction, and the vertical dividing lines are equally spaced straight lines distributed in the vertical direction. The grid cells formed by the intersection of the two are rectangular or square, and their size is determined by the spacing of the horizontal and vertical dividing lines.
[0054] Furthermore, in some optional embodiments of the present invention, the step of pre-dividing the lens into several initial polishing areas according to a preset rule under multiple constraints based on the parameter deviation distribution matrix further includes: Based on the global distribution characteristics of each region in the parameter deviation distribution matrix, a machine learning model is used to extract features of curvature deviation, thickness deviation, and surface flatness deviation, generating a dynamic weight matrix that reflects the degree of influence of each parameter on the polishing difficulty; wherein, the machine learning model is trained on a historical polishing dataset, and the training data includes feedback on the actual polishing effect under different parameter combinations. The weighted parameter deviation matrix is obtained by performing an element-wise multiplication operation between the parameter deviation distribution matrix and the dynamic weight matrix; the weighting operation formula is as follows: ; in, The first element in the weighted parameter deviation matrix i Line 1 j Column elements, For the first Dynamic weights of class parameters This represents the deviation value at the corresponding position in the original parameter deviation matrix; Using the weighted parameter deviation matrix as input, a multi-objective particle swarm optimization algorithm is employed to initially divide the lens region; the optimization objectives include: Minimize the standard deviation of the weighted parameter bias in each region; Maximize the ratio of the area of each region to the minimum fit size of the polishing tool; Constrain the shape of each region to a regular geometric shape that is compatible with the grinding head; The fitness function of the MOPSO algorithm is defined as follows:
[0055] in, , , These are the weighting coefficients. Standard deviation, For the area, For the minimum fit size, This is a penalty for shape violations; Based on the optimization results of the MOPSO algorithm, an initial set of grinding regions that satisfies multiple constraints is generated.
[0056] By introducing machine learning models and multi-objective particle swarm optimization algorithms, intelligent and optimized grinding area division is achieved. This solves the problems of traditional pre-defined rule division, which cannot dynamically adapt to different deviation distributions and whose division results cannot meet multiple objective requirements, significantly improving the accuracy and scientific nature of the initial grinding area division. Based on the global distribution characteristics of each region in the parameter deviation distribution matrix, machine learning models are used to extract features of curvature deviation, thickness deviation, and surface flatness deviation, generating a dynamic weight matrix that reflects the influence of each parameter on the grinding difficulty. The deviation values of each parameter are weighted by dynamic weights, highlighting the deviation contribution of parameters that have a greater impact on the grinding difficulty. Finally, using the weighted parameter deviation matrix as input, the multi-objective particle swarm optimization algorithm is used to perform initial region division of the lens. The optimization objectives include minimizing the standard deviation of the weighted parameter deviation in each region, maximizing the ratio of the area of each region to the minimum fit size of the grinding tool, and constraining the shape of each region to a regular geometric shape that fits the grinding head.
[0057] In summary, the optical lens polishing control method in the above embodiments of the present invention obtains the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens, respectively, compares the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region; based on the parameter deviation distribution matrix, the lens is pre-divided into several initial polishing regions according to preset rules under multiple constraints, the multiple constraints include at least the shape of the initial polishing region being a regular geometric shape adapted to the polishing head, and the size of the initial polishing region not being less than the minimum adapted size of the polishing tool; the size of each initial polishing region is checked, if there is a case where the size of an initial polishing region is less than the minimum adapted size of the polishing tool, then adjacent initial polishing regions are merged and adjusted based on the parameter deviation similarity until the size of all adjusted polishing regions meets the requirement of not being less than the minimum adapted size of the polishing tool, to obtain the final polishing region division result; according to the final polishing region division result, the corresponding polishing parameters are matched based on the parameter data corresponding to each polishing region, and the polishing region is polished using the corresponding polishing parameters. This solution avoids the problems of irregularly shaped grinding areas, difficulty in precisely fitting grinding tools to the lens surface leading to grinding path deviation, and insufficient size of the divided areas for targeted grinding found in existing partitioned grinding schemes. Ultimately, it ensures the accuracy of partitioned grinding, improves the final optical precision of the lens, and solves the problem of insufficient control precision in optical lens grinding in existing technologies.
[0058] Example 3 Please see Figure 2 The figure shows an optical lens polishing control system proposed in the third embodiment of the present invention, the system comprising: The acquisition module 100 is used to acquire the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens, and compare the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region. The constraint module 200 is used to pre-divide the lens into several initial grinding areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is adapted to the grinding head, and the size of the initial grinding area being not less than the minimum adapted size of the grinding tool. The verification module 300 is used to verify the size of each initial grinding area. If there is an initial grinding area size that is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and the final grinding area division result is obtained. The polishing module 400 is used to match the corresponding polishing parameters based on the parameter data corresponding to each polishing area according to the final polishing area division result, and polish the polishing area according to the corresponding polishing parameters.
[0059] The functions or operation steps implemented by the above modules are largely the same as those in the above method embodiments, and will not be repeated here.
[0060] Example 4 In another aspect, the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the method described in any one of Embodiments 1 to 2 above.
[0061] Example 5 In another aspect, the present invention provides an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of any one of the methods described in Embodiments 1 to 2 above.
[0062] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0063] Those skilled in the art will understand that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable storage medium" can mean any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0064] More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable storage media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0065] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0066] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0067] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A method for controlling the polishing of optical lenses, characterized in that, The method includes: The initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens are obtained respectively. The initial parameters of the entire region are compared with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region. Based on the parameter deviation distribution matrix, the lens is pre-divided into several initial grinding areas according to preset rules under multiple constraints. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is compatible with the grinding head, and the size of the initial grinding area being no less than the minimum compatible size of the grinding tool. The dimensions of each initial grinding area are checked. If there is an initial grinding area whose size is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and the final grinding area division result is obtained. Based on the final grinding area division results, the corresponding grinding parameters are matched based on the parameter data of each grinding area, and the grinding area is then ground using the corresponding grinding parameters.
2. The optical lens polishing control method according to claim 1, characterized in that, Before the step of pre-dividing the lens into several initial polishing areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix, the following steps are also included: Obtain the model parameters of the grinding tool, which should include at least the grinding head diameter, the limit range of the grinding trajectory, and the effective grinding area. Based on the model parameters of the grinding tool, determine the appropriate regular geometric shape type and the minimum fit size of the grinding tool, set the minimum specification threshold for each regular geometric shape, and build a grinding head fit shape library containing different shapes and specifications. Based on the model parameters of the current grinding tool, the corresponding regular geometric shape for the grinding head is found in the grinding head adapter shape library.
3. The optical lens polishing control method according to claim 1, characterized in that, The step of merging and adjusting adjacent initial grinding areas based on parameter deviation similarity includes: Calculate the parameter deviation similarity coefficient between adjacent initial polishing areas. The parameter deviation similarity coefficient is obtained by weighted calculation based on the difference in curvature deviation, thickness deviation, and surface flatness deviation between the two areas. According to the parameter deviation similarity coefficient from high to low, adjacent initial grinding areas are selected sequentially for merging simulation to obtain the shape and size of the merged area; Verify whether the size of the merged area meets the requirement of not being smaller than the minimum fit size of the grinding tool. If it does, the merging of the adjacent areas in this group is completed. If it does not, continue to select the next group of adjacent initial grinding areas for merging simulation until the size of all grinding areas meets the requirements.
4. The optical lens polishing control method according to claim 1, characterized in that, The step of pre-dividing the lens into several initial polishing areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix, wherein the multiple constraints include at least the shape of the initial polishing area being a regular geometric shape adapted to the polishing head, and the size of the initial polishing area being not less than the minimum adapted size of the polishing tool, includes: Based on the regular geometric shape of the grinding head, the optical lens is divided into a geometric grid according to preset rules to form a basic geometric grid; The parameter deviation distribution matrix is mapped onto the basic geometric grid. The average deviation value in each grid cell is calculated. High deviation grid cells with average deviation values exceeding the preset deviation threshold are selected, and the corresponding position coordinates and contour range are recorded. The geometric dilation algorithm is used to expand the contour of high deviation grid cells. If the expanded contours of adjacent high deviation grid cells overlap after expansion, they are merged into a composite region. The contour of the composite region is composed of the outer contour envelope of each overlapping grid cell, and the envelope is a combination of regular geometric shapes that are adapted to the grinding head. For low-deviation mesh cells that do not exceed the deviation threshold, their original basic mesh division shape is retained. If a single low-deviation mesh cell is surrounded by multiple high-deviation composite regions, the low-deviation mesh cell is assigned to the high-deviation composite region with the closest adjacent deviation value, ensuring that all division regions are continuous regular geometric shapes or combinations thereof.
5. The optical lens polishing control method according to claim 4, characterized in that, The step of dividing the optical lens into a basic geometric grid according to preset rules based on the regular geometric shape adapted to the grinding head includes: Based on the regular geometric shape of the grinding head, a corresponding preset coordinate system is established with the preset point on the optical lens as the origin, and several sets of equally spaced dividing lines are set. The spacing of the dividing lines is calculated and determined based on the minimum fit size of the grinding tool. The optical lens is geometrically meshed based on the dividing lines to obtain the basic geometric mesh.
6. The optical lens polishing control method according to claim 5, characterized in that, The steps of establishing a preset coordinate system with a preset point on the optical lens as the origin based on the regular geometric shape adapted to the grinding head, and setting several sets of equally spaced dividing lines include: If the shape of the grinding head is a circle or a regular polygon, then a polar coordinate system is constructed with the geometric center of the optical lens as the origin, and several sets of equally spaced concentric rings and radial dividing lines are set to form a basic geometric grid of polar coordinates. If the adapted shape is a rectangle, square, or other non-polar coordinate adapted shape, then a rectangular coordinate system is constructed with the lower left corner vertex of the optical lens as the origin, and several sets of equally spaced horizontal and vertical dividing lines are set to form a basic geometric grid of rectangular coordinates. The spacing between the dividing lines and the included angle of the radial dividing lines in polar coordinates are both calculated and determined based on the minimum fit size of the grinding tool.
7. The optical lens polishing control method according to claim 1, characterized in that, The step of pre-dividing the lens into several initial polishing areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix further includes: Based on the global distribution characteristics of each region in the parameter deviation distribution matrix, a machine learning model is used to extract features of curvature deviation, thickness deviation, and surface flatness deviation, generating a dynamic weight matrix that reflects the degree of influence of each parameter on the polishing difficulty; wherein, the machine learning model is trained on a historical polishing dataset, and the training data includes feedback on the actual polishing effect under different parameter combinations. The weighted parameter deviation matrix is obtained by performing an element-wise multiplication operation between the parameter deviation distribution matrix and the dynamic weight matrix; the weighting operation formula is as follows: ; in, The first element in the weighted parameter deviation matrix i Line 1 j Column elements, For the first Dynamic weights of class parameters This represents the deviation value at the corresponding position in the original parameter deviation matrix; Using the weighted parameter deviation matrix as input, a multi-objective particle swarm optimization algorithm is employed to initially divide the lens region; the optimization objectives include: Minimize the standard deviation of the weighted parameter bias in each region; Maximize the ratio of the area of each region to the minimum fit size of the polishing tool; Constrain the shape of each region to a regular geometric shape that is compatible with the grinding head; The fitness function of the MOPSO algorithm is defined as follows: in, , , These are the weighting coefficients. Standard deviation For the area, For the minimum fit size, This is a penalty for shape violations; Based on the optimization results of the MOPSO algorithm, an initial set of grinding regions that satisfies multiple constraints is generated.
8. An optical lens polishing control system, characterized in that, The system includes: The acquisition module is used to acquire the initial parameters of the entire region of the optical lens to be polished and the standard parameters of the entire region of the standard optical lens, and compare the initial parameters of the entire region with the standard parameters of the entire region to obtain the parameter deviation distribution matrix of each region. The constraint module is used to pre-divide the lens into several initial grinding areas according to preset rules under multiple constraints based on the parameter deviation distribution matrix. The multiple constraints include at least the shape of the initial grinding area being a regular geometric shape that is compatible with the grinding head, and the size of the initial grinding area being not less than the minimum compatible size of the grinding tool. The verification module is used to verify the size of each initial grinding area. If there is an initial grinding area size that is smaller than the minimum fit size of the grinding tool, the adjacent initial grinding areas are merged and adjusted based on the parameter deviation similarity until all the adjusted grinding area sizes meet the requirement of not being smaller than the minimum fit size of the grinding tool, and the final grinding area division result is obtained. The polishing module is used to match the corresponding polishing parameters based on the parameter data of each polishing area according to the final polishing area division results, and then polish the polishing area according to the corresponding polishing parameters.
9. A readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method as described in any one of claims 1 to 7.
10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor, when executing the program, implements the steps of the method as described in any one of claims 1 to 7.