A robot automated performance testing method

Through the combination of HB-Robot software and Python scripting program, multi-mode visual modeling of robot automation performance testing is realized, solving the problems of complex models and high computing volume in the existing technology, and improving the testing efficiency and performance.

CN114139404BActive Publication Date: 2024-11-12JIANGSU HUIBO ROBOTICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111523779.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-14
Publication Date
2024-11-12
Estimated Expiration
2041-12-14

AI Technical Summary

Technical Problem

The automated performance testing methods of existing robots require a large amount of data to calculate in dynamics and kinematics simulations, resulting in the number of equations increasing into geometric numbers, the model is complex, the application is difficult, and the testing efficiency is affected.

Method used

Multi-mode visual modeling is used to use HB-Robot software to conduct whole-machine performance testing, production line design and fault diagnosis of robots through virtual workstations and Python script programs. RoboDK, robolink and Redis libraries are used to perform Socket connection and database control to realize robot automation Synchronous testing of performance.

Benefits of technology

The modeling and simulation process is simplified, the comprehensiveness and efficiency of testing is improved, the application difficulty is reduced, and the testing performance is improved. The structure is simple and the operation is convenient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114139404B_ABST
    Figure CN114139404B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for testing the automated performance of a robot, including the following steps: creating a model tool, a workpiece coordinate system and a target point, saving the project after completion, modeling and performance testing the robot through a virtual workstation, performing offline programming, creating a Python script program, writing a Python script program, scheduling the robot and other models to perform tasks through industrial control equipment control signals in a Redis database, and controlling the robot simulation model to perform tasks. The method for testing the automated performance of a robot described in the present invention can perform multi-mode visual modeling operations through HB‑Robot software, and perform performance testing of the robot through robot visual modeling. The contents of testing the automated performance of the robot include robot whole machine performance testing, robot automated production line design, and robot online fault diagnosis and health assessment. The test is more comprehensive, achieving the effect of test optimization and improving test performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robots, and in particular to an automated performance testing method for robots. Background Art

[0002] The automated performance testing method of a robot is a method for conducting robot simulation performance testing. When conducting robot testing, it covers several major application forms such as "industrial robot modeling simulation software and technical services, industrial robot application training system, industrial robot application technology training", etc. With the continuous development of science and technology, people's requirements for automated performance testing methods of robots are getting higher and higher.

[0003] The existing automated performance testing methods for robots have certain drawbacks when used. First, in the field of robot applications, the dynamics and kinematics simulation of the robot requires a large amount of data calculation. In the robot system integration solution, there are a large number of multi-domain models, which leads to a geometric increase in the number of equations to be solved simultaneously. This makes robot testing more troublesome and not conducive to people's use. In addition, the model is more complex and difficult to apply, which brings certain adverse effects to people's use process. For this reason, we propose an automated performance testing method for robots. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the deficiencies in the prior art, the present invention provides a method for automated performance testing of a robot. Multi-mode visual modeling operations can be performed through HB-Robot software. The robot performance is tested through robot visual modeling. The contents of the robot automated performance test include robot whole machine performance test, robot automated production line design, and robot online fault diagnosis and health assessment. The test is more comprehensive, has the effect of test optimization, improves test performance, and can effectively solve the problems in the background technology.

[0006] (II) Technical solution

[0007] To achieve the above object, the technical solution adopted by the present invention is: a method for automated performance testing of a robot, comprising the following steps:

[0008] S1: Before modeling and simulation, the display and CAD parameters need to be configured to smoothly import the 3D model and perform offline simulation smoothly;

[0009] S2: If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, then import it into the workstation together with the model in the online library and lay it out, then create the tool, workpiece coordinate system and target point of the model, save the project after completion, and a virtual workstation will be created. The robot can be modeled and its performance tested through the virtual workstation.

[0010] S3: Perform offline programming and create a Python script program. Import library files such as robodk, robolink, and redis into the program to connect to RoboDK through socket, obtain model objects, and connect to the Redis database.

[0011] S4: Write a Python script program based on the virtual and real signals in the virtual debugging experiment, and use the industrial control equipment control signals in the Redis database to schedule robots and other models to perform tasks;

[0012] S5: Control the robot simulation model to execute tasks and simultaneously test the robot's automation performance.

[0013] As a preferred technical solution of the present application, the content of testing the robot's automation performance in the S5 step includes robot whole machine performance testing, robot automation production line design, and robot online fault diagnosis and health assessment, and the performance test results are input into the fault information data set and the design navigation test library.

