 Research
 Open Access
 Published:
Construct freeform surface directly in an initial layout of an offaxis reflective image system by seed curve extension and simulated annealing algorithm
Journal of the European Optical SocietyRapid Publications volume 16, Article number: 9 (2020)
Abstract
In this paper, a method of how to construct a freeform surface directly in an offaxis reflective image system is proposed. The method includes both the seed curve extension algorithm and simulated annealing algorithm. Firstly, the sample points on the unkown freeform surface were be obtained quickly by the seed curve extension algorithm. Then the continuity of the freeform surface is evaluated by calculating the angle between the normal vectors at the adjacent sample points. At last the freeform surface was fitted to an extended polynomials using simulated annealing algorithm. The method is employed to construct a freeform surface directly which is used as a primary mirror in an initial layout of an offaxis twomirror system.
Introduction
Offaxis reflective optical systems are widely used in telescopes [1], hyperspectral imaging spectrometers [2], ultrashort throw ratio projection optics [3] and so on because of compact structure, having no blocking, absence of chromatic aberrations etc. [4].. However, the offaxis reflective optical systems lack rotational symmetry, which result in various asymmetrical aberrations. The freeform surfaces are generally defined as nonrotationally symmetrical optical surfaces and provide more design freedom for optical system. The asymmetry aberrations can be compensated by introducing freeform optical surfaces [5, 6]. It is crucial for optics design to find a good initial layout as a starting point for subsequent optimization. For most of coaxis optical systems, the initial layouts can be found in some patent databases. Unfortunately, it is hard to find an appropriate initial layout for an offaxis optical system from patent databases. Therefore, various methods are employed to generate the initial layout for freeform optical systems such as pointbypoint construction or constructioniteration (CI) method [7,8,9,10,11], the partial differential Equations (PDE) [12,13,14,15] and the Simultaneous Multiple Surface (SMS) [16,17,18,19,20,21] method. The CI method is mainly made up of two processes: construction and iteration [8, 9]. Although the freeform surface in an offaxis reflective imaging system can be designed directly by only using the construction process [7], the image quality of the offaxis reflective system would be relatively poor if only the direct construction design process is employed [9]. To improve the image quality, an iterative process should be followed. Three iteration types including normal iteration, negative feedback and successive approximation were given in Ref. [9]. For the former two types, the iterative process could be potentially unstable in some cases. Though the iterative process of the successive approximation approach is more stable than the other two processes, the convergence is obviously slower [9]. The PDE method is to deduce a set of partial differential equations based on the mapping relationship between rays from the object and the image with some constraint conditions [12,13,14,15]. This method is generally limited by two factors: the number of surfaces and axial symmetry of the systems [12]. In Ref. [12,13,14,15], the number of designed surface is no more than two; otherwise the systems should have rotational symmetry. The SMS method was firstly proposed in nonimaging optics design [22, 23], and then it was extended to design imaging optical systems [16, 17]. To couple properly, the SMS method generally needs the same number of optical surfaces and wave fronts, except for a few special cases. The SMS method for imaging design is mostly used in designing 2D cases [16,17,18,19, 21]. The SMS method is extended to design a 3D aplanatic system in Ref. [20], which is a special case.
In this paper, the seed curve extension (SCE) method is introduced to construct the freeform surface directly in an offaxis freeform reflective image system. Before, the SCE method was only used in designing freeform surface in nonimaging optics such as LED illumination systems [24]. By the SCE method we can obtain all sample points on the unknown freeform surface. Then the continuity and smoothness of the unknown freeform surface is evaluated by calculating the angle between the normal vectors at the two adjacent points. The simulated annealing algorithm [25, 26] is employed to fit the sample points to an extended polynomial, which can be input into an optical software.
In order to verify the method, we constructed a freeform surface directly which is used as a primary mirror in an initial layout of an offaxis twomirror system. In the initial layout, the secondary mirror is a planar mirror. The field of view and working Fnumber of the system is 2°and 4.68, respectively. The initial layout with a so designed freeform surface and a planar mirror was turned out have a good imaging quality, which can be used as a good starting point for subsequent optimization. Based on the initial layout, a further optimization is performed in Zemax. The results show that the performance of the system is diffractionlimited.
The method proposed in this paper has several improvements as follows: all sample points on unknown freeform surface can be calculated directly without iteration or feedback. Hence the speed of calculating the sample points is very fast. Also, it doesn’t need to worry about the stability of the calculation process. Further, the method has no limitation in the number of the freeform surfaces or axial symmetry of the systems.
Methods
In the following, the method for constructing a freeform surface directly is proposed. The method mainly comprises four steps: (I) Set the initial and constraint condition. (II) Calculate the sample data points on the unknown freeform surface. (III) Evaluate the continuity and smoothness of the freeform surface. (IV) Fit the sample data points to an extended polynomial by simulated annealing algorithm.
 (I.)
