## Abstract

In order to introduce many more evaluation points during the Hartmann test, the scanning of the screen across the pupil is proposed; after each step of the scan a different image of the bright spots is obtained. Basic ideas about how to design radial and square screens for the scanning are presented. Radial screens are scanned by rotation, whereas for square screens a linear inclined scan is enough to introduce many more evaluation points along two independent directions. For square screens it is experimentally shown that the lateral resolution of the test is improved.

© 2009 Optical Society of America

## 1. Introduction

The classical Hartmann [1] test makes use of an opaque screen with holes for selecting thin pencils of rays which are used for measuring the transverse aberration of rays reflected on different regions of the surface under test; then, after a numerical integration algorithm (or equivalent procedure), the wavefront aberrations and (or) the shape of the surface and its departures from the ideal surface are calculated. Usually, the number of holes on the Hartmann screen is limited to nearly one hundred [2]; for large astronomical telescope mirrors this number can be increased to several hundred [1]. There are at least two reasons that make it important to have more points to be evaluated on the test surface: first of all, when the trapezoidal rule is used for integrating the transverse aberration, the truncation error increases with the square of the point separation; having more points will reduce the average separation and, in consequence, the truncation error [3]. A second reason is that closer points give more information about higher order aberrations or, equivalently, about higher spatial frequencies of the surface. An important limitation to increasing the number of holes, is the fact that the diameter of the holes cannot be reduced indefinitely, because diffraction effects become important for small hole apertures [2]. In addition, even from a geometrical optics point of view, the light spots at the detector can be so large that they almost overlap each other, so that they cannot be brought closer. A way to increase the number of evaluation points without increasing the number of holes in the Hartmann screen, is to scan the screen across the pupil of the test component; for each position of the screen a different image of the bright spots at the viewing plane is obtained. During the scan only the screen is moved, so the positions of all the spots of the images can be put together because they give information about the aberration of the same surface; the key point in this method is to have a complete information of the hole positions for each step. As long as the motion of the screen is a rigid body motion, accurate positions of each hole for each step can be obtained from an accurate measurement of the initial positions of the holes (screen calibration) and an accurate measurement of the movements of the screen.

An early proposal for scanning a Hartmann screen was made recently [4]. There, the authors made use of a screen with a certain number of radial lines of holes and rotated the screen to scan the full aperture of the test lens; they discussed the simple case of two lines, with different radial hole positions on each line, however they did not say how many different pairs of lines were used for their experiment.

In this paper we describe some ideas on how to design spiral Hartmann screens in such a way that only by rotating the screen the number of points being evaluated on the surface under test can be multiplied by the number of steps of the scan. In addition, we describe a method for scanning a classical square Hartmann screen by linear translations along its own plane to include new evaluation points in those zones where the evaluation with only one screen position and image, is not possible; there, the surface is only interpolated. This allows an increase of the total number of evaluation points to some hundred or even to more than one thousand points, more or less evenly distributed, by capturing a different image on each step.

## 2. Spiral screen

Two important conditions must be imposed over the total set of points obtained with a scanning screen: first of all, the obtained points should be more or less evenly distributed in such a way that there must always be a nearby point to follow smooth integration paths avoiding large steps. Secondly, the points must be as orderly as possible; there is no basic restriction on the spatial order of the points, but it is easier to define smooth integration paths with an orderly set than with a randomly positioned set of points.

The spiral screen is designed as follows. Given an initial number of radial lines *n* and the number of holes *m* along each line (see Fig. 1.a), the full angle that the screen must be rotated for the scan is

the initial radial separation between adjacent holes is

where D is the diameter of the exit pupil of the system under test. Then, giving *k*, the desired number of new evaluation points (between two originally adjacent holes) to be obtained during the scan, a new set of holes are displaced the distance

along the radial direction and azimuthally through the angle (see Fig. 1.b)

The total number of holes on the screen is (see Fig. 1.c)

The screen is rotated in

steps of angular size

In each step an image of the bright spots at the observing plane is recorded, so the total number of evaluated points is (see Fig. 1.d)

#### 2.1 Hole size

According to A. Morales and D. Malacara [3], in order to have smaller bright spots at the observation plane, the holes in the Hartmann screen must be as small as possible; diffraction effects, however, cause a spreading of the light on the same plane. The optimum size of the holes is given by

