Laser processing device for determining the presence of contamination on a protective window

10761037 ยท 2020-09-01

Assignee

Inventors

Cpc classification

International classification

Abstract

A laser processing device includes a beam splitter disposed between a focusing lens and a protective window, a return light measurement unit configured to measure intensity distribution of a return light reflected from a workpiece and returning to an external optical system via the beam splitter, a storage unit configured to store at least one of normal pattern data representing the intensity distribution of the return light when the protective window is in normal condition and abnormal pattern data representing the intensity distribution of the return light when the protective window is contaminated, a processing unit configured to perform a process of detecting contamination of the protective window during laser processing based on measurement data about the return light and at least one of the normal pattern data and the abnormal pattern data, and a warning unit configured to warn of contamination of the protective window in accordance with the process.

Claims

1. A laser processing device for determining the presence of contamination on a protective window during laser processing, the laser processing device comprising: a laser oscillator; an external optical system including a focusing lens configured to focus a light output from the laser oscillator and a protective window disposed downstream of the focusing lens; a beam splitter disposed between the focusing lens and the protective window; a plurality of sensor elements arranged two-dimensionally or arranged concentrically and configured to measure intensity distribution pattern of a return light reflected from a workpiece and returning to the external optical system via the beam splitter; a memory configured to store at least one of normal pattern data representing the intensity distribution pattern of the return light from the workpiece when the protective window is in normal condition and abnormal pattern data representing the intensity distribution pattern of the return light from the workpiece when the protective window is contaminated; a processor configured to: perform a process of detecting contamination on the protective window by pattern recognition based on at least one of the normal pattern and the abnormal pattern and the intensity distribution pattern measured during laser processing, and output a warning when the contamination on the protective window is detected; and a drive controller configured to move the protective window in a direction orthogonal to an optical axis of an output light, wherein the processor is further configured to calculate an amount of position adjustment for adjusting a position of the protective window when contamination on the protective window is detected and issue a command for the drive controller to move the protective window based on the amount of position adjustment.

2. The laser processing device of claim 1, wherein the processor is further configured to: generate a discriminant function for discriminating contamination on the protective window using at least one of the normal pattern data and the abnormal pattern data as teaching data, and detect contamination on the protective window based on the measured intensity distribution pattern and the discriminant function.

3. The laser processing device of claim 2, wherein the processor is further configured to update a parameter of the discriminant function when the detected contamination of the protective window does not exist.

4. The laser processing device of claim 1, wherein the processor is further configured to issue a command for the memory to store the measured intensity distribution pattern as the abnormal pattern when contamination on the protective window is detected.

5. A laser processing device for determining the presence of contamination on a protective window during laser processing, the laser processing device comprising: a laser oscillator; an external optical system including a focusing lens configured to focus a light output from the laser oscillator and a protective window disposed downstream of the focusing lens; a beam splitter disposed between the focusing lens and the protective window; a plurality of sensor elements arranged two-dimensionally or arranged concentrically and configured to measure intensity distribution pattern of a return light reflected from a workpiece and returning to the external optical system via the beam splitter; a memory configured to store at least one of normal pattern data representing the intensity distribution pattern of the return light from the workpiece when the protective window is in normal condition and abnormal pattern data representing the intensity distribution pattern of the return light from the workpiece when the protective window is contaminated; and a processor configured to: perform a process of detecting contamination on the protective window by pattern recognition based on at least one of the normal pattern and the abnormal pattern and the intensity distribution pattern measured during laser processing, output a warning when the contamination on the protective window is detected, generate a discriminant function for discriminating contamination on the protective window using at least one of the normal pattern data and the abnormal pattern data as teaching data, and detect contamination on the protective window based on the measured intensity distribution pattern and the discriminant function, wherein the plurality of sensor elements is arranged to surround an optical axis of the return light, and wherein the discriminant function includes the number of sensor elements detecting intensity of the return light higher than a predetermined intensity in a set of sensor elements surrounding the optical axis, the number of sensor elements detecting intensity of the return light higher than a predetermined intensity in a set of sensor elements surrounding the set of the sensor elements, and weighting parameters for weighting the numbers of sensor elements respectively.

6. The laser processing device of claim 5, wherein the weighting parameter becomes larger as the set of sensor elements gets away from the optical axis of the return light.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a schematic diagram illustrating the overall configuration of a laser processing device according to one embodiment.

(2) FIG. 2A illustrates longitudinal sections of output lights.

(3) FIG. 2B illustrates plan views of return lights.

