Adaptive method and device for galvanometer welding
By reading the module labels in the galvanomic scanning laser welding machine and switching process parameter documents, the problem that the galvanomic scanning laser welding machine cannot continuously weld different process modules is solved, improving welding efficiency and ensuring equipment stability.
Patent Information
- Application Number
- CN202210801535.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-07-07
AI Technical Summary
The existing galvanomic scanning laser welding machine has a single control method, and can only meet the module welding of one welding process at a time, resulting in low processing efficiency and the inability to achieve continuous welding of modules of different process processes.
By reading the label of the module to be welded to obtain the model number, generating a switching request signal, switching the process parameter document of the galvanometer welding machine to the target document, and after confirming that the switching is successful, welding is performed with the information of the target parameter document, and welding is performed cyclically to realize the adaptive switching of process parameters.
Continuous welding of different process modules is realized, welding processing efficiency is improved, and safety hazards of equipment failure and file switching failure are avoided.
Smart Images

Figure CN115041820B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of welding control, and in particular to an adaptive method and device for galvanometer welding. Background Art
[0002] Galvanometer scanning laser welding machines utilize a galvanometer scanning method, resulting in high welding speeds and suitable for laser precision spot welding of various components. These machines typically consist of a YAG solid-state laser, a laser power supply, an optical scanning system, a three-dimensional adjustable worktable, an industrial computer system, a cooling system, a laser pointer system, and an operating cabinet.
[0003] The control method of a galvanometer scanning laser welding machine is as follows: when the laser gun head reaches the welding point, the welding controller (which can be a programmable logic controller (PLC)) sends a light emission signal to the galvanometer. The galvanometer receives the signal and executes the light emission action. After the light emission is completed, it returns a light emission completion signal to the welding controller to complete the welding. This single control mode can only meet the module welding requirements of one welding process at a time, resulting in low processing efficiency. Summary of the Invention
[0004] In view of this, an object of the present invention is to provide an adaptive method and device for galvanometer welding, which can perform welding processing on modules with different processes at one time, thereby improving welding processing efficiency.
[0005] In order to achieve the above objectives, the technical solutions adopted in the embodiments of the present invention are as follows.
[0006] In a first aspect, an embodiment of the present invention provides an adaptive method for galvanometer welding, which is applied to a welding controller. The method includes:
[0007] When the galvanometer welding machine moves to the welding point of the current module to be welded on the tooling plate, the label of the module to be welded is read to obtain the model of the module to be welded;
[0008] Using the document number corresponding to the model as the target document number, generating a switching request signal for the target document number, and sending the switching request signal to the galvanometer welding machine;
[0009] The switching request signal is used to prompt the galvanometer welding machine to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine to the target parameter document corresponding to the target document number;
[0010] When it is confirmed that the galvanometer welding machine has switched to the target parameter document, a confirmation signal is sent to the galvanometer welding machine, wherein the confirmation signal is used to prompt the galvanometer welding machine to use the information of the target parameter document as the process parameter to weld the module to be welded.
[0011] Furthermore, after the step of sending the switching request signal to the galvanometer welding machine, the method further includes:
[0012] receiving a feedback signal returned by the galvanometer welding machine in response to the switching request signal;
[0013] Wherein, the feedback signal includes a current document number, which is the document number of the current process parameter document of the galvanometer welding machine after the galvanometer welding machine performs a document switching operation;
[0014] Determine whether the current document number is consistent with the target document number. If so, confirm that the galvanometer welding machine has switched to the target parameter document.
[0015] Furthermore, after the step of determining whether the current document number is consistent with the target document number, the method further includes:
[0016] If not, counting the number of requests for sending the switching request signal regarding the target document number;
[0017] If the number of requests does not reach the preset number, the switching request signal is sent to the galvanometer welding machine again;
[0018] If the number of requests reaches the preset number, a warning about the switching failure will be issued.
[0019] Furthermore, after the step of sending a confirmation signal to the galvanometer welding machine, the method further includes:
[0020] When the welding of the module to be welded is completed and the galvanometer welding machine moves to the welding point of the next module to be welded on the tooling plate, the step of reading the label of the module to be welded to obtain the model of the module to be welded is performed to continue welding the next module to be welded.
[0021] Furthermore, the step of reading the label of the module to be welded to obtain the model of the module to be welded includes:
[0022] The RFID tag of the module to be welded is read by a reader to obtain the model of the module to be welded.
[0023] Furthermore, the step of generating a switching request signal regarding the target document number includes:
[0024] Through IO combination, the target document number is converted from Word type data to BOOL type data, and a switching request signal is generated in combination with the converted target document number.
[0025] In a second aspect, an embodiment of the present invention provides an adaptive method for galvanometer welding, which is applied to a galvanometer welding machine, and the method includes:
[0026] Receive a switching request signal sent by the welding controller, and perform a document switching operation according to the target document number in the switching request signal to switch the current process parameter document to the target parameter document;
[0027] After the switch is completed, the document number of the current process parameter document is used as the current document number;
[0028] generating a feedback signal regarding the current document number and sending the feedback signal to the welding controller, wherein the feedback signal is used to prompt the welding controller to determine whether the current document number is consistent with the target document number;
[0029] When a confirmation signal sent by the welding controller is received, the target parameter document is called, and the module to be welded on the tooling plate is welded using the information in the target parameter document as process parameters.
[0030] In a third aspect, an embodiment of the present invention provides an adaptive device for galvanometer welding, which is applied to a welding controller and includes a reading module, a switching module, a welding module, and a control module;
[0031] The reading module is used to read the label of the module to be welded when the galvanometer welding machine moves to the welding point of the current module to be welded on the tooling plate to obtain the model of the module to be welded;
[0032] The switching module is configured to use the document number corresponding to the model as the target document number, generate a switching request signal regarding the target document number, and send the switching request signal to the galvanometer welding machine;
[0033] The switching request signal is used to prompt the galvanometer welding machine to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine to the target parameter document corresponding to the target document number;
[0034] The welding module is used to send a confirmation signal to the galvanometer welding machine when it is confirmed that the galvanometer welding machine has switched to the target parameter document, wherein the confirmation signal is used to prompt the galvanometer welding machine to use the information of the target parameter document as the process parameter to weld the module to be welded.
[0035] Furthermore, the adaptive device for galvanometer welding further includes a confirmation module;
[0036] The confirmation module is used to:
[0037] Receiving a feedback signal returned by the galvanometer welding machine in response to the switching request signal, wherein the feedback signal includes a current document number, and the current document number is the document number of the current process parameter document of the galvanometer welding machine after the galvanometer welding machine performs the document switching operation;
[0038] Determine whether the current document number is consistent with the target document number. If so, confirm that the galvanometer welding machine has switched to the target parameter document.
[0039] Furthermore, the confirmation module is further configured to:
[0040] If the current document number is inconsistent with the target document number, counting the number of requests for sending a switching request signal regarding the target document number;
[0041] If the number of requests does not reach the preset number, the switching request signal is sent to the galvanometer welding machine again;
[0042] If the number of requests reaches the preset number, a warning about the switching failure will be issued.
[0043] In a fourth aspect, an embodiment of the present invention provides an adaptive system for galvanometer welding, comprising a welding controller and a galvanometer welding machine;
[0044] The welding controller is used to implement the adaptive method of galvanometer welding as described in the first aspect;
[0045] The galvanometer welding machine is used to implement the adaptive method of galvanometer welding as described in the second aspect.
[0046] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and when the processor executes the computer program, it implements the adaptive method of galvanometer welding as described in the first aspect, or implements the adaptive method of galvanometer welding as described in the second aspect.
[0047] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, and when the computer program is executed by a processor, it implements the adaptive method of galvanometer welding as described in the first aspect, or implements the adaptive method of galvanometer welding as described in the second aspect.
[0048] The adaptive method and device for galvanometer welding provided by the embodiment of the present invention, when the galvanometer welding machine moves to the welding point of the module to be welded, the welding controller obtains the model of the welding module by reading the label, and obtains the target document number according to the model, and then generates and sends a switching request signal to the galvanometer welding machine, so that the galvanometer welding machine switches the process parameter document to the target parameter document corresponding to the target document number. When it is confirmed that the galvanometer welding machine has switched to the target parameter document, a confirmation signal is sent to the galvanometer welding machine, so that the galvanometer welding machine welds the module to be welded with the process parameters of the target parameter document. After the welding of the module to be welded is completed, the same method can be used to weld the next module to be welded on the tooling plate, so that modules with different processes can be welded at one time by switching the process parameter document of the galvanometer welding machine, thereby greatly improving the welding processing efficiency.
[0049] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0051] Figure 1 A block diagram of an adaptive system for galvanometer welding provided by an embodiment of the present invention is shown.
[0052] Figure 2 One of the flow charts of the adaptive method for galvanometer welding applied to a welding controller provided in an embodiment of the present invention is shown.
[0053] Figure 3 The second flow chart of the adaptive method for galvanometer welding applied to a welding controller provided in an embodiment of the present invention is shown.
[0054] Figure 4 A schematic flow chart of an adaptive method for galvanometer welding applied to a galvanometer welding machine provided in an embodiment of the present invention is shown.
[0055] Figure 5 A block diagram of an adaptive device for galvanometer welding provided by an embodiment of the present invention is shown.
[0056] Figure 6 A block diagram of an electronic device provided by an embodiment of the present invention is shown.
[0057] Icons: 100-adaptive system for galvanometer welding; 110-welding controller; 120-galvanometer welding machine; 130-galvanometer; 140-galvanometer control board; 150-adaptive device for galvanometer welding; 160-reading module; 170-switching module; 180-welding module; 190-control module; 200-electronic equipment. DETAILED DESCRIPTION
[0058] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0059] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely intended to represent selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative work are within the scope of protection of the present invention.
[0060] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
[0061] Galvanometer scanning laser welding machines utilize a galvanometer scanning method, resulting in high welding speeds and suitable for laser precision spot welding of various components. These machines typically consist of a YAG solid-state laser, a laser power supply, an optical scanning system, a three-dimensional adjustable worktable, an industrial computer system, a cooling system, a laser pointer system, and an operating cabinet.
[0062] Simply put, a galvanometer scanning laser welding machine consists of a workbench, a galvanometer welding machine, and a welding controller. These two units typically form a welding robot. The galvanometer welding machine also includes a galvanometer and a galvanometer control board. The galvanometer, or laser scanner, typically consists of an XY optical scanning head, an electronic drive amplifier, and optical reflective lenses to control the deflection of the laser beam in the XY plane.
[0063] The control method of the galvanometer scanning laser welding machine is as follows: when the laser gun head reaches the welding point, the welding controller (which can be a programmable logic controller (PLC)) sends a light emission signal to the galvanometer. After receiving the signal, the galvanometer executes the light emission action. After the light emission is completed, it returns a light emission completion signal to the welding controller to complete the welding. This single control mode can only meet the module welding of one welding process at a time, resulting in low processing efficiency. It cannot achieve continuous welding of modules with different processes, resulting in low processing efficiency.
[0064] Based on the above considerations, an embodiment of the present invention provides an adaptive galvanometer welding method that can achieve continuous welding of modules with different processes and improve welding efficiency.
[0065] In one embodiment, referring to Figure 1 An adaptive galvanometer welding system 100 is provided, comprising a welding controller 110 and a galvanometer welding machine 120. In practical applications, the welding controller 110 and the galvanometer welding machine 120 are both part of a welding robot. The galvanometer welding machine 120 includes a galvanometer 130 and a galvanometer control board 140.
[0066] The welding controller 110 is used to obtain the model of the module to be welded by reading the label of the module to be welded when the galvanometer welding machine 120 moves to the current welding point of the module to be welded on the tooling plate, and based on the model, generate a switching request signal about the target document number to the galvanometer welding machine 120.
[0067] The galvanometer welding machine 120 is used to switch its current process parameter document to the target parameter document corresponding to the target document number in the switching request signal after receiving the switching request signal, and after the document switching operation is completed, generate a feedback signal about the current document number to the welding controller 110 based on the document number of its current process parameter document.
[0068] The welding controller 110 is configured to send a confirmation signal to the galvanometer welding machine 120 after receiving the feedback signal if the current file number in the feedback signal is consistent with the target file number.
[0069] The galvanometer welding machine 120 is used to execute the welding program and weld the module to be welded using the information in the target parameter document as process parameters after receiving the confirmation signal.
[0070] After the galvanometer welding machine 120 completes the welding of a module to be welded, it continues to weld the next module to be welded on the tooling plate using the same process as above.
[0071] The welding controller 110 includes but is not limited to: a programmable logic controller, a CPU or an MCU.
[0072] Each module to be welded has its own tag. The target file number obtained after reading the tag corresponds to a target parameter file. In other words, each file number corresponds to a process parameter file. The process parameter file records the welding process parameters, and the galvanometer welding machine 120 performs different welding processes based on the different welding process parameters.
[0073] It should be understood that the adaptive galvanometer welding system 100 may further include a workbench for fixing a tooling plate. Furthermore, the workbench may be capable of moving the tooling plate. In this case, the welding robot may be stationary, so that different modules to be welded are positioned within the working area of the welding robot by moving the workbench.
[0074] In the above-mentioned galvanometer welding adaptation 100, the welding controller 110 can obtain the target parameter document corresponding to the target document number by reading the label of the module to be welded, and then the galvanometer welding machine 120 switches the process parameter document to the target parameter document corresponding to the model of the module to be welded, so as to quickly realize the process parameter switching of the galvanometer welding machine 120. When the switching is successful, the galvanometer welding machine 120 welds the module to be welded with the process parameters corresponding to the model of the module to be welded. For different modules to be welded, the target process parameters of the module to be welded are quickly switched and called to meet the process requirements of modules to be welded with multiple different processes at one time, thereby improving welding efficiency.
[0075] In order to introduce the welding control scheme in more detail, the following will be introduced from the perspectives of the welding controller 110 and the galvanometer welding machine 120 respectively.
[0076] In one embodiment, referring to Figure 2 , provides an application such as Figure 1 The adaptive method of galvanometer welding of the welding controller 110 shown in FIG. 1 may include the following steps.
[0077] S101, when the galvanometer welding machine moves to the welding point of the current module to be welded on the tooling plate, the label of the module to be welded is read to obtain the model of the module to be welded.
[0078] It should be understood that the welding robot can drive the galvanometer welding machine 120 to move to the welding point of the current module to be welded on the tooling board. Alternatively, the module to be welded on the tooling board can be moved to the working area of the galvanometer welding machine 120 by a mobile device such as a workbench.
[0079] The label includes the model of the module to be welded. The label can be set on the module to be welded. The specific location is selected according to actual needs and is not specifically limited in this embodiment.
[0080] The tag may be any one of an RFID tag, a barcode, a QR code, etc., which is not specifically limited in this embodiment and can be set according to actual conditions in actual applications.
[0081] Tag reading can be achieved by a reader. The reader can be integrated with the welding controller 110 or be set at a position on the welding robot that is convenient for reading tags. The reader must be connected to the welding controller 110 for communication.
[0082] In one embodiment, the welding controller 110 may control the reader to start a reading operation, and the reader reads the tag to obtain the model and sends the model to the welding controller 110 .
[0083] S103: Taking the document number corresponding to the model as the target document number, generating a switching request signal for the target document number, and sending the switching request signal to the galvanometer welding machine.
[0084] The switching request signal is used to prompt the galvanometer welding machine 120 to perform a file switching operation to switch the current process parameter file of the galvanometer welding machine 120 to a target parameter file corresponding to the target file number.
[0085] Each document number corresponds to a process parameter document, and different process parameter documents record different process parameters.
[0086] The welding controller 110 generates a switching request signal including a target document number to the galvanometer welding machine 120. After receiving the switching request signal, the galvanometer welding machine 120 performs a switching operation to switch its current process parameter document to the target parameter document corresponding to the target document number.
[0087] Alternatively, after receiving the switching request signal, the galvanometer welding machine 120 performs a switching operation to switch the currently selected calling file number of its own welding program to the target file number in the switching request signal.
[0088] S105 , when confirming that the galvanometer welding machine has switched to the target parameter file, sending a confirmation signal to the galvanometer welding machine.
[0089] The confirmation signal is used to prompt the galvanometer welding machine 120 to weld the module to be welded using the information in the target parameter document as process parameters.
[0090] When the welding controller 110 confirms that the galvanometer welding machine 120 has switched to the target parameter file, it sends a confirmation signal to the galvanometer welding machine 120. After receiving the confirmation signal, the galvanometer welding machine 120 uses the information in the target parameter file as the process parameters to weld the module to be welded.
[0091] When welding is finished, the galvanometer welding machine 120 may send a welding end instruction to the welding controller 110 to indicate that welding has ended.
[0092] In the above-mentioned adaptive method of galvanometer welding, when the galvanometer welding machine 120 moves to the welding point of the module to be welded, the welding controller 110 obtains the model of the welding module by reading the label, and obtains the target document number according to the model, and then generates and sends a switching request signal to the galvanometer welding machine 120, so that the galvanometer welding machine 120 switches the process parameter document to the target parameter document corresponding to the target document number. When it is confirmed that the galvanometer welding machine 120 has switched to the target parameter document, a confirmation signal is sent to the galvanometer welding machine 120, so that the galvanometer welding machine 120 welds the module to be welded with the process parameters of the target parameter document. After the welding of the module to be welded is completed, the same method is used to weld the next module to be welded on the tooling board.
[0093] Compared with traditional welding control methods, the adaptive method of galvanometer welding provided in this embodiment reads the label of the module to be welded to switch the target parameter document corresponding to the model in the label, and welds the module to be welded based on the process parameters of the target parameter document, so that the welding robot can continuously weld modules with different processes, greatly improving welding efficiency.
[0094] Furthermore, after S105 , if it is confirmed that the welding of the module to be welded is completed and the galvanometer welding machine 120 moves to the welding point of the next module to be welded on the tooling plate, the process returns to step S101 to continue welding the next generation welding module.
[0095] Among them, the galvanometer welding machine 120 can be controlled by the welding controller 110 to move to the welding point of the next module to be welded, or the workbench can automatically move the welding point of the next module to be welded to the working area of the galvanometer welding machine 120 after receiving the welding end command sent by the galvanometer welding machine 120.
[0096] Repeat the above steps until all modules to be welded on the tooling board are welded.
[0097] In order to realize that the welding operation is performed only after confirming that the process parameter file of the galvanometer welding machine 120 is successfully switched, it is possible to avoid safety hazards caused by equipment failure and file switching failure to a certain extent. Figure 3 The adaptive method for galvanometer welding provided in this embodiment further includes step S104, which is executed after the step of sending the switching request signal to the galvanometer welding machine 120 in step S103 is completed.
[0098] S104: Based on the feedback signal returned by the galvanometer welding machine, it is determined whether the galvanometer welding machine has switched to the target parameter file. If yes, step S105 is executed.
[0099] The feedback signal includes a current document number, which is the document number of the current process parameter document of the galvanometer welding machine 120 after the galvanometer welding machine 120 performs the document switching operation.
[0100] After the galvanometer welding machine 120 completes the switching operation, it uses the document number of the currently selected process parameter document as the current document number and generates a feedback signal to the galvanometer welding machine 120 .
[0101] In more detail, step S104 can be implemented in the following manner: receiving the feedback signal returned by the galvanometer welding machine 120 in response to the switching request signal; determining whether the current document number is consistent with the target document number, if so, confirming that the galvanometer welding machine 120 has switched to the target parameter document, if not, the switch fails.
[0102] For example, before the switching operation is performed, the document number of the current process parameter document of the galvanometer welding machine 120 is a, and the target document number is b. If the switching is successful, the current document number is b. If the switching fails, the current document number may be a or any document number except b.
[0103] Through the above step S104 , the galvanometer welding machine 120 and the welding controller 110 use a handshake signal to confirm whether the switching is successful.
[0104] Further, to improve stability and security, please continue to refer to Figure 3 The adaptive method for galvanometer welding provided in the embodiment of the present invention further includes steps S106-S108. If it is confirmed in S104 that the switching of the galvanometer welding machine 120 fails, S106 is executed.
[0105] S106: Count the number of requests for sending the switching request signal for the target document number and determine whether the number of requests reaches a preset number. If yes, execute S107; otherwise, execute S108.
[0106] For example, for the same module to be welded, each time the welding controller 110 sends a switching request signal to the galvanometer welding machine 120, the number of requests is increased by 1. The preset number of times can be set according to the actual situation, for example, 1 time, 2 times, 3 times, etc., and is not specifically limited in this embodiment.
[0107] S107 , sending a switching request signal to the galvanometer welding machine 120 again.
[0108] After S107 , S104 is executed again, and the process is repeated until the galvanometer welding machine 120 is successfully switched, or until the number of requests reaches a preset number.
[0109] S108: Issue a warning about the switching failure.
[0110] Alert methods can be flexibly configured. For example, a welding robot can include a display screen on which alert information can be displayed. A welding robot can also include a buzzer, with alerts including displaying alert information on the screen, sounding an alarm through the buzzer, and sending a switching error alert to the operation and maintenance equipment.
[0111] Through the above steps S106-S108, an alarm can be issued in time when the switching fails, so as to remind the operation and maintenance personnel to quickly carry out repairs.
[0112] In one possible embodiment, the tag in step S101 is an RFID tag. In this case, the reader used to read the tag is an RFID reader. The reading of the tag of the module to be welded in S101 to obtain the model of the module to be welded can be achieved in the following manner: the RFID tag of the module to be welded is read by the reader to obtain the model of the module to be welded.
[0113] It should be understood that for other types of tags, the reading principles and the above types are not detailed here.
[0114] It should be noted that the model number can be the target document number. In this case, different modules to be welded can have the same label.
[0115] It should be noted that in this embodiment, the galvanometer welding machine 120 includes a galvanometer 130 and a galvanometer control board 140. The galvanometer 130 is used to emit laser light, and the galvanometer control board 140 controls the light output from the galvanometer 130 and process parameters such as the angle and power of the emitted laser light. The galvanometer control board 140 pre-stores process parameter files for various laser processes, and each process parameter file has its own unique file number.
[0116] In more detail, a process parameter file can be created on the galvanometer 130 software and burned into the galvanometer control board 140. In addition, the process parameter file in the galvanometer control board 140 can be added and deleted.
[0117] Considering that the types of welding process parameters can be diverse and not limited in quantity, and the IO interaction points of the galvanometer control board 140 are limited, if each process parameter document needs to be triggered by an IO point signal, the wiring will be complicated and the number of process parameter documents that can be triggered will be limited.
[0118] Based on the above considerations, in order to achieve the switching of multiple document numbers and improve the compatibility of product types, the generation of the switching request signal for the target document number in S103 can be achieved in the following way: through IO combination, the target document number is converted from Word type data to BOOL type data, and the switching request signal is generated in combination with the converted target document number.
[0119] The IO combination refers to the conversion between WORD type data and BOOL type data in a binary manner.
[0120] In this embodiment, the welding controller 110 may be an Omron NX102-1200 model PLC. In this embodiment, different galvanometer 130 parameter files may be switched through multi-file calling technology and combined IO between the PLC and the galvanometer control board 140 .
[0121] An embodiment of the present invention provides an adaptive method for galvanometer welding applied to a welding controller 110. The welding controller 110 sends a switching request signal regarding a target document number to the galvanometer control board 140. After confirming that the galvanometer 130 has switched to the target parameter document, the welding controller 110 sends a confirmation signal to the galvanometer control board 140. Only after confirmation does the galvanometer 130 start to emit light, thereby enabling continuous welding processing of modules with different process parameters, thereby improving welding efficiency. At the same time, it also avoids the problem of incorrect document number calling of the galvanometer control board 140 to a certain extent.
[0122] Based on the concept of the adaptive method of galvanometer welding applied to the welding controller 110, in one embodiment, an adaptive method of galvanometer welding using a galvanometer welding machine 120 is provided, referring to Figure 4 , including the following steps.
[0123] S201, receiving a switching request signal sent by a welding controller, and performing a document switching operation according to a target document number in the switching request signal to switch a current process parameter document to a target parameter document.
[0124] The switching request signal is a switching request signal for the target file number corresponding to the model generated by the welding controller 110 after reading the label of the module to be welded. The welding robot performs the file switching operation according to the target file number.
[0125] The document switching operation may be to switch the currently selected process parameter document to a target parameter document corresponding to a target document number, or to switch the document number of the currently selected process parameter document to the target document number.
[0126] S202: After the switching is completed, the document number of the current process parameter document is used as the current document number.
[0127] After the switch, the document number of the current process parameter document of the galvanometer welding machine 120 may be the target document number or may not be the target document number.
[0128] S203, generating a feedback signal about the current document number, and sending the feedback signal to the welding controller.
[0129] The feedback signal is used to prompt the welding controller 110 to determine whether the current document number is consistent with the target document number.
[0130] The galvanometer welding machine 120 packages the current document number into a feedback signal and sends it to the welding controller 110 .
[0131] In more detail, in a possible implementation, the galvanometer welding machine 120 uses an IO combination method to convert the current document number into a combined IO signal through binary, and then packages the combined IO signal into a feedback signal and sends it to the welding controller 110.
[0132] S204, when a confirmation signal sent by the welding controller is received, the target parameter document is called, and the information in the target parameter document is used as the process parameter to weld the module to be welded on the tooling board.
[0133] Since the galvanometer welding machine 120 includes a galvanometer 130 and a galvanometer control board 140 , after receiving the confirmation signal, the galvanometer control board 140 controls the galvanometer 130 to emit laser light according to the process parameters of the target parameter document to weld the module 180 to be welded.
[0134] The embodiment of the present invention provides an adaptive method for galvanometer welding applied to a galvanometer welding machine 120. After receiving a switching request signal regarding a target document number sent by a welding controller 110, the galvanometer welding machine 120 performs a switching operation, and after completing the switching operation, replies to the current document number currently being executed to the welding controller 110. After receiving a confirmation signal sent by the welding controller 110, the galvanometer control board 140 controls the galvanometer 130 to start emitting light, thereby enabling continuous welding processing of modules with different process parameters, thereby improving welding efficiency, and at the same time, to a certain extent, avoiding the problem of incorrect document number calling of the galvanometer control board 140.
[0135] The specific definition of the adaptive method for galvanometer welding applied to the galvanometer welding machine 120 can be found in the above definition of the welding control method applied to the welding controller 110, which will not be repeated here.
[0136] In one embodiment, referring to Figure 5, provides an adaptive device 150 for galvanometer welding, which is applied to a welding controller 110 and includes a reading module 160, a switching module 170, a welding module 180 and a control module 190.
[0137] The reading module 160 is used to read the label of the module to be welded when the galvanometer welding machine 120 moves to the welding point of the module to be welded on the tooling plate to obtain the model of the module to be welded.
[0138] The switching module 170 is configured to use the document number corresponding to the model as the target document number, generate a switching request signal regarding the target document number, and send the switching request signal to the galvanometer welding machine 120 .
[0139] The switching request signal is used to prompt the galvanometer welding machine 120 to perform a file switching operation to switch the current process parameter file of the galvanometer welding machine 120 to a target parameter file corresponding to the target file number.
[0140] The welding module 180 is configured to send a confirmation signal to the galvanometer welding machine 120 when confirming that the galvanometer welding machine 120 has switched to the target parameter file.
[0141] The confirmation signal is used to prompt the galvanometer welding machine 120 to weld the module to be welded using the information in the target parameter document as process parameters.
[0142] The control module 190 is used to control the reading module 160 to execute the step of reading the label of the module to be welded and obtaining the model of the module to be welded when the welding of the module to be welded is completed and the galvanometer welding machine 120 moves to the welding point of the next module to be welded on the tooling plate, so as to continue welding the next module to be welded.
[0143] In the above-mentioned galvanometer welding adaptive device 150, when the galvanometer welding machine 120 moves to the welding point of the module to be welded, the reading module 160 obtains the model of the welding module by reading the label, switches to generate and sends a switching request signal about the target document number corresponding to the model to the galvanometer welding machine 120, so that the galvanometer welding machine 120 switches the process parameter document to the target parameter document corresponding to the target document number. When confirming that the galvanometer welding machine 120 has switched to the target parameter document, the welding module 180 sends a confirmation signal to the galvanometer welding machine 120, so that the galvanometer welding machine 120 welds the module to be welded with the process parameters of the target parameter document. After the welding of the module to be welded is completed, the control module 190 controls the reading module 160, the switching module 170 and the welding module 180 to use the same method to weld the next module to be welded on the tooling plate, thereby realizing welding processing of modules with different processes at one time by switching the process parameter document of the galvanometer welding machine 120, thereby greatly improving the welding processing efficiency.
[0144] Furthermore, the adaptive device 150 for galvanometer welding may further include a confirmation module, which is used to:
[0145] Receiving a feedback signal returned by the galvanometer welding machine in response to the switching request signal, wherein the feedback signal includes a current document number, which is the document number of the current process parameter document of the galvanometer welding machine after the galvanometer welding machine performs the document switching operation;
[0146] Determine whether the current document number is consistent with the target document number. If so, confirm that the galvanometer welding machine has switched to the target parameter document.
[0147] Furthermore, the confirmation module is also used to:
[0148] If the current document number is inconsistent with the target document number, the number of requests for sending the switching request signal about the target document number is counted;
[0149] If the number of requests does not reach the preset number, the switching request signal is sent to the galvanometer welding machine again;
[0150] If the number of requests reaches the preset number, a warning about the switching failure will be issued.
[0151] For the specific definition of the adaptive device 150 for galvanometer welding, please refer to the definition of the adaptive method for galvanometer welding above, which will not be repeated here. The various modules in the adaptive device 150 for galvanometer welding can be implemented in whole or in part by software, hardware, and a combination thereof. The above modules can be embedded in or independent of the processor in the adaptive device 150 for galvanometer welding in the form of hardware, or can be stored in the memory of the adaptive device 150 for galvanometer welding in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0152] In one embodiment, an electronic device 200 is provided, whose internal structure diagram can be as follows: Figure 6 As shown. The electronic device 200 includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device 200 is used to provide computing and control capabilities. The memory of the electronic device 200 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device 200 is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an adaptive method for galvanometer welding is implemented.
[0153] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the electronic device 200 to which the solution of the present invention is applied. The specific electronic device 200 may include Figure 6 More or fewer components may be shown, or some components may be combined, or the components may be arranged differently.
[0154] The welding controller 110 and the galvanometer welding machine 120 in the above-mentioned adaptive system 100 for galvanometer welding can both have the structure of the above-mentioned electronic device 200. The memories of the welding controller 110 and the galvanometer welding machine 120 both store computer programs. When the processor executes the computer program in the memory, the adaptive method for galvanometer welding applied to the welding controller 110 as described above and the adaptive method for galvanometer welding applied to the galvanometer welding machine 120 as described above are implemented.
[0155] In one embodiment, the adaptive device 150 for galvanometer welding of the welding controller 110 provided by the present invention can be implemented in the form of a computer program. The computer program can be used in a computer program such as Figure 6 The electronic device 200 shown in FIG. 2 is run on the electronic device 200. The memory of the electronic device 200 may store various program modules constituting the adaptive device 150 for galvanometer welding, for example, Figure 5 The reading module 160, the switching module 170, the welding module 180 and the control module 190 are shown. The computer program composed of the various program modules enables the processor to execute the steps of the adaptive method for galvanometer welding applied to the welding controller 110 described in this specification.
[0156] For example, Figure 6 The electronic device 200 shown may be Figure 5 The reading module 160 in the adaptive device 150 for galvanometer welding shown in FIG. 101 executes step S101. The electronic device 200 may execute step S103 via the switching module 170. The electronic device 200 may execute step S105 via the welding module 180. The electronic device 200 may execute step S107 via the control module 190.
[0157] In one embodiment, an electronic device 200 is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program: when the galvanometer welding machine 120 moves to the welding point of the current module to be welded on the tooling plate, the label of the module to be welded is read to obtain the model of the module to be welded; the document number corresponding to the model is used as the target document number, a switching request signal about the target document number is generated, and the switching request signal is sent to the galvanometer welding machine 120, wherein the switching request signal is used to prompt the galvanometer welding machine 120 to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine 120 to the target parameter document corresponding to the target document number; when it is confirmed that the galvanometer welding machine 120 has switched to the target parameter document, a confirmation signal is sent to the galvanometer welding machine 120, wherein the confirmation signal is used to prompt the galvanometer welding machine 120 to use the information of the target parameter document as the process parameter to weld the module to be welded.
[0158] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: when the galvanometer welding machine 120 moves to the welding point of the current module to be welded on the tooling plate, the label of the module to be welded is read to obtain the model of the module to be welded; the document number corresponding to the model is used as the target document number, a switching request signal about the target document number is generated, and the switching request signal is sent to the galvanometer welding machine 120, wherein the switching request signal is used to prompt the galvanometer welding machine 120 to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine 120 to the target parameter document corresponding to the target document number; when it is confirmed that the galvanometer welding machine 120 has switched to the target parameter document, a confirmation signal is sent to the galvanometer welding machine 120, wherein the confirmation signal is used to prompt the galvanometer welding machine 120 to use the information of the target parameter document as the process parameter to weld the module to be welded.
[0159] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: receiving a switching request signal sent by the welding controller 110, and performing a document switching operation based on the target document number in the switching request signal to switch the current process parameter document to the target parameter document; after the switching is completed, using the document number of its own current process parameter document as the current document number; generating a feedback signal about the current document number, and sending the feedback signal to the welding controller 110, wherein the feedback signal is used to prompt the welding controller 110 to determine whether the current document number is consistent with the target document number; when receiving a confirmation signal sent by the welding controller 110, calling the target parameter document, using the information of the target parameter document as the process parameter, and welding the module to be welded on the tooling plate.
[0160] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a portion of code, and the module, program segment or a portion of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0161] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0162] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0163] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. An adaptive method for galvanometer welding, characterized in that: Applied to a welding controller, the method includes: When the galvanometer welding machine moves to the welding point of the current module to be welded on the tooling plate, the label of the module to be welded is read to obtain the model of the module to be welded; Using the document number corresponding to the model as the target document number, generating a switching request signal for the target document number, and sending the switching request signal to the galvanometer welding machine; The switching request signal is used to prompt the galvanometer welding machine to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine to the target parameter document corresponding to the target document number; When confirming that the galvanometer welding machine has switched to the target parameter document, sending a confirmation signal to the galvanometer welding machine, wherein the confirmation signal is used to prompt the galvanometer welding machine to weld the module to be welded using the information in the target parameter document as a process parameter; After the step of sending the switching request signal to the galvanometer welding machine, the method further includes: receiving a feedback signal returned by the galvanometer welding machine in response to the switching request signal; Wherein, the feedback signal includes a current document number, which is the document number of the current process parameter document of the galvanometer welding machine after the galvanometer welding machine performs a document switching operation; Determine whether the current document number is consistent with the target document number. If so, confirm that the galvanometer welding machine has switched to the target parameter document.
2. The self-adaptive method for galvanometer welding according to claim 1, characterized in that: After the step of determining whether the current document number is consistent with the target document number, the method further includes: If not, counting the number of requests for sending the switching request signal regarding the target document number; If the number of requests does not reach the preset number, the switching request signal is sent to the galvanometer welding machine again; If the number of requests reaches the preset number, a warning about the switching failure will be issued.
3. The self-adaptive method for galvanometer welding according to claim 1 or 2, characterized in that: After the step of sending a confirmation signal to the galvanometer welding machine, the method further includes: When the welding of the module to be welded is completed and the galvanometer welding machine moves to the welding point of the next module to be welded on the tooling plate, the step of reading the label of the module to be welded to obtain the model of the module to be welded is performed to continue welding the next module to be welded.
4. The self-adaptive method for galvanometer welding according to claim 1, characterized in that: The step of reading the label of the module to be welded to obtain the model of the module to be welded includes: The RFID tag of the module to be welded is read by a reader to obtain the model of the module to be welded.
5. The self-adaptive method for galvanometer welding according to claim 1, characterized in that: The step of generating a switching request signal regarding the target document number comprises: Through IO combination, the target document number is converted from Word type data to BOOL type data, and a switching request signal is generated in combination with the converted target document number.
6. An adaptive method for galvanometer welding, characterized in that: Applied to a galvanometer welding machine, the method includes: Receive a switching request signal sent by the welding controller, and perform a document switching operation according to the target document number in the switching request signal to switch the current process parameter document to the target parameter document; After the switch is completed, the document number of the current process parameter document is used as the current document number; generating a feedback signal regarding the current document number and sending the feedback signal to the welding controller, wherein the feedback signal is used to prompt the welding controller to determine whether the current document number is consistent with the target document number; When a confirmation signal sent by the welding controller is received, the target parameter document is called, and the module to be welded on the tooling board is welded using the information in the target parameter document as process parameters; wherein the welding controller is used to implement the adaptive method of galvanometer welding as described in any one of claims 1 to 5.
7. An adaptive device for galvanometer welding, characterized in that: Applied to welding controller, including reading module, switching module, welding module and control module; The reading module is used to read the label of the module to be welded when the galvanometer welding machine moves to the welding point of the current module to be welded on the tooling plate to obtain the model of the module to be welded; The switching module is configured to use the document number corresponding to the model as the target document number, generate a switching request signal regarding the target document number, and send the switching request signal to the galvanometer welding machine; The switching request signal is used to prompt the galvanometer welding machine to perform a document switching operation to switch the current process parameter document of the galvanometer welding machine to the target parameter document corresponding to the target document number; The welding module is configured to send a confirmation signal to the galvanometer welding machine when confirming that the galvanometer welding machine has switched to the target parameter document, wherein the confirmation signal is used to prompt the galvanometer welding machine to weld the module to be welded using the information in the target parameter document as process parameters; The self-adaptive device for galvanometer welding further includes a confirmation module; The confirmation module is used to: Receiving a feedback signal returned by the galvanometer welding machine in response to the switching request signal, wherein the feedback signal includes a current document number, and the current document number is the document number of the current process parameter document of the galvanometer welding machine after the galvanometer welding machine performs the document switching operation; Determine whether the current document number is consistent with the target document number. If so, confirm that the galvanometer welding machine has switched to the target parameter document.
8. The self-adaptive device for galvanometer welding according to claim 7, characterized in that: The confirmation module is further used to: If the current document number is inconsistent with the target document number, counting the number of requests for sending a switching request signal regarding the target document number; If the number of requests does not reach the preset number, the switching request signal is sent to the galvanometer welding machine again; If the number of requests reaches the preset number, a warning about the switching failure will be issued.
Citation Information
Patent Citations
Method and device for controlling welding machine
CN107398613A