Method and system for two-transverse optical system assembly stress compensation and process parameter optimization
By optimizing the tightening torque and pose deviation using the LightGBM proxy model and the Pareto optimal genetic algorithm, the problem of balancing initial accuracy and service stability in optical system assembly is solved, thereby improving imaging quality and service performance.
Patent Information
- Application Number
- CN202611196745.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-07
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, the lack of systematic theoretical guidance in the assembly process of optical systems leads to long assembly cycles, poor consistency, and imaging quality that is easily affected by multiple uncertain factors. It is difficult to balance initial assembly accuracy and service stability.
The LightGBM surrogate model is trained using a gradient boosting decision tree. Combined with the Pareto optimal multi-objective genetic algorithm and k-means clustering method, the tightening torque and pose deviation are optimized, a nonlinear mapping relationship is constructed, and the optimal parameter combination that balances initial assembly accuracy and service stability is selected.
The imaging quality of the optical system was improved, with an average improvement of 4.37% in the initial assembly stage and 11.2% in service conditions, achieving optimization of assembly performance and service stability.
Smart Images

Figure CN123177016A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical assembly technology, specifically to a method and system for stress compensation and process parameter optimization in the assembly of a two-reflector optical system. Background Technology
[0002] In the assembly of optical systems, bolt tightening torque is a key process parameter for adjusting the relative position of primary and secondary mirrors and achieving precise positioning of optical components. The magnitude of the tightening torque directly affects the contact stress distribution between the frame and the mirror body, thereby altering the mirror surface accuracy and system wavelet aberration. However, in engineering practice, the determination of tightening torque has long relied on the experience of process engineers or repeated trial assembly, lacking systematic theoretical guidance, resulting in long assembly cycles and poor consistency.
[0003] Meanwhile, the imaging quality of an assembled optical system is easily affected by multiple uncertainties such as interface conditions and assembly posture deviations in actual engineering. Even with the same assembly process parameters, imaging quality may still deviate. Furthermore, optical systems face complex conditions such as vibration, temperature changes, and microgravity during service. These environmental loads can cause changes in mirror stress distribution, optical axis alignment misalignment, and changes in the relative positions of components, leading to image quality degradation. There is often a trade-off between initial assembly accuracy and service stability: using excessive preload can improve initial alignment accuracy, but it can lead to stress concentration within the structure, making it prone to stress release and accuracy degradation under subsequent vibration and temperature cycling conditions. Conversely, appropriately reducing the preload slightly sacrifices initial assembly accuracy, but the structure retains a certain degree of flexibility and deformation margin, better absorbing the impact of environmental loads and maintaining more stable long-term performance.
[0004] Therefore, there is an urgent need for an optimization method for the assembly process parameters of a two-reflector optical system that can balance initial assembly accuracy and service stability while taking into account the influence of multiple sources of uncertainty. Summary of the Invention
[0005] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and system for stress compensation and process parameter optimization in the assembly of a two-reflector optical system.
[0006] The technical solution adopted by this invention to solve its technical problem is:
[0007] A method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system includes the following steps:
[0008] S1. Obtain simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and posture deviation conditions, and construct the original dataset;
[0009] S2. Based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, a gradient boosting decision tree is used to train the LightGBM surrogate model, thereby establishing a nonlinear mapping relationship between input parameters and output targets.
[0010] S3. A Pareto-optimal multi-objective genetic algorithm is adopted, with the dual optimization objectives of maximizing the energy concentration in the assembly state and minimizing the difference between the energy concentration in the assembly state and the energy concentration in the service state. The Pareto optimal solution set is searched within the physical constraint interval of the given tightening torque and pose deviation.
[0011] S4. Use the k-means clustering method to cluster and compress the Pareto optimal solution set, and extract k representative optimal solutions;
[0012] S5. Set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal assembly parameter combination that takes into account both performance and reliability.
[0013] As a preferred embodiment, a further technical solution of the present invention is:
[0014] Preferably, the tightening torque in S1 is denoted as The pose deviation vector is denoted as ,in, These represent the eccentricity errors of the primary mirror about the x and y axes, respectively. These represent the tilt errors of the primary mirror about the x and y axes, respectively. These represent the eccentricity errors of the secondary mirror about the x and y axes, respectively. These represent the tilt errors of the secondary mirror about the x and y axes, respectively.
[0015] Building the original dataset includes:
[0016] A stratified random sampling method was used to measure the tightening torque. Within the physical constraint range Sampling is performed inside to obtain Group torque samples;
[0017] For each set of torque samples, the Latin hypercube sampling method is used to generate... Group pose deviation vector ,constitute Group input parameter combinations;
[0018] Through multiphysics finite element simulation, mirror deformation cloud maps under various combinations of input parameters were obtained. After geometric correction and normalization, the corresponding assembly state energy concentration was obtained. Energy concentration in service status This forms the original dataset. ,in, The total number of samples, Let be the input parameters for the i-th sample. Let i be the output target for the i-th sample.
[0019] Preferably, the training objective of the LightGBM proxy model in S2 is to minimize the following regularized loss function:
[0020] ;
[0021] in, The loss function is used to quantify the degree of difference between the predicted value and the true value; The ensemble predictions are the combined predictions of the first t-1 decision trees; Let be the predicted value of the t-th decision tree; This is a regularization term used to prevent the model from overfitting.
[0022] The regularization term is represented as:
[0023] ;
[0024] in, The coefficient for the leaf nodes controls the penalty strength for the number of leaf nodes; To determine the number of leaf nodes in the decision tree; Let be the weight of the j-th leaf node; This is the regularization coefficient, which adjusts the degree of regularization for the weights of the leaf nodes.
[0025] In the decision tree construction process of the LightGBM surrogate model, the core optimization objective is to minimize the objective function of each tree. To achieve this, the optimal split point is determined by calculating the gain brought by feature splitting. The splitting gain of the optimal split point can be quantified as follows:
[0026] ;
[0027] in, This is the first-order gradient statistic of the loss function at the current predicted value; This is the second-order gradient statistic of the loss function at the current predicted value; For the parent sample set; The sample set of the left child nodes after splitting; This is the sample set of the right child nodes after the split.
[0028] Preferably, the following multi-objective optimization mathematical model is established in S3 based on the Pareto optimal multi-objective genetic algorithm:
[0029] ;
[0030] The constraints are:
[0031] ;
[0032] ;
[0033] in, Let K be the decision vector, K be the dimension of the decision variables, and X be the decision space; The objective function vector; and These are the lower and upper limits of the tightening torque constraint, respectively. and These are the lower and upper limits of the pose deviation constraint, respectively.
[0034] Pareto optimal solution set and Pareto Frontier They are defined as follows:
[0035] ;
[0036] ;
[0037] in, Pareto dominance is expressed as follows: if and only if the decision variable... Non-inferior on all objective functions And it is strictly better than at least one objective function. At that time, it was called Pareto dominance .
[0038] Preferably, the population size of the multi-objective genetic algorithm in S3 is... Maximum iteration algebra Crossover probability Pareto retention rate ;
[0039] Using average Pareto distance Monitoring the convergence of multi-objective genetic algorithms:
[0040] ;
[0041] in, The number of solutions to the current Pareto front; Let be the minimum Euclidean distance from the i-th solution to the ideal Pareto front, where the ideal Pareto front is the theoretical boundary formed when each output objective function reaches its theoretical optimum; when The multi-objective genetic algorithm is considered to have converged when the value is less than the preset convergence threshold.
[0042] Preferably, in S4, the k-means clustering method is used to cluster and compress the Pareto optimal solution set, specifically including:
[0043] Pareto optimal solution set Each solution in the equation is mapped to the target space, resulting in a set of target vectors:
[0044] ;
[0045] in, ;
[0046] Initialize k cluster centers in the target space. where k≥2;
[0047] Iteratively execute the following two steps until convergence:
[0048] Allocation steps: Assign each target vector Assigning to the nearest cluster center, the assignment criterion is to minimize the Euclidean distance;
[0049] Update steps: Update each cluster center to the mean of all target vectors within the cluster;
[0050] When the cluster affiliation of all target vectors no longer changes in two consecutive iterations, the clustering is considered to have converged. At this point, the target vector closest to the cluster center is selected from each cluster as the representative optimal solution, thus outputting k representative optimal solutions that are evenly distributed in the target space.
[0051] Preferably, the process in S5 for evaluating the robustness of the representative optimal solution based on uncertainty variables includes:
[0052] pose deviation vector Set as an uncertain variable and give a fluctuation range. Tightening torque Keep the deterministic variables unchanged;
[0053] For each representative optimal solution Uncertainty propagation analysis is performed within a given fluctuation range of pose deviation to obtain the output target. Statistical characteristics, including median and radius ;
[0054] Calculate the robustness of each representative optimal solution:
[0055] ;
[0056] The most robust and representative optimal solution is taken as the optimal combination of assembly parameters that balances performance and reliability.
[0057] This invention also discloses a system for stress compensation and process parameter optimization in the assembly of a two-reflector optical system, implemented using the above-mentioned method, specifically including:
[0058] The acquisition module is used to acquire simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and pose deviation conditions, and to construct the original dataset.
[0059] The mapping module is used to train a LightGBM surrogate model based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, using gradient boosting decision trees to establish a nonlinear mapping relationship between input parameters and output targets.
[0060] The optimization module is used to employ a Pareto-optimal multi-objective genetic algorithm to maximize the energy concentration in the assembly state and minimize the difference between the energy concentration in the assembly state and the energy concentration in the service state as dual optimization objectives, and to search for the Pareto optimal solution set within the physical constraint interval of given tightening torque and pose deviation.
[0061] The clustering module is used to cluster and compress the Pareto optimal solution set using the k-means clustering method, and extract k representative optimal solutions.
[0062] The determination module is used to set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal combination of assembly parameters that takes into account both performance and reliability.
[0063] The present invention also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0064] Memory is used to store processor-executable instructions;
[0065] The processor, when executing instructions stored in memory, implements the above-mentioned methods for stress compensation and process parameter optimization in the assembly of the two-reflector optical system.
[0066] The present invention, which adopts the above technical solution, has the following prominent features compared with the prior art:
[0067] A LightGBM proxy model was constructed to achieve control over assembly energy concentration. and service energy concentration High-precision geodetic prediction, compared with other surrogate models, and The average prediction errors were only 2.17% and 3.25%, demonstrating excellent optical system imaging quality prediction capabilities.
[0068] A Pareto-optimal multi-objective genetic algorithm (MOGA) was designed to balance the two optimization objectives of initial assembly performance and service stability. The most representative optimal solution was selected by k-means clustering. The results were verified with simulation results. The average deviation under assembly conditions was 4.51%, and the average deviation under service conditions was 7.42%, which showed good agreement.
[0069] Based on the Pareto optimal solution and k-means clustering, constraints were added and pose deviation was set as an uncertainty variable. Finally, the optimal choice of torque combination was determined. The optimized optical system improved the imaging quality (assembly stage) by an average of 4.37% and the imaging quality under service conditions by an average of 11.2%. Attached Figure Description
[0070] Figure 1 This is a schematic diagram of the method flow in an embodiment of the present invention;
[0071] Figure 2 This is a schematic diagram comparing the prediction results of the LightGBM proxy model in the test set according to an embodiment of the present invention;
[0072] Figure 3 This is a schematic diagram of the average relative error of the test set data under repeated trials in an embodiment of the present invention;
[0073] Figure 4 This is a schematic diagram comparing the prediction errors of different proxy models in an embodiment of the present invention;
[0074] Figure 5 This is a schematic diagram of the convergence curve of the MOGA algorithm in an embodiment of the present invention;
[0075] Figure 6 This is a schematic diagram of the Pareto optimal solution set in an embodiment of the present invention;
[0076] Figure 7 This is a schematic diagram of the Pareto representative optimal solution after k-means clustering in an embodiment of the present invention;
[0077] Figure 8 This is a schematic diagram comparing the algorithm results with the simulation results in an embodiment of the present invention;
[0078] Figure 9 This is a schematic diagram of the output results of different torque combinations in an embodiment of the present invention;
[0079] Figure 10 This is a schematic diagram of the system structure in an embodiment of the present invention;
[0080] Figure 11 This is a schematic diagram of the electronic device structure in an embodiment of the present invention. Detailed Implementation
[0081] The present invention will be further illustrated below with reference to specific embodiments. The purpose of this illustration is solely to provide a better understanding of the invention. Therefore, the examples given do not limit the scope of protection of the present invention.
[0082] like Figure 1 As shown in the figure, this embodiment provides a method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system, including the following steps:
[0083] S1. Obtain simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and position deviation conditions, and construct the original dataset.
[0084] In practice, the worst-case operating conditions of the two-reflector optical system throughout its entire lifespan can be determined through multiphysics finite element simulation. The worst-case operating condition is the vibration-microgravity coupled condition, with the following load application sequence: The assembly of the two-reflector optical system is completed under a standard gravity field of 1g; the initial stress distribution is established; a vibration load is applied; and simultaneously, the gravity field linearly transitions from the standard gravity field of 1g to the microgravity field. Specific parameters include: a lateral vibration displacement with a Z-axis amplitude of 1mm, a vibration frequency of 1, and a microgravity load linearly transitioning from the standard gravity field of 1g to 10... -4 g; Simulation data refers to simulation data obtained under the determined worst service conditions.
[0085] Specifically, the tightening torque is denoted as... The pose deviation vector is denoted as ,in, These represent the eccentricity errors of the primary mirror about the x and y axes, respectively. These represent the tilt errors of the primary mirror about the x and y axes, respectively. These represent the eccentricity errors of the secondary mirror about the x and y axes, respectively. These represent the tilt errors of the secondary mirror about the x and y axes, respectively.
[0086] Building the original dataset includes:
[0087] A stratified random sampling method was used to measure the tightening torque. Within the physical constraint range Sampling is performed inside to obtain Group torque samples;
[0088] For each set of torque samples, the Latin hypercube sampling method is used to generate... Group pose deviation vector ,constitute Group input parameter combinations;
[0089] Through multiphysics finite element simulation, mirror deformation cloud maps under various combinations of input parameters were obtained. After geometric correction and normalization, the corresponding assembly state energy concentration was obtained. Energy concentration in service status This forms the original dataset. ,in, The total number of samples, Let be the input parameters for the i-th sample. Let i be the output target for the i-th sample.
[0090] S2. Based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, a gradient boosting decision tree is used to train the LightGBM surrogate model, thereby establishing a nonlinear mapping relationship between input parameters and output targets.
[0091] LightGBM is an algorithm based on gradient boosting decision tree (GBDT) in ensemble learning. LightGBM uses a histogram-based decision tree algorithm, and iteratively trains through gradient boosting. In each iteration, it builds a new weak learner based on gradient information, and uses a leaf-wise growth strategy and feature parallel optimization to efficiently reduce the loss function.
[0092] The core principle is to approximate the objective function by constructing a surrogate model. Given a supervised dataset, the goal is to learn a mapping function to minimize a predefined loss function, which quantifies the degree of difference between the predicted and true values.
[0093] In practice, the training objective of the LightGBM proxy model is to minimize the following regularized loss function:
[0094] ;
[0095] in, The loss function is used to quantify the degree of difference between the predicted value and the true value; The ensemble predictions are the combined predictions of the first t-1 decision trees; Let be the predicted value of the t-th decision tree; Regularization terms, used to prevent overfitting, typically employ L1 (Lasso) or L2 (Ridge) regularization. To efficiently optimize the objective function, LightGBM uses a second-order Taylor expansion approximation, transforming the original objective function into the following form:
[0096] ;
[0097] Based on these gradient statistics and the structural definition of the regression tree, the regularization term is expressed as:
[0098] ;
[0099] in, The coefficient for the leaf nodes controls the penalty strength for the number of leaf nodes; To determine the number of leaf nodes in the decision tree; Let be the weight of the j-th leaf node; The regularization coefficient adjusts the degree of regularization of the leaf node weights; given a subset of samples corresponding to leaf node j... The objective function can be further expanded into an optimization form grouped by leaf nodes:
[0100] ;
[0101] Given a fixed tree structure q(x), LightGBM can derive the optimal weights for each leaf node j as follows:
[0102] ;
[0103] At this point, the corresponding optimal objective function value can be expressed as:
[0104] ;
[0105] In the decision tree construction process of the LightGBM surrogate model, the core optimization objective is to minimize the objective function of each tree. To achieve this, the optimal split point is determined by calculating the gain brought by feature splitting. The splitting gain of the optimal split point can be quantified as follows:
[0106] ;
[0107] in, This is the first-order gradient statistic of the loss function at the current predicted value; This is the second-order gradient statistic of the loss function at the current predicted value; For the parent sample set; The sample set of the left child nodes after splitting; The algorithm takes the right child node sample set after splitting. It iterates through all possible splitting schemes, selecting the feature and split point with the highest gain for node splitting, and recursively repeats this process until a stopping condition such as meeting the maximum depth limit or the gain falling below a threshold is met. This information gain-based greedy search strategy ensures that each decision tree effectively reduces the objective function value.
[0108] S3. A Pareto-optimal multi-objective genetic algorithm is adopted, with the dual optimization objectives of maximizing the energy concentration in the assembly state and minimizing the difference between the energy concentration in the assembly state and the energy concentration in the service state. The Pareto optimal solution set is searched within the physical constraint interval of the given tightening torque and pose deviation.
[0109] Solving traditional multi-objective optimization problems typically follows a single-objective approach, the most representative being the weighted summation method. This method simplifies the multi-objective problem into a single-objective form by linearly combining different objectives with weights. However, this method has significant limitations. Not only is the weight allocation highly subjective, but the interrelationships between decision variables can lead to a complex topological structure in the weighted objective function, thus affecting computational efficiency. Besides this, methods based on KKT conditions and minimization transformations are also common traditional approaches. While these methods simplify the solution process through mathematical transformations, they fundamentally alter the multi-objective nature of the original problem.
[0110] This invention uses a Pareto-optimal multi-objective genetic algorithm (MOGA) to solve multi-objective optimization problems. This is a hybrid variant of NSGA-II based on the control elitist strategy, which is more suitable for solving global maximum or minimum problems, while avoiding the trap of local optima.
[0111] In implementation, the following multi-objective optimization mathematical model is established based on the Pareto optimal multi-objective genetic algorithm:
[0112] ;
[0113] The constraints are:
[0114] ;
[0115] ;
[0116] in, Let K be the decision vector, K be the dimension of the decision variables, and X be the decision space; The objective function vector; and These are the lower and upper limits of the tightening torque constraint, respectively. and These are the lower and upper limits of the pose deviation constraint, respectively.
[0117] Pareto optimal solution set and Pareto Frontier They are defined as follows:
[0118] ;
[0119] ;
[0120] in, Pareto dominance is expressed as follows: if and only if the decision variable... Non-inferior on all objective functions And it is strictly better than at least one objective function. At that time, it was called Pareto dominance .
[0121] Population size of multi-objective genetic algorithms Maximum iteration algebra Crossover probability Pareto retention rate ;
[0122] Using average Pareto distance Monitoring the convergence of multi-objective genetic algorithms:
[0123] ;
[0124] in, The number of solutions to the current Pareto front; Let be the minimum Euclidean distance from the i-th solution to the ideal Pareto front, where the ideal Pareto front is the theoretical boundary formed when each output objective function reaches its theoretical optimum; when The multi-objective genetic algorithm is considered to have converged when the value is less than the preset convergence threshold.
[0125] S4. Use the k-means clustering method to cluster and compress the Pareto optimal solution set, and extract k representative optimal solutions.
[0126] The specific steps for clustering and compressing the Pareto optimal solution set using the k-means clustering method include:
[0127] Pareto optimal solution set Each solution in the equation is mapped to the target space, resulting in a set of target vectors:
[0128] ;
[0129] in, ;
[0130] Initialize k cluster centers in the target space. where k≥2;
[0131] Iteratively execute the following two steps until convergence:
[0132] Allocation steps: Assign each target vector Assigning to the nearest cluster center, the assignment criterion is to minimize the Euclidean distance;
[0133] Update steps: Update each cluster center to the mean of all target vectors within the cluster;
[0134] When the cluster affiliation of all target vectors no longer changes in two consecutive iterations, the clustering is considered to have converged. At this point, the target vector closest to the cluster center is selected from each cluster as the representative optimal solution, thus outputting k representative optimal solutions that are evenly distributed in the target space.
[0135] S5. Set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal assembly parameter combination that takes into account both performance and reliability.
[0136] In practice, the process of evaluating the robustness of the representative optimal solution based on uncertainty variables includes:
[0137] pose deviation vector Set as an uncertain variable and give a fluctuation range. Tightening torque Keep the deterministic variables unchanged;
[0138] For each representative optimal solution Uncertainty propagation analysis is performed within a given fluctuation range of pose deviation to obtain the output target. Statistical characteristics, including median and radius ;
[0139] Calculate the robustness of each representative optimal solution:
[0140] ;
[0141] The most robust and representative optimal solution is taken as the optimal combination of assembly parameters that balances performance and reliability.
[0142] Experimental Analysis
[0143] The test dataset contains 70 sets of data to visually evaluate the predictive capabilities of the surrogate model. Figure 2 The surrogate model's prediction results on the test set are shown. As can be seen from the figure, most of the predicted values for the two energy concentration indices coincide with or are very close to the actual values, with only a very small number of data points showing some deviation. The predictions for the test set are calculated separately. and The coefficient of determination and root mean square error of the predicted values, in the test set of The value is 0.879, and the corresponding RMSE value is 0.0234. of The value is 0.874, and the corresponding RMSE value is 0.0235, which indicates that the LightGBM surrogate model has high reliability and accuracy in image quality prediction.
[0144] To test the robustness and reliability of the surrogate model and reduce random errors caused by random factors, the dataset was randomly divided again in an 8:2 ratio (repeated 10 times), and the corresponding relative error data was calculated, such as... Figure 3 As shown, it can be seen that The maximum relative error is 3.02%, the minimum relative error is 1.12%, and the average error is 2.17%. The maximum relative error was 4.6%, the minimum relative error was 1.63%, and the average error was 3.25%. This indicates that, under repeated experimental conditions, the constructed LightGBM surrogate model is effective. The average prediction accuracy reached 97.83%, for The average prediction accuracy reached 96.75%, and the constructed surrogate model showed high accuracy and consistency in predicting the imaging quality of optical systems.
[0145] The LightGBM surrogate model demonstrated excellent prediction accuracy. Four other common surrogate models were selected for comparison: Random Forest Regression, Feedforward Neural Network (FNN), Support Vector Regression, and Gaussian Process Regression, to predict assembly imaging quality and in-service imaging quality, respectively. The training and test sets were divided using the same method, and the experiment was repeated five times. Fine-tuning was performed on each of the four models to achieve optimal prediction accuracy. The prediction errors of different surrogate models are shown below. Figure 4 As shown in the figure, the support vector regression model exhibited the worst prediction accuracy. The average prediction error is 4.45%. The average prediction accuracy error was 8.2%; the feedforward neural network was second best. The average prediction error is 4.05%. The average prediction accuracy error was 6.26%; then came the random forest regression model. The average prediction error was 3.5%, while the average prediction accuracy error of ES was 6.27%; the Gaussian process regression model... The average prediction error (2.85%) and the prediction error for The average prediction error (4.92%) is better than the three surrogate models mentioned above, but still lower than the LightGBM surrogate model proposed in this invention (2.17% and 3.25%, respectively). Therefore, compared with other surrogate models, the LightGBM surrogate model performs best in prediction.
[0146] In optical system assembly optimization, both initial assembly accuracy and accuracy retention capability under service conditions are set as optimization objectives. These two objectives are respectively used... and The larger the former (higher accuracy) is, the better the initial assembly precision; the smaller the latter (lower accuracy) is, the better the precision retention capability.
[0147] The MOGA algorithm is used to solve multi-objective optimization problems. Its convergence curve can be described by the average pareto distance (APD), which represents the average distance from each solution in the current Pareto front solution set to the ideal Pareto front. Euclidean distance is typically used for calculation. A smaller APD value indicates that the current solution set is closer to the true Pareto front, and the algorithm has better convergence. The APD value after 15 iterations is calculated based on the APD formula, as shown below. Figure 5 As shown in the convergence curve, the APD decreases rapidly after the second generation (<0.05), and gradually approaches zero after the 15th generation (<0.01), indicating that the population converges quickly during the training process and the diversity of the solution set decreases significantly.
[0148] The Pareto front is obtained by solving the multi-objective optimization problem using the MOGA algorithm, such as... Figure 6 As shown, the lower right corner represents the optimal region, corresponding to the two defined optimization objectives: a higher energy concentration during assembly and a smaller difference in energy concentration between assembly and service. The point set forms a clear non-convex Pareto front curve, which illustrates the optimal trade-off solution set between the different objectives, where each solution satisfies the Pareto optimality condition. The Pareto front points are in two-dimensional space. A subset thereof, where one dimension corresponds to the initial assembly accuracy, and the other dimension corresponds to the difference between the assembly energy concentration and the service energy concentration. Figure 6 Each Pareto front point corresponds to a set of optimal parameters, which is the optimal combination of parameters including bolt tightening torque and pose deviation. Fifteen Pareto front points were selected, and the results are shown in Table 1.
[0149] Table 1. Some Pareto front points and optimal parameter combinations
[0150]
[0151] Based on the Pareto front, five optimal solutions were selected using the k-means clustering method for result analysis, such as... Figure 7 As shown in Table 2, any solution obtained by the k-means clustering method is not inferior to other solutions on all objective functions, and is superior on at least one objective function. Therefore, all solutions are theoretically optimal, and the representative solutions after clustering are relatively evenly distributed in the objective space, covering different trade-offs. Based on this, considering that these five optimal solutions are obtained by optimizing the LightGBM surrogate model using a genetic algorithm, joint simulation verification was performed on each optimal solution, yielding the following results: Figure 8 The comparison curves shown, in which This represents the assembly energy concentration obtained through co-simulation. This represents the service energy concentration obtained through co-simulation. Experimental results show that the energy concentration values obtained by the two methods exhibit a highly consistent variation pattern. Specifically, the prediction value of the MOGA algorithm in this invention is consistently higher than that of the co-simulation result, with an average deviation of 4.51% under assembly conditions and 7.42% under service conditions, indicating good agreement between the two methods.
[0152] Table 2. Optimal parameter combinations after k-means clustering
[0153]
[0154] To more effectively and reasonably select the optimal design point from the five optimal solutions, additional constraints are introduced. Considering specific circumstances in engineering practice, based on these five torque combinations, an uncertainty optimization algorithm is used, setting the pose deviation as an uncertain variable, i.e., the pose deviation fluctuates within a certain range, to obtain the median and radius under different torque combinations. The results are as follows. Figure 9 As shown, it can be seen that the torque combination numbered 3 (i.e., [752.28 730.83 696.36]) achieves the optimal solution while taking into account the uncertainty.
[0155] To verify the effectiveness of the algorithm of this invention in optimizing torque combinations to improve energy concentration, 10 typical samples were randomly selected from the torque combination dataset containing 350 sets of original data, and their assembly energy concentration was calculated respectively. and service energy concentration The optimized torque combination was compared with the obtained optimal parameter combination. As shown in Table 3, the optimized torque combination significantly outperformed the random sample in terms of energy concentration index. The average value increased by 4.37%. The average value increased by 11.2%, with maximum increases of 12.72% and 38.78%, respectively. This comparative result clearly demonstrates that the optimization algorithm proposed in this invention can effectively identify high-performance torque combination parameters and has a significant advantage in improving system energy concentration. It is worth noting that the performance improvement of the optimized combination is more significant under service conditions, which may be related to its better adaptation to the dynamic characteristics of the actual working environment. Through this series of comparative experiments, not only was the effectiveness of the algorithm verified, but a reliable basis was also provided for parameter selection in subsequent engineering applications.
[0156] Table 3. Energy Concentration Results for Different Tightening Torques
[0157]
[0158] like Figure 10 The embodiment of the present invention also provides a system for stress compensation and process parameter optimization in the assembly of a two-reflector optical system, which is implemented using the above method and specifically includes:
[0159] The acquisition module is used to acquire simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and pose deviation conditions, and to construct the original dataset.
[0160] The mapping module is used to train a LightGBM surrogate model based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, using gradient boosting decision trees to establish a nonlinear mapping relationship between input parameters and output targets.
[0161] The optimization module is used to employ a Pareto-optimal multi-objective genetic algorithm to maximize the energy concentration in the assembly state and minimize the difference between the energy concentration in the assembly state and the energy concentration in the service state as dual optimization objectives, and to search for the Pareto optimal solution set within the physical constraint interval of given tightening torque and pose deviation.
[0162] The clustering module is used to cluster and compress the Pareto optimal solution set using the k-means clustering method, and extract k representative optimal solutions.
[0163] The determination module is used to set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal combination of assembly parameters that takes into account both performance and reliability.
[0164] This invention also provides an electronic device, such as... Figure 11 As shown, it includes a processor 001, a communication interface 002, a memory 003, and a communication bus 004. The processor 001, communication interface 002, and memory 003 communicate with each other via the communication bus 004.
[0165] Memory 003 is used to store computer programs;
[0166] Processor 001, when executing the program stored in memory 003, implements the above-mentioned method for stress compensation and process parameter optimization in the assembly of the two-reflector optical system, including:
[0167] S1. Obtain simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and posture deviation conditions, and construct the original dataset;
[0168] S2. Based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, a gradient boosting decision tree is used to train the LightGBM surrogate model, thereby establishing a nonlinear mapping relationship between input parameters and output targets.
[0169] S3. A Pareto-optimal multi-objective genetic algorithm is adopted, with the dual optimization objectives of maximizing the energy concentration in the assembly state and minimizing the difference between the energy concentration in the assembly state and the energy concentration in the service state. The Pareto optimal solution set is searched within the physical constraint interval of the given tightening torque and pose deviation.
[0170] S4. Use the k-means clustering method to cluster and compress the Pareto optimal solution set, and extract k representative optimal solutions;
[0171] S5. Set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal assembly parameter combination that takes into account both performance and reliability.
[0172] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0173] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0174] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0175] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0176] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0177] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0178] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system and electronic device embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0179] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system, characterized in that, Includes the following steps: S1. Obtain simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and posture deviation conditions, and construct the original dataset; S2. Based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, a gradient boosting decision tree is used to train the LightGBM surrogate model, thereby establishing a nonlinear mapping relationship between input parameters and output targets. S3. A Pareto-optimal multi-objective genetic algorithm is adopted, with the dual optimization objectives of maximizing the energy concentration in the assembly state and minimizing the difference between the energy concentration in the assembly state and the energy concentration in the service state. The Pareto optimal solution set is searched within the physical constraint interval of the given tightening torque and pose deviation. S4. Use the k-means clustering method to cluster and compress the Pareto optimal solution set, and extract k representative optimal solutions; S5. Set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal assembly parameter combination that takes into account both performance and reliability.
2. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 1, characterized in that, The tightening torque in S1 is denoted as The pose deviation vector is denoted as ,in, These represent the eccentricity errors of the primary mirror about the x and y axes, respectively. These represent the tilt errors of the primary mirror about the x and y axes, respectively. These represent the eccentricity errors of the secondary mirror about the x and y axes, respectively. These represent the tilt errors of the secondary mirror about the x and y axes, respectively. Building the original dataset includes: A stratified random sampling method was used to measure the tightening torque. Within the physical constraint range Sampling is performed inside to obtain Group torque samples; For each set of torque samples, the Latin hypercube sampling method is used to generate... Group pose deviation vector ,constitute Group input parameter combinations; Through multiphysics finite element simulation, mirror deformation cloud maps under various combinations of input parameters were obtained. After geometric correction and normalization, the corresponding assembly state energy concentration was obtained. Energy concentration in service status This forms the original dataset. ,in, The total number of samples, Let be the input parameters for the i-th sample. Let i be the output target for the i-th sample.
3. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 2, characterized in that, The training objective of the LightGBM proxy model in S2 is to minimize the following regularized loss function: ; in, The loss function is used to quantify the degree of difference between the predicted value and the true value; The ensemble predictions are the combined predictions of the first t-1 decision trees; Let be the predicted value of the t-th decision tree; This is a regularization term used to prevent the model from overfitting. The regularization term is represented as: ; in, The coefficient for the leaf nodes controls the penalty strength for the number of leaf nodes; To determine the number of leaf nodes in the decision tree; Let be the weight of the j-th leaf node; This is the regularization coefficient, which adjusts the degree of regularization for the weights of the leaf nodes. In the decision tree construction process of the LightGBM surrogate model, the core optimization objective is to minimize the objective function of each tree. To achieve this, the optimal split point is determined by calculating the gain brought by feature splitting. The splitting gain of the optimal split point can be quantified as follows: ; in, This is the first-order gradient statistic of the loss function at the current predicted value; This is the second-order gradient statistic of the loss function at the current predicted value; For the parent sample set; The sample set of the left child nodes after splitting; This is the sample set of the right child nodes after the split.
4. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 3, characterized in that, The following multi-objective optimization mathematical model is established in S3 based on the Pareto optimal multi-objective genetic algorithm: ; The constraints are: ; ; in, Let K be the decision vector, K be the dimension of the decision variables, and X be the decision space; The objective function vector; and These are the lower and upper limits of the tightening torque constraint, respectively. and These are the lower and upper limits of the pose deviation constraint, respectively. Pareto optimal solution set and Pareto Frontier They are defined as follows: ; ; in, Pareto dominance is expressed as follows: if and only if the decision variable... Non-inferior on all objective functions And it is strictly better than at least one objective function. At that time, it was called Pareto dominance .
5. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 4, characterized in that, Population Size in Multi-Objective Genetic Algorithm in S3 Maximum iteration algebra Crossover probability Pareto retention rate ; Using average Pareto distance Monitoring the convergence of multi-objective genetic algorithms: ; in, The number of solutions to the current Pareto front; Let be the minimum Euclidean distance from the i-th solution to the ideal Pareto front, where the ideal Pareto front is the theoretical boundary formed when each output objective function reaches its theoretical optimum; when The multi-objective genetic algorithm is considered to have converged when the value is less than the preset convergence threshold.
6. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 5, characterized in that, In S4, the k-means clustering method is used to compress the Pareto optimal solution set. Specifically, this includes: Pareto optimal solution set Each solution in the equation is mapped to the target space, resulting in a set of target vectors: ; in, ; Initialize k cluster centers in the target space. where k≥2; Iteratively execute the following two steps until convergence: Allocation steps: Assign each target vector Assigning to the nearest cluster center, the assignment criterion is to minimize the Euclidean distance; Update steps: Update each cluster center to the mean of all target vectors within the cluster; When the cluster affiliation of all target vectors no longer changes in two consecutive iterations, the clustering is considered to have converged. At this point, the target vector closest to the cluster center is selected from each cluster as the representative optimal solution, thus outputting k representative optimal solutions that are evenly distributed in the target space.
7. The method for stress compensation and process parameter optimization in the assembly of a two-reflector optical system according to claim 6, characterized in that, The process of evaluating the robustness of the representative optimal solution based on uncertainty variables in S5 includes: pose deviation vector Set as an uncertain variable and give a fluctuation range. Tightening torque Keep the deterministic variables unchanged; For each representative optimal solution Uncertainty propagation analysis is performed within a given fluctuation range of pose deviation to obtain the output target. Statistical characteristics, including median and radius ; Calculate the robustness of each representative optimal solution: ; The most robust and representative optimal solution is taken as the optimal combination of assembly parameters that balances performance and reliability.
8. A system for stress compensation and process parameter optimization in the assembly of a two-reflector optical system, characterized in that, The method described in any one of claims 1 to 7 is used to implement the method, specifically including: The acquisition module is used to acquire simulation data of the energy concentration of the two-reflector optical system in the assembly state and the energy concentration in the service state under given tightening torque and pose deviation conditions, and to construct the original dataset. The mapping module is used to train a LightGBM surrogate model based on the original dataset, with tightening torque and pose deviation as input parameters and assembly state energy concentration and service state energy concentration as output targets, using gradient boosting decision trees to establish a nonlinear mapping relationship between input parameters and output targets. The optimization module is used to employ a Pareto-optimal multi-objective genetic algorithm to maximize the energy concentration in the assembly state and minimize the difference between the energy concentration in the assembly state and the energy concentration in the service state as dual optimization objectives, and to search for the Pareto optimal solution set within the physical constraint interval of given tightening torque and pose deviation. The clustering module is used to cluster and compress the Pareto optimal solution set using the k-means clustering method, and extract k representative optimal solutions. The determination module is used to set the pose deviation in the representative optimal solution as an uncertainty variable, evaluate the robustness of the representative optimal solution based on the uncertainty variable within a given fluctuation range, and then take the representative optimal solution with the highest robustness as the optimal combination of assembly parameters that takes into account both performance and reliability.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory is used to store processor-executable instructions; The processor, when executing instructions stored in the memory, implements the assembly stress compensation and process parameter optimization method for the two-reflector optical system as described in any one of claims 1-7.