Set the initial and constraint condition.
To illustrate the method of constructing freeform surface, a single freeform reflective surface is analyzed, as shown in Fig. 1. All the sample rays emitted from the starting surface. The beam is made up of M × M sample rays, whose aperture is square as shown in Fig. 1.
The space between the adjacent sample rays is equal. The starting point of the ray r_{ij} is point S_{ij}(X_{ij}, Y_{ij}, Z_{ij}) on the starting surface, whose coordinate is known as one of initial conditions. Also, the image point E(x^{′}, y^{′}, z^{′}) is fixed initially. The sample rays are reflected off a single freeform surface to the ideal image point. The point P_{ij}(x_{ij}, y_{ij}, z_{ij}) is the intersection of the sample ray r_{ij} and the unknown surface. The rays r_{ij} and \( {r}_{ij}^{\prime } \) are called as the incident ray and the emergent ray, respectively.
 (II.)
Calculate the sample points on the unknown freeform surface.
We will elaborate the process to determine the unknown freeform surface, which comprises four steps:
 1)
Select a point P_{11}(x_{11}, y_{11}, z_{11}) along the direction of propagation for the first sample ray r_{11} as the first point on the freeform surface, as shown in Fig. 2(a). The first sample ray is reflected toward the ideal image point E(x^{′}, y^{′}, z^{′}). Thus, the first emergent and incident ray vectors are
According to Eq. (2), the normal vector N_{11} of the tangent plane at the point P_{11} can be obtained.

2)
Determining the next point P_{12} on the freeform surface, which is the intersection of the adjacent sample ray r_{12} and the tangent plane at P_{11}, whose normal vector is N_{11}. The sample ray r_{12} is emitted from S_{12}, as presented in Fig. 1. Repeat the above procedure for other sample rays r_{1j} on the first row consecutively, and the intersection of the first column of sample rays r_{1j} and the unknown freeform surface can be sequentially calculated, as shown in Fig. 2(b). Hence we obtain the first curve on the freeform surface, which we shall refer to as the seed curve, which is Curve 1 in Fig. 2(b).

3)
After the seed curve, Curve 1 is determined, we return to the initial point P_{11} to start calculating the next curve on the freeform surface, Curve 2 as shown in Fig. 2(c). The point P_{21} is the intersection of the sample ray r_{21} and the tangent plane at point P_{11}, as presented in Fig. 2(c). Similarly, we can calculate all the other sample data points along Curve 2, by locating the intersection of the sample rays r_{2j} on the second row and the tangent planes at the corresponding points along Curve 1.

4)
By repeating Step (3), we can build the recursive relationships between the corresponding points on Curve i and Curve i + 1. Based on the recursive relationships, all the other sample points on the freeform surface can be determined, as shown in Fig. 2(d).

(III.)
Evaluate the continuity and smoothness of the freeform surface.
All the sample points can be obtained by the method above. Actually, one needs to construct a smooth and continuous freeform surface according to the discrete sample points. Therefore, the continuity of the freeform surface was evaluated by the following method. The angle between the normal vectors of two adjacent points is shown in Fig. 3, which can be calculated by Eq. (3) [24]. The θ_{v} is the angle between the normal vectors of two adjacent points along the same curve. The θ_{h} is the angle between the normal vectors of two corresponding points along the adjacent curves. In addition to the angles, the space between the adjacent sample points and the gradient of all sample points on the unknown freeform surface are also key to evaluate the continuity and smoothness.
 (IV.)
