A highly synchronous tracking method and device for power battery flying welding

By identifying the three-dimensional point cloud data of the power battery and the template height value in real time, the actual height deviation is calculated, and the height of the welding galvanometer is automatically adjusted, which solves the problem of lagging in the welding process in the existing technology and realizes efficient synchronous operation of the power battery flight welding.

CN118577988BActive Publication Date: 2024-10-29WUHAN NEWLAZ INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411067437.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-29
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In the existing technology, power battery flight welding requires manual resetting of the welding trajectory after the welding trajectory changes, and the welding must wait until all information on the parts to be welded is collected before welding can be carried out, causing the welding process to be too lagging and affecting efficiency.

Method used

By obtaining the three-dimensional point cloud coordinate data of the battery to be welded, the effective battery profile data is recognized in real time, the actual height deviation is calculated, and the height of the welding galvanometer is adjusted in real time for synchronous welding, avoiding manual adjustments and waiting for data collection.

Benefits of technology

The welding process and data collection are synchronized, the welding efficiency is improved, the operation complexity is reduced, and the welding accuracy and efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118577988B_ABST
    Figure CN118577988B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for highly synchronized tracking of power battery flight welding, which belongs to the field of flight welding, wherein the method comprises: obtaining a plurality of effective contour data of the battery in real time according to the acquired three-dimensional point cloud coordinate data of the battery to be welded; calculating the actual height deviation of the battery based on the effective contour data of the battery and the height value of the battery template; adjusting the height of the welding galvanometer in real time according to the actual height deviation of the battery to be welded to perform flight synchronized welding on the battery to be welded. The present invention will identify the effective contour data of the battery to be welded in real time, thereby calculating the height difference between the height of the battery to be welded and the height value of the battery template, and adjusting the height of the welding galvanometer in real time according to the height difference, thereby facilitating the adjustment of the welding trajectory, and after obtaining part of the height difference, the battery to be welded can be synchronously welded in flight, without waiting for scanning the point cloud data of all the batteries to be welded, thereby improving the welding efficiency of the battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of flying welding, and more specifically, to a highly synchronized tracking method and device for flying welding of power batteries. Background Art

[0002] Power batteries are widely used in new energy vehicles, mobile devices and other fields due to their lightweight and long life. Power battery welding technology has also become one of the important technologies in the development of power batteries. However, traditional spot welding technology is prone to problems such as low welding strength, low welding quality and low welding efficiency when used in power battery welding. Therefore, it is of great significance to improve the welding strength, welding quality and welding efficiency of power batteries.

[0003] At present, the flying welding technology can effectively avoid the shortcomings of traditional spot welding technology, and at the same time make the welded power battery have better appearance and welding quality. The welding process of most flying welding technologies is divided into two stations, which require the positioning station and the welding station to be carried out alternately. The welding robot needs to measure the height information of the power battery separately in advance at the positioning station to set the welding track height. After entering the welding station, it needs to measure the height change of the tooling again, and then set the welding track height to complete the welding.

[0004] However, the flying welding technology in the prior art requires the welding trajectory of the welding robot to be set in advance. When the actual welding trajectory changes, the welding trajectory of the welding robot needs to be manually reset. The operation process is cumbersome and complicated, and the welding process needs to be carried out after the camera has collected the information of the to-be-welded parts of all power batteries and analyzed the height information of the to-be-welded parts. The welding process lags too much behind the data collection process, which will greatly affect the efficiency of the battery flying welding. Summary of the invention

[0005] In response to at least one defect or improvement need in the prior art, the present invention provides a method and device for highly synchronized tracking of power battery on-the-fly welding, which is used to solve the problem in the prior art that the welding trajectory of the battery on-the-fly welding needs to be manually reset after the welding trajectory changes, and that on-the-fly welding can only be performed after the information of the to-be-welded parts of all power batteries is collected and the height information of the to-be-welded parts is analyzed, resulting in the welding process lagging too far behind the data collection process, thereby affecting the efficiency of the battery on-the-fly welding.

[0006] To achieve the above object, according to a first aspect of the present invention, a highly synchronized tracking method for flying welding of power batteries is provided, comprising:

[0007] According to the acquired three-dimensional point cloud coordinate data of the battery to be welded, real-time recognition is performed to obtain a number of effective battery contour data;

[0008] Calculate the actual height deviation of the battery based on the effective contour data of the battery and the height value of the battery template;

[0009] According to the actual height deviation of the battery, the welding galvanometer height is adjusted in real time to perform synchronous welding on the fly for the battery to be welded.

[0010] In a possible implementation, a plurality of effective battery contour data are obtained by identifying the acquired three-dimensional point cloud coordinate data of the battery to be welded, including:

[0011] Iterative training is performed based on the three-dimensional point cloud coordinate data of the battery to be welded to determine the target fitting model;

[0012] Determine the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data;

[0013] A plurality of battery effective contour data are determined according to the real-time effective contour point cloud of the battery.

[0014] In a possible implementation, determining the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data includes:

[0015] Calculate the first distance from the three-dimensional point cloud coordinate data within a preset range to the target fitting model;

[0016] Filtering first point clouds corresponding to first distances greater than a first distance threshold, and counting the number of first point clouds;

[0017] If the number of the first point cloud is greater than the first number threshold, the first point cloud is the real-time effective contour point cloud of the battery.

