This application claims all benefits accruing under 35 U.S.C. §119 from China Patent Application No. 201510060311.1, field on Feb. 5, 2015 in the China Intellectual Property Office, disclosure of which is incorporated herein by reference. The application is also related to copending applications entitled, “METHOD FOR DESIGNING OFF-AXIAL OPTICAL SYSTEM WITH FREEFORM SURFACES”, filed **** (Atty. Docket No. US58218).
1. Technical Field
The present disclosure relates to a method for designing three-dimensional freeform surface based on point-by-point construction and iteration process.
2. Description of Related Art
Compared with conventional rotationally symmetric surfaces, freeform optical surfaces have more degrees of freedom, which can reduce the aberrations and simplify the structure of the system in optical design. In recent years, with the development of the advancing manufacture technologies, freeform surfaces have been successfully used in the optical field, such as head-mounted-displays, reflective systems, varifocal panoramic optical systems, and micro-lens arrays.
However, conventional methods only consider the coordinates of the feature data points, but ignore the normal vectors of the feature data points, therefore, the shape of the freeform surfaces designed by conventional methods is inaccurate. Since the refraction and reflection of light are very sensitive to the normal vector of the freeform surfaces, conventional methods also reduce the optical performance of the systems using these freeform surfaces. Additionally, in conventional direct design methods, the freeform surfaces are designed by a direct construction method, the image quality of the freeform surfaces is generally low, and further optimization will be much more difficult.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
Several definitions that apply throughout this disclosure will now be presented.
The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series, and the like. It should be noted that references to “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
Referring to
step (S2), selecting a plurality of feature rays Ri (i=1, 2 . . . K), and establishing a target surface;
step (S3), calculating a plurality of intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with a first freeform surface point by point based on a given object-image relationship or a given light mapping relationship and a vector form of the Snell's law, wherein the plurality of intersections are a plurality of feature data points Pi (i=1, 2 . . . K);
step (S4), obtaining the first freeform surface by surface fitting the plurality of feature data points Pi (i=1, 2 . . . K), wherein an equation of the first freeform surface includes a base conic term and a freeform surface term; and
step (S5), taking the first freeform surface obtained in step (S4) as the initial surface for an iteration process, to obtain the three-dimensional freeform surface.
In step (S1), a first three-dimensional rectangular coordinates system is defined. In one embodiment, a propagation direction of beams is defined as a Z-axis, and the Z-axis is perpendicular to an XOY plane.
The initial surface can be planar, sphere, or other surface types. A location of the initial surface can be selected according to the optical system actual needs. In one embodiment, the initial surface is a plane.
In step (S2), a method of selecting the plurality of feature rays Ri (i=1, 2 . . . K) includes: M fields are selected according to the optical systems actual needs, an aperture of each of the M fields is divided into N equal parts, and P feature rays at different aperture positions in each of the N equal parts are selected. As such, K=M×N×P different feature rays corresponding to different aperture positions and different fields are fixed. The aperture can be a circle, a rectangle, a square, an oval or other shapes.
In step (S3), referring to
The plurality of feature data points Pi (i=1, 2 . . . K) can be obtained by the following two calculating methods.
A first calculating method includes the following sub-steps:
step (S31): defining a first intersection of a first feature ray R1 and the initial surface as a feature data point P1;
step (S32): when i (1≦K−1) feature data points Pi (1≦i≦K−1) have been obtained, a unit normal vector {right arrow over (N)}i (1≦i≦K−1) at each of the i (1≦i≦K−1)feature data points Pi (1≦i≦K−1) can be calculated based on a vector form of Snell's Law;
step (S33): making a first tangent plane at the i (1≦i≦K−1) feature data points Pi (1≦i≦K−1) respectively; thus i first tangent planes can be obtained, and i×(K−i) second intersections can be obtained by the i first tangent planes intersecting with remaining (K−i) feature rays; and a second intersection, which is nearest to the i (1≦i≦K−1) feature data points Pi, is fixed from the i×(K−i) second intersections as a next feature data point Pi+1 (1≦i≦K−1); and
step (S34): repeating steps S32 and S33, until all the plurality of feature data points Pi (i=1, 2 . . . K) are calculated.
In step (S32), the unit normal vector {right arrow over (N)}i (1≦i≦K−1) at each of the feature data point Pi (1≦i≦K−1) can be calculated based on the vector form of Snell's Law. When the first freeform surface is a refractive surface,
is a unit vector along a direction of an incident ray for the first freeform surface;
is a unit vector along a direction for an exit ray of the first freeform surface; and n, n′ is refractive index of a media before and after the first freeform surface respectively.
Similarly, when the first freeform surface is a reflective surface,
The unit normal vector {right arrow over (N)}i at each of the plurality of feature data points Pi (i=1, 2 . . . K) is perpendicular to the first tangent plane at each of the plurality of feature data points Pi (i=1, 2 . . . K). Thus, the first tangent plane at each of the plurality of feature data points Pi (i=1, 2 . . . K) can be obtained.
The first calculating method includes a computational complexity formula of
When a large quantity of feature rays are used in a design, the first calculating method requires a long computation time.
A second calculating method includes the following sub-steps:
step (S′31): defining a first intersection of a first feature light ray R1 and the initial surface as a feature data point P1;
step (S′32): when an ith (1≦i≦K−1) feature data point Pi (1≦i≦K−1) has been obtained, a unit normal vector {right arrow over (N)}i at the ith (1≦i≦K−1) feature data point Pi (1≦i≦K−1) can be calculated based on the vector form of Snell's law;
step (S′33): making a first tangent plane through the ith (1≦i≦K−1) feature data point Pi (1≦i≦K−1), and (K−i) second intersections can be obtained by the first tangent plane intersecting with remaining (K−i) feature rays; a second intersection Qi+1, which is nearest to the ith (1≦i≦K−1) feature data point Pi (1≦i≦K−1), is fixed; and a feature ray corresponding to the second intersection Qi+1 is defined as Ri+1, a shortest distance between the second intersection Qi+1 and the ith feature data point Pi (1≦i≦K−1) is defined as di;
step (S′34): making a second tangent plane at (i−1) feature data points that are obtained before the ith feature data point Pi (1≦i≦K−1) respectively; thus, (i−1) second tangent planes can be obtained, and (i−1) third intersections can be obtained by the (i−1) second tangent planes intersecting with a feature ray Ri+1; in each of the (i−1) second tangent planes, each of the third intersections and its corresponding feature data point form an intersection pair; the intersection pair, which has the shortest distance between a third intersection and its corresponding feature data point, is fixed; and the third intersection and the shortest distance is defined as Q′i+1 and d′i respectively;
step (S′35): comparing di and d′i, if di≦d′i, Qi+1 is taken as the next feature data point Pi+1 (1≦i≦K−1); otherwise, Q′i−1 is taken as the next feature data point Pi+1 (1≦i≦K−1); and
step (S′36): repeating steps from S′32 to S′35, until the plurality of feature data points Pi (i=1, 2 . . . K) are all calculated.
In step (S′32), a calculating method of the unit normal vector {right arrow over (N)}i at the ith (1≦i≦K−1) feature data point Pi (1≦i≦K−1) is the same as the first calculating method.
A second calculating method includes a computational complexity formula of
When a large quantity of feature rays are used in a design, the computational complexity of the second calculating method is much smaller than the computational complexity of the first calculating method.
In step (S4), the equation of the first freeform surface can be expressed as follows:
wherein
is the conic term, c is the curvature of the conic surface at the vertex, k is the conic constant;
is the freeform surface term, Ai represents the ith term coefficient. The freeform surface term can be XY polynomials, Zernike polynomials, Chebyshev polynomials, or the like.
A method of surface fitting the plurality of feature data points Pi (i=1, 2 . . . K) includes:
step (S41): surface fitting the plurality of feature data points Pi (i=1, 2 . . . K) to a sphere in the first three-dimensional rectangular coordinates system, and obtaining a curvature c of the sphere and the center of curvature (xc, yc, zc) corresponding to the curvature c of the sphere;
step (S42): defining the feature data point (xo, yo, zo) corresponding to a chief ray of the central field angle among the entire field-of-view (FOV) as the vertex of the sphere, defining a second three-dimensional rectangular coordinates system by the vertex of the sphere as origin and a line passing through the center of curvature and the vertex of the sphere as a Z′-axis;
step (S43): transforming the coordinates (xi, yi, zi) and the normal vector (αi, βi, γi), of the plurality of feature data points Pi (i=1, 2 . . . K) in the first three-dimensional rectangular coordinates system, into the coordinates (x′i, y′i, z′i) and the normal vector (α′i, β′i, γ′i), of the plurality of feature data points Pi (i=1, 2 . . . K) in the second three-dimensional rectangular coordinates system;
step (S44): fitting the plurality of feature data points Pi (i=1, 2 . . . K) into a conic surface in the second three-dimensional rectangular coordinates system, based on the coordinates (x′i, y′i, z′i) and the curvature c of the sphere, and obtaining the conic constant k; and
step (S45): removing the coordinates and the normal vector of the plurality of feature data points Pi (i=1, 2 . . . K), on the conic surface in the second three-dimensional rectangular coordinates system, from the coordinates (x′i, y′i, z′i) and the normal vector (α′i, β′i, γ′i), to obtain a residual coordinate and a residual normal vector; and fitting the residual coordinate and the residual normal vector to obtain a second freeform surface; the equation of the first freeform surface can be obtained by adding an equation of the conic surface and an equation of the second freeform surface.
Generally, the optical systems are symmetric about the YOZ plane. Therefore, the tilt angle θ of the sphere, in the Y′O′Z′ plane of the second three-dimensional rectangular coordinates system relative to in the YOZ plane of the first three-dimensional rectangular coordinates system, is:
The relationship between the coordinates (x′i, y′i, z′i) and the coordinates (xi, yi, zi) of each of the plurality of feature data points Pi (i=1, 2 . . . K) can be expressed as following:
The relationship between the normal vector (α′i, β′i, γ′i) and the normal vector (αi, βi, γi) of each of the plurality of feature data points Pi (i=1, 2 . . . K) can be expressed as following:
In the second three-dimensional rectangular coordinates system, the coordinates and the normal vector of the plurality of feature data points Pi (i=1, 2 . . . K) on the conic surface are defined as (x′i, y′i, z′is) and (α′is, β′is, γ′is) respectively. The Z′-axis component of the normal vector is normalized to −1. The residual coordinate (x″i, y″i, z″i) and the residual normal vector (α″s, β″s, −1) can be obtained,
wherein, (xi″, yi″, zi″)=(xi′, yi′, zi′−zis′) and
In step S(45), a method of surface fitting the residual coordinate and the residual normal vector includes:
step (S451): in the second three-dimensional rectangular coordinates system, expressing the second freeform surface by a polynomial surface leaving out the conic surface term, the second freeform surface can be expressed in terms of the following equation:
wherein gj(x, y) is one item of the polynomial, and P=(p1, p2, L, pj)T is the coefficient sets;
step (S452): acquiring a first sum of squares d1(P), of residual coordinate differences in z′ direction between the residual coordinate value (x″i, y″i, z″i) (i=1, 2, . . . , n) and the freeform surface; and a second sum of squares d2(P), of modulus of vector differences between the residual normal vector Ni=(α″i, β″i, −1)(i=1, 2, . . . , n) and a normal vector of the freeform surface,
wherein the first sum of squares d1(P) is expressed in terms of a first equation:
and
the second sum of squares d2(P) is expressed in terms of a second equation:
wherein
step (S453): obtaining an evaluation function,
P=(A1TA1+wA2TA2+wA3TA3)−1·(A1TZ+wA2TU+wA3TV),
wherein w is a weighting greater than 0;
step (S454): selecting different weightings w and setting a gradient ∇f(P) of the evaluation function equal to 0, to obtain a plurality of different values of P and a plurality of freeform surface shapes z=f (x, y; P) corresponding to each of the plurality of different values of P; and
step (S455): choosing a final freeform surface shape Ωopt which has a best imaging quality from the plurality of freeform surface shapes z=f (x, y; P).
In step S5, the iteration process can be carried out by the following two methods.
A first method includes the following sub-steps: Firstly, a plurality of intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the first freeform surface are defined as the feature data points P′i (i=1, 2, . . . , K), a unit normal vector at each of the feature data points P′, (i=1, 2, . . . , K) is calculated, and the feature data points P′i (i=1, 2, . . . , K) are surface fitted with the method in step S4, to obtain a third freeform surface, the first iteration is finished. Secondly, a plurality of intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the third freeform surface are defined as the feature data points P″i (i=1, 2, . . . , K), a unit normal vector at each of the feature data points P″i (i=1, 2, . . . , K) is calculated, and the feature data points P″i (i=1, 2, . . . , K) are surface fitted with the method in step S4, to obtain a fourth freeform surface, the second iteration is finished. Repeating steps list above, until a plurality of actual intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the target surface are close to the ideal target points, the iteration process is finished.
A second method includes the following sub-steps: Firstly, the first freeform surface generated by step S4 is taken as the initial surface, repeating step S3 and step S4, to obtain a fifth freeform surface, the first iteration is finished. Secondly, the fifth freeform surface is taken as the initial surface, repeating step S3 and step S4, to obtain a sixth freeform surface, the second iteration is finished. Repeating the iteration steps list above, until the plurality of actual intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the target surface are close to the ideal target points, the iteration process is finished.
Compared to the second method, the first method is simpler and takes shorter time.
In the normal iteration, the target point Ti is the ideal target point Ti,ideal. Ti=Ti, ideal.
In negative feedback iteration, the negative feedback function can be written as:
wherein ε is the feedback coefficient, and ε is larger than zero; Ti* is the actual intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the target surface before the current iteration and after the previous iteration; Δ is a feedback threshold, and Δ is larger than zero, the feedback threshold is conducive to avoid instability of the iterative process caused by a dramatic change of Ti due to large deviation between Ti* and Ti,ideal.
In the successively approximation iteration,
T
i
=T
i*+ρ(Ti,ideal−Ti*),
wherein ρ is the approximation coefficient, and ρ is larger than zero.
The method for designing three-dimensional freeform surface can be implemented via computer software.
The method for designing three-dimensional freeform surface can be used in design of the reflective or refractive mirrors, which can be used in various of optical imaging or illumination systems, such as off-axis reflective systems, head-mounted-displays, freeform illuminating lens, projection systems.
The method for designing three-dimensional freeform surface can have many advantages.
The method considers both the coordinates and the normal vectors of the plurality of feature data points, therefore, the shape of the three-dimensional freeform surfaces designed by the method is accurate. And the method can also improve the optical properties of the three-dimensional freeform surfaces.
Two three-dimensional rectangular coordinates systems are defined, after a sphere is obtained in the first three-dimensional rectangular coordinates system, the coordinates and the normal vector of the plurality of feature data points in the first three-dimensional rectangular coordinates system are transformed into the second three-dimensional rectangular coordinates system, then the three-dimensional freeform surface is obtained by surface fitting. The method is more precisely compared to conventional methods. And the three-dimensional freeform surfaces designed by the method accord with the general expression of the free surfaces.
The three-dimensional freeform surfaces are designed by iteration steps, the plurality of actual intersections of the plurality of feature rays Ri (i=1, 2 . . . K) with the target surface are close to the ideal target points, therefore, the image quality of the three-dimensional freeform surfaces is high.
In another embodiment, further providing a method for designing or making lens with three-dimensional freeform surface. The method for designing or making lens includes the method for designing three-dimensional freeform surfaces described above.
It is to be understood that the above-described embodiments are intended to illustrate rather than limit the disclosure. Any elements described in accordance with any embodiments is understood that they can be used in addition or substituted in other embodiments. Embodiments can also be used together. Variations may be made to the embodiments without departing from the spirit of the disclosure. The above-described embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
201510060311.1 | Feb 2015 | CN | national |