Method for identifying joining points of workpieces and laser machining head comprising a device for carrying out this method

11534860 · 2022-12-27

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for identifying joining positions of workpieces includes capturing images of a joint by a camera, determining measurement data for the joining positions associated with a course of the joint from the images of the joint, determining a mathematical model of the joint course from a part of the measurement data, providing a curve based on the mathematical model for positioning a welding laser during a laser welding process along the curve.

Claims

1. A method for identifying joining positions of workpieces prior to welding, comprising the steps of: capturing images of a joint by means of a camera; determining measurement data for the joining positions associated with a course of the joint from the images of the joint; removing some of the measurement data from the measurement data associated with the course of the joint, the removing depending on components to be welded and being not random; fitting a mathematical model of the joint course to the measurement data after the removing step; providing a curve defined by the mathematical model; and positioning a welding laser during a laser welding process along said curve.

2. The method according to claim 1, further comprising illuminating the workpieces coaxially to a viewing beam path of the camera.

3. The method according to claim 1, wherein a viewing beam path of the camera for capturing the images of the joint is coaxially coupled into a beam path of a laser beam used for welding.

4. The method according to claim 1, wherein the step of the removing some of the measurement data from the measurement data associated with the course of the joint comprises removing some of the measurement data using a comb profile having spaced apart windows, a width of the windows and distances thereof in said comb profile being selected according to the workpieces.

5. The method according to claim 1, further comprising: supplementing unidentified joining positions in the course of the joint by linear interpolation.

6. The method according to claim 1, wherein the steps of removing and fitting are repeatedly performed, and the method further comprising determining a number of outliers for each fitted model.

7. The method according to claim 6, further comprising removing from the measurement data the outliers that have been determined for the fitted model with the fewest outliers, and redetermining the mathematical model by fitting to the measurement data after removing the outliers that have been determined for the fitted model with the fewest outliers.

8. A laser machining head comprising a housing through which a working laser beam path with a collimating optics and a focusing optics is provided, and a device, which is configured for performing the method according to claim 1 comprises: a camera for capturing images of a joint of workpieces, a viewing beam path of which being coaxially coupled into a working laser beam path; and an illumination device, an illumination beam path which is coaxially coupled to the viewing beam path and the working laser beam path, wherein the device is configured for; obtaining measurement data for the joining positions from the images of the joint, removing some of the measurement data from the measurement data associated with a course of the joint and fitting a mathematical model of the joint course to the measurement data after the removing step, the removing depending on components to be welded and being not random, wherein the mathematical model provides a curve for positioning a welding laser during a laser welding process along said curve.

9. The laser machining head according to claim 8, wherein the viewing beam path of the camera and the illumination beam path of the illumination device are coupled into a portion of the working laser beam path between the collimating optics and the focusing optics.

10. The laser machining head according to claim 8, wherein the illumination device includes an LED light source and a collimating optics.

11. The laser machining head according to claim 10, wherein the LED light source includes an LED board having an LED chip with integrated lens, the LED light source further includes a lens with a numerical aperture adapted to an aperture angle of the emitted illumination light.

12. The laser machining head according to claim 11, wherein the LED light source comprises a LED, and that an absorber is arranged, in the beam direction, downstream of a partially transmissive mirror for coupling the illumination beam path of the illumination device into the viewing beam path of the camera.

13. The laser machining head according to claim 8, further comprising a diaphragm for adjusting the aperture disposed in the viewing beam path of the camera.

14. A method for identifying joining positions of workpieces prior to welding, comprising the steps of: capturing images of a joint by means of a camera; determining measurement data for the joining positions associated with a course of the joint from the images of the joint; determining a 4th degree polynomial as a mathematical model of the joint course by fitting to a part of the measurement data; providing a curve defined by the mathematical model; and positioning a welding laser during a laser welding process along said curve removing some of the measurement data from the measurement data associated with the course of the joint, the removing depending on components to be welded and being not random; and wherein the step of determining the mathematical model of the joint course comprises; fitting the mathematical model of the joint course to the measurement data after the removing step; and wherein the step of the removing some of the measurement data from the measurement data associated with the course of the joint comprises removing some of the measurement data using a comb profile having spaced apart windows, a width of the windows and distances thereof in said comb profile being selected according to the workpieces.

