Laser welding methods, apparatus and electronic equipment

By adjusting the collimating lens position of the laser welder in real time and maintaining a constant defocus between the laser focus and the workpiece surface, the problem of low production efficiency caused by the long start-up and stop time of the rotating platform in the existing technology is solved, and high-efficiency laser welding is achieved.

CN116237639BActive Publication Date: 2026-04-03WUXI LEAD INTELLIGENT EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing intermittent laser welding technology suffers from low production efficiency, mainly due to the long start-up and stop time of the rotating platform and the need for mechanical positioning before each welding, resulting in slow welding speed.

Method used

By acquiring the position of the surface to be welded in real time during the rotation of the target workpiece, the position of the collimating lens in the laser welder is adjusted to maintain a constant defocus between the laser focus and the workpiece surface, thereby achieving precise positioning and control of laser welding and reducing the start and stop of the rotating platform.

Benefits of technology

It improves the quality and efficiency of laser welding, reduces welding time, and maintains the stability and consistency of the welding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116237639B_ABST
    Figure CN116237639B_ABST
Patent Text Reader

Abstract

This application discloses a laser welding method, apparatus, and electronic device. The method includes: acquiring the real-time position of the surface to be welded on the target workpiece during its rotation; determining a first offset distance corresponding to the focal plane based on a first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount; and adjusting the position of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens to change the deflection angle of the laser emitted from the laser source after passing through the collimating lens, such that the distance between the focal plane where the laser's focal point is located after passing through the focusing lens and the real-time position is the first defocus amount. Implementing this embodiment can improve the quality and efficiency of laser welding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of laser processing technology, and in particular to a laser welding method, apparatus and electronic equipment. Background Technology

[0002] Currently, the specific operation process of intermittent laser welding technology includes: moving the battery to the welding position and mechanically positioning it, then performing laser welding. After welding, the battery is removed from the welding position, and the next battery is moved to the welding position, mechanically positioned again, and the above operation is repeated cyclically. The intermittent laser welding technology currently used can be used for laser welding of target workpieces, such as cylindrical batteries in the lithium battery industry. However, due to the long start-up and stop time of the rotating platform, and the need for mechanical positioning before each welding to ensure the same defocusing amount each time, the welding speed is slow, resulting in low production efficiency. Summary of the Invention

[0003] This application discloses a laser welding method, apparatus, and control device, which can improve the quality and efficiency of laser welding.

[0004] This application discloses a laser welding method applied to a control device. The control device is communicatively connected to a laser source, a laser welder, and a rotating platform. The rotating platform is used to place a target workpiece, and the rotating platform rotates the target workpiece. The laser welder includes a collimating lens and a focusing lens. The laser emitted by the laser source passes through the collimating lens and the focusing lens to reach the target workpiece. The method includes:

[0005] During the rotation of the target workpiece, the real-time position of the surface of the target workpiece to be welded is obtained;

[0006] Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount, the first offset distance corresponding to the focal plane is determined; wherein, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted by the laser source is located after passing through the focusing lens, and the defocus amount is the distance between the focal plane and the welding surface of the target workpiece;

[0007] Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, the position of the collimating lens is adjusted to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens and the real-time position is the first defocus amount.

[0008] In one embodiment, adjusting the position of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens includes:

[0009] Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, a second offset distance of the collimating lens is determined. The second offset distance is the distance by which the collimating lens is offset relative to a second standard position, which is a preset position.

[0010] The position of the collimating lens is adjusted based on the second offset distance.

[0011] In one embodiment, the first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is located at the second standard position; determining the first offset distance corresponding to the focal plane based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount includes:

[0012] The target position of the focal plane is determined based on the real-time position and the preset first defocus amount;

[0013] The distance between the target position and the first standard position of the focal plane is determined as the first offset distance of the focal plane.

[0014] In one embodiment, after determining the distance between the target position and a first standard position of the focal plane as a first offset distance of the focal plane, the method further includes:

[0015] Determine the relative position between the first standard position and the target position;

[0016] The adjustment of the collimating lens position based on the second offset distance includes:

[0017] The position of the collimating lens is adjusted based on the relative position and the second offset distance.

[0018] In one embodiment, adjusting the position of the collimating lens based on the relative position and the second offset distance includes:

[0019] If the relative position indicates that the first standard position is closer to the focusing lens relative to the target position, then according to the second offset distance, the collimating lens is adjusted to the first position, which is closer to the laser source relative to the second standard position;

[0020] If the relative position indicates that the target position is closer to the focusing lens relative to the first standard position, then the collimating lens is adjusted to a second position according to the second offset distance, whereby the second standard position is closer to the laser source relative to the second position.

[0021] In one embodiment, determining the second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens includes:

[0022] Calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length;

[0023] Based on the focal length ratio, the first offset distance is scaled to obtain the second offset distance of the collimating lens.

[0024] In one embodiment, the rotating platform rotates about its central axis, causing the target workpiece to revolve around the central axis of the rotating platform. After obtaining the real-time position of the surface to be welded on the target workpiece, the method further includes:

[0025] If, based on the real-time position of the target workpiece, it is detected that the target workpiece has rotated to the welding start position, then the laser source is controlled to emit laser light.

[0026] If, based on the real-time position of the target workpiece, it is detected that the target workpiece has rotated to the welding termination position, then the laser source is controlled to stop emitting laser light.

[0027] In one embodiment, the target workpiece includes a cylindrical workpiece, the welding position of the cylindrical workpiece is located on the side of the cylindrical workpiece, the welding surface is a plane tangent to the welding position of the cylindrical workpiece, and the cylindrical workpiece rotates about its own central axis while revolving around the central axis of the rotating platform.

