Hartmann test (simplified by Mirco)

As mentioned in the preceding article (Hartmann test) in this post I describe the method which I have recently begun to be used to test the optical during processing and which is based on the Hartmann test.

In the mirror parabolizzazione phase, in particular the last stage of refinement of the shape of the surface is necessary to know with precision the error profile in order to intervene with effectiveness.
To rebuild this profile typically is used, at least at the amateur level, the Foucault test with Couder mask, but in my personal experience I was never able to optimally utilize.
The greatest difficulty I have always found in assessing what was the precise longitudinal position of the carriage to which the blade would generate the spot color in the two symmetric windows of the mask. In fact hardly I could determine this position with a margin of uncertainty between different measurements within 1-1,5 tenths of a millimeter, perhaps penalized by the distance from which I had to evaluate the hue (circa 4 m, ie the radius of curvature of the mirror), combined with the modest size of the windows necessary to have an adequate number of measuring points.
A sensitivity in sizes 1-2 tenths of a millimeter, however, is not sufficient to be able to define with precision the profile of the shape of the surface, especially in the edge region and especially when you begin to achieve high levels of lambda values.

For groped to improve the reading of the measures I have always thought that the best solution themselves to use a test that was the least subjective possible.
Among the tests that I have estimated that in the classic version of Hartmann gave me the inspiration for groped in this direction. This test involves placing a point light source in the center of curvature and an appropriately perforated mask in the vicinity of the mirror. The light reflected from the mirror passing through the holes of the mask returns towards the center of curvature in the form of small light beams that if intercepted by a photographic plate or by a digital acquisition device (devoid of the optical part) manifest as a series of light points. By analyzing the position of the luminous dots it may be able to determine the shape of the mirror surface.
There are many variations of this test but one I thought of using, because I thought it was the easiest to implement two photos, an outlet in intrafocale and a socket in extrafocal.

To give an idea of ​​the operating principle of this test is enough to think of a mask to be placed in front of the mirror such as that made in the following figure, or with a hole in the center and one in a marginal position.

H5

By positioning the webcam sensor intrafocale position you will get an image with the dot marginal window in a right-most position with respect to the central window dot, while positioning itself in extrafocal you will get an image in which the dot of the marginal window will be in a leftmost position with respect to the central window dot.

H6

Evidently there is a position in which the two dots will be exactly superimposed and this position indicates the point at which the returning light axis of the cone from the marginal window intersects the optical axis of the mirror. This position you can easily find mathematically if you have access to the following data:

H7

So it is necessary to know the distance in mm or marginal px between the bright spot and the bright central spot in the two pictures (a1 ed a2) and the longitudinal distance between the two photos (or the amount d1 + d2).
You can think of repeating this operation for a mask with several holes for each of which calculates the position of the beam of curvature and consequently the draw difference with respect to the first window starting from the center to obtain the same data that are obtained with the test of Foucault, ie draft values ​​of the various zones and the average distance from the center of the windows of the mask.
If you are using a mask with holes arranged over the entire surface you will be able to analyze in a single shot the entire mirror. This test, however, and very sensitive to any misalignment between the point light source and the position in which you place the photo sensor, and less than not be able to create a set-up of the tester so that the two beams are coincident almost always notice the differences between the draft values ​​of two spots symmetrical with respect to the center of the mirror (while it should be identical if the mirror was perfectly axisymmetric).

Another aspect to be considered to improve the accuracy of the measurements is to take pictures from suitably distant positions of the center of curvature of the mirror (and in any case outside the limits of the caustic), but this implies the need to have at the disposal of cameras or webcams with the size of very large sensor.

Taking into account these limitations I decided to perform the test with a mask with holes arranged only along a diameter of the mirror, or a little away from it, as shown in the following two figures, so that you can align with the greatest dimension of the webcam sensor:

H8

In this way, with the holes arranged so you can minimize the negative effect introduced by slight misalignment between the two outward and return beams or slight tilt of the camera sensor, going to mediate draft values ​​of two symmetrical windows.
Since the webcam at my disposal had a limited size sensor I had to take two images for each position to be able to cover the entire area under the bright spot (making sure to always include the bright central spot in photos), muovendomi laterally with the carriage of the tester, getting around 4 series of images: Intra-right, intra-left, Extra-Extra-right and left.

H9

Once obtained images will therefore be necessary to determine the center of each bright spot and calculate the distance of each of them with respect to the central spot. This operation can be done manually evaluating eye to the center of the spot, which is likely to introduce a dose of subjectivity to the test that was my intention from the beginning to avoid. For this reason I implemented a simple code in Visual Basic (because they are not able to find any dedicated software), to help me in this, which calculates the center of gravity among all bright pixels that make up each single spot. In addition to improving the quality of the final result I acquire at least thirty images for each position, that the special software shall analyze mediating all the individual results.
Once analyzed all the images the software automatically open an Excel spreadsheet preprocessed in which fits all the data necessary for determining the profile of the mirror surface.