15. The method according to claim 14, further comprising illuminating the workpieces coaxially to a viewing beam path of the camera.

16. The method according to claim 14, wherein a viewing beam path of the camera for capturing the images of the joint is coaxially coupled into a beam path of a laser beam used for welding.

17. The method according to claim 14, further comprising supplementing unidentified joining positions in the course of the joint by linear interpolation.

18. The method according to claim 14, wherein the steps of removing and fitting are repeated performed, and the method further comprising determining a number of outliers for each fitted model.

19. The method according to claim 18, further comprising removing from the measurement data the outliers that have been determined for the fitted model with the fewest outliers, and redetermining the mathematical model by fitting to the measurement data after removing the outliers that have been determined for the fitted model with the fewest outliers.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention will be described in more detail below, for example, with reference to the drawing. In the figures:

(2) FIG. 1a shows a simplified schematic plan view of two workpieces for illustrating a joining position determination by means of triangulation methods,

(3) FIG. 1b shows an image of a laser line projected over a joining gap between the workpieces,

(4) FIG. 2a is a simplified schematic plan view of two workpieces for illustrating the joining gap recognition by means of a captured gray image,

(5) FIG. 2b shows a captured gray image of a joint between two workpieces,

(6) FIG. 3 is a diagram illustrating the joining gap positions detected in the gray image over the entire course of the joining gap,

(7) FIG. 4 shows a simplified schematic representation of a laser machining head with integrated device for identifying joining positions of workpieces,

(8) FIG. 5 is a detailed view of the illumination device shown in FIG. 4,

(9) FIG. 6 is a flow chart of the determination of a model of a joint course,

(10) FIG. 7a is a schematic diagram for illustrating measurement data associated with the course of a joint and a comb profile for removing a part of these measurement data,

(11) FIG. 7b shows a diagram for illustrating a measurement data set after removing a part thereof according to FIG. 7a,

(12) FIG. 8a is a diagram for illustrating measurement data representing the course of a joint after supplementing missing joining positions by linear interpolation,

(13) FIG. 8b shows a diagram for illustrating a model fitted to these measurement data,

(14) FIG. 8c is a diagram illustrating a model fitted to these measurement data after removing outliers from measurement data;

(15) FIG. 9 is a low-contrast gray image of a joining gap, and

(16) FIG. 10 shows a high-contrast gray image of the joining position captured using incident LED illumination according to the invention.

DETAILED DESCRIPTION OF THE INVENTION

(17) In the various figures of the drawing, matching components are provided with the same reference signs.

(18) FIG. 4 shows the schematic structure of a laser machining head with its housing omitted for the sake of simplicity. Through the laser machining head, a work laser beam path 10 is guided by a collimating optics 11 and a focusing optics 12. The focusing optics 12 focuses the work laser beam, in a manner not shown, through a protective glass 13 into the interaction region between laser radiation and a workpiece 14 for machining thereof. In the work laser beam path 10, additionally a partially transmissive deflection mirror 15 that is opaque to the work laser radiation, but transmissive for other wavelengths used for the observation of the workpiece surface, is arranged.

(19) For imaging the workpiece surface to detect joining positions, a camera 16 with a lens is provided, the viewing beam path 17 of which being coupled coaxially into the working laser beam path 10 via a deflecting mirror 18 and through the partially transparent deflecting mirror 15. For high-contrast visualization or imaging of joining positions, an illumination device 19 with a collimating optics 20 is provided, the illumination beam path 21 of which being coupled coaxially into the viewing beam path 17 of the camera 16 and the work laser beam path 10 via a splitter mirror 22.

(20) Since the splitter mirror 22 is required to be partially transmissive for the light emitted from the illumination device 19, i.e., needs to both transmit and reflect the respective wavelength of, e.g., 660 nm, an absorber 23 is arranged behind the partially transmissive mirror 22 in the beam direction in order to avoid disadvantageous reflections within the laser machining head which are otherwise generated by the illumination light not usable for illumination and partly directed to the camera 16. Furthermore, in the viewing beam path 17 of the camera 16, a diaphragm 27 for aperture adjustment and/or limitation by which back-reflections and reflections from the region of the protective glass 13 and the focusing lens 12 are at least partially shielded is arranged.