[0028] This application discloses a laser welding apparatus applied to a control device. The control device is communicatively connected to a laser source, a laser welder, and a rotating platform. The rotating platform is used to place the target workpiece, and rotating the platform causes the target workpiece to rotate. The laser welder includes a collimating lens and a focusing lens. The laser emitted by the laser source passes through the collimating lens and the focusing lens to reach the target workpiece. The apparatus includes:

[0029] The position acquisition module is used to acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.

[0030] The distance determination module is used to determine the first offset distance corresponding to the focal plane based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount; wherein, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted by the laser source is located after passing through the focusing lens, and the defocus amount is the distance between the focal plane and the welding surface of the target workpiece;

[0031] The position adjustment module is used to adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, so as to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens is located and the real-time position is the first defocus amount.

[0032] In one embodiment, the position adjustment module is further configured to determine a second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, wherein the second offset distance is the distance by which the collimating lens is offset relative to a second standard position, and the second standard position is a preset position; and adjust the position of the collimating lens based on the second offset distance.

[0033] In one embodiment, the first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is located at the second standard position; the distance determination module is further configured to determine the target position of the focal plane based on the real-time position and a preset first defocus amount; and determine the distance between the target position and the first standard position of the focal plane as the first offset distance of the focal plane.

[0034] In one embodiment, the laser welding apparatus further includes a relative determination module for determining the relative position between the first standard position and the target position; and a position adjustment module for adjusting the position of the collimating lens according to the relative position and the second offset distance.

[0035] In one embodiment, the position adjustment module is further configured to: if the relative position indicates that the first standard position is closer to the focusing lens than the target position, then adjust the collimating lens to a first position, which is closer to the laser source than the second standard position, according to the second offset distance; if the relative position indicates that the target position is closer to the focusing lens than the first standard position, then adjust the collimating lens to a second position, which is closer to the laser source than the second standard position, according to the second offset distance.

[0036] In one embodiment, the position adjustment module is further configured to calculate the focal length ratio between the focal length of the focusing lens and the focal length of the collimating lens; and based on the focal length ratio, to scale the first offset distance to obtain the second offset distance of the collimating lens.

[0037] In one embodiment, the rotating platform rotates about its central axis, causing the target workpiece to revolve around the central axis of the rotating platform. The laser welding apparatus further includes a position detection module, which controls the laser source to emit laser light if the target workpiece is detected to have rotated to the welding start position based on its real-time position; and controls the laser source to stop emitting laser light if the target workpiece is detected to have rotated to the welding end position based on its real-time position.

[0038] In one embodiment, the target workpiece includes a cylindrical workpiece, the welding position of the cylindrical workpiece is located on the side of the cylindrical workpiece, the welding surface is a plane tangent to the welding position of the cylindrical workpiece, and the cylindrical workpiece rotates about its own central axis while revolving around the central axis of the rotating platform.

[0039] This application discloses an electronic device, including:

[0040] Memory containing executable program code;

[0041] A processor coupled to the memory;

[0042] The processor calls the executable program code stored in the memory to execute the method described in any of the above embodiments.

[0043] The laser welding method, apparatus, and electronic equipment disclosed in this application are communicatively connected to the laser source, laser welder, and rotating platform. During the rotation of the target workpiece, the real-time position of the surface to be welded can be obtained. Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount, a first offset distance corresponding to the focal plane is determined. Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, the position of the collimating lens is adjusted to change the deflection angle of the laser emitted from the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser's focus is located after passing through the focusing lens and the real-time position is the first defocus amount. Implementing this embodiment allows for real-time monitoring of the target workpiece's position. By adjusting the position of the collimating lens of the laser welder, the deflection angle of the laser is changed, thereby reducing the impact of changes in the target workpiece's position during welding. This achieves precise positioning and control of laser welding. Furthermore, by adjusting the position of the collimating lens in real time, the defocus amount is always maintained at the preset first defocus amount, improving the quality and stability of laser welding. During this process, the rotating platform can maintain rotation without starting or stopping, reducing the welding time and thus improving the efficiency of laser welding. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1-A This is a schematic diagram illustrating an application scenario of a laser welding method disclosed in an embodiment of this application;

[0046] Figure 1-B This is a schematic diagram of a laser welder disclosed in an embodiment of this application;

[0047] Figure 2 This is a schematic flowchart of a laser welding method disclosed in an embodiment of this application;

[0048] Figure 3 This is a schematic flowchart of another laser welding method disclosed in an embodiment of this application;

[0049] Figure 4 This is a schematic diagram of positive defocus and negative defocus disclosed in an embodiment of this application;

[0050] Figure 5-A This is a schematic flowchart of another laser welding method disclosed in the embodiments of this application;

[0051] Figure 5-BThis is a schematic diagram illustrating the adjustment of the collimating lens position according to an embodiment of this application;

[0052] Figure 5-C This is a schematic diagram illustrating another method for adjusting the position of the collimating lens as disclosed in an embodiment of this application;

[0053] Figure 6 This is a schematic flowchart of another laser welding method disclosed in the embodiments of this application;

[0054] Figure 7 This is a schematic diagram of a rotating platform disclosed in an embodiment of this application;

[0055] Figure 8 This is a modular schematic diagram of a laser welding apparatus disclosed in an embodiment of this application;

[0056] Figure 9 This is a structural block diagram of a control device disclosed in an embodiment of this application. Detailed Implementation

[0057] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0058] It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or devices.

[0059] It is understood that the terms "first," "second," etc., used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first offset distance may be referred to as a first offset distance, and similarly, a second offset distance may be referred to as a first offset distance. Both the first offset distance and the second offset distance are offset distances, but they are not the same offset distance.