[0018] In a possible implementation, a number of battery effective contour data are determined based on the real-time effective contour point cloud of the battery, including:

[0019] Counting the number of consecutive real-time effective contour point clouds of the battery to obtain a second number;

[0020] If the second number is greater than the second number threshold, the three-dimensional point cloud coordinate data corresponding to the real-time effective contour point cloud of the battery is the effective contour data of the battery.

[0021] In a possible implementation, the actual height deviation of the battery is calculated based on the effective battery profile data and the battery template height value, including:

[0022] Obtain point cloud height values ​​from battery effective contour data;

[0023] Calculate the average battery height value based on the point cloud height value;

[0024] The actual height deviation of the battery is calculated based on the average battery height value and the battery template height value.

[0025] In a possible implementation, iterative training is performed based on the three-dimensional point cloud coordinate data of the battery to be welded to determine the target fitting model, including:

[0026] Select multiple 3D point cloud coordinate data from a preset range to form a fitting data set, and set fitting parameters; the fitting parameters include the number of iterative training times;

[0027] Randomly select a number of three-dimensional point cloud coordinate data from the fitting data set to build an initial fitting model;

[0028] Determine whether the initial fitting model is a valid fitting model according to the fitting data set, fitting parameters and the initial fitting model;

[0029] The above steps are repeated until the number of iterative training is reached, and the target fitting model is determined from all valid fitting models.

[0030] In a possible implementation, the fitting parameters include a third distance threshold and a third quantity threshold; and judging whether the initial fitting model is a valid fitting model according to the fitting data set, the fitting parameters and the initial fitting model includes:

[0031] Calculate the third distance between the remaining three-dimensional point cloud coordinate data in the fitting data set and the initial fitting model;

[0032] Filter the third point clouds corresponding to the third distance being greater than the third distance threshold, and count the number of the third point clouds;

[0033] If the number of the third point cloud is greater than the third number threshold, the initial fitting model is a valid fitting model.

[0034] In a possible implementation, the method further includes:

[0035] Scan the environmental data of the battery to be welded to obtain three-dimensional point cloud coordinate data;

[0036] Generate an environmental contour height map containing the battery to be welded based on the point cloud three-dimensional coordinate data.

[0037] In a possible implementation, the method further includes:

[0038] Set the left and right boundaries in the environment contour height map according to preset rules;

[0039] The preset range is the environment contour heightmap between the left and right boundaries.

[0040] According to a second aspect of the present invention, there is also provided a highly synchronous tracking device for flying welding of power batteries, comprising:

[0041] A real-time recognition module, which is configured to perform real-time recognition based on the acquired three-dimensional point cloud coordinate data of the battery to be welded to obtain a plurality of effective battery contour data;

[0042] A deviation calculation module, configured to calculate the actual height deviation of the battery based on the battery effective profile data and the battery template height value;

[0043] The synchronous welding module is configured to adjust the height of the welding galvanometer in real time according to the actual height deviation of the battery to perform flying synchronous welding on the battery to be welded.

[0044] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0045] (1) The present invention provides a method for highly synchronized tracking of power battery flying welding. The method can identify the effective contour data of the battery in real time based on the three-dimensional point cloud coordinate data of the battery to be welded, thereby calculating the actual height deviation of the battery with the battery template height value. When the actual height of the battery to be welded changes and causes the welding trajectory to change, the height of the welding galvanometer can be automatically adjusted based on the actual height deviation of the battery. There is no need to manually adjust the welding trajectory, thus avoiding complicated operation processes and improving the welding efficiency. After calculating the actual height deviation of some batteries, synchronized flying welding can be performed without waiting for scanning the point cloud data of all batteries to be welded before performing flying welding. The flying welding can be performed while scanning the point cloud data of the battery to be welded, so that the welding process closely follows the data acquisition process. Therefore, the scanning and flying welding are performed synchronously, which further improves the efficiency of battery flying welding.

[0046] (2) The method for highly synchronized tracking of power battery flying welding provided by the present invention is adopted, and the target fitting model is determined by iterative training based on the three-dimensional point cloud coordinate data of the battery to be welded. The effective contour data of the battery is gradually determined through the target fitting model, and the specific contour condition of the battery to be welded is understood, so as to accurately calculate the actual height deviation of the battery to be welded and the height value of the battery template, thereby improving the battery welding accuracy. The present invention also generates an environmental contour height map containing the battery to be welded based on the three-dimensional point cloud coordinate data of the battery to be welded. By analyzing the environmental contour height map of the battery to be welded, the amount of calculation for directly processing the point cloud data is reduced, the efficiency of data analysis is improved, and the uncertainty caused by directly analyzing the point cloud data is avoided. The present invention also sets the left boundary and the right boundary in the environmental contour height map respectively. By setting the left boundary and the right boundary, the point cloud data that needs to be analyzed is reduced, and the interference of invalid information in the scanning environment on the identification of the effective contour data of the battery to be welded is avoided, thereby improving the accuracy of contour recognition and the efficiency of data analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A schematic flow chart of an embodiment of a highly synchronous tracking method for power battery flying welding provided by the present invention;

[0049] Figure 2 The present invention provides Figure 1 A schematic flow chart of an embodiment of step S101;

[0050] Figure 3 The present invention provides Figure 2 A schematic diagram of a flow chart of an embodiment of step S202;

