Welding control method and system for new energy battery box and medium
By separating the clamping positioning of the battery box from the welding control of the welding gun in the new energy battery box welding control, and dynamic adjustment using visual acquisition technology, the problems of low control efficiency and reduced accuracy in the existing technology are solved, and the more Efficient and precise welding control.
Patent Information
- Application Number
- CN202411614004.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing new energy battery box welding control method is difficult to control the positioning and welding of the battery box separately, resulting in poor control efficiency and reduced control accuracy, and it is difficult to dynamically adjust the welding parameters of the welding gun according to the welding effect.
Two separate control systems are formed by using the clamping positioning of the battery box and the welding control of the welding gun. The appearance image of the battery box is captured by visual acquisition technology, preprocessing and analysis, matching the fixture for positioning, and dynamically adjusting based on welding status information. Welding parameters of welding torch.
The control accuracy of battery box positioning welding is improved, the dynamic adjustment ability of welding effect is enhanced, and the overall efficiency of welding control is improved.
Smart Images

Figure CN119457535A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery box welding, and in particular to a welding control method, system and medium for a new energy battery box. Background Art
[0002] The existing welding control of new energy battery boxes does not control the positioning and welding of the battery boxes separately, resulting in poor control efficiency and easily causing a decrease in control accuracy. In addition, it is difficult to dynamically adjust the welding parameters of the welding gun according to the welding effect of the battery box in the existing welding control method, which affects the welding effect. In response to the above problems, effective technical solutions are urgently needed. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a welding control method, system and medium for a new energy battery box, which improves the control accuracy of the battery box positioning welding by forming two separate control systems by clamping and positioning the battery box and controlling the welding gun to weld the battery box.
[0004] The embodiment of the present application also provides a welding control method for a new energy battery box, comprising: S1, capturing an appearance image of the battery box based on a visual acquisition technology, and preprocessing the appearance image of the battery box to obtain an enhanced image;
[0005] S2, analyzing the parameter information of the battery box based on the enhanced image, and positioning the battery box by matching the fixture according to the parameter information of the battery box to obtain positioning information;
[0006] S3, starting a welding program based on the positioning information, controlling welding parameters of the welding gun based on the welding program, and obtaining welding status information;
[0007] S4, judging whether the welding state information satisfies the set welding condition information;
[0008] S5, if the conditions are met, the welding data is transmitted to the terminal in real time; if not, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
[0009] Optionally, in the welding control method of the new energy battery box described in the embodiment of the present application, the step of preprocessing the appearance image of the battery box in step S1 is as follows:
[0010] S11, capturing a complete appearance image of the battery box by setting multiple cameras to collect appearance images of the battery box at different angles;
[0011] S12, extracting image features, and screening out appearance features of the battery box based on the image feature distribution interval;
[0012] S13, normalizing the appearance features of the battery box and analyzing the resolution of the appearance image of the battery box;
[0013] S14, adjusting the image feature distribution interval based on the battery box appearance image resolution, performing a secondary screening on the appearance features of the battery box until the battery box appearance image resolution meets the set resolution threshold, thereby obtaining an enhanced image.
[0014] Optionally, in the welding control method of the new energy battery box described in the embodiment of the present application, the positioning information calculation step in step S2 is as follows:
[0015] S21, acquiring an enhanced image, and analyzing parameter information of the battery box according to the appearance features of the battery box in the enhanced image, wherein the parameter information of the battery box includes size information, shape information, and material information;
[0016] S22, selecting a fixture that matches the battery box according to the size information, shape information, and material information of the battery box, and analyzing whether the clamping force between different positions of the inner wall of the fixture and the outer wall of the battery box is within a set clamping force reference range;
[0017] S23, if it is, it is determined that the clamping force of the clamp on different positions of the battery box is tending to be balanced, and the clamp is selected to position the battery box to obtain positioning information;
[0018] S24, if not, it is determined that the clamp will cause local damage to the battery box, and a new clamp is selected.
[0019] Optionally, in the welding control method of the new energy battery box described in the embodiment of the present application, the specific steps of starting the welding procedure based on the positioning information in step S3 are as follows:
[0020] Analyze the matching degree between the battery box and the fixture based on the positioning information, and analyze the position information of the battery box at different time nodes;
[0021] Calculate the displacement of the battery box based on the position information at different time nodes;
[0022] If the displacement is less than the set displacement threshold, the welding procedure is started;
[0023] If the displacement is greater than or equal to the set displacement threshold, it is determined that the battery box is not firmly positioned, and the positioning information is adjusted until the displacement is less than the set displacement threshold, and the welding program is started.
[0024] Optionally, in the welding control method of the new energy battery box described in the embodiment of the present application, in step S3, the welding parameters of the welding gun are controlled based on the welding program to obtain welding state information, and the specific steps are as follows:
[0025] Obtain the welding program, and generate the control sequence and control parameters of the welding gun based on the welding program;
[0026] Obtain each welding gun operation step based on the control sequence, and generate welding parameters for each operation step according to the control parameters;
[0027] Obtaining the welding state corresponding to each operation step according to the welding parameters of each operation step;
[0028] Analyze the error value of the welding state corresponding to each operation step, dynamically adjust the welding parameters of the corresponding operation step based on the error value, and obtain the welding state of each operation step after optimization;
[0029] The welding status of each operation step after optimization is fused and processed to obtain the final welding status information.
[0030] Optionally, in the welding control method of the new energy battery box described in the embodiment of the present application, in step S5, the welding parameters of the welding gun are dynamically adjusted based on the correction information, and the specific steps are as follows:
[0031] Obtain the real-time position information of the welding gun and the battery box, and analyze the distance and angle between the welding gun and the battery box;
[0032] Based on the welding program, the current welding parameters are obtained, and the difference between the distance and angle between the welding gun and the battery box and the set welding condition information is calculated to obtain correction information;
[0033] The current welding parameters are dynamically adjusted based on the correction information.
[0034] In a second aspect, an embodiment of the present application provides a welding control system for a new energy battery box, the system comprising: a memory and a processor, the memory comprising a program of a welding control method for a new energy battery box, and the program of the welding control method for a new energy battery box is executed by the processor to implement the following steps:
[0035] Capturing the appearance image of the battery box based on visual acquisition technology, preprocessing the appearance image of the battery box to obtain an enhanced image;
[0036] Analyze the parameter information of the battery box based on the enhanced image, match the fixture to locate the battery box according to the parameter information of the battery box, and obtain the positioning information;
[0037] Starting a welding program based on the positioning information, controlling welding parameters of a welding gun based on the welding program, and obtaining welding status information;
[0038] Determine whether the welding status information meets the set welding condition information;
[0039] If the conditions are met, the welding data is transmitted to the terminal in real time. If the conditions are not met, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
[0040] Optionally, in the welding control system of the new energy battery box described in the embodiment of the present application, the steps of preprocessing the appearance image of the battery box are as follows:
[0041] By setting multiple cameras to collect appearance images of the battery box at different angles, a complete appearance image of the battery box is captured;
[0042] Extract image features and filter out the appearance features of the battery box based on the image feature distribution interval;
[0043] Normalize the appearance features of the battery box and analyze the resolution of the battery box appearance image;
[0044] The image feature distribution interval is adjusted based on the resolution of the battery box appearance image, and the appearance features of the battery box are screened again until the resolution of the battery box appearance image meets the set resolution threshold to obtain an enhanced image.
[0045] Optionally, in the welding control system of the new energy battery box described in the embodiment of the present application, an enhanced image is acquired, and parameter information of the battery box is analyzed according to the appearance features of the battery box in the enhanced image, wherein the parameter information of the battery box includes size information, shape information and material information;
[0046] Select a fixture that matches the battery box according to the size, shape and material information of the battery box, and analyze whether the clamping force between the inner wall of the fixture and the outer wall of the battery box at different positions is within the set clamping force reference range;
[0047] If so, it is determined that the clamping forces of the fixture on different positions of the battery box are tending to be balanced, and the fixture is selected to position the battery box to obtain positioning information;
[0048] If not, it is determined that the clamp will cause local damage to the battery box, and a new clamp should be selected.
[0049] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a welding control method program for a new energy battery box. When the welding control method program for a new energy battery box is executed by a processor, the steps of the welding control method for a new energy battery box as described in any one of the above items are implemented.
[0050] As can be seen from the above, a welding control method, system and medium for a new energy battery box provided in an embodiment of the present application capture the appearance image of the battery box based on visual acquisition technology, pre-process the appearance image of the battery box to obtain an enhanced image; analyze the parameter information of the battery box based on the enhanced image, match the clamp to position the battery box according to the parameter information of the battery box, and obtain positioning information; start the welding program based on the positioning information, control the welding parameters of the welding gun based on the welding program, and obtain welding status information; judge whether the welding status information meets the set welding condition information; if so, transmit the welding data to the terminal in real time, if not, generate correction information, and dynamically adjust the welding parameters of the welding gun based on the correction information; form two separate control systems by clamping and positioning the battery box and controlling the welding gun to weld the battery box, thereby improving the control accuracy of the battery box positioning welding. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart of a welding control method for a new energy battery box provided in an embodiment of the present application;
[0053] Figure 2 A flow chart of a method for preprocessing an appearance image of a battery box of a welding control method for a new energy battery box provided in an embodiment of the present application;
[0054] Figure 3 A flow chart of a method for calculating positioning information for a welding control method for a new energy battery box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0056] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0057] Please refer to Figure 1 , Figure 1 The figure is a flow chart of a welding control method of a new energy battery box in some embodiments of the present application. The welding control method of the new energy battery box is used in a terminal device, and the welding control method of the new energy battery box includes the following steps:
[0058] S1, capturing the appearance image of the battery box based on visual acquisition technology, and preprocessing the appearance image of the battery box to obtain an enhanced image;
[0059] S2, analyzing the parameter information of the battery box based on the enhanced image, and positioning the battery box by matching the fixture according to the parameter information of the battery box to obtain positioning information;
[0060] S3, starting a welding program based on the positioning information, controlling welding parameters of the welding gun based on the welding program, and obtaining welding status information;
[0061] S4, judging whether the welding state information satisfies the set welding condition information;
[0062] S5, if the conditions are met, the welding data is transmitted to the terminal in real time; if not, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
[0063] It should be noted that the shape, size and other appearance of the battery box are collected through visual acquisition technology to ensure the accuracy of the battery box positioning. In addition, after the battery box is positioned, the welding program is started to weld the battery box. The welding parameters are dynamically adjusted during the welding process to ensure that the welding state meets the set requirements and improve the welding effect.
[0064] Please refer to Figure 2 , Figure 2 This is a flow chart of a method for preprocessing the appearance image of a battery box in a welding control method of a new energy battery box in some embodiments of the present application. According to an embodiment of the present invention, the steps for preprocessing the appearance image of the battery box in step S1 are as follows:
[0065] S11, capturing a complete appearance image of the battery box by setting multiple cameras to collect appearance images of the battery box at different angles;
[0066] S12, extracting image features, and screening out appearance features of the battery box based on the image feature distribution interval;
[0067] S13, normalizing the appearance features of the battery box and analyzing the resolution of the appearance image of the battery box;
[0068] S14, adjusting the image feature distribution interval based on the battery box appearance image resolution, performing a secondary screening on the appearance features of the battery box until the battery box appearance image resolution meets the set resolution threshold, thereby obtaining an enhanced image.
[0069] It should be noted that by analyzing the appearance image of the battery box and performing feature optimization processing, the appearance features of the battery box are accurately screened out, and when the appearance image of the battery box is enhanced, the clarity of the appearance of the battery box is improved.
[0070] Please refer to Figure 3 , Figure 3 This is a flow chart of a method for calculating positioning information of a welding control method for a new energy battery box in some embodiments of the present application. According to an embodiment of the present invention, the steps for calculating positioning information in step S2 are as follows:
[0071] S21, acquiring an enhanced image, and analyzing parameter information of the battery box according to the appearance features of the battery box in the enhanced image, where the parameter information of the battery box includes size information, shape information, and material information;
[0072] S22, selecting a fixture that matches the battery box according to the size information, shape information, and material information of the battery box, and analyzing whether the clamping force between different positions of the inner wall of the fixture and the outer wall of the battery box is within a set clamping force reference range;
[0073] S23, if it is, it is determined that the clamping force of the clamp on different positions of the battery box is tending to be balanced, and the clamp is selected to position the battery box to obtain positioning information;
[0074] S24, if not, it is determined that the clamp will cause local damage to the battery box, and a new clamp is selected.
[0075] It should be noted that when the clamp is used to position the battery box, the optimal clamp is one that basically maintains a balanced clamping force at different positions of the battery box, preventing the battery box from being partially dented or damaged, and improving the positioning effect.
[0076] According to an embodiment of the present invention, the specific steps of starting the welding procedure based on the positioning information in step S3 are as follows:
[0077] Analyze the matching degree between the battery box and the fixture based on the positioning information, and analyze the position information of the battery box at different time nodes;
[0078] Calculate the displacement of the battery box based on the position information at different time nodes;
[0079] If the displacement is less than the set displacement threshold, the welding procedure is started;
[0080] If the displacement is greater than or equal to the set displacement threshold, it is determined that the battery box is not firmly positioned, and the positioning information is adjusted until the displacement is less than the set displacement threshold, and the welding program is started.
[0081] It should be noted that by analyzing whether the battery box is displaced after positioning, the displacement of the battery box can be used to determine whether the welding program needs to be started. Only when the battery box is firmly positioned and no displacement occurs, the welding program can be started to prevent large errors in the battery box welding.
[0082] According to an embodiment of the present invention, in step S3, the welding parameters of the welding gun are controlled based on the welding program to obtain welding status information. The specific steps are as follows:
[0083] Obtain the welding program, and generate the control sequence and control parameters of the welding gun based on the welding program;
[0084] Obtain each welding gun operation step based on the control sequence, and generate welding parameters for each operation step according to the control parameters;
[0085] Obtaining the welding state corresponding to each operation step according to the welding parameters of each operation step;
[0086] Analyze the error value of the welding state corresponding to each operation step, dynamically adjust the welding parameters of the corresponding operation step based on the error value, and obtain the welding state of each operation step after optimization;
[0087] The welding status of each operation step after optimization is fused and processed to obtain the final welding status information.
[0088] It should be noted that different welding procedures correspond to different welding sequences and control parameters. By analyzing and optimizing the welding status of each operation step, the most accurate welding status information can be obtained to improve welding accuracy.
[0089] According to an embodiment of the present invention, in step S5, the welding parameters of the welding gun are dynamically adjusted based on the correction information. The specific steps are as follows:
[0090] Obtain the real-time position information of the welding gun and the battery box, and analyze the distance and angle between the welding gun and the battery box;
[0091] Based on the welding program, the current welding parameters are obtained, and the difference between the distance and angle between the welding gun and the battery box and the set welding condition information is calculated to obtain correction information;
[0092] The current welding parameters are dynamically adjusted based on the correction information.
[0093] It should be noted that by analyzing the position of the welding gun and the battery box, it is possible to analyze whether the angle and distance between the welding gun and the battery box meet the welding conditions, thereby ensuring that the welding gun can accurately weld different positions of the battery box.
[0094] In a second aspect, an embodiment of the present application provides a welding control system for a new energy battery box, the system comprising: a memory and a processor, the memory comprising a program of a welding control method for a new energy battery box, and when the program of the welding control method for a new energy battery box is executed by the processor, the following steps are implemented:
[0095] Capturing the appearance image of the battery box based on visual acquisition technology, preprocessing the appearance image of the battery box to obtain an enhanced image;
[0096] Analyze the parameter information of the battery box based on the enhanced image, match the fixture to locate the battery box according to the parameter information of the battery box, and obtain the positioning information;
[0097] Starting a welding program based on the positioning information, controlling welding parameters of a welding gun based on the welding program, and obtaining welding status information;
[0098] Determine whether the welding status information meets the set welding condition information;
[0099] If the conditions are met, the welding data is transmitted to the terminal in real time. If the conditions are not met, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
[0100] It should be noted that the shape, size and other appearance of the battery box are collected through visual acquisition technology to ensure the accuracy of the battery box positioning. In addition, after the battery box is positioned, the welding program is started to weld the battery box. The welding parameters are dynamically adjusted during the welding process to ensure that the welding state meets the set requirements and improve the welding effect.
[0101] According to an embodiment of the present invention, the steps of preprocessing the appearance image of the battery box are as follows:
[0102] By setting multiple cameras to collect appearance images of the battery box at different angles, a complete appearance image of the battery box is captured;
[0103] Extract image features and filter out the appearance features of the battery box based on the image feature distribution interval;
[0104] Normalize the appearance features of the battery box and analyze the resolution of the battery box appearance image;
[0105] The image feature distribution interval is adjusted based on the resolution of the battery box appearance image, and the appearance features of the battery box are screened again until the resolution of the battery box appearance image meets the set resolution threshold to obtain an enhanced image.
[0106] It should be noted that by analyzing the appearance image of the battery box and performing feature optimization processing, the appearance features of the battery box are accurately screened out, and when the appearance image of the battery box is enhanced, the clarity of the appearance of the battery box is improved.
[0107] According to an embodiment of the present invention, an enhanced image is acquired, and parameter information of the battery box is analyzed according to the appearance features of the battery box in the enhanced image, where the parameter information of the battery box includes size information, shape information, and material information;
[0108] Select a fixture that matches the battery box according to the size, shape and material information of the battery box, and analyze whether the clamping force between the inner wall of the fixture and the outer wall of the battery box at different positions is within the set clamping force reference range;
[0109] If so, it is determined that the clamping forces of the fixture on different positions of the battery box are tending to be balanced, and the fixture is selected to position the battery box to obtain positioning information;
[0110] If not, it is determined that the clamp will cause local damage to the battery box, and a new clamp should be selected.
[0111] It should be noted that when the clamp is used to position the battery box, the optimal clamp is one that basically maintains a balanced clamping force at different positions of the battery box, preventing the battery box from being partially dented or damaged, and improving the positioning effect.
[0112] According to an embodiment of the present invention, the specific steps of starting the welding procedure based on the positioning information in step S3 are as follows:
[0113] Analyze the matching degree between the battery box and the fixture based on the positioning information, and analyze the position information of the battery box at different time nodes;
[0114] Calculate the displacement of the battery box based on the position information at different time nodes;
[0115] If the displacement is less than the set displacement threshold, the welding procedure is started;
[0116] If the displacement is greater than or equal to the set displacement threshold, it is determined that the battery box is not firmly positioned, and the positioning information is adjusted until the displacement is less than the set displacement threshold, and the welding program is started.
[0117] It should be noted that by analyzing whether the battery box is displaced after positioning, the displacement of the battery box can be used to determine whether the welding program needs to be started. Only when the battery box is firmly positioned and no displacement occurs, the welding program can be started to prevent large errors in the battery box welding.
[0118] According to an embodiment of the present invention, in step S3, the welding parameters of the welding gun are controlled based on the welding program to obtain welding status information. The specific steps are as follows:
[0119] Obtain the welding program, and generate the control sequence and control parameters of the welding gun based on the welding program;
[0120] Obtain each welding gun operation step based on the control sequence, and generate welding parameters for each operation step according to the control parameters;
[0121] Obtaining the welding state corresponding to each operation step according to the welding parameters of each operation step;
[0122] Analyze the error value of the welding state corresponding to each operation step, dynamically adjust the welding parameters of the corresponding operation step based on the error value, and obtain the welding state of each operation step after optimization;
[0123] The welding status of each operation step after optimization is fused and processed to obtain the final welding status information.
[0124] It should be noted that different welding procedures correspond to different welding sequences and control parameters. By analyzing and optimizing the welding status of each operation step, the most accurate welding status information can be obtained to improve welding accuracy.
[0125] According to an embodiment of the present invention, in step S5, the welding parameters of the welding gun are dynamically adjusted based on the correction information. The specific steps are as follows:
[0126] Obtain the real-time position information of the welding gun and the battery box, and analyze the distance and angle between the welding gun and the battery box;
[0127] Based on the welding program, the current welding parameters are obtained, and the difference between the distance and angle between the welding gun and the battery box and the set welding condition information is calculated to obtain correction information;
[0128] The current welding parameters are dynamically adjusted based on the correction information.
[0129] It should be noted that by analyzing the position of the welding gun and the battery box, it is possible to analyze whether the angle and distance between the welding gun and the battery box meet the welding conditions, thereby ensuring that the welding gun can accurately weld different positions of the battery box.
[0130] A third aspect of the present invention provides a computer-readable storage medium, which includes a welding control method program for a new energy battery box. When the welding control method program for a new energy battery box is executed by a processor, the steps of the welding control method for a new energy battery box as described in any one of the above items are implemented.
[0131] The present invention discloses a welding control method, system and medium for a new energy battery box. The method captures the appearance image of the battery box based on a visual acquisition technology, pre-processes the appearance image of the battery box to obtain an enhanced image; analyzes parameter information of the battery box based on the enhanced image, matches a fixture to position the battery box according to the parameter information of the battery box, and obtains positioning information; starts a welding program based on the positioning information, controls the welding parameters of a welding gun based on the welding program, and obtains welding status information; determines whether the welding status information satisfies the set welding condition information; if so, transmits the welding data to a terminal in real time, and if not, generates correction information, and dynamically adjusts the welding parameters of the welding gun based on the correction information; forms two separate control systems by clamping and positioning the battery box and controlling the welding gun to weld the battery box, thereby improving the control accuracy of the battery box positioning welding.
[0132] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0133] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0134] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0135] Those skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0136] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A welding control method for a new energy battery box, characterized in that: include: S1, capturing the appearance image of the battery box based on visual acquisition technology, and preprocessing the appearance image of the battery box to obtain an enhanced image; S2, analyzing the parameter information of the battery box based on the enhanced image, and positioning the battery box by matching the fixture according to the parameter information of the battery box to obtain positioning information; S3, starting a welding program based on the positioning information, controlling welding parameters of the welding gun based on the welding program, and obtaining welding status information; S4, judging whether the welding state information satisfies the set welding condition information; S5, if the conditions are met, the welding data is transmitted to the terminal in real time; if not, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
2. The welding control method of the new energy battery box according to claim 1 is characterized in that: The steps of preprocessing the appearance image of the battery box in step S1 are as follows: S11, capturing a complete appearance image of the battery box by setting multiple cameras to collect appearance images of the battery box at different angles; S12, extracting image features, and screening out appearance features of the battery box based on the image feature distribution interval; S13, normalizing the appearance features of the battery box and analyzing the resolution of the appearance image of the battery box; S14, adjusting the image feature distribution interval based on the battery box appearance image resolution, performing a secondary screening on the appearance features of the battery box until the battery box appearance image resolution meets a set resolution threshold, thereby obtaining an enhanced image.
3. The welding control method of the new energy battery box according to claim 2 is characterized in that: The steps for calculating the positioning information in step S2 are as follows: S21, acquiring an enhanced image, and analyzing parameter information of the battery box according to the appearance features of the battery box in the enhanced image, wherein the parameter information of the battery box includes size information, shape information, and material information; S22, selecting a fixture that matches the battery box according to the size information, shape information, and material information of the battery box, and analyzing whether the clamping force between different positions of the inner wall of the fixture and the outer wall of the battery box is within a set clamping force reference range; S23, if it is, it is determined that the clamping force of the clamp on different positions of the battery box is tending to be balanced, and the clamp is selected to position the battery box to obtain positioning information; S24, if not, it is determined that the clamp will cause local damage to the battery box, and a new clamp is selected.
4. The welding control method of the new energy battery box according to claim 3 is characterized in that: The specific steps of starting the welding procedure based on the positioning information in step S3 are as follows: Analyze the matching degree between the battery box and the fixture based on the positioning information, and analyze the position information of the battery box at different time nodes; Calculate the displacement of the battery box based on the position information at different time nodes; If the displacement is less than the set displacement threshold, the welding procedure is started; If the displacement is greater than or equal to the set displacement threshold, it is determined that the battery box is not firmly positioned, and the positioning information is adjusted until the displacement is less than the set displacement threshold, and the welding program is started.
5. The welding control method of the new energy battery box according to claim 4 is characterized in that: In step S3, the welding parameters of the welding gun are controlled based on the welding program to obtain welding status information. The specific steps are as follows: Obtain the welding program, and generate the control sequence and control parameters of the welding gun based on the welding program; Obtain each welding gun operation step based on the control sequence, and generate welding parameters for each operation step according to the control parameters; Obtaining the welding state corresponding to each operation step according to the welding parameters of each operation step; Analyze the error value of the welding state corresponding to each operation step, dynamically adjust the welding parameters of the corresponding operation step based on the error value, and obtain the welding state of each operation step after optimization; The welding status of each operation step after optimization is fused and processed to obtain the final welding status information.
6. The welding control method of the new energy battery box according to claim 5 is characterized in that: In step S5, the welding parameters of the welding gun are dynamically adjusted based on the correction information. The specific steps are as follows: Obtain the real-time position information of the welding gun and the battery box, and analyze the distance and angle between the welding gun and the battery box; Based on the welding program, the current welding parameters are obtained, and the difference between the distance and angle between the welding gun and the battery box and the set welding condition information is calculated to obtain correction information; The current welding parameters are dynamically adjusted based on the correction information.
7. A welding control system for a new energy battery box, characterized in that: The system includes: a memory and a processor, wherein the memory includes a program of a welding control method for a new energy battery box, and when the program of the welding control method for the new energy battery box is executed by the processor, the following steps are implemented: Capturing the appearance image of the battery box based on visual acquisition technology, preprocessing the appearance image of the battery box to obtain an enhanced image; Analyze the parameter information of the battery box based on the enhanced image, match the fixture to locate the battery box according to the parameter information of the battery box, and obtain the positioning information; Starting a welding program based on the positioning information, controlling welding parameters of a welding gun based on the welding program, and obtaining welding status information; Determine whether the welding status information meets the set welding condition information; If the conditions are met, the welding data is transmitted to the terminal in real time. If the conditions are not met, correction information is generated and the welding parameters of the welding gun are dynamically adjusted based on the correction information.
8. The welding control system of the new energy battery box according to claim 7 is characterized in that: The steps for preprocessing the appearance image of the battery box are as follows: By setting multiple cameras to collect appearance images of the battery box at different angles, a complete appearance image of the battery box is captured; Extract image features and filter out the appearance features of the battery box based on the image feature distribution interval; Normalize the appearance features of the battery box and analyze the resolution of the battery box appearance image; The image feature distribution interval is adjusted based on the resolution of the battery box appearance image, and the appearance features of the battery box are screened again until the resolution of the battery box appearance image meets the set resolution threshold to obtain an enhanced image.
9. The welding control system of the new energy battery box according to claim 8 is characterized in that: Acquire an enhanced image, and analyze parameter information of the battery box according to the appearance features of the battery box in the enhanced image, wherein the parameter information of the battery box includes size information, shape information, and material information; Select a fixture that matches the battery box according to the size, shape and material information of the battery box, and analyze whether the clamping force between the inner wall of the fixture and the outer wall of the battery box at different positions is within the set clamping force reference range; If so, it is determined that the clamping forces of the fixture on different positions of the battery box are tending to be balanced, and the fixture is selected to position the battery box to obtain positioning information; If not, it is determined that the clamp will cause local damage to the battery box, and a new clamp should be selected.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a welding control method program for a new energy battery box. When the welding control method program for a new energy battery box is executed by a processor, the steps of the welding control method for a new energy battery box as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Laser welding system based on machine vision positioning and used for battery box packaging and operating method of laser welding system
CN107414297A
Design method for annular structural member diffusion bonding fixture
CN108509750A
Intelligent machining method based on recognition of technological characteristics of precise structural part
CN114564802A
Pre-welding positioning system and method
CN117020543A
Unmanned laboratory intelligent management method and system
CN117078604A