[0060] In related technologies, if the rotating platform continues to rotate during the laser welding process of a cylindrical battery, the real-time position of the cylindrical battery will change, while the focusing lens of the laser welder will remain stationary. This causes a change in the distance between the cylindrical battery and the focal plane corresponding to the focusing lens, i.e., a change in the defocus amount. The laser spot diameter is different at different defocus amounts, resulting in different laser power densities. Under the condition that other factors are constant, the difference in laser power density will directly affect the shape and quality of the weld.

[0061] This application discloses a laser welding method, apparatus, and control device, which can improve the quality and efficiency of laser welding.

[0062] The following will be described in detail with reference to the accompanying drawings.

[0063] like Figure 1-A As shown, Figure 1-A This is a schematic diagram of an application scenario of a laser welding method disclosed in an embodiment of this application. The application scenario may include a control device 110, a laser source 120, a laser welder 130, a rotating platform 140, and a target workpiece 150. The control device 110 can be communicatively connected to the laser source 120, the laser welder 130, and the rotating platform 140. The target workpiece 150 can be placed on the rotating platform 140. When the rotating platform 140 rotates, it can drive the target workpiece 150 to rotate. The rotating platform 140 can hold multiple target workpieces 150.

[0064] The control device 110 can be an electronic device, including but not limited to mobile phones, tablets, wearable devices, laptops, and PCs (Personal Computers). It should be noted that the control device 110 can be a device independent of the laser welder 130, or it can be a control device installed within the laser welder 130; this is not limited here. The laser source 120 can be any device capable of generating and emitting laser light. The laser source 120 can include, but is not limited to, helium-neon lasers, carbon dioxide lasers, and semiconductor lasers. This application does not limit the specific structure of the laser source 120. Optionally, the laser source 120 can emit a laser beam into the laser welder 130. The laser welder 130 can control the laser parameters and propagation path to weld the target workpiece 150's surface. The laser parameters can include, but are not limited to, the laser beam diameter and laser beam quality.

[0065] like Figure 1-B As shown, Figure 1-BThis is a schematic diagram of a laser welder disclosed in an embodiment of this application. The laser welder 130 may further include a collimating lens 131, a galvanometer 132, and a focusing lens 133. The collimating lens 133 can be used to adjust the propagation angle and direction of the laser by a certain deflection angle. After reflection by the galvanometer 132, the laser is transmitted to the focusing lens 133 at a certain incident angle. The focusing lens 133 can be used to focus the laser onto the focal plane 135 corresponding to the focusing lens, thereby realizing laser welding. The focal plane corresponding to the focusing lens 135 refers to the plane where the focal point 134 of the laser emitted by the laser source 120 is located after passing through the focusing lens 133. The position of the focal plane 135 can change with parameters such as the laser beam wavelength, beam diameter, beam intensity, and beam incident angle. The collimating lens 131 can be moved up and down to adjust its position, thereby changing the deflection angle of the laser after passing through the collimating lens.

[0066] In one embodiment, the control device 110 can acquire the real-time position of the surface to be welded of the target workpiece 150 during the rotation of the target workpiece 150. Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount, the control device 110 can determine the first offset distance corresponding to the focal plane. The control device 110 then adjusts the position of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens to change the deflection angle of the laser emitted by the laser source 120 after passing through the collimating lens, so that the distance between the focal plane where the laser is focused after passing through the focusing lens and the real-time position is the first defocus amount.

[0067] like Figure 2 As shown, Figure 2 This is a schematic flowchart of a laser welding method disclosed in an embodiment of this application. This laser welding method can be applied to the control equipment described in the above embodiments, and the laser welding method may include the following steps:

[0068] Step 210: During the rotation of the target workpiece, obtain the real-time position of the surface of the target workpiece to be welded.

[0069] When the control equipment receives a command to perform laser welding on the target workpiece, it can control the rotating platform to rotate around its central axis. The position of the central axis can be determined based on the center position of the rotating platform. Optionally, the central axis passes through the center position of the rotating platform and is perpendicular to it. The rotation speed of the rotating platform is usually fixed. While the target workpiece is rotating, the control equipment can acquire the real-time position of the surface to be welded on the target workpiece. The target workpiece can be a cylindrical workpiece or a cuboid workpiece; this application does not limit the shape of the target workpiece. Furthermore, this application does not limit the material or size of the target workpiece. The surface to be welded on the target workpiece refers to the surface on which the laser welding position is located. If the surface where the welding position is located is not a plane, such as a curved surface, then the surface to be welded on the target workpiece can refer to a plane tangent to the welding position. The laser welding position can be manually set. Optionally, the target workpiece may include a cylindrical workpiece, the surface to be welded is the side surface of the cylindrical workpiece, the welding position of the cylindrical workpiece is located on the side surface of the cylindrical workpiece, and the surface to be welded is a plane tangent to the welding position of the cylindrical workpiece.

[0070] In one embodiment, the rotary platform may further include an encoder for acquiring pulse signals from the rotary platform. The control device can acquire the pulse signals from the rotary platform acquired by the encoder and determine the rotation angle of the target workpiece based on the pulse signals. The control device can determine the real-time position of the target workpiece based on the rotation angle and the initial position. The real-time position of the target workpiece may refer to the position of the workpiece center or the position of a specified part on the target workpiece. The control device can calculate the real-time position of the surface to be welded on the target workpiece based on the real-time position and the shape of the target workpiece.

[0071] Optionally, the control device can also communicate with a sensor, receiving detection data from the sensor on the target workpiece and determining the real-time position of the surface to be welded on the target workpiece based on the detection data. The sensor can include, but is not limited to, image sensors, laser sensors, etc.

[0072] Step 220: Determine the first offset distance corresponding to the focal plane based on the first standard position, real-time position, and preset first defocus amount of the focal plane corresponding to the focusing lens.