[0051] Figure 4 A schematic diagram of an embodiment of a plurality of continuous effective battery contour diagrams provided by the present invention;

[0052] Figure 5 The present invention provides Figure 1 A schematic diagram of a flow chart of an embodiment of step S102;

[0053] Figure 6 The present invention provides Figure 2 A schematic diagram of a flow chart of an embodiment of step S201;

[0054] Figure 7 The present invention provides Figure 6 A flowchart of an embodiment of step S603;

[0055] Figure 8 An environmental contour height map of an embodiment of an environment including a battery to be welded provided by the present invention;

[0056] Fig. 9 An environmental contour height map of an embodiment of a battery environment to be welded after setting boundaries provided by the present invention;

[0057] Fig.10 A schematic structural diagram of an embodiment of a highly synchronous tracking device for power battery flying welding provided by the present invention;

[0058] Fig.11 A schematic diagram of the structure of a highly synchronized tracking device for power battery flying welding provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0060] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0061] The present invention provides a highly synchronous tracking method and device for flying welding of power batteries, which are described below respectively.

[0062] See also Figure 1 , Figure 1 A flow chart of an embodiment of a highly synchronized tracking method for flying welding of a power battery provided by the present invention is provided. In a specific embodiment of the present invention, a highly synchronized tracking method for flying welding of a power battery is disclosed, comprising:

[0063] S101, performing real-time recognition based on the acquired three-dimensional point cloud coordinate data of the battery to be welded to obtain a plurality of effective battery contour data;

[0064] S102, calculating the actual height deviation of the battery based on the effective battery profile data and the battery template height value;

[0065] S103, adjusting the height of the welding galvanometer in real time according to the actual height deviation of the battery to perform flying synchronous welding on the battery to be welded.

[0066] In the above embodiment, point cloud refers to a data set composed of a large number of three-dimensional points, each of which has its own spatial coordinate information. Point cloud is usually used to represent the surface shape or structure of an object or scene, and is one of the important data forms in the fields of three-dimensional scanning, computer vision and computer graphics. By processing the three-dimensional point cloud coordinate data of the battery to be welded, the effective contour data of the battery can be identified. It should be noted that, depending on the scanning range, multiple effective contour data of the battery may be identified. The use of three-dimensional point cloud coordinate data is conducive to accurately positioning the contour of the battery to be welded, so as to facilitate automatic adjustment of the welding height and change of the welding trajectory before welding begins to adapt to the welding of different batteries.

[0067] In the on-the-fly welding technology, generally, a camera is used to scan the battery to be welded first, and then welding is performed through a welding galvanometer. Therefore, the traditional on-the-fly welding technology generally adopts two workstations to respectively realize the scanning and welding processes. In the embodiment of the present invention, in order to realize the simultaneous scanning and welding, the scanning and welding can be set at the same workstation. In this embodiment, it is only necessary to place the spatial position of the scanning device in front of the spatial position of the welding device, so that there is enough time to scan and determine the effective contour data of the battery to be welded, thereby realizing the simultaneous scanning and welding at the same workstation, avoiding the installation error caused by too many carriers, resulting in deviation in the accuracy of the final welding result.

[0068] The effective battery contour data can describe the contour of the battery, and the points that need to be welded are generally relatively fixed. After the contour of the battery to be welded is determined, the welding points can be located. The battery template height value can be set according to the battery specifications. By comparing the effective battery contour data and the battery template height value with the battery template as the reference, the height deviation of the current battery to be welded relative to the battery template can be determined, so that different batteries to be welded can be accurately adapted for welding.

[0069] From the above description, it can be known that in this embodiment, only the height value of the battery template needs to be set, and after scanning the battery to be welded to obtain the three-dimensional point cloud coordinate data of the battery to be welded to determine the effective contour data of the battery, the height of the welding galvanometer can be automatically adjusted to achieve the effect of adjusting the welding path, and different batteries can be automatically adapted. In other words, after determining the effective contour data of some batteries, the welding process can be prepared, and there is no need to set a universal welding path after scanning all the same batteries to be welded like the traditional flying welding technology, and when the welded batteries are different, the welding path needs to be reset, so that the present invention greatly improves the welding efficiency.

[0070] Compared with the prior art, the present embodiment provides a highly synchronized tracking method and device for power battery on-the-fly welding, which can identify the effective contour data of the battery in real time based on the acquired three-dimensional point cloud coordinate data of the battery to be welded, thereby calculating the actual height deviation of the battery with the battery template height value. When the actual height of the battery to be welded changes and causes the welding trajectory to change, the height of the welding galvanometer can be automatically adjusted based on the actual height deviation of the battery. There is no need to manually adjust the welding trajectory, thus avoiding complicated operation processes and improving the welding efficiency. After calculating the actual height deviation of some batteries, synchronized on-the-fly welding can be performed without waiting for scanning the point cloud data of all batteries to be welded before performing on-the-fly welding. On-the-fly welding can be performed while scanning the point cloud data of the battery to be welded, so that the welding process closely follows the data acquisition process. Therefore, the simultaneous scanning and on-the-fly welding is realized, which further improves the efficiency of battery on-the-fly welding.

[0071] See also Figure 2 , Figure 2 The present invention provides Figure 1 In some embodiments of the present invention, the three-dimensional point cloud coordinate data of the battery to be welded are obtained to obtain a plurality of effective battery contour data, including:

[0072] S201, performing iterative training according to the three-dimensional point cloud coordinate data of the battery to be welded to determine the target fitting model;

[0073] S202, determining the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data;

[0074] S203, determining a plurality of battery effective contour data according to the real-time effective contour point cloud of the battery.

[0075] In the above embodiment, the three-dimensional point cloud coordinate data of the battery to be welded is iteratively trained in order to select the optimal fitting model so that the effective contour data of the battery can be identified with high precision. It should be noted that the target fitting model used in the embodiment of the present invention is a straight line model. Other models may also be used in the embodiments of the present application to improve the accuracy of identifying the effective contour data of the battery.

[0076] The three-dimensional point cloud coordinate data may also contain other invalid point cloud data such as the tooling fixture, the gap between two batteries or the contours of other objects. Therefore, the three-dimensional point cloud coordinate data is screened based on the target fitting model and the three-dimensional point cloud coordinate data to determine the real-time effective contour point cloud of the battery that can reflect the contour of the battery to be welded.

[0077] It should be noted that the real-time effective contour point cloud of the battery is a plurality of separate points, which are combined to form the contour of the battery to be welded. Therefore, the process of determining a number of effective contour data of the battery from the real-time effective contour point cloud of the battery is also the process of determining whether the real-time effective contour point cloud of the battery is continuous. The contour of the battery is not isolated. When the real-time effective contour point cloud of the battery is discontinuous, it may be in the gap between different batteries.

[0078] See also Figure 3 , Figure 3 The present invention provides Figure 2 In some embodiments of the present invention, determining the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data includes:

[0079] S301, calculating a first distance from the three-dimensional point cloud coordinate data within a preset range to a target fitting model;

[0080] S302, screening first point clouds corresponding to first distances greater than a first distance threshold, and counting the number of first point clouds;

[0081] S303: If the number of the first point cloud is greater than the first number threshold, the first point cloud is a real-time effective contour point cloud of the battery.

[0082] In the above embodiment, the real-time effective contour point cloud of the battery is generally the contour boundary of the battery to be welded, and the spatial coordinates of the point cloud of the contour boundary can generally be in the same plane, that is, any point cloud in the real-time effective contour point cloud of the battery is at least coplanar with other point clouds, and the three-dimensional coordinates of any point cloud in the real-time effective contour point cloud of the battery are at least one dimension the same as other point clouds, that is, several planes can be divided to contain all the real-time effective contour point clouds of the battery. Therefore, during analysis, the target fitting model can be represented by a two-dimensional model to reduce the amount of calculation.

[0083] The first distance from the 3D point cloud coordinate data to the target fitting model is the distance from the point to the line. Assuming that the formula of the target fitting model is , and the coordinates of any point cloud in the same plane as the target fitting model can be expressed as ( , ), then the point cloud ( , ) to the target fitting model can be expressed as:

[0084] d= ;

[0085] Among them, a and b are the intercept and slope of the fitting model, respectively, which are obtained through fitting calculation.

[0086] Determine that the first distance d is greater than the first distance threshold d_threshold and the corresponding first point cloud quantity d_n. When the first point cloud quantity d_n> the first quantity threshold d_n_threshold, the corresponding first point cloud is judged to be the real-time valid contour point cloud of the battery, and the first distance d< the first distance threshold d_threshold or the first point cloud quantity d_n< the first quantity threshold d_n_threshold is the invalid contour point cloud of the battery (need to be discarded).

[0087] It is understandable that the specific values ​​of the first distance threshold d_threshold and the first quantity threshold d_n_threshold can be adjusted according to the actual conditions of the batteries to be welded to adapt to batteries of different models, and the embodiments of the present invention do not impose further limitations on this.

[0088] See also Figure 4 , Figure 4 A schematic diagram of an embodiment of a plurality of continuous effective battery contour diagrams provided by the present invention. In some embodiments of the present invention, a plurality of effective battery contour data are determined according to the real-time effective battery contour point cloud, including:

[0089] Counting the number of consecutive real-time effective contour point clouds of the battery to obtain a second number;

[0090] If the second number is greater than the second number threshold, the three-dimensional point cloud coordinate data corresponding to the real-time effective contour point cloud of the battery is the effective contour data of the battery.

[0091] In the above embodiment, there are many methods for judging whether the real-time effective contour point cloud of the battery is continuous. By calculating the curvature (or its approximate value) of each real-time effective contour point cloud of the battery, mutation points or edge points can be identified. These point clouds may indicate the beginning or end of discontinuity. Continuity can also be judged by comparing the normal vectors of adjacent points. If the normal vectors remain relatively consistent in the local area, it indicates that these points may be continuous. It should be noted that the above judgment methods can be implemented by existing technologies, and other methods can also be used in the existing technologies for judgment. The present invention will not elaborate on this.

[0092] When it is determined that the real-time effective contour point cloud of the battery is continuous, the second number Valid_n of the continuous point cloud is counted, and the second number threshold is set to Valid_n_threshold. When the second number Valid_n> the second number threshold Valid_n_threshold, it is determined that this continuous real-time effective contour point cloud of the battery can constitute the contour of the battery to be welded, and its corresponding three-dimensional point cloud coordinate data is the battery effective contour data.