(21) For a bright, high-contrast image, sufficient intensity from the illumination device 19 must be available and back-reflections must be minimized.

(22) Therefore, preferably high-power LEDs having a large chip area (typ. 1×1 mm.sup.2) and a large aperture angle (up to 160°) are used as LED light source. In order to collimate as much of the emitted light as possible, a combination of lenses is required, which in some cases must have high NA. In addition, the losses at the optical elements must be kept low.

(23) A lens combination that collimates as much light as possible and directs it through the laser machining head is shown in FIG. 5. Here, the lighting device 19 further comprises an LED light source with an LED board 24 on which an LED chip 25 with integrated lens such as a high-power LED is disposed and a lens 26 with high numerical aperture. The lens 26 with high numerical aperture serves to radiate as much of the illumination light emitted by the LED chip 25 with a large aperture angle into the collimating optics 20 as possible.

(24) Due to the coaxial arrangement of the illumination LED, the illumination beam path 21 and the viewing beam path 17 largely take the same path, i.e., are coaxial. Each element in the common beam path producing a back-reflection reflected to the sensor of the camera 16 reduces the contrast of the image. As a result, a black picture will no longer be black, but gray.

(25) It would be useful to provide each optical element with an optimal anti-reflective layer, which would allow for a transmission of almost 100% for the illumination wavelength, e.g., 660 nm. In many cases, however, this is not possible since the optical element needs to be anti-reflective-coated not only for the illumination wavelength, but also for the machining laser and possibly further sensors. The more requirements a coating needs to meet, the thicker and more complex the layer stack usually becomes, so that use in the machining beam path is often no longer possible due to the high laser power.

(26) Without optimizing the optics and the coating or orientation and position in the beam path thereof, the image is very low in contrast, as FIG. 9 shows, for example. Since the determination of the joining positions in the image is often performed by means of edge detection, sufficient contrast is absolutely required.

(27) Due to the required contrast in the image and due to losses of illumination intensity due to poor reflection properties of the object field, i.e., the workpiece surfaces, and losses in the beam path of the laser machining head, high-power LEDs which are operated in a pulsed manner are preferably used. The pulses are synchronized with the capture of the image in the time window of the sensor exposure phase of the camera 16.

(28) The following measures provide an optimal contrast in the image:

(29) LED illumination by means of high-power LED with a lens combination to collimate as much emitted light as possible, as shown with reference to FIG. 5.

(30) Coating of the focusing optics: Best possible anti-reflective coating for work laser radiation has priority, while an anti-reflective coating for illumination light should be designed as well as possible without adversely affecting the work laser wavelength.

(31) Shape of the focusing optics 12: Curvature radii of the lens used should be adjusted such that the back-reflections present despite the anti-reflective coating on the front and back at 660 nm are reflected back so that the camera 16 is not significantly exposed. For this purpose, biconvex lens shapes are suitable. Despite the adjusted curvature radii, however, the focal length of the focusing optics 12 must be maintained.

(32) Although it is possible, in principle, to provide the protective glass 13 with an anti-reflective coating for the illumination wavelength and the work laser, so that no back-reflections are generated, it is preferred to provide protective glass without special anti-reflective coating for 660 nm and tilt the protective glass by a few degrees, e.g., 4 degrees, so that the back-reflection does not directly hit the camera 16 and reduces the contrast. As a result, the back-reflection is no longer propagated coaxially and is blocked by the diaphragm 27 for aperture adjustment. There, the diaphragm 27 has an opening diameter which is smaller than that of the housing.

(33) A high-contrast imaging of the joining position with the described coaxial incident LED illumination is shown in FIG. 10.

(34) FIG. 6 shows a flow chart of the method for determining a measurement curve from the measurement data for the joining positions associated with the curse of the joint, the measurement curve then being used to control a joining process and to determine further quality characteristics. For this purpose, N iterations are carried out, with measurement data first being removed from the measurement data associated with the course of the joint in step S1. The model is then fitted to the reduced measurement data set in a step S2, in order to then determine the number of outliers for this fitted model in step S3. It is therefore determined which of the individual measurement data points of a measurement data set deviates more than a predetermined error bound from the calculated model. As long as the number n of iterations carried out is smaller than the predetermined number N, the next iteration is carried out in the same way, respectively.