[0073] In this context, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted from the laser source lies after passing through the focusing lens. The first standard position refers to the position of the focal plane of the laser welder in its standard or initial state. The defocus amount refers to the distance between the surface of the target workpiece to be welded and the focal plane. The preset first defocus amount can be a fixed value, and the first standard position of the focal plane can also be a pre-measured and known value. The first standard position of the focal plane can be used as a reference value to determine the offset distance of the focal plane.

[0074] The control device can determine the first offset distance corresponding to the focal plane based on the first standard position, the real-time position, and the preset first defocus amount of the focal plane corresponding to the focusing lens. The first offset distance refers to the distance that the focal plane needs to be offset relative to the first standard position in order to make the distance between the surface to be welded and the focal plane (i.e., the defocus amount) the preset first defocus amount when the surface to be welded is at the current real-time position.

[0075] Step 230: Adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens and the focal length of the focusing lens, so as to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser is located after passing through the focusing lens and the real-time position is the first defocus amount.

[0076] Since the position of the focusing lens cannot be changed, in order to change the focal plane corresponding to the focusing lens, the control device can adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens. The distance between the collimating lens and the laser source is changed, and the deflection angle of the laser emitted by the laser source after passing through the collimating lens can also be changed. That is, the propagation angle of the laser changes, and the incident angle when it is transmitted to the focusing lens also changes, thereby changing the position of the focal plane where the laser is focused after passing through the focusing lens. The distance that the position of the focal plane is offset from the first standard position is the first offset distance, and the distance between the focal plane where the laser is focused after passing through the focusing lens and the real-time position is the first defocus amount.

[0077] During the welding process of the target workpiece, by adjusting the position of the collimating lens in the laser welder, it can be ensured that the distance between the focal plane where the laser is focused after passing through the focusing lens and the real-time position of the surface to be welded on the target workpiece remains at the first defocus amount. This ensures that the laser spot diameter remains unchanged during the welding process and that the laser power density is the same, thereby avoiding the situation where the shape and quality of the weld are affected by changes in the laser power density.

[0078] In this embodiment, the control device is communicatively connected to the laser source, laser welder, and rotating platform. During the rotation of the target workpiece, it can acquire the real-time position of the surface to be welded. Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount, it determines the first offset distance corresponding to the focal plane. Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, the position of the collimating lens is adjusted to change the deflection angle of the laser emitted from the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser's focus is located after passing through the focusing lens and the real-time position is the first defocus amount. Implementing this embodiment allows for real-time monitoring of the target workpiece's position. By adjusting the position of the collimating lens of the laser welder, the laser deflection angle is changed, thereby reducing the impact of changes in the target workpiece's position during welding. This achieves precise positioning and control of laser welding. Furthermore, by adjusting the position of the collimating lens in real time, the defocus amount is always maintained at the preset first defocus amount, improving the quality and stability of laser welding. During this process, the rotating platform can maintain rotation without starting or stopping, reducing the welding time and thus improving the efficiency of laser welding.

[0079] like Figure 3 As shown, Figure 3 This is a schematic flowchart of another laser welding method disclosed in an embodiment of this application. This laser welding method can be applied to the control device in the above embodiments, and the laser welding method may include the following steps:

[0080] Step 310: During the rotation of the target workpiece, obtain the real-time position of the surface of the target workpiece to be welded.

[0081] The method of step 310 is the same as the method of step 210 in the above embodiment, and will not be described again here.

[0082] Step 320: Determine the target position of the focal plane based on the real-time position and the preset first defocus amount.

[0083] The control equipment can determine the target position of the focal plane based on the real-time position and a preset first defocus amount. Optionally, the laser welding process can include two defocusing methods: positive defocusing and negative defocusing, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of positive defocus and negative defocus disclosed in an embodiment of this application. Figure 4 (a) is used to characterize positive defocus, where the focal point 410 is above the surface to be welded 420. Positive defocus refers to a defocusing method where the laser has already passed the focal point when it reaches the surface to be welded. Figure 4(b) is used to characterize negative defocus, where the focal point 410 is below the surface to be welded 420. Positive defocus refers to a defocusing method where the laser does not pass through the focal point when it reaches the surface to be welded. In the case of positive defocus, the target position of the focal plane is closer to the focusing lens than the real-time position of the surface to be welded. In the case of negative defocus, the real-time position of the surface to be welded is closer to the focusing lens than the target position of the focal plane. However, regardless of whether it is positive or negative defocus, the distance between the target position of the focal plane and the real-time position of the surface to be welded is a preset first defocusing amount.

[0084] Step 330: Determine the distance between the target position and the first standard position of the focal plane, as the first offset distance of the focal plane.

[0085] The control device can acquire a first standard position of the focal plane. This first standard position can be the position of the focal plane corresponding to the focusing lens when the collimating lens is in a second standard position. The second standard position can be a preset position. When the collimating lens is in the second standard position, the laser source emits laser light to the collimating lens, and the laser light after passing through the collimating lens can be emitted perpendicular to the collimating lens. Using this first standard position as a reference, the control device can determine the distance between the target position and the first standard position, that is, determine the distance of the target position offset relative to the first standard position, as the first offset distance of the focal plane.

[0086] Step 340: Determine the second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens.

[0087] The control device can acquire the focal length of the collimating lens and the focal length of the focusing lens. The focal length of the collimating lens and the focal length of the focusing lens are fixed values ​​and are pre-stored in the control device. Based on the first offset distance, the focal length of the collimating lens and the focal length of the focusing lens, the second offset distance of the collimating lens can be determined. The second offset distance can be the distance by which the collimating lens is offset relative to the second standard position.

