Laser welding method and apparatus, and electronic device
By monitoring and adjusting the collimating mirror position of the laser welder in real time, the inefficiency problems caused by the start and stop of the rotating platform and mechanical positioning in intermittent laser welding technology are solved, and an efficient and stable laser welding process is achieved.
Patent Information
- Application Number
- PCT/CN2024/088658
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-04-18
- Publication Date
- 2024-10-24
AI Technical Summary
Intermittent laser welding technology results in slow welding speed and low production efficiency due to the long start-up and stop time of the rotating platform and the need for mechanical positioning.
Through the communication connection between the control equipment and the laser source, laser welder and rotating platform, the position of the target workpiece to be welded is obtained in real time, and the position of the collimating mirror is adjusted to maintain the deflection angle of the laser to ensure that the focus of the laser after passing through the focusing mirror is in line with the position to be welded. The distance between the welding surfaces is the preset defocus amount to achieve precise positioning and stability of laser welding.
It improves the quality and efficiency of laser welding, reduces welding time, avoids the impact on welding quality due to changes in the position of the target workpiece, and the rotating platform can maintain continuous operation.
Smart Images

Figure CN2024088658_24102024_PF_FP_ABST
Abstract
Description
Laser welding method, device and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 21, 2023, with application number 202310437437.0 and application name “Laser welding method, device and electronic equipment”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of laser processing technology, and in particular to a laser welding method, device and electronic equipment. Background Art
[0003] At present, the specific operating process of intermittent laser welding technology includes: moving the battery to the welding position, mechanically positioning it, and then performing laser welding. After welding is completed, the battery is removed from the welding position and the next battery is moved to the welding position and mechanically positioned again. The above operations are repeated to cycle the laser welding process.
[0004] Currently, intermittent laser welding technology can be used to perform laser welding on target workpieces, such as cylindrical batteries in the lithium battery industry. However, due to the long start and stop time of the rotating platform and the need for mechanical positioning before each welding, the welding speed is slow and there is a problem of low production efficiency.
[0005] Summary of the Invention
[0006] The embodiments of the present application disclose a laser welding method, device and electronic equipment, which can improve the quality and efficiency of laser welding.
[0007] The present application discloses a laser welding method, which is applied to a control device, wherein 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 drives the target workpiece to rotate when rotating. The laser welder includes a collimating lens and a focusing lens. The laser light emitted by the laser source passes through the collimating lens and the focusing lens and reaches the target workpiece. The method includes:
[0008] During the rotation of the target workpiece, obtaining the real-time position of the to-be-welded surface of the target workpiece;
[0009] Determining a first offset distance corresponding to the focal plane according to a first standard position of the focal plane corresponding to the focusing mirror, the real-time position, and a preset first defocus amount; wherein the focal plane corresponding to the focusing mirror refers to a plane where the focus of the laser light emitted by the laser source is located after passing through the focusing mirror, and the defocus amount is the distance between the focal plane and the surface to be welded of the target workpiece;
[0010] The position of the collimating lens is adjusted according to the first offset distance, the focal length of the collimating lens, and the focal length of the focusing lens to change the corresponding deflection angle of the laser light emitted by the laser source after passing through the collimating lens, so that the distance between the focal plane where the focus of the laser light after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0011] In one embodiment, adjusting 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 includes:
[0012] Determining a second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens, where the second offset distance is a distance that the collimator is offset from a second standard position, where the second standard position is a preset position;
[0013] Based on the second offset distance, the position of the collimating mirror is adjusted.
[0014] 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; and determining the first offset distance corresponding to the focal plane according to the first standard position of the focal plane corresponding to the focusing lens, the real-time position, and a preset first defocus amount includes:
[0015] determining a target position of the focal plane according to the real-time position and a preset first defocus amount;
[0016] A distance between the target position and a first standard position of the focal plane is determined as a first offset distance of the focal plane.
[0017] In one embodiment, 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 comprises:
[0018] determining a relative position between the first standard position and the target position;
[0019] The adjusting the position of the collimating mirror based on the second offset distance includes:
[0020] The position of the collimating mirror is adjusted according to the relative position and the second offset distance.
[0021] In one embodiment, adjusting the position of the collimating mirror according to the relative position and the second offset distance includes:
[0022] If the relative position indicates that the first standard position is closer to the focusing lens than the target position, adjusting the collimating lens to a first position according to the second offset distance, wherein the first position is closer to the laser source than the second standard position;
[0023] If the relative position indicates that the target position is closer to the focusing lens than the first standard position, the collimating lens is adjusted to a second position according to the second offset distance, and the second standard position is closer to the laser source than the second position.
[0024] In one embodiment, determining the second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens includes:
[0025] Calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length;
[0026] The first offset distance is scaled based on the focal length ratio to obtain a second offset distance of the collimating lens.
[0027] In one embodiment, the rotating platform rotates around the central axis of the rotating platform so that the target workpiece revolves around the central axis of the rotating platform. After obtaining the real-time position of the to-be-welded surface of the target workpiece, the method further includes:
[0028] If it is detected that the target workpiece rotates to the welding starting position according to the real-time position of the target workpiece, the laser source is controlled to emit laser light;
[0029] If it is detected according to the real-time position of the target workpiece that the target workpiece rotates to the welding termination position, the laser source is controlled to stop emitting laser light.
[0030] In one embodiment, the target workpiece includes a cylindrical workpiece, the position to be welded of the cylindrical workpiece is located on the side of the cylindrical workpiece, the surface to be welded is a plane tangent to the position to be welded of the cylindrical workpiece, and the cylindrical workpiece rotates around its own central axis while revolving around the central axis of the rotating platform.
[0031] The present application discloses a laser welding device, which is 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 drives the target workpiece to rotate when the rotating platform rotates. The laser welder includes a collimator and a focusing lens. The laser light emitted by the laser source passes through the collimator and the focusing lens and reaches the target workpiece. The device includes:
[0032] A position acquisition module, configured to acquire the real-time position of the to-be-welded surface of the target workpiece during the rotation of the target workpiece;
[0033] a distance determination module, configured to determine a first offset distance corresponding to the focal plane based on a first standard position of the focal plane corresponding to the focusing mirror, the real-time position, and a preset first defocus amount; wherein the focal plane corresponding to the focusing mirror refers to a plane where the focus of the laser light emitted by the laser source is located after passing through the focusing mirror, and the defocus amount is the distance between the focal plane and the surface to be welded of the target workpiece;
[0034] A position adjustment module is used to adjust the position of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens, so as to change the corresponding deflection angle of the laser light emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser light after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0035] In one embodiment, the position adjustment module is further used to determine a second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens, where the second offset distance is a distance that the collimator is offset from a second standard position, and the second standard position is a preset position; and the position of the collimator is adjusted based on the second offset distance.
[0036] In one embodiment, the first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is in the second standard position; the distance determination module is further used to determine the target position of the focal plane based on the real-time position and the preset first defocus amount; 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.
[0037] In one embodiment, the laser welding device 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 mirror according to the relative position and the second offset distance.
[0038] In one embodiment, the position adjustment module is further configured to adjust the collimating lens to a first position according to the second offset distance if the relative position indicates that the first standard position is closer to the focusing lens relative to the target position, and the first position is closer to the laser source relative to the second standard position; and to adjust the collimating lens to a second position according to the second offset distance if the relative position indicates that the target position is closer to the focusing lens relative to the first standard position, and the second standard position is closer to the laser source relative to the second position.
[0039] In one embodiment, the position adjustment module is further configured to calculate a focal length ratio between a focal length of the focusing lens and a focal length of the collimating lens; and scale the first offset distance based on the focal length ratio to obtain a second offset distance of the collimating lens.
[0040] In one embodiment, the rotating platform rotates around the central axis of the rotating platform so that the target workpiece revolves around the central axis of the rotating platform. The laser welding device also includes a position detection module for controlling the laser source to emit laser if it is detected that the target workpiece rotates to the welding start position based on the real-time position of the target workpiece; and controlling the laser source to stop emitting laser if it is detected that the target workpiece rotates to the welding end position based on the real-time position of the target workpiece.
[0041] In one embodiment, the target workpiece includes a cylindrical workpiece, the position to be welded of the cylindrical workpiece is located on the side of the cylindrical workpiece, the surface to be welded is a plane tangent to the position to be welded of the cylindrical workpiece, and the cylindrical workpiece rotates around its own central axis while revolving around the central axis of the rotating platform.
[0042] The present application discloses an electronic device, including:
[0043] a memory storing executable program code;
[0044] a processor coupled to the memory;
[0045] The processor calls the executable program code stored in the memory to execute the method described in any one of the above embodiments.
[0046] Through the laser welding method, device, and electronic device disclosed in the embodiments of the present application, the control device is communicatively connected with the laser source, the laser welder, and the rotating platform. During the rotation of the target workpiece, the real-time position of the surface to be welded can be obtained. The first offset distance corresponding to the focal plane is determined based on the first standard position, the real-time position, and the preset first defocus amount of the focal plane corresponding to the focusing mirror; the position of the collimator is adjusted based on the first offset distance, the focal length of the collimator, and the focal length of the focusing mirror to change the deflection angle corresponding to the laser light emitted by the laser source passing through the collimator, so that the distance between the focal plane where the focus of the laser light after passing through the focusing mirror is the first defocus amount. Implementation of this embodiment can monitor the position of the target workpiece in real time, and change the deflection angle of the laser light by adjusting the position of the collimator of the laser welder, thereby reducing the impact of the position change of the target workpiece during the welding process, achieving precise positioning and control of the laser welding, and by adjusting the position of the collimator in real time, the defocus amount is always maintained at the preset first defocus amount, which can improve the quality and stability of the laser welding. During this process, the rotating platform can continue to rotate without starting and stopping, reducing the welding time of the laser welding, thereby improving the efficiency of the laser welding. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. 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 any creative work.
[0048] FIG1-A is a schematic diagram of an application scenario of a laser welding method disclosed in an embodiment of the present application;
[0049] FIG1-B is a schematic diagram of a laser welder disclosed in an embodiment of the present application;
[0050] FIG2 is a schematic flow chart of a laser welding method disclosed in an embodiment of the present application;
[0051] FIG3 is a schematic flow chart of another laser welding method disclosed in an embodiment of the present application;
[0052] FIG4 is a schematic diagram of positive defocus and negative defocus disclosed in an embodiment of the present application;
[0053] FIG5-A is a schematic flow chart of another laser welding method disclosed in an embodiment of the present application;
[0054] FIG5-B is a schematic diagram of adjusting the position of a collimating mirror disclosed in an embodiment of the present application;
[0055] FIG5-C is a schematic diagram of another method for adjusting the position of a collimating mirror disclosed in an embodiment of the present application;
[0056] FIG6 is a schematic flow chart of another laser welding method disclosed in an embodiment of the present application;
[0057] FIG7 is a schematic diagram of a rotating platform disclosed in an embodiment of the present application;
[0058] FIG8 is a modular schematic diagram of a laser welding device disclosed in an embodiment of the present application;
[0059] FIG9 is a structural block diagram of a control device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0061] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0062] It will be understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, 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, without departing from the scope of this application. The first offset distance and the second offset distance are both offset distances, but they are not the same offset distance.
[0063] In related technologies, if the rotating platform keeps rotating during the laser welding process of cylindrical batteries, the real-time position of the cylindrical batteries changes, while the focusing mirror of the laser welder is in a stationary state, causing the distance between the cylindrical battery and the focal plane corresponding to the focusing mirror to change, that is, the defocus amount changes. The spot diameter of the laser at different defocus amounts is different, resulting in different laser power densities. When other conditions remain constant, the different laser power densities will directly affect the shape and quality of the weld.
[0064] The embodiments of the present application disclose a laser welding method, apparatus, and control equipment, which can improve the quality and efficiency of laser welding.
[0065] The following is a detailed description with reference to the accompanying drawings.
[0066] As shown in Figure 1-A, Figure 1-A is a schematic diagram of an application scenario of a laser welding method disclosed in an embodiment of the present 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 with 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. The rotating platform 140 can drive the target workpiece 150 to rotate when rotating. The rotating platform 140 can be placed with multiple target workpieces 150.
[0067] Among them, the control device 110 can be an electronic device, which may include but is not limited to a mobile phone, a tablet computer, a wearable device, a laptop computer, a PC (Personal Computer), etc. 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 set in the laser welder 130, which is not limited here. The laser source 120 can be any device that can generate and emit laser light. The laser source 120 may include but is not limited to a helium-neon laser, a carbon dioxide laser, and a semiconductor laser. The present 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 parameters and propagation path of the laser so that the laser welds the surface to be welded of the target workpiece 150. The parameters of the laser may include but are not limited to the laser beam diameter, the laser beam quality, etc.
[0068] As shown in FIG1-B , FIG1-B is a schematic diagram of a laser welder disclosed in an embodiment of the present application. The laser welder 130 may further include a collimator 131 , a galvanometer 132 , and a focusing mirror 133 . The collimator 133 may be used to adjust the propagation angle and propagation direction of the laser at a certain deflection angle. After reflection from the galvanometer 132 , the laser is transmitted to the focusing mirror 133 at a certain incident angle. The focusing mirror 133 may be used to focus the laser onto a focal plane 135 corresponding to the focusing mirror, thereby achieving laser welding. The focal plane corresponding to the focusing mirror 135 refers to the plane where the focus 134 of the laser emitted by the laser source 120 is located after passing through the focusing mirror 133 . The position of the focal plane 135 may vary with changes in parameters such as the laser beam wavelength, beam diameter, beam intensity, and beam incident angle. The collimator 131 may be moved up and down to adjust its position, thereby changing the corresponding deflection angle of the laser after passing through the collimator.
[0069] In one embodiment, the control device 110 can obtain the real-time position of the surface to be welded of the target workpiece 150 during the rotation of the target workpiece 150, and determine the first offset distance corresponding to the focal plane according to the first standard position, the real-time position and the preset first defocus amount of the focal plane corresponding to the focusing mirror. The control device 110 then adjusts the position of the collimator according to the first offset distance, the focal length of the collimator and the focal length of the focusing mirror to change the corresponding deflection angle of the laser emitted by the laser source 120 after passing through the collimator, so that the distance between the focal plane where the focus of the laser after passing through the focusing mirror is located and the real-time position is the first defocus amount.
[0070] As shown in FIG2 , FIG2 is a flow chart of a laser welding method disclosed in an embodiment of the present application. The laser welding method can be applied to the control device in the above embodiment. The laser welding method may include the following steps:
[0071] Step 210 : Acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.
[0072] When the control device receives an instruction to perform laser welding on the target workpiece, the control device can control the rotating platform to rotate around the central axis of the rotating platform. The position of the central axis of the rotating platform can be determined according to the center position of the rotating platform. Optionally, the central axis of the rotating platform passes through the center position of the rotating platform and is perpendicular to the rotating platform. The rotation speed of the rotating platform is usually fixed. When the target workpiece rotates, the control device can obtain the real-time position of the target workpiece's surface to be welded. The target workpiece can be a cylindrical workpiece or a rectangular workpiece. The present application does not limit the shape of the target workpiece. In addition, the present application does not limit the material or size of the target workpiece. The surface to be welded of the target workpiece refers to the surface on the target workpiece where the laser welding position is located. If the surface where the welding position is located is not a plane, such as the surface where the welding position is located is a curved surface, then the surface to be welded of the target workpiece can refer to a plane tangent to the welding position. The laser welding position can be set manually. Optionally, the target workpiece may include a cylindrical workpiece, the surface to be welded is the side of the cylindrical workpiece, the position to be welded of the cylindrical workpiece is located on the side of the cylindrical workpiece, and the surface to be welded is a plane tangent to the position to be welded of the cylindrical workpiece.
[0073] In one embodiment, the rotating platform may further include an encoder, which is used to collect pulse signals from the rotating platform. The control device may obtain the pulse signals from the rotating platform collected by the encoder, and determine the rotation angle of the target workpiece based on the pulse signals. The control device may determine the real-time position of the target workpiece based on the rotation angle and the initial position of the target workpiece. The real-time position of the target workpiece may refer to the position of the center of the target workpiece, or the position of a specified part on the target workpiece. The control device may calculate the real-time position of the target workpiece's surface to be welded based on the real-time position of the target workpiece and the shape of the target workpiece.
[0074] Optionally, the control device may be further communicatively connected to a sensor, which may receive detection data of the target workpiece from the sensor and determine the real-time position of the target workpiece's surface to be welded based on the detection data. The sensor may include, but is not limited to, an image sensor, a laser sensor, and the like, without limitation.
[0075] Step 220 : determining a first offset distance corresponding to the focal plane according to a first standard position, a real-time position, and a preset first defocus amount of the focal plane corresponding to the focusing lens.
[0076] The focal plane corresponding to the focusing lens refers to the plane where the focus of the laser light emitted by the laser source is located after passing through the focusing lens. The first standard position refers to the position of the focal plane of the laser welder in the standard state or initial state. The defocus amount refers to the distance between the target workpiece surface 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.
[0077] The control device can 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. 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) be the preset first defocus amount when the surface to be welded is in the current real-time position.
[0078] In step 230, the position of the collimator is adjusted according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens to change the deflection angle corresponding to the collimator after the laser emitted by the laser source passes through the collimator, so that the distance between the focal plane where the focus of the laser after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0079] Since the position of the focusing mirror cannot be changed, in order to change the focal plane corresponding to the focusing mirror, the control device can adjust the position of the collimator according to the first offset distance, the focal length of the collimator and the focal length of the focusing mirror. The distance between the collimator and the laser source is changed, and the corresponding deflection angle of the laser sent by the laser source after passing through the collimator can also be changed, that is, the propagation angle of the laser changes, and the incident angle when transmitted to the focusing mirror also changes, thereby changing the position of the focal plane where the focus of the laser after passing through the focusing mirror is located. 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 focus of the laser after passing through the focusing mirror is located and the real-time position is the first defocus amount.
[0080] During the welding process of the target workpiece, by adjusting the position of the collimating lens in the laser welder, it is possible to ensure that the distance between the focal plane where the focus of the laser after passing through the focusing lens is located and the real-time position of the surface to be welded of the target workpiece maintains a first defocus amount, so that the laser spot diameter remains unchanged during the welding process of the target workpiece, ensuring 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.
[0081] In an embodiment of the present application, a control device is communicatively connected to a laser source, a laser welder, and a rotating platform. During the rotation of a target workpiece, the real-time position of the surface to be welded is obtained. A first offset distance corresponding to the focal plane is determined based on a first standard position, a real-time position, and a preset first defocus value of the focal plane corresponding to the focusing lens. The position of the collimator is adjusted based on the first offset distance, the focal length of the collimator, and the focal length of the focusing lens to change the deflection angle of the laser light emitted by the laser source after passing through the collimator, such that the distance between the focal plane at which the laser light is focused after passing through the focusing lens and the real-time position is the first defocus value. This embodiment enables real-time monitoring of the position of the target workpiece and changes the deflection angle of the laser light by adjusting the position of the collimator of the laser welder, thereby reducing the impact of changes in the position of the target workpiece during welding and achieving precise positioning and control of the laser welding. Furthermore, by adjusting the position of the collimator in real time, the defocus value is always maintained at the preset first defocus value, thereby improving the quality and stability of the laser welding. During this process, the rotating platform can continue to rotate without starting or stopping, reducing the welding time of the laser welding and thereby improving the efficiency of the laser welding.
[0082] As shown in FIG3 , FIG3 is a flow chart of another laser welding method disclosed in an embodiment of the present application. The laser welding method can be applied to the control device in the above embodiment. The laser welding method may include the following steps:
[0083] Step 310 : Acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.
[0084] The method of step 310 is the same as the method of step 210 in the above embodiment and will not be repeated here.
[0085] Step 320 : determining a target position of the focal plane according to the real-time position and a preset first defocus amount.
[0086] The control device can determine the target position of the focal plane based on the real-time position and the preset first defocus amount. Optionally, the welding process of the laser welder may include two defocusing modes: positive defocus and negative defocus. As shown in FIG4 , FIG4 is a schematic diagram of a positive defocus and a negative defocus disclosed in an embodiment of the present application. FIG4 (a) is used to characterize the positive defocus, and the focus 410 is above the surface 420 to be welded, that is, the positive defocus refers to the defocusing mode in which the laser has passed the focus when it reaches the surface to be welded. FIG4 (b) is used to characterize the negative defocus, and the focus 410 is below the surface 420 to be welded, that is, the positive defocus refers to the defocusing mode in which the laser has not passed the focus 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 relative to 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 relative to the target position of the focal plane. However, regardless of whether it is positive defocus 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 the preset first defocus amount.
[0087] 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.
[0088] The control device can obtain the first standard position of the focal plane. The first standard position can be the position of the focal plane corresponding to the focusing lens when the collimating lens is in the 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. The laser light after passing through the collimating lens can be emitted perpendicular to the collimating lens. Based on the first standard position, the control device can determine the distance between the target position and the first standard position, that is, determine the distance by which the target position is offset from the first standard position, as the first offset distance of the focal plane.
[0089] Step 340: Determine a second offset distance 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.
[0090] The control device can obtain 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. According to 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 that the collimating lens is offset relative to the second standard position.
[0091] In one embodiment, the control device can calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length, and scale the first offset distance based on the focal length ratio to obtain the second offset distance of the collimating lens. Optionally, the focal length ratio can be obtained by dividing the focal length of the focusing lens by the focal length of the collimating lens, or by dividing the focal length of the collimating lens by the focal length of the focusing lens, without limitation. 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 to obtain the second offset distance of the collimating lens, as shown in formula (1).
[0092] D second offset distance = D first offset distance × (F focusing lens focal length / F collimating lens focal length) 2 formula (1);
[0093] Wherein, D second offset distance is the second offset distance of the collimator lens, D first offset distance is the first offset distance of the collimator lens, F focusing lens focal length is the focal length of the focusing lens, and F collimator focal length is the focal length of the collimator lens.
[0094] In step 350 , based on the second offset distance, the position of the collimator is adjusted to change the deflection angle of the laser light emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser light after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0095] The control device adjusts the position of the collimator based on the second offset distance, and can adjust the collimator to a position that is a second offset distance away from the second standard position. The collimator at this position can deflect the laser emitted by the laser source to a corresponding propagation angle, and use the propagation angle as the incident angle of the laser entering the focusing mirror, so that the distance between the focal plane where the focus of the laser after passing through the focusing mirror is located and the real-time position can be made to be the first defocus amount.
[0096] In an embodiment of the present application, 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 collimator based on the first offset distance, the focal length of the collimator and the focal length of the focusing lens. By adding the focal length of the collimator and the focal length of the focusing lens to the method for 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.
[0097] As shown in FIG5-A, FIG5-A is a flow chart of another laser welding method disclosed in an embodiment of the present application. The laser welding method can be applied to the control device in the above embodiment. The laser welding method may include the following steps:
[0098] Step 510 : Acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.
[0099] Step 520 : Determine the target position of the focal plane according to the real-time position and a preset first defocus amount.
[0100] Step 530 : Determine the distance between the target position and the first standard position of the focal plane as a first offset distance of the focal plane.
[0101] The methods of steps 510 to 530 are the same as those of steps 310 to 330 in the above embodiment, and are not described again here.
[0102] Step 540: Determine the relative position between the first standard position and the target position.
[0103] The control device can determine the relative position between the first standard position and the target position, and the 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. The 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.
[0104] Optionally, the control device can calculate the distance between the first standard position and the focusing mirror and the distance between the target position and the focusing mirror, and then compare the distance between the first standard position and the focusing mirror with the distance between the target position and the focusing mirror to obtain the relative position. Optionally, based on the focusing mirror, a one-dimensional coordinate system can be established, the origin of the one-dimensional coordinate system is the center point of the focusing mirror, the positive direction of the one-dimensional coordinate system is the direction in which the focusing mirror approaches the target workpiece, and the position of the focal plane can be in the one-dimensional coordinate system. The control device can determine the coordinates of the first standard position and the target position in the one-dimensional coordinate system. If the coordinates of the first standard position are greater than the coordinates of the target position, 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 mirror relative to the first standard position. If the coordinates of the first standard position are not greater than the coordinates of the target position, 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 mirror relative to the target position.
[0105] Step 550: Determine a second offset distance 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.
[0106] In step 560, the position of the collimator is adjusted according to the relative position and the second offset distance to change the corresponding deflection angle of the laser emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0107] Since the position of the collimator can be offset in two directions relative to the second standard distance, there are also two positions that are a second offset distance away from the second standard distance. The control device can determine the direction in which the position of the collimator is 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.
[0108] In one embodiment, if the relative position characterizes that the first standard position is closer to the focusing lens relative to the target position, 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 relative to the second standard position; if the relative position characterizes that the target position is closer to the focusing lens relative to the first standard position, 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 relative to the second position.
[0109] Among them, if the relative position characterization shows that the first standard position is closer to the focusing mirror relative to the target position, it means that the laser incident on the focusing mirror when the focal plane is at the target position is more divergent than the laser incident on the focusing mirror when the focal plane is at the target position, that is, the laser output by the collimator mirror needs to be more divergent, and the distance between the collimator mirror and the laser source needs to be closer. The control device can adjust the collimator mirror to a first position closer to the laser source relative to the second standard position, as shown in Figure 5-B. Figure 5-B is a schematic diagram of adjusting the position of the collimator mirror disclosed in an embodiment of the present application. The position of the focal plane in Figure 1-B is explained as the first standard position 135, and the position of the collimator mirror in Figure 1-B is explained as the second standard position 1311. When the collimator mirror is at position 1312, position 1312 is closer to the laser source 120 than the second standard position 1311, and the laser output by the collimator mirror is more divergent than in Figure 1-B, so that the first standard position 135 is closer to the focusing mirror relative to the target position 136.
[0110] If the relative position characterization indicates that the target position is closer to the focusing lens relative to the first standard position, then the laser light incident on the focusing lens when the focal plane is at the target position is more convergent than the laser light incident on the focusing lens when the focal plane is at the target position, that is, the laser light output by the collimator needs to be more convergent, and the distance between the collimator and the laser source needs to be farther. The control device can adjust the collimator to a second position farther away from the laser source relative to the second standard position. As shown in FIG5-C, FIG5-C is a schematic diagram of another method for adjusting the position of the collimator disclosed in an embodiment of the present application, wherein the position of the focal plane in FIG1-B is described as the first standard position 135, and the position of the collimator in FIG1-B is described as the second standard position 1311. When the collimator is at position 1313, the second standard position 1311 is closer to the laser source 120 than position 1313, and the laser light output by the collimator is more convergent than in FIG1-B, thereby making the target position 137 closer to the focusing lens relative to the first standard position 135.
[0111] By implementing this embodiment, the accuracy of adjusting the collimating mirror can be further improved, thereby improving the accuracy and quality of laser welding.
[0112] As shown in FIG6 , FIG6 is a flow chart of another laser welding method disclosed in an embodiment of the present application. The laser welding method can be applied to the control device in the above embodiment. The laser welding method may include the following steps:
[0113] Step 610 : Acquire the real-time position of the surface to be welded of the target workpiece during the rotation of the target workpiece.
[0114] In step 620 , if it is detected that the target workpiece rotates to the welding start position according to the real-time position of the target workpiece, the laser source is controlled to emit laser.
[0115] Among them, the rotating platform can rotate around the central axis of the rotating platform so that the target workpiece revolves around the central axis of the rotating platform. The welding starting position may refer to the welding position corresponding to the laser emitted by the focusing mirror. The welding starting position can be pre-set according to the position of the laser welder so that when the target workpiece rotates to the welding starting position, the laser output by the laser welder can reach the surface to be welded of the target workpiece.
[0116] Optionally, the control device may determine a target rotation angle between the initial position of the target workpiece and the welding start position before controlling the rotating platform to begin rotating, thereby determining that the target workpiece has rotated to the welding start position when the rotation angle of the rotating platform reaches the target rotation angle. For example, if the rotating platform is a circular platform, and before the rotating platform begins rotating, the initial position of the target workpiece is located at the end of the rotating platform opposite the welding start position, then the target rotation angle between the initial position of the target workpiece and the welding start position is 180 degrees. The initial position of the target workpiece and the welding start position may be coordinate positions in a world coordinate system, where the world coordinate system is constructed with a preset position as the origin. The preset position may 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 may be provided to detect the position of the target workpiece. The control device may determine the position of the target workpiece based on the detection data of the sensor to determine that the target workpiece has rotated to the welding start position. The sensor may include, but is not limited to, a photoelectric sensor, an image sensor, etc.
[0117] Optionally, the control device can determine the real-time position of the target workpiece's surface to be welded, which can be the angle of the target workpiece's position on the rotating platform relative to the preset fixed position. The preset fixed position can be zero degrees, and the clockwise direction can be the positive direction, with an angle range of 0 to 360 degrees, as shown in Figure 7. Figure 7 is a schematic diagram of a rotating platform disclosed in an embodiment of the present 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, and 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 rotates to the welding start position 330, or, after the rotating platform 700 continues to rotate counterclockwise by 270 degrees, the control device can determine that the target workpiece 710 rotates to the welding start position 730.
[0118] As an optional embodiment, the control device may also be communicatively coupled to a photoelectric sensor. The photoelectric sensor includes a transmitter and a receiver. The transmitter is configured to transmit a light beam to the receiver. The rotating platform also includes an inductive plate configured to block the light beam from propagating between the transmitter and the 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.
[0119] The arrival signal is a signal sent by the photoelectric sensor when the receiving end fails to receive the light beam emitted by the transmitting end. Optionally, the transmitting end may continue to send a light beam to the receiving end during the welding process, and the sensor plate may rotate with the rotation of the rotating platform. The positions of the sensor plate and the photoelectric sensor may be pre-set. When the rotating platform drives the target workpiece to rotate to the welding starting position, the sensor plate also rotates between the transmitting end and the receiving end of the photoelectric sensor to block the propagation of the light beam between the transmitting end and the receiving end, thereby preventing the receiving end from receiving the light beam emitted by the transmitting end. That is, the failure of the receiving end to receive the light beam indicates that the target workpiece has reached the welding starting position, and the photoelectric sensor may send an arrival signal to the control device.
[0120] Optionally, the method of determining whether the target workpiece reaches the welding start position by using a photoelectric sensor can be used together with the method of determining whether the target workpiece reaches the welding start position by using a rotation angle in the above embodiment to enhance accuracy.
[0121] Step 630 : determining a first offset distance corresponding to the focal plane according to the first standard position, the real-time position, and a preset first defocus amount of the focal plane corresponding to the focusing lens.
[0122] In step 640, the position of the collimator is adjusted according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens to change the corresponding deflection angle of the laser light emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser light after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0123] In step 650, if it is detected that the target workpiece rotates to the welding termination position according to the real-time position of the target workpiece, the laser source is controlled to stop emitting laser light.
[0124] The method for controlling the device to detect that the target workpiece rotates to the welding termination position may be the same as the method for detecting that the target workpiece rotates to the welding start position, and will not be described in detail here.
[0125] In one embodiment, the target workpiece can also rotate around its own central axis while the target workpiece revolves around the central axis of the rotating platform. The rotating platform may include a revolution drive mechanism and a rotation drive mechanism, wherein the revolution drive mechanism can be used to drive the rotating platform to rotate around the central axis of the rotating platform to drive the target workpiece to revolve around the central axis of the rotating platform, and the rotation drive mechanism can be used to drive the target workpiece to rotate around its own central axis. Optionally, during the process of the target workpiece rotating from the welding starting position to the welding ending position, the target workpiece can rotate one or more times to make the laser welding more comprehensive, thereby achieving sealing.
[0126] As shown in FIG1 , the target workpiece includes a cylindrical workpiece. The laser welder in FIG1 may be facing the side of the cylindrical workpiece, and the welding position may be the position on the side closest to the laser welder. As the target workpiece revolves around the central axis of the rotating platform, the target workpiece performs circular motion in the plane where the rotating platform is located. The circular motion causes position changes in two mutually perpendicular directions of the plane. By adjusting the position of the collimating mirror, the position of the focal plane can be adjusted so that the movement of the target workpiece in one direction is compensated. Optionally, the laser welder may further 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 the welding end position are both located within the galvanometer amplitude, so that the target workpiece is located within the galvanometer amplitude during the process from the welding start position to the welding end position. The galvanometer amplitude is the planar area that the laser can radiate under the adjustment of the galvanometer.
[0127] As shown in FIG8 , FIG8 is a modular schematic diagram of a laser welding device disclosed in an embodiment of the present application. The laser welding device 800 may include a position acquisition module 810 , a distance determination module 820 , and a position adjustment module 830 , wherein:
[0128] A position acquisition module 810 is used to acquire the real-time position of the to-be-welded surface of the target workpiece during the rotation of the target workpiece;
[0129] a distance determination module 820 for determining a first offset distance corresponding to the focal plane based on a first standard position of the focal plane corresponding to the focusing mirror, the real-time position, and a preset first defocus amount; wherein the focal plane corresponding to the focusing mirror refers to the plane where the focus of the laser light emitted by the laser source is located after passing through the focusing mirror, and the defocus amount is the distance between the focal plane and the surface to be welded of the target workpiece;
[0130] 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 corresponding 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 focus of the laser after passing through the focusing lens is located and the real-time position is the first defocus amount.
[0131] In one embodiment, the position adjustment module 830 is further used to determine a second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens, where the second offset distance is the distance that the collimator is offset relative to a second standard position, and the second standard position is a preset position; and the position of the collimator is adjusted based on the second offset distance.
[0132] In one embodiment, the first standard position is the position of the focal plane corresponding to the focusing lens when the collimating lens is in the second standard position. The distance determination module 820 is also used to determine the target position of the focal plane based on the real-time position and the preset first defocus amount; 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.
[0133] In one embodiment, the laser welding device further includes a relative determination module for determining the relative position between the first standard position and the target position; a position adjustment module 830 is further used to adjust the position of the collimating mirror according to the relative position and the second offset distance.
[0134] In one embodiment, the position adjustment module 830 is further configured to adjust the collimator lens to a first position according to the second offset distance if the relative position indicates that the first standard position is closer to the focusing lens relative to the target position, and the first position is closer to the laser source relative to the second standard position; and to adjust the collimator lens to a second position according to the second offset distance if the relative position indicates that the target position is closer to the focusing lens relative to the first standard position, and the second standard position is closer to the laser source relative to the second position.
[0135] In one embodiment, the position adjustment module 830 is further configured to calculate a focal length ratio between the focal length of the focusing lens and the focal length of the collimating lens; and scale the first offset distance based on the focal length ratio to obtain a second offset distance of the collimating lens.
[0136] In one embodiment, the rotating platform rotates around the central axis of the rotating platform so that the target workpiece revolves around the central axis of the rotating platform. The laser welding device also includes a position detection module for controlling the laser source to emit laser light if it is detected that the target workpiece rotates to the welding start position based on the real-time position of the target workpiece; and controlling the laser source to stop emitting laser light if it is detected that the target workpiece rotates to the welding end position based on the real-time position of the target workpiece.
[0137] In one embodiment, the target workpiece includes a cylindrical workpiece, the position to be welded of the cylindrical workpiece is located on the side of the cylindrical workpiece, the surface to be welded is a plane tangent to the position to be welded of the cylindrical workpiece, and when the cylindrical workpiece revolves around the central axis of the rotating platform, it also rotates around the central axis of the rotating platform of the cylindrical workpiece.
[0138] In an embodiment of the present application, a control device is communicatively connected to a laser source, a laser welder, and a rotating platform. During the rotation of a target workpiece, the real-time position of the surface to be welded is obtained. A first offset distance corresponding to the focal plane is determined based on a first standard position, a real-time position, and a preset first defocus value of the focal plane corresponding to the focusing lens. The position of the collimator is adjusted based on the first offset distance, the focal length of the collimator, and the focal length of the focusing lens to change the deflection angle of the laser light emitted by the laser source after passing through the collimator, such that the distance between the focal plane at which the laser light is focused after passing through the focusing lens and the real-time position is the first defocus value. This embodiment enables real-time monitoring of the position of the target workpiece and changes the deflection angle of the laser light by adjusting the position of the collimator of the laser welder, thereby reducing the impact of changes in the position of the target workpiece during welding and achieving precise positioning and control of the laser welding. Furthermore, by adjusting the position of the collimator in real time, the defocus value is always maintained at the preset first defocus value, thereby improving the quality and stability of the laser welding. During this process, the rotating platform can continue to rotate without starting or stopping, reducing the welding time of the laser welding and thereby improving the efficiency of the laser welding.
[0139] As shown in FIG9 , in one embodiment, an electronic device is provided, which may include:
[0140] A memory 910 storing executable program code;
[0141] a processor 920 coupled to the memory 910;
[0142] The processor 920 calls the executable program code stored in the memory 910 to implement the laser welding method provided in the above embodiments.
[0143] The memory 910 may include a random access memory (RAM) or a read-only memory (ROM). The memory 910 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 910 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device during use.
[0144] The processor 920 may include one or more processing cores. The processor 920 utilizes various interfaces and circuits to connect various components within the electronic device. It executes instructions, programs, code sets, or instruction sets stored in the memory 910, as well as accesses data stored in the memory 910, to perform various functions of the electronic device and process data. Optionally, the processor 920 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 920 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 920 and may be implemented separately via a communication chip.
[0145] It is understandable that the electronic device may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, WiFi (Wireless Fidelity) module, speakers, Bluetooth modules, sensors, etc., and is not limited here.
[0146] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the methods described in the above embodiments.
[0147] In addition, an embodiment of the present application further discloses a computer program product, which, when run on a computer, enables the computer to execute all or part of the steps in any one of the laser welding methods described in the above embodiments.
[0148] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0149] The above is a detailed introduction to a laser welding method, device and electronic equipment disclosed in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting the present application.
Claims
1. A laser welding method, characterized in that: The invention is applied to a control device, wherein the control device is respectively connected to a laser source, a laser welder and a rotating platform; the rotating platform is used to place a target workpiece and drive the target workpiece to rotate; the laser welder includes a collimator and a focusing lens; the laser emitted by the laser source passes through the collimator and the focusing lens to reach the target workpiece; the method includes: During the rotation of the target workpiece, obtaining the real-time position of the to-be-welded surface of the target workpiece; Determine a first offset distance corresponding to the focal plane according to a first standard position of the focal plane corresponding to the focusing mirror, the real-time position, and a preset first defocus amount; wherein the focal plane corresponding to the focusing mirror refers to a plane where the focus of the laser emitted by the laser source after passing through the focusing mirror is located, and the defocus amount is the distance between the focal plane and the surface to be welded of the target workpiece; According to the first offset distance, the focal length of the collimator and the focal length of the focusing lens, the position of the collimator is adjusted to change the corresponding deflection angle of the laser emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser after passing through the focusing lens is located and the real-time position is the first defocus amount.
2. The method according to claim 1, characterized in that According to 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, including: Determine a second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens, wherein the second offset distance is a distance that the collimator is offset from a second standard position, and the second standard position is a preset position; Based on the second offset distance, the position of the collimating mirror is adjusted.
3. The method according to claim 1 or 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 according to the first standard position of the focal plane corresponding to the focusing lens, the real-time position and a preset first defocus amount, comprises: Determining a target position of the focal plane according to the real-time position and a preset first defocus amount; A distance between the target position and a first standard position of the focal plane is determined as a 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: Determining a relative position between the first standard position and the target position; The adjusting the position of the collimating mirror based on the second offset distance includes: The position of the collimating mirror is adjusted according to 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 mirror according to the relative position and the second offset distance comprises: If the relative position indicates that the first standard position is closer to the focusing lens than the target position, then According to the second offset distance, adjusting the collimator mirror to a first position, wherein 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, the collimating lens is adjusted to a second position according to the second offset distance, and the second standard position is closer to the laser source than the second position.
6. The method according to claim 2, characterized in that The step of determining the second offset distance of the collimator according to the first offset distance, the focal length of the collimator, and the focal length of the focusing lens comprises: Calculate the focal length ratio of the focusing lens focal length to the collimating lens focal length; The first offset distance is scaled based on the focal length ratio to obtain a 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 the central axis of the rotating platform so that the target workpiece revolves around the central axis of the rotating platform. After acquiring the real-time position of the to-be-welded surface of the target workpiece, the method further includes: If it is detected that the target workpiece rotates to the welding start position according to the real-time position of the target workpiece, the laser source is controlled to emit laser; If it is detected that the target workpiece rotates to the welding termination position according to the real-time position of the target workpiece, the laser source is controlled to stop emitting laser.
8. The method according to claim 7, characterized in that The target workpiece includes a cylindrical workpiece, the position to be welded of the cylindrical workpiece is located on the side of the cylindrical workpiece, the surface to be welded is a plane tangent to the position to be welded of the cylindrical workpiece, and when the cylindrical workpiece revolves around the central axis of the rotating platform, it also rotates around its own central axis.
9. A laser welding device, characterized in that: Applied to a control device, the control device is respectively connected to a laser source, a laser welder and a rotating platform; the rotating platform is used to place a target workpiece, and drives the target workpiece to rotate when the rotating platform rotates; the laser welder includes a collimator and a focusing lens, and the laser emitted by the laser source passes through the collimator and the focusing lens to reach the target workpiece; the device includes: A position acquisition module, used for acquiring the real-time position of the to-be-welded surface of the target workpiece during the rotation of the target workpiece; A distance determination module, configured to determine a first offset distance corresponding to the focal plane according to a first standard position of the focal plane corresponding to the focusing mirror, the real-time position, and a preset first defocus amount; wherein the focal plane corresponding to the focusing mirror refers to a plane where the focus of the laser emitted by the laser source is located after passing through the focusing mirror, and the defocus amount is the distance between the focal plane and the surface to be welded of the target workpiece; A position adjustment module is used to adjust the position of the collimator according to the first offset distance, the focal length of the collimator and the focal length of the focusing lens, so as to change the corresponding deflection angle of the laser emitted by the laser source after passing through the collimator, so that the distance between the focal plane where the focus of the laser after passing through the focusing lens is located and the real-time position is the first defocus amount.
10. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls 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 marking device and marking method
CN107755886A
Focal plane adjustment closed-loop control system and control method applied to 3D printing equipment
CN111619118A
Focusing control method, device and equipment of laser three-dimensional galvanometer and storage medium
CN113305424A
Laser welding method and device and electronic equipment
CN116237639A
Bottle lid developments coding and data acquisition facility
CN208326464U