where *λ* is the wavelength of the light used during the test, *K* is the conic constant of the mirror under test, *c* is its curvature at the vertex, *D* its diameter, and *L* is the distance from the observation plane to the plane where the reflected rays are focused. For a spherical mirror *K* = 0, tested under visible light *λ* = 500 nm, *r* = 1/*c* = 600 mm, *D* = 150mm, the optimum hole size is a function of *L*; in Fig. 2, a plot of the hole diameter vs. *L* is shown. It is easy to see that for values of *L* between 2 and 10 mm, the hole size varies between 10 and 5 mm.

#### 2.2 Alternative screen designs

Choosing 5 mm as the hole diameter, the spiral screen designed above with *n* = 4, *m* = 5, and *θ* = 90°, is as shown in Fig. 3. It is clear that for spiral screens, the azimuthal distance between adjacent holes depends on the distance to the center of the screen; adding size to the holes, at the center of the screen, they overlap whereas at the rim they are more separated. Then, with this kind of screen the wavefront is not uniformly sampled; scanning the screen increases the number of points but the sampling is still not uniform.

Alternative designs can be obtained increasing the numbers *n* and *m*, and locating a hole only on these points where the overlap is not present; the other points are not included. For instance, in Fig. 4 a different screen design is obtained for *n* = *m* = 20; the small dots are the points obtained with the first proposal above, whereas the circles with the plus signs in the center describe the holes and their centers with a more uniform distribution without overlapping. In Fig. 5, some simulations of scanning the screen in Fig. 4 are shown for the cases with *t* = 4, 8, 12, 17, and 32; each angular step is given by *γ* = 2*π* / t. Evidently, many new evaluation points are added but at the center and its neighborhood there are large zones without evaluation points.

A last attempt to use the modified spiral screens but trying to cover these empty zones, is to rotate the screen around a point different from the center. Figure 6 shows an example of this, of course at the center of the screen the empty areas are smaller, but the whole set of points become a more random spatial distribution, making difficult to define integration paths in an easy way.

Perhaps an additional study of these ideas can give an appropriate screen design and scan method, however we found that a square screen is more convenient for the improvement of the Hartmann test, as is shown in the next section.

## 3. Square screen

In the search to overcome the drawbacks of the spiral screens described previously, it was found that a classical square Hartmann screen can be used for the scanning test. At the early stages of this study, it seemed to be necessary to scan the screen along two different directions, however, a little thinking on the problem shown that it is sufficient to move the screen along a single direction, different from the principal directions of the hole array. For this, the screen must be larger than the diameter of the test surface. If the separation of center points of the holes on the screen is defined by

where m is the number of points along one principal diameter of the mirror under test, the number of points inside the pupil is approximately given by

The scan length and direction can be selected at will; in order to explain the proposal in a more systematic way, however, let us choose the scan direction along the line defined by two holes P1 and P2, in different but adjacent rows and in different columns separated a distance (see Fig. 7)

where *c* is given by Eq. (10), and *b*-1 is the number of columns between P1 and P2. The direction of the scan is defined by the angle *β* with the *x*-axis, so it is given by

The distance between P1 and P2 is

Making s scan steps between points P1 and P2, the size of each step is

this adds *s*-1 additional points in each square cell. The total number of points for evaluating the surface is

#### 3.1 Separation between points

The points on the scan are not equally spaced, with the exception of a few cases (for certain combinations of numbers b and s). In reference to Fig. 7, for any point of the scan (point C), there are six nearby points; these points are on the vertices of a non regular, but symmetric, hexagon (points 2,3, and D, and the other symmetric, three points); so there are three different distances; the distance between points C and D is ds (Eq. (15), and its x and y projections are given by

and

For the other distances, it is necessary to find first which two points generated by the scan of point 0 are nearest to the vertical straight line traced from point C (points 2 and 3 in Fig. 7); the number of the left point is given by k as follows

where, the function int(x) gives the integer part of the number x. The number of the point at the right side of the same line is, of course, k + 1. Then, it is not difficult to see that the distance from point C to the j-th point on the line scan from point 0 is

Using Eq. (20) for *j* = *k* and *j* = *k* + 1, gives the other two distances; *d _{s}*,

*d*and

_{k}*d*

_{k+1}, are the three smaller distances between the scanned points on the surface. The angle

*α*is given by

_{j}To illustrate how the additional points are inserted among the original points, Fig. 8 shows twelve cases with *b* = 3 and *s* = 4, 5, 6,…, and 15; for each case the number of new points added by the scan is s-1, or 3, 4, 5, and 16, respectively. A hexagon is included to show the nearest points around some particular point; the arrow shows the scan direction. In Table 1, geometrical data for the array of evaluation points are listed. These data is useful to know what are the smallest distances between two points for different number of steps during the scan. Several features of the array of points for different values of s can be drawn from Fig. 8; Table 1, however, quantifies some of them. For instance, Fig. 8.g) seems to be a square array of points, the principal axes of the array being along different directions from the principal axes of the holes on the screen. From Table 1, this assumption can be proved; from the row corresponding to *s* = 10, it is easy to find that *ds* = *dk*, and *β* + *α _{k}* = 90°, proving that the array is indeed square. Similar data can be computed for other values of b.

It is worth saying here that in some cases, the *k* + 1-th point is not one of the six nearest points; this point must be replaced by the *k*-1-th point. This is the case when *k* = *b*/*s*, then *k* is an integer. For this reason, in Table 1, the data for *d*
_{k-1} and *α*
_{k-1} are also included.