[0088] In one embodiment, the control device can calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length. Based on the focal length ratio, the first offset distance is scaled to obtain the second offset distance of the collimating lens. Optionally, the focal length ratio can be obtained by dividing the focusing lens focal length by the collimating lens focal length, or vice versa; there is no limitation on this. In one example, the control device can calculate the square of the focal length ratio and multiply the first offset distance by the square of the focal length ratio to scale the first offset distance and obtain the second offset distance of the collimating lens, as shown in equation (1).

[0089] D 第二偏移距离 =D 第一偏移距离 ×(F 聚焦镜焦距 / F 准直镜焦距 ) 2 Equation (1);

[0090] Among them, D 第二偏移距离 D is the second offset distance of the collimating lens. 第一偏移距离 F is the first offset distance of the collimating lens. 聚焦镜焦距 F is the focal length of the focusing lens. 准直镜焦距 This is the focal length of the collimating lens.

[0091] Step 350: Based on the second offset distance, adjust the position of the collimating lens to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens and the real-time position is the first defocus amount.

[0092] Based on the second offset distance, the control device adjusts the position of the collimating lens. The collimating lens can be adjusted to a position that is a second offset distance away from the second standard position. The collimating lens at this position can deflect the laser emitted by the laser source to the corresponding propagation angle. Using this propagation angle as the incident angle of the laser incident focusing lens, the distance between the focal plane where the laser passes through the focusing lens and the real-time position can be the first defocus amount.

[0093] In this embodiment, the control device can also determine the target position of the focal plane based on the real-time position and the preset first defocus amount, and determine the distance between the target position and the first standard position of the focal plane as the first offset distance of the focal plane, which can improve the accuracy of the first offset distance. The control device can also determine the second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens and the focal length of the focusing lens. By adding the focal length of the collimating lens and the focal length of the focusing lens to the method of determining the second offset distance, the accuracy of the second offset distance can also be improved. The accuracy of the first offset distance and the accuracy of the second offset distance are improved, and correspondingly, the accuracy of laser welding is also improved.

[0094] like Figure 5-A As shown, Figure 5-A This is a schematic flowchart of another laser welding method disclosed in an embodiment of this application. This laser welding method can be applied to the control device in the above embodiments, and the laser welding method may include the following steps:

[0095] Step 510: During the rotation of the target workpiece, obtain the real-time position of the surface of the target workpiece to be welded.

[0096] Step 520: Determine the target position of the focal plane based on the real-time position and the preset first defocus amount.

[0097] Step 530: Determine the distance between the target position and the first standard position of the focal plane, as the first offset distance of the focal plane.

[0098] The methods in steps 510 to 530 are the same as those in steps 310 to 330 in the above embodiments, and will not be repeated here.

[0099] Step 540: Determine the relative position between the first standard position and the target position.

[0100] The control device can determine the relative position between the first standard position and the target position. This relative position can be used to characterize the distance between the first standard position and the focusing lens relative to the distance between the target position and the focusing lens. This relative position can include the first standard position being closer to the focusing lens relative to the target position and the target position being closer to the focusing lens relative to the first standard position.

[0101] Optionally, the control device can calculate the distance between the first standard position and the focusing lens, as well as the distance between the target position and the focusing lens, and then compare these distances to obtain the relative positions. Optionally, based on the focusing lens, a one-dimensional coordinate system can be established, with the origin of the one-dimensional coordinate system being the center point of the focusing lens, and the positive direction of the one-dimensional coordinate system being the direction in which the focusing lens approaches the target workpiece. The position of the focal plane can be within this one-dimensional coordinate system. The control device can determine the coordinates of the first standard position and the target position in this one-dimensional coordinate system. If the coordinates of the first standard position are greater than the coordinates of the target position, then the relative position between the first standard position and the target position is determined to be that the target position is closer to the focusing lens relative to the first standard position. If the coordinates of the first standard position are not greater than the coordinates of the target position, then the relative position between the first standard position and the target position is determined to be that the first standard position is closer to the focusing lens relative to the target position.

[0102] Step 550: Determine the second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens.

[0103] Step 560: Adjust the position of the collimating lens according to the relative position and the second offset distance to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser is focused after passing through the focusing lens and the real-time position is the first defocus amount.

[0104] Since the position of the collimator can be offset in two directions relative to the second standard distance, and there are also two positions that are offset from the second standard distance by the second offset distance, the control device can determine the direction of the collimator's position offset relative to the second standard distance based on the relative position and the second offset distance, thereby determining the position to which the collimator needs to be adjusted.

[0105] In one embodiment, if the relative position indicates that the first standard position is closer to the focusing lens than the target position, then the collimating lens is adjusted to the first position according to the second offset distance, and the first position is closer to the laser source than the second standard position; if the relative position indicates that the target position is closer to the focusing lens than the first standard position, then the collimating lens is adjusted to the second position according to the second offset distance, and the second standard position is closer to the laser source than the second position.

[0106] Wherein, if the relative position represents the first standard position being closer to the focusing lens relative to the target position, it means that the laser incident on the focusing lens when the focal plane is at the target position is more divergent than the laser incident on the focusing lens when the focal plane is at the target position. That is, the laser output from the collimating lens needs to be more divergent, and the distance between the collimating lens and the laser source needs to be closer. Therefore, the control device can adjust the collimating lens to the first position, which is closer to the laser source relative to the second standard position. Figure 5-B As shown, Figure 5-B This is a schematic diagram illustrating the adjustment of the collimating lens position according to an embodiment of this application. Figure 1-B The position of the focal plane in the diagram is taken as the first standard position 135 for explanation. Figure 1-B The position of the collimating lens is described as the second standard position 1311. When the collimating lens is at position 1312, position 1312 is closer to the laser source 120 than the second standard position 1311. The laser output from the collimating lens is closer to the laser source 120 than the laser source 120. Figure 1-B The focus is further diffused, thus making the first standard position 135 closer to the focusing lens relative to the target position 136.

