Simulation test method based on industrial robot
By creating a three-dimensional simulation model and using scripting language to describe the robot operation sequence, it solves the problem that existing technology cannot fully simulate actual working conditions, achieves comprehensive testing and optimization of industrial robot performance, reduces test costs and cycles, and improves development efficiency. and security.
Patent Information
- Application Number
- CN202410285282.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-10-18
AI Technical Summary
Existing industrial robot testing methods are mostly actual on-site operations or repeated performance tests in a single environment, which cannot fully simulate actual working conditions. They are also costly and cycle-long, and cannot effectively ensure the stability and reliability of robots in complex working environments. .
Adopting a simulation test method based on industrial robots, by creating a three-dimensional simulation model and using script language to describe the robot operation sequence, compile control programs, simulate various actual working conditions in the simulation environment, record performance data, and optimize the control programs through design evaluation algorithms and workflow.
It achieves comprehensive testing of robot performance, covering more actual working conditions, including extreme conditions and unexpected situations, significantly reducing testing costs, shortening testing cycles, improving product development efficiency, and identifying and eliminating potential safety hazards in the virtual environment. Ensure that robots maintain high performance in various environments.
Smart Images

Figure CN118797883A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field related to industrial robots, and in particular to a simulation test method based on industrial robots. Background Art
[0002] Industrial robots are widely used in manufacturing, assembly, handling and other scenarios. To ensure the stability and reliability of robots in complex working environments, rigorous testing is required. Existing testing methods are mostly on-site actual operations or repeated performance tests in a single environment, which cannot fully simulate actual working conditions, and are costly and time-consuming. Summary of the invention
[0003] The purpose of the present invention is to provide a simulation test method based on an industrial robot to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a simulation test method based on an industrial robot, comprising the following steps:
[0005] Step S1, creating a three-dimensional simulation model of the working environment of the industrial robot, the model including all objects, tools and environmental factors that the robot interacts with its work;
[0006] Step S2: Select a scripting language for the preset workflow of the industrial robot, and use the scripting language to describe the operation sequence and action details of the robot in actual work;
[0007] Step S3, compile a corresponding industrial robot control program according to the workflow script described in step S2, and load the program into the simulation environment;
[0008] Step S4: configuring different simulation test scenarios in the simulation environment, changing environmental variables including temperature, light, and dust, and setting unexpected interference or anomalies to simulate various actual working conditions;
[0009] Step S5: Run a simulation test to record the performance data of the industrial robot in real time, such as operating speed, accuracy, stability, and fault response time;
[0010] Step S6, designing an evaluation algorithm, evaluating the working performance of the robot by analyzing and recording the performance data in step S5 to determine whether it meets the design requirements;
[0011] Step S7: Optimize the robot control program and workflow according to the test results.
[0012] Preferably, the specific steps of creating a three-dimensional simulation model of the industrial robot working environment in step S1 are as follows:
[0013] Step S11, determine the complexity of the industrial robot's working environment, including the size of the physical space, the type and quantity of work objects, and the type of tools and equipment; clarify the purpose of the simulation model, including design verification, performance testing, education and training, or development of control algorithms;
[0014] Step S12, obtaining accurate geometric data, kinematic and dynamic parameters of the industrial robot; collecting the size, mass and material properties of relevant objects and tools in the working environment; and investigating the environmental factor data required, including temperature, humidity, lighting and noise;
[0015] Step S13: Use professional 3D modeling software to establish an accurate geometric model of the industrial robot; arrange the relevant objects and tools in the working environment according to the actual distribution;
[0016] Step S14, importing the kinematic and dynamic models of the robot to ensure that the simulated robot motion is consistent with the real robot; setting environmental characteristics, including friction coefficient, air resistance, gravity acceleration, and lighting parameters;
[0017] Step S15: adding an interactive user interface to enable the operator to adjust the robot's parameters or operation path in real time and observe the changes;
[0018] Step S16: Select a MATLAB simulation engine according to the requirements to ensure that the required physical simulation and visualization display are supported; integrate the basic three-dimensional model with the simulation engine and convert it into a working model that can perform dynamic simulation;
[0019] Step S17, verifying the three-dimensional simulation model to ensure that all dimensions and motion parameters are consistent with the actual ones;
[0020] Step S18, start a trial run of the three-dimensional simulation model, simulate the actual working conditions of the robot through the simulation model, and record the data of motion performance and environmental interaction; analyze the data to confirm the accuracy of the model. If problems are found, rework and adjust the detailed settings of the three-dimensional model.
[0021] Preferably, the professional 3D modeling software in step S13 includes one of SolidWorks, Autodesk Inventor or Maya.
[0022] Preferably, an evaluation algorithm is designed in step S6 to evaluate the working performance of the robot by analyzing and recording the performance data in step S5, and the evaluation includes the following contents:
[0023] a. Accuracy assessment: assess the accuracy of industrial robots when performing positioning tasks
[0024] Data collection: Every time the robot reaches a predetermined position, its actual position coordinates and the predetermined target coordinates are recorded; Evaluation indicators: Accuracy is quantified using positioning error, and the specific evaluation formula is:
[0025]
[0026] Among them, E i represents the error of the i-th positioning, x ti ,y ti , z ti represents the target coordinates, z ai Indicates the actual coordinates;
[0027] b. Repeatability evaluation: Industrial robots repeatedly perform the same task on a production line, and their repeatability needs to be evaluated.
[0028] Data collection: record the performance data of industrial robots when they complete the same task multiple times; evaluation indicators: repeatability is measured by the consistency of task completion, and the evaluation formula is:
[0029]
[0030] Where R represents repeatability, σ represents the standard deviation of performance data, and μ represents the mean value;
[0031] c. Response time evaluation: The speed at which an industrial robot responds to instructions is an indicator of work performance;
[0032] Data collection: record the time interval from sending the control command to the robot starting to respond; evaluation indicator: response time, which is calculated as:
[0033]
[0034] Where T avg represents the average response time, T i is the response time of the ith time, and n is the total number of experiments;
[0035] d. Efficiency evaluation: The efficiency of the robot in performing tasks can be evaluated by work cycle time and success rate;
[0036] Data collection: record the cycle time required to complete the task and the proportion of successfully executed tasks; evaluation indicators: efficiency is described by the ratio of success rate to average cycle time. The specific formula is:
[0037]
[0038] Where Eff represents efficiency, S represents success rate, T avg Represents the average cycle time.
[0039] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention can comprehensively test the performance of the robot under various working conditions by creating a three-dimensional simulation environment. This makes the test not limited to ideal conditions or a single environment, but can cover more actual working conditions, including extreme condition testing and unexpected situation handling; compared with traditional on-site testing, simulation testing does not require a physical prototype or a production environment, so it can significantly reduce the testing cost. In addition, software simulation helps to shorten the testing cycle and speed up the iteration process, thereby improving the efficiency of product development; by testing in a simulation environment, the performance of the robot in various dangerous or unpredictable situations can be tested without any safety risks, which helps to identify and eliminate potential safety hazards before actual deployment; the present invention provides a fast and effective verification method, and engineers can test new solutions in a virtual environment to ensure that they can meet the expected performance standards before actual application; the evaluation algorithm in the present invention can continuously guide the optimization of the industrial robot system, whether it is the control program adjustment at the software level or the modification of the hardware design; by setting different test scenarios and environmental variables, the present invention can simulate the complexity of the real world, thereby ensuring that the robot can maintain high performance in various environments; the designed scripting language can help standardize the operation process of the robot, which not only reduces the complexity of programming, but also provides a unified framework for the performance evaluation of the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] See also Figure 1 The present invention provides a technical solution: a simulation test method based on an industrial robot, comprising the following steps:
[0043] Step S1, creating a three-dimensional simulation model of the working environment of the industrial robot, the model including all objects, tools and environmental factors that the robot interacts with its work;
[0044] Step S2: Select a scripting language for the preset workflow of the industrial robot, and use the scripting language to describe the operation sequence and action details of the robot in actual work;
[0045] Step S3, compile a corresponding industrial robot control program according to the workflow script described in step S2, and load the program into the simulation environment;
[0046] Step S4: configuring different simulation test scenarios in the simulation environment, changing environmental variables including temperature, light, and dust, and setting unexpected interference or anomalies to simulate various actual working conditions;
[0047] Step S5: Run a simulation test to record the performance data of the industrial robot in real time, such as operating speed, accuracy, stability, and fault response time;
[0048] Step S6, designing an evaluation algorithm, evaluating the working performance of the robot by analyzing and recording the performance data in step S5 to determine whether it meets the design requirements;
[0049] Step S7: Optimize the robot control program and workflow according to the test results.
[0050] Furthermore, the specific steps of creating a three-dimensional simulation model of the industrial robot working environment in step S1 are as follows:
[0051] Step S11, determine the complexity of the industrial robot's working environment, including the size of the physical space, the type and quantity of work objects, and the type of tools and equipment; clarify the purpose of the simulation model, including design verification, performance testing, education and training, or development of control algorithms;
[0052] Step S12, obtaining accurate geometric data, kinematic and dynamic parameters of the industrial robot; collecting the size, mass and material properties of relevant objects and tools in the working environment; and investigating the environmental factor data required, including temperature, humidity, lighting and noise;
[0053] Step S13: Use professional 3D modeling software to establish an accurate geometric model of the industrial robot; arrange the relevant objects and tools in the working environment according to the actual distribution;
[0054] Step S14, importing the kinematic and dynamic models of the robot to ensure that the simulated robot motion is consistent with the real robot; setting environmental characteristics, including friction coefficient, air resistance, gravity acceleration, and lighting parameters;
[0055] Step S15: adding an interactive user interface to enable the operator to adjust the robot's parameters or operation path in real time and observe the changes;
[0056] Step S16: Select a MATLAB simulation engine according to the requirements to ensure that the required physical simulation and visualization display are supported; integrate the basic three-dimensional model with the simulation engine and convert it into a working model that can perform dynamic simulation;
[0057] Step S17, verifying the three-dimensional simulation model to ensure that all dimensions and motion parameters are consistent with the actual ones;
[0058] Step S18, start a trial run of the three-dimensional simulation model, simulate the actual working conditions of the robot through the simulation model, and record the data of motion performance and environmental interaction; analyze the data to confirm the accuracy of the model. If problems are found, rework and adjust the detailed settings of the three-dimensional model.
[0059] Furthermore, the professional 3D modeling software in step S13 includes one of SolidWorks, Autodesk Inventor or Maya.
[0060] Furthermore, in step S6, an evaluation algorithm is designed to evaluate the working performance of the robot by analyzing and recording the performance data in step S5, and the evaluation includes the following contents:
[0061] a. Accuracy assessment: assess the accuracy of industrial robots when performing positioning tasks
[0062] Data collection: Every time the robot reaches a predetermined position, its actual position coordinates and the predetermined target coordinates are recorded; Evaluation indicators: Accuracy is quantified using positioning error, and the specific evaluation formula is:
[0063]
[0064] Among them, E i represents the error of the i-th positioning, x ti ,y ti , z ti represents the target coordinates, Indicates the actual coordinates;
[0065] b. Repeatability evaluation: Industrial robots repeatedly perform the same task on a production line, and their repeatability needs to be evaluated.
[0066] Data collection: record the performance data of industrial robots when they complete the same task multiple times; evaluation indicators: repeatability is measured by the consistency of task completion, and the evaluation formula is:
[0067]
[0068] Where R represents repeatability, σ represents the standard deviation of performance data, and μ represents the mean value;
[0069] c. Response time evaluation: The speed at which an industrial robot responds to instructions is an indicator of work performance;
[0070] Data collection: record the time interval from sending the control command to the robot starting to respond; evaluation indicator: response time, which is calculated as:
[0071]
[0072] Where T avg represents the average response time, T i is the response time of the ith time, and n is the total number of experiments;
[0073] d. Efficiency evaluation: The efficiency of the robot in performing tasks can be evaluated by work cycle time and success rate;
[0074] Data collection: record the cycle time required to complete the task and the proportion of successfully executed tasks; evaluation indicators: efficiency is described by the ratio of success rate to average cycle time. The specific formula is:
[0075]
[0076] Where Eff represents efficiency, S represents success rate, T avg Indicates the average cycle time
[0077] The present invention creates a three-dimensional simulation environment, and the present invention can comprehensively test the performance of the robot under various working conditions. This makes the test not limited to ideal conditions or a single environment, but can cover more actual working conditions, including extreme condition testing and unexpected situation handling; compared with traditional on-site testing, simulation testing does not require a physical prototype or production environment, so it can significantly reduce the testing cost. In addition, software simulation helps to shorten the test cycle and speed up the iteration process, thereby improving the efficiency of product development; by testing in a simulation environment, the performance of the robot in various dangerous or unpredictable situations can be tested without any safety risks, which helps to identify and eliminate potential safety hazards before actual deployment; the present invention provides a fast and effective verification method, and engineers can test new solutions in a virtual environment to ensure that they can meet the expected performance standards before actual application; the evaluation algorithm in the present invention can continuously guide the optimization of the industrial robot system, whether it is the control program adjustment at the software level or the modification of the hardware design; by setting different test scenarios and environmental variables, the present invention can simulate the complexity of the real world, thereby ensuring that the robot can maintain high performance in various environments; the designed scripting language can help standardize the operation process of the robot, which not only reduces the complexity of programming, but also provides a unified framework for the performance evaluation of the robot.
[0078] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A simulation test method based on an industrial robot, characterized in that: The following steps are involved: Step S1, creating a three-dimensional simulation model of the working environment of the industrial robot, the model including all objects, tools and environmental factors that the robot interacts with its work; Step S2: Select a scripting language for the preset workflow of the industrial robot, and use the scripting language to describe the operation sequence and action details of the robot in actual work; Step S3, compile a corresponding industrial robot control program according to the workflow script described in step S2, and load the program into the simulation environment; Step S4: configuring different simulation test scenarios in the simulation environment, changing environmental variables including temperature, light, and dust, and setting unexpected interference or anomalies to simulate various actual working conditions; Step S5: Run a simulation test to record the performance data of the industrial robot in real time, such as operating speed, accuracy, stability, and fault response time; Step S6, designing an evaluation algorithm, evaluating the working performance of the robot by analyzing and recording the performance data in step S5 to determine whether it meets the design requirements; Step S7: Optimize the robot control program and workflow according to the test results.
2. The simulation test method based on an industrial robot according to claim 1, characterized in that: The specific steps of creating a three-dimensional simulation model of the industrial robot working environment in step S1 are as follows: Step S11, determine the complexity of the working environment of the industrial robot, including the size of the physical space, the type and quantity of the working objects, and the type of tools and equipment; clarify the purpose of the simulation model, including design verification, performance testing, education and training, or development of control algorithms; Step S12: Obtain accurate geometric data, kinematic and dynamic parameters of the industrial robot; collect the size, mass and material properties of relevant objects and tools in the working environment; and investigate the environmental factor data required, including temperature, humidity, lighting and noise; Step S13: Use professional 3D modeling software to establish an accurate geometric model of the industrial robot; arrange the relevant objects and tools in the working environment according to the actual distribution; Step S14: import the kinematic and dynamic models of the robot to ensure that the simulated robot motion is consistent with the real robot; Set environmental characteristics, including friction coefficient, air resistance, gravity acceleration, and lighting parameters; Step S15: adding an interactive user interface to enable the operator to adjust the robot's parameters or operation path in real time and observe the changes; Step S16: Select a MATLAB simulation engine according to requirements to ensure support for required physical simulation and visualization; Integrate the basic 3D model with the simulation engine and convert it into a working model that can perform dynamic simulation; Step S17, verifying the three-dimensional simulation model to ensure that all dimensions and motion parameters are consistent with the actual ones; Step S18, start the trial run of the 3D simulation model, simulate the actual working conditions of the robot through the simulation model, record the data of motion performance and environmental interaction; analyze the data, confirm the accuracy of the model, and if any problems are found, rework and adjust the detailed settings of the 3D model.
3. The simulation test method based on an industrial robot according to claim 2, characterized in that: The professional 3D modeling software in step S13 includes one of SolidWorks, Autodesk Inventor or Maya.
4. The simulation test method based on an industrial robot according to claim 1, characterized in that: In step S6, an evaluation algorithm is designed to evaluate the working performance of the robot by analyzing and recording the performance data in step S5. The evaluation includes the following contents: a. Accuracy assessment: assess the accuracy of industrial robots when performing positioning tasks Data collection: Every time the robot reaches a predetermined position, its actual position coordinates and the predetermined target coordinates are recorded; Evaluation indicators: Accuracy is quantified using positioning error, and the specific evaluation formula is: Among them, E i represents the error of the i-th positioning, x ti ,y ti , z ti represents the target coordinates, Indicates the actual coordinates; b. Repeatability evaluation: Industrial robots repeatedly perform the same task on a production line, and their repeatability needs to be evaluated. Data collection: record the performance data of industrial robots when they complete the same task multiple times; evaluation indicators: repeatability is measured by the consistency of task completion, and the evaluation formula is: Where R represents repeatability, σ represents the standard deviation of performance data, and μ represents the mean value; c. Response time evaluation: The speed at which an industrial robot responds to instructions is an indicator of work performance; Data collection: record the time interval from sending the control command to the robot starting to respond; evaluation indicator: response time, which is calculated as: Where T avg represents the average response time, T i is the response time of the ith time, and n is the total number of experiments; d. Efficiency evaluation: The efficiency of the robot in performing tasks can be evaluated by work cycle time and success rate; Data collection: record the cycle time required to complete the task and the proportion of successfully executed tasks; evaluation indicators: efficiency is described by the ratio of success rate to average cycle time. The specific formula is: Where Eff represents efficiency, S represents success rate, T avg Represents the average cycle time.
Citation Information
Cited By
Humanoid robot simulation environment based on Isaac Sim and implementation method thereof
CN119472340A
Humanoid robot simulation environment based on Isaac Sim and implementation method thereof
CN119472340B
