Disclosure of Invention
When the applicant carries out two-dimensional code laser marking on a metal workpiece, the temperature of marking areas of the same metal workpiece is different due to the fact that the metal workpiece is just taken out from a die casting die, and the cooling speeds of all areas are different, so that two-dimensional codes with different depths appear during laser marking, and the two-dimensional codes with different depths are difficult to identify.
In view of the above-mentioned part of defects in the prior art, the technical problem to be solved by the invention is to provide a two-dimension code marking method and a two-dimension code marking system for an optical fiber laser assembly line, which aim to make two-dimension code marking uniform and ensure two-dimension code identification accuracy.
In order to achieve the above object, a first aspect of the present invention provides a two-dimensional code marking method for a fiber laser pipeline, the method comprising:
Taking out a workpiece from a die casting die through a manipulator and transporting the workpiece to a two-dimensional code marking position, wherein the workpiece comprises a marking area corresponding to the two-dimensional code marking position, and the marking area comprises marking subareas divided by the size of pixel points of the two-dimensional code;
Controlling an infrared thermometer to acquire the temperature of each marking subarea respectively, and selecting the highest temperature in each marking subarea as a standard temperature;
According to the standard temperature, the fiber laser is controlled to preheat each marking subarea with a first power so that the temperature difference between each marking subarea does not exceed the standard temperature difference, wherein the laser with the first power only heats the marking subarea and does not melt the marking subarea;
And after the preheating is finished, controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with second power according to the standard temperature, wherein the higher the standard temperature is, the lower the second power is, and the second power is larger than the first power.
Optionally, the method further comprises:
and controlling the fan to blow the two-dimensional code marking position, and removing water vapor generated by cooling the die-casting die.
Optionally, the method further comprises:
And controlling a movable air conditioner to cool the fiber laser in response to the temperature of the fiber laser reaching an extreme temperature, wherein the extreme temperature is obtained according to the overheat shutdown temperature of the fiber laser.
Optionally, after controlling the fiber laser to preheat each marking subarea with a first power according to the standard temperature so that a temperature difference between each marking subarea does not exceed a standard temperature difference, the method further includes:
And carrying out heat preservation treatment on the marking areas so that the temperature change of each preheated marking area is lower than a preset change range.
Optionally, the controlling the fiber laser to preheat each marking subarea with a first power according to the standard temperature includes:
obtaining the first power of the fiber laser and the preheating time of each marking subarea according to the standard temperature and the temperature difference value of each marking subarea;
and controlling the fiber laser to preheat the corresponding preheating time of each marking subarea with the first power.
Optionally, controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with the second power according to the standard temperature includes:
Obtaining the second power of the fiber laser according to the standard temperature;
And controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with the second power, wherein the marking sequence of the fiber laser on each marking subarea is the same as the preheating sequence.
Optionally, the two-dimensional code corresponds to a storage space, and the storage space receives and stores each process flow information of the workpiece after marking.
The invention discloses a two-dimension code marking system of an optical fiber laser assembly line, which comprises a manipulator, an infrared thermometer, an optical fiber laser and a main control MCU, wherein the infrared thermometer and the optical fiber laser are arranged opposite to two-dimension code marking positions;
the manipulator is used for transporting workpieces;
the infrared thermometer is used for collecting the regional temperature of the workpiece;
the optical fiber laser is used for preheating and marking the workpiece;
the main control MCU comprises a transportation unit, a temperature acquisition unit, a standard temperature selection unit, a laser preheating unit and a laser marking unit;
The conveying unit is used for taking out a workpiece from the die-casting die through a mechanical arm and conveying the workpiece to a two-dimensional code marking position, wherein the workpiece comprises a marking area corresponding to the two-dimensional code marking position, and the marking area comprises marking subareas divided according to the pixel point size of the two-dimensional code;
the temperature acquisition unit is used for controlling the infrared thermometer to acquire the temperature of each marking subarea respectively;
The standard temperature selecting unit is used for selecting the highest temperature in each marking subarea as the standard temperature;
the laser preheating unit is used for controlling the fiber laser to preheat each marking subarea with a first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed the standard temperature difference, wherein the laser with the first power only heats the marking subarea and does not melt the marking subarea;
And the laser marking unit is used for controlling the fiber laser to mark the marking area of the workpiece with a second power according to the standard temperature after the preheating is finished, wherein the higher the standard temperature is, the lower the second power is, and the second power is larger than the first power.
Optionally, the system further comprises a fan, wherein the fan is connected with the main control MCU, and the main control MCU further comprises a fan control unit;
the fan control unit is used for controlling the fan to blow the two-dimensional code marking position, and removing water vapor generated by cooling the die-casting die.
Optionally, the system further comprises:
The mobile air conditioner is connected with the optical fiber laser, and is in communication connection with the main control MCU, and the main control MCU further comprises a cooling control unit;
the cooling control unit is used for controlling the movable air conditioner to cool the fiber laser in response to the temperature of the fiber laser reaching an extreme value, wherein the extreme value is obtained according to the overheat shutdown temperature of the fiber laser.
Optionally, the system further comprises a thermal insulation mechanism;
And the heat preservation is used for carrying out heat preservation treatment on the marking areas after the laser preheating unit works, so that the temperature change of each preheated marking area is lower than a preset change range.
Optionally, the laser preheating unit specifically comprises a power and time obtaining subunit and a preheating subunit;
The power and time obtaining subunit is configured to obtain, according to the standard temperature and a temperature difference value of each marking sub-area, the first power of the fiber laser and a preheating time for each marking sub-area;
And the preheating subunit is used for controlling the fiber laser to preheat the corresponding preheating time of each marking subarea with the first power.
Optionally, the laser marking unit specifically comprises a second power obtaining subunit and a marking subunit;
the second power obtaining subunit is configured to obtain the second power of the fiber laser according to the standard temperature;
The marking subunit is used for controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with the second power, wherein the marking sequence of the fiber laser on each marking subunit is the same as the preheating sequence.
The method has the advantages that 1, a workpiece is taken out of a die casting die through a mechanical arm and conveyed to a two-dimensional code marking position, an infrared thermometer is controlled to collect the temperature of each marking subarea respectively, the highest temperature in each marking subarea is selected as a standard temperature, an optical fiber laser is controlled to preheat each marking subarea with first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed a standard temperature difference, and after preheating is finished, the optical fiber laser is controlled to mark the marking area of the workpiece with second power according to the standard temperature. Compared with the prior art, the marking method has the advantages that the temperature difference of each marking area is reduced by preheating each marking area, and then the two-dimensional code marking is performed, so that the uniformity of the depth of the marked two-dimensional code is ensured, and the accuracy of the two-dimensional code identification is improved. 2. Compared with the prior art, the method and the device preheat the marking subarea, so that the marking subarea has higher temperature and is easier to be vaporized or melted by laser, and therefore, the marking can be performed by adopting laser with lower power than the prior art, and the energy waste is reduced. 3. Compared with a common carbon dioxide laser, the optical fiber laser has higher photoelectric conversion rate, stronger cutting capability and lower maintenance cost. 2. According to the invention, the workpiece is marked after the die-casting die is taken out, so that the marked two-dimensional code can be used for generating a storage space in advance for immediately storing workpiece process flow information of the subsequent step, the method can be applied to a die-casting machine without a memory storage function, and the problem of data hysteresis is solved. 3. The invention controls the fan to blow the two-dimensional code marking position, and removes water vapor generated by cooling the die-casting die. By blowing away the water vapor, the light emitting effect of the water vapor on the fiber laser is avoided, so that the fiber laser cannot work normally. 4. In the invention, the movable air conditioner is controlled to cool the fiber laser in response to the temperature of the fiber laser reaching the extreme temperature. The problem that the heat of the optical fiber laser machine can not be dissipated, overheat protection shutdown is frequently caused, and the product is deformed due to overheat drift is avoided. 5. After the preheating is finished, the marking areas are subjected to heat preservation treatment, so that the temperature change of each marking area after the preheating is lower than a preset change range. The problem that the temperature change of the marking subarea is overlarge in the marking process can be effectively solved. 6. The marking sequence of the fiber laser of the invention for each marking subarea is the same as the preheating sequence. According to the principle that the temperature drop curves of the workpieces are consistent, the temperature difference is kept to be minimum when marking is carried out on each marking subarea. The two-dimensional code is more uniform. In conclusion, the marking sub-area in the marking area is preheated and then marked, so that the two-dimensional code marking is uniform, and the two-dimensional code identification accuracy is ensured.
Detailed Description
The invention discloses a two-dimensional code marking method and a two-dimensional code marking system for an optical fiber laser assembly line, and a person skilled in the art can refer to the content of the text and properly improve the technical details. It is expressly noted that all such similar substitutions and modifications will be apparent to those skilled in the art, and are deemed to be included in the present invention. While the methods and applications of this invention have been described in terms of preferred embodiments, it will be apparent to those skilled in the relevant art that variations and modifications can be made in the methods and applications described herein, and in the practice and application of the techniques of this invention, without departing from the spirit or scope of the invention.
The applicant researches show that the existing technology for performing two-dimensional code laser marking on the metal workpiece has the following defects that the metal workpiece is just taken out of the die casting die, and the temperature of the marking area of the same metal workpiece is different due to different cooling speeds of the thickness or the sequence of the die taking out. And laser marking can adopt laser with uniform power to mark the whole marking area, so that temperature difference existing in the laser marking area is ignored, and the vaporization or melting depth of each part in the marking area is inconsistent, and the marked two-dimensional code is difficult to identify.
Accordingly, in a first aspect of the present invention, a method for marking a two-dimensional code on a fiber laser pipeline is disclosed, as shown in fig. 1, the method includes:
And S101, taking out the workpiece from the die-casting die through a manipulator, and transporting the workpiece to a two-dimensional code marking position.
The workpiece comprises a marking area corresponding to the marking position of the two-dimensional code, and the marking area comprises marking subareas divided by the pixel size of the two-dimensional code.
The two-dimensional code can be used for storing workpiece specification information, machining information and the like.
The manipulator of the embodiment of the invention takes out the workpiece from the die-casting die and performs marking operation before other technological processes are performed. And the storage space of the two-dimensional code can be used for directly storing the information of the subsequent process flow, the die casting machine is not required to store the information in a memory mode, and then the information is transmitted to the storage space of the two-dimensional code, so that the method is applicable to the die casting machine without a memory function, and the problem of data lag is solved.
It should be noted that, in the embodiment of the present invention, the marking area is divided into a plurality of marking sub-areas according to the size of the pixel points of the two-dimensional code. The optical fiber laser preheating and marking can be guaranteed to work by taking the pixel points as units, so that the condition that the same pixel point is uneven in two-dimension code due to temperature difference of the same pixel point during marking is avoided, and the recognition rate is reduced.
And S102, controlling an infrared thermometer to acquire the temperature of each marking subarea respectively, and selecting the highest temperature in each marking subarea as a standard temperature.
It should be noted that the infrared thermometer and the fiber laser are arranged on the same side of the two-dimensional code marking position and face the two-dimensional code marking position.
And step 103, controlling the fiber laser to preheat each marking subarea with a first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed the standard temperature difference.
Wherein the laser of the first power only heats the marking sub-area and does not melt the marking sub-area.
It should be noted that, preheat each marking subregion's purpose is in order to guarantee that the difference in temperature of each position is little even not have the difference in temperature in the marking region, when guaranteeing to beat the mark in the next step, can beat the two-dimensional code more even. The standard temperature difference is obtained through multiple experiments, and the ideal value of the standard temperature difference is 0.
It is worth mentioning that the preheating of each marking subarea needs to be performed according to the standard temperature and the temperature drop curve of the workpiece, so that after each other marking subarea is preheated, the temperature of the marking subarea corresponding to the standard temperature drops to the temperature difference with the other marking subareas to be kept within the standard temperature difference. The preheating does not necessarily heat each marking sub-area to the standard temperature, but also considers the temperature drop curve of the workpiece, so that energy can be effectively saved.
Optionally, controlling the fiber laser to preheat each marking sub-area with the first power according to the standard temperature includes:
Obtaining the first power of the fiber laser and the preheating time of each marking subarea according to the standard temperature and the temperature difference value of each marking subarea;
And controlling the fiber laser to preheat each marking subarea with a first power for corresponding preheating time.
It should be noted that, adopt first power to carry out the heating of different time to the subregion of marking of difference for the difference in temperature of each subregion of marking is not greater than standard difference in temperature, compares and preheats with adopting different powers, and is easier to realize, and can not lead to its life to reduce because of frequently changing the power of fiber laser.
Optionally, after controlling the fiber laser to preheat each marking subarea with the first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed the standard temperature difference, the method further includes:
And carrying out heat preservation treatment on the marking areas so that the temperature change of each preheated marking area is lower than a preset change range.
It should be noted that, the heat preservation treatment is performed on the marking area, so that the temperature of the marking area can be kept to be changed to a lower degree during marking, and the marking is more uniform. The heat preservation device is arranged on the manipulator.
And step S104, after the preheating is finished, controlling the fiber laser to perform two-dimension code marking on the marking area of the workpiece at the second power according to the standard temperature.
Wherein the higher the standard temperature, the lower the second power, and the second power is greater than the first power. The second power is used for marking, the first power is used for preheating, and the preheating is insufficient for melting or vaporizing the surface of the workpiece, so the second power is larger than the first power.
Because the marking area is preheated in step S103, the embodiment of the invention can melt or vaporize the marking area, and compared with the prior art, lower-power laser can be adopted, thereby reducing energy waste.
Optionally, controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with the second power according to the standard temperature includes:
obtaining a second power of the fiber laser according to the standard temperature;
And controlling the fiber laser to perform two-dimensional code marking on the marking area of the workpiece with the second power, wherein the marking sequence of the fiber laser on each marking sub-area is the same as the preheating sequence.
It should be noted that, the marking sequence of the fiber laser of the present invention for each marking sub-region is the same as the preheating sequence. The preheating and marking time intervals of each marking subarea are consistent, and the same workpiece material is consistent, so that the temperature drop of the same time interval is the same, and the temperature difference is kept to be minimum when each marking subarea is marked. The two-dimensional code is more uniform.
Optionally, the method further comprises:
The control fan blows to the two-dimensional code marking position, and vapor generated by cooling the die casting die is removed.
The blowing direction of the fan is perpendicular to the connecting line direction of the two-dimensional code marking position and the optical fiber laser.
It is worth mentioning that the air outlet of the fan is located in the marking environment, and water vapor generated by cooling the die casting mold exists in the environment. The air inlet of the fan is in another independent environment, the environment is dry and the humidity is controllable, and the air blown by the fan is ensured not to carry water vapor.
It should be noted that, by blowing away the water vapor, the embodiment of the invention avoids the light emitting effect of the water vapor on the fiber laser, which causes that the fiber laser cannot work normally.
Optionally, the method further comprises:
And controlling the movable air conditioner to cool the fiber laser in response to the temperature of the fiber laser reaching an extreme temperature, wherein the extreme temperature is obtained according to the overheat shutdown temperature of the fiber laser. The extremum temperature is typically no more than 40 ℃.
It should be noted that, the embodiment of the invention avoids the situation that the heat of the machine station of the fiber laser machine cannot be dissipated, overheat protection shutdown is frequently generated, and overheat drift is generated to cause deformation of the punched product.
Optionally, the two-dimensional code corresponds to a storage space, and the storage space receives and stores each process flow information of the workpiece after marking.
Based on the two-dimensional code marking method of the optical fiber laser assembly line disclosed by the invention, the embodiment of the invention also discloses an optical fiber laser assembly line two-dimensional code marking system corresponding to the two-dimensional code marking system, wherein the system comprises a manipulator, an infrared thermometer, an optical fiber laser and a main control MCU, wherein the infrared thermometer and the optical fiber laser are arranged opposite to two-dimensional code marking positions;
The manipulator is used for transporting the workpiece;
The infrared thermometer is used for collecting the regional temperature of the workpiece;
The optical fiber laser is used for preheating and marking the workpiece;
The main control MCU comprises a transportation unit 201, a temperature acquisition unit 202, a standard temperature selection unit 203, a laser preheating unit 204 and a laser marking unit 205 as shown in fig. 2;
A transporting unit 201, configured to take out a workpiece from a die-casting die by using a manipulator, and transport the workpiece to a two-dimensional code marking position, where the workpiece includes a marking area corresponding to the two-dimensional code marking position, and the marking area includes marking sub-areas divided by the size of pixels of the two-dimensional code;
the temperature acquisition unit 202 is used for controlling the infrared thermometer to acquire the temperature of each marking subarea respectively;
a standard temperature selecting unit 203, configured to select a highest temperature in each marking sub-area as a standard temperature;
the laser preheating unit 204 is used for controlling the fiber laser to preheat each marking subarea with a first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed the standard temperature difference, wherein the laser with the first power only heats the marking subarea and does not melt the marking subarea;
and the laser marking unit 205 is used for controlling the fiber laser to mark the marking area of the workpiece with the second power according to the standard temperature after the preheating is completed, wherein the higher the standard temperature is, the lower the second power is, and the second power is larger than the first power.
Optionally, the system further comprises a fan connected with the main control MCU, and the main control MCU further comprises a fan control unit;
The fan control unit is used for controlling the fan to blow the two-dimensional code marking position and removing water vapor generated by cooling the die-casting die.
Optionally, the system further comprises:
The movable air conditioner is connected with the optical fiber laser and is in communication connection with the main control MCU, and the main control MCU further comprises a cooling control unit;
And the cooling control unit is used for controlling the movable air conditioner to cool the fiber laser in response to the temperature of the fiber laser reaching the extreme temperature, wherein the extreme temperature is obtained according to the overheat shutdown temperature of the fiber laser.
Optionally, the system further comprises a heat preservation mechanism;
the heat preservation is used for carrying out heat preservation treatment on the marking areas after the laser preheating unit 204 works, so that the temperature change of each marking area after the preheating is lower than a preset change range.
Optionally, the laser preheating unit 204 specifically includes a power and time obtaining subunit and a preheating subunit;
The power and time obtaining subunit is used for obtaining the first power of the fiber laser and the preheating time of each marking subarea according to the standard temperature and the temperature difference value of each marking subarea;
and the preheating subunit is used for controlling the fiber laser to preheat each marking subarea with a corresponding preheating time at a first power.
Optionally, the laser marking unit 205 specifically includes a second power obtaining subunit and a marking subunit;
A second power obtaining subunit, configured to obtain a second power of the fiber laser according to the standard temperature;
And the marking subunit is used for controlling the fiber laser to mark the marking area of the workpiece with the two-dimensional code, wherein the marking sequence of the fiber laser to each marking subarea is the same as the preheating sequence.
Optionally, the two-dimensional code corresponds to a storage space, and the storage space receives and stores each process flow information of the workpiece after marking.
The method comprises the steps of taking out a workpiece from a die casting die through a mechanical arm and transporting the workpiece to a two-dimensional code marking position, controlling an infrared thermometer to respectively collect the temperature of each marking subarea, selecting the highest temperature in each marking subarea as a standard temperature, controlling an optical fiber laser to preheat each marking subarea with first power according to the standard temperature so that the temperature difference between each marking subarea does not exceed a standard temperature difference, and controlling the optical fiber laser to mark the marking area of the workpiece with second power according to the standard temperature after preheating is finished. Compared with the prior art, the method has the advantages that the temperature difference of each marking area is reduced by preheating each marking area, and then the two-dimensional code marking is performed, so that the uniformity of the depth of the two-dimensional code is ensured, and the accuracy of the two-dimensional code identification is improved. 2. Compared with the prior art, the embodiment of the invention preheats the marking subarea, so that the marking subarea has higher temperature and is easier to be vaporized or melted by laser, and therefore, the marking can be performed by adopting laser with lower power than the prior art, and the energy waste is reduced. 3. Compared with a common carbon dioxide laser, the embodiment of the invention has higher photoelectric conversion rate, stronger cutting capability and lower maintenance cost. According to the embodiment of the invention, the workpiece is marked after the die-casting die is taken out, so that the marked two-dimensional code can be used for generating a storage space in advance for immediately storing workpiece process flow information of the subsequent step, the method can be applied to a die-casting machine without a memory storage function, and the problem of data hysteresis is solved. According to the embodiment of the invention, the fan is controlled to blow the two-dimensional code marking position, so that water vapor generated by cooling the die-casting die is removed. By blowing away the water vapor, the light emitting effect of the water vapor on the fiber laser is avoided, so that the fiber laser cannot work normally. In the embodiment of the invention, the movable air conditioner is controlled to cool the fiber laser in response to the temperature of the fiber laser reaching the extreme temperature. The problem that the heat of the optical fiber laser machine can not be dissipated, overheat protection shutdown is frequently caused, and the product is deformed due to overheat drift is avoided. After the preheating is finished, the embodiment of the invention carries out heat preservation treatment on the marking areas so that the temperature change of each marking area after the preheating is lower than the preset change range. The problem that the temperature change of the marking subarea is overlarge in the marking process can be effectively solved. The marking sequence of the fiber laser of the embodiment of the invention for each marking subarea is the same as the preheating sequence. According to the principle that the temperature drop curves of the workpieces are consistent, the temperature difference is kept to be minimum when marking is carried out on each marking subarea. The two-dimensional code is more uniform. In summary, according to the embodiment of the invention, the marking is performed after the marking subareas in the marking area are preheated, so that the two-dimensional code marking is uniform, and the identification accuracy is ensured.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely illustrative of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.