[0107] If the relative position indicates that the target position is closer to the focusing lens than the first standard position, it means that the laser incident on the focusing lens with the focal plane at the target position is more convergent than the laser incident on the focusing lens with the focal plane at the target position. In other words, the laser output from the collimating lens needs to be more convergent, and the distance between the collimating lens and the laser source needs to be greater. Therefore, the control device can adjust the collimating lens to a second position that is further away from the laser source than the second standard position. For example... Figure 5-C As shown, Figure 5-C This is a schematic diagram illustrating another method for adjusting the position of the collimating lens as disclosed in an embodiment of this application. Figure 1-B The position of the focal plane in the diagram is taken as the first standard position 135 for explanation. Figure 1-B The position of the collimating lens is referred to as the second standard position 1311. When the collimating lens is at position 1313, the second standard position 1311 is closer to the laser source 120 than position 1313. The laser output from the collimating lens is closer to the source 120 than the source 120. Figure 1-B The convergence is greater, thus making the target position 137 closer to the focusing lens relative to the first standard position 135.

[0108] Implementing this embodiment can further improve the accuracy of collimator adjustment, thereby improving the accuracy and quality of laser welding.

[0109] like Figure 6 As shown, Figure 6 This is a schematic flowchart of another laser welding method disclosed in an embodiment of this application. This laser welding method can be applied to the control device in the above embodiments, and the laser welding method may include the following steps:

[0110] Step 610: During the rotation of the target workpiece, obtain the real-time position of the surface of the target workpiece to be welded.

[0111] Step 620: If the target workpiece is detected to have rotated to the welding start position based on its real-time position, then the laser source is controlled to emit a laser.

[0112] The rotating platform can rotate around its central axis, so that the target workpiece can revolve around the central axis of the rotating platform. The welding start position refers to the welding position corresponding to the laser emitted through the focusing lens. The welding start position can be preset according to the position of the laser welder, so that when the target workpiece rotates to the welding start position, the laser output by the laser welder can reach the surface of the target workpiece to be welded.

[0113] Optionally, the control device can determine the target rotation angle between the initial position of the target workpiece and the welding start position before the rotating platform starts rotating. This allows the control device to determine when the target workpiece has rotated to the welding start position when the rotating platform reaches the target rotation angle. For example, if the rotating platform is circular, and the initial position of the target workpiece is located at the end of the rotating platform opposite the welding start position before the platform starts rotating, then the target rotation angle between the initial position and the welding start position is 180 degrees. The initial position and welding start position of the target workpiece can be coordinates in a world coordinate system constructed with a preset position as the origin. The preset position can include, but is not limited to, the position of the laser welding machine, the position of the laser source, and the center position of the rotating platform. Optionally, a sensor for detecting the position of the target workpiece can be provided. The control device can determine the position of the target workpiece based on the sensor's detection data, thereby determining when the target workpiece has rotated to the welding start position. This sensor can include, but is not limited to, photoelectric sensors and image sensors.

[0114] Optionally, the control device can determine the real-time position of the surface to be welded on the target workpiece. This real-time position can be the angle between the position of the target workpiece on the rotating platform and a preset fixed position. This preset fixed position can be zero degrees, with clockwise as the positive direction, and the angle range is 0 to 360 degrees. Figure 7 As shown, Figure 7 This is a schematic diagram of a rotating platform disclosed in an embodiment of this application. The angle between the target workpiece 710 and the preset fixed position 720 is 180 degrees, so the relative position of the target workpiece 710 on the rotating platform 700 can be 180 degrees. The angle between the welding start position and the preset fixed position 720 is 270 degrees, so the relative position of the welding start position on the rotating platform 700 can be 270 degrees. After the rotating platform 700 continues to rotate clockwise by 90 degrees, the control device can determine that the target workpiece 710 has rotated to the welding start position 330. Alternatively, after the rotating platform 700 continues to rotate counterclockwise by 270 degrees, the control device can determine that the target workpiece 710 has rotated to the welding start position 730.

[0115] As an optional implementation, the control device can also be communicatively connected to a photoelectric sensor, which includes a transmitter and a receiver. The transmitter emits a light beam to the receiver, and the rotating platform also includes a sensing plate that blocks the propagation of the light beam between the transmitter and receiver when the target workpiece rotates to the welding start position. If the control device receives an arrival signal from the photoelectric sensor, it can determine that the target workpiece has rotated to the welding start position.

[0116] The arrival signal is the signal sent by the photoelectric sensor when the receiving end cannot receive the light beam emitted by the transmitting end. Optionally, the transmitting end can continuously send a light beam to the receiving end during the welding process, while the sensing plate can rotate with the rotating platform. The positions of the sensing plate and the photoelectric sensor can be preset. When the rotating platform drives the target workpiece to the welding start position, the sensing plate also rotates between the transmitting end and the receiving end of the photoelectric sensor to block the light beam propagation between the transmitting end and the receiving end. This prevents the receiving end from receiving the light beam emitted by the transmitting end. In other words, the fact that the receiving end cannot receive the light beam indicates that the target workpiece has reached the welding start position, and the photoelectric sensor can send an arrival signal to the control equipment.

[0117] Optionally, the method of determining the target workpiece's arrival at the welding start position using a photoelectric sensor can be used in conjunction with the method of determining the target workpiece's arrival at the welding start position using a rotation angle in the above embodiments to enhance accuracy.

[0118] Step 630: Determine the first offset distance corresponding to the focal plane based on the first standard position, real-time position, and preset first defocus amount of the focal plane corresponding to the focusing lens.

