Operation method of laser welding device
By accurately collecting welding material properties and automated inspection, and optimizing welding parameters and paths, the problems of poor adaptability and inaccurate detection of traditional welding equipment are solved, the welding quality and efficiency are improved, and the efficient and intelligent welding process is achieved.
Patent Information
- Application Number
- CN202411334211.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional laser welding equipment is difficult to accurately adapt to the melting point, thermal conductivity and surface reflectivity of different materials, resulting in inaccurate energy control, affecting welding quality and efficiency, and lacking automated surface quality detection, resulting in inconsistent welding and low reliability.
By accurately collecting key attribute parameters of welding materials, selecting suitable laser generators, combining automated shooting and image processing for surface quality detection, intelligent surface treatment and optimized welding path planning, and achieving parameterized and automated welding parameter setting.
Improve the accuracy of energy control during welding, improve welding quality and efficiency, ensure accurate evaluation and treatment of surface quality in the welding area, enhance welding uniformity and stability, reduce dependence on operator experience, and improve The level of automation and intelligence is achieved.
Smart Images

Figure CN119035772A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of laser welding, and in particular to an operating method of a laser welding device. Background Art
[0002] In the field of laser welding, traditional welding methods often face a series of technical difficulties. First, the diversity and complexity of welding materials require welding equipment to adapt to different material properties, including the melting point, thermal conductivity and surface reflectivity of the material. Traditional welding equipment often lacks accurate measurement and adaptation of these parameters, resulting in inaccurate energy control during welding, affecting welding quality and efficiency. Secondly, the surface quality of the workpiece before welding has a direct impact on the welding results. However, existing technologies often rely on manual visual inspection or simple automated equipment to detect the surface of the workpiece before welding. These methods are difficult to accurately identify and evaluate the surface quality of the welding area, such as stains, rust or other surface defects, and thus cannot ensure the reliability and consistency of welding.
[0003] Welding path planning is a key link to ensure welding quality. Traditional welding equipment often lacks accuracy and flexibility in path planning and cannot be optimized according to the specific shape of the workpiece and welding requirements. This will lead to path duplication, overlap or omission during the welding process, affecting the uniformity and stability of welding. The setting of welding parameters is the core of achieving efficient and high-quality welding. Existing welding equipment often needs to rely on the operator's experience and intuition in parameter setting, and lacks accurate data. Summary of the invention
[0004] Based on this, it is necessary for the present invention to provide an operating method of a laser welding device to solve at least one of the above technical problems.
[0005] To achieve the above object, a method for operating a laser welding device comprises the following steps:
[0006] Step S1: collecting material parameters of the welding workpiece to obtain welding workpiece material data and welding position thickness data set; selecting a laser generator type for the welding workpiece according to the welding workpiece material data and the welding position thickness data set to obtain laser generator type data;
[0007] Step S2: photographing the welding point surface of the welding workpiece to obtain a welding point surface image set; performing welding point surface quality inspection on the welding workpiece based on the welding point surface image set to obtain a surface quality assessment result;
[0008] Step S3: performing surface treatment on the welding workpiece according to the surface quality evaluation result to obtain workpiece preparation state data;
[0009] Step S4: Perform three-dimensional modeling on the welding workpiece to obtain a three-dimensional model of the workpiece; perform welding parameter planning on the welding device based on the three-dimensional model of the workpiece according to the workpiece preparation state data to obtain final welding parameters;
[0010] Step S5: planning a welding path for the welding workpiece based on the three-dimensional model of the workpiece to obtain planned welding path data; performing laser welding on the welding workpiece according to the laser generator type data, final welding parameters and planned welding path data.
[0011] The present invention achieves precise adaptability of welding equipment to materials by accurately collecting key attribute parameters of welding materials, such as melting point, thermal conductivity and surface reflectivity, thereby improving the accuracy of energy control during welding and significantly improving welding quality and efficiency. At the same time, by adopting automated shooting and image processing technology for surface quality detection, it effectively replaces the traditional manual detection method, ensuring accurate evaluation and processing of the surface quality of the welding area. In addition, the uniformity and stability of welding are further improved through intelligent surface treatment and optimized welding path planning. Through parameterized and automated welding parameter planning, the dependence on operator experience is reduced, the operation process is simplified, the automation and intelligence level of welding operations is improved, and ultimately the improvement of production efficiency and the reduction of operating costs are achieved, ensuring the welding quality of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:
[0013] Figure 1 A schematic flow chart of steps of an operating method of a laser welding device according to an embodiment is shown.
[0014] Figure 2 A detailed flowchart diagram of step S46 of an embodiment is shown.
[0015] Figure 3 A detailed flow chart of step S5 of an embodiment is shown. DETAILED DESCRIPTION
[0016] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0017] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0018] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0019] To achieve this, please refer to Figures 1 to 3 The present invention provides an operating method of a laser welding device, comprising the following steps:
[0020] Step S1: collecting material parameters of the welding workpiece to obtain welding workpiece material data and welding position thickness data set; selecting a laser generator type for the welding workpiece according to the welding workpiece material data and the welding position thickness data set to obtain laser generator type data;
[0021] Step S2: photographing the welding point surface of the welding workpiece to obtain a welding point surface image set; performing welding point surface quality inspection on the welding workpiece based on the welding point surface image set to obtain a surface quality assessment result;
[0022] Step S3: performing surface treatment on the welding workpiece according to the surface quality evaluation result to obtain workpiece preparation state data;
[0023] Step S4: Perform three-dimensional modeling on the welding workpiece to obtain a three-dimensional model of the workpiece; perform welding parameter planning on the welding device based on the three-dimensional model of the workpiece according to the workpiece preparation state data to obtain final welding parameters;
[0024] Step S5: planning a welding path for the welding workpiece based on the three-dimensional model of the workpiece to obtain planned welding path data; performing laser welding on the welding workpiece according to the laser generator type data, final welding parameters and planned welding path data.
[0025] The present invention achieves precise adaptability of welding equipment to materials by accurately collecting key attribute parameters of welding materials, such as melting point, thermal conductivity and surface reflectivity, thereby improving the accuracy of energy control during welding and significantly improving welding quality and efficiency. At the same time, by adopting automated shooting and image processing technology for surface quality detection, it effectively replaces the traditional manual detection method, ensuring accurate evaluation and processing of the surface quality of the welding area. In addition, the uniformity and stability of welding are further improved through intelligent surface treatment and optimized welding path planning. Through parameterized and automated welding parameter planning, the dependence on operator experience is reduced, the operation process is simplified, the automation and intelligence level of welding operations is improved, and ultimately the improvement of production efficiency and the reduction of operating costs are achieved, ensuring the welding quality of the product.
[0026] In this embodiment, first, a high-precision measuring tool (such as a caliper, an ultrasonic thickness gauge) is used to collect material parameters of the welding workpiece, and the material type, thickness, chemical composition, and mechanical properties are recorded to form a welding workpiece material data and a welding workpiece thickness data set. Next, according to the collected material data and thickness data, refer to the performance parameter manual of the laser generator to select a laser generator suitable for welding specific materials and thicknesses. For example, if the workpiece material is stainless steel and the thickness is large, a high-power fiber laser needs to be selected. Then, a high-resolution industrial camera is used to shoot the surface of the welding point of the welding workpiece to obtain a set of surface images of the welding point. Based on the surface image set of the welding point, the image processing software (such as Halcon, OpenCV) is used to detect the surface quality of the welding point. The software will analyze the type of stains in the image and generate a surface quality evaluation result. According to the surface quality evaluation result, corresponding surface treatment measures such as grinding, cleaning or chemical treatment are taken to eliminate surface defects. After treatment, the surface quality test is performed again until the welding requirements are met, and the preparation state data of the workpiece is recorded. Subsequently, a three-dimensional scanner is used to scan the welding workpiece to obtain the three-dimensional point cloud data of the workpiece. Use 3D modeling software (such as SolidWorks, CATIA) to build a 3D model of the workpiece based on the point cloud data. Finally, based on the 3D model of the workpiece and the workpiece preparation status data, combined with welding process knowledge, use welding process planning software (such as Welding CAD / CAM software) to plan the welding parameters of the welding device. This includes determining the welding current, voltage, and speed parameters to obtain the final welding parameters. After all steps are completed, a complete set of welding parameters will be obtained to guide the actual welding operation.
[0027] Preferably, step S1 comprises the following steps:
[0028] Step S11: collecting material property data of the welding workpiece to obtain material data of the welding workpiece;
[0029] Specifically, the material data of the welding workpiece may be obtained by referring to the material specification sheet or technical data sheet of the welding workpiece.
[0030] Step S12: collecting welding position points of the welding workpiece to obtain welding position point data;
[0031] Specifically, an automated welding robot equipped with a visual recognition system can be used, which can identify welding points on the workpiece. The robot scans the workpiece through a camera that can capture an image of the workpiece surface and use image processing software to identify the location and number of welding points. Then, the robot's control system records the identified welding point location and number data to form a welding position point count data set.
[0032] Step S13: marking the welding position and recording the coordinates of the welding workpiece according to the welding position point data to obtain a welding position coordinate data set, wherein the welding position coordinate data set includes a plurality of welding position coordinate data;
[0033] Specifically, a coordinate measuring machine (CMM) can be used to accurately record the coordinates of each welding position based on the welding position point count data. The coordinate measuring machine measures the three-dimensional coordinates of each welding position by contact or non-contact method. The measurement results will be input into the computer-aided design (CAD) software, and the software will generate a coordinate data set of the welded workpiece based on the measurement data. At the same time, a marking pen or laser marking machine is used to directly mark the welding position on the workpiece surface. These marks will correspond to the coordinates in the coordinate data set to ensure accurate alignment during welding. After completing the marking and coordinate recording, these data are integrated into the welding position coordinate data set.
[0034] Step S14: measuring the welding position thickness of the welding workpiece according to the welding position coordinate data set to obtain a welding position thickness data set, wherein the welding position thickness data set includes a plurality of welding position thickness data;
[0035] Specifically, an ultrasonic thickness gauge can be used for thickness measurement. An ultrasonic thickness gauge calculates the thickness of a material by emitting ultrasonic pulses to the surface of the material and measuring the time it takes for them to reflect back. First, place the probe of the ultrasonic thickness gauge on the surface of each weld position recorded in the weld position coordinate data set. The probe emits ultrasonic waves and receives the sound waves reflected from the other side of the material. The thickness gauge's built-in calculator calculates the thickness based on the propagation time of the sound waves and the speed of sound in the material. After the measurement is completed, the thickness data for each position is recorded in the weld position thickness data set. This data set will contain the thickness data of several welded workpieces at different weld positions.
[0036] Step S15: Select the laser generator type for the welding workpiece according to the welding workpiece material data and the welding position thickness data set to obtain laser generator type data.
[0037] Specifically, please refer to the sub-steps of step S15 for the detailed implementation process of this embodiment.
[0038] The present invention significantly enhances the adaptability of welding materials by collecting material property data, ensuring that the welding equipment can select the most suitable type of laser generator based on detailed material property information, thereby achieving an efficient and accurate welding process. At the same time, by accurately collecting the number of welding position points and recording the coordinates, the accurate identification of the welding position is ensured, and the accuracy of welding is improved. By comprehensively measuring the thickness of the welding position, key data is provided for the optimization of the welding process, which helps to determine the welding parameters and avoid welding defects such as burn-through or incomplete penetration. By combining the material properties and the thickness data of the welding position to select the type of laser generator, the reasonable distribution and control of energy during the welding process is ensured, and the welding quality is further improved. The entire present invention not only improves the flexibility and reliability of the welding process, but also reduces errors and rework during the welding process.
[0039] Preferably, step S15 comprises the following steps:
[0040] Step S151: determining the thermal optical characteristics of the welding workpiece to obtain a workpiece thermal optical characteristic data set, wherein the workpiece thermal optical characteristic data set includes the welding workpiece melting point data, the welding workpiece thermal conductivity and the welding workpiece surface reflectivity;
[0041] Specifically, a differential scanning calorimeter (DSC) can be used to heat a material sample and record the temperature at which the material changes from solid to liquid, i.e., the melting point. The material sample is tested using a thermal conductivity tester to determine its thermal conductivity at different temperatures. This parameter describes the ability of a material to conduct heat. A laser reflectivity meter is used to test the surface of the material to determine its ability to reflect lasers of a specific wavelength. The measured melting point, thermal conductivity, and surface reflectivity data are input into the thermal analysis software, which will calculate the thermal response of the material during the welding process based on these data. All measured and calculated thermo-optical property data are organized into a workpiece thermo-optical property data set, including melting point data, thermal conductivity, and surface reflectivity.
[0042] A high-precision thermal analyzer is used to measure the melting point of the weld material. This equipment is able to determine the melting point by heating the sample and recording its melting temperature. Next, the thermal conductivity of the weld material is measured using the laser flash method, which calculates the thermal conductivity by measuring the thermal response of the material to the laser pulse. In addition, the reflectivity of the weld surface is measured using a spectroscopic reflectometer, which is able to measure the reflectivity of the material surface at different wavelengths. All of these measurement data will be integrated into the workpiece thermo-optical property data set, which will include the melting point data of the weld, the thermal conductivity of the weld, and the reflectivity of the weld surface.
[0043] Step S152: extracting the maximum value of the welding position thickness data set to obtain the maximum thickness data of the welding workpiece;
[0044] Specifically, the welding position thickness data set can be imported into the data processing software. The data analysis function of the software is used to find and extract the maximum value in the data set, that is, the maximum thickness of the welded workpiece, so as to obtain the maximum thickness data of the welded workpiece.
[0045] Step S153: obtaining a three-dimensional model of the workpiece, and performing a laser-material interaction simulation on the welding workpiece based on the three-dimensional model of the workpiece according to the welding workpiece material data, the workpiece thermal optical property data set, and the welding workpiece maximum thickness data, to obtain a laser-material interaction efficiency set, wherein the laser-material interaction efficiency set includes a plurality of laser-material interaction efficiencies, and the lasers in the laser-material interaction simulation are lasers of different wavelengths;
[0046] Specifically, the three-dimensional model of the workpiece can be exported from the CAD system. The three-dimensional model is imported into laser-material interaction simulation software, such as COMSOL Multiphysics, ANSYS or LS-DYNA, which can simulate the interaction between laser and material and set the boundary conditions and initial conditions of the model. Enter the workpiece thermal optical property data set in the simulation software, including the thermal physical parameters of the material and the absorptivity of lasers of different wavelengths. According to the simulation requirements, set the laser parameters of different wavelengths, including the power, pulse width, wavelength, etc. of the laser. Start the simulation software to simulate the laser-material interaction. The software will calculate the propagation, absorption and conversion process of laser energy in the material. After the simulation is completed, collect the key data in the simulation results, including the absorption efficiency of laser energy, the formation of molten pool and the melting depth of the material. Analyze the collected data to determine the efficiency of the interaction between lasers of different wavelengths and materials. The analysis results are organized into a laser-material interaction efficiency set, which contains the interaction efficiency of lasers of different wavelengths.
[0047] Step S154: calculating the energy density of lasers of different wavelengths for the welding workpiece according to the laser-material interaction efficiency set to obtain an energy density data set, wherein the energy density data set includes a plurality of energy density data;
[0048] Specifically, several representative efficiency values can be selected based on the laser-material interaction efficiency set. Then, the laser energy density is calculated using the formula Where E is the energy density, P is the laser power, and A is the irradiation area of the laser beam on the material surface. According to the wavelength of the laser and the optical characteristics of the welding workpiece, the values of P and A are adjusted, and multiple calculations are performed to obtain the energy density at different wavelengths. These calculation results will be recorded in the energy density data set.
[0049] Step S155: screening the laser wavelength adaptability of the welding workpiece according to the energy density data set to obtain adapted laser wavelength range data;
[0050] Specifically, the energy density data set can be imported into data analysis software, such as Excel, Origin, MATLAB, or Python. These data include laser energy density values at different wavelengths. Create a data table in the software to correspond the energy density value of each wavelength to the characteristic parameters of the welding material. Use the software's charting tools, such as line charts or bar charts, to visualize the energy density values and wavelengths to intuitively observe the changes in energy density at different wavelengths. According to the welding quality standards and efficiency requirements, set performance indicators for evaluating the energy density of each wavelength. These indicators include energy conversion efficiency, welding depth, and welding speed. For the energy density of each wavelength, the above performance indicators are calculated in combination with the parameters in the welding material characteristic database. For example, the welding depth at each wavelength is calculated using the formula as follows: Where D is the welding depth (unit: meter or millimeter), E1 is the energy density of the laser (unit: joule / square centimeter or joule / square meter), which can be calculated from the laser power and the irradiated area, α is the absorptivity of the material to the laser (dimensionless), which is a value between 0 and 1, indicating the efficiency of the material absorbing the laser energy, ρ is the density of the material (unit: kg / cubic meter or gram / cubic centimeter), C is the specific heat capacity of the material (unit: joule / kilogram·degree Celsius or joule / gram·degree Celsius), which indicates the energy required to raise the unit temperature of the unit mass of the material, and v is the welding speed (unit: cm / second or meter / second), that is, the speed at which the laser beam moves on the surface of the material. Based on the calculated performance indicators, the suitability of each wavelength for the welding workpiece is evaluated. You can determine which wavelengths best meet the welding requirements by setting thresholds or using a weighted scoring system. Identify those wavelengths with the best performance indicators, which will be considered the most suitable for the welding workpiece. Record these wavelength ranges in the adapted laser wavelength range data.
[0051] Step S156: Calculate the laser power requirement of the welding workpiece according to the maximum thickness data of the welding workpiece and the adapted laser wavelength range data to obtain the maximum required laser power data, and select the laser generator type for the welding workpiece according to the adapted laser wavelength range data and the maximum required laser power data to obtain the laser generator type data.
[0052] Specifically, you can start the energy calculation software, which is a software that can calculate the laser power requirement based on the physical model, such as COMSOL Multiphysics, ANSYS or other engineering calculation software, and create a new calculation project. According to the material properties of the welding workpiece, enter the relevant thermo-optical parameters, such as absorptivity, reflectivity, melting point and thermal conductivity. Enter the maximum thickness data of the welding workpiece into the software, which will be used to calculate the energy requirement for the interaction between the laser and the material. According to the adapted laser wavelength range data, set the laser wavelength parameters in the software. Establish a physical model in the software to simulate the interaction process between the laser and the welding material. This model should include the propagation of the laser, the absorption of energy and the melting process of the material. Run the calculation function of the software to calculate the laser power required for the welding workpiece according to the established physical model and the input parameters. The software will output the maximum required laser power data. Refer to the laser generator specification manual to find a laser generator that can provide the calculated maximum required laser power. Consider the matching of laser wavelength and power and select the most suitable laser generator type. Record the selected laser generator type in the laser generator type data, including key parameters such as model, power, wavelength, etc.
[0053] The present invention provides a scientific basis for the welding process by accurately analyzing the thermo-optical properties of the welding workpiece, such as melting point, thermal conductivity and surface reflectivity, and ensures a deep understanding of the material reaction. By optimizing the welding thickness processing, with special attention to the welding requirements of the thickest part, the present invention ensures the uniformity and quality of the welding. Through efficient laser-material interaction simulation, combined with the three-dimensional model of the workpiece and the thermo-optical property data, the welding effect of lasers of different wavelengths is predicted, providing data support for the selection of a suitable laser wavelength. The reasonable distribution of energy during the welding process is further ensured by accurate energy density calculation, avoiding welding defects. Through flexible laser wavelength adaptation and accurate laser power requirement calculation, the present invention can determine the laser wavelength range and required power that are most suitable for the welding workpiece, providing precise guidance for the selection of the laser generator. In addition, the optimized laser generator selection ensures the efficient operation of the welding equipment and the consistency of the welding quality. In summary, the present invention improves the adaptability and flexibility of the welding process, and can provide customized welding solutions for welding requirements of different materials and different thicknesses.
[0054] Preferably, step S2 comprises the following steps:
[0055] Step S21: Acquire welding position coordinate data set;
[0056] Specifically, the welding position coordinate data set can be obtained by consulting the database in step S13.
[0057] Step S22: photographing the welding point surface of the welding workpiece according to the welding position coordinate data set to obtain a welding point surface image set, wherein the welding point surface image set includes a plurality of welding point surface images;
[0058] Specifically, the camera can be precisely positioned above each weld point based on the weld position coordinate data set. Then, the camera's focus and exposure settings are adjusted to ensure that a clear and high-contrast weld surface image is captured. After the capture is completed, the image is transferred to a computer and saved as a weld surface image set.
[0059] Step S23: performing welding area recognition and labeling on the welding point surface image set to obtain a welding area labeling image set, wherein the welding area labeling image set includes a plurality of welding area labeling images;
[0060] Specifically, an image processing software can be opened and prepared to import a weld surface image set. An image file is selected from the weld surface image set and imported into the image processing software. An edge detection tool in the image processing software, such as the Canny edge detection algorithm, is used to identify the edge of the weld area in the image. The edge detection algorithm can help find the boundary between the weld area and the non-weld area in the image. If the color contrast between the weld area and the background is obvious, a color segmentation algorithm can be used to identify the weld area. An appropriate color threshold is set to separate the weld area from the background. Combining the results of edge detection and color segmentation, the precise position and shape of the weld area are manually or automatically determined. A bounding box is automatically drawn around the identified weld area. The software's annotation tool is used to annotate the name or number of the weld area on the image. The annotation should be clearly visible and should not affect the observation of the weld area. The annotated image is saved as a new file to retain the original image. The save format can be a lossless compression format, such as PNG or TIFF. The same recognition and annotation operation is performed on each image in the weld surface image set. All annotated images are saved in a folder to obtain a weld area annotated image set.
[0061] Step S24: cropping the non-welding area of the welding area annotated image set to obtain a welding area cropped image set, wherein the welding area cropped image set includes a plurality of welding area cropped images;
[0062] Specifically, the image processing software can be started and the first image in the weld area annotation image set can be loaded. Image processing software: such as Adobe Photoshop, GIMP or professional image processing software, with layer operations, selection tools and cropping functions. Use the software's selection tools (such as the magic wand tool, lasso tool or pen tool) to manually or automatically select non-weld areas in the image. These tools can identify and select areas based on color, brightness or preset parameters. Once the non-weld areas are selected, use the cropping tool or command to remove these areas. The cropping operation should be accurate to the boundary of the weld area to ensure that no important weld area details are lost. Save the cropped image as a new file in a JPEG, PNG or other suitable image format. Perform the same cropping operation on each image in the weld area annotation image set. Save all cropped images in a folder to obtain a weld area cropped image set.
[0063] Step S25: performing a surface quality inspection of the welding point of the welding workpiece based on the cropped image set of the welding area to obtain a surface quality assessment result.
[0064] Specifically, please refer to the sub-steps of step S25 for the detailed implementation process of this embodiment.
[0065] The present invention significantly improves the accuracy of welding point positioning by acquiring welding position coordinate data sets. The targeted image acquisition strategy ensures efficient and high-quality acquisition of welding point surface images, while the intelligent recognition and labeling of welding areas further optimizes the processing flow and improves the accuracy of processing. By cutting out non-welding areas, interference factors are removed and the risk of misjudgment is reduced. At the same time, efficient welding point surface quality assessment can timely discover and deal with potential defects, enhancing the controllability of welding quality.
[0066] Preferably, step S25 comprises the following steps:
[0067] Step S251: optically scan the standard surface texture of the welding workpiece to obtain a reference image of the welding workpiece surface;
[0068] Specifically, an optical scanning device can be used to scan the surface of the welded workpiece for standard surface textures. This device is equipped with a high-resolution camera and light source, which can capture the subtle textures and features of the workpiece surface at different angles. First, place the welded workpiece on a stable platform of the scanning device, and ensure that the workpiece surface is flat and unobstructed. Then, start the scanning device, which will automatically move the camera and light source to scan the workpiece surface in all directions. During the scanning process, the device will capture the image of the workpiece surface and convert it into a digital signal. Finally, these digital signals are processed into a reference image of the welded workpiece surface.
[0069] Step S252: performing stain area identification and marking on the welding area cropped image set according to the welding workpiece surface reference image to obtain a welding area stain marked image set, wherein the welding area stain marked image set includes a plurality of welding area stain marked images;
[0070] Specifically, the reference image of the welded workpiece surface can be analyzed using image processing software and compared with the weld area cropped image set to identify and mark the stain area. First, the images of the welded workpiece surface reference image and the weld area cropped image set are imported into the image processing software. Then, image recognition algorithms, such as threshold segmentation, morphological operations, or machine learning models, are applied to detect and distinguish stains and other surface features in the weld area. The identified stain area will be automatically marked on the image, for example, it can be marked with a border or label of a different color. After processing, these marked images are saved as a weld area stain marked image set.
[0071] Step S253: if the welding area stain mark image set indicates that there is no stain at the to-be-welded position of the welding workpiece, then no need for cleaning is taken as the surface quality assessment result, otherwise, the next step is executed;
[0072] Specifically, the welding area stain mark image set can be checked to determine whether the welding position of the welding workpiece needs to be cleaned. First, each marked image in the image set is carefully checked to confirm whether there is a stain mark. If all images in the image set do not show stain marks, which means that the welding area surface is clean and has no stains, then "no cleaning required" will be recorded as the surface quality assessment result. If any stain marks are found, the next step will be performed.
[0073] Step S254: calculating the stain area of the welding area stain mark image set to obtain a welding area stain area data set, wherein the welding area stain area data set includes a plurality of welding area stain area data;
[0074] Specifically, image analysis software can be used to calculate the area of each stain region in a weld area stain mark image set. First, the weld area stain mark image set is imported into the software, and the software identifies the marked stain regions in the image. Then, the software determines the actual area of the stain by counting the number of pixels in each marked region. This calculation process can be automatically completed using a built-in area measurement tool that can identify marks of a specific color or shape and convert them into actual size units (such as square millimeters or square centimeters). The calculation results will be recorded in the weld area stain area dataset, which will contain the stain area data for each weld area.
[0075] Step S255: performing spectral analysis on the welding workpiece according to the welding area stain mark image set to obtain a welding area stain spectral feature data set, wherein the welding area stain spectral feature data set includes a plurality of welding area stain spectral feature data;
[0076] Specifically, a spectrometer can be used to perform spectral analysis on the stains in the weld area stain mark image set. The spectrometer can identify the chemical composition of the material and determine its chemical properties by analyzing the spectral reflection or absorption characteristics of the stain area. First, place the welded workpiece on the sample stage of the spectrometer to ensure that the stain area is within the measurement range of the spectrometer. Then, start the spectrometer and scan each marked stain area. The spectrometer will record the spectral data of each area, including reflectivity, absorption peaks and other information. These data will be saved in the weld area stain spectral feature data set.
[0077] Step S256: classifying the welding workpiece into stain types according to the welding area stain spectral feature data set to obtain a welding area stain type set, wherein the welding area stain type set includes a plurality of welding area stain types, and the stain type is any one or more of grease stains, rust stains, paint or coating stains, dust stains, corrosive chemical stains, biological stains, and moisture stains;
[0078] Specifically, a database containing spectral features of various stain types can be created. This involves collecting and analyzing spectral data of various stain samples and storing these data in a database as reference standards. In the spectral analysis software, the spectral features of the weld area (weld area stain spectral feature dataset) are compared with the known stain types in the spectral feature database. This can be achieved by calculating the similarity or match between the spectral features, such as using methods such as Euclidean distance or correlation coefficient. Based on the comparison results, the stain type of each weld area is determined. If the spectral feature of a stain has the highest match with a stain type in the database, then the stain is classified as that type. The classification results are recorded in the weld area stain type set. This dataset will contain stain type information for each weld area, such as "Area 1-Grease Stains", "Area 2-Rust Stains", etc.
[0079] Step S257: performing a welding point surface quality inspection on the welding workpiece according to the welding region stain area data set and the welding region stain type set to obtain a surface quality evaluation result.
[0080] Specifically, please refer to the sub-steps of step S257 for the detailed implementation process of this embodiment.
[0081] The present invention establishes a reference image of the welding workpiece surface through standardized surface texture scanning, provides a consistency standard for stain identification and evaluation, and thus improves the accuracy of detection. The precise identification of the stain area and the efficient detection process ensure a thorough analysis of the welding area, while the comprehensive classification of stain types provides data support for the selection of appropriate cleaning strategies. This method not only comprehensively evaluates the surface quality of the welding point and ensures the effectiveness of the cleaning work before welding, but also improves the quality and reliability of the welded joint. In addition, the optimized cleaning and processing strategy reduces unnecessary operations, enhances the automation and intelligence of the production process, and reduces welding defects and rework caused by stains.
[0082] Preferably, step S257 includes the following steps:
[0083] Step S2571: collecting historical welding inspection data of the welding workpiece to obtain a welding stain-result correlation data set, wherein the welding stain-result correlation data set includes a plurality of welding stain-result correlation data;
[0084] Specifically, past welding inspection records can be collected and organized to collect data on the association between welding stains and welding results. First, historical welding inspection reports are exported from the welding quality management system. These reports contain the stain conditions during the welding process and the final welding quality results. Then, a database query language (such as SQL) is used to extract information related to stains, including the location, description, and quality issues after welding. These data are organized into a welding stain-result association dataset, in which each record contains the correspondence between specific stain features and welding results.
[0085] Step S2572: quantifying the stain area of the welding stain-result association data set to obtain a historical stain area data set, wherein the historical stain area data set includes a plurality of historical stain area data;
[0086] Specifically, the stain area in the welding stain-result association dataset can be quantified using data analysis software. First, the stain description information (such as images or text descriptions) in the welding stain-result association dataset is converted into quantifiable data. If the stain area data exists in the form of an image, image processing software can be used to identify the stain edge and calculate its area. For non-digital stain descriptions, the size of the stain needs to be manually measured or estimated. All quantitative data will be recorded in the historical stain area dataset, which will contain the area information of each stain case.
[0087] Step S2573: collecting stain types for the welding stain-result association data set to obtain a historical stain type classification data set, wherein the historical stain type classification data set includes a plurality of historical stain type classification data;
[0088] Specifically, historical welding inspection data can be analyzed to collect the types of welding stains. Use a classification algorithm or a knowledge base based on an expert system to classify stains. For example, the chemical composition, color, morphology and other characteristics of the stains can be analyzed to classify them into grease stains, rust stains, etc. These classification information will be organized into a historical stain type classification data set, in which each record contains the type of stain and related descriptions.
[0089] Step S2574: performing quality anomaly screening on the welding stain-result association data set to obtain a welding quality anomaly case set, wherein the welding quality anomaly case set includes a plurality of welding quality anomaly cases;
[0090] Specifically, historical welding inspection data can be screened to identify cases related to abnormal welding quality. First, define the criteria for abnormal welding quality, such as welding cracks, pores, and incomplete penetration. Then, use data screening tools or write scripts to screen historical data to find all cases that meet the quality abnormality criteria. These cases will be recorded in a welding quality abnormality case set, which will contain detailed information for each abnormal case, including stain characteristics, welding parameters, final welding results, etc.
[0091] Step S2575: performing correlation mapping on the historical stain area data set and the historical stain type classification data set according to the welding quality abnormality case set to obtain a key stain area data set and a key stain type data set, wherein the key stain area data set includes a plurality of key stain area data, and the key stain type data set includes a plurality of key stain type data;
[0092] Specifically, statistical analysis software can be used to perform correlation analysis on the welding quality abnormality case set and the historical stain area data set and the historical stain type classification data set. First, these data sets are imported into statistical analysis software, such as the data analysis library of R or Python. Then, correlation analysis methods, such as the Pearson correlation coefficient or the Spearman rank correlation coefficient, are used to identify the correlation between the stain area and type and the welding quality abnormality. Through analysis, it can be determined which stain area and type are the key factors affecting welding quality. The data of these key factors are sorted into a key stain area data set and a key stain type data set.
[0093] Step S2576: determining the stain type-area threshold of the welding workpiece according to the key stain area data set and the key stain type data set to obtain a stain type-area threshold matrix;
[0094] Specifically, the key stain area dataset and the key stain type dataset can be combined into a data frame to ensure that each stain record contains type and area information. Use data analysis software to create a scatter plot with stain type as the x-axis and stain area as the y-axis. This can intuitively see the area distribution of different types of stains. Perform statistical analysis on each stain type and calculate statistical indicators such as the mean, median, and standard deviation of its area. Combine historical welding quality data and expert experience to set an area threshold for each stain type. For example, if historical data shows that grease stains will affect welding quality when the area exceeds 50 square millimeters, then 50 square millimeters can be set as the area threshold for grease stains. Create a new data table in the data analysis software, namely the stain type-area threshold matrix. The rows of the matrix represent different stain types, and the columns represent area thresholds. Fill the determined thresholds into the matrix.
[0095] Step S2577: Perform multivariate threshold judgment on the welding area stain area data set and the welding area stain type set according to the stain type-area threshold matrix to obtain a surface quality assessment result, wherein the surface quality assessment result includes the surface quality assessment results of each to-be-welded position in the welding workpiece, and the surface quality assessment result is any one or more of requiring cleaning and not requiring cleaning.
[0096] Specifically, the stain type-area threshold matrix can be used to evaluate the surface quality of the welding area. First, the welding area stain area dataset and the welding area stain type set are compared with the threshold matrix. For each welding area, check whether its stain area exceeds the area threshold of the corresponding stain type. If the stain area does not exceed the threshold, the surface quality assessment result of the area is "no need to clean"; if it exceeds the threshold, the assessment result is "need to clean". This process can be completed by writing automated scripts or using data analysis software to achieve fast and accurate assessment. Finally, the assessment results of all welding areas are summarized to form a surface quality assessment result.
[0097] The present invention optimizes the welding process and improves the prediction accuracy of welding quality by effectively utilizing historical welding inspection data. Through quantitative analysis of historical stain areas and comprehensive identification of stain types, the impact of stains on welding quality is accurately evaluated, and a quantitative basis is provided for cleaning work. At the same time, by accurately screening the stain characteristics that cause welding defects, this method provides important information for preventive measures. In addition, by determining key stain characteristics and scientifically setting stain thresholds, the cleaning standards before welding are further optimized. By comprehensively evaluating the stain area and type of the welding area, the surface quality before welding is ensured, and the cleaning work guided by the evaluation results ensures the pertinence and effectiveness of the cleaning measures. .
[0098] Preferably, step S3 comprises the following steps:
[0099] Step S31: if the surface quality assessment result indicates that the welding workpiece does not need to be cleaned, the welding workpiece is marked as not requiring processing, and workpiece preparation state data is obtained;
[0100] Specifically, if the surface quality assessment results show that the surface quality of the welded workpiece meets the welding standards and does not require further cleaning, a marking system is used to mark these workpieces. First, the surface quality assessment results are exported from the quality inspection software and associated with the identification information of the welded workpiece (such as a serial number or barcode). Then, use automated marking equipment, such as a laser marking machine or an inkjet printer, to mark a "no processing required" label at the appropriate location on the workpiece. This label can be text information or a QR code, containing detailed information on the status of the workpiece and the evaluation results. After marking is completed, the preparation status data of the workpiece is updated to the production management system.
[0101] Step S32: if the surface quality assessment result indicates that the welded workpiece needs to be cleaned, then a welding position coordinate data set, a welding area stain area data set and a welding area stain type set are obtained;
[0102] Specifically, if the surface quality assessment results indicate that the welded workpiece needs to be cleaned, the relevant welding position coordinate data set, welding area stain area data set, and welding area stain type set are extracted from the database. These data sets will be used to guide the cleaning operation. First, these data sets are obtained by querying the relevant tables or databases in the production management system. Then, these data sets are associated with the corresponding welding workpiece identification information using a data integration tool.
[0103] Step S33: Screening the welding area stain area data set and the welding area stain type set for cleaning requirements according to the surface quality assessment result to obtain a stain area data set to be cleaned and a stain type data set to be cleaned, wherein the stain area data set to be cleaned and the stain type data set to be cleaned are parameters corresponding to the welding position to be cleaned of the welding workpiece;
[0104] Specifically, the cleaning requirements of the stain area and type of the welding area can be screened based on the surface quality assessment results. First, the surface quality assessment results are compared with the welding area stain area dataset and the welding area stain type dataset. Use data analysis software, such as Excel or professional statistical analysis software, to screen out those welding areas that need to be cleaned. Specifically, the software will screen based on whether the stain area exceeds the set threshold and whether the stain type belongs to the category that needs to be cleaned. The screened data will be organized into a stain area dataset to be cleaned and a stain type dataset to be cleaned, which will clearly indicate which welding positions need to be cleaned and the specific requirements for cleaning.
[0105] Step S34: performing spatial positioning mapping on the welding workpiece based on the welding position coordinate data set and the stain area data set and the stain type data set to be cleaned, to obtain a coordinate set of the area to be cleaned;
[0106] Specifically, computer-aided design (CAD) software and coordinate measuring machines (CMM) can be used to perform spatial positioning mapping of welded workpieces. First, the welding position coordinate data set is imported into the CAD software. These data include the precise location of each welding point on the welded workpiece. Then, combined with the stain area data set to be cleaned and the stain type data set to be cleaned, the CAD software can identify specific areas that need to be cleaned. Through the mapping function of the software, the location of these areas can be intuitively seen on the CAD model. Then, the CMM probe will be positioned on the actual workpiece according to these data to ensure the accuracy of the cleaning operation. After the mapping is completed, the coordinate set of the area to be cleaned is obtained, and these coordinates will be used to guide the automated cleaning equipment or robot to perform the cleaning operation.
[0107] Step S35: determining a cleaning scheme for the welding workpiece according to the stain type data set to be cleaned and the coordinate set of the area to be cleaned, and obtaining a stain cleaning scheme set, wherein the stain cleaning scheme set includes a plurality of stain cleaning schemes;
[0108] Specifically, the cleaning plan can be determined based on the stain type dataset and the coordinate set of the area to be cleaned. First, the stain type dataset is analyzed to determine the most suitable cleaning method for each stain. For example, grease stains need to be cleaned with solvents, while rust stains need grinding or chemical treatment. Then, combined with the coordinate set of the area to be cleaned, a specific cleaning plan is formulated for each area to be cleaned. These plans will include information such as cleaning methods, types of detergents, and cleaning equipment settings. All cleaning plans will be integrated into a stain cleaning plan set, which will be used to guide actual cleaning operations.
[0109] Step S36: performing precise cleaning operations on the welding workpiece according to the stain cleaning solution set and the coordinate set of the area to be cleaned, and taking the welding workpiece preparation completion state as the workpiece preparation state data.
[0110] Specifically, the welding workpiece can be precisely cleaned according to the stain cleaning scheme set and the coordinate set of the area to be cleaned. First, the cleaning scheme set is imported into the control system of the automated cleaning equipment or robot. The equipment will then automatically navigate to each area to be cleaned according to the coordinate set and execute the corresponding cleaning scheme. For example, if an area requires solvent cleaning, the cleaning robot uses a precisely controlled nozzle to spray the cleaning agent in the area, and then uses a brush or wiper to clean it. After cleaning is completed, the equipment will automatically move to the next area to continue the cleaning operation. Once all areas to be cleaned have been cleaned, the preparation status of the welding workpiece will be updated to "Ready Completed" and this status will be recorded in the workpiece preparation status data.
[0111] The present invention effectively improves the efficiency of welding preparation by directly marking welding workpieces that do not need to be cleaned. At the same time, for workpieces that need to be cleaned, the area and type data of stains are accurately obtained to ensure the pertinence and efficiency of the cleaning work. The optimized cleaning plan formulation and spatial positioning mapping technology enable the cleaning operation to be accurately performed, avoid waste of resources, and significantly improve welding quality and reduce welding defects. The flexibility and adaptability of this solution enable it to cope with various stain conditions and characteristics of welding workpieces, reduce production costs, improve the level of production automation, and ensure the continuity of production, thereby improving the efficiency of the production process and the reliability of welding products as a whole.
[0112] Preferably, step S4 comprises the following steps:
[0113] Step S41: performing a three-dimensional scan on the welding workpiece to obtain point cloud data of the welding workpiece;
[0114] Specifically, a 3D scanner can be used to accurately scan the welded workpiece to obtain the point cloud data of the workpiece. The 3D scanner is equipped with a high-precision optical or laser sensor that can capture the 3D coordinate information of the workpiece surface. First, place the welded workpiece in the working area of the scanner and ensure that the workpiece is stable and can be captured by the scanner at all angles. After starting the scanner, the device will automatically rotate around the workpiece, or the workpiece will be placed on a turntable and rotated to ensure all-round scanning. During the scanning process, the scanner will collect a large amount of point data to form a point cloud on the workpiece surface, and finally obtain the welded workpiece point cloud data.
[0115] Step S42: reconstructing the surface of the welding workpiece point cloud data to obtain a three-dimensional model of the workpiece;
[0116] Specifically, the 3D modeling software can be used to reconstruct the surface of the welding workpiece point cloud data to create a 3D model of the workpiece. First, the welding workpiece point cloud data is imported into the modeling software, such as MeshLab, Autodesk 3ds Max or SolidWorks. Then, the point cloud is processed using the algorithms in the software, including denoising, smoothing and mesh generation, to construct the 3D surface of the workpiece. After the reconstruction is completed, the 3D model of the workpiece will be obtained.
[0117] Step S43: marking the status of the workpiece three-dimensional model according to the workpiece preparation status data to obtain a ready workpiece three-dimensional model;
[0118] Specifically, the status of the three-dimensional model of the workpiece can be marked according to the preparation status data of the workpiece. First, the preparation status data of the workpiece is obtained from the production management system, which includes information such as whether the workpiece has been cleaned and whether the necessary surface treatment has been performed. Then, use the marking tool in the CAD software or the three-dimensional modeling software to add corresponding status marks to the three-dimensional model. For example, if the workpiece needs to be welded in a specific area, color marks or annotations can be added to the area to indicate the location and requirements of the welding. In addition, if certain parts of the workpiece require special attention, such as vulnerable areas or critical structural areas, corresponding marks can also be added to the model. After completing the status marking, a three-dimensional model of a ready workpiece will be obtained.
[0119] Step S44: performing three-dimensional structural modeling on the welding device to obtain a three-dimensional model of the welding device;
[0120] Specifically, 3D modeling software can be used to perform 3D structural modeling of welding devices. First, according to the design drawings or physical measurement data of the welding device, use software such as SolidWorks, AutoCAD or CATIA to create 3D models of the various components of the welding device. These components include the arms, welding guns, workbenches and other auxiliary equipment of the welding robot. By accurately inputting the size and shape information, a detailed model of each component is constructed. Then, the assembly function of the software is used to assemble these components into a complete 3D model of the welding device. After the modeling is completed, a 3D model of the welding device will be obtained.
[0121] Step S45: obtaining a welding position thickness data set and a welding position coordinate data set, and sorting the welding position thickness data set in ascending order to obtain an ascending sequence of welding position thicknesses;
[0122] Specifically, the welding position thickness data set and the welding position coordinate data set can be obtained from the database. These data sets contain the thickness and coordinate information of each welding position of the welded workpiece. Then, the welding position thickness data set is sorted in ascending order using data processing software (such as Excel or professional database management software). During the sorting process, the software will arrange the data from small to large according to the thickness value to generate an ascending sequence of welding position thickness. After the sorting is completed, an ascending sequence of welding position thickness will be obtained.
[0123] Step S46: Based on the ready workpiece 3D model and the welding device 3D model and in accordance with the welding position thickness ascending sequence and the welding position coordinate data set, the welding parameters of the welding device are planned to obtain final welding parameters.
[0124] Specifically, please refer to the sub-steps of step S46 for the detailed implementation process of this embodiment.
[0125] The present invention generates accurate welding workpiece and device models through three-dimensional modeling, laying the foundation for accurate planning of welding parameters. The uniformity and stability of the welding process are further improved by updating the workpiece status in real time and optimizing the welding sequence. This not only improves the welding quality and ensures the real-time and accuracy of the process, but also significantly improves production efficiency by reducing adjustments and rework. At the same time, it enhances the flexibility and adaptability of production, can adapt to welding workpieces of various shapes and sizes, and effectively reduces production costs by reducing material waste and energy consumption.
[0126] Preferably, step S46 includes the following steps:
[0127] Step S461: sorting the welding position coordinate data sets according to the welding position thickness ascending sequence to obtain a welding order coordinate sequence;
[0128] Specifically, the welding position coordinate data set can be sorted according to the ascending sequence of welding position thickness to determine the order of welding. First, prepare two data sets: one is the welding position thickness data set, and the other is the corresponding welding position coordinate data set. These two data sets should have been created and associated through the previous steps. Use data processing software, such as Microsoft Excel or a professional database management system, to process these data. First, merge the thickness data set and the coordinate data set into a single data table, in which each record contains a thickness value and corresponding coordinate information. Then, use the sorting function of the software to sort the merged data table in ascending order according to the thickness value. In this way, the thinnest welding position will be ranked first, and the thickest welding position will be ranked last. The sorting operation will ensure that the welding order coordinate sequence is arranged in order from thin to thick. After the sorting is completed, a welding order coordinate sequence will be obtained.
[0129] Step S462: Obtain laser generator type data;
[0130] Specifically, laser generator type data can be obtained by querying the welding equipment management system or technical documents. These data include key parameters such as the laser generator model, power range, wavelength, etc. Using database query tools such as SQL, or directly accessing the technical manual of the equipment, you can find the laser generator type that matches the current welding task.
[0131] Step S463: calculating the welding current for each to-be-welded position of the welding workpiece according to the laser generator type data and the welding position thickness ascending sequence to obtain a welding current distribution data set, wherein the welding current distribution data set includes a plurality of welding current distribution data;
[0132] Specifically, the welding current of each position to be welded on the welded workpiece can be determined through an accurate calculation process. First, the performance parameters of a specific type of laser generator are obtained from the welding process database, including its maximum power, wavelength, energy distribution, etc. At the same time, the material property data of the welded workpiece, such as absorptivity, thermal conductivity, and melting point, also need to be obtained. Next, the following welding current calculation formula is used: Among them, I represents the welding current, P1 represents the power of the laser generator, V represents the welding speed, and T represents the welding time, which will be adjusted according to the thickness and material properties of the workpiece. First, the required welding speed V and welding time T are estimated by a pre-defined empirical formula based on the thickness of the workpiece. For example, thicker materials require slower welding speeds and longer welding times. Then, these parameters are input into the welding process software, and the software will calculate the theoretical welding current for each welding position based on the input laser generator power P1 and material properties. After completing these calculations, a series of welding current values will be obtained, which will be associated with the corresponding welding position coordinates and form a welding current distribution data set. This data set will contain the welding current distribution data for each welding position to guide the actual welding operation.
[0133] Step S464: drawing a welding current curve for the welding current distribution data set according to the welding sequence coordinate sequence to obtain a preliminary welding current curve;
[0134] Specifically, data visualization software can be used to draw the welding current curve for the welding current distribution data set according to the welding sequence coordinate sequence. First, the welding sequence coordinate sequence and the corresponding welding current value are imported into the software, such as Excel or professional data analysis software. Then, using the chart drawing function of the software, select the appropriate chart type (such as a line chart), use the coordinate sequence as the horizontal axis and the welding current value as the vertical axis, and draw a preliminary welding current curve.
[0135] Step S465: smoothing the preliminary welding current curve to obtain a smoothed welding current curve;
[0136] Specifically, mathematical processing software, such as MATLAB or Python, can be used to apply a smoothing algorithm, such as moving average or Gaussian filtering, to process the preliminary welding current curve. The purpose of smoothing is to eliminate current fluctuations caused by measurement errors or noise in the data acquisition process, thereby obtaining a smooth welding current curve.
[0137] Step S466: Calculate the welding time for each to-be-welded position corresponding to the welding position coordinate data set according to the smoothed welding current curve, the welding position thickness ascending sequence and the welding order coordinate sequence, and obtain a welding time allocation data set, wherein the welding time allocation data set includes a plurality of welding time allocation data;
[0138] Specifically, the smooth welding current curve, the welding position thickness ascending sequence and the welding order coordinate sequence can be imported into the welding process calculation software or spreadsheet program. According to the welding process knowledge, it is known that the welding time T is related to the welding current I, the welding speed V and the material thickness d. The following empirical formula is used to estimate the welding time: Where k is a constant related to material properties and welding process parameters. For each welding position in the welding sequence coordinate sequence, the corresponding material thickness d is obtained from the thickness ascending sequence, and the corresponding welding current I is obtained from the smoothed welding current curve. Then, the welding time T for each position is calculated using the above formula. The welding speed V can be determined based on the welding process requirements and the geometry of the workpiece. In an automated welding system, this is usually a pre-set parameter. For each welding position, the calculated welding time T is recorded in the welding time allocation dataset. This dataset will contain the welding time for each welding position, as well as the corresponding welding sequence coordinates.
[0139] Step S467: Determine the welding movement speed of the welding device according to the welding time allocation data set and the welding sequence coordinate sequence to obtain the welding movement speed parameters, and record the smooth welding current curve and the welding movement speed parameters as the final welding parameters.
[0140] Specifically, the welding movement speed of the welding device can be determined based on the welding time allocation data set and the welding order coordinate sequence. First, the welding time allocation data set is analyzed to determine the welding duration of each welding position. Then, combined with the welding order coordinate sequence, the time required for the welding device to move to the next welding point after completing each welding point is calculated. Use motion control software or the operating interface of the welding equipment to set the movement speed parameters of the welding device according to these time data. These parameters will ensure that the welding device moves at an appropriate speed during the welding process, and will neither affect the welding quality due to being too fast nor reduce production efficiency due to being too slow. Finally, the smooth welding current curve is recorded as the final welding parameter together with the welding movement speed parameter.
[0141] The present invention ensures the uniformity and efficiency of the welding process by optimizing the welding sequence and accurately distributing the welding current, while improving the stability and quality of welding. Visualization and smoothing of the welding current further reduce current fluctuations and improve the consistency of welding. Precise welding time control and optimized welding movement speed ensure the continuity and uniformity of the welding process, effectively avoiding welding defects. In addition, the precise setting of the final welding parameters improves the level of welding automation and intelligence, simplifies the operation process, reduces the complexity of operation, and thus improves production efficiency.
[0142] Preferably, step S5 comprises the following steps:
[0143] Step S51: obtaining a welding sequence coordinate sequence, and performing shortest path calculation for adjacent welding points of the welding workpiece according to the welding sequence coordinate sequence based on the three-dimensional model of the workpiece, to obtain an adjacent welding point shortest path set, wherein the adjacent welding point shortest path set includes a plurality of adjacent welding point shortest paths;
[0144] Specifically, computer-aided design (CAD) software and path planning algorithms can be used to obtain the welding sequence coordinate sequence and calculate the shortest path between adjacent welding points in the welding sequence of the welded workpiece. First, the three-dimensional model of the welded workpiece and the welding sequence coordinate sequence are imported into the CAD software. Then, using the software's built-in path planning tool or a custom script, the shortest path algorithm in graph theory (such as the Dijkstra algorithm or the A* algorithm) is applied to calculate the shortest path from each welding point to the next welding point. After the calculation is completed, these shortest paths are combined to form a set of shortest paths between adjacent welding points.
[0145] Step S52: performing time-series merging of the shortest path sets of adjacent welding points according to the welding sequence coordinate sequence to obtain planned welding path data;
[0146] Specifically, the shortest path sets of adjacent welding points can be merged in time sequence according to the welding order coordinate sequence to generate the planned welding path data. First, the shortest paths of adjacent welding points are sorted according to the welding order coordinate sequence using data processing software or a customized programming script. Then, these paths are connected in series according to the welding order to form a complete welding path. After the merging is completed, the planned welding path data will be obtained.
[0147] Step S53: performing parameter-path collaborative mapping on the final welding parameters and the planned welding path data to obtain a welding parameter-path association matrix;
[0148] Specifically, the final welding parameters (including smooth welding current curve and welding movement speed parameters) can be combined with the planned welding path data. Then, the parameters (current and speed) of each welding segment are associated with the corresponding path segment using data mapping software or programming languages (such as Python or MATLAB). In this way, the welding parameters can be clearly defined for each point or segment on the welding path. Finally, these associated data are organized into a welding parameter-path association matrix, which will be used for parameter setting and process control in the actual welding process.
[0149] Step S54: calibrating the laser source performance of the welding device according to the laser generator type data to obtain laser source performance configuration data;
[0150] Specifically, professional laser calibration equipment and software can be used to calibrate the laser source performance of the welding device according to the laser generator type data. First, obtain the type data of the laser generator from the welding equipment management system, including its specifications, expected output power, wavelength and other parameters. Then, connect the laser generator of the welding device to the calibration equipment, which can measure the quality, power and stability of the laser beam. Use the calibration software to set the calibration parameters such as focal length, power and frequency according to the specifications of the laser generator and the welding requirements. After the calibration is completed, the obtained laser source performance configuration data is recorded in the performance log of the welding equipment.
[0151] Step S55: performing laser welding on the welding workpiece according to the welding parameter-path association matrix and the laser source performance configuration data.
[0152] Specifically, laser welding operations can be performed based on the welding parameter-path association matrix and the laser source performance configuration data. First, the welding parameter-path association matrix and the laser source performance configuration data are loaded into the welding control system. This system will control the welding robot or automated welding equipment to perform operations according to the planned welding path and set welding parameters. During the entire welding process, the operator needs to closely monitor the equipment operation status and manually intervene when necessary to ensure the smooth progress of the welding operation.
[0153] The present invention significantly improves welding efficiency and quality by optimizing the welding path and accurately calibrating the performance of the laser source. By calculating the shortest path and performing time merging, not only the moving distance and time of the welding device are reduced, but also the consistency and rationality of the welding path are ensured, making the welding operation smoother. The precise matching and quality consistency of the welding process are ensured by the coordinated mapping of welding parameters and paths. The accuracy of welding is further improved by the precise calibration of the laser source performance. Efficient execution of welding operations reduces downtime and adjustment time and improves the level of production automation. At the same time, automated path planning simplifies the operation process, reduces the difficulty of operation, and makes it easier for operators to control the welding process.
[0154] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0155] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for operating a laser welding device, characterized in that: The following steps are involved: Step S1: collecting material parameters of the welding workpiece to obtain welding workpiece material data and welding position thickness data set; selecting a laser generator type for the welding workpiece according to the welding workpiece material data and the welding position thickness data set to obtain laser generator type data; Step S2: photographing the welding point surface of the welding workpiece to obtain a welding point surface image set; performing welding point surface quality inspection on the welding workpiece based on the welding point surface image set to obtain a surface quality assessment result; Step S3: performing surface treatment on the welding workpiece according to the surface quality evaluation result to obtain workpiece preparation state data; Step S4: Perform three-dimensional modeling on the welding workpiece to obtain a three-dimensional model of the workpiece; Based on the workpiece three-dimensional model and the workpiece preparation status data, the welding parameters of the welding device are planned to obtain the final welding parameters; Step S5: planning a welding path for the welding workpiece based on the three-dimensional model of the workpiece to obtain planned welding path data; performing laser welding on the welding workpiece according to the laser generator type data, final welding parameters and planned welding path data.
2. The operating method of the laser welding device according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: collecting material property data of the welding workpiece to obtain material data of the welding workpiece; Step S12: collecting welding position points of the welding workpiece to obtain welding position point data; Step S13: marking the welding position of the welding workpiece and recording the coordinates according to the welding position point data to obtain a welding position coordinate data set, wherein the welding position coordinate data set includes a plurality of welding position coordinate data; Step S14: measuring the welding position thickness of the welding workpiece according to the welding position coordinate data set to obtain a welding position thickness data set, wherein the welding position thickness data set includes a plurality of welding position thickness data; Step S15: Select the laser generator type for the welding workpiece according to the welding workpiece material data and the welding position thickness data set to obtain laser generator type data.
3. The operating method of the laser welding device according to claim 2, characterized in that: Step S15 includes the following steps: Step S151: determining the thermal optical characteristics of the welding workpiece to obtain a workpiece thermal optical characteristic data set, wherein the workpiece thermal optical characteristic data set includes the welding workpiece melting point data, the welding workpiece thermal conductivity and the welding workpiece surface reflectivity; Step S152: extracting the maximum value of the welding position thickness data set to obtain the maximum thickness data of the welding workpiece; Step S153: obtaining a three-dimensional model of the workpiece, and performing a laser-material interaction simulation on the welding workpiece based on the three-dimensional model of the workpiece according to the welding workpiece material data, the workpiece thermal optical property data set, and the welding workpiece maximum thickness data, to obtain a laser-material interaction efficiency set, wherein the laser-material interaction efficiency set includes a plurality of laser-material interaction efficiencies, and the lasers in the laser-material interaction simulation are lasers of different wavelengths; Step S154: calculating the energy density of lasers of different wavelengths for the welding workpiece according to the laser-material interaction efficiency set to obtain an energy density data set, wherein the energy density data set includes a plurality of energy density data; Step S155: screening the laser wavelength adaptability of the welding workpiece according to the energy density data set to obtain adapted laser wavelength range data; Step S156: Calculate the laser power requirement of the welding workpiece according to the maximum thickness data of the welding workpiece and the adapted laser wavelength range data to obtain the maximum required laser power data, and select the laser generator type for the welding workpiece according to the adapted laser wavelength range data and the maximum required laser power data to obtain the laser generator type data.
4. The operating method of the laser welding device according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: Acquire welding position coordinate data set; Step S22: photographing the welding point surface of the welding workpiece according to the welding position coordinate data set to obtain a welding point surface image set, wherein the welding point surface image set includes a plurality of welding point surface images; Step S23: performing welding area recognition and labeling on the welding point surface image set to obtain a welding area labeling image set, wherein the welding area labeling image set includes a plurality of welding area labeling images; Step S24: cropping the non-welding area of the welding area annotated image set to obtain a welding area cropped image set, wherein the welding area cropped image set includes a plurality of welding area cropped images; Step S25: performing a surface quality inspection of the welding point of the welding workpiece based on the cropped image set of the welding area to obtain a surface quality assessment result.
5. The operating method of the laser welding device according to claim 4, characterized in that: Step S25 includes the following steps: Step S251: optically scan the standard surface texture of the welding workpiece to obtain a reference image of the welding workpiece surface; Step S252: performing stain area identification and marking on the welding area cropped image set according to the welding workpiece surface reference image to obtain a welding area stain marked image set, wherein the welding area stain marked image set includes a plurality of welding area stain marked images; Step S253: if the welding area stain mark image set indicates that there is no stain at the to-be-welded position of the welding workpiece, then no need for cleaning is taken as the surface quality assessment result, otherwise, the next step is executed; Step S254: calculating the stain area of the welding area stain mark image set to obtain a welding area stain area data set, wherein the welding area stain area data set includes a plurality of welding area stain area data; Step S255: performing spectral analysis on the welding workpiece according to the welding area stain mark image set to obtain a welding area stain spectral feature data set, wherein the welding area stain spectral feature data set includes a plurality of welding area stain spectral feature data; Step S256: classifying the welding workpiece into stain types according to the welding area stain spectral feature data set to obtain a welding area stain type set, wherein the welding area stain type set includes a plurality of welding area stain types, and the stain type is any one or more of grease stains, rust stains, paint or coating stains, dust stains, corrosive chemical stains, biological stains, and moisture stains; Step S257: performing a welding point surface quality inspection on the welding workpiece according to the welding region stain area data set and the welding region stain type set to obtain a surface quality evaluation result.
6. The operating method of the laser welding device according to claim 5, characterized in that: Step S257 includes the following steps: Step S2571: collecting historical welding inspection data of the welding workpiece to obtain a welding stain-result correlation data set, wherein the welding stain-result correlation data set includes a plurality of welding stain-result correlation data; Step S2572: quantifying the stain area of the welding stain-result association data set to obtain a historical stain area data set, wherein the historical stain area data set includes a plurality of historical stain area data; Step S2573: collecting stain types for the welding stain-result association data set to obtain a historical stain type classification data set, wherein the historical stain type classification data set includes a plurality of historical stain type classification data; Step S2574: performing quality anomaly screening on the welding stain-result association data set to obtain a welding quality anomaly case set, wherein the welding quality anomaly case set includes a plurality of welding quality anomaly cases; Step S2575: performing correlation mapping on the historical stain area data set and the historical stain type classification data set according to the welding quality abnormality case set to obtain a key stain area data set and a key stain type data set, wherein the key stain area data set includes a plurality of key stain area data, and the key stain type data set includes a plurality of key stain type data; Step S2576: determining the stain type-area threshold of the welding workpiece according to the key stain area data set and the key stain type data set to obtain a stain type-area threshold matrix; Step S2577: Perform multivariate threshold judgment on the welding area stain area data set and the welding area stain type set according to the stain type-area threshold matrix to obtain a surface quality assessment result, wherein the surface quality assessment result includes the surface quality assessment results of each to-be-welded position in the welding workpiece, and the surface quality assessment result is any one or more of requiring cleaning and not requiring cleaning.
7. The operating method of the laser welding device according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: if the surface quality assessment result indicates that the welding workpiece does not need to be cleaned, the welding workpiece is marked as not requiring processing, and workpiece preparation state data is obtained; Step S32: if the surface quality assessment result indicates that the welded workpiece needs to be cleaned, then a welding position coordinate data set, a welding area stain area data set and a welding area stain type set are obtained; Step S33: Screening the welding area stain area data set and the welding area stain type set for cleaning requirements according to the surface quality assessment result to obtain a stain area data set to be cleaned and a stain type data set to be cleaned, wherein the stain area data set to be cleaned and the stain type data set to be cleaned are parameters corresponding to the welding position to be cleaned of the welding workpiece; Step S34: performing spatial positioning mapping on the welding workpiece based on the welding position coordinate data set and the stain area data set and the stain type data set to be cleaned, to obtain a coordinate set of the area to be cleaned; Step S35: determining a cleaning scheme for the welding workpiece according to the stain type data set to be cleaned and the coordinate set of the area to be cleaned, and obtaining a stain cleaning scheme set, wherein the stain cleaning scheme set includes a plurality of stain cleaning schemes; Step S36: performing precise cleaning operations on the welding workpiece according to the stain cleaning solution set and the coordinate set of the area to be cleaned, and taking the welding workpiece preparation completion state as the workpiece preparation state data.
8. The operating method of the laser welding device according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: performing a three-dimensional scan on the welding workpiece to obtain point cloud data of the welding workpiece; Step S42: reconstructing the surface of the welding workpiece point cloud data to obtain a three-dimensional model of the workpiece; Step S43: marking the status of the workpiece three-dimensional model according to the workpiece preparation status data to obtain a ready workpiece three-dimensional model; Step S44: performing three-dimensional structural modeling on the welding device to obtain a three-dimensional model of the welding device; Step S45: obtaining a welding position thickness data set and a welding position coordinate data set, and sorting the welding position thickness data set in ascending order to obtain an ascending sequence of welding position thicknesses; Step S46: Based on the ready workpiece 3D model and the welding device 3D model and in accordance with the welding position thickness ascending sequence and the welding position coordinate data set, the welding parameters of the welding device are planned to obtain final welding parameters.
9. The operating method of the laser welding device according to claim 8, characterized in that: Step S46 includes the following steps: Step S461: sorting the welding position coordinate data sets according to the welding position thickness ascending sequence to obtain a welding order coordinate sequence; Step S462: Obtain laser generator type data; Step S463: calculating the welding current for each to-be-welded position of the welding workpiece according to the laser generator type data and the welding position thickness ascending sequence to obtain a welding current distribution data set, wherein the welding current distribution data set includes a plurality of welding current distribution data; Step S464: drawing a welding current curve for the welding current distribution data set according to the welding sequence coordinate sequence to obtain a preliminary welding current curve; Step S465: smoothing the preliminary welding current curve to obtain a smoothed welding current curve; Step S466: Calculate the welding time for each to-be-welded position corresponding to the welding position coordinate data set according to the smoothed welding current curve, the welding position thickness ascending sequence and the welding order coordinate sequence, and obtain a welding time allocation data set, wherein the welding time allocation data set includes a plurality of welding time allocation data; Step S467: Determine the welding movement speed of the welding device according to the welding time allocation data set and the welding sequence coordinate sequence to obtain the welding movement speed parameters, and record the smooth welding current curve and the welding movement speed parameters as the final welding parameters.
10. The operating method of the laser welding device according to claim 1, characterized in that: Step S5 includes the following steps: Step S51: obtaining a welding sequence coordinate sequence, and performing shortest path calculation for adjacent welding points of the welding workpiece according to the welding sequence coordinate sequence based on the three-dimensional model of the workpiece, to obtain an adjacent welding point shortest path set, wherein the adjacent welding point shortest path set includes a plurality of adjacent welding point shortest paths; Step S52: performing time-series merging of the shortest path sets of adjacent welding points according to the welding sequence coordinate sequence to obtain planned welding path data; Step S53: performing parameter-path collaborative mapping on the final welding parameters and the planned welding path data to obtain a welding parameter-path association matrix; Step S54: calibrating the laser source performance of the welding device according to the laser generator type data to obtain laser source performance configuration data; Step S55: performing laser welding on the welding workpiece according to the welding parameter-path association matrix and the laser source performance configuration data.
Citation Information
Patent Citations
Method for machining workpiece surface through laser, machining system, processor and storage medium
CN117047286A
Laser welding method
CN117083143A
Container decontamination method and system based on machine vision and laser radar and medium
CN117689955A
Battery module laser welding system and method based on visual guidance
CN118162756A
Three-dimensional model reconstruction method and system of gas insulated switchgear, and storage medium
CN118262056A
Cited By
Short pulse laser assisted continuous laser welding device and method
CN119501289A
Laser low-stress welding tool and method for stainless steel thin-walled workpiece
CN119820109A
Multi-station welding forming device for automobile C column inner plate assembly
CN120206114A
High-integration-level variable-focus laser engraving control method and system
CN120606172A
A high-integration variable focus laser engraving control method and system
CN120606172B