[0093] It is understandable that the specific value of the second quantity threshold value Valid_n_threshold can be adjusted according to the actual situation of the battery to be welded to adapt to different models of batteries, and the embodiment of the present invention does not impose further limitations on this.

[0094] See also Figure 5 , Figure 5 The present invention provides Figure 1 In some embodiments of the present invention, the actual height deviation of the battery is calculated based on the effective battery profile data and the battery template height value, including:

[0095] S501, obtaining a point cloud height value from the battery effective contour data;

[0096] S502, calculating the average height value of the battery based on the point cloud height value;

[0097] S503, calculating the actual height deviation of the battery according to the average height value of the battery and the height value of the battery template.

[0098] In the above embodiment, the battery effective contour data includes the three-dimensional coordinates of the point cloud that constitutes the effective contour of the battery. In order to obtain the height information of the battery, it is necessary to extract the vertical coordinate values ​​of all point clouds from the battery effective contour data, that is, the point cloud height values. These vertical coordinate values ​​will represent the height of the battery to be welded at each position.

[0099] After obtaining the height values ​​of all point clouds, it is necessary to calculate the average of these height values ​​to represent the overall height of the battery to be welded. This is because the surface of the battery may not be completely flat, but there are bumps and depressions, but the difference in the bumps and depressions on the battery surface is generally small, so by calculating the average value, a more accurate and representative height value can be obtained, which is also the actual height estimate of the battery to be welded.

[0100] The battery template height value is a preset, ideal battery height value. By comparing the average battery height value and the battery template height value, the actual battery height deviation between the battery to be welded and the battery template can be calculated. The actual battery height deviation can be used to adjust the height of the welding galvanometer before welding the battery to adapt to different types of batteries.

[0101] The calculated actual height deviation of the battery can have a positive or negative sign, and the positive or negative sign of the actual height deviation of the battery can be used to determine whether the battery to be welded is higher or lower than the battery template. As a preferred embodiment, in the present invention, if the average height value of the battery to be welded is greater than the template height value, the actual height deviation of the battery is defined as positive; conversely, if the average height value of the battery is less than the template height value, the actual height deviation of the battery is negative. The size of this actual height deviation of the battery can be used to evaluate the degree of height deviation of the battery to be welded. In addition to being used to adjust the height of the welding galvanometer, it can also determine whether the quality of the battery to be welded is qualified to a certain extent.

[0102] It should be noted that when calculating the actual height deviation of the battery, you also need to pay attention to the unit of the actual height deviation of the battery. The size of the battery is generally small, so the height of the battery is usually measured in millimeters (mm) or centimeters (cm). Therefore, the unit of the actual height deviation of the battery should also be consistent with the unit of the height value for calculation.

[0103] See also Figure 6 , Figure 6 The present invention provides Figure 2 In some embodiments of the present invention, iterative training is performed based on the three-dimensional point cloud coordinate data of the battery to be welded to determine the target fitting model, including:

[0104] S601, selecting a plurality of three-dimensional point cloud coordinate data from a preset range to form a fitting data set, and setting fitting parameters; the fitting parameters include the number of iterative training times;

[0105] S602, randomly selecting a number of three-dimensional point cloud coordinate data from the fitting data set to construct an initial fitting model;

[0106] S603, judging whether the initial fitting model is a valid fitting model according to the fitting data set, the fitting parameters and the initial fitting model;

[0107] S604, repeat the above steps until the number of iterative training times is reached, and determine the target fitting model from all valid fitting models.

[0108] In the above embodiment, the three-dimensional point cloud coordinate data obtained by scanning the battery to be welded is relatively large, and it is difficult to analyze all the point clouds one by one, and some point clouds do not belong to the battery to be welded. If all the point cloud data are analyzed, the final result may be inaccurate. Therefore, some of the three-dimensional point cloud coordinate data are selected to form a fitting data set for fitting training.

[0109] A portion of the three-dimensional point cloud coordinate data can be randomly selected from the fitting data set by random sampling to construct an initial fitting model. The construction of the initial model can adopt a variety of algorithms, such as linear regression, polynomial fitting, neural network, etc., and a suitable algorithm is selected according to the data characteristics and fitting requirements. As a preferred embodiment, the present invention uses the RANSAC algorithm (robust estimation algorithm) to perform linear regression to fit a straight line Base-Line as the initial fitting model.

[0110] Specifically, after selecting m three-dimensional point cloud coordinate data, the least squares method is used to perform linear regression fitting of the initial model data points ( , ),( , ), ..., ( , ) Calculate the average of the selected data points:

[0111] and = ;

[0112] Based on this, the slope b of the fitting line is calculated:

[0113] ;

[0114] Intercept a:

[0115] ;

[0116] The initial fitting model is .

[0117] The initial fitting model is closely related to the two selected three-dimensional point clouds, and the initial fitting model obtained by fitting the randomly selected three-dimensional point clouds may not necessarily meet the requirements of accurately identifying the contour point clouds of the batteries to be welded. Therefore, it is necessary to judge whether the initial fitting model is a valid fitting model based on the fitting data set, fitting parameters and initial fitting model. The specific judgment method will be explained later.

[0118] It should be noted that at the beginning of each iterative training, it is necessary to reselect multiple three-dimensional point cloud coordinate data from a preset range to form a fitting data set, and the iteration is stopped after reaching the number of iterative training n_iterations. Therefore, multiple valid models may be obtained. At this time, it is necessary to select the model with the largest number of internal points from all models that meet the conditions as the final result, that is, the target fitting model. The specific values ​​of the fitting parameters can be adjusted according to the actual situation of the battery to be welded to adapt to different models of batteries, and the embodiments of the present invention do not impose further restrictions on this.