(4) FIG. 2C illustrates enlarged views of the return lights during piercing, cutting, and welding.

(5) FIG. 3A illustrates a plan view illustrating normal patterns representing the intensity distribution of the return lights during piercing, cutting, and welding.

(6) FIG. 3B illustrates a plan view illustrating abnormal patterns representing the intensity distribution of the return lights during piercing, cutting, and welding.

(7) FIG. 4 is a block diagram illustrating the configuration of a numerical control device according to one embodiment.

(8) FIG. 5 is a flowchart illustrating operations of the laser processing device according to one embodiment.

DETAILED DESCRIPTION

(9) Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, identical or similar constituent elements are given identical or similar reference signs. Additionally, the embodiments described below are not intended to limit the technical scope of the invention or the meaning of terms set forth in the claims.

(10) FIG. 1 is a schematic diagram illustrating the overall configuration of a laser processing device according to the present embodiment. A laser processing device 10 includes a laser oscillator 11, an external optical system 12 guiding a light output from the laser oscillator 11 to apply the light to a surface of a workpiece, a numerical control device 13 controlling the entire laser processing device 10, and a drive controller 14 controlling driving of the laser processing device 10. The laser oscillator 11 is, for example, a fiber laser oscillator with a wavelength from 1060 to 1080 nm. The external optical system 12 includes a fiber 20 guiding the light output from the laser oscillator 11, a collimator lens 21 collimating the light output from the fiber 20, a focusing lens 22 focusing the output light, a beam splitter 23 partially reflecting and partially passing the output light or a return light, and a protective window 24 disposed downstream of the focusing lens 22. The drive controller 14 includes an X axis, a Y axis, and a Z axis that move a work table 16, a V axis that moves the position of the focusing lens 22 in the optical axis direction, an S axis and a T axis that move the protective window 24 in directions orthogonal to the optical axis of the output light, and components such as servo motors and controllers that drive the axes.

(11) The laser processing device 10 further includes a return light measurement unit 15 measuring the intensity distribution of the return light reflected from a workpiece W and returning to the external optical system 12 via the beam splitter 23 during laser processing. The beam splitter 23 is disposed inside a linear processing head 25 between the focusing lens 22 and the protective window 24 at an angle of 45 with respect to the optical axis. As there is no optical part other than the beam splitter 23 between the protective window 24 and the return light measurement unit 15, contamination of the protective window 24 can be accurately detected. The return light measurement unit 15 is disposed at a position forming an angle of 90 with the optical path of the output light in the forward direction, and includes a plurality of sensor elements (e.g., photoelectric elements, etc.) arranged two-dimensionally, a plurality of sensor elements (e.g., thermocouples, etc.) arranged concentrically, or a component such as a CCD camera or a CMOS camera.

(12) FIG. 2A illustrates longitudinal sections of output lights, FIG. 2B illustrates plan views of return lights, and FIG. 2C illustrates enlarged views of the return lights during piercing, cutting, and welding. During piercing, in the intensity distribution of the return light, the intensity is high at around an optical axis O and decreases toward the periphery of the optical axis O. During cutting, only the light reflected from a cut portion C of the workpiece W constitutes the return light, and thus the intensity distribution of the return light is substantially crescent. During welding, only the light reflected from a melted portion M of the workpiece W constitutes the return light. Thus, the intensity distribution of the return light includes glittering low intensity portions L caused by scattered light and always changes without being stable. In this manner, the intensity distribution of the return light changes depending on the types of laser processing even when the protective window 24 is in normal condition.

(13) FIGS. 3A and 3B illustrate plan views illustrating normal patterns and abnormal patterns representing the intensity, distribution of the return lights during piercing, cutting, and welding. In a case where contamination of the protective window exists, high intensity portions H sparsely appear around the optical axis O. During piercing, the return light has substantially one normal pattern of the intensity distribution, and contamination of the protective window 24 can be detected by simply subtracting the normal pattern data from the return light measurement data. During cutting, although the number of normal patterns of the intensity distribution of the return light increases depending on the cutting direction; contamination of the protective window 24 can be detected by subtracting the normal pattern corresponding to the cutting direction during processing from the return light measurement data. However, during welding, the positions, the sizes, and the number of low intensity portions L caused by scattered light always change, and there is no normal pattern during processing. Thus, contamination of the protective window 24 cannot be detected by the above-described subtraction processing. To solve this, the laser processing device according to the present embodiment detects abnormality in the protective window 24 by pattern recognition (machine learning) using the normal patterns and the abnormal patterns without depending on the types of laser processing.