[0014] As a preferred technical solution of the present application, the robot whole machine performance test includes the performance test of the robot's key components, the performance test of the robot whole machine modules and the robot whole machine performance evaluation of typical applications.

[0015] As a preferred technical solution of the present application, the design of the robotic automated production line includes the design of common key technologies of the robotic automated production line, and online design verification of the integrated application of process unit packaging and typical operation modes of the robotic automated production line.

[0016] As a preferred technical solution of the present application, the robot online fault diagnosis and health assessment includes robot internal and external sensor signal analysis, robot key component online diagnosis and robot health status intelligent identification technology.

[0017] As a preferred technical solution of the present application, a Python script program is created in the S3 step, and the two robots read the joint data to check whether the state of the depalletizing suction cup is 1. If so, the goods are attached to the suction cup and moved above the conveyor belt. Check whether the state of the depalletizing suction cup is 0. If so, the goods leave the suction cup and are placed on the conveyor belt. Check whether the goods are in place. If so, update the in-place variable value in Redis. Check whether the state of the stacking suction cup is 1. If so, the goods are attached to the suction cup and moved above the shelf. Check whether the state of the depalletizing suction cup is 0. If so, the goods leave the suction cup and are placed on the shelf. Check whether the task is completed. If so, the task is completed, and the robot automation work test is completed.

[0018] As a preferred technical solution of the present application, a Python script program is written in the S4 step, and the main function while True loop is entered to initialize the safety door and chuck of the CNC lathe and machining center, call the robot motion control sub-function, update the safety door and chuck status, call the CNC lathe and machining center motion control sub-function, delay for 5 milliseconds, and check whether the task is completed. If so, end the test.

[0019] As a preferred technical solution of the present application, in the step S2, multi-mode visual modeling operations can be performed through HB-Robot software, and the performance of the robot can be tested through robot visual modeling.

[0020] (III) Beneficial effects

[0021] Compared with the prior art, the present invention provides a method for testing the automated performance of a robot, which has the following beneficial effects: the method for testing the automated performance of a robot can perform multi-mode visual modeling operations through the HB-Robot software, and perform performance testing on the robot through robot visual modeling. The content of testing the automated performance of the robot includes robot whole machine performance testing, robot automated production line design, and robot online fault diagnosis and health assessment. The test is more comprehensive, which plays a role in test optimization and improves test performance. Before modeling and simulation, it is necessary to configure the display and CAD parameters in order to smoothly import the three-dimensional model and smoothly perform offline simulation. If the required model is not available in the online library of HB-Robot, the model can be drawn through SolidWorks, and then imported into the workstation together with the model in the online library and laid out, and then the model's tools, workpiece coordinate system, and target points are created. After completion, the project is saved, and a virtual workstation is created. Finally, the robot is modeled and performance tested through the virtual workstation, offline programming is performed, a Python script is created, and library files such as robodk, robolink and redis are imported into the program, which are used to connect to RoboDK for Socket, obtain model objects and connect to the Redis database respectively. A Python script is written according to the virtual and real signals in the virtual debugging experiment, and the robot and other models are scheduled to perform tasks through the industrial control equipment control signals in the Redis database. The robot simulation model is controlled to perform tasks, and the robot's automation performance is tested synchronously. The content of the robot's automation performance test includes robot whole machine performance test, robot automation production line design, and robot online fault diagnosis and health assessment. The performance test results are input into the fault information data set and the navigation test library is designed. The entire robot's automation performance testing method has a simple structure, is easy to operate, and has better results than the traditional method. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 The figure is a schematic diagram of the overall structure of an automated performance testing method for a robot according to the present invention.

[0023] Figure 2 The present invention is a schematic diagram of the structure of the Python script program workflow in the automated performance testing method of a robot.

[0024] Figure 3 The present invention is a schematic diagram of the overall flow of a Python program in an automated performance testing method for a robot.

[0025] Figure 4 The present invention is a schematic diagram of the structure of the robot testing content in the robot automated performance testing method. DETAILED DESCRIPTION

[0026] The technical scheme of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments, but it will be understood by those skilled in the art that the following described embodiments are part of embodiments of the present invention, rather than all embodiments, and are only used to illustrate the present invention, and should not be considered as limiting the scope of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative work are within the scope of protection of the present invention. If specific conditions are not specified in the embodiments, they are carried out according to normal conditions or conditions recommended by the manufacturer. If the manufacturer is not specified in the reagents or instruments used, they are all conventional products that can be purchased commercially.

[0027] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying 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 limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0028] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] Embodiment 1:

[0030] like Figure 1-4 As shown, a method for automated performance testing of a robot includes the following steps:

[0031] S1: Before modeling and simulation, the display and CAD parameters need to be configured to smoothly import the 3D model and perform offline simulation smoothly;

[0032] S2: If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, then import it into the workstation together with the model in the online library and lay it out, then create the tool, workpiece coordinate system and target point of the model, save the project after completion, and a virtual workstation will be created. The robot can be modeled and its performance tested through the virtual workstation.

[0033] S3: Perform offline programming and create a Python script program. Import library files such as robodk, robolink, and redis into the program to connect to RoboDK through socket, obtain model objects, and connect to the Redis database.

[0034] S4: Write a Python script program based on the virtual and real signals in the virtual debugging experiment, and use the industrial control equipment control signals in the Redis database to schedule robots and other models to perform tasks;

[0035] S5: Control the robot simulation model to execute tasks and simultaneously test the robot's automation performance.

[0036] Furthermore, the content of the robot automation performance test in step S5 includes the robot whole machine performance test, robot automation production line design and robot online fault diagnosis and health assessment, and the performance test results are input into the fault information data set and the design navigation test library.

[0037] Furthermore, the robot whole machine performance test includes the robot key component performance test, the robot whole machine module performance test and the robot whole machine performance evaluation of typical applications.

[0038] Furthermore, the design of the robotic automation production line includes the design of common key technologies for robotic automation production lines, and online design verification of the packaging of process units of robotic automation production lines and integrated applications of typical operating modes.

[0039] Furthermore, the robot's online fault diagnosis and health assessment include the robot's internal and external sensor signal analysis, the robot's key component online diagnosis and the robot's health status intelligent identification technology.

[0040] Furthermore, in step S2, multi-mode visual modeling operations can be performed through HB-Robot software, and the robot performance can be tested through robot visual modeling.

[0041] Embodiment 2:

[0042] In the technology of the first embodiment, Figure 1-4 As shown, a method for automated performance testing of a robot includes the following steps:

[0043] S1: Before modeling and simulation, the display and CAD parameters need to be configured to smoothly import the 3D model and perform offline simulation smoothly;

[0044] S2: If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, then import it into the workstation together with the model in the online library and lay it out, then create the tool, workpiece coordinate system and target point of the model, save the project after completion, and a virtual workstation will be created. The robot can be modeled and its performance tested through the virtual workstation.

[0045] S3: Perform offline programming and create a Python script program. Import library files such as robodk, robolink, and redis into the program to connect to RoboDK through socket, obtain model objects, and connect to the Redis database.

[0046] S4: Write a Python script program based on the virtual and real signals in the virtual debugging experiment, and use the industrial control equipment control signals in the Redis database to schedule robots and other models to perform tasks;

[0047] S5: Control the robot simulation model to execute tasks and simultaneously test the robot's automation performance.

[0048] Furthermore, a Python script program is created in step S3. The two robots read the joint data and check whether the status of the depalletizing suction cup is 1. If so, the goods are attached to the suction cup and moved above the conveyor belt. The depalletizing suction cup status is checked to see if it is 0. If so, the goods leave the suction cup and are placed on the conveyor belt. The goods are checked to see if they are in place. If so, the in-place variable value in Redis is updated. The palletizing suction cup status is checked to see if it is 1. If so, the goods are attached to the suction cup and moved above the shelf. The depalletizing suction cup status is checked to see if it is 0. If so, the goods leave the suction cup and are placed on the shelf. The robot automation work test is completed.

[0049] Embodiment three:

[0050] On the basis of the first and second embodiments, Figure 1-4 As shown, a method for automated performance testing of a robot includes the following steps:

[0051] S1: Before modeling and simulation, the display and CAD parameters need to be configured so that the 3D model can be smoothly imported and offline simulation can be performed smoothly;

[0052] S2: If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, then import it into the workstation together with the model in the online library and lay it out, then create the tool, workpiece coordinate system and target point of the model, save the project after completion, and a virtual workstation will be created. The robot can be modeled and its performance tested through the virtual workstation.

[0053] S3: Perform offline programming and create a Python script program. Import library files such as robodk, robolink, and redis into the program to connect to RoboDK through socket, obtain model objects, and connect to the Redis database.

[0054] S4: Write a Python script program based on the virtual and real signals in the virtual debugging experiment, and use the industrial control equipment control signals in the Redis database to schedule robots and other models to perform tasks;

[0055] S5: Control the robot simulation model to execute tasks and simultaneously test the robot's automation performance.

