An optical polishing method based on global adaptive dwell point dynamic programming algorithm
By using a global adaptive dwell point dynamic programming algorithm, the problem of dwell point density not being able to be adaptively adjusted in regular paths is solved, achieving selective and precise removal of local areas and precise matching of processing paths, thus improving the efficiency and accuracy of optical component polishing.
Patent Information
- Application Number
- CN202611501532.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, the density of dwell points on regular paths cannot be adaptively adjusted according to the spatial non-uniform distribution of actual surface shape errors, resulting in the inability to achieve selective and precise removal of local areas. Furthermore, full-diameter coverage processing leads to increased ineffective processing time and over-polishing.
A global adaptive dwell point dynamic programming algorithm is adopted. By thresholding and binarizing the surface shape error matrix, adaptive dwell point links are generated. Combined with nonlinear density adjustment and polar coordinate mapping, the dwell point density is adaptively adjusted according to the surface shape error. The links are smoothed by Catmull-Rom spline curves to ensure precise control of the number and distribution of dwell points.
It improves processing efficiency and surface correction accuracy, reduces ineffective processing time, avoids over-polishing, and achieves precise matching of dwell point density and surface error, as well as precise matching of processing path.
Smart Images

Figure CN123168884A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of advanced optical manufacturing technology, specifically relating to an optical polishing method based on a global adaptive dwell point dynamic programming algorithm. Background Technology
[0002] With the ever-increasing demands for imaging quality and beam quality in modern optical systems, aspherical optical elements, due to their excellent aberration correction capabilities, are increasingly widely used in aerospace remote sensing, astronomical observation, and high-end lithography systems. The processing precision of aspherical optical elements directly determines the final performance of the optical system, and polishing, as the final processing step in the optical manufacturing process that determines surface accuracy, is of paramount importance. Among numerous polishing techniques, the sub-aperture deterministic polishing method based on computer numerical control has become the mainstream technology for the precision manufacturing of aspherical optical elements. The core feature of this method is that the diameter of the polishing head is significantly smaller than the diameter of the optical element being processed. By controlling the dwell time of the small-diameter polishing head at different positions on the element surface, precise control of the amount of material removed is achieved, thereby correcting surface errors.
[0003] In the aforementioned deterministic polishing process for sub-apertures, the design of the machining path is one of the key factors affecting polishing quality. Currently, the machining paths widely used in engineering practice are mainly divided into two categories: helical paths and grating paths. These two types of paths share the following characteristics: first, a regularly arranged array of dwell points is generated on the surface to be machined according to fixed row and dot spacings; then, these dwell points are sequentially connected using linear interpolation to form a complete path covering the entire machining area. The grinding head moves along this path, and the local dwell time is controlled by adjusting the feed rate at each dwell point. Finally, the surface shape error is corrected by utilizing the convolution effect of the removal function and the dwell time.
[0004] Although helical paths and grating paths are widely used due to their simplicity in generation and mature engineering applications, they still have two limitations under complex surface error distribution conditions. First, the dwell points of these regular paths are usually uniformly distributed, making it impossible to adaptively adjust according to the actual surface error. In actual machining, the surface error of optical components often exhibits significant spatial non-uniformity: areas with larger errors require increased dwell point density to reduce the grinding head feed rate, extend dwell time, and increase material removal; while areas with smaller errors should have appropriately reduced dwell point density to avoid over-machining. However, the inherent uniform distribution pattern of regular paths cannot meet these requirements. Second, regular paths employ full-diameter coverage machining, meaning that even if only local surface defects need correction, the grinding head still needs to traverse the entire workpiece surface. This not only generates a large amount of ineffective machining time but also causes additional material removal in areas that do not require correction, easily leading to over-polishing and a decrease in the original surface accuracy. To address the aforementioned issues, existing technologies may express the desired material removal amount as a convolution relationship between the removal function and the dwell time, and then solve and optimize the dwell time matrix using deconvolution methods such as Fourier transform, matrix transform, or numerical iteration, thereby achieving convergence of surface shape errors and improving surface shape accuracy. Alternatively, by fitting a locally closest sphere at each dwell point and using the removal function corresponding to the curvature of that sphere to replace the planar removal function for dwell time calculation, the accuracy of dwell time calculation and surface shape convergence efficiency in complex surface processing can be improved.
[0005] However, none of the aforementioned existing technologies have effectively solved the two core problems of adaptive adjustment of dwell point density and selective removal of local areas.
[0006] The technical problem this invention aims to solve is how to overcome the limitation in existing technologies where the density of dwell points based on regular paths (such as spiral paths and grating paths) cannot be adaptively adjusted according to the spatially non-uniform distribution of actual surface shape errors. Simultaneously, it addresses the bottleneck of using full-diameter coverage machining paths, where even correcting local surface shape defects requires traversing the entire workpiece surface, thus preventing selective and precise removal of localized areas. The ultimate goal is to effectively reduce ineffective machining time, avoid over-polishing, and improve the accuracy and efficiency of deterministic polishing under complex surface shape error distribution conditions. Summary of the Invention
[0007] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:
[0008] An optical polishing method based on a global adaptive dwell point dynamic programming algorithm includes:
[0009] S1. Based on the surface features of the optical element, a discrete point cloud is derived, and the discrete point cloud is reconstructed into a regular two-dimensional surface error matrix.
[0010] S2, determine the error matrix of the regular two-dimensional surface shape after assigning non-numerical values, define the error area where the surface height error is greater than the threshold as the processing area where material needs to be removed, and generate a binary mask function for the processing area based on the processing area where material needs to be removed.
[0011] S3, normalize the over-threshold error data in the processing area to obtain normalized positive error, and introduce a nonlinear density adjustment index to construct error density weight;
[0012] S4. Within the preset coarse grid circular effective aperture, an undirected connected spanning tree is generated using random depth-first search. In the fine grid, the outline of the undirected connected spanning tree is traced along its boundary to extract a continuous discrete point set with a non-periodic topological structure, which serves as the basic skeleton of the dwell point link.
[0013] S5, obtain dense links, and superimpose a sinusoidal waveform perturbation on the unit normal vector direction of the dense links;
[0014] S6, the dense links with superimposed sinusoidal perturbation are scaled and constrained to the target aperture radius, and the normalized dwell point links are inversely mapped to the pixel coordinate system of the two-dimensional surface error matrix to achieve aperture matching;
[0015] S7. Based on the normalized positive error and error density weight, a mapping model of local sampling interval is established. The arc length increment of adjacent samples is calculated by combining the global sampling scaling coefficient. Adaptive sequential sampling is performed along the dwell point link. Non-processing area points are eliminated by using the binary mask function of the processing area to generate the initial dwell point set.
[0016] S8, with the preset target number of dwell points as a constraint, construct a relative quantity error model between the currently generated number of dwell points and the target number of dwell points, iteratively adjust the global sampling scaling coefficient, adaptively optimize the sampling interval, until the relative error of the number of dwell points meets the set tolerance threshold.
[0017] S9 sequentially extracts the set of dwell points obtained from adaptive sampling and outputs the final continuous dwell point link.
[0018] The present invention has the following beneficial effects:
[0019] (1) This invention solves the technical problem that existing technologies cannot achieve selective and accurate removal of local areas by using a local selective processing method based on a surface error binarization mask. By performing threshold segmentation and binarization on the two-dimensional surface error matrix, the processing area with errors exceeding the threshold is accurately extracted. Material removal is only performed on the area that needs to be corrected, avoiding the problem of ineffective processing and over-polishing of qualified areas in traditional full-diameter uniform coverage processing, thus improving processing efficiency and surface correction accuracy.
[0020] (2) This invention solves the technical problem in the prior art that the density of dwell points cannot be adaptively adjusted according to the surface error by establishing a nonlinear mapping model in which the density of dwell points is adaptively adjusted according to the surface error. By constructing a nonlinear density adjustment index mapping relationship between the surface error value and the local sampling interval, the dwell points are automatically densely distributed in the high error region and sparsely distributed in the low error region, realizing the precise matching between the removal amount and the surface error, and overcoming the shortcomings of the traditional equidistant dwell point distribution in balancing accuracy and efficiency.
[0021] (3) This invention solves the problem of boundary shrinkage and incomplete edge region coverage caused by disturbance deformation during the processing path generation process by using a precise aperture matching method based on polar coordinate mapping and angular envelope constraints. By converting the dwell point link to the polar coordinate system, extracting the maximum radial envelope function by angular partitioning, and performing equal-proportional radial scaling constraints, the precise matching between the processing path and the target aperture is achieved.
[0022] (4) This invention achieves precise convergence of the total number of dwell points to the preset process value and outputs a continuous and smooth dwell point link that satisfies machine tool dynamics constraints by using a binary search-based precise control of the total number of dwell points and a high-order link smoothing strategy. A relative error convergence model between the number of generated points and the target number of points is established, and the global sampling scaling coefficient is dynamically iterated using a binary search. At the same time, Catmull-Rom spline curves are introduced to perform high-order interpolation smoothing on discrete dwell points, further improving the machining accuracy and surface quality of complex surfaces. Attached Figure Description
[0023] Figure 1 This is a flowchart of the optical polishing method based on the global adaptive dwell point dynamic programming algorithm of the present invention;
[0024] Figure 2 The diagram shows a three-dimensional schematic of an aspherical optical element; (a) is a complete schematic of the entire optical element; (b) is a two-dimensional planar view of the over-threshold error region that needs to be processed in the optical element; and (c) is a three-dimensional solid view of the over-threshold error region that needs to be processed in the optical element.
[0025] Figure 3 The diagram shows the distribution of dwell points and links output by the global adaptive dwell point dynamic programming algorithm based on the surface features of optical elements; where (a) is a diagram of dwell point distribution and (b) is a diagram of link distribution.
[0026] Figure 4Comparison of the surface shape of the optical element before and after polishing K1; wherein, (a) is the surface shape before processing using this method, (b) is the dwell point and link design diagram using this method, (c) is the surface shape after processing using this method, (d) is the surface shape before processing using the traditional method, (e) is the dwell point and trajectory diagram using the traditional method, and (f) is the surface shape after processing using the traditional method.
[0027] Figure 5 for Figure 4 Visual comparison of the corresponding root mean square (RMS) and root mean square convergence rate; where (a) is a visual comparison of the root mean square; and (b) is a visual comparison of the root mean square convergence rate.
[0028] Figure 6 The wavefront profile curves before and after processing are given to K1; (a) is the wavefront profile curve before processing using this method, (b) is the wavefront profile curve after processing using this method, (c) is the wavefront profile curve before processing using the traditional method, and (d) is the wavefront profile curve after processing using the traditional method.
[0029] Figure 7 for Figure 6 Visual comparison of the corresponding cross-sectional peak and valley values and the convergence rate of the cross-sectional peak and valley values; (a) is a visual comparison of the cross-sectional peak and valley values, and (b) is a visual comparison of the convergence rate of the cross-sectional peak and valley values. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0031] This invention discloses an optical polishing method based on a global adaptive dwell point dynamic programming algorithm, comprising the following steps.
[0032] S1, based on the surface features of the optical element, derive a discrete point cloud containing spatial coordinates and height errors, and reconstruct the discrete point cloud into a regular two-dimensional surface error matrix. Data points that cannot be parsed or are marked as empty are assigned a non-numerical value. This generates an effective data mask that preserves the effective spatial location information of the optical components.
[0033] S2, assigned to The error matrix of the regular two-dimensional surface shape is used for judgment, and the error region where the surface shape height error is greater than the threshold is defined as the processing area where material needs to be removed. Based on the processing area where material needs to be removed, a binary mask function for the processing area is generated to provide feasibility constraints for the spatial boundary of subsequent dwell point sampling.
[0034] In step S3, the error data exceeding the threshold within the processing area is normalized to map it to the [0,1] interval. Subsequently, a nonlinear density adjustment index is introduced to construct error density weights, thereby amplifying the weight ratio of high-error regions. This provides a basis for the adaptive calculation of the local sampling interval in step S7, guiding the dwell points to adaptively concentrate at locations with larger material removal volumes.
[0035] S4. Within the preset coarse-grid circular effective aperture, an undirected connected spanning tree is generated using random depth-first search (DFS). Further, contouring is performed along the boundary of this undirected connected spanning tree in the fine-grid to extract a continuous discrete point set with a non-periodic topological structure, serving as the basic framework for the dwell point links.
[0036] S5 resamples the basic skeleton based on the cumulative arc length to obtain dense links with arc length parameterization. Subsequently, a sinusoidal waveform perturbation is superimposed on the unit normal direction of the dense links to break the regular link characteristics, thereby suppressing periodic processing marks that are prone to occur during polishing.
[0037] S6 transforms the dense links after superimposed sinusoidal waveform perturbation to polar coordinates and extracts the maximum radial envelope of the links by angle partitioning. The envelope function of the maximum radial envelope is used to scale and constrain the dense links to the target aperture radius. Finally, the normalized dwell point links are inversely mapped to the pixel coordinate system of the two-dimensional surface error matrix to achieve aperture matching.
[0038] S7 establishes a mapping model for the local sampling interval based on the normalized positive error and the error density weights constructed in S3, which is used to determine the sampling density at each position on the link. The arc length increment between adjacent samples is calculated using a global sampling scaling factor. Adaptive sequential sampling is performed along the dwell point link, and non-processing area points are eliminated using a binary mask function of the processing area to generate an initial dwell point set. This provides input for the precise control of the total number of dwell points in S8 and the link smoothing in S9.
[0039] S8 constructs a relative quantity error model between the currently generated number of dwell points and the target number of dwell points, using a preset target number of dwell points as a constraint. A binary search is used to dynamically iteratively adjust the global sampling scaling factor and adaptively optimize the sampling interval until the relative error of the number of dwell points meets the set tolerance threshold (i.e., within the tolerance threshold range).
[0040] S9 sequentially extracts the dwell point set obtained from adaptive sampling and introduces an interpolated Catmull-Rom spline curve for link smoothing. The final continuous dwell point link is output by adjusting the smoothing intensity coefficient. This improves link smoothness while ensuring that the dwell point link strictly passes through all initial dwell points.
[0041] S1-S9 are applied to the actual machining site to generate corresponding dwell point information based on the actual surface shape of the optical element and to construct a dwell point link. This information is then converted into a CNC program for robot machining to perform precision machining tasks.
[0042] Figure 1 This is a flowchart of the optical polishing method based on the global adaptive dwell point dynamic programming algorithm of the present invention.
[0043] In S1, the original measurement data of the optical element surface shape obtained by the profilometer is a discrete point cloud, which consists of column indices, row indices, and height error values. To facilitate matrix operations and spatial coordinate mapping, the discrete point cloud is reconstructed into a regular two-dimensional surface shape error matrix. Let the original set of measurement points be:
[0044] (1)
[0045] In the formula, This is the original set of measurement points; For the first Column coordinates of each measurement point; For the first The row coordinates of each measurement point; For the first Height error at each measurement point; This represents the total number of valid measurement points.
[0046] Reconstruct the measurement points as Two-dimensional surface shape error matrix:
[0047] (2)
[0048] In the formula, This is the reconstructed two-dimensional surface shape error matrix; grid coordinates The surface height error at the location; for data points marked as No Data (no valid data) and unresolvable data points in the original measurement point set, the corresponding elements in the matrix are set to In order to preserve the spatial information of invalid areas.
[0049] Because actual optical elements have features such as central holes, chamfered edges, or obstructions from measuring instruments, the reconstructed two-dimensional surface error matrix contains invalid regions that cannot be resolved. To accurately identify and constrain the effective working range, an effective data mask is further defined. :
[0050] (3)
[0051] In the formula, It is the effective data mask, which is set to 1 when there is a valid measurement value at the location, and 0 otherwise. It is the height error value at the corresponding position in the surface error matrix; These are the horizontal grid coordinates (column index) and vertical grid coordinates (row index) in the two-dimensional surface shape error matrix, respectively.
[0052] In S2, the deterministic processing of optical components is essentially a material removal process; that is, it can only remove excess material and cannot fill in depressions. Therefore, based on the target theoretical surface shape, the error region where the surface height error exceeds a threshold is strictly defined as the processing area where material needs to be removed.
[0053] (4)
[0054] In the formula, The area to be processed where material needs to be removed; meets the following conditions. Grid coordinate position There are surface shape errors that need to be removed, and material needs to be removed through processing. When, it indicates the grid coordinate position. No need to generate a dwell point. This represents the surface height threshold. To visually demonstrate the effect of this surface error segmentation, we use... Figure 2 Let's take an example to simulate this. Figure 2 This is a three-dimensional schematic diagram of an aspherical optical element, in which... Set it to zero. Figure 2 The aperture of the optical element in it is 129 mm. Figure 2 (a) is a complete schematic diagram of the optical element, and the surface height error range of the optical element is -0.86 to 0.65. ( It is the standard wavelength. nanometer). Figure 2 (b) is a two-dimensional planar view of the over-threshold error region that needs to be processed in the optical element. Figure 2 (c) is a three-dimensional image of the region exceeding the threshold error that needs to be processed in the optical element. The surface height error range of the region exceeding the threshold in the optical element is 0~0.65. .
[0055] To apply precise logical constraints to the processing and non-processing regions at the algorithm's underlying level, and to provide a binary spatial boundary for subsequent adaptive sampling of dwell points, a corresponding binary mask function for the processing region is constructed. :
[0056] (5)
[0057] In the formula, Setting it to 1 indicates the grid coordinate position. This area requires processing; a value of 0 indicates the grid coordinate position. It belongs to the non-processing area.
[0058] In S3, to enable the dwell point density to adapt to the magnitude of the surface shape error, it is necessary to normalize the out-of-threshold error data within the processing area. The normalized positive error is defined as:
[0059] (6)
[0060] In the formula, It is a normalized positive error; It is the maximum positive error within the processing area; It is the minimum positive error within the processing area; It is a minimal constant to prevent the denominator from being zero. After normalization, .
[0061] Linear error mapping struggles to simultaneously address the need to remove both local extremum errors and global smooth errors. To enhance the weighting of high-error regions on dwell point density, enabling dwell point distribution to respond more sensitively to local topographical abrupt changes (i.e., allocating more processing time to regions with large errors), a nonlinear density adjustment exponent is introduced to construct error density weights:
[0062] (7)
[0063] In the formula, It is the error density weight; It is a nonlinear density adjustment index; when At this time, the weight of high-error areas is further amplified, causing the dwell points to be more concentrated in locations requiring greater material removal. This method of varying the density of dwell points can effectively solve the problem of poor dwell time adaptability in traditional polishing processes.
[0064] A dwell point link is a path connecting dwell points. A complete dwell point link is a continuous, smooth, non-self-intersecting dwell point link where all dwell points are traversed only once. Therefore, the traversal method of dwell points is crucial. S4-S9 design the traversal method of dwell points, i.e., the dwell point link design.
[0065] In S4, the core of constructing the dwell point link is pseudo-random link generation, which specifically includes:
[0066] First, a random depth-first search (DFS) tree is generated within the preset coarse-grid circular effective aperture. Let the coarse-grid size be... , Given the side length of the coarse grid, the effective circular region is defined as follows:
[0067] (8)
[0068] In the formula, It is a coarse-grid circular effective aperture; These are the coarse grid x and y coordinates; These are the coordinates of the center of the coarse grid; It is the radius of the circular aperture of the coarse mesh.
[0069] Effective aperture of coarse-grid circular Internally, a randomly generated tree is constructed using a random depth-first search (DFS). . It is a set of coarse mesh nodes within a circular aperture; It is an edge connecting adjacent nodes established through depth-first search; the randomly generated tree provides a non-periodic structural basis for subsequent dwell point links.
[0070] To obtain a continuous, non-intersecting traversal link that covers the entire domain, an outline is drawn along the outer boundary of the randomly generated tree in a fine grid to ensure the closure and spatial uniqueness of the final link, thereby extracting the basic discrete link:
[0071] (9)
[0072] In the formula, It is the first One basic link point; and These are the x and y coordinates of the point in the fine grid, respectively. It is the total number of basic link points. It is the sequence number of the basic link point.
[0073] In S5, the node spacing of the basic discrete links is usually unevenly distributed along the mesh orientation. Directly superimposing perturbations on the original links can easily lead to local geometric distortions or even self-intersections. To improve the geometric uniformity of the dwell point links and the stability of subsequent perturbations, it is first necessary to resample the basic skeleton at equal intervals according to the cumulative arc length. The cumulative arc length is defined as:
[0074] (10)
[0075] In the formula, It is the first The cumulative arc length corresponding to each basic link point; It is the first in the basic link One point, The first in the basic link One point; This indicates Euclidean distance.
[0076] Dense links with arc length parameterized after resampling :
[0077] (11)
[0078] In the formula, and It is the position of the arc length. Link coordinates at the location.
[0079] To reduce periodic processing traces caused by regular dwell point links, sinusoidal perturbations are superimposed along the normal direction of dense links:
[0080] (12)
[0081] In the formula, It is the dwell point link after sinusoidal disturbance (i.e., the dense link after superimposed sinusoidal waveform disturbance). It is the amplitude of the disturbance; It is the perturbation wavelength; It is the link arc length; Is the link in? The unit normal vector at that location.
[0082] Dense links in unit tangent vector at point and links in Unit normal vector at the location They are defined as follows:
[0083] (13)
[0084] In the formula, and These are the horizontal and vertical components of the normal vector.
[0085] In S6, the generation of random trees and the normal perturbation process cause local links to shrink inward, causing the boundary to deviate from the theoretical outer circle of the optical element, resulting in incomplete edge processing. To ensure that the dwell point links fully and accurately cover the target circular aperture, radial envelope extraction and boundary constraints are required for dense links.
[0086] Convert the dense link structure after superimposed sinusoidal waveform perturbation to polar coordinates:
[0087] (14)
[0088] In the formula, It is the radial distance of dense link points relative to the center; It is the polar angle of the dense link points relative to the center; and These are the x and y coordinates of the dense link points after the disturbance.
[0089] Extract the maximum radial envelope of the link for each angular direction to form the angular envelope:
[0090] (15)
[0091] In the formula, It is the angle and direction. Radial envelope of nearby links; In terms of angle and direction Centered on the angle of division; It is the radial distance between link points within that angular partition. To partition by angle Take the maximum value of the radial distance.
[0092] By using the extracted angular envelope function, the radial coordinates of the current link are scaled proportionally to the target aperture radius, thereby achieving precise matching between the dwell point link and the actual workpiece aperture.
[0093] (16)
[0094] In the formula, It is the radially normalized link; It is the target normalized radius; It is the radial envelope value in the angular direction of the link point.
[0095] The normalized link is then mapped to the pixel coordinates of the two-dimensional surface error matrix:
[0096] (17)
[0097] In the formula, These are the link coordinates of the pixels mapped to the two-dimensional surface shape error matrix; These are the center coordinates of the two-dimensional surface shape error matrix. These are the horizontal and vertical coordinates, respectively; These are the mapped coordinates at the pixel scale.
[0098] In S7, after completing the spatial geometry construction of the link, the specific locations of the final dwell points on the dense link need to be determined based on the distribution of surface errors. Combining the error density weights constructed in S3, a mapping model for the local sampling interval is established to achieve an adaptive distribution of dense sampling in high-error regions and sparse sampling in low-error regions. The local sampling interval is defined as:
[0099] (18)
[0100] In the formula, Coordinates Sampling interval at the location; It represents the maximum sampling interval, corresponding to a low-error sparse sampling region; It is the minimum sampling interval, corresponding to the high-error dense sampling area.
[0101] No. The arc length positions of the candidate sampling points are:
[0102] (19)
[0103] In the formula, It is the first The arc length position of each sampling point; It is the first The arc length position of each candidate sampling point; It is the global sampling scaling factor; The current position (i.e.) The local sampling interval at each sampling point.
[0104] By accumulating the arc lengths as described above, the algorithm performs sequential discrete sampling along the link. To ensure that the dwell points fall only within the valid processing area, the binary mask function of the processing area generated in S2 is further used to eliminate non-processing area points, generating the final set of dwell points:
[0105] (20)
[0106] In the formula, It is a collection of outposts; It is the first on the link One sampling point; It is a mask for the processing area; It is the final number of dwell points generated; Equation (20) effectively ensures that no dwell points are generated in the non-processing area.
[0107] In S8, the number of dwell points directly affects the dynamic response performance and total machining time of the CNC machine tool during actual machining, and it is usually necessary to control it within the target number preset by the process. Nearby. Due to the nonlinear combined effect of surface shape errors on the local sampling interval, a single sampling often fails to accurately reach the set target number of points. Therefore, a relative quantity error model is constructed between the initial number of stationary points and the target number of stationary points:
[0108] (twenty one)
[0109] In the formula, This is the relative error in the number of outposts; This represents the current number of resident nodes. This is the preset target number of resident points; when The algorithm stops iterating when the value is less than the set tolerance.
[0110] If the current number of points is too large, increase the global sampling scaling factor. This increases the sampling interval; if the current number of points is too small, the global sampling scaling factor is reduced. This reduces the sampling interval. This process can be represented as:
[0111] (twenty two)
[0112] In the formula, and These are the lower and upper bounds of the binary search, respectively.
[0113] In S9, since the dwell points are sampled sequentially along the same dwell point link, they have a link order. Let the set of dwell points be... for:
[0114] (twenty three)
[0115] In the formula, It is the first One outpost, Pick .
[0116] When a CNC machine tool executes discrete-point machining commands, if the path has a non-smooth, polygonal transition, it will cause extreme acceleration abrupt changes in each axis of the machine tool and induce vibration, thus severely affecting the surface machining quality. To obtain a continuous, smooth path that conforms to the machine tool's dynamic characteristics, while ensuring that the machining tool removes material precisely according to the theoretically calculated position—that is, to ensure that the smoothed path still accurately traverses each initial dwell point—this algorithm uses an interpolated Catmull-Rom spline curve to perform high-order smoothing on the discrete dwell points.
[0117] (twenty four)
[0118] In the formula, It is the final smooth link; It is a linear interpolation curve between adjacent dwell points; It is a Catmull-Rom interpolation curve; It is the smoothness strength coefficient; These are local curve parameters. Since the Catmull-Rom curve is an interpolated curve, the smooth link still passes through the original dwell point, preventing the dwell point from leaving the dwell point link.
[0119] Figure 3 This is a schematic diagram of the dwell point distribution and link distribution output by the global adaptive dwell point dynamic programming algorithm based on the surface features of optical elements. Set it to zero. Where, Figure 3 (a) is a schematic diagram of the distribution of the residence points. Figure 3 (b) is a schematic diagram of the link distribution. (From...) Figure 3 As shown in (a), the dwelling points are only distributed in the region where the height error (nm) is greater than zero, and the density of dwelling points can be adaptively adjusted according to the change in height error (nm). That is, the larger the height error (nm), the denser the dwelling points; the smaller the height error (nm), the sparser the dwelling points. Figure 3 (b) is in Figure 3 Based on the dwell point of (a), the link distribution is output through algorithmic reasoning. The solid line represents the path traversed by the machining tool as it unfolds and processes the surface of the optical element; the dashed link between different regions represents the dwell point position of the machining tool when it moves to the next region at a certain height (without contacting the optical element) through a tool lifting operation. This effectively avoids the tool processing areas that do not need to be processed.
[0120] The entire dynamic programming process, from reconstructing unstructured error data and generating aperiodic continuous links to adaptive sampling of dwell points and link smoothing, is completed through steps S1 to S9. In practical implementation, the optical polishing method based on the global adaptive dwell point dynamic programming algorithm of this invention is applied to an actual processing site. Dwell point information is generated according to the actual surface shape of the optical element, and a dwell point link is constructed. This is then converted into a CNC program for robot processing to perform the precision polishing task.
[0121] To verify the effectiveness of the method, the following polishing experiment was designed: An aspherical optical element (K1) with a diameter of 129 mm and a radius of curvature of 306.203 mm was selected. K1 underwent two polishing processes. The first polishing was performed using this method. The second polishing method employed a traditional approach, where the abrasive points were evenly distributed across the entire surface. The polishing time for both methods was 17 minutes. The abrasive concentration was [not specified]. The grinding media used were cerium dioxide. The grinding disc diameter was 15 mm. The pressure setting was 20 N. The rotation speed was 800 rpm. The surface shape error ratio was 40%. The tool lifting speed was 40 mm / s. The tool lifting height was 50 mm. Specific experimental conditions and parameter settings are shown in Table 1.
[0122] Table 1
[0123]
[0124] Figure 4 These are comparison images of the optical element surface shape before and after polishing on the K1. Figure 4 (a) is the front shape diagram of the process corresponding to this method. Figure 4 (b) is the design diagram of the dwell points and links corresponding to this method. Figure 4 (c) shows the post-processing shape obtained using this method. The root mean square (rms) decreased from 371.691 nm to 258.964 nm before and after processing, with a convergence rate of 30.33%. Figure 4 (d) is the front shape diagram of the process using the traditional method. Figure 4 (e) is the dwell point and trajectory diagram corresponding to the traditional method. Figure 4 Figure (f) shows the post-processing shape obtained using the traditional method. The root mean square (rms) decreased from 258.964 nm to 202.320 nm before and after processing, with a convergence rate of 21.87%. Experimental results show that the rms convergence rate of the proposed method is significantly better than that of the traditional method.
[0125] Figure 5 yes Figure 4 A visual comparison of the corresponding root mean square (RMS) and root mean square convergence rates. Figure 5 (a) is a visual comparison of the root mean square; Figure 5 (b) is a visual comparison of the root mean square convergence rate. Figure 5 It can be seen that the root mean square (RMS) convergence rate and the result obtained using this method are both superior to those obtained using the traditional method. Compared to the traditional method, the RMS convergence rate is improved by 8.46%.
[0126] Figure 6 These are the wavefront contour curves before and after processing by K1. Figure 6 (a) is the wavefront profile curve before processing using this method. Figure 6 (b) shows the wavefront profile curve after processing using this method; the peak-to-valley value of the cross section decreased from 855.018 nm to 482.339 nm, with a convergence rate of 43.59%. Figure 6 (c) is the wavefront profile curve before processing using the traditional method. Figure 6(d) shows the wavefront profile curve processed using the traditional method; the peak-to-valley value of the cross section decreased from 482.339 nm to 446.425 nm, with a convergence rate of 7.45%. Experimental results show that the convergence rate of the peak-to-valley value of the cross section using this method is better than that of the traditional method.
[0127] Figure 7 yes Figure 6 A visual comparison of the corresponding cross-sectional peak and valley values and the convergence rate of the cross-sectional peak and valley values. Among them, (a) is a visual comparison of the cross-sectional peak and valley values, and (b) is a visual comparison of the convergence rate of the cross-sectional peak and valley values. Figure 7 It can be seen that the peak-valley values and convergence rate of the cross-section processed by this method are both superior to those processed by the traditional method. Compared with the traditional method, the convergence rate is improved by 36.14%.
[0128] Based on the above extensive polishing experiments, the engineering practicality of the optical polishing method based on the global adaptive dwell point dynamic programming algorithm of the present invention has been effectively verified.
[0129] The above description is merely an embodiment of the present invention and does not limit the scope of the invention. Any equivalent structural or procedural transformations made based on the description and drawings of this invention, or direct or indirect applications in other related system fields, are similarly included within the protection scope of this invention. Contents not described in detail in this specification are prior art known to those skilled in the art.
Claims
1. An optical polishing method based on a global adaptive dwell point dynamic programming algorithm, characterized in that, include: S1. Based on the surface features of the optical element, a discrete point cloud is derived, and the discrete point cloud is reconstructed into a regular two-dimensional surface error matrix. S2, determine the error matrix of the regular two-dimensional surface shape after assigning non-numerical values, define the error area where the surface height error is greater than the threshold as the processing area where material needs to be removed, and generate a binary mask function for the processing area based on the processing area where material needs to be removed. S3, normalize the over-threshold error data in the processing area to obtain normalized positive error, and introduce a nonlinear density adjustment index to construct error density weight; S4. Within the preset coarse grid circular effective aperture, an undirected connected spanning tree is generated using random depth-first search. In the fine grid, the outline of the undirected connected spanning tree is traced along its boundary to extract a continuous discrete point set with a non-periodic topological structure, which serves as the basic skeleton of the dwell point link. S5, obtain dense links, and superimpose a sinusoidal waveform perturbation on the unit normal vector direction of the dense links; S6, the dense links with superimposed sinusoidal perturbation are scaled and constrained to the target aperture radius, and the normalized dwell point links are inversely mapped to the pixel coordinate system of the two-dimensional surface error matrix to achieve aperture matching; S7. Based on the normalized positive error and error density weight, a mapping model of local sampling interval is established. The arc length increment of adjacent samples is calculated by combining the global sampling scaling coefficient. Adaptive sequential sampling is performed along the dwell point link. Non-processing area points are eliminated by using the binary mask function of the processing area to generate the initial dwell point set. S8, with the preset target number of dwell points as a constraint, construct a relative quantity error model between the currently generated number of dwell points and the target number of dwell points, iteratively adjust the global sampling scaling coefficient, adaptively optimize the sampling interval, until the relative error of the number of dwell points meets the set tolerance threshold. S9 sequentially extracts the set of dwell points obtained from adaptive sampling and outputs the final continuous dwell point link.
2. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 1, characterized in that, In S1, the original measurement data of the optical element surface shape obtained by the profilometer is a discrete point cloud, which consists of column index, row index, and height error value. The discrete point cloud is reconstructed into a regular two-dimensional surface shape error matrix. Let the original set of measurement points be: (1) in, This is the original set of measurement points; For the first Column coordinates of each measurement point; For the first The row coordinates of each measurement point; For the first Height error at each measurement point; This represents the total number of valid measurement points. Reconstruct the measurement points into a two-dimensional surface shape error matrix: (2) in, This is the reconstructed two-dimensional surface shape error matrix; grid coordinates The surface height error at that location.
3. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 2, characterized in that, S1 includes: defining an effective data mask. : (3) The value is 1 if a valid measurement exists at the location; otherwise, it is 0. It is the height error value at the corresponding position in the surface error matrix; These represent the horizontal and vertical grid coordinates in the two-dimensional surface shape error matrix, respectively; for data points that cannot be resolved or are marked as empty, an assignment is made. For data points marked as "No Data" or "Unresolved" in the original set of measurement points, the corresponding elements in the matrix are set to... .
4. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 1, characterized in that, In S3, a nonlinear density adjustment exponent is introduced to construct the error density weight. : (7) in, To normalize the positive error, It is a nonlinear density adjustment index.
5. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 1, characterized in that, In S4, the construction of the dwell point link includes: A random depth-first search tree is generated within the preset coarse grid circular effective aperture; the coarse grid size is set to... , The side length of the coarse mesh is given. The effective aperture of the coarse mesh circular aperture is defined as: (8) in, It is a coarse-grid circular effective aperture; These are the coarse grid x and y coordinates; These are the coordinates of the center of the coarse grid; It is the radius of the circular aperture of the coarse mesh; Effective aperture of coarse-grid circular Internally, a randomly generated tree is constructed using a random depth-first search. ; in, It is a set of coarse mesh nodes within a circular aperture; It involves establishing connections between adjacent nodes using depth-first search; and extracting the basic discrete links: (9) in, It is the first One basic link point; and These are the x and y coordinates of the point in the fine grid, respectively. It is the total number of basic link points. It is the sequence number of the basic link point.
6. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 5, characterized in that, In S5, the basic skeleton is resampled based on the cumulative arc length to obtain dense links with arc length parameterization, and a sinusoidal waveform perturbation is superimposed on the unit normal vector direction of the dense links. The cumulative arc length is defined as: (10) In the formula, It is the first The cumulative arc length corresponding to each basic link point; It is the first in the basic link One point, The first in the basic link One point; Euclidean distance; Dense links with arc length parameterized after resampling : (11) in, and It is the position of the arc length. Link coordinates at the location.
7. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 6, characterized in that, Sine perturbations are superimposed along the normal of dense links: (12) in, It is the dwell point link after the sinusoidal disturbance; It is the amplitude of the disturbance; It is the perturbation wavelength; It is the link arc length; Is the link in? The unit normal vector at that location; Dense links in unit tangent vector at point and links in Unit normal vector at the location They are defined as follows: (13) in, and These are the horizontal and vertical components of the normal vector.
8. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 1, characterized in that, S6 include: The dense links after superimposed sinusoidal waveform perturbation are transformed to polar coordinates. The maximum radial envelope of the links is extracted by angular partitioning. The envelope function of the maximum radial envelope is used to scale and constrain the dense links to the target aperture radius.
9. The optical polishing method based on the global adaptive dwell point dynamic programming algorithm according to claim 1, characterized in that, In S8, the relative quantity error model between the initial number of outposts and the target number of outposts is as follows: (21) in, This is the relative error in the number of outposts; This represents the current number of resident nodes. This is the preset target number of resident points; when When the value is less than the set tolerance, the algorithm stops iterating; If the current number of points is too large, increase the global sampling scaling factor. This increases the sampling interval; if the current number of points is too small, the global sampling scaling factor is reduced. This reduces the sampling interval. (22) in, and These are the lower and upper bounds of the binary search, respectively.