(14) Specifically, a linear discriminant function u (i.e., equation of a straight line) for discriminating contamination of the protective window 24 is defined as follows, where x.sub.1 is the number of sensor elements detecting intensity of the return light higher than a predetermined intensity in a set P.sub.1 of sensor elements surrounding the optical axis O, x.sub.2 is the number of sensor elements detecting intensity of the return light higher than a predetermined intensity in a set P.sub.2 of sensor elements surrounding the set P.sub.1 of the sensor elements, w.sub.1 and w.sub.2 are weights for x.sub.1 and x.sub.2, respectively, and w.sub.0 is a bias (hereinafter, w.sub.0, w.sub.1, and w.sub.2 are simply referred to as weights).
u=w.sub.0+w.sub.1x.sub.1+w.sub.2x.sub.2

(15) When the discriminant function u>0, it can be determined that contamination of the protective window 24 exists, and when the discriminant function u<0, it can be determined that contamination of the protective window 24 does not exist. To determine the parameters w.sub.0, w.sub.1, and w.sub.2 (i.e., weights) of the discriminant function, (1) a random value is set to each of w.sub.0, w.sub.1, and w.sub.2, (2) x.sub.1 and x.sub.2 are input using at least one of the normal pattern data and the abnormal pattern data as teaching data, (3) when the output is not correct (i.e., when it is determined that contamination exists although a normal pattern is read or when it is determined that contamination does not exist although an abnormal pattern is read), the values of the weights are updated in the correct direction, and (4) when there is an update, the steps (1) to (3) are repeated to perform learning. The learning ends when correct outputs are made for all the teaching data. A known gradient descent and the like can be used for the process of updating the values of the weights, and a weight update expression, for example, is defined as follows.