[0119] See also Figure 7 , Figure 7 The present invention provides Figure 6 FIG. 5 is a flow chart of an embodiment of step S603 in FIG. 5 . In some embodiments of the present invention, the fitting parameters include a third distance threshold and a third quantity threshold; judging whether the initial fitting model is a valid fitting model according to the fitting data set, the fitting parameters and the initial fitting model includes:

[0120] S701, calculating a third distance between the remaining three-dimensional point cloud coordinate data in the fitting data set and the initial fitting model;

[0121] S702, screening third point clouds corresponding to third distances greater than a third distance threshold, and counting the number of third point clouds;

[0122] S703: If the number of the third point clouds is greater than a third number threshold, the initial fitting model is a valid fitting model.

[0123] In the above embodiment, the remaining three-dimensional point cloud coordinate data in the fitting data set is the three-dimensional point cloud coordinate data in the fitting data set other than the data used to construct the initial fitting model, and the formula for calculating the third distance Dis from the three-dimensional point cloud coordinate data to the initial fitting model is the same as the above formula for calculating the first distance, and will not be repeated here.

[0124] It should be noted that the third point cloud corresponding to the third distance Dis greater than the third distance threshold threshold is defined as an inlier, otherwise it is defined as an outlier, and counting the number of the third point cloud is also counting the number of inliers. If the number of inliers exceeds the third number threshold n_threshold, the initial fitting model is considered to be a valid model, otherwise it is considered to be an invalid model and should be discarded.

[0125] See also Figure 8 , Figure 8 The environmental contour height map of an embodiment of the battery environment to be welded provided by the present invention, in some embodiments of the present invention, further includes:

[0126] Scan the environmental data of the battery to be welded to obtain three-dimensional point cloud coordinate data;

[0127] Generate an environmental contour height map containing the battery to be welded based on the point cloud three-dimensional coordinate data.

[0128] In the above embodiment, the scanning device in the present invention may be a 3D profiler camera, and the welding device in the present invention is a welding galvanometer. It should be noted that the scanning device in the present invention may also be other devices with the function of scanning the three-dimensional point cloud coordinate data of an object, and the welding galvanometer in the present invention may also be other devices with welding functions. The present invention does not impose further restrictions on this, but only requires that they can be easily installed at the same workstation and the order of the two can be set.

[0129] When performing a three-dimensional scan of the environment containing the batteries to be welded, it is necessary to capture every detail of the batteries to be welded as much as possible, including the shape, size, position of the batteries, and surrounding obstacles. Therefore, this process will scan a lot of environmental content.

[0130] As a preferred embodiment, the process of generating an environmental contour height map containing the battery to be welded according to the point cloud three-dimensional coordinate data in the present invention is as follows:

[0131] Point cloud segmentation: Use a point cloud segmentation algorithm to separate the battery to be welded from other objects in the point cloud data. This can be achieved by methods such as segmentation based on geometric features, segmentation based on models, or segmentation based on learning, and can be achieved using existing technologies, so the present invention will not go into details.

[0132] Surface reconstruction: Surface reconstruction is performed on the segmented point cloud data of the battery to be welded to generate a three-dimensional model of the battery to be welded. This can be achieved by point-based reconstruction, implicit function-based reconstruction, or grid-based reconstruction, and can be achieved using existing technologies, which will not be elaborated in detail in the present invention.

[0133] Generate a height map: Convert the reconstructed three-dimensional battery model into a height map. A height map is a two-dimensional image in which the value of each pixel represents the height of the corresponding position in three-dimensional space. This can be achieved by projecting the three-dimensional model onto a two-dimensional plane and calculating the height of the corresponding position of each pixel. This can be achieved using existing technology, and the present invention will not go into details.

[0134] See also Fig. 9 , Fig. 9 The environmental contour height map of an embodiment of the battery environment to be welded after setting the boundary provided by the present invention, in some embodiments of the present invention, further includes:

[0135] Set the left and right boundaries in the environment contour height map according to preset rules;

[0136] The preset range is the environment contour heightmap between the left and right boundaries.