Although the process seems laborious and long actually allows you to take the test and to reduce all in a short time, or in line with the time required to perform a single test Foucault, but with the advantage of having carried out a measure that is already the average of well 30 or more different images, and appears to be the less subjective possible.
In principle,, after aligning the tester with the light beam, the webcam mounted and connected to the PC (that is to say more or less the same time to set the tester for the Foucault test), They need a couple of minutes to acquire all the necessary photos and 4-5 minutes to reduce all data.

To give a practical example here are some examples of photos that I acquired during some tests:

As mentioned earlier due to the reduced size of the sensor at my disposal I had to acquire 2 images for each position to be able to cover all the luminous spots awfull laterally with the carriage of the tester.

right Intrafocale:
H10

Intrafocale left:
H11

right extrafocal:
H12

extrafocal left:
H13

If I had access to a larger sensor, I could directly acquire two images such as these without having to laterally move the sensor to resume all the luminous spots:

Intrafocale:
H14

Extrafocale:
H15

Again below the principle that takes advantage of this way of analyzing the mirror surface, using 2 real images that maybe will help you understand better than ever. The blue line that connects the center points of the two pictures is the mirror optical axis, while the red lines and green lines instead represent those which would have the paths of each bright spot going from its position in the respective position in intrafocale extrafocal. As you can see the green lines intersect at a different point from the red lines and this is due to the different mirror curvature radius under the different windows of the mask.
Comparing between them all the positions of the centers of curvature, They can calculate drawdowns of all zones by substantially reducing the data exactly as you would with the Foucault test.

H16

In the case of an even larger sensor I could acquire these type images that cover the entire surface of the mirror, as expected in the real Hartmann test.

Due to the small size of the sensor at my disposal, each of these I have been able to obtained only by gluing together 4 different images. Even with a modest sensor it is possible to intercept all the luminous points, just get closer to the center of curvature of the mirror, where the rays tend to converge more and more. The closer you get to the point of fire, however,, also the bright points are close to each other starting to merge together preventing the identification of well where one ends and where the other begins. For this it is necessary to adequately move away from the center of curvature of the mirror in such a way that the dots are sharper, isolated and distant as possible.

H17

In the last session parabolizzazione I made I always used this method to test the mirror processing having no way to appreciate the quality. In addition I could use a mask 12 windows on the radius, unthinkable thing to do with the Foucault test and Couder mask, that otherwise would generate too small windows near the edge.

One of the qualities I intended to try and I have come to our attention during the various sessions of measurement was the verification of repeatability between successive measurements.
So here are some examples of these tests:

EXAMPLE 1:

In the following figures carry a passage of a processing plant where, after having carried out a measurement of the mirror profile, I decided to intervene in order to lower the central area of ​​the mirror going to perform a short working session with sub-diameter tool with W rides within a circumference of 100 mm radius, and then perform another measurement. He not is went to work in areas with higher radius to 100 mm I expected that the shape of the surface in those areas did not change, and in fact it is very clear that there there is a very good correspondence between the values ​​before and after processing.

H18

EXAMPLE 2:

These however are the other values 2 test distance events in one day. It 'clear the correspondence between the values ​​of the two sets of data that have a smaller maximum deviation of a tenth of a millimeter and averaged approximately half a tenth of a millimeter.

H19