[0056] Furthermore, in step S4, a Python script program is written to enter the main function while True loop, the safety door and chuck of the CNC lathe and machining center are initialized, the robot motion control sub-function is called, the safety door and chuck status are updated, the CNC lathe and machining center motion control sub-function is called, a delay of 5 milliseconds is made, and it is checked whether the task is completed. If so, the test is ended.

[0057] Working principle: Before modeling and simulation, the display and CAD parameters need to be configured in order to smoothly import the 3D model and smoothly perform offline simulation. If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, and then import it into the workstation together with the model in the online library and lay it out, and then create the model's tools, workpiece coordinate system and target points. After completion, save the project, and a virtual workstation is created. The robot is modeled and performance tested through the virtual workstation, and offline programming is performed. A Python script is created, and library files such as robodk, robolink and redis are imported into the program, which are used to connect to RoboDK for Socket connection, obtain model objects and connect to the Redis database respectively. A Python script is written according to the virtual and real signals in the virtual debugging experiment, and the robot and other models are dispatched to perform tasks through the industrial control equipment control signals in the Redis database. The robot simulation model is controlled to perform tasks, and the robot's automation performance is tested synchronously. The content of the robot's automation performance test includes robot overall performance test, robot automation production line design and robot online fault diagnosis and health assessment, and the performance test results are input into the fault information data set and the design navigation test library.

[0058] It should be noted that, in this article, relational terms such as first and second (number one, number two), etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0059] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A method for automated performance testing of a robot, characterized in that: The steps include: S1: Before modeling and simulation, the display and CAD parameters need to be configured so that the 3D model can be smoothly imported and offline simulation can be performed smoothly; S2: If the required model is not available in the online library of HB-Robot, you can draw the model through SolidWorks, then import it into the workstation together with the model in the online library and lay it out, then create the tool, workpiece coordinate system and target point of the model, save the project after completion, and a virtual workstation will be created. The robot can be modeled and its performance tested through the virtual workstation. S3: Perform offline programming, create a Python script, import robodk, robolink, and redis into the program, which are used to connect to RoboDK through socket, obtain model objects, and connect to the Redis database respectively; S4: Write a Python script program based on the virtual and real signals in the virtual debugging experiment, and schedule the robot to perform tasks through the industrial control equipment control signals in the Redis database; S5: Control the robot simulation model to execute tasks and simultaneously test the robot's automation performance; In the S3 step, a Python script program is created, and the two robots read the joint data, check whether the depalletizing suction cup state is 1, if so, the goods are attached to the suction cup and moved to the top of the conveyor belt, check whether the depalletizing suction cup state is 0, if so, the goods leave the suction cup and are placed on the conveyor belt, check whether the goods are in place, if so, update the in-place variable value in Redis, check whether the palletizing suction cup state is 1, if so, the goods are attached to the suction cup and moved to the top of the shelf, check whether the depalletizing suction cup state is 0, if so, the goods leave the suction cup and are placed on the shelf, check whether the task is completed, if so, the task is completed, and the robot automation work test is completed; In the S4 step, a Python script program is written to enter the main function while True loop, the safety door and chuck of the CNC lathe, the machining center are initialized, the robot motion control subfunction is called, the safety door and the chuck status are updated, the CNC lathe and the machining center motion control subfunction are called, a delay of 5 milliseconds is made, and it is detected whether the task is completed. If so, the test is ended.

2. The method for automated performance testing of a robot according to claim 1, characterized in that: The contents of the robot automation performance test in the step S5 include the robot whole machine performance test, robot automation production line design and robot online fault diagnosis and health assessment, and the performance test results are input into the fault information data set and the design navigation test library.

3. The method for automated performance testing of a robot according to claim 2, characterized in that: The robot whole machine performance test includes the performance test of the robot's key components, the performance test of the robot whole machine modules and the robot whole machine performance evaluation of typical applications.

4. The method for automated performance testing of a robot according to claim 2, characterized in that: The design of the robotic automation production line includes the design of common key technologies for robotic automation production lines, and online design verification of the integrated application of robotic automation production line process unit packaging and typical operation modes.

5. The method for automated performance testing of a robot according to claim 2, characterized in that: The robot online fault diagnosis and health assessment includes the robot's internal and external sensor signal analysis, the robot's key component online diagnosis and the robot's health status intelligent identification technology.

6. The method for automated performance testing of a robot according to claim 1, characterized in that: In the step S2, multi-mode visual modeling operations can be performed through the HB-Robot software, and the performance of the robot can be tested through robot visual modeling.