The present invention relates to a method for auto-calibration of a tool in a single point diamond turning (SPDT) machine used for manufacturing in particular ophthalmic lenses. Such machine is disclosed in, e.g., document WO-A-02/06005 by the same inventors.
SPDT is a well known method for generating non-rotationally symmetrical surfaces commonly used for ophthalmic eyeglass lenses. The surfaces are typically of toric or toroidal shape, or of completely freeform shape, such as those used in progressive addition lenses (PALs) One common problem encountered in these SPDT machines is a small, but unacceptable error at the center of rotation of the lens. These errors are typically caused by errors of calibration, causing the tool to not quite reach, or stop within acceptable tolerances from the center of rotation.
In the prior art there is no lack of proposals as to how the tool/machine calibration may be realized. In a first, very common method a tool height to center calibration (Z-direction) is performed by scribing a test part with the tool while the test part is prevented from rotation. Typically two lines are scribed, the first at a given angular position (B-angle), then a second line at a second fixed B-angle 180 degrees from the first B-angle. The distance between the two lines is measured with an optical microscope with an appropriate magnification and measurement reticule. The tool height is then manually adjusted by half the measured distance between the two lines, and the procedure is repeated until no separation between the lines can be observed. Finally a test lens is cut and the center is examined using an optical microscope. Small adjustments to the final calibration can be made at this stage.
The disadvantages with this first method are those of accuracy and repeatability being variable, and speed being slow and unpredictable. The speed and success of the whole procedure is typically dependent on operator experience and skill. Further, this is a tool height calibration only. The method does not lend itself to identifying the center and/or radius of the tool tip. This needs to be achieved using a different method. Also, another problem with this first method is possible damage to the tool during the scribing part of the procedure. Finally, this is only a partial tool calibration, offering Z-height only, and still requires final test piece verification/adjustment using an optical microscope.
A second method as disclosed in, e.g., the “NANOFORM SERIES OPERATOR'S MANUAL” of Precitech Inc., Keene, N.H., USA, uses a special camera accurately positioned relative to the spindle of the machine. The optical axis of the camera is generally parallel to the Z-axis. The camera is mounted at a known and repeatable position in all three (X, Y, and Z) directions relative to the machine spindle (headstock), typically using a kinematic coupling interface to allow for quick insertion and removal of the camera into/from the machine. The camera optics are typically using a very short focal depth of field, and the position of this focal plane needs to have been previously pre-adjusted and fixed in order to perfectly coincide with the center of the spindle rotation axis (Z-height). The camera's image is electronically displayed on a computer monitor or other suitable output device to allow for viewing by the operator. The camera optics are adjusted and fixed so the camera's focus (on the tool's rake face) is used to adjust the Z-height of the tool relative to the axis of rotation. The tool height is manually adjusted by the operator by turning an adjustment screw until the tool is brought into focus. This provides a preliminary tool height (Z) calibration. At this point, the operator can move the tool relative to the image using his X, Y jog capability, and visually aligns three different points on the edge of the tool with the cross hairs of the imaging system. These points are captured numerically by the computer system, and used to calculate a best fit circle corresponding to the cutting edge of the tool.
The tool height obtained with focus was said to be a preliminary height (Z) adjustment only. As a final step to obtain a good tool height calibration, a rotationally symmetrical test piece is cut, and its center is observed by the operator using an optical microscope. Depending on what is observed at the center of this test piece a corresponding adjustment is made to the tool height. This final test piece cutting and observation procedure normally needs to be repeated until the operator is satisfied he has achieved a good calibration.
The disadvantages with this approach are those of speed, and operator involvement. Also, unless many hundreds of points along the tool edge are captured at sub-micron accuracies, which is not practical at all, the method cannot automatically calibrate for tool tip circularity errors. Standard practice therefore typically involves purchasing of more expensive “controlled waviness” tools, i.e. very precise tools with low deviation from the best fit circle.
Another problem with this approach is identified when the tool tip has a “blunt edge”. Blunt edge tools are used in special cases where certain types of material respond better to high negative rake situations. In these cases it is common to use a slightly chamfered or radiused edge treatment so that the actual cutting point of the tool tip can be located many microns below the rake face of the tool. In this case, measuring the height of the tool using a focus point on the rake face does not properly identify the height of the true point at which the tool cuts; and accurately focussing at the very edge is quite difficult.
Again, the second method is only a partial calibration since it does not calibrate for circularity errors, and also requires final test piece verification/adjustment using an optical microscope.
Other optical based methods and apparatus used to do a tool/machine calibration are described in documents U.S. Pat. No. 5,825,017 and U.S. Pat. No. 4,656,896. These methods, however, have the same disadvantages as described above.
A third method uses touch probes to probe the tool in different directions, either on or off the machine. Different documents describe mechanisms and variations of this approach, including U.S. Pat. No. 5,035,554, U.S. Pat. No. 4,417,490, U.S. Pat. No. 4,083,272 and U.S. Pat. No. 4,016,784. However, none of these methods calibrate for tool tip radius, or circularity. In addition, like was the situation with the second method, tool height cannot be accurately determined if the tool has a blunt edge since only the rake face is mechanically probed.
Applicable to all the above methods is a procedure commonly used to improve the form accuracy of precision optical surfaces. This method is described in literature from Moore Nanotechnology Systems, LLC, Keene, N.H., USA, regarding a “Workpiece Measurement & Error Compensation System (WECS™)”, and again Precitech Inc., Keene, N.H., USA, concerning the “ULTRACOMP™ Form Measurement & Error Compensation System”. This technology is typically a “part dependent” error measurement and compensation procedure, and as such it is applied to only one part geometry at a time. By this it is meant that after a part is cut, the errors are measured on that part, and then error compensation is applied when the part is recut. If a different part, with different geometry is cut, the full procedure is repeated for the new part. This means it is not a general machine calibration meant to be used on any geometry, but is rather geometry specific.
This procedure has the disadvantage that it is slow and time consuming to apply, due to the fact that it needs to be repeated for each part geometry to be cut. Also, this method only maps errors on one side of center, meaning it does not consider the possibility of cutting parts with prism, i.e. parts having a surface which is tilted with respect to the axis of rotation. Thirdly it is not a calibration method which lends itself to a general tool/machine calibration including Z-height errors. The machine needs to be pre-calibrated and cutting accurately to center before this method can be implemented.
Summarily, the current state of the art uses methods which are based on manual, operator dependent procedures, and are therefore prone to errors, provide for partial tool calibration only and/or are slow in their implementation and practice.
Therefore, what is needed is a method for auto-calibration of a tool in a single point turning machine used for manufacturing in particular ophthalmic lenses, by which two-dimensional (2D) tool/machine calibration and three-dimensional (3D) tool/machine calibration, respectively, can be performed in a reliable and economic manner.
According to one aspect of the present invention there is provided a method for auto-calibration of at least one tool in a single point turning machine used for manufacturing in particular ophthalmic lenses, wherein a cutting edge is formed on the tool which has a three-dimensional shape and position relative to width (X), length (Y) and height (Z) directions of the machine, which method comprises the steps of:
(i) cutting with the tool a test piece of rotationally symmetrical geometry about an axis of work rotation requiring both positive and negative tool contact angles with the cutting edge;
(ii) probing the cut geometry of the test piece at points which required positive and negative tool contact angles to obtain probe data, and storing the probe data;
(iii) analyzing the probe data in respect of deviations of the cut geometry from the geometry which should have been cut in the width (X) and length (Y) directions to obtain X-errors and Y-errors, and storing the errors; and
(iv) automatically controlling the machine to correct for the width errors and length errors.
In this way a reliable and economic two-dimensional (2D) tool/machine calibration is performed. A particular advantage of this method consists in the fact that, due to the test piece geometry cut and probed, the geometry of the cutting edge on both sides of the center of the cutting edge is taken into consideration in the calibration of the machine. This is of particular importance to the calibration if (optical) surfaces shall be cut that have prism at the center of rotation in which case the cutting edge comes into cutting engagement with the surface to be cut on both sides of center of the cutting edge.
The step of cutting the test piece may include cutting a circular groove in the face of the test piece, as an advantageously simple test piece geometry. Further, the step of probing the cut geometry of the test piece can include capturing probe data along a straight line starting on one side of the test piece, and extending through to the other side of the test piece while passing through or close by the axis of work rotation, as an easy-to-perform probing procedure. When probing the cut geometry of the test piece the probe data is preferably captured in a continuous fashion, i.e. the probe is first brought into contact with the test piece and the probe contact with the test piece is then maintained using a low but constant force, while moving the test piece relative to the probe or vice versa.
As far as the step of analyzing the probe data is concerned, it may include executing best fit analysis of the probe data to determine best circle fit of test piece geometry which should have been cut through the test piece geometry actually cut, and determining width offset and length offset of the tool by comparing actual to theoretical results. In this instance the step of controlling the machine preferably includes controlling, by CNC, X- and Y-axes of the machine to correct for width offset and length offset.
Furthermore, the step of analyzing the probe data can include executing best fit analysis of probe data to determine best fit geometry through the general geometry of the cutting edge, and determining tool waviness errors in the length (Y) direction relative to slope of tool contact angle between the cutting edge and the test piece, to compensate for deviations in the tool tip radius. In this case the step of controlling the machine preferably includes identifying the tool contact angle for every given point on a surface to be cut, and adjusting the tool in the length (Y) direction by adding or subtracting, respectively, the tool waviness error in the length direction at the corresponding tool contact angle.
According to a further aspect of the present invention there is provided a method for auto-calibration of at least one tool in a single point turning machine used for manufacturing in particular ophthalmic lenses, wherein a cutting edge is formed on the tool which has a three-dimensional shape and position relative to width (X), length (Y) and height (Z) directions of the machine, which method comprises the steps of:
(i) cutting with the tool a test piece of rotationally asymmetrical geometry about an axis of work rotation with the cutting edge;
(ii) probing the cut geometry of the test piece at least at a portion having a slope in a direction of rotation about the axis of work rotation to obtain probe data, and storing the probe data;
(iii) analyzing the probe data in respect of deviations of the cut geometry from the geometry which should have been cut in the width (X), length (Y) and height (Z) directions to obtain width errors, length errors and height errors, and storing the errors; and
(iv) automatically controlling the machine to correct for the width errors, length errors and height errors.
In this way a reliable and economic three-dimensional (3D) tool/machine calibration is performed. A particular advantage of this method consists in the fact that, with the test piece geometry cut and probed, significantly more information about tool calibration to center can be obtained to compensate for even errors in the Z-direction.
In this instance the step of cutting the test piece may include cutting a geometry which is axisymmetric along two axes in the X-Z plane on the face of the test piece. Moreover, the step of probing the cut geometry of the test piece can include capturing probe data at a given radial distance from the axis of work rotation while rotating the test piece about the axis of work rotation, preferably over an angle of 360 degrees, as an easy-to-perform probing procedure.
Again, when probing the cut geometry of the test piece the probe data is preferably captured in a continuous fashion. Regarding the step of analyzing the probe data the height error is preferably determined from a phase error in the axis of work rotation.
As far as the step of controlling the machine is concerned, which may comprise a fast tool device carrying the tool and having a fast tool axis inclined with respect to a Y-axis of the machine, it preferably includes controlling, by CNC, the fast tool axis (and/or the Y-axis) to correct for height errors, without requiring any special means for height error compensation.
In both cases (2D and 3D calibration) the step of probing the cut geometry of the test piece may finally include probing the latter with a mechanical probe preferably mounted on the machine, and capable of measuring along the length (Y) direction of the machine.
The invention will be explained in more detail below on the basis of preferred examples of embodiment and with reference to the accompanying diagrammatic drawings, in which:
FIGS. 7 to 9 show diagrammatic views of the tool tip of the turning tool according to
On the right of the machining area 14 in
Further details of the lens turning tool insert 36 are shown in FIGS. 2 to 5. The lens turning tool insert 36 comprises a basic body 38 via which it can be fixed detachably on the shuttle 34 of the fast tool device 28. A tool or cutting tip 40 is attached to an upper face of the basic body 38. The tool tip 40 has a rake face 42 and a cutting edge 44 which is circular at least in theory and, as indicated earlier, may be located below the rake face 42 (blunt edge). While the cutting edge 44 is shown as having a circular form it may also have a different definable geometry. In
With respect to the structure of the single point turning machine 10 it remains to be noted that a mechanical probe (not shown) may be provided on the right of the machining area 14 in
The present invention is mostly concerned with calibration of the position of the tool tip 40 relative to the center of rotation of the work piece L, and also relative to the position of the surface of the work piece L at the center of rotation. Since this is a three dimensional problem, the calibration needs to consider and adjust for tool tip position errors in all three dimensions. The following is simply an explanation of the error, and the effect of this error in each of the three directions X, Y, and Z.
At first the errors in the X-direction will be explained with reference to FIGS. 6 to 9. Essentially the X-direction is more commonly referred to as the cross feed or spiral infeed direction. For a given lens L, the tool tip 40 would typically be positioned to start at an X-position just outside the outer diameter of the lens L, then feed towards the center until it reaches the center of rotation of the lens L. This is illustrated in
It should be quite apparent that the position of the tool tip 40 in the X-direction at the center of the lens L is quite critical to achieve good lens geometry. This can be more clearly seen in
The above figures are representative of concave surfaces, however similar errors will be experienced with convex surfaces. For purposes of clarity, the above described errors will be referred to as a “first order” error.
Yet another distinct situation caused by errors of tool positioning in the X-direction will be experienced when the surface being cut has prism at the center of rotation, i.e. a surface (portion) which is tilted with respect to the axis of rotation. This will be referred to as a “second order” error, and is graphically illustrated in
As becomes apparent from
The errors in the Z-direction will now be explained with reference to
Again,
In
As is clear from
The errors in the Y-direction will now be explained with reference to
When prism at the center of the lens L is present however, the final surface can easily have small, unacceptable errors at the center caused by Y-axis position differences from nominal. A significant source of error comes from variations in tool radius 48 (see also
The effect of an error in tool shape is finally illustrated in
In the following a method for two-dimensional (2D) tool calibration in the X- and Y-directions will be explained with reference to FIGS. 14 to 18, by which the errors in the X- and Y-directions as described above can be corrected.
In a first step of the 2D calibration concept a rotationally symmetrical test piece 94 as shown in
Then, as shown in
In this instance it is sufficient to capture probe data along a straight line starting on one side of the test piece 94, and extending through to the other side of the test piece 94 while passing through (or close to) the center of rotation. This is done while holding position on the axis of work rotation B and moving the X-axis. By doing so probe data is obtained which is representative of test piece geometry which has been cut not only by an area of the cutting edge 44 on one side of center 46 in the X-direction but also by an area of the cutting edge 44 on the other side of center 46 in the X-direction. Although this could be achieved also by probing only one side of the test piece 94, e.g. the side to the left of the center line of the test piece 94 in
In this connection it should further be mentioned that, generally, the preferred method of probing consists of first bringing the probe 98 into contact with the test piece 94 and maintaining probe contact with the test piece 94 using a low but constant force, then moving one or more machine axes in order to move the test piece 94 relative to the probe 98 so that the test piece 94 is probed continuously. During this process encoder positions of all relevant axes are simultaneously captured (using hardware latching). Thousands of points can be captured in a few seconds, with each individual point being comprised of the simultaneous individual positions of two, three or more axes.
A variation to the above could be accomplished in a non contact fashion using an optical probe such as the “Distance Measuring Confocal Microscope” described in document U.S. Pat. No. 5,785,651, or the “Confocal Chromatic Displacement Sensor” sold by Stil S.A., France.
Probing could also be done on a point by point basis, wherein a mechanical probe is physically brought into contact with the test piece being measured, and the positions (encoder readings) of all relevant axes are simultaneously captured (latched) when probe contact with the test piece is detected. The probe is then lifted from the surface of the test piece, axes are moved, and the process is repeated to obtain a new probe point so that the test piece is probed step by step.
It remains to be noted with respect to
In a further step of the 2D calibration concept the obtained probe data is analyzed with respect to calibration errors in the X- and Y-directions, and optionally with respect to shape errors of the cutting edge 44 in particular in the Y-direction (tool radius deviation or tool waviness). This will be explained in the following with reference to FIGS. 16 to 18.
At first the probe data is fitted to a probe circle 104 as shown in
After fitting the probe circle 104, additional information can be obtained with respect to shape errors of the cutting edge 44. Errors in radius 48 of the turning tool insert 36 (see
The two graphs shown in
In this connection it should be mentioned that the probe 98 needs (and assumes) an accurate spherical ball tip 100. Here one could purchase a very accurate, well qualified probe tip, or conversely use an inexpensive ball tip that is then used to probe a highly accurate test sphere or other suitable reference geometry. The results can then be used to correct any inaccuracies of the ball tip.
The data obtained during probing of the test piece 94 can be used further to execute a best fit analysis in order to determine a best fit circle 84 through the general tool tip 40 geometry (best fit of tool tip radius 48 to a circle as illustrated in
Finally the results of the above analyses are stored in appropriate memory registers and/or data files, and can be used for suitably controlling the X- and Y-axes of the single point turning machine 10 to correct for X- and Y-errors, both “first order” errors and “second order” errors.
To be more precise the X- and Y-offsets are provided to correct for tool center 46 to rotation center (axis of work rotation B) distance errors. In order to correct for shape errors of the cutting edge 44, firstly, the angle θ (slope of the surface to be cut) at the point of contact of the tool tip 40 for every calculation point is identified. Secondly, for each calculation point, the height of the tool in the Y-direction is adjusted by the amount of waviness error determined on the basis of the data obtained during the probing of the test piece 94. In other words, tool tip (Y-height) errors can be corrected for by de-termining the theoretical tool position at a given point on the (optical) surface to be cut, calculating the tangent angle θ at this point, and adding (or subtracting) the deviation of true tool tip 40 from best fit 84 tip radius at the corresponding tangent angle θ in the tool error file.
Summarily, as a simple first step tool calibration, two different calibration elements can be obtained. The first is tool calibration relative to the X- and Y-axes, i.e. relationship between center 46 of tool, and center of work rotation (axis of work rotation B), while the second is relative to tool tip radius deviation respectively tool roundness measurement/calibration. In brief, to achieve these calibrations the following steps need to be followed:
At this point it is to be noted that the above described 2D calibration does not correct for Z-axis errors. This algorithm assumes a pre-calibrated Z tool height to center. The following three-dimensional (3D) calibration includes Z height calibration.
By cutting a more complex test piece, significantly more information about tool calibration to center can be obtained. In this instance, if a test piece is cut and probed that is rotationally asymmetrical, information about calibration errors in all 3 dimensions, i.e. X, Y, and Z can be obtained. The important aspect here is that the additional Z-dimension calibration is obtained.
The surface shown in
where:
From the side view of the non-rotationally symmetrical surface of the test piece 114 shown in
ΔZ=ρ·Bpe
A 3D fitting can now be carried out either in two steps or in one step, as will be explained in the following.
As far as 3D fitting in two steps is concerned, if a solution is found in 2D first, the solution to the third dimension can be achieved independently to the 2D solution. In this instance a solution of simultaneous equations would be limited to the 2D case, and in a separate step a solution to the third dimension, with different probing data. To achieve these calibrations the following steps need to be followed:
A 3D fitting in a single step can be carried out using least squares or another mathematical fitting algorithm. It is possible to fit the parameters defining the tool position and radius using, for example, a least squares fitting routine. One typical method would be to use an equation for the probe value Y written as a function of the machine position and calibration parameters for the surface:
Ycalc=F(Xi,Bi,ΔX,ΔY,ΔZ,Δr)
where:
Then, a least squares routine (or other error minimization algorithm) will find the value of the fitting parameters (best value of ΔX,ΔY,ΔZ,Δr) to give a minimum error, Q, as defined by the following equation:
To perform this estimate, probe data should be obtained over the surface, such as a spiral pattern of probing.
The tool waviness can be modeled with a function W vs. θ; where θ is the contact angle at the tool tip 40 (see
W=k0+k1θ+k2θ2+ . . . knθn,
or a set of points (W, θ). The correction values can be found after the other parameters are fitted, by fitting the function to the error like that shown in one of
Instead of finding the waviness of the tool tip 40 after the least squares fitting, it is possible to include a function defining the shape of the tool tip 40. The coefficients of the power series, or the points in the fitting, would be found as an output of the least squares fitting instead of a second process.
In brief, the results of the above fitting are used as follows:
As far as the adjustment of the single point turning machine 10 by the Z-calibration error is concerned, it remains to be noted that this can be carried out easily by using the CNC-controlled F1-axis of the fast tool device 28 shown in
Finally it should be noted that, although the fast tool device 28 has been described as being a linear fast tool device 28, it is evident to the person skilled in the art that, basically, the proposed 2D and 3D calibration of the tool can also be carried out in connection with a standard (“slow”) turning device or a rotative fast tool device as is known, e.g., from document WO-A-99/33611. Further, besides the above mentioned tool device the machine to be calibrated may have one or more further tool device(s), e.g. a tool device selected from a group comprising turning tool devices, milling tool devices, grinding tool devices etc.
A method for auto-calibration of at least one tool in a single point turning machine used for manufacturing in particular ophthalmic lenses is proposed, in which a test piece of special, predetermined geometry is cut with the tool and then probed to obtain probe data. The method subsequently uses the probe data to mathematically and deterministically identify the necessary tool/machine calibration corrections in two directions (X, Y) and three directions (X, Y, Z), respectively, of the machine. Finally these corrections can be applied numerically to all controllable and/or adjustable axes (B, F1, X, Y) of the machine in order to achieve a (global) tool/machine calibration applicable to all work pieces within the machines operating range. As a result two-dimensional (2D) tool/machine calibration and three-dimensional (3D) tool/machine calibration, respectively, can be performed in a reliable and economic manner.
Other variations and modifications are possible without departing from the scope and spirit of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
05 009 894.6 | May 2005 | EP | regional |