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
- Joachim Schwarz (Kleinandelfingen, CH)
- Rüdiger Moser (Malsch, DE)
- David Blázquez-Sánchez (Gaggenau, DE)
Cpc classification
B23K9/1274
PERFORMING OPERATIONS; TRANSPORTING
G01B11/14
PHYSICS
B23K26/0006
PERFORMING OPERATIONS; TRANSPORTING
International classification
B23K26/03
PERFORMING OPERATIONS; TRANSPORTING
B23K31/12
PERFORMING OPERATIONS; TRANSPORTING
B23K9/127
PERFORMING OPERATIONS; TRANSPORTING
B23K26/06
PERFORMING OPERATIONS; TRANSPORTING
B23K26/00
PERFORMING OPERATIONS; TRANSPORTING
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)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DETAILED DESCRIPTION OF THE INVENTION
(17) In the various figures of the drawing, matching components are provided with the same reference signs.
(18)
(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
(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
(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
(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
(34)
(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)
(42) A measurement data set obtained by removing data according to the comb profile K shown in
(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)
(45)
(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
(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.