Laser Welding Method, Device, Equipment and Storage Medium
During the laser welding process, the laser start and stop is controlled by using the synchronous output control waveform data, which solves the problem of deep marks on both sides of the welding mark during triangular wave welding, and achieves the uniformity and aesthetics of the welding marks.
Patent Information
- Application Number
- CN202310334788.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2043-03-30
AI Technical Summary
When the laser output triangular wave welding, the laser in the peak or valley segment swings slowly, resulting in deep marks on both sides of the welding mark.
The start and stop of welding is controlled by the control waveform data synchronized with the triangular waveform data on the time axis. Specifically, when the control waveform data is trigger waveform data, the laser is controlled to stop outputting the laser.
This avoids the situation where the laser swings slowly in the peak or valley segment of the triangle waveform data, resulting in deep marks on both sides of the welding mark, and improves the uniformity and aesthetics of the welding marks.
Smart Images

Figure CN116197532B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of laser welding, and particularly relates to a laser welding method, device, equipment, and storage medium. Background Technique
[0002] In the related art, laser welding is a non-contact welding method that uses a high-energy laser beam as a heat source, radiates and heats the material surface, and melts and connects the material through heat conduction. It has the advantages of high precision, small heat-affected zone, small deformation, and high efficiency. Therefore, laser welding is often used to weld workpieces to be welded.
[0003] However, when the laser outputs triangular-wave welding laser, when the triangular wave reaches the peak segment or the trough segment, the left and right swing speed of the laser will be slower. As a result, at the moment corresponding to the peak segment or the trough segment, the galvanometer motor stays at this position for a longer time, making the heat source borne by this position larger, and thus resulting in deeper traces on both sides of the welding trace at this position.
[0004] Application Content
[0005] The main purpose of the present application is to provide a laser welding method, device, equipment, and storage medium, aiming to solve the technical problem of deeper traces on both sides of the welding trace.
[0006] To achieve the above object, the present application provides a laser welding method, including:
[0007] Obtain synchronously output triangular-waveform data and control waveform data; wherein, the control waveform data includes periodically output trigger waveform data, and on the time axis, the trigger waveform data corresponds to the peak segment or the trough segment of the triangular-waveform data;
[0008] When the control waveform data is the trigger waveform data, control the laser to stop outputting laser.
[0009] Optionally, the control waveform data is control square-wave data, the trigger waveform data is low-level waveform data, and when the control square-wave data is the trigger waveform data, controlling the laser to stop outputting laser includes:
[0010] When the control square-wave data is the low-level waveform data, control the laser to stop outputting laser.
[0011] Optionally, the control waveform data further includes periodically output high-level waveform data. After controlling the laser to stop outputting laser when the control square-wave data is the low-level waveform data, the method further includes:
[0012] When the control square wave data is the high-level waveform data, control the laser to output laser for welding according to the triangular waveform data.
[0013] Optionally, the obtaining of the control square wave data includes:
[0014] Control the waveform generation module to generate the high-level waveform data;
[0015] When it is monitored that the current output moment of the triangular waveform data is a preset moment, start timing;
[0016] When the timing reaches the first switching duration, control the waveform generation module to generate the low-level waveform data, and start timing the output duration of the low-level waveform data;
[0017] When the output duration of the low-level waveform data reaches the second switching duration, control the waveform generation module to generate the high-level data.
[0018] Optionally, the obtaining of the synchronously output triangular waveform data includes:
[0019] Obtain the output frequency of the triangular waveform data;
[0020] According to the output frequency, obtain the first switching duration and the second switching duration.
[0021] Optionally, the preset moment includes the moment corresponding to the 0th bit, the 512th bit, and the 1024th bit of the transmission array of the triangular wave waveform data within one period.
[0022] In a second aspect, the present application provides a laser welding device, including:
[0023] A waveform acquisition module, configured to acquire synchronously output triangular waveform data and control waveform data; wherein, the control waveform data includes periodically output trigger waveform data, and on the time axis, the trigger waveform data corresponds to the peak segment or the trough segment of the triangular waveform data;
[0024] A control module, configured to control the laser to stop outputting laser when the control square wave data is the trigger waveform data.
[0025] Optionally, the waveform acquisition module further includes:
[0026] A first control unit, configured to control the waveform generation module to generate the high-level waveform data;
[0027] A timing unit, configured to start timing when it is monitored that the current output moment of the triangular waveform data is a preset moment;
[0028] A second control unit, configured to control the waveform generation module to generate the low-level waveform data when the timing reaches a first switching duration, and start timing the output duration of the low-level waveform data;
[0029] The second control unit is further configured to control the waveform generation module to generate the high-level data when the output duration of the low-level waveform data reaches a second switching duration.
[0030] In a third aspect, the present application provides a laser welding device, including a memory, a processor, and a laser welding program stored on the memory and executable on the processor, where the laser welding program is configured to implement the steps of the laser welding method as described above.
[0031] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the laser welding method of any embodiment of the present application.
[0032] Compared with the prior art in which a triangular wave laser is directly controlled to be output by a laser for welding, the laser welding method proposed in the embodiments of the present application controls the start and stop of welding through control waveform data that is synchronously output with triangular waveform data on the time axis. When the control waveform data includes periodic output trigger waveform data corresponding to the peak segment and the trough segment, the output trigger waveform data controls the laser to stop outputting laser, thereby avoiding the situation where the traces on both sides of the welding mark are deeper due to the slower swinging speed of the laser at the peak or trough segment of the triangular waveform data. Description of the Drawings
[0033] Figure 1 It is a schematic hardware structure diagram of an embodiment of the laser welding method of the present application;
[0034] Figure 2 It is a schematic flowchart of the first embodiment of the laser welding method of the present application;
[0035] Figure 3 It is a schematic diagram of the distribution of the trigger waveform data and the peak or trough of the triangular waveform data on the time axis X of the present application;
[0036] Figure 4 It is a schematic flowchart of the second embodiment of the laser welding method of the present application;
[0037] Figure 5 It is a schematic diagram of the distribution of preset times on the time axis X of the present application;
[0038] Figure 6 It is a schematic diagram of the triangular waveform data after cutting of the present application;
[0039] Figure 7Schematic flow chart of the third embodiment of the laser welding method of the present application;
[0040] Figure 8 Schematic diagram of the functional modules of the laser welding method of the present application.
[0041] The realization, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] Due to the prior art, when the laser outputs triangular wave laser for welding, when the triangular wave reaches the peak section or the trough section, the left and right swing speed of the laser will be slower. Therefore, at the moment corresponding to the peak section or the trough section, the galvanometer motor stays at this position for a longer time, resulting in a larger heat source at this position, and thus the traces on both sides of the welding mark at this position are deeper.
[0044] The present application provides a solution. Compared with directly controlling the laser to output triangular wave laser for welding in the prior art, the present application controls the start and stop of welding through control waveform data synchronously output on the time axis with the triangular wave data. When the control waveform data includes periodic output trigger waveform data corresponding to the peak section and the trough section, the output trigger waveform data controls the laser to stop outputting laser, thereby avoiding the situation that the traces on both sides of the welding mark are deeper due to the slower swing speed of the laser at the peak section or the trough section of the triangular wave data.
[0045] Refer to Figure 1 , Figure 1 Schematic diagram of the structure of the laser welding equipment in the hardware operating environment related to the embodiment solution of the present application.
[0046] As Figure 1As shown, the laser welding device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0047] Those skilled in the art can understand that Figure 1 the structure shown in does not constitute a limitation on the laser welding device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0048] As Figure 1 shown, in the memory 1005 as a storage medium, there may be included an operating system, a data storage module, a network communication module, a user interface module, and a laser welding program.
[0049] In Figure 1 the shown laser welding device, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the laser welding device of the present application may be provided in the laser welding device. The laser welding device calls the laser welding program stored in the memory 1005 through the processor 1001 and executes the laser welding method provided by the embodiments of the present application.
[0050] Based on the hardware structure of the above laser welding device but not limited to the above hardware structure, the present application provides a first embodiment of a laser welding method. Referring to Figure 2 , Figure 2 shows a schematic flow chart of the first embodiment of the laser welding method of the application.
[0051] It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described may be executed in a different order than here.
[0052] In this embodiment, the laser welding method includes:
[0053] Step S10: Obtain the triangular waveform data and the control waveform data output synchronously; wherein, the control waveform data includes the trigger waveform data output periodically, and on the time axis, the peak segment or the trough segment of the trigger waveform data corresponds to the triangular waveform data.
[0054] Step S20: When the control waveform data is the trigger waveform data, control the laser to stop outputting laser.
[0055] The execution entity of the laser welding method is the PLC control host. In one embodiment, the user can also interact with the PLC control host. For example, the PLC control host receives the triangular waveform data and the control waveform data input by the user through the input device.
[0056] In this embodiment, the triangular waveform data can be waveform data generated according to data such as the output frequency and amplitude. The control waveform can be waveform data generated according to data such as the output frequency and duty cycle.
[0057] As an optional implementation manner, the output frequency of the control waveform data can be obtained through the TIM3 general-purpose timer. For example, in the STM32F103RCT6 single-chip microcomputer, the pins of the TIM3 general-purpose timer in the STM32F103RCT6 single-chip microcomputer are set to the remapping function, that is, the original output pins of the STM32F103RCT6 single-chip microcomputer are mapped to the PC8 channel output, and the output frequency is determined by using the frequency calculation formula Prescaler = 10000 - 1, Period = ((system clock / 2) / 10000) / input frequency - 1. Finally, the output mode of the control waveform data is selected as mode 1. When 1 is for upward counting, the output polarity is selected as high level valid, and the control waveform data can be obtained.
[0058] As an optional implementation manner, the amplitude of the triangular waveform data can be calculated through the welding length, and the output power of the triangular waveform can be calculated according to the thickness of the workpiece to be welded. It can be understood that when the swing length of the triangular waveform data is larger, the length of the welding mark is also larger. When the output frequency of the triangular waveform data is higher, the energy output by the output laser is smaller. Therefore, the output frequency and amplitude of the triangular waveform data can be calculated and generated according to the actual welded product, and the triangular waveform data calculated by the loop is filled into the created variable array. At the same time, after the triangular waveform data is determined, each part of the peripheral device is initialized, and the output states of the two output ports of the DAC (digital-to-analog converter) are set. The mode is set to the analog mode, and the pin speed is 50 MHz.
[0059] In this embodiment, the trigger waveform data may be the waveform data for controlling the laser to pause the output of laser. As Figure 3 shown, on the time axis X, the start time point t2 of the trigger waveform data is earlier than the start time point of the peak t0 or the trough t1 of the triangular waveform data, and the end time point t3 of the trigger waveform data is later than the end time point of the peak or the trough of the triangular waveform data.
[0060] In this embodiment, the start and stop of welding are controlled by the control waveform data synchronously output with the triangular waveform data on the time axis. When the control waveform data includes periodic output trigger waveform data corresponding to the peak segment and the trough segment, outputting the trigger waveform data controls the laser to stop outputting laser, thereby avoiding the situation that the traces on both sides of the welding trace are deeper due to the slower swinging speed of the laser at the peak segment or the trough segment of the triangular waveform data.
[0061] In addition, this embodiment can not only reduce the hardware configuration and cost, but also reduce the difficulty for the staff to get started, making the welding trace more beautiful and practical.
[0062] As an embodiment, in the specific implementation, step S20 specifically includes:
[0063] Step S201, when the control square wave data is the low-level waveform data, control the laser to stop outputting laser.
[0064] In this embodiment, the control waveform data may be control square wave data, such as PWM waveform data (Pulse width modulation wave, pulse width modulation), and the trigger waveform data may be low-level waveform data. The low-level waveform data may be the maximum input low level allowed to ensure that the input of the logic gate is at a low level. When the input level is lower than (Vil), the input level is considered to be at a low level.
[0065] As an optional implementation manner, the duration of the laser stopping outputting laser can be controlled by changing the waveform of the control square wave data. Specifically, the duration of the laser stopping outputting laser can be controlled by controlling the on-duration and off-duration of the control switch element to change the output duration of a single low-level waveform data.
[0066] In this embodiment, when the trigger waveform data is low-level waveform data, control the laser to stop outputting laser to avoid the situation that the traces on both sides of the welding trace are deeper due to the slower swinging speed of the laser at the peak segment or the trough segment of the triangular waveform data.
[0067] Step S202, when the control square wave data is the high-level waveform data, control the laser to output laser for welding according to the triangular waveform data.
[0068] In this embodiment, the high-level waveform data may be the minimum input high level allowed when the input of the logic gate is at a high level. When the input level is higher than the input high voltage (Vih), the input level is considered to be at a high level.
[0069] In this embodiment, the laser switch can be controlled by controlling the square-wave data. That is, when the control square-wave data is the high-level waveform data, the laser is controlled to output laser for welding to achieve rapid welding of the workpiece.
[0070] Further, based on the above-described embodiment, refer to Figure 4 The second embodiment of the laser welding method provided by this application.
[0071] In this embodiment, step S10 includes:
[0072] Step S101, controlling the waveform generation module to generate the high-level waveform data.
[0073] In this embodiment, the high-level waveform data can be generated by the TIM3 general-purpose timer. For example, the pin of the TIM3 general-purpose timer in the STM32F103RCT6 single-chip microcomputer is set to the remapping function, that is, the original output pin of the STM32F103RCT6 single-chip microcomputer is mapped to the PC8 channel output. It can be understood that in a digital logic circuit, a low level represents 0 and a high level represents 1. Generally, it is stipulated that the low level is 0 to 0.25V and the high level is 3.5 to 5V. Therefore, the output mode of the high-level waveform data is selected as mode 1, and the output polarity is selected to be high-level effective, and the high-level waveform data can be generated.
[0074] Step S102, when it is monitored that the current output moment of the triangular waveform data is the preset moment, start timing.
[0075] In this embodiment, the preset moment may be before the peak segment moment or after the trough segment moment of the triangular waveform data. Specifically, when the transmission array of the triangular waveform data in one cycle is set to 1024 times, refer to Figure 5 As shown, on the time axis X, the preset moment may be the moment t4 corresponding to the 0th bit, the moment t5 corresponding to the 512th bit, and the moment t6 corresponding to the 1024th bit of the transmission array of the triangular waveform data in one cycle.
[0076] Step S103, when the timing reaches the first switching duration, control the waveform generation module to generate the low-level waveform data, and start timing the output duration of the low-level waveform data.
[0077] Step S104: When the output duration of the low-level waveform data reaches the second switching duration, control the waveform generation module to generate the high-level data.
[0078] In this embodiment, the first switching duration may be the output duration of the high-level waveform data before the peak or trough of a single triangular waveform data appears; the second switching duration may be the output duration of the low-level waveform data from before the peak of a single triangular waveform data appears until after the peak ends, or the output duration from before the trough of a single triangular waveform data appears until after the trough ends.
[0079] As an optional implementation manner, the laser can be controlled to output laser or stop outputting laser by alternately outputting periodic high-level waveform data and low-level waveform data. Specifically, the output of the high-level waveform data and the low-level waveform data can be controlled by means of the internal interrupt of the DAC and the NVIC (Nested Vectored Interrupt Controller), and the DMA transfer complete interrupt and the half-transfer interrupt are used to control the closing or output of the high-level waveform data or the low-level waveform. Among them, the response priority and the slave priority of the NVIC are the highest.
[0080] Specifically, when the triangular waveform data starts to be output, it can be determined that the triangular waveform data transfer array is at the 0th position at this time, the current output moment can be determined as the preset moment, and the timing starts. The first switching duration is denoted as T1. When the timing reaches T1, control the waveform generation module to generate the low-level waveform data at this time, and start timing. Denote the second switching duration as T2. When the timing reaches T2, control the waveform generation module to generate the high-level waveform data. At this time, the cutting of the first triangular waveform data in one cycle is completed. When the triangular waveform data is transferred to the 512th position, a half-transfer interrupt is issued for data transfer at this time. Start timing again. When the timing reaches T1, control the waveform generation module to generate the low-level waveform data, and start timing. When the timing reaches T2, control the waveform generation module to generate the high-level waveform data. At this time, the cutting of the second triangular waveform data in one cycle is completed. When the triangular waveform data is transferred to the 1024th position, a complete interrupt is issued for data transfer at this time. Start the T1 timing again and repeat the above steps to cut the subsequent triangular waveform data. The cut triangular waveform data is specifically referred to Figure 6 , and the dotted part is the cut part of the triangular waveform data.
[0081] As an optional implementation manner, the output duration of the high-level waveform data and the output duration of the low-level waveform can be timed by a general timer. For example, the output duration of the high-level waveform data can be timed by the TIM2 general timer, and the output duration of the low-level waveform data can be timed by the TIM5 general timer.
[0082] In this embodiment, when the current output time of the triangular waveform data is the preset time, the timing of the output duration of the high-level waveform data is started, and when the timing reaches the first switching duration, the waveform generation module is controlled to generate low-level waveform data. Finally, when the low-level waveform data reaches the second switching duration, the waveform generation module is controlled to generate low-level waveform data, so as to accurately cut a single triangular waveform data within one cycle.
[0083] Further, as an embodiment, referring to Figure 7 , the third embodiment of the laser welding method provided by the present application is provided.
[0084] In this embodiment, step S10 includes:
[0085] Step S105, obtaining the output frequency of the triangular waveform data.
[0086] Step S106, obtaining the first switching duration and the second switching duration according to the output frequency.
[0087] In this embodiment, the output frequency is the number of times the triangular waveform data is periodically output per unit time.
[0088] As an optional implementation manner, the output frequency of the DAC (Digital-to-Analog Converter) can be controlled by configuring the TIM general timer, and further the output frequency of the triangular waveform data can be controlled. Specifically, the configuration of the TIM general timer is as follows: after configuring the TIM general timer structure, the value loaded into the auto-reload register by the TIM general timer in the next update event, the prescaler value used to divide the TIM timing clock, and the TIM clock division value is 0X00, after selecting the technical mode of the TIM general timer as up-counting, the TIM general timer structure is initialized, and finally the TIM general timer is selected as the trigger clock. It can be understood that after the TIM general timer is configured, the Period auto-reload value and the Prescaler prescaler value in the timer are calculated by an exclusive formula, and the formula is: Prescaler = 10000 - 1, Period = ((system clock / 2) / 10000) / frequency - 1.
[0089] As an alternative implementation, after obtaining the output frequency of the triangular waveform data, an output waveform can be generated by configuring the DAC. Specifically, configure the DAC structure body, define the DAC structure variable as an internal structure, select the trigger mode as the TIM6 general timer trigger, select to disable the DAC output channel buffer for the output buffer, configure the output waveform to disable waveform generation for the channel, specify the mask bit for not selecting the noise waveform, initialize the structure body of the entire DAC configuration, and fill in ENABLE to enable the digital-to-analog converter peripheral to start. Finally, configure the DMA (Direct Memory Access) direct memory to send the obtained triangular waveform data to the register of channel 1 of the DAC to generate a triangular waveform. Using the DMA direct memory can greatly reduce the running time of the CPU main program and reduce the burden on the CPU. Specifically, configure the DMA structure body, define the structure variable as an internal structure, configure the peripheral base address and the register base address, set the amount of data transferred each time between the register and the peripheral to HalfWord (half word) for byte data transfer. Among them, the peripheral address does not increment during transmission, and the register address increments during the transmission process. The number of transmissions is the number of arrays calculated for the triangular wave, which can be 1024 times. Set the transmission mode to continuous transmission mode and do not use software triggering. Specify that the DMA channel priority transmission level is very high, initialize the DMA structure body, and finally input ENABLE to enable the DMA direct memory.
[0090] In this embodiment, after obtaining the output frequency of the triangular waveform data, the first switching duration can be determined according to the output frequency of the triangular waveform data, and the first switching duration is input into the TIM2 general timer and timed according to the first switching duration. It can be understood that in a single triangular waveform data within one cycle, based on the triangular waveform data from the output moment to the peak moment of the triangular waveform data and the first switching duration, the output duration of the low-level waveform data before the peak moment of the triangular waveform data can be determined. And since the triangular waveform data is generally a symmetric graph, the output duration of the low-level waveform after the trough of the triangular waveform data can be determined, thereby determining the second switching duration.
[0091] In this embodiment, by determining the first switching duration and the second switching duration according to the output frequency of the triangular waveform data, when the output frequency of the triangular waveform data changes, the first switching duration and the second switching duration can be flexibly adjusted, avoiding the situation where the triangular waveform data is unevenly cut due to the increase in the output frequency of the triangular waveform data while the first switching duration and the second switching duration remain unchanged, resulting in uneven welding marks.
[0092] Based on the same inventive concept, the present application provides a laser welding device, referring to Figure 8 , Figure 8Schematic diagram of modules of the first embodiment of the laser welding device of the present application.
[0093] A waveform acquisition module 10, configured to acquire triangular waveform data and control waveform data output synchronously; wherein, the control waveform data includes trigger waveform data output periodically, and on the time axis, the trigger waveform data corresponds to the peak segment or the trough segment of the triangular waveform data;
[0094] A control module 20, configured to control the laser to stop outputting laser when the control square wave data is the trigger waveform data.
[0095] It should be noted that for each implementation manner of the laser welding device in this embodiment and the technical effects achieved thereby, reference may be made to various implementation manners of the laser welding method in the foregoing embodiments, which will not be elaborated herein.
[0096] The technical solution of this embodiment, through the mutual cooperation between each functional module, acquires triangular waveform data and control waveform data output synchronously; wherein, the control waveform data includes trigger waveform data output periodically, and on the time axis, the trigger waveform data corresponds to the peak segment or the trough segment of the triangular waveform data; when the control square wave data is the trigger waveform data, control the laser to stop outputting laser. The present application, through the trigger waveform data output periodically corresponding to the peak segment and the trough segment of the triangular waveform data on the time axis, when the control waveform data is the trigger waveform data, controls the laser to stop outputting laser, thereby avoiding the situation that the traces on both sides of the welding trace are deeper due to the slower swinging speed of the laser at the peak segment or the trough segment of the triangular waveform data.
[0097] In one embodiment, the waveform acquisition module further includes:
[0098] A first control unit 101, configured to control a waveform generation module to generate the high-level waveform data;
[0099] A timing unit 102, configured to start timing when it is monitored that the current output moment of the triangular waveform data is a preset moment;
[0100] A second control unit 103, configured to control the waveform generation module to generate the low-level waveform data when the timing reaches a first switching duration, and start timing the output duration of the low-level waveform data;
[0101] The second control unit 104 is further configured to control the waveform generation module to generate the high-level data when the output duration of the low-level waveform data reaches a second switching duration.
[0102] It should be noted that the various embodiments of the laser welding device in this embodiment and the technical effects achieved thereby can refer to the various embodiments of the laser welding method in the foregoing embodiments, and will not be elaborated here.
[0103] In addition, the embodiments of the present application also propose a computer storage medium, on which a laser welding program is stored. When the laser welding program is executed by a processor, the steps of the laser welding method as described above are implemented. Therefore, it will not be elaborated here. In addition, the beneficial effects of using the same method will not be described in detail. For the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application, please refer to the description of the method embodiments of the present application. By way of example, the program instructions can be deployed to be executed on a computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected through a communication network.
[0104] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0105] In addition, it should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement without creative efforts.
[0106] Through the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general hardware. Of course, it can also be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. Generally, functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structures for implementing the same function can also be diverse, such as analog circuits, digital circuits, or dedicated circuits. However, for this application, software program implementation is a better embodiment in more cases. Based on such an understanding, the technical solution of this application, in essence, or the part that makes a contribution to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disc, etc., and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various embodiments of this application.
[0107] The above are only the preferred embodiments of this application, and do not limit the patent scope of this application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.
Claims
1. A laser welding method, characterized in that, The method includes: Obtaining triangular waveform data and control waveform data output synchronously; wherein, the control waveform data includes trigger waveform data output periodically, and on the time axis, the trigger waveform data corresponds to the peak segment or trough segment of the triangular waveform data; When the control waveform data is the trigger waveform data, controlling the laser to stop outputting laser; The control waveform data is control square wave data, and the trigger waveform data is low-level waveform data. When the control square wave data is the trigger waveform data, controlling the laser to stop outputting laser includes: When the control square wave data is the low-level waveform data, controlling the laser to stop outputting laser; The control waveform data further includes high-level waveform data output periodically. After controlling the laser to stop outputting laser when the control square wave data is the low-level waveform data, the method further includes: When the control square wave data is the high-level waveform data, controlling the laser to output laser for welding according to the triangular waveform data; Obtaining the control square wave data includes: A control waveform generation module generates the high-level waveform data; When it is monitored that the current output moment of the triangular waveform data is a preset moment, start timing; When the timing reaches a first switching duration, controlling the waveform generation module to generate the low-level waveform data, and start timing the output duration of the low-level waveform data; When the output duration of the low-level waveform data reaches a second switching duration, then controlling the waveform generation module to generate the high-level waveform data; Obtaining the triangular waveform data output synchronously includes: Obtaining the output frequency of the triangular waveform data; According to the output frequency, obtaining the first switching duration and the second switching duration; The preset moment includes the moment corresponding to the 0th bit, the 512th bit, and the 1024th bit of the transmission array of the triangular waveform data within one period.
2. A laser welding device, characterized in that, Applied to the laser welding method as described in claim 1, the device includes: A waveform acquisition module, configured to obtain triangular waveform data and control waveform data output synchronously; wherein, the control waveform data includes trigger waveform data output periodically, and on the time axis, the trigger waveform data corresponds to the peak segment or trough segment of the triangular waveform data; A control module, configured to control the laser to stop outputting laser when the control square wave data is the trigger waveform data.
3. The laser welding device according to claim 2, characterized in that, The waveform acquisition module further includes: A first control unit, configured to control a waveform generation module to generate the high-level waveform data; A timing unit, configured to start timing when it is monitored that the current output moment of the triangular waveform data is a preset moment; A second control unit, configured to control the waveform generation module to generate the low-level waveform data when the timing reaches a first switching duration, and start timing the output duration of the low-level waveform data; The second control unit is further configured to control the waveform generation module to generate the high-level waveform data when the output duration of the low-level waveform data reaches a second switching duration.
4. A laser welding device, characterized in that, Includes: A processor, a memory, and a laser welding program stored in the memory, the steps of the laser welding method as claimed in claim 1 being implemented when the laser welding program is run by the processor.
5. A computer-readable storage medium, characterized in that, A laser welding program is stored on the computer-readable storage medium, and the laser welding method as claimed in claim 1 is implemented when the laser welding program is executed by a processor.
Citation Information
Patent Citations
Three-dimensional scanning full waveform laser radar system
CN107272018A
Drive current modulation circuit and method of NMR gyroscope laser
CN108400517A