1. Introduction
In optical design, optimization constitutes a systematic endeavor to attain optimal outcomes under specified conditions. This pursuit aims to minimize the error function subject to certain constraints. Advanced, automatic optimization methods play a pivotal role in effectively and accurately determining the feasibility of achieving exemplary design results.
The current imaging optical systems are marked by increasing demands, propelled by advances in optical technology. These optical systems are expected to deliver exceptional image quality, evolving toward the large field, large aperture, and wideband to meet the diverse demands. Moreover, optical systems have grown increasingly complex, transitioning from coaxial and off-axis configurations to partial-axis ones, and from spherical and aspheric surfaces to freeform surfaces. Consequently, the task of seeking the increasingly untraceable initial structure of optical systems, whether in existing systems or patent libraries, has become infeasible.
Complex optical systems inherently involve a multitude of structural parameters for optimization, comprising continuous and discrete variables. Aberrations manifest as nonlinear functions of these variables, impeding the derivation of analytical expressions. Additionally, aberrations are asymmetric in an optical system with freeform surfaces [
1,
2,
3]. The types of aberrations are also increasing and lack orthogonal relationships, resulting in a number of local minima within the multidimensional variable space, rendering the quest for optimal solutions in imaging optical systems a hard effort. Commercial optical design software, like CODE V and Zemax, predominantly employs the DLS method for automated local optimization of imaging optical systems, focusing on one specific objective, such as RMS spot, wave aberration, or MTF. Alternatively, users can achieve optimization by constructing complex error functions, such as combining lateral aberration with wavefront aberration to form a complex error function, and then performing optimization. However, this approach transforms multiple objectives into a single objective, which achieves the optimization process through a single objective algorithm, essentially. As a result, recent research in imaging optical systems has concentrated on single-objective optimization [
4,
5,
6]. However, conventional single-objective local optimization methodologies, such as DLS and adaptive methods, may prove inadequate for complex optical system types that necessitate the simultaneous optimization of multiple targets.
Numerous multi-objective optimization algorithms have been proposed to solve problems that single-objective optimization algorithms cannot overcome. David Goldberg proposed a multi-objective optimization technique named genetic algorithm (GA) [
7]. Subsequently, Srinivas and Deb devised NSGA, grounded in the concept of non-dominated sorting [
8]. Deb et al. enhanced NSGA with NSGA-II [
9], which adopts the congestion and crowding comparison operator as the winning criterion in peer comparison after fast sorting and maintaining the diversity of populations. The proposed method also introduces the elitist strategy, enlarges the sample space, prevents the loss of the best individual, and improves the computing speed and robustness of the algorithm. The algorithm is highly suitable for processing multi-objective optimization problems with ≤3 objective dimensions. R Furtuna et al. designed a method based on NSGA-II to improve the multi-objective optimization problem in the chemical synthesis process. However, the application is not universal as it requires high parametric conditions during chemical reactions [
10]. Hossein et al. proposed an enhanced version of NSGA-II to solve the fuzzy bi-objective assembly line balancing problem, where the objective function is to minimize the number of workstations and the fuzzy cycle time [
11]. Khettabi et al. first proposed a reconfigurable manufacturing system for cost, time efficiency, and environmental awareness. Adaptive dynamic NSGA-II and NSGA-III were developed for this system [
12].
The objective optimization algorithms mentioned above are all based on genetic algorithms. Nevertheless, these algorithms remain somewhat specialized, being tailored to specific multi-objective problems such as allocation [
13,
14,
15], vehicle routing [
16,
17,
18], the traveling salesman problem [
19], and scheduling dilemmas [
20,
21,
22]. Their universal applicability is limited because a generic problem-solving approach may not surpass a technique specifically tailored to the given problem. The precision and efficiency of these algorithms would not meet the application requirements in the complex operating environment of the target to be optimized, such as the multi-objective optimization of imaging optical systems. Therefore, this paper makes improvements to the traditional NSGA-II multi-objective optimization algorithm to make it suitable for optimizing imaging optical systems.
This paper investigates the use of the multi-objective local optimization method—an algorithm that does not require transforming multiple objectives into one—with optical systems. It can directly optimize multiple objectives simultaneously and provide a non-dominated solution set as the output. This solution set allows designers to find the optimal solution according to their optimization target and strategy. This approach significantly improves the efficiency of optical design and the quality of design results, which has both theoretical significance and practical value for developing optical optimization technology.
3. Experiments and Results
To evaluate the validation of the proposed method, two sets of multi-objective optimization experiments are conducted using a Cooke optical system (Case 1) and a self-developed telescope system (Case 2). In Case 1, the system has been optimized for spot size using commercial software CODE V (version: CODE V 11.5), which is a minor aberration system, as shown in
Figure 3. For Case 2, the image quality has not been optimized, which has a relatively large aberration compared with Case 1, as shown in
Figure 4. Double objective optimization upon lateral and wave aberration error functions is performed. The variables of the system are labeled in
Figure 3 and
Figure 4, including curvatures and thicknesses, respectively marked with “C” and “d”. The multi-objective error function and optimization program is coded by Matlab R2017a, and the ray tracing of CODE V software is invoked to achieve the optimization iteration process. The number of individuals in the initial population,
M, is set as 50; the number of offspring population,
N, is 30; the scaling factor,
F, is set as 0.5; and 0.5 of the variation rate (
R) is adopted in Equation (9).
Table 1 shows the basic parameters of the optical systems used in the two cases. A single wavelength for both lenses is employed to simplify the experimental parameters and exclude the influence of chromatic aberration factors, such as the secondary spectrum. These parameters were carefully selected to ensure accurate and reliable experimental results.
3.1. Experiment with the Cooke System
The initial parameters and variables of the Cooke optical system are shown in
Table 2. We have set nine variables in this system, labeled with “v” in the table. Through calculation, the lateral aberration error function of this system is 18.236, and the wavefront aberration error function is 1.435. We attempted to increase the thickness of surface 4 and the curvature of surface 1 of the Cooke system, in order to characterize the mapping relationship between the optical system variables and the error function. Then, the lateral aberration error function and wavefront aberration error function under the corresponding optical system parameters are calculated.
Figure 5 shows the relationships between the variation of the double objective and both the thickness of surface 4 and the curvature of surface 1. These results provide insights into the impact of optical system variables on error functions and a hint for guiding the optimization process. As shown in
Figure 5a, the lateral aberration and wavefront aberration error functions exhibit a similar increasing trend with the thickness of surface 4 in the interval from 6.5 to 9. However, for the curvature variable, as shown in
Figure 5b, the trends of the two error functions are consistent in the interval of curvature from 0.05 to 0.08. In contrast, in the interval of curvature from 0.08 to 0.082 and from 0.086 to 0.009, the wavefront aberration error function decreases while the lateral aberration error function increases. These results suggest that the trends of the lateral aberration and wavefront aberration error functions are generally consistent. However, there are also situations where their trends are contradictory. It should be noted that the thickness of surface 4 and the curvature of surface 1 are randomly chosen. We can obtain similar conclusions by modifying the variables to other surfaces and performing this process again.
Since the image quality of this system has already reached a better standard than the initial state, it is easy to deteriorate the originally better image quality again if the initial population is established by randomly adding step length with this initial variable into the 9-dimensional variable space. By using the proposed method of establishing a directional initial population, we calculated the direction vector
s = [5.591 × 10
−7, −1.706 × 10
−7, −1.002 × 10
−8, −5.435 × 10
−8, −2.238 × 10
−7, 2.702 × 10
−7, 0.0005946, −0.001302, 0.001457], which refers to the direction of evolution when establishing the population. The variables in
Table 2 were used as initial values, while the direction vector
s was used as the step length to create an initial population with a number of 50 by Equation (8).
Figure 6 shows the Pareto fronts for different evolutionary stages. The initial position and Pareto front for evolutionary generations 25, 50, 75, 100, and 200 are also labeled in the figure. Since this is a multi-objective analysis, the final result is not unique, but a set of non-dominated solutions, and the final optimal solution can be selected from the solution set according to the design needs.
As shown in
Figure 6, the proposed multi-objective optimization method achieves much better double-objective function reduction compared to the original NSGA-II algorithm for the same number of evolutionary generations.
Figure 6a shows that the optimized results of the original NSGA-II algorithm are worse than they were in the initial position. In contrast, the Pareto fronts of the proposed method continue converging to the lower left as the number of evolutionary generations increases, and the optimization results continue to improve with respect to the initial results. Although CODE V has previously optimized the Cooke optical system, our proposed method further improves its performance. Optimization results of 200 generations are selected as the final Pareto solution set. If we choose a lateral aberration error function value of 16.522 in this solution set as an acceptable position, the wavefront aberration error function is 1.077. The initial and optimized variables and error functions of the Cooke system are shown in
Table 3. After this optimization, there is a reduction of 12.26% in the lateral aberration error function and 24.94% in the wavefront aberration error function. It should be noted that our criterion for selecting acceptable positions is the desire to have an effective balance between the lateral aberration error function and the wavefront aberration error function values. In practical applications, designers can define the judgement criteria of acceptable positions according to the design needs of different optical systems.
Figure 7 shows the comparison of wavefront aberration before and after optimization, with RMS values of 0.0644λ, 0.286λ, and 0.172λ for the three fields of the system before optimization. After optimization, the RMS values of the three fields of the system are: 0.0465λ, 0.303λ, and 0.107λ. Although the wavefront aberration of the second field has slightly increased compared to before optimization, the overall wavefront aberration value of the entire system has improved. These results demonstrate that the proposed method effectively converges the error function of the minor aberration system, resulting in a significant enhancement of image quality.
3.2. Experiment of the Self-Developed Telescope System
The image quality of the self-developed telescope system has not been optimized previously. The initial image quality is poor due to its large aberration. The number of variables in this system is 21, and the variables are labeled with “v” in the table. The initial parameters of this telescope system are shown in
Table 4.
Figure 8 shows the Pareto front curve after 200 generations of optimization using the proposed multi-objective optimization method and NSGA-II. The results demonstrate that this algorithm optimized the telescope system more effectively compared to NSGA-II. Utilizing the proposed algorithm, both the lateral aberration and wavefront aberration were greatly improved as a result of the optimization. If we choose a lateral aberration error function value of 19.230 as an acceptable position, the final wavefront aberration is 1.709.
Comparisons of variable values and error functions before and after optimization are shown in
Table 5. The initial lateral aberration error function was 20,957.51, and the initial wavefront aberration error function was 106.24 before optimization. After optimization, the values of the double objective functions were reduced to 19.230 and 1.709, respectively. These results demonstrate a significant reduction in error functions by about two to three orders of magnitude compared to the initial state. The results highlight the effectiveness of our proposed method for optimizing large aberration systems.
A comparison of the RMS geometry spot and MTF before and after optimization is shown in
Figure 9. Before optimization, the average RMS spot diameter of the optical system was 0.404 mm. After optimization, this value was significantly reduced to 0.00729 mm. Additionally, the MTF at the feature frequency of 60 lp/mm was less than 0.1 before optimization, but increased to more than 0.6 for the full field after optimization. These results demonstrate that the proposed method effectively converges the error function of the large aberration system, resulting in significant improvements in image quality.
The above experiments have revealed that the method proposed can optimize two objective functions simultaneously. To further demonstrate the applicability of the proposed method, we constructed the third error function based on distortion in this section. Among them, Objective 1 is the lateral aberration error function, and Objective 2 is the wave aberration error function. The construction of these two error functions has been described in
Section 2.2.1. Target 3 is the error function based on distortion, which represents the deformation between the actual image plane and the ideal image plane after imaging by an optical system. The calculation for the error function based on distortion is shown in Equation (10).
where
Φ3 represents the error function based on distortion,
L’ is the paraxial image height, and
L’p is the main ray image height in the current field.
The test cases and optimization variables in three objective optimization experiments are consistent with those of the dual objective experiment, and the number of individuals in the initial population and offspring population parameters are also consistent with those of the dual objective experiment. The Cooke system (Case 1) and the self-developed telescopic system (Case 2) have been optimized for 200 generations using the proposed method. Comparisons of three error functions before and after optimization are shown in
Table 6. The results demonstrate that this algorithm optimized three error functions for the Cooke and telescope system effectively. For Case 1, if we choose a lateral aberration error function value of 18.19 as an acceptable position, the final wavefront aberration error function value is 1.41 and the distortion error function value is 0.0266. Compared with the initial value, the lateral aberration, wavefront aberration, and distortion were greatly improved after optimization. For the large aberration system, Case 2, the proposed algorithm has also improved the three objectives, ultimately achieving ideal image quality for the large aberration optical system.
4. Discussion
Simulation experiments are conducted to demonstrate the effectiveness and reliability of the proposed multi-objective local optimization method. Firstly, error functions based on lateral and wavefront aberrations are established, and the mapping relationship between the two error functions and variables is analyzed. The results show that the variation trend of lateral and wavefront aberration error functions with the same variable is not always consistent. Sometimes, the lateral aberration and wavefront aberration trends are contradictory. Subsequently, two sets of multi-objective optimization experiments were conducted using small and large aberration systems, respectively. For the small aberration system (Case 1), although the image quality of the system has been optimized previously, the proposed method can still further improve it. For the large aberration system (Case 2), the lateral and wavefront aberrations of the system have been greatly improved after optimization, and the Prato front solution set is provided as output. By taking one set of acceptable values as the final result, the average RMS spot diameter of the optical system before optimization is 0.404 mm, and the value after optimization is 0.00729 mm. The MTF at the feature frequency of 60 lp/mm before optimization is less than 0.1, and the value after optimization is higher than 0.6. Therefore, this method has excellent universality for small and large aberration optical systems. For time efficiency, the implementation process of this algorithm mainly takes up two periods of time: one is the time for invoking CODE V from Matlab, and the other is the running time for the optimization algorithm in Matlab. The running time of pure optimization algorithms is much lower than that of invoking CODE V from Matlab, and the data transfer between software interfaces takes up a lot of time. Taking self-developed telescope systems for example, when iterating for 25 generations, the optimization algorithm time is 3.2 s, while the time for invoking CODE V from Matlab is 163.7 s, which takes up 98.08% of the total program running time. If only one type of software is used for achieving the entire optimization process, the optimization efficiency will be greatly improved. It should be further noted that since the method made enhancements to NSGA-II, non-dominated sorting and crowding calculation operations are still preserved. Therefore, this proposed method is more suitable for situations where the number of optimization objectives is ≤3. In addition, the proposed method is currently applicable to unconstrained multi-objective optimization for imaging optical systems, and methods based on penalty function or searching for feasible solutions can be employed to handle cases with constraints. However, by effectively improving the performance of optical systems, the proposed method can contribute to the development of high-quality optical systems for a range of applications. Meanwhile, the idea of directional calculation of initial population and multi-trajectory parallel evolution proposed in this study has a certain reference value in other multi-objective optimization algorithms based on search or evolution.
5. Conclusions
In order to address the inherent limitations of conventional local optimization methodologies, such as DLS and adaptation algorithms, we have proposed a multi-objective optimization method suitable for imaging optical systems, where the objectives are established upon lateral aberration, wave aberration, and distortion criteria. Subsequently, enhancements were made to the NSGA-II algorithm by implementing a directional initial population strategy and parallel optimization with multiple-trajectory planning. These enhancements help to identify the direction of evolution and ensure the diversity of the population. The parent and offspring populations are merged into a new population, and fast and non-dominated sorting, crowding calculation, and elite strategy are performed on the population. Experimental results demonstrate the effectiveness of the proposed method. With the initial parameters optimized by CODE V, our method further reduces the lateral and wavefront aberration error functions of the Cooke system by 12.26% and 24.94%, respectively. For the self-developed telescope system, the average RMS spot diameter of the optical system before optimization is 0.404 mm, and the value after optimization is 0.00729 mm. The MTF at the feature frequency of 60 lp/mm before optimization is less than 0.1, and the value after optimization is higher than 0.6. This study provides essential guidance for applying multi-objective optimization in imaging optical systems, and contributes to the development of high-quality optical systems for a range of applications.