In conclusion, the feasibility of this test, at least at the amateur level, It is heavily influenced by being able to find the software that reduce the data quickly, otherwise the time for obtaining the results would become too long and quite laborious accounts do not make their use affordable.
To use this test I had to implement a small code in Visual Basic because the network was not able to find any that suited my case (P.S: I had no knowledge of programming when I started thinking about this type of testing, but with an old school book and a bit 'of time for the study I was able to implement something useful).

If anyone would like to try this type of test, and he needed this little program for data reduction can find it at the following link in the form of compressed files RAR. Besides the little program it is also a word file with instructions for use :
Hartmann test by Mirco

While it would be even more welcome if someone with skills in programming wishing to engage in 'process a little program (definitely best and most effective of my) that would be unique not only at national level.

For completeness of information it is possible to perform this test also through a single image taken arbitrarily or in intrafocale or extrafocal.
The principle, however, does not change as you can think of the mask itself (placed in front of the mirror) as one of two pictures needed. In this case, however,, for data reduction, It is necessary to know with precision the distance between the sensor and the mirror and the size in microns of the pixels of the sensor to be able to convert in mm the distance between the luminous spots (It is seen that the distance between the windows of the mask are usually expressed in mm).

The software for data reduction for this type of set-up meter is called Hart1d. Unfortunately, the link that I was able to find that refers to the page where it can be downloaded at the moment is no longer active, but searching on the net you might find anyway. If the link I will return to active post it again in the article.

Comments (9)

  1. Avatar

    LonRobie

    Hi all,
    I’m a new member from the Sacramento area of California, USA, an avid mirror maker, ATM'er, and extremely interested in this easy form of the classic Hartmann test. At present, I’m using a precise mirror mask to replace the inner first photo, a point light source, and a single DSLR camera image taken outside the ROC for the second photo. Measuring the point light source pixel separation on the photo is easily accomplished using Photoshop, Imgej, or any one of the many pixel measuring software packages available. They automatically determine each light point’s center of mass. I’m developing an Excel worksheet that calculates and graphs Miles Lacroix data similar to Foculat but in four graphs around the mirror that includes independent left and right side data. This will give me a read on the entire mirror’s surface that far outperforms a one-sided single axis test like Foucault, not to mention far greater accuracy. It’s amazing how much we miss with an averaged single axis test!

    I would like to discuss applying the above formula d1=(a1 *(d1+d2))/a1 + a2). I have a difficult time explaining d1 in the formula part (d1+d2), since the answer we are looking for is the actual focal point value of d1? I concluded they are different values, my poor math skills are showing here. For the d1 in (d1+d2), I used the physically measured ROC value taken from the mirror’s center, sagitta and parallax adjusted for each mask zone, and it seems to work perfectly.

    This simplified Hartmann test shows great promise as an extremely accurate, simple and quick to use, ATM test that can be applied at any stage of mirror making! It would be great fun to discuss this test further!

    Lonnie Robinson

  2. Avatar

    LonRobie

    Lonnie again,
    I would like to direct you to a website that features the Slit Image Test created by Bill Thomas; http://yubagold.com/ . This is an amazing test that also utilizes pixel measurements to achieve high accuracy testing.

  3. arpafab

    arpafab

    hello Mirco,
    I would like to come back to this post on your Hartmann test that I would definitely try.
    From what I understand (I'm also reading the Danjon et Couder topic) the system has the potential to give more repeatable readings and good Foucault punctual paining on the smaller areas, on the edge.
    In addition to ask yourself if you can restore the link to your software (I do not seem to work at the time), I wanted to understand how it gets ready to resume both intra and extra focal images: as I understand it is essential a very accurate measurement of the distance between the two-point shooting (d1+d2). With that precision can estimate the position of the light beams?

    Thank you!!

    Fabio

    • Avatar

      Bartolomei Mirco

      hello Fabio :bye:
      excuse the delayed response.
      The SW that I had written for the test data reduction does not have it either more. As I wrote in the article, I had done long ago still in Visual Basic, and so on among PC changes, I can not find it anymore.
      I'd try to develop another with some more modern programming language, but I know almost nothing about programming so we'll see boh. Some years ago I found on the net two very valuable software to run the Hartmann test, I think they were called Hardt 1D and Hart2D, if you can find them in my opinion could be for you.

      However, to answer your questions:
      It is necessary to adequately know the distance between the two position in which they are acquired images. This is not a big problem if you have a sliding platform. The position with respect to any abutment point, all the photos you take with a digital caliper, a comparator etc., so just make the difference between the two measures, and get the value of the distance with good accuracy.
      It serves even greater precision in determining the centroid of each bright diskette, why did it do to the PC (mediating between the other tens of images) and I did not do it manually.
      If you have questions please ask,
      hello Fabio, See you soon :good:

  4. Avatar

    Alberto Bugoloni

    hello Mirco
    evaluating other tests besides the usual ones, I also came across your posts.
    A but really enjoys developing code. If you feel, we can join efforts and see if some decent solution can be implemented. Probably first developing for PC then eventually for smart devices, so you can take advantage of the sensors and the camera.
    Let me know if you think you might like the proposal, also because in reality I also have something in mind but I haven't had time to think about it yet

    A

    • Avatar

      Bartolomei Mirco

      Hi Alberto,
      sorry for the delay but in this period I have been a bit’ engaged.
      Absolutely yes, you could try developing a little code, maybe something nice comes out of it!
      Unfortunately, it is not possible to perform the hartmann test with a mobile phone as it is necessary to acquire images with a webcam or camera etc. directly with the sensor exposed, that is, without the lenses in front. Either way a little PC software to aid in data reduction would be really nice!
      To start, it would be nice to see if you can even automate just the procedure that is indicated in the article. That is to have the software determine the center of each light spot and save the coordinates of the centers in an array. Then all subsequent calculations will be made starting from these data.
      How about it is doable? What language do you usually program in?
      Ciao
      Mirco

  5. Avatar

    Bartolomei Mirco

    Ah alberto,
    obviously before starting, it is good to take a look at this page:
    http://yubagold.com/
    as suggested by LonRobie a few comments ago.
    I have never studied much and should study a little, because I wouldn't want us to re-invent something that already exists :mail:
    See you soon
    Mirco

    • Avatar

      Alberto Bugoloni

      hello Mirco
      in general development in .net environment, but I also toggle with other things. I believe this is not a problem….The problem of determining the center of the light spots also seems to be resolvable. If what you intend to develop already exists, implemented as you intend it, I do not know this.
      To be clear, I got interested in building telescopes last year. I have some available’ of time that I would like to spend in the workshop scratching glass but unfortunately I do not always have the workshop available, so I can devote some of that free time to following, possibly, your project, since in any case I too will find myself in the situation in the end, if I can continue with my mirror, of having to make quantitative measurements…
      Let's do like this: not to spam the post of our messages, let's exchange email addresses if you agree, so we begin to think of a “prototype” of the application, in order to equip it immediately with an intuitive graphic layout and all the functions that will be needed to obtain the result that you have already experienced.
      I stand by
      A

Leave a comment