Parameter setting method of welding head
By obtaining the welding image and parameters of the welding head and adjusting the welding parameters, the problem that existing equipment cannot adjust the welding equipment in time is solved, reducing the situation of poor welding of the extreme ears and improving the welding quality.
Patent Information
- Application Number
- CN202411408266.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-12-31
AI Technical Summary
The existing equipment cannot adjust the welding equipment in time, resulting in frequent occurrence of poor welding of the extreme ears, which cannot effectively reduce the situation of poor welding.
By obtaining the solder printing image of the welding head and the corresponding welding parameters, determine the type of the solder printing image, and adjust the welding parameters, including welding pressure, welding energy and welding temperature, according to the image type and parameters, to optimize the welding process.
Real-time adjustment of welding parameters and closed-loop control are realized, which significantly reduces the poor welding of the extreme ears and improves the welding quality.
Smart Images

Figure CN119216720A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of lithium battery automation equipment, and in particular relates to a parameter setting method for a welding head. Background Art
[0002] Before winding the pole piece, the pole ear needs to be welded to the pole piece. There are some poor welding problems when the pole ear is welded to the pole piece. The existing equipment can only detect poor welding marks, and cannot adjust the operation of the welding equipment in time to reduce the situation of poor pole ear welding. Summary of the invention
[0003] The object of the present invention is to provide a parameter setting method for a welding head for reducing bad welding of tabs.
[0004] To achieve the above object, the parameter setting method of the welding head of the present invention comprises the following steps: Step 1, obtaining at least one welding imprint image of the welding head and welding parameters corresponding to the welding imprint image, wherein the welding parameters include welding pressure, welding energy, and welding temperature; Step 2, determining the type of the weld image, wherein the type includes a cold weld, a broken weld, and a qualified weld; Step 3: Determine the welding parameters of the welding head according to the type of the welding image and its welding parameters, and weld the workpiece to be welded.
[0005] In one embodiment of the parameter setting method of the welding head of the present invention, the at least one welding imprint image includes the previous welding imprint image or the previous welding imprint image and the previous second welding imprint image.
[0006] In one embodiment of the parameter setting method of the welding head of the present invention, the step 3 comprises: Step 31, when the last weld print image is a qualified image, the welding pressure, welding energy and welding temperature of the welding head are maintained; Step 32, when the previous weld mark image is a false weld image or a broken weld image, obtain the previous second weld mark image.
[0007] In one embodiment of the parameter setting method of the welding head of the present invention, the step 32 includes: Step 321, when the last two weld print images are qualified images and the last weld print image is a false weld image, the welding parameters of the last weld print image are obtained, and the single welding parameter is adjusted to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, the variable parameter of the next priority level is adjusted; Step 322, when the last two weld print images are qualified images and the last weld print image is a bad weld image, the welding parameters of the last weld print image are obtained, and the single welding parameter is adjusted to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, the variable parameter of the next priority level is adjusted; Step 323, when the upper two weld print images are false weld images or broken weld images, compare whether the weld print image types of the upper one weld print image and the upper two weld print images are the same.
[0008] In one embodiment of the parameter setting method of the welding head of the present invention, the step 323 includes: Step 3231, when the last welding imprint image and the last two welding imprint images are both cold welding images, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level. Step 3232, when the last welding print image and the last two welding print images are both broken welding images, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; Step 3233, when the welding image type of the previous welding image is opposite to that of the previous two welding images, obtain the welding parameters of the previous welding image, obtain the welding parameters of the previous two welding images, and take the average of the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters.
[0009] In one embodiment of the parameter setting method of the welding head of the present invention, the step 323 includes: Step 3231, when the last welding imprint image and the last two welding imprint images are both cold welding images, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level. Step 3232, when the last welding print image and the last two welding print images are both broken welding images, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; Step 3233, when the welding image type of the previous welding image is opposite to that of the previous two welding images, obtain the welding parameters of the previous welding image and the welding parameters of the previous two welding images, adjust the next priority variable parameters of the difference variable parameters between the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters, and obtain other welding parameters from the welding parameters of the previous two welding images.
[0010] In one embodiment of the parameter setting method of the welding head of the present invention, the step 3233 includes: Step 32331, when the last weld print image is a false weld image and the second weld print image is a broken weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the last weld print image and the welding parameters of the second weld print image is adjusted to the minimum parameter value as the current welding parameter, and the other welding parameters are obtained from the welding parameters of the second weld print image; Step 32332, when the previous weld mark image is a broken weld image and the second previous weld mark image is a cold weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the previous weld mark image and the welding parameters of the second previous weld mark image is adjusted to the maximum parameter value as the current welding parameter, and other welding parameters are obtained from the welding parameters of the second previous weld mark images.
[0011] In one embodiment of the parameter setting method of the welding head of the present invention, the welding head is connected to a cylinder, and the pressure of the cylinder is controlled by an electrical proportional valve to control the welding pressure.
[0012] In one embodiment of the parameter setting method of the welding head of the present invention, the welding head is connected to an ultrasonic generator, and the amplitude of the welding head is controlled by the ultrasonic generator to control the welding energy.
[0013] In one embodiment of the parameter setting method of a welding head of the present invention, the welding head is connected to a temperature controller, and the temperature of the welding head is controlled by the temperature controller.
[0014] In summary, the parameter setting method of the welding head of the present invention adjusts the welding parameter value of the welding head by obtaining at least one welding imprint image type and forming the welding parameter value of the welding imprint image, thereby reducing the situation of poor tab welding. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a flow chart of a first embodiment of the present invention;
[0016] Figure 2 yes Figure 1 Flow chart of step S3;
[0017] Figure 3 is a flow chart of step S3 in the second embodiment of the present invention. DETAILED DESCRIPTION
[0018] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0019] like Figure 1 As shown, the first embodiment of the present invention provides a method for setting parameters of a welding head, comprising the following steps: S1: acquiring at least one welding imprint image of the welding head and welding parameters corresponding to the welding imprint image; S2: Determine the type of the welding image; S3: Determine welding parameters of the welding head according to the type of the welding image and its welding parameters, and weld the workpiece.
[0020] In the above step S1, at least one weld mark image is acquired by using a visual detection component, and the visual detection component is a camera. The at least one weld mark image includes a previous weld mark image or a previous weld mark image and a previous second weld mark image. The previous weld mark image is the previous recorded electrode lug weld mark image based on the electrode lug currently to be welded, and the previous second weld mark image is the previous two recorded electrode lug weld mark images based on the electrode lug currently to be welded.
[0021] In the above step S1, the welding parameters corresponding to the welding imprint image include the welding pressure P, welding energy E, and welding temperature T of the welding head forming the previous welding imprint image and the previous second welding imprint image.
[0022] The current welding tab is recorded as the nth, the previous welding tab is recorded as the n-1th, and the previous two welding tabs are recorded as the n-2th. The current welding parameters are recorded as Pn, En, and Tn, the welding parameters of the previous welding image are recorded as Pn-1, En-1, and Tn-1, and the welding parameters of the previous two welding images are recorded as Pn-2, En-2, and Tn-2.
[0023] In the above step S2, the weld image types include false weld image, broken weld image and qualified image. The weld image is recorded in a memory, a standard image is recorded in advance in the memory, and the weld image is compared with the standard image to determine the weld image type.
[0024] In the above step S2, the type of the last weld image is determined first. When the type of the last weld image is a qualified image, it is not necessary to determine the type of the last two weld images; when the type of the last weld image is not a qualified image, it is necessary to determine the type of the last two weld images.
[0025] In step S3, the welding parameters of the welding head can be adjusted according to the image of the welding process, so as to realize the real-time adjustment and closed-loop control of the welding head.
[0026] In some embodiments, optionally, the above step S3 includes the following steps: S31: When the previous weld mark image is a qualified image, maintain the welding pressure, welding energy, and welding temperature of the welding head; S32: When the previous weld mark image is a defective weld image or a broken weld image, obtain the second previous weld mark image.
[0027] In some embodiments, optionally, the above step S32 includes the following steps: S321: When the second previous weld mark image is a qualified image and the previous weld mark image is a defective weld image, obtain the welding parameters Pn-1, En-1, Tn-1 of the previous weld mark image, and adjust a single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature; if the single variable parameter according to the priority level has reached the maximum parameter value, then adjust the variable parameter of the next priority level; For example: When Pn-1 < Pmax, adjust the current welding parameters to Pmax, En-1, Tn-1; when Pn-1 = Pmax, adjust the current welding parameters to Pn-1, Emax, Tn-1; when En-1 = Emax, adjust the current welding parameters to Pn-1, En-1, Tmax; S322: When the second previous weld mark image is a qualified image and the previous weld mark image is a broken weld image, obtain the welding parameters Pn-1, En-1, Tn-1 of the previous weld mark image, and adjust a single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature; if the single variable parameter according to the priority level has reached the minimum parameter value, then adjust the variable parameter of the next priority level; For example: When Pn-1 > Pmin, adjust the current welding parameters to Pmin, En-1, Tn-1; when Pn-1 = Pmin, adjust the current welding parameters to Pn-1, Emin, Tn-1; when En-1 = Emin, adjust the current welding parameters to Pn-1, En-1, Tmin.
[0028] S323: When the second previous weld mark image is a defective weld image or a broken weld image, compare whether the weld mark image types of the previous weld mark image and the second previous weld mark image are the same.
[0029] In some embodiments, optionally, the above step S323 includes the following steps: S3231: When the previous weld mark image and the second previous weld mark image are both defective weld images, adjust a single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature; if the single variable parameter according to the priority level has reached the maximum parameter value, then adjust the variable parameter of the next priority level; S3232: When the last welding imprint image and the second last welding imprint image are both broken welding images, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy and welding temperature; if the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; S3233: When the welding image type of the previous welding image is opposite to that of the previous two welding images, obtain the welding parameters Pn-1, En-1, Tn-1 of the previous welding image, obtain the welding parameters Pn-2, En-2, Tn-2 of the previous two welding images, and take the average of the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters (Pn-1+ Pn-2) / 2, (En-1+ En-2) / 2, (Tn-1+ Tn-2) / 2.
[0030] Specifically, the following examples are given: The setting range of each variable parameter is: welding pressure P: 30-50Pa, welding energy E: 70-150J, welding temperature T: 1000-2000℃.
[0031] The first welding: the initial welding parameters used for the lug welding are 40Pa, 100J, and 1500°C. After the first welding, it is assumed that the first weld print image is recorded as a cold weld after comparison.
[0032] Second welding: Get the welding parameters of the previous welding image, 40Pa, 100J, 1500°C, adjust the welding pressure value to the maximum parameter value of 50Pa, and get the current welding parameters of 50Pa, 100J, 1500°C. After the second welding, assume that the second welding image is recorded as a cold weld after comparison.
[0033] The third welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → No → compare whether the weld print image types of the previous weld print image and the previous two weld print images are the same → Yes → determine whether the previous weld print image and the previous two weld print images are false weld images → Yes → obtain the welding parameters of the previous weld print image 50Pa, 100J, 1500℃, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature, if the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level; 50Pa=Pmax, adjust the welding energy to the maximum parameter value of 150J, and obtain the current welding parameters of 50Pa, 150J, 1500℃. After the third welding, it is assumed that the third weld print image is recorded as a broken weld image after comparison.
[0034] The 4th welding: Figure 2As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two welding images → determine whether the previous two welding images are qualified images → No → compare whether the welding image types of the previous welding image and the previous two welding images are the same → No → obtain the welding parameters of the previous welding image, obtain the welding parameters of the previous two welding images, and take the average of the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters; obtain the welding parameters of the previous welding image 50Pa, 150J, 1500℃, obtain the welding parameters of the previous two welding images 50Pa, 100J, 1500℃, and take the average of the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters 50Pa, 125J, 1500℃. After the fourth welding, it is assumed that the fourth welding image is recorded as a qualified image after comparison.
[0035] The fifth welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → yes → maintain the welding head welding pressure, welding energy, and welding temperature. Get the current welding parameters of 50Pa, 125J, and 1500°C. After the fifth welding, assume that the fifth weld print image is recorded as a broken weld image after comparison.
[0036] The 6th welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → Yes → determine whether the previous weld print image is a cold weld image → No → obtain the welding parameters of the previous weld print image, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature, and if the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; obtain the welding parameters of the previous weld print image 50Pa, 125J, 1500℃, and obtain the current welding parameters 30Pa, 125J, 1500℃. After the 6th welding, it is assumed that the 6th weld print image is recorded as a cold weld image after comparison.
[0037] The 7th welding: Figure 2As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld images → determine whether the previous two weld images are qualified images → No → compare whether the weld image types of the previous weld image and the previous two weld images are the same → No → obtain the welding parameters of the previous weld image, obtain the welding parameters of the previous two weld images, and take the average of the welding parameters of the previous weld image and the welding parameters of the previous two weld images as the current welding parameters. Obtain the welding parameters of the previous weld image 30Pa, 125J, 1500℃, obtain the welding parameters of the previous two weld images 50Pa, 125J, 1500℃, and take the average of the welding parameters of the previous weld image and the welding parameters of the previous two weld images as the current welding parameters 40Pa, 125J, 1500℃. After the 7th welding, it is assumed that the 7th weld image is recorded as a qualified image after comparison.
[0038] The 8th welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → yes → maintain the welding head welding pressure, welding energy, and welding temperature. Get the current welding parameters of 40Pa, 125J, and 1500°C. After the 8th welding, assume that the 8th welding image is recorded as a false welding image after comparison.
[0039] The 9th welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → No → Get the previous two weld print images → Determine whether the previous two weld print images are qualified images → Yes → Determine whether the previous weld print image is a false weld image → Yes → Get the welding parameters of the previous weld print image, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature, and if the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level; Get the welding parameters of the previous weld print image 40Pa, 125J, 1500℃, and get the current welding parameters 50Pa, 125J, 1500℃. After the 9th welding, it is assumed that the 9th weld print image is recorded as a qualified image after comparison.
[0040] The 10th welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → yes → maintain the welding head welding pressure, welding energy, and welding temperature. Get the current welding parameters of 50Pa, 125J, and 1500°C. After the 10th welding, assume that the 10th weld print image is recorded as a broken weld image after comparison.
[0041] 11th welding: Figure 2As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → Yes → determine whether the previous weld print image is a cold weld image → No → obtain the welding parameters of the previous weld print image, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature, and if the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; obtain the welding parameters of the previous weld print image of 50Pa, 125J, and 1500℃, adjust the welding pressure to the minimum parameter value of 30Pa, and obtain the current welding parameters of 30Pa, 125J, and 1500℃. After the 11th welding, it is assumed that the 11th weld print image is recorded as a bad weld image after comparison.
[0042] 12th welding: Figure 2 As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → No → compare whether the weld print image types of the previous weld print image and the previous two weld print images are the same → Yes → determine whether the previous weld print image and the previous two weld print images are both false welding images → No → obtain the welding parameters of the previous weld print image, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature, if the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; obtain the welding parameters of the previous weld print image 30Pa, 125J, 1500℃, 30Pa=Pmin, adjust the welding energy to the minimum parameter value 70J, and obtain the current welding parameters 30Pa, 70J, 1500℃.
[0043] The above examples illustrate the welding parameter adjustment situations one by one, which leads to many bad welding lug conditions. In the actual operation process, as the welding parameters are continuously optimized, the lug welding image gradually tends to a qualified image, and unqualified images are only individual cases. The next welding parameter can be corrected by closed-loop control.
[0044] In this embodiment, the welding head is connected to a cylinder, and the cylinder is connected to an electric proportional valve. The pressure of the cylinder is controlled by the electric proportional valve, thereby controlling the welding pressure.
[0045] The welding head is connected to an ultrasonic generator, and the amplitude of the welding head is controlled by the ultrasonic generator to control the welding energy.
[0046] The welding head is connected to a temperature controller, and the temperature of the welding head is controlled by the temperature controller.
[0047] like Figure 3 As shown, the second embodiment of the present invention provides another parameter setting method for a welding head, and the difference between the parameter setting method for a welding head in the second embodiment and the parameter setting method for a welding head in the first embodiment is that: In step S3233, the steps for adjusting welding parameters are different after the welding image types of the previous welding image and the previous second welding image are different.
[0048] In some embodiments, optionally, the above step S3233 includes the following steps: S32331: When the weld image types of the previous weld image and the previous two weld images are different and the previous weld image is a false weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the previous weld image and the welding parameters of the previous two weld images is adjusted to the minimum parameter value as the current welding parameter, and other welding parameters are obtained from the welding parameters of the previous two weld images.
[0049] S32332: When the weld image types of the previous weld image and the previous two weld images are different, and the previous weld image is a broken weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the previous weld image and the welding parameters of the previous two weld images is adjusted to the maximum parameter value as the current welding parameter, and other welding parameters are obtained from the welding parameters of the previous two weld images.
[0050] Specifically, the following examples are given: The setting range of each variable parameter is: welding pressure P: 30-50Pa, welding energy E: 70-150J, welding temperature T: 1000-2000℃.
[0051] The first welding: the initial welding parameters used for the lug welding are 40Pa, 100J, and 1500°C. After the first welding, it is assumed that the first weld print image is recorded as a cold weld after comparison.
[0052] Second welding: Get the welding parameters of the previous welding image, 40Pa, 100J, 1500°C, adjust the welding pressure value to the maximum parameter value of 50Pa, and get the current welding parameters of 50Pa, 100J, 1500°C. After the second welding, assume that the second welding image is recorded as a cold weld after comparison.
[0053] The third welding: Figure 3As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → No → compare whether the weld print image types of the previous weld print image and the previous two weld print images are the same → Yes → determine whether the previous weld print image and the previous two weld print images are false weld images → Yes → obtain the welding parameters of the previous weld print image 50Pa, 100J, 1500℃, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature, if the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level; 50Pa=Pmax, adjust the welding energy to the maximum parameter value of 150J, and obtain the current welding parameters of 50Pa, 150J, 1500℃. After the third welding, it is assumed that the third weld print image is recorded as a broken weld image after comparison.
[0054] The 4th welding: Figure 3 As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two welding images → determine whether the previous two welding images are qualified images → No → compare whether the welding image types of the previous welding image and the previous two welding images are the same → No → determine whether the previous welding image is a false welding image → No → adjust the next priority variable parameter of the difference variable parameter between the welding parameters of the previous welding image and the welding parameters of the previous two welding images to the maximum parameter value as the current welding parameter, and obtain other welding parameters from the welding parameters of the previous welding image. Take; adjust the next priority variable parameter (welding temperature) of the difference variable parameter (welding energy) of the last weld image (50Pa, 150J, 1500℃) and the welding parameters of the last two weld images (50Pa, 100J, 1500℃) to the maximum parameter value 2000℃ as the current welding parameter, and obtain the other welding parameters from the welding parameters of the last two weld images (50Pa, 100J, 1500℃), and get the current welding parameters of 50Pa, 100J, 2000℃. After the fourth welding, it is assumed that the fourth weld image is recorded as a qualified image after comparison.
[0055] The fifth welding: Figure 3 As shown, determine whether the previous welding image is a qualified image → yes → maintain the welding head welding pressure, welding energy, and welding temperature. Get the current welding parameters of 50Pa, 100J, and 2000°C. After the fifth welding, assume that the fifth weld image is recorded as a broken weld image after comparison.
[0056] The 6th welding: Figure 3As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two weld print images → determine whether the previous two weld print images are qualified images → Yes → determine whether the previous weld print image is a false weld image → No → obtain the welding parameters of the previous weld print image, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature, and if the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; obtain the welding parameters of the previous weld print image of 50Pa, 100J, and 2000℃, adjust the welding pressure to 30Pa, and obtain the current welding parameters of 30Pa, 100J, and 2000℃. After the 6th welding, it is assumed that the 6th weld print image is recorded as a false weld image after comparison.
[0057] The 7th welding: Figure 3 As shown, determine whether the previous welding image is a qualified image → No → obtain the previous two welding images → determine whether the previous two welding images are qualified images → No → compare whether the welding image types of the previous welding image and the previous two welding images are the same → No → determine whether the previous welding image is a false welding image → Yes → adjust the next priority variable parameter of the difference variable parameter between the welding parameters of the previous welding image and the welding parameters of the previous two welding images to the minimum parameter value as the current welding parameter, and the other welding parameters are selected from the welding parameters of the previous two welding images. Acquire; adjust the next priority variable parameter (welding energy) of the difference variable parameter (welding pressure) between the welding parameters of the previous weld image (30Pa, 100J, 2000℃) and the welding parameters of the previous two weld images (50Pa, 100J, 2000℃) to the minimum parameter value 70J as the current welding parameter, and obtain the other welding parameters from the welding parameters of the previous two weld images (50Pa, 100J, 2000℃), and obtain the current welding parameters of 50Pa, 70J, 2000℃.
[0058] The above examples illustrate the differences between the second embodiment and the first embodiment in the welding parameter adjustment situations, which leads to more poor welding of the lugs. In actual operation, as the welding parameters are continuously optimized, the lug welding image gradually tends to a qualified image, and unqualified images are only individual cases. The next welding parameter can be corrected by closed-loop control.
[0059] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.
Claims
1. A method for setting parameters of a welding head, characterized in that: The steps include: Step 1, obtaining at least one welding imprint image of the welding head and welding parameters corresponding to the welding imprint image, wherein the welding parameters include welding pressure, welding energy, and welding temperature; Step 2, determining the type of the weld image, wherein the type includes a cold weld, a broken weld, and a qualified weld; Step 3: Determine the welding parameters of the welding head according to the type of the welding image and its welding parameters, and weld the workpiece to be welded.
2. The parameter setting method of the welding head according to claim 1, characterized in that: The at least one welding image includes a previous welding image or a previous welding image and a previous second welding image.
3. The parameter setting method of the welding head according to claim 2, characterized in that: The step 3 comprises: Step 31, when the last weld print image is a qualified image, the welding pressure, welding energy and welding temperature of the welding head are maintained; Step 32, when the previous weld mark image is a false weld image or a broken weld image, obtain the previous second weld mark image.
4. The parameter setting method of the welding head according to claim 3, characterized in that: The step 32 comprises: Step 321, when the last two weld print images are qualified images and the last weld print image is a false weld image, the welding parameters of the last weld print image are obtained, and the single welding parameter is adjusted to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, the variable parameter of the next priority level is adjusted; Step 322, when the last two weld print images are qualified images and the last weld print image is a bad weld image, the welding parameters of the last weld print image are obtained, and the single welding parameter is adjusted to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, the variable parameter of the next priority level is adjusted; Step 323, when the upper two weld print images are false weld images or broken weld images, compare whether the weld print image types of the upper one weld print image and the upper two weld print images are the same.
5. The parameter setting method of the welding head according to claim 4, characterized in that: The step 323 includes: Step 3231, when the last welding imprint image and the last two welding imprint images are both cold welding images, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level. Step 3232, when the last welding print image and the last two welding print images are both broken welding images, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; Step 3233, when the welding image type of the previous welding image is opposite to that of the previous two welding images, obtain the welding parameters of the previous welding image, obtain the welding parameters of the previous two welding images, and take the average of the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters.
6. The parameter setting method of the welding head according to claim 4, characterized in that: The step 323 includes: Step 3231, when the last welding imprint image and the last two welding imprint images are both cold welding images, adjust the single welding parameter to the maximum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the maximum parameter value, adjust the variable parameter of the next priority level. Step 3232, when the last welding print image and the last two welding print images are both broken welding images, adjust the single welding parameter to the minimum parameter value according to the priority of welding pressure, welding energy, and welding temperature. If the single variable parameter according to the priority level has reached the minimum parameter value, adjust the variable parameter of the next priority level; Step 3233, when the welding image type of the previous welding image is opposite to that of the previous two welding images, obtain the welding parameters of the previous welding image and the welding parameters of the previous two welding images, adjust the next priority variable parameters of the difference variable parameters between the welding parameters of the previous welding image and the welding parameters of the previous two welding images as the current welding parameters, and obtain other welding parameters from the welding parameters of the previous two welding images.
7. The parameter setting method of a welding head according to claim 6, characterized in that: The step 3233 includes: Step 32331, when the last weld print image is a false weld image and the second weld print image is a broken weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the last weld print image and the welding parameters of the second weld print image is adjusted to the minimum parameter value as the current welding parameter, and the other welding parameters are obtained from the welding parameters of the second weld print image; Step 32332, when the previous weld mark image is a broken weld image and the second previous weld mark image is a cold weld image, the next priority variable parameter of the difference variable parameter between the welding parameters of the previous weld mark image and the welding parameters of the second previous weld mark image is adjusted to the maximum parameter value as the current welding parameter, and other welding parameters are obtained from the welding parameters of the second previous weld mark images.
8. The method for setting parameters of a welding head according to claim 1, characterized in that: The welding head is connected to a cylinder, and the pressure of the cylinder is controlled by an electrical proportional valve to control the welding pressure.
9. The parameter setting method of a welding head according to claim 1, characterized in that: The welding head is connected to an ultrasonic generator, and the amplitude of the welding head is controlled by the ultrasonic generator to control the welding energy.
10. The parameter setting method of a welding head according to claim 1, characterized in that: The welding head is connected to a temperature controller, and the temperature of the welding head is controlled by the temperature controller.