## 4. Experiment

In order to show the feasibility of the proposal and the advantage of including more points during the Hartmann test, the testing of an *F*/4 spherical mirror, with a diameter *D* = 150 mm, and a radius of curvature *r* = 600 mm, was conducted. The number of points along a principal diameter of the mirror was chosen as *m* = 11, according to Eq. (10) the hole separation must be *c* = 15 mm; to avoid part of the holes at the edge being out of the surface the clear diameter was adjusted to 140 mm, so that *c* = 14 mm. According to Eq. (11) the total number of points inside the pupil diameter was around 79, however, due to the adjustment of the diameter the real number was increased to 89. In Fig. 9 the screen design is shown. The starting position of the mirror is defined by the circle; as the screen moves to scan the surface, some holes go out of the pupil, but they are substituted by other holes initially outside the pupil, for that reason the screen is larger than a classical Hartmann screen. According to Fig. 2, a convenient diameter for the holes is 5 mm.

In Fig. 10 the experimental setup is shown; the separation between the source and the observing screen is not too small, however, this is not a drawback for the evaluation procedure as will be explained later.

To define the scan path the points P1 and P2 were separated *b* = 3 columns, so the inclination angle *β* was 18.43° and the number of steps of the scan was chosen to be *s* = 9. The step size was *d _{s}* = 4.92 mm, the full scan distance

*d*= 44.28 mm.

On each step a different picture of the bright spot array was acquired; the total number of evaluated points was 803; i.e., 2 more points than the result of 89 × *s* = 801.

Figure 11 shows the actual screen used for the test and four different pictures of the spots obtained at different positions of the screen during its scan. There is a bright reference spot corresponding to a hole between four adjacent holes to follow the movement of the screen. In Fig. 12 a plot of the 803 centroids is shown.

## 5. Evaluation of the normals and integration procedure

The normals to the mirror are evaluated according to the following procedure. The real positions of the holes on the screen are measured with the CCD camera, the hole positions on the *xy* plane and the spot positions on the observing screen are well known, then it is an easy task to find the *xyz* components of the incident and reflected rays on the mirror for each hole of the screen. In reference to Fig. 13, as the magnitudes of vectors **V**
_{1}, **V**
_{2}, and **V**
_{3} are known from the setup (Fig. 10), their directions are easily found. Then the incident ray can be expressed as

and the reflected ray is found by

where **H** and **S** are, respectively, the vector for a hole on the screen and for its corresponding spot at the observing screen. According to the Reflection Law, the normal to the surface at the point of incidence is

where **r**
_{i} and **r**
_{r} are the unit vectors associated with the incident and reflected rays. Once the normals to the test surface are obtained, the shape of the surface can be found by using the integral

Equation (20) was initially proposed by R. Díaz-Uribe [5], and has been successfully used by him and his associates [3], [5], [6]

The integral in Eq. (20) is a path integral that can be computed with the trapezoid rule along different polygonal paths, going over the positions of the holes of the screen during the scan, in every vertex of the polygonal path there is a hole position. The integral in Eq. (20) can be found with exception of an arbitrary integration constant *z _{o}*. Then, in order to have only one constant, all the integration paths must start at the same point and to reduce the numerical calculation error the paths must be as simple and direct as possible; very involved paths increase the numerical error.

In order to compare the proposed method with the classical Hartmann test without scan, two evaluations were performed: the first was made with only the first image (89 evaluation points), while for the second all the 803 points obtained with the scan were used. In Fig. 14 the integration paths for both cases are shown. After performing the integration procedure, and fitting the best surface to the result, the differences are shown in Fig. 15. Essentially both Figs. 15 a) and b), show the same results; it is clear, however, that Fig. 15.b) shows more details of the surface, the lateral resolution of the test has been improved.