[0137] In the above embodiment, when scanning the battery to be welded, it is inevitable to scan the surrounding environment of the battery to be welded, such as scanning the fixture used to fix the battery to be welded during the flight welding, the gap between the two batteries, or the outline of other objects, etc., resulting in the acquisition of a lot of useless point cloud data. The specifications of the same model of batteries are generally fixed, so the left boundary and the right boundary can be set according to the specifications of the battery (such as Fig. 9 The dotted line in the figure can filter out some useless point cloud data to avoid interference with subsequent analysis.

[0138] It should be noted that the purpose of dividing the left boundary and the bounded boundary is to roughly locate the approximate position of the battery paddle to be welded, and the environmental contour height map between the left boundary and the bounded boundary is defined as the ROI area (environmental contour height map of a preset range), that is, the region of interest (Region of Interest). The ROI area in this embodiment is the key area for analyzing the boundary contour of the battery to be welded. The purpose of defining the ROI area is to concentrate on processing and analyzing those parts that are most critical to specific tasks or applications, thereby improving efficiency, reducing calculations, and optimizing resource usage.

[0139] In order to better implement the highly synchronized tracking method for power battery flying welding in the embodiment of the present invention, based on the highly synchronized tracking method for power battery flying welding, correspondingly, please refer to Fig.10 , Fig.10 This is a schematic structural diagram of an embodiment of a highly synchronized tracking device for power battery flying welding provided by the present invention. The embodiment of the present invention provides a highly synchronized tracking device 1000 for power battery flying welding, including:

[0140] A real-time recognition module 1010 is configured to perform real-time recognition based on the acquired three-dimensional point cloud coordinate data of the battery to be welded to obtain a plurality of effective battery contour data;

[0141] A deviation calculation module 1020, which is configured to calculate the actual height deviation of the battery based on the battery effective profile data and the battery template height value;

[0142] The synchronous welding module 1030 is configured to adjust the height of the welding galvanometer in real time according to the actual height deviation of the battery to perform flying synchronous welding on the battery to be welded.

[0143] It should be noted here that: the device 1000 provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.

[0144] See also Fig.11 , Fig.11A schematic diagram of the structure of a highly synchronized tracking device for power battery flight welding provided by an embodiment of the present invention. Based on the highly synchronized tracking method for power battery flight welding, the present invention also provides a highly synchronized tracking device for power battery flight welding. The highly synchronized tracking device for power battery flight welding can be a computing device such as a mobile terminal, a desktop computer, a notebook, a PDA, and a server. The highly synchronized tracking device 1100 for power battery flight welding includes a processor 1110, a memory 1120, and a display 1130. Fig.11 Only some components of the highly synchronized tracking device for power battery flying welding are shown, but it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.

[0145] In some embodiments, the memory 1120 may be an internal storage unit of the highly synchronized tracking device 1100 for power battery flight welding, such as a hard disk or memory of the highly synchronized tracking device 1100 for power battery flight welding. In other embodiments, the memory 1120 may also be an external storage device of the highly synchronized tracking device 1100 for power battery flight welding, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the highly synchronized tracking device 1100 for power battery flight welding. Further, the memory 1120 may also include both an internal storage unit and an external storage device of the highly synchronized tracking device 1100 for power battery flight welding. The memory 1120 is used to store application software and various data installed in the highly synchronized tracking device 1100 for power battery flight welding, such as a program code installed in the highly synchronized tracking device 1100 for power battery flight welding. The memory 1120 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a highly synchronized tracking program 1140 for power battery flying welding is stored in the memory 1120, and the highly synchronized tracking program 1140 for power battery flying welding can be executed by the processor 1110, thereby realizing the highly synchronized tracking method for power battery flying welding of each embodiment of the present application.

[0146] In some embodiments, the processor 1110 can be a central processing unit (CPU), a microprocessor or other data processing chip, which is used to run the program code or process data stored in the memory 1120, such as executing a highly synchronized tracking method for flying welding of power batteries.

[0147] In some embodiments, the display 1130 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 1130 is used to display information on the highly synchronized tracking device 1100 for power battery flight welding and to display a visual user interface. The components 1110-1130 of the highly synchronized tracking device 1100 for power battery flight welding communicate with each other via a system bus.

[0148] In one embodiment, when the processor 1110 executes the highly synchronized tracking program 1140 for power battery flying welding in the memory 1120 , the steps in the highly synchronized tracking method for power battery flying welding as described above are implemented.

[0149] This embodiment also provides a computer-readable storage medium, on which a highly synchronized tracking program for flying welding of power batteries is stored. When the highly synchronized tracking program for flying welding of power batteries is executed by a processor, the following steps are implemented:

[0150] According to the acquired three-dimensional point cloud coordinate data of the battery to be welded, real-time recognition is performed to obtain a number of effective battery contour data;

[0151] Calculate the actual height deviation of the battery based on the effective contour data of the battery and the height value of the battery template;

[0152] According to the actual height deviation of the battery, the welding galvanometer height is adjusted in real time to perform synchronous welding on the fly for the battery to be welded.

[0153] In summary, the present invention provides a highly synchronized tracking method for power battery on-the-fly welding, which can identify the effective contour data of the battery in real time according to the acquired three-dimensional point cloud coordinate data of the battery to be welded, thereby calculating the actual height deviation of the battery with the battery template height value. When the actual height of the battery to be welded changes and causes the welding trajectory to change, the height of the welding galvanometer can be automatically adjusted based on the actual height deviation of the battery. There is no need to manually adjust the welding trajectory, which avoids complicated operation processes and improves the welding efficiency. After calculating the actual height deviation of some batteries, synchronized on-the-fly welding can be performed without waiting for scanning the point cloud data of all batteries to be welded before performing on-the-fly welding. The point cloud data of the battery to be welded can be scanned while performing on-the-fly welding, so that the welding process closely follows the data acquisition process. Therefore, the simultaneous scanning and on-the-fly welding is realized, which further improves the efficiency of battery on-the-fly welding.

[0154] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0155] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0157] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which 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 integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.

[0159] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0160] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0161] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0162] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

