Pole welding control method and device, computer equipment, storage medium and product
With the assistance of computer equipment and storage media, offset data and coordinate adjustment technology are used to solve the problem of low welding replacement efficiency of battery modules, fast and accurate welding point adjustment is achieved, and production efficiency is improved.
Patent Information
- Application Number
- CN202411345323.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-11-29
AI Technical Summary
During the battery module production process, when welding battery modules of different sizes, the efficiency of the replacement stage is low, and the template and teaching welding points need to be frequently replaced, resulting in low efficiency.
Through computer equipment and storage media, offset data and coordinate adjustment technology, the welding point position of the welding robot and the light exit position of the galvanometer mechanism are automatically adjusted, and the welding point coordinates are directly used to control the movement of the welding robot to reduce the welding point template. Reliance to improve the efficiency of replacement.
It realizes rapid replacement of templates and adjustment of welding points on the same production line, reducing the difficulty and time of replacement, improving welding efficiency and accuracy, and reducing the template production steps.
Smart Images

Figure CN119035843A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery production technology, and in particular to a pole welding control method, device, computer equipment, storage medium and product. Background Art
[0002] In the field of new energy technology, the battery pole and busbar (also known as busbar) need to be welded during the production process of battery modules. Generally, a welding robot in a welding station mechanism is used to implement the welding process.
[0003] When producing battery modules of different sizes and types on the same production line, it is necessary to use the corresponding template change module to teach the welding robot's welding points one by one to obtain the corresponding template coordinate set for use in subsequent actual production.
[0004] However, the efficiency of the changeover phase in the above-mentioned pole welding control method is low. Summary of the invention
[0005] Based on this, it is necessary to provide a pole welding control method, device, computer equipment, storage medium and product that can improve the efficiency of the changeover stage in response to the above technical problems.
[0006] In a first aspect, the present application provides a pole welding control method, comprising:
[0007] According to the welding machine teaching coordinates and the first mark welding machine coordinates corresponding to the first mark point in the target battery module, the first offset data is obtained, the welding machine teaching coordinates are obtained by teaching the first mark point in the mold change template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is a battery module in the production stage corresponding to the mold change template module;
[0008] Adjust the welding pole column coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole column coordinates corresponding to each pole in the target battery module, where the welding pole column coordinates are coordinate data in the welding machine coordinate system;
[0009] Calculate and process the coordinates of each adjustment pole column to obtain the coordinates of each welding point corresponding to the target battery module;
[0010] The welding robot is controlled to move when welding the target battery module based on the coordinates of each welding point.
[0011] In one embodiment, the method further comprises:
[0012] For each welding point, the welding light output data corresponding to the welding point is obtained according to the welding point coordinates corresponding to the welding point and the coordinates of each adjustment pole corresponding to the welding point;
[0013] The welding light output data is converted to the galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point;
[0014] When the welding robot is controlled to move to the welding point, the galvanometer mechanism is controlled to emit light based on the galvanometer light output data.
[0015] In one embodiment, the method further comprises:
[0016] The coordinates of each welding point are converted into the welding three-axis coordinate system to obtain the welding three-axis initial coordinates corresponding to each welding point;
[0017] According to the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point, the second offset data is obtained, the welding three-axis teaching coordinates are obtained by teaching the target welding point in the mold change template module to the welding three-axis mechanism, the target welding point is any one of the multiple welding points, and the welding three-axis teaching coordinates and the welding three-axis initial coordinates are coordinate data under the welding three-axis coordinate system;
[0018] Based on the second offset data and the initial coordinates of each welding three-axis, the welding three-axis movement coordinates corresponding to each welding point are obtained;
[0019] When the welding robot is controlled to move to the welding point, the movement of the welding three-axis mechanism is controlled based on the welding three-axis movement coordinates.
[0020] In one embodiment, the method further comprises:
[0021] By teaching the target pole in the mold changing template module to the pre-welding three-axis mechanism, the pre-welding three-axis pole teaching coordinates corresponding to the target pole are obtained, and the target pole is any one of the multiple poles of the mold changing template module;
[0022] According to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, the pre-welding three-axis pole column coordinates corresponding to each pole are obtained. The pre-welding three-axis pole column coordinates are the coordinate data under the pre-welding three-axis coordinate system. The product parameters include the pole column spacing.
[0023] The three-axis pole coordinates before welding are converted into the welding machine coordinate system to obtain the pole coordinates of each welding.
[0024] In one embodiment, according to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, the pre-welding three-axis pole column coordinates corresponding to each pole column are obtained, including:
[0025] For each pole in the target battery module, obtain the corresponding three-axis pole coordinates before welding through the following steps:
[0026] According to the pole spacing and the three-axis pole teaching coordinates before welding, obtain the three-axis photography coordinates before welding corresponding to the pole;
[0027] Control the pre-welding three-axis mechanism to move to the pre-welding three-axis photography coordinates to obtain the pre-welding image corresponding to the pole;
[0028] According to the position deviation between the pole and the center point of the image before welding and the three-axis photographing coordinates before welding, the three-axis pole coordinates before welding corresponding to the pole are obtained.
[0029] In one embodiment, the three-axis polar column coordinates before welding are converted into the welding machine coordinate system to obtain the welding polar column coordinates, including:
[0030] Obtain the second mark pre-welding three-axis coordinates and the third mark pre-welding three-axis coordinates of the second mark point and the third mark point in the target battery module in the pre-welding three-axis coordinate system;
[0031] Obtaining the second mark welding machine coordinates and the third mark welding machine coordinates of the second mark point and the third mark point in the welding machine coordinate system;
[0032] According to the second mark three-axis coordinates before welding, the third mark three-axis coordinates before welding, the second mark welding machine coordinates and the third mark welding machine coordinates, the coordinate system angle between the three-axis coordinate system before welding and the welding machine coordinate system is obtained;
[0033] According to the coordinate system angle, the three-axis pole coordinates before welding and the welding machine coordinates corresponding to the reference point, the welding pole coordinates corresponding to each pole are obtained, wherein the reference point is the first marking point or the second marking point.
[0034] In a second aspect, the present application also provides a pole welding control device, comprising:
[0035] An offset determination module is used to obtain first offset data according to the welding machine teaching coordinates and the welding machine target coordinates corresponding to the first mark point in the target battery module, wherein the welding machine teaching coordinates are obtained by teaching the first mark point in the mold change template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is a battery module in the production stage corresponding to the mold change template module;
[0036] A coordinate adjustment module, used for adjusting the welding pole coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module, where the welding pole coordinates are coordinate data in a welding machine coordinate system;
[0037] A point calculation module is used to perform calculations based on the coordinates of each adjustment pole to obtain the coordinates of each welding point corresponding to the target battery module;
[0038] The welding control module is used to control the movement of the welding robot when welding the target battery module based on the coordinates of each welding point.
[0039] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
[0041] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0042] The above-mentioned pole welding control method, device, computer equipment, storage medium and product obtain the first offset data according to the first mark welding machine coordinates corresponding to the first mark point in the target battery module and the welding machine teaching coordinates. The welding machine teaching coordinates are obtained by teaching the first mark point in the mold changing template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point. Based on the first offset data, the welding pole coordinates of each pole in the target battery module are adjusted to obtain the adjusted pole coordinates corresponding to each pole in the target battery module. Based on each adjusted pole coordinate, calculation processing is performed to obtain the coordinates of each welding point corresponding to the target battery module. Based on each welding point coordinate, the welding robot is controlled to move when welding the target battery module. In this way, by teaching the first mark point in the mold changing template module to the welding robot, the light output zero point of the galvanometer mechanism is made to correspond to the first mark point. The position corresponds to the first mark point to obtain the welding machine teaching coordinates. In the actual production process, the welding pole coordinates transmitted from the pre-welding station are adjusted according to the first offset data between the welding machine teaching coordinates and the first mark welding machine coordinates corresponding to the first mark point, and then the welding point coordinates corresponding to each welding point are calculated, and the movement of the welding robot is directly controlled by the welding point coordinates, without the need to teach each welding point one by one, and without the need to make a welding point template; in this way, when a new template is changed for the same battery target module production line, only one mark point needs to be taught to the welding robot, which can be used in subsequent production links, and the welding pole coordinates transmitted from the pre-welding working mechanism are adjusted for coordinate adjustment and calculation processing, so as to obtain the welding point coordinates corresponding to each welding point, reduce the steps of making the welding point template, reduce the difficulty of changing the template, and improve the efficiency of changing the new template. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are 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.
[0044] FIG1 is an application environment diagram of a pole welding control method according to an embodiment;
[0045] FIG2 is a schematic diagram of an exemplary structure of a pre-welding station mechanism;
[0046] Figure 3 is a schematic diagram of an exemplary structure of a change template module;
[0047] Figure 4 is a schematic diagram of an exemplary structure of a welding station mechanism;
[0048] Figure 5 A schematic flow chart of a pole welding control method in one embodiment;
[0049] Figure 6 A schematic flow chart of a pole welding control method in another embodiment;
[0050] Figure 7 A schematic flow chart of a pole welding control method in another embodiment;
[0051] Figure 8 A schematic diagram of a process for obtaining the coordinates of a welding pole in one embodiment;
[0052] Fig. 9 A schematic diagram of a flow chart of steps for obtaining three-axis polar coordinates before welding in an embodiment;
[0053] Fig.10 A schematic flow chart of the steps of obtaining the coordinates of the welding pole in another embodiment;
[0054] Fig.11 A structural block diagram of a pole welding control device in one embodiment;
[0055] FIG. 12 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.
[0057] The pole welding control method provided in the embodiment of the present application can be applied in the application environment as shown in FIG1. The controller 300 is connected to the pre-welding station mechanism 100 and the welding station mechanism 200 for communication, and is used to control the pre-welding station mechanism 100 to address the change template module on the production line or the battery module to be produced, and control the welding station mechanism 200 to weld the battery pole and the bar piece of the battery module to be produced based on the addressing result. The controller 300 is a computer device with data processing capabilities, which can be a host computer, such as a server or various terminal devices, wherein the terminal devices can be but are not limited to various personal computers, laptops, smart phones, tablet computers and Internet of Things devices; the controller 300 can also be various slave computers, such as a programmable logic controller (PLC), a single-chip microcomputer or an industrial computer.
[0058] Please refer to FIG. 2, which is a schematic diagram of an exemplary structure of the pre-welding station mechanism 100. The pre-welding station mechanism 100 is also called an addressing station mechanism, including a pre-welding three-axis mechanism and a pre-welding camera 140, wherein the pre-welding three-axis mechanism includes a pre-welding X-axis 110, a pre-welding Y-axis 120, and a pre-welding Z-axis 130, and the pre-welding camera 140 is installed on the pre-welding Z-axis 130. The module 150 can be a changeable template module or a battery module to be produced; the pre-welding camera 140 can be a 2D line scan camera or a 3D line scan camera, or a 2D area array camera or a 3D area array camera, or other industrial cameras.
[0059] Among them, the controller 300 is connected to each structure in the pre-welding station mechanism 100, and is used to control the movement of the pre-welding three-axis mechanism, control the pre-welding camera 140 to obtain the image of the mold change template module or the battery module to be produced, and perform image analysis to obtain the position data of each pole, and control the welding station mechanism 200 to perform battery pole welding based on the position data of each pole.
[0060] Please refer to Figure 3 , is a schematic diagram of an exemplary structure of a mold change template module in an embodiment of the present application. Among them, the mold change template module is consistent with the structure of the battery module to be produced corresponding to the mold change template module. The structure of the mold change template module shown in the present application is also the structure of the corresponding battery module to be produced, and will not be described one by one. For example, Figure 3 As shown, the changeover template module includes a front plate hole 410, a rear plate hole 420 and a pole 430, and the welding area 440 can be considered as the first welding area corresponding to the changeover template module; Figure 4A welding area 440 in the described changeover template module is composed of 4 poles (the poles numbered ①, ②, ③ and ④ in the figure), the welding point is the center point of the 4 poles, and the coordinates of the welding point are the average values of the coordinates of the 4 poles. The number of poles included in a welding area is related to the welding drawing selected during welding, and the maximum number of poles included in a welding area is related to the number of copper nozzle mechanisms set on the three axes of welding. Depending on the selected welding drawing, the number of poles included in a welding area can be 4, 2, 6, or 1; the pole welding control method provided in the embodiment of the present application does not limit the division of the welding area.
[0061] In an exemplary embodiment, the template change module is a machine adjustment module, wherein the machine adjustment module is generally formed by stacking normal battery cells and is often used for whole line adjustment.
[0062] In an exemplary embodiment, the mold change template module is a digital model first piece tooling. The digital model first piece tooling is processed by a machine tool according to digital model parameters, generally not a real battery cell, and the appearance size is almost the same as the standard size of the digital model. The pole is installed to make the first product and used as a welding station machine adjustment.
[0063] Among them, when welding the battery tabs, when the welding three-axis mechanism moves to the corresponding welding area, the copper nozzle mechanism needs to be pressed on the battery cell tab to guide and focus the welding laser beam to ensure that the laser beam can be accurately focused on the pole. The welding drawing is a drawing or document that describes the light output offset position of the galvanometer mechanism during the welding process.
[0064] For example, if the number of the copper nozzle mechanisms provided on the welding three-axis mechanism is 4, then the maximum number of poles included in one welding area is 4, and the number of poles included in one welding area in the welding drawing corresponding to the welding station mechanism is also 4; please refer to Figure 3 During the welding process, the welding robot and the welding three-axis mechanism are controlled to move to the corresponding position according to the position data of the first welding point, and then the welding three-axis mechanism is controlled to press down, and the copper nozzle mechanism is crimped to the four poles (the poles numbered ①, ②, ③ and ④ in the figure). The galvanometer mechanism is controlled to emit light once to the positions of poles ①, poles ②, poles ③ and poles ④ respectively along the preset light offset position in the welding drawing, and the poles ①, poles ②, poles ③ and poles ④ are welded to the bar.
[0065] Please refer to Figure 4, which is an exemplary structural diagram of a welding station mechanism 200. The welding station mechanism 200 includes a welding three-axis mechanism, a copper nozzle structure 240, a welding robot 250, a galvanometer mechanism 260 and a welding camera 270; the welding three-axis mechanism includes a welding X-axis 210, a welding Y-axis 220 and a welding Z-axis 230, the copper nozzle mechanism 240 is arranged on the welding Z-axis 230, and the galvanometer mechanism 260 and the welding camera 270 are both installed on the welding robot 250 and move with the welding robot 250. The controller 300 is connected to the welding three-axis mechanism, the welding robot 250, the galvanometer mechanism 260 and the welding camera 270 in the welding station mechanism 200.
[0066] It can be seen from Figures 2-4 that the data conversion between five coordinate systems is involved in the embodiment of the present application, wherein the pre-welding station mechanism 100 includes a pre-welding three-axis coordinate system corresponding to the pre-welding three-axis mechanism and a pre-welding camera coordinate system corresponding to the pre-welding camera 140, and the welding working mechanism 200 includes a welding machine coordinate system corresponding to the welding robot 250, a welding three-axis coordinate system corresponding to the welding three-axis mechanism, and a galvanometer coordinate system corresponding to the galvanometer mechanism 260. Among them, because the position between the pre-welding three-axis mechanism and the pre-welding camera is relatively fixed, the mapping relationship between the pre-welding three-axis coordinate system and the pre-welding camera coordinate system is relatively fixed; based on the relatively fixed position between the welding robot 250, the welding three-axis mechanism and the galvanometer mechanism 260, the mapping relationship between the welding machine coordinate system, the welding three-axis coordinate system and the galvanometer coordinate system is relatively fixed.
[0067] In an exemplary embodiment, Figure 5 As shown, a pole welding control method is provided, which is described by taking the method applied to the controller 300 in FIG. 1 as an example, and includes the following steps 502 to 508. Among them:
[0068] Step 502, obtaining first offset data according to the welding machine teaching coordinates and the first mark welding machine coordinates corresponding to the first mark point in the target battery module, wherein the target battery module is a battery module in the production stage corresponding to the changeover template module.
[0069] The welding machine teaching coordinates are obtained by teaching the first mark point in the change template module to the welding robot 250, so that the zero point position of the light emission of the galvanometer mechanism 260 corresponds to the first mark point. Exemplarily, the controller 300 moves the welding robot 250 to the position corresponding to the first mark point in the change template module through a teaching pendant (not shown in the figure), and then previews the zero point position of the light emission of the galvanometer mechanism 260, fine-tunes the position of the welding robot 250, so that the zero point position of the light emission of the galvanometer mechanism is at the center of the first mark point, records the coordinate data of the welding robot 250, and obtains the welding machine teaching coordinates.
[0070] The first marking point may be any point with obvious features on the replacement template module and the target battery module.
[0071] Exemplarily, the first mark point can be any pole in the conversion template module and the target battery module, can be the first pole welded in the conversion template module and the target battery module, can be the last pole welded, or can be a pole in the middle of the welding sequence. Another exemplary embodiment, the first mark point can be one of the front plate holes 410 in the conversion template module and the target battery module, or one of the rear plate holes 420 in the conversion template module and the target battery module.
[0072] Among them, in the example where the first mark point corresponds to the pole, the first mark welding machine coordinate is the coordinate data corresponding to the pole in the target battery module in the welding machine coordinate system; the controller obtains the data of each pole in the target battery module in the pre-welding three-axis coordinate system through the pre-welding station mechanism 100 and converts it to the welding machine coordinate system. After obtaining the welding pole coordinates of each pole, the welding pole coordinates corresponding to the pole are used as the first mark welding machine coordinates.
[0073] Among them, in the example where the first marker point corresponds to a feature point other than the pole, the controller 300 obtains the data of the first marker point in the target battery module in the pre-welding three-axis coordinate system through the pre-welding station mechanism 100 and converts it to the welding machine coordinate system to obtain the first marker welding machine coordinate corresponding to the feature point.
[0074] The difference data between the welding machine teaching coordinates and the first mark welding machine coordinates is used as the first offset data. The first offset data is the coordinate data under the welding machine coordinates. For example, the first offset data is recorded as (△x, △y).
[0075] Step 504 , adjusting the welding pole coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module.
[0076] The welding pole column coordinates are coordinate data in the welding machine coordinate system. For example, the target battery module is photographed by the pre-welding camera 140 of the pre-welding station mechanism 100, and the pre-welding three-axis pole column coordinates corresponding to each pole in the target battery module are obtained, and then each pre-welding three-axis pole column coordinate is converted into the welding pole column coordinates in the welding machine coordinate system.
[0077] Exemplarily, the coordinates of each welding pole are added with the first offset data (△x, △y) to obtain the adjusted pole coordinates corresponding to each pole.
[0078] Step 506 , performing calculation processing based on the coordinates of each adjustment pole column to obtain the coordinates of each welding point corresponding to the target battery module.
[0079] Exemplarily, calculating and processing according to the coordinates of each adjustment pole refers to averaging the adjustment pole coordinates corresponding to each pole included in each welding area to obtain the coordinate data of the center point of each welding area, that is, the welding point coordinates corresponding to each welding point.
[0080] In a possible implementation, calculations are performed based on the coordinates of each adjustment pole to obtain the coordinates of each welding point corresponding to the target battery module, including: obtaining the welding drawing corresponding to the galvanometer mechanism 260; and obtaining the welding point coordinates corresponding to each welding point based on the coordinates of each adjustment pole and the welding drawing.
[0081] In a possible implementation, for a specific production line, the welding drawing of the galvanometer mechanism 260 is fixed, the number of the copper nozzle mechanism 240 is also fixed, and the division of the welding area is also determined; in this implementation, the welding point coordinates corresponding to each welding point can be directly obtained according to the coordinates of each adjustment pole and the preset welding area division method. Figure 3 As shown in the example, each adjustment pole coordinate constitutes a matrix data, wherein each element in the matrix data is an adjustment pole coordinate; for the matrix data, the welding point coordinates corresponding to each welding point are determined according to the row step length and the column step length being 2.
[0082] Step 508 , based on the coordinates of each welding point, the welding robot is controlled to move when welding the target battery module.
[0083] The coordinates of each welding point are used by the controller 300 to control the movement of the welding robot 250 when welding the target battery module.
[0084] In a possible implementation, the welding three-axis mechanism is taught each welding point in the mold change template module to obtain the welding three-axis movement coordinates. When the welding robot is controlled to move based on the coordinates of each welding point, the welding three-axis mechanism is controlled to move based on the welding three-axis movement coordinates.
[0085] In a possible implementation, the coordinates of each welding point are converted into a welding three-axis coordinate system to obtain each welding three-axis moving coordinate; when controlling the welding robot 250 to move to welding point A according to the welding point coordinates, the galvanometer mechanism 260 is controlled to emit light according to a preset welding drawing, and the welding three-axis mechanism is controlled to move down according to the welding three-axis moving coordinates corresponding to welding point A.
[0086] The pole welding control method provided in the above embodiment obtains first offset data according to the first mark welding machine coordinates corresponding to the first mark point in the target battery module and the welding machine teaching coordinates, the welding machine teaching coordinates are obtained by teaching the first mark point in the mold changing template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the welding pole coordinates of each pole in the target battery module are adjusted based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module, and the calculation processing is performed based on each adjusted pole coordinate to obtain the coordinates of each welding point corresponding to the target battery module, and the welding robot is controlled to move when welding the target battery module based on the coordinates of each welding point; in this way, by teaching the first mark point in the mold changing template module to the welding robot, the light output zero point position of the galvanometer mechanism corresponds to the first mark point. The marking point corresponds to the welding machine teaching coordinates. In the actual production process, the welding pole coordinates transmitted from the pre-welding station are adjusted according to the first offset data between the welding machine teaching coordinates and the first marking welding machine coordinates corresponding to the first marking point, and then the welding point coordinates corresponding to each welding point are calculated, and the movement of the welding robot is directly controlled by the welding point coordinates, without the need to teach each welding point one by one, and without the need to make a welding point template; in this way, when a new template is changed for the same battery target module production line, only one marking point needs to be taught to the welding robot, which can be used in subsequent production links, and the welding pole coordinates transmitted from the pre-welding working mechanism are adjusted for coordinate adjustment and calculation processing, so as to obtain the welding point coordinates corresponding to each welding point, reduce the steps of making welding point templates, reduce the difficulty of changing, and improve the efficiency of changing new templates.
[0087] In an exemplary embodiment, based on Figure 5 For the examples shown, please refer to Figure 6 The pole welding control method provided in this embodiment further includes steps 602 to 606, wherein:
[0088] Step 602: for each welding point, according to the welding point coordinates corresponding to the welding point and the coordinates of each adjustment pole corresponding to the welding point, obtain the welding light output data corresponding to the welding point.
[0089] The welding light data is the coordinate data in the welding machine coordinate system, which is the light output offset angle of each pole in the welding area corresponding to the welding point when the welding robot 250 moves to the welding point.
[0090] Exemplarily, for each welding point, position coordinate difference data between each pole corresponding to the welding point and the welding point is obtained as welding light output data corresponding to the welding point.
[0091] For example, please refer to Figure 3, taking the case where the welding area corresponding to a welding point includes 4 poles as an example, the welding point coordinates are the average values of the adjusted pole coordinates corresponding to poles ①, pole ②, pole ③ and pole ④, and the welding light data corresponding to the welding point are the differences between the adjusted pole coordinates corresponding to the above four poles and the welding point coordinates; for example, the adjusted pole coordinates of poles ① to pole ④ are (0, 0), (2, 0), (0, -1) and (2, -1), respectively, and the corresponding welding point coordinates are (1, -0.5), and the welding light data corresponding to the welding point are (-1, 0.5), (1, 0.5), (-1, -0.5) and (1, -0.5).
[0092] Step 604, convert the welding light output data into the galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point.
[0093] Among them, the welding light output data is the coordinate data in the welding machine coordinate system, and the galvanometer mechanism outputs light according to the coordinate data in the galvanometer coordinate system; therefore, this step converts the welding light output data into the galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point.
[0094] In a possible implementation, a mapping relationship between the welding machine coordinate system and the galvanometer coordinate system is obtained in advance, and the welding light output data is converted to the galvanometer coordinate system based on the mapping relationship. For ease of description, in this embodiment, the mapping relationship between the welding machine coordinate system and the galvanometer coordinate system is referred to as a first mapping relationship.
[0095] Exemplarily, the first mapping relationship includes a first rotation coefficient between the welding machine coordinate system and the galvanometer coordinate system. In a possible implementation of the example, the first rotation coefficient can be obtained in the following manner:
[0096] Take the galvanometer observation plate and place it under the galvanometer mechanism 260, trigger the galvanometer mechanism 260 to emit light once at zero offset, mark the position coordinate of the galvanometer mechanism 260 at this time as coordinate Z1, and then the welding camera 270 takes a photo and takes a picture, and the current coordinate offset data of the welding robot is recorded as coordinate C1 (0,0); the galvanometer mechanism 260 is offset in the X direction for a certain distance to emit light once, and the position coordinate of the galvanometer mechanism 260 at this time is marked as coordinate Z2, keep the position of the welding robot 250 unchanged, take a photo and take a picture through the welding camera 270, and record the coordinate between the light emitting point coordinate and point C1 in the image. The offset data is recorded as coordinate C2 (△X1, 0); the galvanometer mechanism 260 is offset in the Y direction for a certain distance to emit light once, and the position coordinate of the galvanometer mechanism 260 at this time is recorded as coordinate Z3, the position of the welding robot 250 is kept stationary, and the welding camera 270 is used to take a picture, and the coordinate offset data between the coordinate of the light-emitting point in the image and the coordinate C1 is recorded as coordinate C3 (0, △Y1); according to the positional relationship among coordinates Z1, coordinate Z2, coordinate Z3, coordinate C1, coordinate C2 and coordinate C3, the first rotation coefficient between the welding machine coordinate system and the galvanometer coordinate system is calculated.
[0097] In this possible implementation, the welding light output data is subjected to coordinate mapping processing based on the first rotation coefficient to obtain the galvanometer light output data that can be directly called by the galvanometer mechanism.
[0098] Exemplarily, the first mapping relationship includes an external parameter matrix between the welding machine coordinate system and the galvanometer coordinate system; in a possible implementation of this example, the external parameter matrix between the welding machine coordinate system and the galvanometer coordinate system is obtained by nine-point marking.
[0099] Step 606, when controlling the welding robot to move to the welding point, controlling the galvanometer mechanism to emit light based on the galvanometer light output data.
[0100] Among them, when the galvanometer mechanism is performing light welding, a welding drawing with multiple apertures is set. In this embodiment, the light-emitting coordinates of the aperture relative to the origin of the galvanometer field of view are not preset in the drawing, that is, in the initial case, the light-emitting position of each aperture falls on the origin of the galvanometer field of view; in actual production, the galvanometer mechanism is controlled to emit light at each welding point based on the galvanometer light-emitting data corresponding to the welding point, so that each aperture can fall on the center point of the corresponding pole with high accuracy.
[0101] In the pole welding control method provided in the above embodiment, when the welding robot moves according to the coordinates of each welding point, the light output position of the galvanometer mechanism is determined based on the welding point coordinates and the pole adjustment coordinates corresponding to the welding point, thereby improving the light output accuracy of the galvanometer mechanism and improving the reliability of the welding results.
[0102] Furthermore, in the embodiment in which the machine adjustment module serves as the mold replacement template module, because the machine adjustment module is formed by stacking normal battery cells, it is not necessarily a standard module; there may be deviations between the pole positions of the corresponding battery cells in the machine adjustment module and the target battery module. The pole welding control method provided in the above embodiment can avoid the possible deviations in the galvanometer light output offset data directly used based on the machine adjustment module as the mold replacement template module in the related technology. The method provided in this embodiment does not have high requirements on battery cell consistency, has strong compatibility, and can determine the light output data of the galvanometer mechanism in real time for each welding point, thereby improving the accuracy of the light output and the reliability of welding.
[0103] In an exemplary embodiment, based on Figure 5 For the examples shown, please refer to Figure 7 The pole welding control method provided in this embodiment further includes steps 702 to 708, wherein:
[0104] Step 702: Convert the coordinates of each welding point into the welding three-axis coordinate system to obtain the welding three-axis initial coordinates corresponding to each welding point.
[0105] Among them, the welding point coordinates are the coordinate data in the welding machine coordinate system. During the welding process, the coordinates of each welding point need to be converted to the welding three-axis coordinate system for calling to control the movement of the welding three-axis mechanism.
[0106] In a possible implementation, a mapping relationship between the welding machine coordinate system and the welding three-axis coordinate system is obtained in advance, and the welding point coordinates are converted to the welding three-axis coordinate system based on the mapping relationship. For ease of description, in this implementation, the mapping relationship between the welding machine coordinate system and the welding three-axis coordinate system is referred to as a second mapping relationship.
[0107] Exemplarily, the second mapping relationship includes a second rotation coefficient between the welding machine coordinate system and the welding three-axis coordinate system. In a possible implementation of this example, the second rotation coefficient can be obtained in the following manner:
[0108] A three-axis mark point is set on the copper nozzle mechanism 240 of the welding three-axis mechanism; the initial position of the three-axis mark point is recorded as coordinate A1; the welding camera 270 is moved above the three-axis mark point so that the three-axis mark point is at the center point of the camera image, image P1 is acquired, and image P1 is set as a template, and the controller 300 acquires the current position coordinate of the welding robot 250 as coordinate B1; the welding X-axis 210 is moved a sufficient distance to record the position as coordinate A2, the welding camera 270 is moved above the current three-axis mark point, image P2 is acquired, image P2 is analyzed, and the distance image of the three-axis mark point in image P2 is acquired The controller 300 converts the offset data from the welding camera coordinate system to the welding machine coordinate system and adds the current position coordinates of the welding robot, which is recorded as coordinate B2; the welding Y axis 220 is moved a sufficient distance to record the position as coordinate A3, and the welding camera 270 is moved to the current top of the three-axis mark point to obtain image P3, and image P3 is analyzed to obtain the offset data between the three-axis mark point and the center point of the image in image P3. The controller 300 converts the offset data from the welding camera coordinate system to the welding machine coordinate system and adds the current position coordinates of the welding robot, which is recorded as coordinate B3. The second rotation coefficient between the welding machine coordinate system and the welding three-axis coordinate system is calculated through the positional relationship of coordinates A1, coordinates A2, coordinates A3, coordinates B1, coordinates B2 and coordinates B3. Exemplarily, the welding camera coordinate system and the welding machine coordinate system can be associated by means of nine-point marking.
[0109] The second rotation coefficient in the above implementation method takes into account the coordinate offset that may be caused when moving the welding X-axis, welding Y-axis and welding camera; when the second rotation coefficient is obtained based on the above implementation method for coordinate mapping, the accuracy of coordinate mapping can be improved.
[0110] In this possible implementation manner, coordinate mapping processing is performed on the coordinates of each welding point based on the second rotation coefficient, and each welding point coordinate is converted into each welding three-axis movement coordinate in the welding three-axis coordinate system.
[0111] Exemplarily, the second mapping relationship includes an external parameter matrix between the welding machine coordinate system and the welding three-axis coordinate system. In a possible implementation of this example, the external parameter matrix between the welding machine coordinate system and the welding three-axis coordinate system is obtained by nine-point marking.
[0112] Step 704, obtaining second offset data according to the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point.
[0113] The welding three-axis teaching coordinates are obtained by teaching the target welding point in the changeover template module to the welding three-axis mechanism. The target welding point is any one of a plurality of welding points. Exemplarily, the target welding point is the welding point corresponding to the first welding area in the changeover template module; it can also be the welding point corresponding to the last welding area.
[0114] Among them, the welding three-axis teaching coordinates and the welding three-axis initial coordinates are the coordinate data under the welding three-axis coordinate system.
[0115] Exemplarily, the second offset data is the coordinate difference between the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point.
[0116] Step 706: Based on the second offset data and the initial coordinates of each welding three-axis, the welding three-axis movement coordinates corresponding to each welding point are obtained.
[0117] Exemplarily, the second offset data is added to the initial coordinates of each welding three-axis to obtain the moving coordinates of each welding three-axis.
[0118] Step 708, when controlling the welding robot to move to the welding point, controlling the movement of the welding three-axis mechanism based on the welding three-axis movement coordinates.
[0119] The pole welding control method provided in the above embodiment obtains the welding three-axis teaching coordinates by teaching a welding point in the mold change template module to the welding three-axis mechanism; in the actual production process, based on the deviation value between the welding three-axis teaching coordinates and the welding three-axis initial coordinates converted based on the welding point coordinates of the target welding point, the welding three-axis moving coordinates for controlling the actual movement of the welding three-axis mechanism are obtained; in this way, in the production process of the target battery module, based on the welding three-axis moving coordinates, when welding is performed for each welding point, the moving downward position of the welding three-axis mechanism can follow the real-time obtained pole coordinates and the welding three-axis teaching coordinates for fine-tuning, so that the welding three-axis mechanism can have a more accurate crimping position during welding, improve the reliability of welding, avoid the problem of incorrect crimping position caused by poor consistency of incoming materials of the target battery module to be produced, and at the same time reduce the probability of the copper nozzle mechanism blocking light, and optimize the copper nozzle mechanism blocking light problem.
[0120] In an exemplary embodiment, based on Figure 5 For the examples shown, please refer to Figure 8 , the provided pole welding control method includes steps 802 to 806, wherein:
[0121] Step 802, by teaching the target pole in the mold changing template module to the pre-welding three-axis mechanism, obtain the pre-welding three-axis pole teaching coordinates corresponding to the target pole, the target pole is any one of the multiple poles of the mold changing template module.
[0122] Exemplarily, the target pole is the first pole in the conversion template module, that is, the various coordinate indexes corresponding to the pole are 1.
[0123] Among them, teaching the target pole in the mold change template module to the pre-welding three-axis mechanism includes: moving the pre-welding three-axis mechanism so that the target pole is located at the center point of the image acquired by the pre-welding camera, and marking the position coordinates of the pre-welding three-axis mechanism at this time as the pre-welding three-axis pole teaching coordinates.
[0124] Step 804, according to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, obtain the pre-welding three-axis pole column coordinates corresponding to each pole, and the pre-welding three-axis pole column coordinates are the coordinate data under the pre-welding three-axis coordinate system.
[0125] Among them, the product parameters corresponding to the target battery module include cell spacing, pole spacing, and number of cells, etc. According to the pole spacing in the product parameters, the distance relationship between each pole and the target pole can be obtained.
[0126] In one possible embodiment, the target pole is the first pole in the target battery module. According to the pre-welding three-axis pole teaching coordinates and the product parameters corresponding to the target battery module, the process of obtaining the pre-welding three-axis pole coordinates corresponding to each pole includes: adding the pre-welding three-axis pole teaching coordinates and the pole transverse spacing and the pole longitudinal spacing to obtain the pre-welding three-axis pole coordinates.
[0127] In one possible implementation, the target pole is the first pole in the conversion template module, and the product parameters include the pole spacing. Fig. 9 According to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, the process of obtaining the pre-welding three-axis pole column coordinates corresponding to each pole includes: for each pole in the target battery module, obtaining the corresponding pre-welding three-axis pole column coordinates through steps 902 to 906:
[0128] Step 902, obtaining the three-axis photographing coordinates before welding corresponding to the poles according to the pole spacing and the three-axis pole teaching coordinates before welding.
[0129] Exemplarily, the pole spacing includes the pole transverse spacing and the pole longitudinal spacing, wherein the pole transverse spacing refers to the distance between two poles adjacent to each other in the transverse direction, and the pole longitudinal spacing refers to the distance between two poles adjacent to each other in the longitudinal direction; Exemplarily, in this embodiment, the three-axis pole teaching coordinates before welding, the pole transverse spacing, and the pole longitudinal spacing are added and calculated to obtain the three-axis photographing coordinates before welding.
[0130] The pre-welding three-axis pole teaching coordinates are the position data of the pre-welding three-axis mechanism when the target pole is located at the center point of the image acquired by the pre-welding camera during the teaching process. According to the pole spacing and the pre-welding three-axis pole teaching coordinates, the pre-welding three-axis photography coordinates for acquiring the image of each pole using the pre-welding camera are obtained. Among them, the pre-welding three-axis photography coordinates are the coordinate data in the pre-welding three-axis coordinate system.
[0131] Exemplarily, the lateral spacing between the poles is the same as the longitudinal spacing between the poles.
[0132] Step 904, control the pre-welding three-axis mechanism to move to the pre-welding three-axis photography coordinates to obtain a pre-welding image corresponding to the pole.
[0133] Among them, the three-axis mechanism before welding is moved according to the three-axis photography coordinates before welding and the camera before welding is used to take pictures. The center point of the obtained pre-welding image should theoretically be the pole.
[0134] Step 906, obtaining the three-axis pole coordinates before welding corresponding to the pole according to the position deviation between the pole and the center point of the image in the pre-welding image and the three-axis photographing coordinates before welding.
[0135] Among them, the position deviation between the pole and the center point of the image before welding is converted from the pre-welding camera coordinate system to the pre-welding three-axis coordinate system, and then the converted position deviation is added to the pre-welding three-axis camera coordinate to obtain the pre-welding three-axis pole coordinate corresponding to the pole. Exemplarily, the pre-welding camera coordinate system and the pre-welding three-axis coordinate system can be associated by nine-point annotation.
[0136] Exemplarily, the position deviation between the pole and the center point of the image in the pre-welding image refers to the position deviation between the center point of the pole and the center point of the image in the pre-welding image.
[0137] In this implementation, the three-axis welding mechanism is controlled to move the three-axis welding mechanism in sequence according to the taught coordinates of the three-axis poles before welding, the lateral spacing of the poles, and the longitudinal spacing of the poles. The image of each pole is acquired through a pre-welding camera, and the three-axis pole coordinates before welding corresponding to each pole are obtained by analyzing the deviation data of each pole from the center point of the image in the corresponding image. The three-axis pole coordinates before welding obtained in this way can improve the accuracy of pole coordinate acquisition.
[0138] Step 806, converting the three-axis polar coordinates before welding into the welding machine coordinate system to obtain the welding polar coordinates.
[0139] In the pole welding control method provided in the above embodiment, combined with the product parameters of the target battery module, the pole coordinates corresponding to a pole are taught to the pre-welding three-axis mechanism, so that the pre-welding three-axis pole coordinates corresponding to each pole can be accurately and quickly obtained.
[0140] In an exemplary embodiment, based on Figure 8The embodiment shown in the figure provides a pole welding control method which involves converting the three-axis pole coordinates before welding into the welding machine coordinate system to obtain the coordinates of each welding pole. Fig.10 , the process includes steps 1002 to 1008, wherein:
[0141] Step 1002, obtaining the second mark pre-welding three-axis coordinates and the third mark pre-welding three-axis coordinates of the second mark point and the third mark point in the target battery module in the pre-welding three-axis coordinate system.
[0142] Among them, the second mark point and the third mark point are generally points with obvious features on the welding surface of the battery module that are easy to visually identify; and the second mark point and the third mark point must have a certain difference in the XY direction, and the larger the difference, the smaller the error of the angle after the second mark point and the third mark point are connected in the current coordinate system.
[0143] Exemplarily, the second landmark is Figure 3 The front end plate hole 410 in the target battery module shown, the third mark point is Figure 3 The rear plate hole 420 in the changeover template module is shown.
[0144] Exemplarily, the process of obtaining the second mark three-axis coordinates before welding and the third mark three-axis coordinates before welding in the target battery module may include: first, by teaching the second mark point of the three-axis mechanism before welding, the second mark point is at the center point of the image acquired by the camera before welding, and the position coordinates of the three-axis mechanism before welding at this time are recorded as the second mark three-axis teaching coordinates before welding; by teaching the third mark point of the three-axis mechanism before welding, the third mark point is at the center point of the image acquired by the camera before welding, and the position coordinates of the three-axis mechanism before welding at this time are recorded as the third mark three-axis teaching coordinates before welding; wherein the second mark three-axis teaching coordinates before welding and the third mark three-axis teaching coordinates before welding as well as the three-axis pole teaching coordinates before welding of the target pole in the aforementioned embodiment can be set as the pre-welding station template corresponding to the conversion template module.
[0145] Secondly, according to the second mark welding pre-three-axis teaching coordinates, the three-axis mechanism before welding is moved to obtain the corresponding image, the deviation data between the second mark point and the center point of the image in the image is recorded, and the second mark welding pre-three-axis teaching coordinates are added with the deviation data to obtain the second mark welding pre-three-axis coordinates. According to the third mark welding pre-three-axis teaching coordinates, the three-axis mechanism before welding is moved to obtain the corresponding image, the deviation data between the third mark point and the center point of the image in the image is recorded, and the third mark welding pre-three-axis teaching coordinates are added with the deviation data to obtain the third mark welding pre-three-axis coordinates.
[0146] Step 1004, obtaining the second mark welding machine coordinates and the third mark welding machine coordinates of the second mark point and the third mark point in the welding machine coordinate system.
[0147] Exemplarily, the second mark welding machine coordinates and the third mark welding machine coordinates can be obtained in the following manner:
[0148] First, by teaching the welding robot a second mark point, the second mark point is located at the center point of the image acquired by the welding camera, and the position coordinates of the welding robot at this time are recorded as the second mark welding machine teaching coordinates; by teaching the welding robot a third mark point, the third mark point is located at the center point of the image acquired by the welding camera, and the position coordinates of the welding robot at this time are recorded as the third mark welding machine teaching coordinates; the second mark welding machine teaching coordinates and the third mark welding machine teaching coordinates can be set as the welding station template corresponding to the conversion template module.
[0149] Secondly, the welding robot is moved according to the second mark welding machine teaching coordinates, the corresponding image is obtained, the deviation data between the second mark point in the image and the center point of the image is recorded, and the second mark welding machine teaching coordinates are added with the deviation data to obtain the second mark welding machine coordinates; the welding robot is moved according to the third mark welding machine teaching coordinates, the corresponding image is obtained, the deviation data between the third mark point in the image and the center point of the image is recorded, and the third mark welding machine teaching coordinates are added with the deviation data to obtain the third mark welding machine coordinates.
[0150] Step 1006, obtaining the coordinate system angle between the three-axis coordinate system before welding and the welding machine coordinate system according to the second mark three-axis coordinate system before welding, the third mark three-axis coordinate system before welding, the second mark welding machine coordinate system and the third mark welding machine coordinate system.
[0151] Among them, the angle between the line segments is obtained by connecting the second mark three-axis coordinate before welding and the third mark three-axis coordinate before welding, and connecting the second mark machine tool coordinate and the third mark welding machine coordinate, which is the coordinate system angle between the three-axis coordinate system before welding and the welding machine coordinate system.
[0152] Step 1008, obtain the welding pole coordinates corresponding to each pole according to the coordinate system angle, the three-axis pole coordinates before welding and the welding machine coordinates corresponding to the reference point, wherein the reference point is the second marking point or the third marking point.
[0153] Exemplarily, the reference point is the second marking point; the distance and angle relationship between each pole and the second marking point will not change due to the change of the coordinate system. Therefore, based on the coordinate system angle, the second marking three-axis coordinates before welding and the second marking welding machine coordinates and the three-axis coordinates before welding corresponding to each pole, the welding pole coordinates corresponding to each pole can be obtained.
[0154] Exemplarily, the reference point is the third marking point; the principle and method of obtaining the welding pole coordinates corresponding to each pole are similar to the previous example and will not be repeated here.
[0155] In the above embodiment, based on the second marking point and the third marking point, the coordinate angle between the welding machine coordinate system and the three-axis coordinate system before welding is determined in real time. Considering that the welding robot and the three-axis before welding are two relatively independent workstations, the problem of possible errors in coordinate conversion caused by the use of a fixed coordinate system mapping relationship is avoided. The coordinate conversion steps provided in this embodiment can improve the accuracy of the coordinates of each welding pole.
[0156] In an exemplary embodiment, a pole welding control method is provided, which is described by taking the method applied to the controller 300 in FIG. 1 as an example, and includes steps S2 to S30, wherein:
[0157] Step S2, by teaching the target pole in the mold changing template module to the pre-welding three-axis mechanism, obtain the pre-welding three-axis pole teaching coordinates corresponding to the target pole, the target pole is any one of the multiple poles of the mold changing template module.
[0158] Step S4, according to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, obtain the pre-welding three-axis pole column coordinates corresponding to each pole, and the pre-welding three-axis pole column coordinates are the coordinate data under the pre-welding three-axis coordinate system.
[0159] Optionally, for each pole in the target battery module, the corresponding pre-welding three-axis pole coordinates are obtained through the following steps: based on the pole spacing and the pre-welding three-axis pole teaching coordinates, the pre-welding three-axis photographing coordinates corresponding to the pole are obtained; the pre-welding three-axis mechanism is controlled to move to the pre-welding three-axis photographing coordinates to obtain the pre-welding image corresponding to the pole; based on the position deviation between the pole and the image center point in the pre-welding image, and the pre-welding three-axis photographing coordinates, the pre-welding three-axis pole coordinates corresponding to the pole are obtained.
[0160] Step S6, obtaining the second mark pre-welding three-axis coordinates and the third mark pre-welding three-axis coordinates of the second mark point and the third mark point in the target battery module in the pre-welding three-axis coordinate system.
[0161] Step S8, obtaining the second mark welding machine coordinates and the third mark welding machine coordinates of the second mark point and the third mark point in the welding machine coordinate system.
[0162] Step S10, obtaining the coordinate system angle between the three-axis coordinate system before welding and the welding machine coordinate system according to the second mark three-axis coordinate system before welding, the third mark three-axis coordinate system before welding, the second mark welding machine coordinate system and the third mark welding machine coordinate system.
[0163] Step S12, obtaining the welding pole coordinates corresponding to each pole according to the coordinate system angle, the three-axis pole coordinates before welding and the welding machine coordinates corresponding to the reference point, wherein the reference point is the first marking point or the second marking point.
[0164] Step S14, obtaining the first offset data according to the welding machine teaching coordinates and the first mark welding machine coordinates corresponding to the first mark point in the target battery module, the welding machine teaching coordinates are obtained by teaching the first mark point in the mold change template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is the battery module in the production stage corresponding to the mold change template module.
[0165] Step S16, adjusting the welding pole coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module, where the welding pole coordinates are coordinate data in the welding machine coordinate system.
[0166] Step S18, performing calculation processing based on the coordinates of each adjustment pole column to obtain the coordinates of each welding point corresponding to the target battery module.
[0167] Step S20, for each welding point, according to the welding point coordinates corresponding to the welding point and the coordinates of each adjustment pole corresponding to the welding point, obtain the welding light output data corresponding to the welding point.
[0168] Step S22, converting the welding light output data into the galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point.
[0169] Step S24, converting the coordinates of each welding point into the welding three-axis coordinate system to obtain the welding three-axis initial coordinates corresponding to each welding point.
[0170] Step S26, obtaining the second offset data according to the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point, the welding three-axis teaching coordinates are obtained by teaching the target welding point in the mold change template module to the welding three-axis mechanism, the target welding point is any one of the multiple welding points, and the welding three-axis teaching coordinates and the welding three-axis initial coordinates are coordinate data under the welding three-axis coordinate system.
[0171] Step S28, based on the second offset data and the initial coordinates of each welding three-axis, the welding three-axis movement coordinates corresponding to each welding point are obtained.
[0172] Step S30, based on the coordinates of each welding point, the welding robot is controlled to move when welding the target battery module. When the welding robot is controlled to move to the welding point, the galvanometer mechanism is controlled to emit light based on the galvanometer light output data, and the welding three-axis mechanism is controlled to move based on the welding three-axis movement coordinates.
[0173] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0174] It is understood that the term "based on" used in this application is used to describe one or more factors that affect the determination, and does not exclude other factors that may affect the determination. For example, the phrase "determine A based on B" means that the determination of A can be based entirely or at least partially on factor B, that is, B is a factor that affects the determination of A, but does not exclude that the determination of A is also based on C.
[0175] Based on the same inventive concept, the embodiment of the present application also provides a pole welding control device for implementing the pole welding control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more pole welding control device embodiments provided below can refer to the limitations of the pole welding control method above, and will not be repeated here.
[0176] In an exemplary embodiment, Fig.11 As shown, a pole welding control device is provided, including: an offset determination module 1102, a coordinate adjustment module 1104, a point calculation module 1106 and a welding control module 1108, wherein:
[0177] The offset determination module 1102 is used to obtain first offset data according to the welding machine teaching coordinates and the welding machine target coordinates corresponding to the first mark point in the target battery module, wherein the welding machine teaching coordinates are obtained by teaching the first mark point in the mold change template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is a battery module in the production stage corresponding to the mold change template module;
[0178] A coordinate adjustment module 1104 is used to adjust the welding pole coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module, where the welding pole coordinates are coordinate data in a welding machine coordinate system;
[0179] The point calculation module 1106 is used to perform calculations based on the coordinates of each adjustment pole to obtain the coordinates of each welding point corresponding to the target battery module;
[0180] The welding control module 1108 is used to control the movement of the welding robot when welding the target battery module based on the coordinates of each welding point.
[0181] In an exemplary embodiment, the pole welding control device includes a galvanometer control module, which is used to obtain welding light output data corresponding to each welding point according to the welding point coordinates corresponding to the welding point and the adjustment pole coordinates corresponding to the welding point, convert the welding light output data into a galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point, and when controlling the welding robot to move to the welding point, control the galvanometer mechanism to emit light based on the galvanometer light output data.
[0182] In an exemplary embodiment, the pole welding control device includes a welding three-axis control module, which is used to convert the coordinates of each welding point into a welding three-axis coordinate system to obtain the welding three-axis initial coordinates corresponding to each welding point; according to the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point, a second offset data is obtained, the welding three-axis teaching coordinates are obtained by teaching the target welding point in the mold change template module to the welding three-axis mechanism, the target welding point is any one of a plurality of welding points, the welding three-axis teaching coordinates and the welding three-axis initial coordinates are coordinate data in the welding three-axis coordinate system; based on the second offset data and each welding three-axis initial coordinates, the welding three-axis moving coordinates corresponding to each welding point are obtained; when controlling the welding robot to move to the welding point, the welding three-axis mechanism is controlled to move based on the welding three-axis moving coordinates.
[0183] In an exemplary embodiment, the pole welding control device also includes a teaching coordinate acquisition module and a pre-welding welding address transmission module; wherein the teaching coordinate acquisition module is used to obtain the pre-welding three-axis pole teaching coordinates corresponding to the target pole by teaching the pre-welding three-axis mechanism in the mold change template module, and the target pole is any one of the multiple poles in the mold change template module; the pre-welding welding address transmission module is used to obtain the pre-welding three-axis pole coordinates corresponding to each pole according to the pre-welding three-axis pole teaching coordinates and the product parameters corresponding to the target battery module, the pre-welding three-axis pole coordinates are the coordinate data under the pre-welding three-axis coordinate system, and the pre-welding three-axis pole coordinates are converted to the welding machine coordinate system to obtain the coordinates of each welding pole, and the product parameters include the pole spacing.
[0184] In an exemplary embodiment, the pre-weld welding address transmission module is used to obtain the second mark pre-weld three-axis coordinates and the third mark pre-weld three-axis coordinates of the second mark point and the third mark point in the target battery module in the pre-weld three-axis coordinate system; obtain the second mark welding machine coordinates and the third mark welding machine coordinates of the second mark point and the third mark point in the welding machine coordinate system; obtain the coordinate system angle between the pre-weld three-axis coordinate system and the welding machine coordinate system according to the second mark pre-weld three-axis coordinates, the third mark pre-weld three-axis coordinates, the second mark welding machine coordinates and the third mark welding machine coordinates; obtain the welding pole coordinates corresponding to each pole according to the coordinate system angle, the pre-weld three-axis coordinates corresponding to the reference point and the welding machine coordinates corresponding to the reference point, wherein the reference point is the first mark point or the second mark point.
[0185] Each module in the above-mentioned pole welding control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0186] In an exemplary embodiment, a computer device is provided, which may be a PLC, and its internal structure diagram may be shown in FIG12. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data that needs to be stored and called when executing the pole welding control method. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a pole welding control method is implemented.
[0187] Those skilled in the art will understand that the structure shown in FIG. 12 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0188] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0189] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0190] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0191] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0192] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0193] The technical features of the above embodiments may be arbitrarily combined. 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.
[0194] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A pole welding control method, characterized in that: The method comprises: Obtaining first offset data according to the welding machine teaching coordinates and the first mark welding machine coordinates corresponding to the first mark point in the target battery module, wherein the welding machine teaching coordinates are obtained by teaching the first mark point in the changeover template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is a battery module in the production stage corresponding to the changeover template module; Adjusting the welding pole column coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole column coordinates corresponding to each pole in the target battery module, wherein the welding pole column coordinates are coordinate data in a welding machine coordinate system; Calculation is performed based on the coordinates of each adjustment pole column to obtain the coordinates of each welding point corresponding to the target battery module; The welding robot is controlled to move when welding the target battery module based on the coordinates of each welding point.
2. The pole welding control method according to claim 1, characterized in that: The method further comprises: For each welding point, according to the welding point coordinates corresponding to the welding point and the coordinates of each adjustment pole corresponding to the welding point, the welding light output data corresponding to the welding point is obtained; The welding light output data is converted into a galvanometer coordinate system to obtain the galvanometer light output data corresponding to the welding point; When the welding robot is controlled to move to the welding point, the galvanometer mechanism is controlled to emit light based on the galvanometer light emitting data.
3. The pole welding control method according to claim 1, characterized in that: The method further comprises: Convert the coordinates of each welding point into the welding three-axis coordinate system to obtain the welding three-axis initial coordinates corresponding to each welding point; According to the welding three-axis teaching coordinates and the welding three-axis initial coordinates corresponding to the target welding point, the second offset data is obtained, wherein the welding three-axis teaching coordinates are obtained by teaching the target welding point in the changeable template module to the welding three-axis mechanism, and the target welding point is any one of a plurality of welding points, and the welding three-axis teaching coordinates and the welding three-axis initial coordinates are coordinate data under the welding three-axis coordinate system; Based on the second offset data and the initial coordinates of the three welding axes, the three welding axis movement coordinates corresponding to the welding points are obtained; When the welding robot is controlled to move to the welding point, the welding three-axis mechanism is controlled to move based on the welding three-axis movement coordinates.
4. The pole welding control method according to claim 1, characterized in that: The method further comprises: By teaching the target pole in the mold change template module to the pre-welding three-axis mechanism, the pre-welding three-axis pole teaching coordinates corresponding to the target pole are obtained, and the target pole is any one of the multiple poles of the mold change template module; According to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module, the pre-welding three-axis pole column coordinates corresponding to each pole are obtained, wherein the pre-welding three-axis pole column coordinates are coordinate data under the pre-welding three-axis coordinate system, and the product parameters include pole column spacing; The three-axis polar column coordinates before welding are converted into the welding machine coordinate system to obtain the welding polar column coordinates.
5. The pole welding control method according to claim 4, characterized in that: The method of obtaining the pre-welding three-axis pole column coordinates corresponding to each pole according to the pre-welding three-axis pole column teaching coordinates and the product parameters corresponding to the target battery module includes: For each pole in the target battery module, the corresponding three-axis pole coordinates before welding are obtained through the following steps: According to the pole spacing and the pre-welding three-axis pole teaching coordinates, obtaining the pre-welding three-axis photography coordinates corresponding to the pole; Control the pre-welding three-axis mechanism to move to the pre-welding three-axis photographing coordinates to obtain a pre-welding image corresponding to the pole; According to the position deviation between the pole and the center point of the image in the pre-welding image, and the pre-welding three-axis photographing coordinates, the pre-welding three-axis pole coordinates corresponding to the pole are obtained.
6. The method according to claim 4, characterized in that The converting of the three-axis polar column coordinates before welding into the welding machine coordinate system to obtain the welding polar column coordinates includes: Obtaining the second mark pre-welding three-axis coordinates and the third mark pre-welding three-axis coordinates of the second mark point and the third mark point in the target battery module in the pre-welding three-axis coordinate system; Acquire the second mark welding machine coordinates and the third mark welding machine coordinates of the second mark point and the third mark point in the welding machine coordinate system; Obtaining a coordinate system angle between the three-axis coordinate system before welding and the welding machine coordinate system according to the second mark three-axis coordinate system before welding, the third mark three-axis coordinate system before welding, the second mark welding machine coordinate system and the third mark welding machine coordinate system; According to the coordinate system angle, the three-axis pole coordinates before welding and the three-axis coordinates before welding corresponding to the reference point and the welding machine coordinates corresponding to the reference point, the welding pole coordinates corresponding to each pole are obtained, wherein the reference point is the first marking point or the second marking point.
7. A pole welding control device, characterized in that: The device comprises: an offset determination module, for obtaining first offset data according to the welding machine teaching coordinates and the welding machine target coordinates corresponding to the first mark point in the target battery module, wherein the welding machine teaching coordinates are obtained by teaching the first mark point in the changeover template module to the welding robot so that the light output zero point position of the galvanometer mechanism corresponds to the first mark point, and the target battery module is a battery module in the production stage corresponding to the changeover template module; A coordinate adjustment module, used for adjusting the welding pole coordinates of each pole in the target battery module based on the first offset data to obtain the adjusted pole coordinates corresponding to each pole in the target battery module, wherein the welding pole coordinates are coordinate data in a welding machine coordinate system; A point calculation module, used for performing calculation processing based on the coordinates of each adjustment pole column to obtain the coordinates of each welding point corresponding to the target battery module; A welding control module is used to control the movement of the welding robot when welding the target battery module based on the coordinates of each welding point.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Welding method for automatically searching battery cell pole based on CAD (computer-aided design) import
CN120055612A
Control method, welding system, equipment and storage medium
CN120637800A
Pole welding method, device and equipment, storage medium and program product
CN121571872A