[0119] Step 640: Adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens and the focal length of the focusing lens, so as to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser is focused after passing through the focusing lens and the real-time position is the first defocus amount.

[0120] Step 650: If the target workpiece is detected to have rotated to the welding termination position based on its real-time position, then the laser source is controlled to stop emitting laser light.

[0121] The method for controlling the device to detect the target work rotating to the welding termination position is the same as the method for detecting the target work rotating to the welding start position, and will not be repeated here.

[0122] In one embodiment, while the target workpiece revolves around the central axis of the rotating platform, it can also rotate around its own central axis. The rotating platform can include a revolution drive mechanism and a rotation drive mechanism. The revolution drive mechanism drives the rotating platform to rotate around its central axis, thereby causing the target workpiece to revolve around the central axis of the rotating platform. The rotation drive mechanism drives the target workpiece to rotate around its own central axis. Optionally, during the process of the target workpiece rotating from the welding start position to the welding end position, the target workpiece can rotate one or more times to ensure more complete laser welding, thereby achieving sealing.

[0123] As shown in Figure 1, the target workpiece includes a cylindrical workpiece. The laser welder in Figure 1 can be the side facing the cylindrical workpiece, and the welding position can be the position on the side closest to the laser welder. Since the target workpiece revolves around the central axis of the rotating platform, it undergoes circular motion in the plane of the rotating platform. This circular motion causes positional changes in two mutually perpendicular directions on the plane. By adjusting the position of the collimating lens, the position of the focal plane can be adjusted to compensate for the movement of the target workpiece in one direction. Optionally, the laser welder can also include a galvanometer, which is used to adjust the welding position of the laser and compensate for the movement of the target workpiece in another direction. The welding start position and welding end position are both located within the galvanometer's plane, ensuring that the target workpiece remains within the galvanometer's plane from the welding start position to the welding end position. This galvanometer's plane is the planar area that the laser can radiate under the adjustment of the galvanometer.

[0124] like Figure 8 As shown, Figure 8 This is a modular schematic diagram of a laser welding apparatus disclosed in an embodiment of this application. The laser welding apparatus 800 may include a position acquisition module 810, a distance determination module 820, and a position adjustment module 830, wherein:

[0125] The position acquisition module 810 is used to acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.

[0126] The distance determination module 820 is used to determine the first offset distance corresponding to the focal plane based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount; wherein, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted by the laser source is located after passing through the focusing lens, and the defocus amount is the distance between the focal plane and the welding surface of the target workpiece;

[0127] The position adjustment module 830 is used to adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens and the focal length of the focusing lens, so as to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens is located and the real-time position is the first defocus amount.

[0128] In one embodiment, the position adjustment module 830 is further configured to determine a second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, wherein the second offset distance is the distance by which the collimating lens is offset relative to a second standard position, and the second standard position is a preset position; and adjust the position of the collimating lens based on the second offset distance.

[0129] In one embodiment, the first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is located at the second standard position. The distance determination module 820 is further configured to determine the target position of the focal plane based on the real-time position and a preset first defocus amount; and determine the distance between the target position and the first standard position of the focal plane as the first offset distance of the focal plane.

[0130] In one embodiment, the laser welding apparatus further includes a relative determination module for determining the relative position between the first standard position and the target position; and a position adjustment module 830 for adjusting the position of the collimating lens according to the relative position and the second offset distance.

[0131] In one embodiment, the position adjustment module 830 is further configured to: if the relative position indicates that the first standard position is closer to the focusing lens than the target position, then adjust the collimating lens to a first position, which is closer to the laser source than the second standard position, according to the second offset distance; if the relative position indicates that the target position is closer to the focusing lens than the first standard position, then adjust the collimating lens to a second position, which is closer to the laser source than the second standard position, according to the second offset distance.

[0132] In one embodiment, the position adjustment module 830 is further configured to calculate the focal length ratio between the focal length of the focusing lens and the focal length of the collimating lens; and based on the focal length ratio, to scale the first offset distance to obtain the second offset distance of the collimating lens.

[0133] In one embodiment, the rotating platform rotates about its central axis, causing the target workpiece to revolve around the central axis of the rotating platform. The laser welding apparatus further includes a position detection module, which controls the laser source to emit laser light if the target workpiece is detected to have rotated to the welding start position based on its real-time position; and controls the laser source to stop emitting laser light if the target workpiece is detected to have rotated to the welding end position based on its real-time position.

[0134] In one embodiment, the target workpiece includes a cylindrical workpiece, the welding position of the cylindrical workpiece is located on the side of the cylindrical workpiece, the welding surface is a plane tangent to the welding position of the cylindrical workpiece, and the cylindrical workpiece revolves around the central axis of the rotating platform while also rotating on its own axis.

[0135] In this embodiment, the control device is communicatively connected to the laser source, laser welder, and rotating platform. During the rotation of the target workpiece, it can acquire the real-time position of the surface to be welded. Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount, it determines the first offset distance corresponding to the focal plane. Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, the position of the collimating lens is adjusted to change the deflection angle of the laser emitted from the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser's focus is located after passing through the focusing lens and the real-time position is the first defocus amount. Implementing this embodiment allows for real-time monitoring of the target workpiece's position. By adjusting the position of the collimating lens of the laser welder, the laser deflection angle is changed, thereby reducing the impact of changes in the target workpiece's position during welding. This achieves precise positioning and control of laser welding. Furthermore, by adjusting the position of the collimating lens in real time, the defocus amount is always maintained at the preset first defocus amount, improving the quality and stability of laser welding. During this process, the rotating platform can maintain rotation without starting or stopping, reducing the welding time and thus improving the efficiency of laser welding.

[0136] like Figure 9 As shown, in one embodiment, an electronic device is provided, which may include:

[0137] Memory 910 storing executable program code;

[0138] Processor 920 coupled to memory 910;

[0139] The processor 920 calls the executable program code stored in the memory 910 to implement the laser welding method provided in the above embodiments.

[0140] The memory 910 may include random access memory (RAM) or read-only memory (ROM). The memory 910 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 910 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created during the use of the electronic device.

[0141] Processor 920 may include one or more processing cores. Processor 920 connects to various parts of the electronic device using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 910, and by calling data stored in memory 910. Optionally, processor 920 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 920 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 920 and may be implemented separately using a communication chip.

[0142] Understandably, electronic devices may include more or fewer structural elements than those shown in the block diagram above, such as power modules, physical buttons, WiFi (Wireless Fidelity) modules, speakers, Bluetooth modules, sensors, etc., and are not limited herein.

[0143] This application discloses a computer-readable storage medium storing a computer program that causes a computer to perform the methods described in the above embodiments.

[0144] Furthermore, this application further discloses a computer program product that, when run on a computer, enables the computer to perform all or part of the steps in any of the laser welding methods described in the above embodiments.

[0145] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0146] The above provides a detailed description of a laser welding method, apparatus, and electronic device disclosed in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A laser welding method, characterized in that, The method is applied to a control device, which is communicatively connected to a laser source, a laser welder, and a rotating platform. The rotating platform is used to place the target workpiece and rotate it. The laser welder includes a collimating lens and a focusing lens. The laser emitted by the laser source passes through the collimating lens and the focusing lens to reach the target workpiece. During the rotation of the target workpiece, the real-time position of the surface of the target workpiece to be welded is obtained; Based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount, the first offset distance corresponding to the focal plane is determined; wherein, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted by the laser source is located after passing through the focusing lens, and the defocus amount is the distance between the focal plane and the welding surface of the target workpiece; Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, the position of the collimating lens is adjusted to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens and the real-time position is the first defocus amount.

2. The method according to claim 1, characterized in that, The position of the collimating lens is adjusted based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, including: Based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, a second offset distance of the collimating lens is determined. The second offset distance is the distance by which the collimating lens is offset relative to a second standard position, which is a preset position. The position of the collimating lens is adjusted based on the second offset distance.

3. The method according to claim 2, characterized in that, The first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is located at the second standard position; determining the first offset distance corresponding to the focal plane based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount includes: The target position of the focal plane is determined based on the real-time position and the preset first defocus amount; The distance between the target position and the first standard position of the focal plane is determined as the first offset distance of the focal plane.

4. The method according to claim 3, characterized in that, After determining the distance between the target position and the first standard position of the focal plane as the first offset distance of the focal plane, the method further includes: Determine the relative position between the first standard position and the target position; The adjustment of the collimating lens position based on the second offset distance includes: The position of the collimating lens is adjusted based on the relative position and the second offset distance.

5. The method according to claim 4, characterized in that, The step of adjusting the position of the collimating lens based on the relative position and the second offset distance includes: If the relative position indicates that the first standard position is closer to the focusing lens relative to the target position, then according to the second offset distance, the collimating lens is adjusted to the first position, which is closer to the laser source relative to the second standard position; If the relative position indicates that the target position is closer to the focusing lens relative to the first standard position, then the collimating lens is adjusted to a second position according to the second offset distance, whereby the second standard position is closer to the laser source relative to the second position.

6. The method according to claim 2, characterized in that, The step of determining the second offset distance of the collimating lens based on the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens includes: Calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length; Based on the focal length ratio, the first offset distance is scaled to obtain the second offset distance of the collimating lens.

7. The method according to any one of claims 1 to 6, characterized in that, The rotating platform rotates around its central axis, causing the target workpiece to revolve around the central axis of the rotating platform. After obtaining the real-time position of the surface to be welded on the target workpiece, the method further includes: If, based on the real-time position of the target workpiece, it is detected that the target workpiece has rotated to the welding start position, then the laser source is controlled to emit laser light. If, based on the real-time position of the target workpiece, it is detected that the target workpiece has rotated to the welding termination position, then the laser source is controlled to stop emitting laser light.

8. The method according to claim 7, characterized in that, The target workpiece includes a cylindrical workpiece, the welding position of the cylindrical workpiece is located on the side of the cylindrical workpiece, the welding surface is a plane tangent to the welding position of the cylindrical workpiece, and the cylindrical workpiece rotates around its own central axis while revolving around the central axis of the rotating platform.

9. A laser welding apparatus, characterized in that, The device is applied to a control system, which is communicatively connected to a laser source, a laser welder, and a rotating platform. The rotating platform is used to place the target workpiece, and rotating the platform causes the target workpiece to rotate. The laser welder includes a collimating lens and a focusing lens; the laser emitted from the laser source passes through the collimating lens and the focusing lens to reach the target workpiece. The device includes: The position acquisition module is used to acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece. The distance determination module is used to determine the first offset distance corresponding to the focal plane based on the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and the preset first defocus amount; wherein, the focal plane corresponding to the focusing lens refers to the plane where the focal point of the laser emitted by the laser source is located after passing through the focusing lens, and the defocus amount is the distance between the focal plane and the welding surface of the target workpiece; The position adjustment module is used to adjust the position of the collimating lens according to the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens, so as to change the deflection angle of the laser emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the laser passes through the focusing lens is located and the real-time position is the first defocus amount.

10. An electronic device, characterized in that, include: Memory containing executable program code; A processor coupled to the memory; The processor invokes the executable program code stored in the memory to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Laser cutting turning light path and focusing mirror auto-collimation system

    CN103212788A

  • Focusing control method, device and equipment of laser three-dimensional galvanometer and storage medium

    CN113305424A