Unfortunately, this experiment has not been able to show that the truncation errors can also be reduced. There is a simple explanation for this result: the truncation error due to the trapezoid rule is bounded by [3]

where h is the average separation between adjacent points along the integration path, b - a is the total length of the integration path, and *M* = [*d*
^{2}
*f*(*x*)/*dx*
^{2}]_{max}, is the maximum value of the second derivative of the integrating function *f*(*x*). Then, as a sphere is a second degree surface, it can be expressed in the *zx*–plane as

where *A*, *B* and *C* are arbitrary constants (*A* ≠ 0). The normal to this curve is obtained through the derivative of Eq. (22),

then, according to Eq. (20) the integrating function is

It is clear that the second derivative of *f*(*x*) in Eq. (24) is null and so is *M* in Eq. (21); in consequence, the truncation error in Eq. (21) is negligible not only for spheres, but also for all the conic surfaces, when the trapezoid rule is used. The error is not zero because, this is true only for ideal conics. Important truncation errors are introduced for very fast surfaces where the fabrication errors make the surface depart appreciably from the ideal surface.

## 6. Conclusions

In this paper the scanning of a classical Hartmann screen has been proposed; after each step of the scan a different image of the bright spots is obtained. This allows the introduction of many more evaluation points than for the classical static case. Basic ideas about how to design radial and square screens have been presented. For radial screens a spiral arrangement of the holes is useful to introduce new evaluation points along the radial and azimuthal directions. The main advantage of this kind of screens is that the scan is performed by only a rotation of the screen; the main drawback is that the evaluation points are more crowded at the center of the pupil whereas at its rim they are much more separated. In an attempt to overcome this problem, a different design was proposed: first of all, a spiral screen with a very high density of points was designed; then, only those points having a minimum distance with some others are included in the final design.

For square screens, a classical design was used, the key to introduce more evaluation points along the x and y directions, is to linearly scan the screen along a direction different from the main directions defined by the square array of holes. Some equations have been deduced, which account for some geometrical features of the full array of evaluation points.

The feasibility of this proposal has been shown by scanning a square screen during the test of a spherical surface. In the testing of such a surface, a comparison was made for the evaluation of the surface with only one image and with nine images obtained along the scan; it has been shown that more information is obtained by scanning the screen, improving the lateral resolution of the test. In this case, however, the size of screen must be larger than for the static method.

## Acknowledgments

The main part of this work was made during a sabbatical year that R. Díaz-Uribe spent at the INAOE; he is indebted to the DGAPA-UNAM for the support for his sabbatical year and for the grant PAPIIT No. ES-114507. Partial support was also obtained from CONACYT under grant No.U51114-F and from the INAOE for travelling to the ICO 21 in Sydney, Australia, where a preliminary version of this paper was presented.

## References and links

**1. **D. Malacara-Doblado and E. Ghozeil, “Hartmann, Hartmann-Shack and other screen tests,” in Optical Shop Testing, Third Edition, Edited by Daniel Malacara (John Wiley and Sons, 2007), Chapter10.

**2. **A. Morales and D. Malacara, “Geometrical parameters in the Hartmann test of aspherical mirrors,” Appl. Opt. **22**(24), 3957–3959 (1983). [CrossRef] [PubMed]

**3. **V. I. Moreno-Oliva, M. Campos-García, R. Bolado-Gómez, and R. Díaz-Uribe, “Point shifting in the optical testing of fast aspheric concave surfaces by a cylindrical screen,” Appl. Opt. **47**(5), 644–651 (2008). [CrossRef] [PubMed]

**4. **D. Liu, H. Huang, B. Ren, A. Zeng, Y. Yan, and X. Wang, “Scanning Hartmann test method and its application to lens aberration measurement,” Chin. Opt. Lett. **4**, 725–728 (2006).

**5. **R. Díaz-Uribe, “Medium-precision null-screen testing of off-axis parabolic mirrors for segmented primary telescope optics: the large millimeter telescope,” Appl. Opt. **39**(16), 2790–2804 (2000). [CrossRef]

**6. **M. Avendaño-Alejo, V. I. Moreno-Oliva, M. Campos-García, and R. Díaz-Uribe, “Quantitative evaluation of an off-axis parabolic mirror by using a tilted null screen,” Appl. Opt. **48**(5), 1008–1015 (2009). [CrossRef] [PubMed]