Robotic movement of laser beam over a workpiece surface

Abstract: A system for robotic control of an object having x, y and z axis translational movement and C and D axis rotational movement capability. The object, which may be a robotic element such as a manipulator or machining tool or a laser beam positioner is controlled by the system for automatic tracking and orientation of the object over the surface of a workpiece including automatically determining the normal vector to the surface of the workpiece. It provides controllable movement and orientation of the object along selectable axes for accurate tracking of the workpiece surface by the object. The system allows processing of the workpiece by the object even when the axis of the object is oriented at an angle other than normal to the surface of the workpiece. The system when used to control a laser beam provides for control of the of the focal point of the beam at a particular displacement from the machining nozzle tip, using a least mean squares curve fitting technique and a sampled capacitive sensing device operative in the refractory interval between laser pulses and further provides for identification of a mounting fixture unique to a workpiece by sensing coding on the surface of the fixture thereby to select a particular part machining program.

Description: This application relates generally to the automatic or robotic control of the movement and positioning of a laser beam positioner for directing a laser beam to a impinge upon a particular point on the surface of a workpiece for machining or working the surface. More specifically this method relates to measuring and controlling the distance between the tool and the workpiece as the machine operates, determining the location of the focal point of the laser beam and optimally aligning the beam axis to a desired orientation relative to the surface of the workpiece and for calculating the orientation of a tool control axis normal to a complex surface of a workpiece. Determining Normal vector to part surface In many robotic or automatic positioning systems it is often necessary to have the ability to orient an object such as a tool to a specific angle and to bring an operating point of a workpiece engaging portion of the object into position at a single point or along a series of points on the surface of a workpiece. In such instances it is necessary to determine the unit normal vector at a series of points along the surface of the workpiece. Specifically, in multi-axis laser machining or processing (i.e. cutting and welding), two alternative methods are commonly used to cause the focus point of the beam to follow a precisely programmed path on the surface of a three dimensional part. 1. Beam motion. Two orthogonal rotary axes fitted with appropriate 45° tilted mirrors, are carried on a 3 dimensional linear coordinate system to move the beams in the preferred embodiment of the invention. In alternative embodiments optical fibers may be used to move and aim the laser beam in place of the mirrors. 2. The part being processed is rotated under a beam pointed downward by two orthogonal rotary axes commonly called a rotary tilt table. The two methods theoretically achieve the same purpose, that is, causing the focal point of the beam to follow a precise path on the part surface while keeping the orientation of the beam to the part surface at a programmed angle, usually 90°. Cutting and welding normal (90°) to the part surface has several beneficial effects. Less reflection of the laser beam occurs, causing more power to be absorbed by the workpiece, resulting in faster cutting and deeper penetration welding. The part is effectively thinner when cutting normal to the surface. Other advantages to orienting the beam to be normal to the surface include better processing gas flow dynamics through the nozzle and through the cut part and an ability to assure the forming of a square cut edge. When programming the machining operations for apart, using a full three dimensional cad cam system, for example, the computer calculates the precise angles of the two rotary stages of the laser positioner so that in practice the unit normal vector which points out of the part surface at the point of incidence is exactly aligned with the axis of the focused beam, the so called d vector. While computers are adept at calculating the compound angles necessary to produce a correct d vector of a laser beam that will "poke into" the part surface unit normal vector, humans are not nearly as good at estimating the correct d vector when "teaching" a part program how to follow the specific contours of an actual workpiece. Even with special software such as tool center point (focal lock) which causes motion of the rotary axes without losing the focal point (nozzle tip) location, d axis estimations are often poor. Errors of 5° to 10° are common. When the errors are then embedded in the part machining program, they can cause jerky motion of the beam positioner, which results in poor cut quality, particularly if the taught reference points are closely spaced. Automatic focus control is mandatory in laser cutting and welding processes if the shape of the part being cut or welded does not exactly conform to the part program which guides the laser nozzle or other tool over the part at, desirably, a constant separation or gap between the nozzle tip and the part. It is often the case that the part is either warped or fixtured slightly out of the correct position or moves due to stress relief as it is being cut or welded. If the gap varies appreciably from the specified value, the focal point of the laser beam, located a small distance below the nozzle tip, will not be in the correct location relative to the part and the beam will be "out of focus". If this occurs, the machining processes of cutting, welding, etc. are no longer under control and unsatisfactory cuts or welds will usually result. It is very desirable, if not mandatory, that the gap be sensed just under the tip of the nozzle i.e. along the axis of the tip rather than offset from the nozzle tip axis. This is quite easily accomplished with capacitive sensors, where the capacitance between the tip of the copper nozzle and the conductive part becomes the frequency determining element of an oscillator. The frequency of the oscillator is inversely proportional to the capacitance which is itself directly proportional to the gap distance. Thus, the separation of the tip and part is sensed just below the nozzle tip. Examples of such sensing techniques are shown in US-A-3,596,050 which measures the change in capacitance between the part and a metal plate mounted with the tool and in US-A-4,298,784 which measures the capacitance as well as an inductance change as a function of the distance from the workpiece to the tool and the lateral position of the workpiece relative to the tool. Such systems, because they rely upon measurement of capacitance between the tool and the workpiece are not suitable for continuously monitoring the tool to workpiece distance while the tool operates if the tool creates an ionised plume as does a CO 2 laser welding system. Eddy current sensors which provide an alternative method for measuring the gap, ideally would have a winding or coil in the nozzle itself in order to measure the gap in close proximity to the focal point of the laser beam. However, a metallic nozzle cannot readily be used in such a system since the nozzle itself would absorb much of the eddy current, rendering the sensor quite insensitive. Furthermore, non-metallic nozzles often cannot withstand the intense heat of a weld plume. In any case, an imbedded eddy current coil would exhibit temperature effects which are often indistinguishable from eddy current effects due to the temperature coefficient of resistance of copper wire. While a ferrite nozzle would minimize such temperature effects, the relatively low Curie temperature of ferrite renders it useless if it is in close proximity to the beam due to the high temperature of the nozzle caused by radiation from the weld plume. Offsetting the eddy current sensor renders it less useful as a sensor, since it is not sensing in close proximity to where the cutting or welding is being done. While the capacitive sensor is preferred in the prior art for establishing the distance for laser cutting, it is useless for CO 2 laser welding, since the conductive weld plume, or plasma, which surrounds the nozzle tip essentially shunts or short circuits the capacitance between the nozzle tip and the part so that monitoring the distance is impossible during periods when the beam is in operation. It is also understood that the capacitance measuring problems caused by the conductance of the weld plume are not necessarily limited to systems employing CO 2 lasers but also may be applicable to Yag lasers or any other laser process which causes ionization between the operating point of the tool and the surface of the workpiece. Most automatic focus controls also referred to as AFCs, utilized in laser machining systems utilize a small, often easily damaged, linear servo system which moves the lens/nozzle assembly in a direction parallel to the beam and nozzle under the control of a gap sensor which may use either a capacitor, an eddy current sensor, or some combination thereof. Such a system is disclosed in US-A-4,794,222 on which the preamble of claim 1 is based. Such sensor sense the gap between the nozzle and the workpiece and command the lens servo system of the beam positioner to keep the gap constant when the workpiece deviates from its expected position relative to the part program. This may be caused by the part's motion while being laser cut or simply that the part is not exactly the same shape as called for in the part program. In any case, motion of the AFC axis is fixed parallel to the beam and nozzle. On a more general basis, it is necessary for the robotic system or the automatic positioning system to be able to maintain the orientation of the laser beam, relative to the surface of the workpiece and to hold the positioning of the operating point of the workpiece engaging portion of the object relative to points on the surface of the workpiece. This involves holding the orientation of the laser beam at a particular orientation relative to the unit normal vector at various points on the workpiece surface while holding a predetermined distance from the surface of the part. This method of control of the laser tool or nozzle has several disadvantages. 1. The linear lens/nozzle servo is delicate, easily damaged in a collision with a part or fixture, and is expensive. 2. The AFC does not know the exact position of the focal point if the lens servo is off of its nominal programmable position (due to part displacement error), which is usually the case. This is due to the fact that the positioner control using the gap sensor is only in a local position loop, which is dedicated only to keeping the gap constant. Information relative to its displacement of the focal point from the programmed location is not known by the main position loop. 3. Although it is sometimes necessary for an AFC to seek the part surface and maintain a constant gap in an axis not parallel to the axis of the laser beam and lens/nozzle assembly, the prior art AFC systems do not permit such control. The focal length of economical, commercially available lenses used to focus laser beams is specified by the manufacturer to a tolerance of several percent. A common technique used in industrial laser material processing where energetic lasers are used to cut and weld materials is to move the lens assembly so that the true focal point moves above and "below" the surface of the material. When a CO 2 laser is used, if one adjusts the laser power correctly, a blue spark is observed which is indicative of the laser beam interacting with material when one is at or near the focal point, with the bluest spark, i.e. the hottest spark occurring when the focal point is positioned on the surface of the part. However, it is difficult to find the focal point in this manner to an accuracy of better than approximately ± 0.5 mm. While such accuracy may be acceptable for 2 dimensional (2 axis) cutting or welding, it is often not acceptable for three-dimensional (5 axis) cutting and welding, since the focal point location becomes part of the coordinate system and the focal point of the laser beam may not track the desired point in space. An additional reason that it is difficult to find the exact focal point is that no discrete point exists. Rather the beam makes a smooth transition symmetrically through a focal region. Since there is no descrete focal point but a continuous "waist" to the beam, the operator is left to judge where the bluest blue occurs, a judgement decision on which two different operators often disagree on and which a single operator often cannot accurately repeat from one trial to the next. Thus, finding the focal point by prior art "cut and try" means that require judgement by the operator is often not an accurate or repeatable procedure. Another method for finding the focal point is to measure, or listen to, the acoustic emissions emanating from the workpiece as the focal point of the beam passes from a point above the part surface to a point on the part surface and finally to a point below the part surface. Since the energy density of the beam is greatest at the focal point, the acoustic emission is greatest when the focal point is at the part surface. Without further aid, the operator would have to judge at what point the loudest emissions are heard, or measure with a microphone and meter, to determine the focal point. It is an object of this invention to provide an AFC system for a laser machining system which automatically align the laser beam normal to the surface of the workpiece. It is also an object of the present invention to provide an object orienting and positioning system, specifically a machining system in which the control of the distance between a laser machining nozzle for delivery of a laser beam and an inert gas, and the workpiece is sensed by a capacitive sensor which is sampled only during the refractory interval between pulses to avoid the errors introduced by the conductive plume present when the laser beam is turned on. The object above can be attained by provision, in a system for machining a workpiece with a laser beam tool, a control means for maintaining a controlled distance between the tool and a workpiece surface, according to the present invention, comprising capacitive sensor means for measuring the capacitance between the tool and the surface of the workpiece, beam control means for driving the laser beam for the tool with in periodic pulses separated by a refractory interval, sampling means for taking a measurement of the capacitance between the tool and the workpiece during the refractory interval. There is a need in robotic and automatic orientation and positioning systems for laser beam automatic focus control. Consider a metal cylinder such as a jet engine combustion chamber. Being large and made of relatively thin metal, it is usually "out of round" or has "run out", i.e. its radius varies as a function of rotation (see Fig. 2). Runout errors of 0.1 inch or more are common. A front view of the cylinder would show a wall displacement from its nominal or expected position of ΔR = R max - R min as a function of rotation (see Fig. 3). If one is cutting normal to the surface, there is no problem; however, if one is cutting at an angle which is intentionally off normal to the surface, then large errors between the desired, i.e. the programmed, cut path and the actual cut path on the part will result. In order to fully appreciate the magnitude of the errors, consider the following: Specifications require that a row of holes be cut in a cylinder at an angle 75° off normal to the part surface, or 15° off the plane of the part, and that the row of holes be on a "water line", e.g., a straight line in the front view. It can be shown that autofocus in the direction of the beam causes a sinusoidal displacement of holes relative to the desired waterline where amplitude is proportional to the amount of runout and the angle off normal at which cutting occurs. If  = 0° e.g. the beam is normal to the part surface, then tan = 0 and no displacement error results. However, if  = 75°, then tan 75° = 3.73. Therefore E = 3.73 X ΔR. If ΔR = 0.1 inch, then 3.73 X .1 = .373 inches!. It is necessary to allow cutting to be conducted at an angle other than perpendicular to the surface of the workpiece without having a row of holes exhibit a substantial deviation from a straight waterline. Another object of the present invention is providing autofocus control of the focal point of a laser beam by defining a vector using the linear axes of the machine, which is then used for alignment of the beam axis of the nozzle as the nozzle is moved along the axis in response to the error signal from the sensor. These objects are achieved by a method according to claim 1. A further improvement thereof are defined in the subclaim. The automatic control according to the present invention is unique in that it uses the existing x, y and z translational axes upon which the two rotary axes, C and D, of the beam positioner ride to effect control of the distance between the operating point of the workpiece engaging portion of the object and the surface of the workpiece to allow, in some cases the point to trace the surface of the workpiece. The system is operated to hold focus, or, a constant gap between the tip of the nozzle and the workpiece. Since the d direction of the laser beam emitted from the beam positioner is a function only of angles C and D, the laser process controller computer uses the C/D angle data to produce a vector equal to d using the three linear axes. Translation in this case is parallel to the direction of the beam. In a preferred laser machining embodiment of the present invention a capacitive sensor measures the capacitance between the nozzle tip and the workpiece and a servo position loop causes the linear axes to move in the direction of the d vector or any other desired vector to achieve a constant value of capacitance and hence a constant distance between the nozzle tip and the part. Other gap sensing means can also be used in connection with the determination of the unit normal vector. With the automatic focus control ("AFC") arrangement of the preferred embodiment of the present invention, the location of the focal point is always known and it is used to compute the amount of travel required of the linear axes to achieve a constant distance between the nozzle tip and the workpiece. This contrasts with other types of focus control which use a small linear servo system to move the lens and nozzle assembly to keep a constant gap between the nozzle tip and the workpiece. In laser machining where acoustic or optical emissions are tested to find the focal point of the laser beam by operator impression, much greater accuracy and repeatability can be obtained by using least squares curve fitting techniques on the data to determine the coefficient, a 1 , a 2 of a parabola of the form y(x) = a 0 + a 1 X + a 2 X 2 . This technique fits the data to a known parabola with the least error. The invention is now described with reference to the drawing, in which: Fig. 1 is a perspective view of a beam positioning device with the x, y and z translational and C and D rotational axes labelled and showing, in phantom outline, rotation of the machining nozzle 90° about both the C and D rotational axes; Fig. 2 is an illustration showing variation of the radius of a workpiece as a function of rotation; Fig. 3 illustrates the movement of the workpiece wall positions as the radius varies; Fig. 4 is a block diagram of the sampled gap sensing apparatus according to the present invention; Fig. 5 shows the orientation of the d and n axes in the x, y, z and C D system; Fig. 6 shows vector translation; Fig. 7 illustrates transformation of the u , v and w coordinates into the x, y, z system; Figs. 8 through 9a further illustrate the y coordinate transformations; Fig. 10 shows the errors in the normal vector which occur due to nozzle gap errors when the workpiece radius is small relative to the radius of points P 1 , P 2 and P 3 ; Figs. 11A und B illustrate the least square curve fitting technique; and Fig. 12 is a diagram showing the equipment arrangement for the focal point locating method. Detailed Description of the Invention The various aspects of the present invention are all related to either robotic positioning systems or a machining system for performing various machining operations on a workpiece under control of a computer numerical control (CNC) system. The system in all instances positions a laser beam positioner at a desired orientation and aligns a operating point of a workpiece engaging portion of the object with predetermined selected points on the surface of the workpiece. The machining operations involve use of a laser beam to perform the machining operations. A suitable CNC laser machining system is disclosed in U.S. Patent 4,555,610, assigned to the assignee of the present application. The machining system of U.S. Patent 4,555,610 is a system which moves a cutting head along three translational axes. Addition of a beam positioning head 12 to the x axis translational beam 20 of the machining system allows for rotational movement of nozzle 30 about additional axes C and D as shown in Fig. 1. Normal vector determining The ability to constantly monitor the distance between the nozzle and the surface of the workpiece provided using the sampled sensing apparatus above allows improved.operation of the automatic focus control of a laser beam tool typically used for cutting or welding. The automatic focus control according.to the present invention differs from prior systems by using the existing x y z system axes upon which the two rotary axes C and D ride to effect focus control, or, a by controlling a constant gap between the tip of the nozzle and the workpiece. Since the d direction of the beam delivered by the positioner is a function only of angles C and D, as shown in Fig. 5, the laser process controller or computer uses the C/D angle data to produce a vector equal to d using the three linear axes. Vector translation in this case is parallel to the direction of the beam. The capacitive sensor of Fig. 2, as illustrated in Fig. 6, measures the capacitance between the nozzle tip and the workpiece and the servo position loop of the CNC, and causes the linear axes of the machine to move in the direction of the d vector to maintain a constant value of capacitance and hence a constant distance between the nozzle tip and the part as the nozzle is moved across the surface of the part in response to the machining program. With the automatic control of the present invention, the location of the focal point is always known and it is used to compute the amount of travel required of the linear axes to achieve a constant gap. The control methodology of the present invention contrasts with other types of focus control known in the prior art which use a small linear servo system to move the lens and nozzle assembly on'the beam axis only in order to keep a constant gap between the nozzle tip and the workpiece. In such systems lens/nozzle servo has a limited range, typically 0 ±0.2 inches from nominal, and operates independently of the part program. Thus the location of the focal point is known only when the lens servo is in its nominal or "no error" position, a situation which is not usually the case or focus control wouldn't be needed. The success of the method of measuring the part surface normal vector in accordance with the present invention depends on two distinguishing features of the inventive system. 1. The location of the focal point in space is always known due to the unique AFC method. 2. The ability to establish a new focal coordinate system whose normal is the d axis vector, e.g. the direction of the beam. The local coordinate system has u , v , w coordinates which are uniquely transformable back to the xyz coordinate system of the machine, as shown in Fig. 7. A point p in uvw local space can be written in vector form, as p = ( p . u ) u + ( p . v ) v + ( p . w ) w where "." indicates the dot product, a scalar. Thus ( p . u ) is the u component of p , etc. The focal point becomes the origin of the new coordinate system and is also known in the machine coordinate system. Likewise u , v , and w are known in terms of the machine coordinate system. A point p programmed with respect to the origin (0,0,0) of the local coordinate system can be translated into the machine coordinate system at will. Steps for finding unit normal vector: 1. The beam positioning head ( d axis) is pointed approximately normal to the part surface after translating the focal point of the laser beam to the correct point, usually a point located on a scribed line on a part to be processed. This is the usual teaching process. 2. At this point a plane is set perpendicular to the beam positioning head d axis and a local orthogonal coordinate system is established based on user criteria but where w ≐ - d . The focal point becomes the origin of the new coordinate system. 3. A part program for the machine is then written in the local coordinate system with respect to its original focal point. The program is written to define three points on the part surface in the u/v plane which must be non-collinear and preferably equidistant from the local origin. The distance from the three points to the origin is user selectable, as will be explained later. See Fig. 8. The part program causes the beam positioning head focal point to move from the origin to point P 1 , P 2 and P 3 while under automatic focus control, while maintaining a constant gap between nozzle and workpiece, and the coordinates of all points P 1 , P 2 , P 3 plus the focal point are then recorded for each point. These three points define the actual plane of the part surface, a plane whose normal vector is the unit normal vector. The points may be recorded in either coordinate system so each point in one coordinate system in transformable into the other. What is important is that the part program be executed in the local coordinate system with AFC on to avoid collision between 'the nozzle and the part since the part program was written in the u , v plane (e.g. w = 0), the part surface itself will not generally be in the uv plane unless a perfect guess was made and d = - n exactly. AFC then, causes the plane of the part to be measured, since the gap between the nozzle and the part is constant. 4. A vector v 1 is established from P 1 to P 2 and a second vector V 2 is established between P 1 and P 3 . V 1 = P 2 - P 1 V 2 = P 3 - P 1 9. Vector V 1 X V 2 produces a vector normal to the plane of the part and V 1 X V 2 V 1 X V 2 = n = I i + J j + K k where I, .J, K are the components of the unit normal vector and n is the true unit surface normal vector. In this case, it is important that the points be programmed in order with counterclockwise rotation or else the crossproduct will reverse direction. 5. The objective now is to cause the C and D axes to move, by changing their angles, in such a way as to cause d to equal - n the true normal vector, thus causing the beam positioning head to sense the surface normal vector and automatically align itself to it. A number of relationships exist for relating angles C and D to the unit normal vector, n . Among them: C = - tan -1 (I/J) , D = - sin -1 (K) where I, J and K are the components of the calculated unit normal vector in the machine coordinate system. When angles C and D are changed to the new calculated values, then vector d will be parallel to n and point is the opposite direction, e.g. d = - n . 6. The programmed radius of points P 1 , P 2 , P 3 above the data point which is the origin of the local system provides a good estimation of n at the origin if the radius is small compared to the radius of curvature of the part at that point. However, if the radius is too small, changes in height of the nozzle above the part, due perhaps to slight focus control errors in the w direction will cause larger relative angular movement of n than if the radius were larger. See Fig. 10, which shows that n is deflected a much greater amount with a constant error δ in sensing the true part surface. We have found that a radius of .05" for the points surrounding the taught point is satisfactory in most instances. What is important is: 1. Knowing the coordinates of the focal point while under control. 2. Establishing a local coordinate system whose origin and focal point (a desired point on the part surface) and the orthogonal system is known with respect to the machine coordinate system. 3. Writing a part program in the local coordinate system to cause the machine to move to P 1 , P 2 and P 3 and record the coordinates with AFC active to avoid collisions between the nozzle and the part. 4. Defining the true unit normal vector n as the cross product of the vectors V 1 & V 2 , n = V 1 X V 2 V 1 X V 2 5. Causing angles C and D to change to the new.coordinate values such the new d = - n . Note that 3 above allows a standard part program defining P 1 , P 2 and P 3 be written regardless of the orientation of the beam positioner head. As an added refinement, one could allow points P 1 , P 2 and P 3 to be taken in any order or any rotation (clockwise or . counterclockwise, e.g. CW or CCW) if the following test is made. (This could occur if manual teaching of P 1 , P 2 and P 3 were done). We expect that the calculated normal vector will be of opposite sign of the taught d axis vector since they are pointed roughly 180° from each other. Thus the dot product of d and n , d • n should be <0. If it is not, then the sign of the cross product n 1 = V 1 X V 2 V 1 X V 2 should be reversed since it was taken in the wrong order or rotation. e.g.: n 2 = - n 1 or I 2 = -I 1 , J 2 = -J 1 , K 2 = -K 1 Sampled Sensing In utilizing the system of US-A-4,555,610 with the beam positioning head shown in Fig. 1, it is necessary to provide a means to hold a constant gap between the nozzle tip 82 and the workpiece. That is accomplished in the present invention by using a capacitive sensing technique to sample the gap distance between laser pulses. It has been determined, by measurement, that if a pulsed laser beam were used for welding that there is a finite time delay between when the beam is switched on and the formation of a conductive plasma plume. It was also determined that there is a finite time delay between when the laser beam is switched off and the plasma decays to zero. A circuit for measuring the gap between the nozzle 30 and the workpiece 40 is shown in Figure 4. A conductive nozzle tip 80 is isolated from the remainder of the beam positioner.by an insulator 82. The conductive tip 80 is connected to an oscillator circuit 84. The capacitance of the gap between tip 80 and the surface of the workpiece is a part of an oscillator tuning circuit forming a part of circuit 84 which produces an output frequency proportional to the size of the gap. The frequency output of oscillator 84 is connected to a conventional frequency to voltage conversion circuit 86 which produces an output voltage proportional to the received frequency. A low pass filter 88 is used to smooth the waveform of the frequency to voltage converter 86. The analog output of the low pass filter 88 is sampled by an analog to digital converter 90 which provides a digital representation of the magnitude of the gap to the AFC servo control loop circuitry each time that the analog signal is sampled. The sampling command to analog to digital converter 90 is initiated by the leading edge of the laser command pulse 92 which is synchronized with a clocking signal from a 100Hz source by a time delay means such as a one-shot multivibrator 96 which produces a short sampling signal 98 for the analog to digital converter 90 which causes the analog to digital converter 90 to sample the gap capacitance in the time interval between the leading edge of the laser turn on command pulse and the time that the conductive plume appears. As shown in Figure 4, the sample and hold was synchronized to occur at the leading edge of the pulse which turns the beam on, sampling and holding a voltage proportional to the gap between the nozzle and workpiece during the time interval before the plasma forms. In a typical system, the time delays between the edge of the laser drive pulse and the commencement or decay of the conductive plume were approximately 200 to 400 µ sec. One could also sample and hold after a proper time interval after the laser turned off and the plasma decayed, a time interval of about 500 µ sec. The sampling of the nozzle to workpiece gap distance was repeated at a 100 H z minimum sampling rate in the preferred embodiment to preserve system stability for a servo system having a particular position loop bandwidth. The nozzle tip 80 and the metallic workpiece can be thought of as two plates of a capacitor 100 whose capacitance is inversely proportional to the gap, d. C = EA d Where E = permittivity constant and A = effective area. The frequency of the oscillator 84 is proportional to: 1 C and hence is directly proportional to d, the gap. As the gap varies, the oscillator frequency varies accordingly. The frequency to voltage converter 86 converts' the oscillator frequency to a voltage proportional to the gap (after filtering). The function of the low pass filter 88 is to filter out the oscillator carrier frequency, leaving an analog voltage proportional to the gap. The analog to digital convertor 90 samples the output of filter 88 during the sample time and holds the digital information until the next sample period. The sample time (in this case) is synchronized to the leading edge of the "laser on" pulse. Data is held before the plasma forms. Sampling is repeated at a sufficiently high rate to achieve adequate system stability. The stored digital data, proportional to the gap, is fed to the computer where it is compared to the desired gap, whereupon the system is caused to move in such a way as to achieve the desired gap. In order to maximize the effective laser power, it is important that the ratio of laser off time to laser on time be minimized; that is, the laser off time (sample time) should be much less than the sampling period (e.g. 1/100H z ). If sample time, T 0 =200 µ sec, and the sampling period, T s = 1/100 H z = 100 µ sec, then average laser power P = P 0 (T s - T 0 ) T s = 9.8 µsec 10 µsec = .98 P 0 where P 0 is the CW (continuous wave) power. It is also important that the frequency of the capacitive sensor oscillator 84 be sufficiently high so that its recovery time from the perturbation caused by the conductive plasma is much less than the sample time (200 µ sec) so that the oscillator is fully settled and stable before the data is sampled and held. Selectable seek automatic focus control The ability of the machining system of the present invention to control the gap between the nozzle and the workpiece and the ability of the system to determine the unit normal vector to the surface of the workpiece allow the system to operate to reduce certain system machining errors. Consider a metal cylinder such as a jet engine combustion chamber. Being large and made of relatively thin metal, it is usually "out of round" or has "run out", i.e. its radius varies as a function of rotation. Runout errors of 0.1 inch or more are common. A front view of the cylinder would show a wall displacement from its nominal or expected position of ΔR = R max - R min as shown in Fig. 3. If one is cutting with the beam axis oriented normal to the surface, there is no problem; however, if one is cutting at an angle which is intentionally off normal to the surface, then large errors between the desired, i.e. the programmed, cut path and the actual cut path on the part will result. In order to fully appreciate the magnitude of the errors, consider the following: Specifications require that a row of holes be cut in a cylinder at an angle 75° off normal to the part surface, or 15° off the plane of the part, and that the row of holes be on a "water line", e.g., a straight line in the front view. Fig. 3 shows the hole displacement error due to autofocus which only operates in a direction parallel to the beam. It can be shown that autofocus in the direction of the beam causes a sinusoidal displacement of holes relative to the desired waterline where amplitude is proportional to the amount of runout and the angle off normal at which cutting occurs. If  = 0° e.g. the beam is normal to the part surface, then tan = 0 and no displacement error results. However, if  = 75°, then tan 75° = 3.73. Therefore E = 3.73 X ΔR. If ΔR = 0.1 inch, then 3.73 X .1 = .373 inches! The system of the present invention uses the linear axes of the machine to produce the vector that AFC of the nozzle will move parallel to in response to an error signal from the gap sensor (in the case of the preferred embodiment of the invention, the capacitive sensor used in a sampling interval when the beam is off). The desired vector is often parallel to the beam, and is user selectable, but when cutting or welding off normal, to the part surface, a vector normal to the part surface is chosen as the AFC axis. Focal point locating In setting up the system of the present invention and teaching the system the coordinates of the points necessary to establish the part machining program a determination must be made as to the location of the focal point of the laser beam. As stated above, the crude determination of the location of the focal point can be made by sensing the changes in acoustic noise or in appearance of the plume as the location is varied. In either case, whether using acoustic or of emission to find the focal point, much greater accuracy and repeatability can be obtained by using least squares curve fitting techniques on the data to determine the coefficient a 1 , a 2 of a parabola of the form y(x)= a 0 + a 1 X + a 2 X 2 . This technique fits the data to a known parabola with the least error. The location of the focal point can then be calculated by differentiating the position equation dy dx = a 1 + 2a 2 x If y is equal to the amplitude of the acoustic emission and x represents the location of the focal point, then data points of y as a function of x might look as on Fig. 11. Fig. 11 shows acoustic emission as a function of distance x. The position of the focal point is at the maxima of the curve. The focal point is then calculated by setting dy dx = a 1 + a 2 X = 0 then X = -a 1 2a 2 , thus the location of the focal point can be very accurately calculated. Since the focal region is symmetrical about the focal point, a high degree of data fit to a parabola is ensured. Classical least squares curve fitting equations are used to determine coefficients a 0 , a 1 , a 2 . It is useful to make two passes on the material, one from above the focal point'and one from below. Averaging the two answers removes time delays on reading the data as a source of error. As shown on Fig. 12, the computer which controls the operation of the machine may be programmed using conventional programming techniques to sample and store acoustic emission data, calculate coefficients a 0 , a 1 , a 2 and calculate the location of the maxima X = -a 1 2a 2 . In addition, the quality of the data can be determined by calculating the standard deviation of the data and comparing it to a known good number.

Claims: A method for positioning the focal point of a laser beam at selected points on a surface of a workpiece (40) applied in a system for automatically controlling a focus by moving the focal point of the laser beam by movements along orthogonal machine translation axes x, y, and z and C and D rotational axes of an adjustable beam directing head (12) mounted on the machine, comprising the steps of: a) varying the orientation of the C and D rotational axes thereby to adjust the beam axis ( d ) of the directing head (12) into an expected predetermined orientation relative to the surface of the workpiece and aligning the x, y, and z axes to place the beam on one of the selected points; b) using a gap sensor (fig. 4) for generating a signal proportional to the gap between the directing head (12) and the surface of the workpiece (40) and maintaining a predetermined gap as the beam local point is moved through selected points, characterized by moving the directing head (12) along a selected x, y, and z coordinate axis to maintain said predetermined gap. The method of claim 1 wherein the predetermined orientation of the beam axis ( d ) is normal to the surface of the workpiece (40).

Inventors: MARTIN DAN, SCHMIDT H ROBERT, MARTIN, DAN, SCHMIDT, H. ROBERT
Applicants: GSI LUMONICS CORP, GSI LUMONICS CORPORATION
Application year: 1993
Main classification: B23K26
IPC codes: B23K26