Fit the sample data points to an extended polynomial.
The previous design basing on seed curve extension algorithm is done for a single field point. In order to further optimize the freeform surface to cover a larger field of view, the freeform surface has to be expressed by a set of appropriate polynomials. The coefficients of these polynomials can be further optimized with a commercial optical design software, such as Zemax. There are a number of polynomials that can be used as analytical expressions of the freeform surface, such as the Zernike polynomials, the Chebyshev polynomials, and the extended polynomials. In this paper, the XY extended polynomials are employed to describe the freeform surface. The optical system in this paper is symmetrical about the YOZ plane, therefore, only evenorder terms in x are used in the XY polynomials. A base conic surface and 11 added polynomial aspheric terms up to fifth order are used. The surface sag is of the form [1, 7]:
Where c is the curvature of the base conic surface, k is the conic coefficient, and A_{q} is the qth polynomial coefficient. In order to find the optimal fitting parameters (c, k, A_{q}), an evaluation function is constructed as Eq. (5).
Where z_{i} is the zcoordinates of any sample point (x_{i}, y_{j}, z_{i,j}). And f(x_{i}, y_{j}) is calculated according to Eq. (4) .It is clearly that (c, k, A_{q}) are the independent variables of the evaluation function. As known, when the evaluation function reaches the minimum, the fitting accuracy is the best. The minimum value of evaluation function is found by the simulated annealing algorithm [25, 26]. Once the minimum value of evaluation function is obtained, the optimal fitting parameters also obtained.
Results and discussion
In order to verify our method, an initial layout of an offaxis twomirror system with one freeform surface is designed. The specifications of the freeform twomirror system are listed in Table 1, which is given in Ref. [1]. In the initial layout of the offaxis twomirror system, the primary mirror M_{1} is a freeform surface, and the secondary mirror M_{2} is a planar mirror as shown in Fig. 4. The EP is the entrance pupil, which is also the starting plane of all sample rays. The entrance pupil diameter of the system is 80 mm and the sample beam aperture is rectangular. The rectangular aperture can be cut into a circular aperture at the last. Point A is the first point on the freeform surface, which is set at begin. Point B is the first point on the secondary mirror which is titled 60 degree about zaxis. The distance between point A and point B is 300 mm away. The sample rays are reflected by the primary mirror and the secondary mirror and converge into an ideal image point as shown in Fig. 4.
The spacing of adjacent sample rays along the horizontal and vertical directions are both chosen to be 0.5 mm, and a total K = 161 × 161 sample rays are employed for ray tracing.
According to the SCE method, the sample points on freeform surface are obtained as shown in Fig. 5(a). The normal vector at every sample point is shown in Fig. 5(b). It is important to ensure continuity of the freeform surface for the purpose of manufacture on freeform surface mirror. In order to evaluate the continuity of the freeform surface, we calculate the angle between the normal vectors of two adjacent points by Eq. (3). Figure 6 (a) and (b) show the values of the angle between the normal vectors of two adjacent points. Figure 6 (a) is the angle between the normal vectors of two adjacent points along the same curve. Figure 6 (b) is the angle between the normal vectors of two corresponding points along the adjacent curve. The spaces of the adjacent sample points along x and y direction are both 0.5 mm. It is shown that the maximum angle between the normal vectors of two adjacent points is 0.0457 degree, which is quite small. In addition, the maximum gradient of all the sample points are 0.2. Then, we make the gradient calculation again. The calculation show that all the gradient values are almost near zero. Therefore, the continuity of the freeform surface is very good.
Here, the sample data points are fitted to an extended polynomial as shown in Eq. (4). In order to obtain the optimal fitting coefficient, an evaluation function is constructed as Eq. (5), which reflects the fitting accuracy. When the evaluation function reaches the minimum, the fitting parameters are optimal. The simulated annealing algorithm is employed to seek the minimum of the evaluation function. Figure 7 shows the dependence of evaluation function on the iteration numbers. The optimal parameters are listed in Table 2.
Then the twomirror system with a freeform and a planar mirror can be imported into Zemax. Figure 8 (a) shows the optical system layout with a central field of view. The RMS radius of the spot diagram at central field of view is 2.573 μm. Figure 8(b) shows that more field points are added to the initial system based on the system specification requirements. The average RMS radius of all the spot diagrams at the full fields of view for the initial system is 95.96 μm.
Although the performance of initial layout is decreasing after adding more field points, it can be used as a good starting point for further optimization of the system with Zemax. Basing on the starting point, the final freeform offaxis twomirror system can be quickly obtained through optical software optimization as shown in Fig. 9. In the optimization, the spacing between the two mirrors are chosen to be fixed. The secondary mirror was chosen to be a conic surface during optimization. The MTF plots of the final optical system are shown in Fig. 10. The MTFs of all the field points are greater than 0.7 at 25 lp/mm, which is the Nyquist frequency. It is obvious that the performance of the system is near the diffraction limit at VisibleNIR (0.38–2 μm). The average RMS radius of all the spot diagrams at the full fields of view for the final system is 4.03 μm as shown in Fig. 11 and the maximum grid distortion is − 0.14% as shown in Fig. 12. In this design, the primary mirror is a freeform surface, and the secondary mirror is a conic surface.
Clearly, by the SCE method, while the initial point is set, all other points on unkown freeform surface can be obtained based on recursive relationship. So each point on the initial freeform surface can be obtained at once. In other words, the positions of each point on the initial freeform surface is obtained directly without iteration or feedback. This leads to two obvious advantages: (1) the speed of positioning the sample points is very fast; (2) the method obviates the consideration of whether there is a solution or the stability of the solution. In addition, the method has no limitation in the number of the freeform surfaces. Although the twomirror system with one freeform surface is shown as an example, the method can be extended to design offaxis systems with more freeform surfaces by adding a virtual image point to each surface, which will be discussed in future works.
Conclusion
In conclusion, a method is introduced to construct a freeform surface directly in offaxis reflective image system. The method is a combination of seed curve extension and simulated annealing algorithm. The seed curve extension algorithm can calculate the sample points quickly without worrying about the stability of the calculating process. The sample points can be fitted to an extended polynomials by simulated annealing algorithm. The method is employed to construct a freeform surface directly, which is used as a primary mirror in an initial layout of an offaxis twomirror system. The field of view and working Fnumber of the system is 2°and 4.68, respectively. The initial layout is made up of one freeform surface and one planar surface, whose RMS radius of the spot diagram at central field of view is 2.573 μm. Based on the initial layout, a further optimization is performed in Zemax. The results show that the performance of the system is diffraction limited at VisibleNIR (0.38–2 μm).
Availability of data and materials
Detail about data has been provided in the article.
References
Gautam, S., Gupta, A., Singh, G.S.: Optical design of offaxis Cassegrain telescope using freeform surface at the secondary mirror. Optical Engineering. 54, 025113 (2015)
Chang, L., Christoph, S., Thomas, F.P., Zeitner, U.D., Herbert, G.: Comparison of hyperspectral imaging spectrometer designs and the improvement of system performance with freeform surfaces. Appl. Opt. 56, 6894–6901 (2017)
Nie, Y., Mohedano, R., Benítez, P., Chaves, J., Miñano, J., Thienpont, H., Duerr, F.: Multifield direct design method for ultrashort throw ratio projection optics with two tailored mirrors. Appl. Opt. 55, 3794–3800 (2016)
Stewart, W.: Freeform Optics: Notes from the Revolution. Optics Photonics News. 28, 34–41 (2017)
Shi, H., Jiang, H., Zhang, X., Wang, C., Liu, T.: Analysis of nodal aberration properties in offaxis freeform system design. Appl. Opt. 55, 6782–6790 (2016)
Bauer, A., Rolland, J.P., Thompson, K.P.: Raybased optical design tool for freeform optics: coma fullfield display. Opt. Express. 24, 459–472 (2016)
Yang, T., Zhu, J., Hou, W., Jin, G.: Design method of freeform offaxis reflective imaging systems with a direct construction process. Opt. Express. 22, 9193–9205 (2014)
Yang, T., Zhu, J., Jin, G.: Design of freeform imaging systems with linear fieldofview using a construction and iteration process. Opt. Express. 22, 3362–3374 (2014)
Yang, T., Zhu, J., Wu, X., Jin, G.: Direct design of freeform surfaces and freeform imaging systems with a pointbypoint threedimensional constructioniteration method. Opt. Express. 23, 10233–10246 (2015)
Gong, T., Jin, G., Zhu, J.: Pointbypoint design method for mixedsurfacetype offaxis reflective imaging systems with spherical, aspheric, and freeform surfaces. Opt. Express. 25, 10663–10676 (2017)
Zhu, J., Yang, T., Jin, G.: Design method of surface contour for a freeform lens with wide linear fieldofview. Opt. Express. 21, 26080–26092 (2013)
Volatier, J.B., Druart, G.: Differential method for freeform optics applied to twomirror offaxis telescope design. Opt. Lett. 44, 1174–1177 (2019)
Liu, J., Benítez, P., Miñano, J.C.: Single freeform surface imaging design with unconstrained object to image mapping. Opt. Express. 22, 30538–30546 (2014)
Zhu, J., Wu, X., Yang, T., Jin, G.: Generating optical freeform surfaces considering both coordinates and normals of discrete data points. J. Opt. Soc. Am. A. 31, 2401–2408 (2014)
Bian, Y., Li, H., Wang, Y., Zheng, Z., Liu, X.: Method to design two aspheric surfaces for a wide field of view imaging system with low distortion. Appl. Opt. 54, 8241–8247 (2015)
Benítez, P., Miñano, J.C.: Ultrahighnumericalaperture imaging concentrator. J. Opt. Soc. Am. A. 14, 1988–1997 (1997)
Miñano, J., Benítez, P., Lin, W., Infante, J., Muñoz, F., Santamaría, A.: An application of the SMS method for imaging designs. Opt. Express. 17, 24036–24044 (2009)
Duerr, F., Benítez, P., Miñano, J., Meuret, Y., Thienpont, H.: Analytic design method for optimal imaging: coupling three ray sets using two freeform lens profiles. Opt. Express. 20, 5576–5585 (2012)
Lin, W., Benítez, P., Miñano, J.C., Infante, M.J., Biot, G., Marta, D.F.L.: SMSbased optimization strategy for ultracompact SWIR telephoto lens design. Opt. Express. 20, 9726–9735 (2012)
Miñano, J., Benítez, P., Narasimhan, B.: Freeform aplanatic systems as a limiting case of SMS. Opt. Express. 24, 13173–13178 (2016)
Nie, Y., Duerr, F., Thienpont, H.: Direct design approach to calculate a twosurface lens with an entrance pupil for application in wide fieldofview imaging. Opt. Eng. 54, 015102 (2015)
Winston, R., Miñano, J.C., Benítez, P., Shatz, N., Bortz, J.: Nonimaging Optics. Academic Press Elsevier. 181189 (2004)
Chaves, J.: Introduction to Nonimaging Optics. CRC Press. 271299 (2008)
Kai, W., Sheng, L., Fei, C., Zong, Q., Zongyuan, L., Xiaobing, L.: Freeform LED lens for rectangularly prescribed illumination. J. Opt. A: Pure Appl. Opt. 11, 105501 (2009)
Su, Z., Xue, D., Ji, Z.: Designing LED array for uniform illumination distribution by simulated annealing algorithm. Opt. Express. 20, A843–A855 (2012)
Kirkpatrick, S., Gelatt, C.D., Vecchi, M.P.: Optimization by Simulated Annealing. Science. 220, 671–680 (1983)
Acknowledgements
Not applicable.
Funding
Not applicable.
Author information
Affiliations
Contributions
All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Pan, H., Su, Z., Zhang, Y. et al. Construct freeform surface directly in an initial layout of an offaxis reflective image system by seed curve extension and simulated annealing algorithm. J. Eur. Opt. Soc.Rapid Publ. 16, 9 (2020). https://doi.org/10.1186/s4147602000130x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4147602000130x
Keywords
 Freeform surface
 Offaxis reflection system
 Twomirror system
 Seed curve extension