[0163] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0164] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A highly synchronous tracking method for power battery flying welding, characterized in that: include: According to the acquired three-dimensional point cloud coordinate data of the battery to be welded, real-time recognition is performed to obtain a number of effective battery contour data; Calculate the actual height deviation of the battery based on the effective battery profile data and the battery template height value; According to the actual height deviation of the battery, the welding galvanometer height is adjusted in real time to perform synchronous welding on the fly on the battery to be welded; The method of obtaining a plurality of effective battery contour data by identifying the acquired three-dimensional point cloud coordinate data of the battery to be welded includes: Perform iterative training according to the three-dimensional point cloud coordinate data of the battery to be welded to determine a target fitting model; Determine a real-time effective contour point cloud of a battery based on the target fitting model and the three-dimensional point cloud coordinate data; Determine a plurality of battery effective contour data according to the battery real-time effective contour point cloud; Wherein, determining the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data includes: Calculate a first distance from the three-dimensional point cloud coordinate data within a preset range to the target fitting model; Filtering first point clouds corresponding to the first distance being greater than a first distance threshold, and counting the number of first point clouds; If the number of the first point clouds is greater than a first number threshold, the first point cloud is the real-time effective contour point cloud of the battery; Wherein, the determining of a plurality of battery effective contour data according to the real-time effective contour point cloud of the battery includes: Counting the number of consecutive real-time effective contour point clouds of the battery to obtain a second number; If the second number is greater than a second number threshold, the three-dimensional point cloud coordinate data corresponding to the battery real-time effective contour point cloud is the battery effective contour data.

2. The highly synchronous tracking method for power battery flying welding according to claim 1, characterized in that: The calculating the actual height deviation of the battery based on the effective battery profile data and the battery template height value comprises: Acquire a point cloud height value from the battery effective contour data; Calculate the average battery height value based on the point cloud height value; The actual height deviation of the battery is calculated according to the average height value of the battery and the height value of the battery template.

3. The highly synchronous tracking method for flying welding of power batteries according to claim 1, characterized in that: The iterative training according to the three-dimensional point cloud coordinate data of the battery to be welded determines the target fitting model, including: Selecting a plurality of three-dimensional point cloud coordinate data from the preset range to form a fitting data set, and setting fitting parameters; the fitting parameters include the number of iterative training times; Randomly selecting a number of three-dimensional point cloud coordinate data from the fitting data set to construct an initial fitting model; Determining whether the initial fitting model is a valid fitting model according to the fitting data set, the fitting parameters and the initial fitting model; The above steps are iterated repeatedly until the number of iterative training times is reached, and a target fitting model is determined from all the valid fitting models.

4. The highly synchronous tracking method for flying welding of power batteries according to claim 3, characterized in that: The fitting parameters include a third distance threshold and a third quantity threshold; and judging whether the initial fitting model is a valid fitting model according to the fitting data set, the fitting parameters and the initial fitting model includes: Calculating a third distance from the remaining three-dimensional point cloud coordinate data in the fitting data set to the initial fitting model; Filtering third point clouds corresponding to the third distance being greater than the third distance threshold, and counting the number of third point clouds; If the number of the third point clouds is greater than the third number threshold, the initial fitting model is a valid fitting model.

5. The highly synchronous tracking method for flying welding of power batteries according to claim 1, characterized in that: Also includes: Scan the environmental data of the battery to be welded to obtain three-dimensional point cloud coordinate data; An environmental contour height map including the battery to be welded is generated according to the point cloud three-dimensional coordinate data.

6. The highly synchronous tracking method for flying welding of power batteries according to claim 5, characterized in that: Also includes: According to a preset rule, a left boundary and a right boundary are respectively set in the environment contour height map; The preset range is the environment contour height map between the left boundary and the right boundary.

7. A highly synchronous tracking device for power battery flight welding, characterized in that: include: A real-time recognition module, which is configured to perform real-time recognition based on the acquired three-dimensional point cloud coordinate data of the battery to be welded to obtain a plurality of effective battery contour data; A deviation calculation module, configured to calculate the actual height deviation of the battery based on the battery effective profile data and the battery template height value; A synchronous welding module, which is configured to adjust the height of the welding galvanometer in real time according to the actual height deviation of the battery to perform flying synchronous welding on the battery to be welded; The method of obtaining a plurality of effective battery contour data by identifying the acquired three-dimensional point cloud coordinate data of the battery to be welded includes: Perform iterative training according to the three-dimensional point cloud coordinate data of the battery to be welded to determine a target fitting model; Determine a real-time effective contour point cloud of a battery based on the target fitting model and the three-dimensional point cloud coordinate data; Determine a plurality of battery effective contour data according to the battery real-time effective contour point cloud; Wherein, determining the real-time effective contour point cloud of the battery based on the target fitting model and the three-dimensional point cloud coordinate data includes: Calculate a first distance from the three-dimensional point cloud coordinate data within a preset range to the target fitting model; Filtering first point clouds corresponding to the first distance being greater than a first distance threshold, and counting the number of first point clouds; If the number of the first point clouds is greater than a first number threshold, the first point cloud is the real-time effective contour point cloud of the battery; Wherein, the determining of a plurality of battery effective contour data according to the real-time effective contour point cloud of the battery includes: Counting the number of consecutive real-time effective contour point clouds of the battery to obtain a second number; If the second number is greater than a second number threshold, the three-dimensional point cloud coordinate data corresponding to the battery real-time effective contour point cloud is the battery effective contour data.

Citation Information

Patent Citations

  • Welding height control method and device for fully automatic welding of tube plate

    CN110681945A