(16) w i w i + ptx i 0 < p < 1 ( LEARNING RATE ) t = { 1 ( WITH CONTAMINATION ) - 1 ( WITHOUT CONTAMINATION )

(17) As the intensity distribution of the return light decreases with increasing distance from the optical axis O, contamination of the protective window 24 can be detected more easily with increasing distance from the optical axis O. Thus, it is highly probable that the weights determined by learning satisfy w.sub.1<w.sub.2. The discriminant function u is generated by the above-described learning. In a case where the return light measurement unit 15 is a camera, the number of sensor elements increases, and thus the discriminant function u is defined as follows.
u=w.sub.0+w.sub.1x.sub.1+w.sub.2x.sub.2 . . . +w.sub.1x.sub.1

(18) Moreover, in a case where the return light measurement unit 15 includes a plurality of sensor elements (e.g., thermocouples, etc.) arranged concentrically, the sets P.sub.1 and P.sub.2 of the sensor elements are both one, and thus each of the values of x.sub.1 and x.sub.2 is 0 or 1.

(19) FIG. 4 is a block diagram illustrating the configuration of the numerical control device according to the present embodiment. The numerical control device 13 includes a storage unit 30 including a RAM, a ROM, a nonvolatile memory, or the like storing various data, a processing unit 31 including CPUs, ASICs, FPGAs, or the like, and a warning unit 32 including a display panel, a speaker, an output interface, and the like. The storage unit 30, the processing unit 31, and the warning unit 32 are connected with each other by buses or the like. The processing unit 31 performs the process of detecting contamination of the protective window 24 during laser processing, and the warning unit 32 warns of contamination of the protective window 24 in accordance with the process by the processing unit 31.

(20) The storage unit 30 prestores at least one of the normal pattern data representing the intensity distribution of the return light when the protective window 24 is in normal condition and the abnormal pattern data representing the intensity distribution of the return light from the workpiece when the protective window is contaminated. In addition, the storage unit 30 stores return light measurement data representing the intensity distribution of the return light measured by the return light measurement unit 15.

(21) The components of the processing unit 31 are implemented by program modules executed by CPUs or integrated circuits including ASICs, FPGAs, or the like. As described above, the processing unit 31 includes a discriminant function generating section 40 generating the discriminant function u for discriminating contamination of the protective window 24 using at least one of the normal pattern data and the abnormal pattern data as the teaching data. The processing unit 31 further includes a drive commanding section 41 issuing commands for the drive controller 14 to move the optical axis of the output light onto the workpiece W in accordance with processing conditions and an output commanding section 42 issuing commands for the laser oscillator 11 to output the laser beam in accordance with the processing conditions.

(22) The processing unit 31 further includes a contamination detecting section 43 detecting contamination of the protective window 24 based on the return light measurement data measured by the return light measurement unit 15 and at least one of the normal pattern data and the abnormal pattern data. The contamination detecting section 43 may detect contamination of the protective window 24 by determining the difference between the return light measurement data and at least one of the normal pattern data and the abnormal pattern data, and preferably detects contamination of the protective window 24 based on the return light measurement data and the discriminant function u generated by the discriminant function generating section 40 (i.e., by pattern recognition).

(23) The processing unit 31 may further include a first warning commanding section 44 issuing commands for the warning unit 32 to warn of contamination of the protective window 24 and an abnormal pattern storage commanding section 45 issuing commands for the storage unit 30 to store the return light measurement data as an abnormal pattern when contamination of the protective window 24 is detected.

(24) The processing unit 31 may further include a window position adjustment amount calculating section 46 calculating the amount of position adjustment for adjusting the position of the protective window 24 when contamination of the protective window 24 is detected and a window position adjustment commanding section 47 issuing commands for the drive controller 14 to move the protective window 24 based on the amount of position adjustment. The processing unit 31 may further include a second warning commanding section 48 issuing commands for the warning unit 32 to warn that excessive contamination of the protective window 24 exists when contamination of the protective window 24 is still detected after the position adjustment of the protective window 24.

(25) The processing unit 31 may further include a discriminant function updating section 49 updating the parameters (i.e., the above-described weights) of the discriminant function u when contamination of the protective window 24 detected by the contamination detecting section 43 does not exist. That is, the discriminant function updating section 49 reads the return light measurement data when contamination of the protective window 24 is detected by the contamination detecting section 43 as a normal pattern, and updates the parameters of the discriminant function u.

(26) FIG. 5 is a flowchart illustrating operations of the laser processing device 10 according to the present embodiment. When the process of identifying contamination of the protective window 24 is started during laser processing, the discriminant function u is generated from at least one of the normal pattern data and the abnormal pattern data in Step S10. In Step S11, a command is issued for the drive controller 14 to move the optical axis onto the workpiece W in accordance with processing conditions. In Step S12, a command is issued for the laser oscillator to output a laser beam in accordance with the processing conditions.

(27) In Step S13, contamination of the protective window 24 is detected based on the return light measurement data and the discriminant function u. In Step S14, when contamination of the protective window 24 is not detected (NO in Step S14), the process returns to Step S10, and the laser processing is continued. On the other hand, when contamination of the protective window 24 is detected in Step S14 (YES in Step S14), it is determined whether it is the second time in Step S15 (NO in Step S15), and a command is issued for the warning unit 32 to warn of contamination of the protective window 24 without stopping the laser processing in Step S16. In Step S17, a command is issued for the storage 30 to store the return light measurement data when contamination of the protective window 24 is detected as an abnormal pattern.

(28) In Step S18, the amount of position adjustment for adjusting the position of the protective window 24 is calculated such that contamination of the protective window 24 lies outside the area of the output light. In Step S19, a command is issued for the drive controller 14 to adjust the position of the protective window 24. To confirm the position of the protective window 24 is correctly adjusted, the process returns to Step S10, and the process of detecting contamination of the protective window 24 is repeated.

(29) In Step S10, the discriminant function u is again generated from at least one of the normal pattern data and the abnormal pattern data. In a case where the abnormal pattern is stored in Step S17, the abnormal pattern is necessary for updating the discriminant function u in Step S10. When contamination of the protective window 24 is still detected after the position adjustment of the protective window 24 in Step S14 (YES in Step S14), it is determined as the second time in Step S15 (YES in Step S15). Thus, the laser processing is stopped, and a command is issued for the warning unit 32 to warn of excessive contamination of the protective window 24. When an operator checks the protective window 24 and finds excessive contamination in Step S21 (YES in Step S21), the operator cleans or replaces the protective window 24.

(30) On the other hand, when the operator checks the protective window 24 and does not find any excessive contamination in Step S21 (NO in Step S21), the parameters of the discriminant function u are updated in Step S23. Repetition of the above-described learning allows contamination of the protective window 24 to be accurately warned of even during laser processing in which the intensity distribution of the return light is unstable. Consequently, the automatic operation can be continued without a large amount of processing defects. In addition, successful correction allows the maintenance period of the protective window 24 to be extended.

(31) A program that can be executed by a computer in the above-described embodiment can be provided having been recorded in a computer-readable non-transitory recording medium, a CD-ROM, or the like. Although some embodiments have been described in this specification, the present invention is not intended to be limited to the above-described embodiments, and it is to be understood that many changes can be made without departing from the scope of the appended claims.