Laser module verification platform, system and method
Through the laser module verification platform and system, the problems of insufficient response time and identification accuracy of the laser module in the welding robot are solved, and the performance verification of the laser module and the improvement of the welding effect are achieved.
Patent Information
- Application Number
- CN202110386158.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-04-09
AI Technical Summary
In the existing welding robot technology, the response time and recognition accuracy of the laser module are poor, resulting in poor welding results. There is also a lack of effective verification methods, making it difficult to master the performance of the laser module.
Provide a laser module verification platform, system and method, including a laser module moving platform, a welding test plate moving platform and a base. Through the motor screw slide table and the controller, the laser module can move in a three-axis space and the welding test plate can move in two directions. Move the axis in the plane to obtain weld information and verify it.
Collect welding seam information through the laser module to verify its performance to ensure that the welding robot can weld accurately, improve the welding effect, and replace or correct the laser module when its performance deteriorates to ensure welding quality.
Smart Images

Figure CN113020756B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of welding robots, and in particular to a laser module verification platform, system and method. Background Art
[0002] In the field of welding robot technology, a laser module is used to identify weld information of a gap to be welded and send the weld information to a welding robot so that the welding robot can perform welding according to the weld information.
[0003] When the response time and recognition accuracy of the laser module are poor, the welding effect of the welding robot is poor.
[0004] In the existing technology, there is no method for verifying the laser module of the welding robot, which is not conducive to mastering the performance of the laser module. Summary of the invention
[0005] The purpose of the present invention is to provide a laser module verification platform, system and method to verify the performance of the laser module in view of the above-mentioned deficiencies in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a laser module verification platform, including: a laser module moving platform, a welding test plate moving platform and a base;
[0008] The laser module moving platform is mounted on the base through a mounting bracket, and is used to control the movement of the laser module in a three-axis spatial coordinate system;
[0009] The welding test plate moving platform is installed on the base and is used to control the movement of the welding test plate in a two-axis plane coordinate system.
[0010] Optionally, the laser module moving platform includes: two first X-axis moving components, a first Y-axis moving component and a Z-axis moving component;
[0011] The two first X-axis moving assemblies are arranged in parallel on the mounting bracket, the first Y-axis moving assembly is slidably arranged between the two first X-axis moving assemblies, and the Z-axis moving assembly is slidably arranged on the first Y-axis moving assembly; a mounting seat is also slidably arranged on the Z-axis moving assembly to install the laser module to be verified, so that the detection surface of the laser module after installation faces the base;
[0012] The welding test plate moving platform includes: a second X-axis moving component and a second Y-axis moving component; wherein the second Y-axis moving component is fixedly arranged on the base in the area between the two first X-axis moving components; the second X-axis moving component is slidably arranged on the second Y-axis moving component; and a test plate fixing mechanism is slidably arranged on the second X-axis moving component to fix the welding test plate.
[0013] Optionally, each of the first X-axis moving assembly, the first Y-axis moving assembly, the Z-axis moving assembly, the second X-axis moving assembly and the second Y-axis moving assembly is a motor screw slide respectively;
[0014] The motor control end of each motor screw slide is respectively used to electrically connect to a motor driver, and the motor driver is used to electrically connect to the controller.
[0015] Optionally, the motor screw slide is a linear motor screw slide.
[0016] In a second aspect, an embodiment of the present application further provides a laser module verification system, including: a laser module verification platform, a motor driver, and a controller, wherein the laser module verification platform is the above-mentioned laser module verification platform, and the laser module is installed on the laser module verification platform;
[0017] The motor control end of each motor screw slide on the laser module verification platform is electrically connected to one of the motor drivers, and the motor driver is electrically connected to the controller to control the corresponding moving component to move under the control of the controller;
[0018] The controller is also communicatively connected to the laser module to obtain the weld information on the welding test plate collected by the laser module.
[0019] Optionally, the laser module includes: a sensor fixing mechanism, a camera and a laser;
[0020] The sensor fixing mechanism is fixedly arranged on the mounting seat, the camera is fixedly arranged on a side of the sensor fixing mechanism vertically facing the base, and the laser is fixedly arranged on a side of the sensor fixing mechanism obliquely facing the base.
[0021] Optionally, if the motor screw slide is a linear motor screw slide, the motor driver is a linear motor driver.
[0022] Optionally, the controller includes: a motion control board and a computer, the motor driver is electrically connected to the motion control board, and the motion control board is communicatively connected to the computer, so as to control the corresponding moving component to move under the control of the computer;
[0023] The computer is also communicatively connected to the laser module to obtain the weld information on the welding test plate collected by the laser module.
[0024] Optionally, the motor driver is electrically connected to the motion control board via an input / output interface.
[0025] Optionally, the motor driver is electrically connected to the motion control board via a communication interface.
[0026] Optionally, the motion control board communication Ethernet interface is electrically connected to the computer.
[0027] Optionally, the laser module communication Ethernet interface is electrically connected to the computer.
[0028] In a third aspect, an embodiment of the present application further provides a laser module verification method, which is applied to a controller in the above-mentioned laser module verification system, and the method includes:
[0029] Sending a first movement control signal to a motor driver of a first target moving component, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position; wherein the first target moving component is located on the welding test plate moving platform;
[0030] Sending a second movement control signal to a motor driver of a second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate; wherein the second target moving component is located on the laser module moving platform;
[0031] Acquire the collected weld information of the weld position collected by the laser module;
[0032] The laser module is verified according to the collected weld information.
[0033] Optionally, the second movement control signal includes: a first laser movement signal and a second laser movement signal;
[0034] The step of sending a second movement control signal to a motor driver of the second target moving component so that the motor driver of the second target moving component drives the second target moving component to move so that the detection surface of the laser module faces the weld position on the welding test plate includes:
[0035] Sending the first laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to the weld starting position on the welding test plate;
[0036] The motor driver of the second target moving component sends the second laser movement signal, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves at a constant speed along the extension direction of the weld on the welding test plate at a preset speed until it moves to the end position of the weld on the welding test plate.
[0037] Optionally, the acquiring the weld information of the weld position collected by the laser module includes:
[0038] Acquire the collected weld information sent by the laser module at a preset period;
[0039] The verifying the laser module according to the collected weld information includes:
[0040] The laser module is verified according to the collected weld information, the preset speed and the preset period.
[0041] Optionally, the verifying the laser module according to the collected weld information, the preset speed and the preset period includes:
[0042] Calculating theoretical weld information of the weld position according to the preset speed, the preset cycle and the preset weld information corresponding to the welding test plate;
[0043] The laser module is verified according to the theoretical weld information and the collected weld information.
[0044] Optionally, verifying the laser module according to the theoretical weld information and the collected weld information includes:
[0045] According to the theoretical change curve of the theoretical weld information and the acquisition change curve of the acquired weld information, a phase parameter of the acquired weld information lagging behind the theoretical weld information is calculated; wherein the theoretical change curve is a curve of the theoretical weld information changing with theoretical time, and the acquisition change curve is a curve of the acquired weld information changing with acquisition time;
[0046] The response time of the laser module is calculated according to the phase parameter to verify the response time of the laser module.
[0047] Optionally, the verifying the laser module according to the theoretical weld information and the collected weld information further includes:
[0048] According to the phase parameter and the preset period, the number of data of the collected weld information lagging behind the theoretical weld information is calculated;
[0049] The recognition accuracy of the laser module is calculated according to the number of data to verify the recognition accuracy of the laser module.
[0050] In a fourth aspect, an embodiment of the present application further provides a laser module verification device, the device comprising:
[0051] A first control module is used to send a first movement control signal to a motor driver of a first target moving component, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position; wherein the first target moving component is located on the welding test plate moving platform;
[0052] a second control module, configured to send a second movement control signal to a motor driver of a second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate; wherein the second target moving component is located on the laser module moving platform;
[0053] A weld information acquisition module is used to acquire the weld information of the weld position acquired by the laser module;
[0054] A verification module is used to verify the laser module according to the collected weld information.
[0055] Optionally, the second movement control signal includes: a first laser movement signal and a second laser movement signal; and the second control module includes:
[0056] a first control unit, configured to send the first laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to a weld starting position on the welding test plate;
[0057] The second control unit is used to send the second laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves from the weld starting position to the weld ending position on the welding test plate at a preset speed.
[0058] Optionally, the collected weld information acquisition module is used to acquire the collected weld information sent by the laser module at a preset period;
[0059] The verification module is used to verify the laser module according to the collected weld information, the preset speed and the preset cycle.
[0060] Optionally, the verification module includes:
[0061] A calculation unit, used for calculating theoretical weld information of the weld position according to the preset speed, the preset cycle and the preset weld information corresponding to the welding test plate;
[0062] A verification unit is used to verify the laser module according to the theoretical weld information and the collected weld information.
[0063] Optionally, the verification unit includes:
[0064] A phase parameter calculation subunit is used to calculate the phase parameter of the collected weld information lagging behind the theoretical weld information according to the theoretical change curve of the theoretical weld information and the collection change curve of the collected weld information; wherein the theoretical change curve is a curve of the theoretical weld information changing with theoretical time, and the collection change curve is a curve of the collected weld information changing with collection time;
[0065] The response time verification subunit is used to calculate the response time of the laser module according to the phase parameter to verify the response time of the laser module.
[0066] Optionally, the verification unit further includes:
[0067] A data number calculation subunit, used for calculating the number of data of the collected weld information lagging behind the theoretical weld information according to the phase parameter and the preset period;
[0068] The recognition accuracy verification subunit is used to calculate the recognition accuracy of the laser module according to the number of data to verify the recognition accuracy of the laser module.
[0069] In a fifth aspect, an embodiment of the present application further provides a computer, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the computer is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to perform the steps of any of the laser module verification methods described above.
[0070] In a sixth aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the laser module verification methods described above are executed.
[0071] The beneficial effects of this application are:
[0072] The laser module verification platform, system and method provided by the present application send a first movement control signal to the motor driver of the first target moving component, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position; send a second movement control signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate; obtain the collected weld information of the weld position collected by the laser module; verify the laser module according to the collected weld information. Through the scheme provided by the present application, the weld information is collected by the laser module, and the performance of the laser module is verified according to the collected weld information, so that the laser module can be replaced or corrected when the performance of the laser module deteriorates, so as to ensure that the welding robot can weld according to the weld information collected by the laser module, and ensure the welding effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0074] Figure 1 A schematic diagram of the structure of a laser module verification platform provided in an embodiment of the present application;
[0075] Figure 2 A schematic diagram of the structure of a laser module mobile platform provided in an embodiment of the present application;
[0076] Figure 3 A structural schematic diagram of a welding test plate mobile platform provided in an embodiment of the present application;
[0077] Figure 4 A schematic diagram of the structure of a laser module verification system provided in an embodiment of the present application;
[0078] Figure 5 A schematic diagram of the structure of a laser module provided in an embodiment of the present application;
[0079] Figure 6A schematic diagram of a flow chart of a first laser module verification method provided in an embodiment of the present application;
[0080] Figure 7 Provided in the embodiments of this application Figure 6 The detailed process diagram of S200 is shown;
[0081] Figure 8 Provided in the embodiments of this application Figure 6 The detailed process diagram of S300 and S400 is shown;
[0082] Fig. 9 Provided in the embodiments of this application Figure 8 The detailed process diagram of S401 is shown;
[0083] Fig.10 Provided in the embodiments of this application Fig. 9 The first detailed process diagram of S4012 is shown;
[0084] Fig.11 Provided in the embodiments of this application Fig. 9 The second detailed process diagram of S4012 is shown;
[0085] Fig.12 A schematic diagram of the structure of a laser module verification device provided in an embodiment of the present application;
[0086] Fig.13 A schematic diagram of the structure of a computer provided in an embodiment of the present application. DETAILED DESCRIPTION
[0087] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0088] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0089] In the description of the present application, it should be noted that if the terms "upper", "lower", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or is the orientation or position relationship in which the product of the application is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0090] In addition, the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0091] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.
[0092] Figure 1 A schematic diagram of the structure of a laser module verification platform provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the laser module verification platform 10 includes: a laser module moving platform 100 , a welding test plate moving platform 200 and a base 300 .
[0093] The laser module moving platform 100 is installed on the base 300 through the mounting bracket 101, and is used to control the movement of the laser module 400 in the three-axis spatial coordinate system; the welding test plate moving platform 200 is installed on the base 300, and is used to control the movement of the welding test plate 500 in the two-axis plane coordinate system.
[0094] Specifically, the three-axis space coordinate system is a coordinate system composed of an X-axis, a Y-axis and a Z-axis. The laser module moving platform 100 controls the movement of the laser module 400 by moving in the X-axis, Y-axis and Z-axis directions respectively.
[0095] The two-axis space coordinate system is a coordinate system composed of an X-axis and a Y-axis. The welding test plate moving platform 200 controls the movement of the welding test plate 500 by moving in the X-axis and Y-axis directions respectively.
[0096] Figure 2 A schematic diagram of the structure of a laser module mobile platform provided in an embodiment of the present application is shown in FIG. Figure 2As shown, the laser module moving platform 100 includes: two first X-axis moving components 102, a first Y-axis moving component 103 and a Z-axis moving component 104;
[0097] Among them, two first X-axis moving components 102 are arranged in parallel on the mounting bracket 101, a first Y-axis moving component 103 is slidably arranged between the two first X-axis moving components 102, and a Z-axis moving component 104 is slidably arranged on the first Y-axis moving component 103; a mounting seat 104a is also slidably arranged on the Z-axis moving component 104 to install the laser module 400 to be verified, so that the detection surface of the laser module 400 after installation faces the base 300.
[0098] Specifically, the first Y-axis moving component 103 can slide on the two first X-axis moving components 102, so that the laser module 400 installed on the mounting seat 104a can slide in the X-axis direction, the first Z-axis moving component 104 can slide on the first Y-axis moving component 103, so that the laser module 400 installed on the mounting seat 104a can slide in the Y-axis direction, and the mounting seat 104a can slide on the first Z-axis moving component 104, so that the laser module 400 installed on the mounting seat 104a can slide in the Z-axis direction.
[0099] Figure 3 A structural schematic diagram of a welding test plate mobile platform provided in an embodiment of the present application, such as Figure 3 As shown, the welding test plate moving platform 200 includes: a second X-axis moving component 201 and a second Y-axis moving component 202; wherein the second Y-axis moving component 201 is fixedly arranged on the base 300, in the area between the two first X-axis moving components 102; the second X-axis moving component 201 is slidably arranged on the second Y-axis moving component 202; and a test plate fixing mechanism 201a is slidably arranged on the second X-axis moving component 201 to fix the welding test plate 500.
[0100] Specifically, the second X-axis moving component 201 can slide on the second Y-axis moving component 202, so that the welding test plate 500 installed on the test plate fixing mechanism 201a can slide in the Y-axis direction, and the test plate fixing mechanism 201a can slide on the second X-axis moving component 201, so that the welding test plate installed on the test plate fixing mechanism 201a can slide in the X-axis direction.
[0101] In an optional embodiment, each of the first X-axis moving component 102, the first Y-axis moving component 103, the Z-axis moving component 104, the second X-axis moving component 201 and the second Y-axis moving component 202 is respectively a motor screw slide; the motor control end of each motor screw slide is respectively used to electrically connect to a motor driver, and the motor driver is electrically used to connect to the controller.
[0102] Specifically, the first X-axis moving component 102 is a first X-axis motor screw slide, the first Y-axis moving component 103 is a first Y-axis motor screw slide, the Z-axis moving component 104 is a Z-axis motor screw slide, the second X-axis moving component 201 is a second X-axis motor screw slide, the second Y-axis moving component 202 is a second Y-axis motor screw slide, the motor screw slide is composed of a screw, a slide slidably mounted on the screw, and a motor driver, the controller is electrically connected to the motor driver to send a movement control signal to the motor driver, so that the motor driver controls the motor to rotate according to the movement control signal, so that the slide slides on the screw.
[0103] like Figure 2 As shown, the first Y-axis motor screw slide is installed on the slide of the first X-axis motor screw slide, and the first Y-axis motor screw slide is driven to move in the X-axis direction through the slide of the first X-axis motor screw slide, the Z-axis motor screw slide is installed on the slide of the first Y-axis motor screw slide, and the Z-axis motor screw slide is driven to move in the Y-axis direction through the slide of the first Y-axis motor screw slide, and the mounting seat 104a is installed on the slide of the Z-axis motor screw slide, and the laser module 400 is driven to move in the Z-axis direction through the slide of the Z-axis motor screw slide.
[0104] like Figure 3 As shown, the second X-axis motor screw slide is installed on the slide of the second Y-axis motor screw slide, and the second X-axis motor screw slide is driven to move in the Y-axis direction through the slide of the second Y-axis motor screw slide. The test plate fixing mechanism 201a is installed on the slide of the second X-axis motor screw slide, and the welding test plate 500 is driven to move in the X-axis direction through the slide of the second X-axis motor screw slide.
[0105] In an optional embodiment, the motor screw slide is a linear motor screw slide.
[0106] The laser module verification platform provided in the embodiment of the present application includes a laser module moving platform, a welding test plate moving platform and a base. The laser module moving platform is used to control the movement of the laser module, and the welding test plate moving platform is used to control the movement of the welding test plate so that the laser module can obtain the weld information on the welding test plate for verifying the laser module.
[0107] Based on the above optional implementation, the embodiment of the present application further provides a laser module verification system. Figure 4 A schematic diagram of the structure of a laser module verification system provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the laser module verification system includes: a laser module verification platform 10, a motor driver 20, and a controller 30, wherein the laser module verification platform 10 is any laser module verification platform 10 in the above optional embodiments;
[0108] The motor control end of each motor screw slide on the laser module verification platform 10 is electrically connected to a motor driver 20, and the motor driver 20 is electrically connected to the controller 30 to control the movement of the corresponding moving component under the control of the controller 30; the controller 30 is also communicatively connected to the laser module 400 to obtain the weld information on the welding test plate 500 collected by the laser module 400.
[0109] Specifically, the controller 30 sends a movement control signal to the motor driver 20, and the motor driver 20 controls the motor to rotate according to the movement control signal, so that the slide slides on the lead screw, thereby causing the corresponding moving component to move.
[0110] If the movement control signal is a movement control signal for the first X-axis motor screw slide, the slide of the first X-axis motor screw slide is controlled to drive the first Y-axis moving component 103 to move in the X-axis direction. If the movement control signal is a movement control signal for the first Y-axis motor screw slide, the slide of the first Y-axis motor screw slide is controlled to drive the Z-axis moving component 104 to move in the Y-axis direction. If the movement control signal is a movement control signal for the Z-axis motor screw slide, the slide of the Z-axis motor screw slide is controlled to drive the laser module 400 to move in the Z-axis direction. If the movement control signal is a movement control signal for the second X-axis motor screw slide, the slide of the second X-axis motor screw slide is controlled to drive the welding test plate 500 to move in the X-axis direction. If the movement control signal is a movement control signal for the second Y-axis motor screw slide, the slide of the second Y-axis motor screw slide is controlled to drive the second X-axis moving component 201 to move in the Y-axis direction.
[0111] In an optional implementation, if the motor lead screw slide is a linear motor lead screw slide, the motor driver is a linear motor driver.
[0112] In an alternative embodiment, if Figure 4 As shown, the controller 30 includes: a motion control board 31 and a computer 32, the motor driver 20 is electrically connected to the motion control board 31, and the motion control board 31 is communicatively connected to the computer 32 to control the corresponding moving components to move under the control of the computer 32; the computer 32 is also communicatively connected to the laser module 400 to obtain the weld information on the welding test plate 500 collected by the laser module 400.
[0113] Specifically, the computer 32 sends a movement control signal to the motor driver 20 through the motion control board 31. The motor driver 20 controls the rotation of the motor according to the movement control signal so that the slide slides on the screw rod, thereby causing the corresponding moving component to drive the laser module 400 to move, collect the weld information of the welding test plate 500 and send it to the computer 32.
[0114] In an optional implementation, the motor driver 20 is electrically connected to the motion control board 31 via an input / output interface.
[0115] In another optional implementation, the motor driver 20 is electrically connected to the motion control board 31 via a communication interface.
[0116] In an optional embodiment, the motion control board 31 is electrically connected to the computer 32 via a communication Ethernet interface.
[0117] In an optional embodiment, the laser module 400 is electrically connected to the computer 32 via an Ethernet interface.
[0118] In an optional implementation, the weld on the welding test plate 500 may be a straight weld, a curved weld, or a zigzag weld.
[0119] Figure 5 A schematic diagram of the structure of a laser module provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the laser module 400 includes: a sensor fixing mechanism 401, a camera (not shown in the figure) and a laser (not shown in the figure); the sensor fixing mechanism 401 is fixedly set on the mounting base 104a, the camera is fixedly set on a side 402 of the sensor fixing mechanism 401 vertically facing the base 300, and the laser is fixedly set on a side 403 of the sensor fixing mechanism 401 inclined toward the base 300.
[0120] Specifically, the laser is used to emit laser light to the welding test plate 500 and receive part of the laser light returned by the welding test plate 500. The camera is used to take a picture of the welding test plate 500 receiving the laser light to obtain a laser image.
[0121] The laser module verification system provided by the embodiment of the present application includes a laser module verification platform, a motor driver, a motion control board and a computer. The motor control end of each motor screw slide on the laser module verification platform is electrically connected to a motor driver, the motor driver is electrically connected to the motion control board, the motion control board is communicatively connected to the computer, so as to control the corresponding moving component to move under the control of the computer, and the computer is also communicatively connected to the laser module to obtain the weld information on the welding test plate collected by the laser module. Through the laser module verification system provided by the embodiment of the present application, the laser module can be controlled to collect the weld information on the welding test plate, so as to verify the laser module through the computer according to the collected weld information.
[0122] Based on the above-mentioned laser module verification system embodiment, the present application embodiment also provides a laser module verification method. Figure 6 A schematic diagram of the process of the first laser module verification method provided in the embodiment of the present application is shown as follows: Figure 6 As shown, the method includes:
[0123] S100: Sending a first movement control signal to a motor driver of a first target moving component, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position.
[0124] Specifically, the first target moving component is located on the welding test plate moving platform, and the first target moving component can be the second X-axis moving component 201 and / or the second Y-axis moving component 202. The controller 30 can determine the current position of the welding test plate 500 based on the current position information of the second X-axis moving component 201 and the second Y-axis moving component 202.
[0125] The controller 30 sends a first movement control signal to the motor driver of the second X-axis moving component 201 and / or the motor driver of the second Y-axis moving component 202 according to the current position and the preset designated position of the welding test plate 500, so that the motor driver of the second X-axis moving component 201 and / or the motor driver of the second Y-axis moving component 202 drives the second X-axis moving component 201 and / or the second Y-axis moving component 202 to move, so that the welding test plate 500 moves from the current position to the preset designated position.
[0126] If the controller 30 includes a motion control board 31 and a computer 32, the motion control board 31 determines the current position of the welding test plate 500 according to the current position information of the second X-axis moving component 201 and the second Y-axis moving component 202, and sends the current position of the welding test plate 500 to the computer 32. The computer 32 sends a first movement control signal according to the current position of the welding test plate 500 and the preset designated position.
[0127] For example, if the welding test plate 500 only needs to move in the X-axis direction when moving from the current position to the preset designated position, the first movement control signal enables the motor driver of the second X-axis moving component 201 to drive the second X-axis moving component 201 to move.
[0128] If the welding test plate 500 only needs to move in the Y-axis direction when moving from the current position to the preset designated position, the first movement control signal enables the motor driver of the second Y-axis moving component 202 to drive the second Y-axis moving component 202 to move.
[0129] If the welding test plate 500 needs to move in both the X-axis direction and the Y-axis direction when moving from the current position to the preset designated position, the first movement control signal causes the motor driver of the second X-axis moving component 201 to drive the second X-axis moving component 201 to move, and causes the motor driver of the second Y-axis moving component 202 to drive the second Y-axis moving component 202 to move.
[0130] S200: Sending a second movement control signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate.
[0131] Specifically, the second target moving component is located on the laser module moving platform, and the second target moving component can be the first X-axis moving component 102, the first Y-axis moving component 103 and / or the Z-axis moving component 104. The controller 30 can determine the current position of the laser module 400 based on the current position information of the first X-axis moving component 102, the first Y-axis moving component 103 and the Z-axis moving component 104.
[0132] The controller 30 sends a second movement control signal to the motor driver of the first X-axis moving component 102, the motor driver of the first Y-axis moving component 103 and / or the motor driver of the Z-axis moving component 104 according to the current position of the laser module 400 and the weld position on the welding test plate 500, so that the motor driver of the first X-axis moving component 102, the motor driver of the first Y-axis moving component 103 and / or the motor driver of the Z-axis moving component 104 drive the first X-axis moving component 102, the first Y-axis moving component 103 and / or the Z-axis moving component 104 to move, so that the laser module 400 moves from the current position to the weld position on the welding test plate 500.
[0133] If the controller 30 includes a motion control board 31 and a computer 32, the motion control board 31 determines the current position of the laser module 400 according to the current position information of the first X-axis moving component 102, the first Y-axis moving component 103 and the Z-axis moving component 104, and sends the current position of the laser module 400 to the computer 32. The computer 32 sends a second motion control signal according to the current position of the laser module 400 and the weld position on the welding test plate 500.
[0134] For example, if the laser module 400 only needs to move in the X-axis direction when moving from the current position to the weld position on the welding test plate 500, the second movement control signal enables the motor driver of the first X-axis moving component 102 to drive the first X-axis moving component 102 to move.
[0135] If the laser module 400 only needs to move in the Y-axis direction when moving from the current position to the weld position on the welding test plate 500, the second movement control signal enables the motor driver of the first Y-axis moving component 103 to drive the first Y-axis moving component 103 to move.
[0136] If the laser module 400 only needs to move in the Z-axis direction when moving from the current position to the weld position on the welding test plate 500, the second movement control signal enables the motor driver of the Z-axis moving component 104 to drive the Z-axis moving component 104 to move.
[0137] If the laser module 400 needs to move in the X-axis movement direction, the Y-axis movement direction and the Z-axis movement direction when moving from the current position to the weld position on the welding test plate 500, the second movement control signal respectively causes the motor driver of the first X-axis moving component 102 to drive the first X-axis moving component 102 to move, causes the motor driver of the first Y-axis moving component 103 to drive the first Y-axis moving component 103 to move, and causes the motor driver of the Z-axis moving component 104 to drive the Z-axis moving component 104 to move.
[0138] S300: Acquire weld information of the weld position collected by the laser module.
[0139] Specifically, the laser module 400 moves along the weld position on the welding test plate 500, emits laser to the weld position on the welding test plate 500, and receives part of the laser returned from the weld position, thereby collecting weld information Dt at the weld position, and sending the collected weld information Dt to the computer 400. For example, the weld information may include: weld depth, weld width, and weld notch center coordinates and other information.
[0140] In an optional embodiment, the laser module 400 includes: a sensor fixing mechanism 401, a camera and a laser. After the laser emits laser to the weld position on the welding test plate 500, the camera takes a picture of the weld position to obtain a laser image. The controller 30 is installed with laser sensor software to perform calculations based on the laser image to obtain the collected weld information Dt of the weld position in the laser image.
[0141] If the controller 30 includes a motion control board 31 and a computer 32 , the laser sensor software is installed on the computer 32 .
[0142] S400: Verify the laser module according to the collected weld information.
[0143] Specifically, the controller 30 pre-stores preset weld information of the welding test plate 500, which may be weld information of the welding test plate 500 pre-designed on the welding test plate drawing, or weld information of the welding test plate 500 obtained by manually measuring the welding test plate 500. The controller 30 verifies the performance of the laser module 400 by comparing the collected weld signal with the preset weld information.
[0144] The laser module verification method provided in the embodiment of the present application sends a first movement control signal to the motor driver of the first target moving component on the welding test plate moving platform, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position; sends a second movement control signal to the motor driver of the second target moving component on the laser module moving platform, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate; obtains the weld information of the weld position collected by the laser module, and verifies the laser module according to the collected weld information. Through the scheme provided by the present application, the weld information is collected by the laser module, and the performance of the laser module is verified according to the collected weld information, so that the laser module can be replaced or corrected when the performance of the laser module deteriorates, so as to ensure that the welding robot can weld according to the weld information collected by the laser module, and ensure the welding effect.
[0145] On the basis of the above-mentioned embodiment, the embodiment of the present application further provides a laser module verification method, wherein the second movement control signal includes: a first laser movement signal and a second laser movement signal; Figure 7 Provided in the embodiments of this application Figure 6 The detailed flow chart of S200 is shown in FIG. Figure 7 As shown, the above S200 includes:
[0146] S201: Sending a first laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to the weld starting position on the welding test plate.
[0147] Specifically, after the welding test plate 500 moves to the preset designated position, the starting position of the weld on the welding test plate 500 is determined according to the preset designated position of the welding test plate 500, the second target moving component can be the first X-axis moving component 102, the first Y-axis moving component 103 and / or the Z-axis moving component 104, and the controller 30 can determine the current position of the laser module 400 based on the current position information of the first X-axis moving component 102, the first Y-axis moving component 103 and the Z-axis moving component 104.
[0148] The controller 30 sends a first laser movement signal to the motor driver of the first X-axis moving component 102, the motor driver of the first Y-axis moving component 103 and / or the motor driver of the Z-axis moving component 104 according to the current position of the laser module 400 and the starting position of the weld on the welding test plate 500, so that the motor driver of the first X-axis moving component 102, the motor driver of the first Y-axis moving component 103 and / or the motor driver of the Z-axis moving component 104 drive the first X-axis moving component 102, the first Y-axis moving component 103 and / or the Z-axis moving component 104 to move, so that the laser module 400 moves from the current position to the starting position of the weld on the welding test plate 500.
[0149] If the controller 30 includes a motion control board 31 and a computer 32, the motion control board 31 determines the current position of the laser module 400 according to the current position information of the first X-axis moving component 102, the first Y-axis moving component 103 and the Z-axis moving component 104, and sends the current position of the laser module 400 to the computer 32. The computer 32 sends a first laser movement signal according to the current position of the laser module 400 and the starting position of the weld on the welding test plate 500.
[0150] S202: Sending a second laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves from the weld starting position to the weld ending position on the welding test plate at a preset speed.
[0151] Specifically, if the extension direction of the weld on the welding test plate 500 is along the X-axis direction, then when the laser module 400 reaches the weld starting position on the welding test plate 500, the controller 30 sends a second laser movement signal to the motor driver of the first X-axis moving component 102, so that the motor driver of the first X-axis moving component 102 drives the first X-axis moving component 102 to move, so that the laser module 400 starts from the welding starting position at a preset speed and moves at a uniform speed along the X-axis direction until it moves to the weld ending position on the welding test plate.
[0152] If the extension direction of the weld on the welding test plate 500 is along the Y-axis direction, when the laser module 400 reaches the weld start position on the welding test plate 500, the controller 30 sends a second laser movement signal to the motor driver of the first Y-axis moving component 103, so that the motor driver of the first Y-axis moving component 103 drives the first Y-axis moving component 13 to move, so that the laser module 400 starts from the welding start position at a preset speed and moves at a uniform speed along the Y-axis direction until it moves to the weld end position on the welding test plate 500. For example, the preset speed S of the laser module 400 can be 10m / min.
[0153] When the laser module 400 moves to the weld end position on the welding test plate 500, the controller 30 stops sending the second laser movement signal to the motor driver of the second target moving component, and at the same time, controls the laser sensor software to stop collecting weld information Dt based on the laser image to calculate the weld position in the laser image.
[0154] If the controller 30 includes a motion control board 31 and a computer 32 , the computer 32 sends the second laser movement signal through the motion control board 31 , and the computer 32 stops sending the second laser movement signal.
[0155] The laser module verification method provided in the embodiment of the present application sends a first laser movement signal to the motor driver of the second target moving component so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to the weld starting position on the welding test plate, and sends a second laser movement signal to the motor driver of the second target moving component so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves from the weld starting position to the weld ending position on the welding test plate at a preset speed. Through the method provided in this embodiment, the laser module can be moved at a uniform speed along the extension direction of the weld on the welding test plate to collect the weld information of the weld on the welding test plate, and the laser module can be verified, so that the laser module can be replaced or corrected when the performance of the laser module deteriorates, so as to ensure that the welding robot can weld according to the weld information collected by the laser module, and ensure the welding effect.
[0156] Based on any of the above method embodiments, the present application embodiment further provides a laser module verification method. Figure 8 Provided in the embodiments of this application Figure 6 The detailed flow chart of S300 and S400 is shown as follows: Figure 8 As shown, the above S300 includes:
[0157] S301: Acquire the collected weld information sent by the laser module at a preset period.
[0158] Specifically, when the laser module 400 moves at a constant speed along the extension of the weld on the welding test plate 500 at a preset speed S, the laser module 400 sends the collected weld information to the computer 40 at a preset period T. For example, the preset period T may be 50 ms.
[0159] The above-mentioned S400 includes:
[0160] S401: Verify the laser module according to the collected weld information, the preset speed and the preset cycle.
[0161] Specifically, the computer 40 obtains the preset weld information corresponding to the preset speed and the preset cycle from the preset weld information of the pre-saved welding test plate 500 according to the preset speed and the preset cycle, and verifies the performance of the laser module by comparing the collected weld signal with the preset weld information.
[0162] In an alternative embodiment, Fig. 9 Provided in the embodiments of this application Figure 8 The detailed flow chart of S401 is shown as follows: Fig. 9 As shown, the above S401 includes:
[0163] S4011: Calculate theoretical weld information of the weld position according to the preset speed, the preset cycle and the preset weld information corresponding to the welding test plate.
[0164] Specifically, the controller 30 calculates the running distance of the laser module 400 in each preset period T according to the preset speed S and the preset period T, and determines the theoretical weld information Di of the position corresponding to the running distance in the preset weld information corresponding to the welding test plate 500 according to the running distance.
[0165] S4012: Verify the laser module based on theoretical weld information and collected weld information.
[0166] Specifically, the controller 30 verifies the performance of the laser module 400 by comparing the theoretical weld information Di with the collected weld information Dt.
[0167] If the controller 30 includes a motion control board 31 and a computer 32 , the above steps S4011 - S4012 are all executed by the computer 32 .
[0168] The laser module verification method provided in the embodiment of the present application obtains the collected weld information sent by the laser module at a preset period, calculates the theoretical weld information collected by the laser module according to the preset speed, preset period and preset weld information corresponding to the welding test plate, and verifies the laser module according to the theoretical weld information and the collected weld information. Through this method, the collected weld information at any position on the welding test plate collected by the laser module can be compared with the corresponding theoretical weld information, and the laser module can be verified, so that the laser module can be replaced or corrected when the performance of the laser module deteriorates, so as to ensure that the welding robot can weld according to the weld information collected by the laser module, and ensure the welding effect.
[0169] Based on any of the above embodiments, the present application embodiment further provides a laser module verification method. Fig.10 Provided in the embodiments of this application Fig. 9 The first detailed flow chart of S4012 is shown as follows: Fig.10As shown, the above S4012 includes:
[0170] S4012a: Calculate the phase parameter of the collected weld information lagging the theoretical weld information according to the theoretical change curve of the theoretical weld information and the collection change curve of the collected weld information.
[0171] Specifically, since there is a time delay for the laser module 400 to send the collected weld image to the controller 30, and there is also a time delay for the controller 30 to calculate and collect the weld information Dt based on the weld image, in order to ensure that the welding robot works quickly, the response time of the laser module must be guaranteed.
[0172] The theoretical change curve of the theoretical weld information Di is: a curve showing the change of the theoretical weld information with theoretical time, where the theoretical time is a preset period for collecting the weld information. The theoretical weld information Di at the corresponding position on the welding test plate corresponding to each preset period is determined according to the preset period and the preset speed, and a relationship change curve between the preset period and the theoretical weld information Di is established.
[0173] The collection change curve of the collected weld information Dt is: a curve showing the change of the collected weld information with the collection time, where the collection time is the time when the controller 30 obtains the collected weld information Dt. Based on the time of collecting the weld information Dt and the collected weld information Dt, a relationship change curve between the time of collecting the weld information Dt and the collected weld information Dt is established.
[0174] The theoretical change curve and the acquisition change curve are drawn in the same coordinate system, and the theoretical function of the theoretical change curve and the acquisition function of the acquisition change curve are obtained. The phase parameter of the acquisition change curve lagging behind the theoretical change curve is determined according to the theoretical function and the acquisition function, so as to obtain the phase parameter P of the acquired weld information Dt lagging behind the theoretical weld information Di.
[0175] S4012b: Calculate the response time of the laser module according to the phase parameter to verify the response time of the laser module.
[0176] Specifically, the response time of the laser module is calculated according to the phase parameter P and the preset period T, and the delay of the laser module can be determined according to the response time. For example, the response time = phase parameter P ÷ 360° × preset period T.
[0177] If the controller 30 includes a motion control board 31 and a computer 32 , the above steps S4012 a - S4012 b are all executed by the computer 32 .
[0178] The laser module verification method provided in the embodiment of the present application calculates the phase parameter of the collected weld information lagging the theoretical weld information according to the theoretical change curve of the theoretical weld information with the theoretical time and the collection change parameter of the collected weld information with the collection time, and calculates the response time of the laser module according to the phase parameter to verify the response time of the laser module. Through the method provided in the embodiment of the present application, it can be determined whether the response time of the laser module meets the requirements, avoid delays in the operation of the welding robot due to the long response time of the laser module, and ensure the normal operation of the welding robot.
[0179] Based on the above embodiments, the present application also provides a laser module verification method. Fig.11 Provided in the embodiments of this application Fig. 9 The second detailed flow diagram of S4012 is shown as follows: Fig.11 As shown, the above 4012 also includes:
[0180] S4012c: Calculate the number of data of the collected weld information lagging behind the theoretical weld information according to the phase parameter and the preset period.
[0181] Specifically, a preset period T corresponds to 360° in phase, and by calculating 360°÷phase parameter, the number N of data of the collected weld information Dt lagging the theoretical weld information Di is obtained.
[0182] S4012d: Calculate the recognition accuracy of the laser module according to the number of data to verify the recognition accuracy of the laser module.
[0183] Specifically, according to the number N of data that the collected weld information Dt lags behind the theoretical weld information Di, the collected change curve corresponding to the collected weld information Dt is moved forward by N data so that the theoretical change curve and the collected change curve are synchronized in time, and the difference in weld information between the theoretical weld information Di corresponding to the theoretical change curve and the collected weld information Dt corresponding to the collection change curve at any time point is calculated, and the recognition accuracy of the laser module is calculated based on the difference in weld information, thereby verifying the recognition accuracy of the laser module.
[0184] The laser module verification method provided in the embodiment of the present application calculates the number of data of the theoretical weld information Di after collecting the weld information according to the phase parameter and the preset period, and calculates the recognition accuracy of the laser module according to the number of data to verify the recognition accuracy of the laser module. Through the method provided in the embodiment of the present application, it can be determined whether the recognition accuracy of the laser module meets the requirements, avoid welding errors caused by the poor recognition accuracy of the laser module in the welding robot, and ensure that the welding robot accurately performs welding work.
[0185] On the basis of any of the above method embodiments, the present application embodiment further provides a laser module verification method, the laser module verification method comprising:
[0186] S10: Sending a first movement control signal to the motor driver of the second X-axis moving component, and / or the motor driver of the second Y-axis moving component, so that the motor driver of the second X-axis moving component drives the second X-axis moving component to move in the X-axis direction, and / or, so that the motor driver of the second Y-axis moving component drives the second Y-axis moving component to move in the Y-axis direction, so that the welding test plate moves to a preset designated position.
[0187] The implementation of embodiment S10 of the present application is specifically referred to the implementation of S100 described above, and will not be elaborated here.
[0188] S20: Sending a first laser movement signal to the motor driver of the first X-axis moving component, the motor driver of the first Y-axis moving component, and / or the motor driver of the Z-axis moving component, so that the motor driver of the first X-axis moving component drives the first X-axis moving component to move in the X-axis direction, and / or the motor driver of the first Y-axis moving component drives the first Y-axis moving component to move in the Y-axis direction, and / or the motor driver of the Z-axis moving component drives the Z-axis moving component to move in the Z-axis direction, so that the laser module moves to the starting position of the weld on the welding test plate.
[0189] The implementation of Example S20 of the present application specifically refers to the implementation of S201 above, and will not be elaborated here.
[0190] S31: Sending a second laser movement signal to the motor driver of the first X-axis moving component, so that the motor driver of the first X-axis moving component drives the first X-axis moving component to move, so that the laser module moves from the weld starting position along the X-axis direction to the weld ending position on the weld test plate at a preset speed.
[0191] S32: Sending a second laser movement signal to the motor driver of the first Y-axis moving component, so that the motor driver of the first Y-axis moving component drives the first Y-axis moving component to move, so that the laser module moves from the weld starting position along the Y-axis direction to the weld ending position on the weld test plate at a preset speed.
[0192] Specifically, if the extension direction of the weld on the welding test plate 500 is along the X-axis direction, the above S31 is executed; if the extension direction of the weld on the welding test plate 500 is along the Y-axis direction, the above S32 is executed. The implementation methods of S31 and S32 of the present application embodiment specifically refer to the implementation method of S202 above, and will not be repeated here.
[0193] S40: Acquire the collected weld information sent by the laser module at a preset period.
[0194] The implementation of Example S40 of the present application specifically refers to the implementation of S301 above, and will not be elaborated here.
[0195] S50: Calculating theoretical weld information of the weld position according to the preset speed, the preset cycle and the preset weld information corresponding to the welding test plate.
[0196] The implementation of embodiment S50 of the present application specifically refers to the implementation of S4011 above, and will not be elaborated here.
[0197] S60: Calculate a phase parameter of the collected weld information lagging behind the theoretical weld information according to a theoretical change curve of the theoretical weld information and a collection change curve of the collected weld information.
[0198] The implementation of embodiment S60 of the present application specifically refers to the implementation of S4012a above, which will not be elaborated here.
[0199] S70: Calculate the response time of the laser module according to the phase parameter to verify the response time of the laser module.
[0200] The implementation of embodiment S70 of the present application refers specifically to the implementation of S4012b above and will not be elaborated here.
[0201] S80: Calculate the number of data of the collected weld information lagging behind the theoretical weld information according to the phase parameter and the preset period.
[0202] The implementation of embodiment S80 of the present application specifically refers to the implementation of S4012c above, which will not be elaborated here.
[0203] S90: Calculate the recognition accuracy of the laser module according to the number of data to verify the recognition accuracy of the laser module.
[0204] The implementation of embodiment S90 of the present application specifically refers to the implementation of S4012d above, which will not be elaborated here.
[0205] It should be noted that there is no logical order relationship between the above S70 and S80. After the phase parameter is calculated according to S60, the response time and the recognition accuracy can be verified respectively according to the phase parameter.
[0206] Based on any of the above method embodiments, the present application embodiment further provides a laser module verification device, Fig.12 A schematic diagram of the structure of a laser module verification device provided in an embodiment of the present application is shown in FIG. Fig.12 As shown, the device comprises:
[0207] The first control module 600 is used to send a first movement control signal to the motor driver of the first target moving component on the welding test plate moving platform through the motion control board, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position;
[0208] The second control module 700 is used to send a second movement control signal to the motor driver of the second target moving component on the laser module moving platform through the motion control board, so that the motor driver of the second target moving component drives the second target moving component to move, so that the detection surface of the laser module faces the weld position on the welding test plate;
[0209] The weld information acquisition module 800 is used to acquire weld information of the weld position acquired by the laser module;
[0210] The verification module 900 is used to verify the laser module according to the collected weld information.
[0211] Optionally, the second movement control signal includes: a first laser movement signal and a second laser movement signal; the second control module 700 includes:
[0212] A first control unit is used to send a first laser movement signal to a motor driver of a second target moving component through a motion control board, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to a weld starting position on the welding test plate;
[0213] The second control unit is used to send a second laser movement signal to the motor driver of the second target moving component through the motion control board, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves at a constant speed along the extension direction of the weld on the welding test plate at a preset speed until it moves to the end position of the weld on the welding test plate.
[0214] Optionally, the weld information acquisition module 800 is used to acquire weld information sent by the laser module at a preset period;
[0215] The verification module 900 is used to verify the laser module according to the collected weld information, the preset speed and the preset cycle.
[0216] Optionally, the verification module 900 includes:
[0217] A calculation unit, used to calculate theoretical weld information collected by the laser module according to a preset speed, a preset cycle and preset weld information corresponding to the welding test plate;
[0218] The verification unit is used to verify the laser module according to theoretical weld information and collected weld information.
[0219] Optionally, the verification unit includes:
[0220] The phase parameter calculation subunit is used to calculate the phase parameter of the collected weld information lagging behind the theoretical weld information according to the theoretical change curve of the theoretical weld information with the theoretical time and the collection change curve of the collected weld information with the collection time;
[0221] The response time verification subunit is used to calculate the response time of the laser module according to the phase parameter to verify the response time of the laser module.
[0222] Optionally, the verification unit also includes:
[0223] A data number calculation subunit is used to calculate the data number of the collected weld information lagging behind the theoretical weld information according to the phase parameter and the preset period;
[0224] The recognition accuracy verification subunit is used to calculate the recognition accuracy of the laser module according to the number of data to verify the recognition accuracy of the laser module.
[0225] The device is used to execute the method provided in the above-mentioned embodiment, and its implementation principle and technical effect are similar, which will not be described in detail here.
[0226] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0227] Fig.13 A schematic diagram of the structure of a computer provided in an embodiment of the present application is shown in FIG. Fig.13As shown, the computer 40 includes: a processor 41, a storage medium 42 and a bus, the storage medium 42 stores program instructions executable by the processor 41, when the computer 40 is running, the processor 41 and the storage medium 42 communicate through the bus, and the processor 41 executes the program instructions to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0228] Optionally, the present invention further provides a storage medium, on which a computer program is stored, and when the computer program is run by a processor, the above method embodiment is executed.
[0229] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0230] 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 distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0231] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0232] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0233] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A laser module verification method, characterized in that: A controller used in a laser module verification system, the laser module verification system further comprising: a laser module verification platform and a motor driver, the laser module being mounted on the laser module verification platform; the motor control ends of each motor screw slide on the laser module verification platform being electrically connected to a motor driver respectively, the motor driver being electrically connected to the controller; The laser module verification platform comprises: a laser module moving platform, a welding test plate moving platform and a base; the laser module moving platform is mounted on the base through a mounting bracket, and is used to control the movement of the laser module in a three-axis spatial coordinate system; the welding test plate moving platform is mounted on the base, and is used to control the movement of the welding test plate in a two-axis plane coordinate system; The laser module moving platform comprises: two first X-axis moving components, a first Y-axis moving component and a Z-axis moving component; the two first X-axis moving components are arranged in parallel on the mounting bracket, the first Y-axis moving component is slidably arranged between the two first X-axis moving components, and the Z-axis moving component is slidably arranged on the first Y-axis moving component; a mounting seat is also slidably arranged on the Z-axis moving component to install the laser module to be verified, so that the detection surface of the laser module after installation faces the base; The welding test plate moving platform comprises: a second X-axis moving assembly and a second Y-axis moving assembly; wherein the second Y-axis moving assembly is fixedly arranged on the base in the area between the two first X-axis moving assemblies; the second X-axis moving assembly is slidably arranged on the second Y-axis moving assembly; a test plate fixing mechanism is slidably arranged on the second X-axis moving assembly to fix the welding test plate; Each of the first X-axis moving assembly, the first Y-axis moving assembly, the Z-axis moving assembly, the second X-axis moving assembly and the second Y-axis moving assembly is a motor screw slide respectively; The method comprises: Sending a first movement control signal to a motor driver of a first target moving component, so that the motor driver of the first target moving component drives the first target moving component to move, so that the welding test plate moves to a preset designated position; wherein the first target moving component is located on the welding test plate moving platform, and the first target moving component is: the second X-axis moving component and / or the second Y-axis moving component; Sending a second movement control signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves at a preset speed, and the detection surface of the laser module faces the weld position on the welding test plate; wherein the second target moving component is located on the laser module moving platform, and the second target moving component is: the first X-axis moving component, the first Y-axis moving component and / or the Z-axis moving component; Acquire the collected weld information sent by the laser module at a preset period; Calculating theoretical weld information of the weld position according to the preset speed, the preset cycle and the preset weld information corresponding to the welding test plate; According to the theoretical change curve of the theoretical weld information and the acquisition change curve of the acquired weld information, a phase parameter of the acquired weld information lagging behind the theoretical weld information is calculated; wherein the theoretical change curve is a curve of the theoretical weld information changing with theoretical time, and the acquisition change curve is a curve of the acquired weld information changing with acquisition time; The response time of the laser module is calculated according to the phase parameter to verify the response time of the laser module.
2. The method according to claim 1, characterized in that The second movement control signal includes: a first laser movement signal and a second laser movement signal; The step of sending a second movement control signal to a motor driver of the second target moving component so that the motor driver of the second target moving component drives the second target moving component to move so that the detection surface of the laser module faces the weld position on the welding test plate includes: Sending the first laser movement signal to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves to the weld starting position on the welding test plate; The second laser movement signal is sent to the motor driver of the second target moving component, so that the motor driver of the second target moving component drives the second target moving component to move, so that the laser module moves from the weld starting position to the weld ending position on the welding test plate at a preset speed.
3. The method according to claim 1, characterized in that The verifying the laser module according to the theoretical weld information and the collected weld information further includes: According to the phase parameter and the preset period, the number of data of the collected weld information lagging behind the theoretical weld information is calculated; The recognition accuracy of the laser module is calculated according to the number of data to verify the recognition accuracy of the laser module.