(35) After all N iterations have been carried out, the model with the fewest outliers is selected in a last step S4. From the measurement data for this model, the outliers are removed and the model is finally recalculated. The resulting model then provides the measurement curve from which further quality characteristics may be determined and which may also be used to control the joining process.

(36) The method uses the iterative fitting of a model to parts of all the original measurement data representing a measurement curve corresponding to the course of the joint. In particular, a modified Ransac method is used to determine joining positions.

(37) For this purpose, a mathematical model is to be fitted to the measurement data set and outliers are not to be considered. The features to be determined, e.g., the joining position and quality characteristics determined therefrom such as maximum deviation or concentricity should therefore not be based on the original data but on the data from the mathematical model.

(38) For example, a 4th degree polynomial serves as a mathematical model. The measurement data set should therefore be approximated with the model Y=A+B*x+C*x.sup.2+D*x.sup.3+E*x.sup.4. As a result, the algorithm provides a polynomial with the coefficients A, B, C, D, and E in which outliers are eliminated. If one can assume that the course deviations are caused by translations of the center, the equation Y(x)=A+B*sin (C*x+D) may also be used as a model.

(39) After a sufficient number N of iterations, an optimal model can be found.

(40) The removal of part of the measurement data in each iteration is not random, since disturbances in the image which lead to outliers usually have a component-dependent length. The random removal of data would mean a high number of iterations.

(41) FIG. 7a shows an exemplary pattern (comb profile K) used to remove a part of the measurement data from the measurement data set representing the original measurement curve M. The distance and the range of the windowed data removal from the original measurement data set may be parameterized depending on the component. The method used to remove data is component-dependent.

(42) A measurement data set obtained by removing data according to the comb profile K shown in FIG. 7a would be represented by the measurement curve M′ shown in FIG. 7b, for example.

(43) From this measurement data set, the model is calculated and the number of outliers determined. With each iteration, a model will emerge, with other coefficients in the case of a polynomial. Outliers may be determined for every model fitted to the measurement data set, i.e., the calculated polynomial. The shape of the model can be restricted in most cases because there is prior knowledge of the measurement curve. In a component with an axial joining gap arrangement, the course of the joining position will be along a circle. Errors due to non-concentric clamping of the components can be described by a trigonometric model.

(44) FIG. 8a shows the measurement curve M″ of a measurement data set after linearly interpolating non-detected positions along a course of an axial joining gap (see the regions 9 in FIG. 3). Non-detected positions may be implausible measurement data, such as values on the left or right ROI edge.

(45) FIG. 8b shows a calculated model P, for example a 4th degree polynomial on the measurement data set according to FIG. 8a above. The maximum is 17.57 mm.

(46) After 10 iterations and cleanup of the measurement data set, the maximum is 16.97 mm. A concentricity of an axial joining gap course calculated for the measurement curve M′″ shown in FIG. 8c thus reliably matches the actual course of the joining gap between the workpieces.

(47) The method according to the invention may also be applied to the recognition of the welding seam in the gray image. Again, there is the problem that the contour of the welding seam in the gray image suffers from outliers, depending on the detection method. The adapted method described here can also safely detect the seam edges in the gray image. For this purpose, the respective mathematical model is fitted to the expected course of the seam.

(48) Thus, with the method according to the invention, the outliers and gross errors can be reliably eliminated and a measurement curve of the joining gap positions along the joining path can be generated. With this generated curve, the quality, e.g., the concentricity, of the joining gap course can be reliably assessed. This curve can be used to position the welding laser along this curve during welding.

(49) According to the invention, the visualization or imaging of the joining position is achieved with a coaxial camera 16 and a coaxial LED illumination. The optical filters used, the deflecting mirrors, the protective glass and the focusing optics of the welding head are adapted to the wavelength of the LED such that reflections at the optics in the common beam path of the LED illumination 21 and the viewing beam path 17 into the camera 16 are minimized. This is achieved either by adapted coatings or by clever positioning of the components and suitable apertures. Avoiding disadvantageous reflections allows for a high-contrast image.