A robot arm obstacle avoidance path planning method based on temperature control
By integrating the factors of temperature field and temperature loss in the path planning, using the recursive neural network and the covariant Hamiltonian optimization algorithm to adjust the posture of the manipulator in real time, the problem of insufficient path planning accuracy and safety in the traditional method is solved, and the Efficient path planning in temperature-sensitive operations.
Patent Information
- Application Number
- CN202410909948.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Traditional path planning methods cannot effectively integrate the factors of temperature field and temperature loss, resulting in insufficient accuracy and safety of path planning in temperature-sensitive operations. It is especially difficult to achieve high-precision and high-security paths in dynamic and changeable operating environments. planning.
The robot arm obstacle avoidance path planning method based on temperature control is adopted. By establishing a finite element model of the temperature field, a recursive neural network model is trained to predict the temperature loss, and is integrated into the covariant Hamiltonian optimization motion planning algorithm as a constraint to adjust in real time. End-effector attitude, dynamically optimized path planning.
Integrate temperature factors in the entire process of path planning to minimize temperature loss, ensure the smoothness and safety of the path, and improve the quality and efficiency of temperature-sensitive operations.
Smart Images

Figure CN118456444B
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot control, and in particular to a robot arm obstacle avoidance path planning method based on temperature control. Background Art
[0002] With the widespread application of temperature-sensitive operation scenarios (such as welding, 3D printing, and certain medical operations), higher requirements are placed on the path planning of the robot arm, that is, not only to achieve obstacle avoidance and path optimization, but also to consider the impact of temperature changes on the movement of the robot arm in real time during the entire path planning process. Traditional path planning methods cannot effectively integrate the factors of temperature field and temperature loss, resulting in insufficient accuracy and safety of path planning during temperature-sensitive operations.
[0003] Some existing path planning methods have tried to take temperature control factors into consideration, but they usually only perform temperature adjustments in the later stages of path planning, and fail to integrate temperature fields and temperature loss factors throughout the entire process of path planning. Therefore, these methods are not ideal for temperature control in complex high-dimensional path planning problems, especially in dynamic and changing operating environments, making it difficult to achieve high-precision and high-security path planning. Summary of the invention
[0004] In order to effectively consider the impact of temperature changes on the movement of the robotic arm during the path planning process, adjust the posture of the end effector in real time, and dynamically optimize the path planning, the present application provides a robotic arm obstacle avoidance path planning method based on temperature control.
[0005] The present application provides a temperature control-based robot arm obstacle avoidance path planning method using the following technical solutions:
[0006] A method for obstacle avoidance path planning of a robot arm based on temperature control comprises the following steps:
[0007] Establish a finite element model of the temperature field of the object picked up by the end effector of the robot arm and perform finite element simulation to simulate the temperature changes of the picked up object under different operating environments, and summarize the simulation data to obtain a data set;
[0008] The recursive neural network model is trained using the data set obtained by finite element simulation, and the temperature loss of the picked object on the motion path is predicted using the trained recursive neural network model;
[0009] The predicted temperature loss is integrated into the covariant Hamiltonian optimization motion planning algorithm as a constraint condition, and the covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint is obtained;
[0010] The covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint is used to output the optimal path to minimize the temperature loss of the picked object on the motion path.
[0011] The end effector that picks up the object moves along the optimal path. During the movement of the end effector, the posture of the end effector is adjusted in real time according to the wind speed and temperature around the object to achieve dynamic optimization of path planning.
[0012] Further, the steps of performing finite element simulation include:
[0013] Setting initial conditions, including the temperature difference between the object to be picked up and the environment, the air flow velocity around the object to be picked up, and the position and velocity of the end effector;
[0014] Considering convection and conduction heat transfer, analyze the temperature change of the picked object;
[0015] In the data set obtained by finite element simulation, the input data includes the temperature difference between the picked object and the environment, the air flow velocity around the picked object, the position and velocity of the end effector, and the output data includes the temperature change value of the picked object.
[0016] Furthermore, the trained recurrent neural network model is used to predict the temperature loss of the picked object along the motion path. The formula is:
[0017]
[0018] in, t is the time step number, T is the total number of time steps, The input data is at time step t The input data includes the temperature difference between the picked object and the environment, the air flow velocity around the picked object, and the position and velocity of the end effector. and are the weight matrices of the hidden layer and the input layer respectively, b is the bias term, h is the activation function, is the time step t- The activation function is 1.
[0019] Furthermore, in the covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint, the cost function in the path planning process is It is expressed as:
[0020]
[0021] in, For the path, represents the smoothness cost of the path, represents the obstacle avoidance cost, represents the temperature loss cost, and are the weight coefficients of obstacle avoidance cost and temperature loss cost respectively.
[0022] Furthermore, the temperature loss cost It is calculated by summing the predicted temperature loss of the picked object at each time step on the motion path.
[0023] Furthermore, the cost function in the path planning process is optimized by using the gradient descent method, and the path is updated iteratively to minimize the cost function.
[0024] Furthermore, in the step of adjusting the posture of the end effector in real time according to the wind speed and temperature around the picked-up object, the formula for changing the posture of the end effector is as follows:
[0025]
[0026] in,
[0027] is the joint angle after the change, is the joint angle before the change, is the change of joint angle, express The first derivative of J is the Jacobian matrix, τ is the joint torque, B is the damping matrix, G ( θ ) is gravity compensation, K is the gain matrix, is the temperature change caused by wind speed, The temperature change detected by the temperature sensor.
[0028] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for planning a robot arm obstacle avoidance path based on temperature control is implemented.
[0029] The present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, a temperature-controlled robot arm obstacle avoidance path planning method is implemented.
[0030] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements a temperature-controlled robot arm obstacle avoidance path planning method.
[0031] In summary, this application includes the following beneficial technical effects:
[0032] This application integrates the factors of temperature field and temperature loss in the whole process of path planning, uses a recurrent neural network (RNN) model to predict temperature loss, and integrates it as a constraint condition into the covariant Hamiltonian optimization motion planning (CHOMP) algorithm to adjust the posture of the end effector in real time and dynamically optimize the path planning, thereby minimizing temperature loss and ensuring the smoothness and safety of the path while avoiding obstacles. It has important application value in the field of temperature-sensitive operations and helps to improve the quality and efficiency of temperature-sensitive operations such as welding, 3D printing and certain medical operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is an overall schematic diagram of a composite material paving system in an embodiment of the present application;
[0034] Figure 2 is an overall flow chart of the robot arm path planning method in an embodiment of the present application;
[0035] Figure 3 is a schematic diagram of a finite element model of a temperature field of an object picked up by an end effector in an embodiment of the present application;
[0036] Figure 4 It is a structural diagram of a recursive neural network model in an embodiment of the present application;
[0037] Figure 5 is a schematic diagram of a path planning cost function in an embodiment of the present application;
[0038] Figure 6 is a flow chart of an improved path planning algorithm in an embodiment of the present application;
[0039] Figure 7 This is a comparison chart of the impact of temperature constraints on path planning results in the embodiments of the present application.
[0040] Figure numerals: 1. Conveying platform; 2. Composite fiber patch; 3. Heat treatment module; 4. Infrared vision camera; 5. Flexible end effector; 6. Laying robot arm; 7. Base one; 8. Core mold; 9. Clamping robot arm; 10. Base two; 11. Workbench. DETAILED DESCRIPTION
[0041] The following is combined with Figure 1-7 This application is described in further detail.
[0042] The present application embodiment discloses a method for robot arm obstacle avoidance path planning based on temperature control, and the method is applied to Figure 1A composite material laying system is shown. The composite material laying system includes a conveying platform 1, on which a heat treatment module 3 and an infrared vision camera 4 are arranged. The conveying platform 1 conveys the cut composite fiber patch 2 to the picking position, and the heat treatment module 3 is used to heat the composite fiber patch 2 to activate the adhesion and plasticity of the composite fiber patch 2; the infrared vision camera 4 detects the laying position in real time, monitors the laying process, and provides the composite fiber patch 2 position information and posture data.
[0043] like Figure 1 As shown, the composite material laying system also includes a workbench 11, on which a laying robot arm 6 and a clamping robot arm 9 are arranged, and the two are fixed to the workbench 11 through a base 1 7 and a base 2 10 respectively. A flexible end effector 5 is arranged at the end of the laying robot arm 6, and a core mold 8 is arranged at the end of the clamping robot arm 9. The heated composite fiber patch 2 is picked up by the flexible end effector 5 and transferred to the core mold 8 by the laying robot arm 6 for laying.
[0044] A temperature-controlled robot arm obstacle avoidance path planning method provided in an embodiment of the present application is used to plan the movement path of the end of the laying robot arm 6 to reduce the temperature loss of the composite fiber patch 2 during the movement process, so that the composite fiber patch 2 can still maintain a high temperature when laid to the core mold 8, thereby ensuring the laying quality.
[0045] like Figure 2 As shown, the robot arm obstacle avoidance path planning method based on temperature control includes three stages: data generation, path planning and actual movement.
[0046] The data generation phase includes the following steps:
[0047] S1. Establish a finite element model of the temperature field of the composite fiber patch picked up by the end effector of the robot arm and perform finite element simulation to simulate the temperature change of the composite fiber patch under different operating environments, and summarize the simulation data to obtain a data set, which specifically includes the following steps:
[0048] S1-1. Use finite element analysis software to establish a finite element model of the temperature field of the composite fiber patch and its surrounding air domain;
[0049] S1-2, set the initial conditions, including the temperature difference between the composite fiber patch and the environment, the air flow velocity around the composite fiber patch, and the position and velocity of the end effector, such as Figure 3 As shown, at different air flow speeds (V in and V out) and temperature difference conditions, considering the conduction heat transfer and forced convection effects, perform finite element simulation, calculate the temperature field, and obtain the temperature loss of the composite fiber patch under different operating environments;
[0050] The temperature loss is calculated based on the temperature gradient of the composite fiber patch on the moving path. The temperature gradient can be obtained by calculating the gradient of the temperature field. The calculation formula is as follows:
[0051]
[0052] in, is the temperature, is the temperature gradient, is the waypoint, is the partial differential symbol.
[0053] S1-3. Record and summarize the simulation data to obtain a data set to provide support for subsequent temperature loss prediction and path planning; in the obtained data set, the input data includes the temperature difference between the composite fiber patch and the environment, the air flow velocity around the picked object, the position and speed of the end effector, and the output data includes the temperature loss of the composite fiber patch.
[0054] S2. The recursive neural network model is trained using the data set obtained by finite element simulation, and the temperature loss of the composite fiber patch on the motion path is predicted using the trained recursive neural network model, as follows:
[0055] Prediction of temperature loss of composite fiber patches along their motion paths using a trained recurrent neural network model The formula is:
[0056]
[0057] in, t is the time step number, T is the total number of time steps, The input data is at time step t The input data include the temperature difference between the composite fiber patch and the environment, the air flow velocity around the composite fiber patch (including V in and V out Comprehensive parameters of the end effector), the position and speed of the end effector; and are the weight matrices of the hidden layer and the input layer respectively, b is the bias term, h is the activation function, is the time step t- The activation function is 1.
[0058] like Figure 4As shown in the figure, the recursive neural network model uses a long short-term memory network (LSTM) to process time series data. The recursive neural network model includes an input layer, a hidden layer, and an output layer. Among them, the input layer includes multiple input channels (C), each of which represents different environmental parameters, such as temperature, airflow speed, etc.; the hidden layer includes two LSTM layers (L), as well as a convolutional layer (Conv) and a fully connected layer (FC); the output layer is a normalization layer (using the Softmax function, referred to as SM). After the input data is processed by the first LSTM layer (L), it enters the second LSTM layer (L) for processing, and enters the convolutional layer (Conv) to extract features. The results output by the second LSTM layer (L) and the convolutional layer (Conv) are passed to the fully connected layer (FC), and finally the normalization layer (SM) outputs the prediction results of temperature loss.
[0059] The path planning phase includes the following steps:
[0060] S3. Integrate the predicted temperature loss as a constraint into the covariant Hamiltonian optimization motion planning algorithm to obtain a covariant Hamiltonian optimization motion planning algorithm that considers the temperature loss constraint, as follows:
[0061] like Figure 5 As shown in the figure, the cost function in the path planning process comprehensively considers path smoothness, obstacle avoidance requirements and temperature loss. It is expressed as:
[0062]
[0063] in, For the path, represents the smoothness cost of the path, represents the obstacle avoidance cost, represents the temperature loss cost, and are the weight coefficients of obstacle avoidance cost and temperature loss cost respectively. The value range of the weight coefficient depends on the requirements of the specific application and environmental conditions, and can usually be determined through experiments and tuning.
[0064] Smoothness in the path planning process is achieved by minimizing the curvature of the path or the rate of change of distances between adjacent points on the path, that is, calculating the path About Time The second-order derivative, the square of the second-order derivative, and the integral summation finally give the path smoothness cost, the path smoothness cost The calculation formula is as follows:
[0065] ( )=
[0066] Obstacle avoidance cost during path planning The calculation method is as follows: sample the path, then calculate the distance from the end effector to the obstacle and the inverse of the distance, and sum them up to get the obstacle avoidance cost.
[0067] Temperature loss cost during path planning The calculation method is as follows: according to step S2, the temperature loss of the composite fiber patch on the motion path is predicted using the trained recursive neural network model, and the temperature loss cost is obtained by summing the temperature loss at each time step.
[0068] The path optimization is achieved by minimizing the temperature loss. The optimization problem is described as:
[0069] =
[0070] S4. Use the covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint to output the optimal path to minimize the temperature loss of the composite fiber patch on the motion path, such as Figure 6 As shown, the specific steps include:
[0071] S4-1, initialization path: define the initial motion path of the end effector;
[0072] S4-2, define the temperature field model, and predict the temperature loss of the composite fiber patch on the motion path through the trained recursive neural network model;
[0073] S4-3, constructing a cost function according to step S3, the cost function comprehensively considering path smoothness, obstacle avoidance requirements and temperature loss;
[0074] S4-4. Calculate the gradient: According to the constructed cost function, the gradient of the path point is calculated by the gradient descent method to determine the direction and magnitude of path optimization. The formula is as follows:
[0075]
[0076] in, is the learning rate, is the gradient of the cost function, For the path, n is the number of iteration steps.
[0077] S4-5, update path points: adjust the positions of path points according to the calculated gradients, so that the path is gradually optimized and the value of the cost function is reduced;
[0078] S4-6, evaluate the change of the cost function: determine whether the current path optimization has reached the convergence condition, that is, whether the change of the cost function is small enough;
[0079] S4-7. If the change in the cost function meets the convergence condition, the optimal path is output; if the change in the cost function does not meet the convergence condition, the iteration continues, the gradient is recalculated and the path points are updated until the cost function converges.
[0080] Through the above path planning algorithm, this method can effectively consider the impact of temperature changes on the movement of the robot arm during the path planning process, and minimize temperature loss while achieving path smoothness and obstacle avoidance effects.
[0081] The actual movement phase consists of the following steps:
[0082] S5, picking up the end effector with the composite fiber patch and executing the path movement according to the optimal path. During the movement of the end effector, the posture of the end effector is adjusted in real time according to the wind speed and temperature around the composite fiber patch to achieve dynamic optimization of path planning, which specifically includes the following steps:
[0083] S5-1, initialize the position and posture of the robot arm according to the result of path planning, and then execute path movement according to the optimal path;
[0084] S5-2, obtaining wind speed and temperature information around the composite fiber patch in real time through a wind speed sensor and a temperature sensor;
[0085] S5-3. The posture of the end effector is adjusted in real time according to the wind speed and temperature around the composite fiber patch. The formula for the change of the posture of the end effector is as follows:
[0086]
[0087] in,
[0088] is the joint angle after the change, is the joint angle before the change, is the change of joint angle, express The first derivative of J is the Jacobian matrix, τ is the joint torque, B is the damping matrix, G ( θ ) is gravity compensation, K is the gain matrix, is the temperature change caused by wind speed, The temperature change detected by the temperature sensor.
[0089] Figure 7This is a comparison chart of the impact of temperature constraints on path planning results, where the horizontal axis represents the moving distance of the end effector, the vertical axis represents the temperature of the composite fiber patch, the curve marked with black diamonds represents the path planning result using CHOMP+MTL (CHOMPwith Minimal Temperature Loss, a covariant Hamiltonian optimization motion planning algorithm considering temperature loss constraints), and the curve marked with red triangles represents the path planning result using CHOMP (a covariant Hamiltonian optimization motion planning algorithm without considering temperature loss constraints).
[0090] It can be seen that the path temperature loss using the CHOMP+MTL algorithm is small, and the temperature drops slowly as the distance increases. However, the path temperature loss using the CHOMP algorithm is large, and the temperature drop is more significant. This shows that introducing the minimum temperature loss constraint in the path planning process can effectively reduce the temperature loss, optimize the path performance, and ensure the safety and efficiency of the robot in high-temperature sensitive operations.
[0091] The embodiment of the present application also provides an electronic device, which may include: a processor, a communication interface, a memory, and a communication bus. The processor, the communication interface, and the memory communicate with each other through the communication bus. The processor may call the logic instructions in the memory to execute the above-mentioned robot arm obstacle avoidance path planning method based on temperature control.
[0092] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the 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 (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0093] An embodiment of the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned temperature-control-based robot arm obstacle avoidance path planning method is implemented.
[0094] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned temperature control-based robot arm obstacle avoidance path planning method when the computer program is executed by a processor.
[0095] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A robot arm obstacle avoidance path planning method based on temperature control, characterized in that: The following steps are involved: Establish a finite element model of the temperature field of the object picked up by the end effector of the robot arm and perform finite element simulation to simulate the temperature changes of the picked up object under different operating environments, and summarize the simulation data to obtain a data set; The recursive neural network model is trained using the data set obtained by finite element simulation, and the temperature loss of the picked object on the motion path is predicted using the trained recursive neural network model; The predicted temperature loss is integrated into the covariant Hamiltonian optimization motion planning algorithm as a constraint condition, and the covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint is obtained; The covariant Hamiltonian optimization motion planning algorithm considering the temperature loss constraint is used to output the optimal path to minimize the temperature loss of the picked object on the motion path. The end effector that picks up the object moves along the optimal path. During the movement of the end effector, the posture of the end effector is adjusted in real time according to the wind speed and temperature around the object to achieve dynamic optimization of path planning.
2. The method for obstacle avoidance path planning of a robot arm based on temperature control according to claim 1, characterized in that: The steps to perform a finite element simulation include: Setting initial conditions, including the temperature difference between the object to be picked up and the environment, the air flow velocity around the object to be picked up, and the position and velocity of the end effector; Considering convection and conduction heat transfer, analyze the temperature change of the picked object; In the data set obtained by finite element simulation, the input data includes the temperature difference between the picked object and the environment, the air flow velocity around the picked object, the position and velocity of the end effector, and the output data includes the temperature change value of the picked object.
3. The method for obstacle avoidance path planning of a robot arm based on temperature control according to claim 1, characterized in that: Predicting the temperature loss of a picked object along its motion path using a trained recurrent neural network model The formula is: in, t is the time step number, T is the total number of time steps, The input data is at time step t The input data includes the temperature difference between the picked object and the environment, the air flow velocity around the picked object, and the position and velocity of the end effector. and are the weight matrices of the hidden layer and the input layer respectively, b is the bias term, h is the activation function, is the time step t- The activation function is 1.
4. The method for obstacle avoidance path planning of a robot arm based on temperature control according to claim 1, characterized in that: Cost function in path planning in the covariant Hamiltonian optimization motion planning algorithm considering temperature loss constraints It is expressed as: in, For the path, represents the smoothness cost of the path, represents the obstacle avoidance cost, represents the temperature loss cost, and are the weight coefficients of obstacle avoidance cost and temperature loss cost respectively.
5. The method for robot arm obstacle avoidance path planning based on temperature control according to claim 4, characterized in that: Temperature loss cost It is calculated by summing the predicted temperature loss of the picked object at each time step on the motion path.
6. The method for robot arm obstacle avoidance path planning based on temperature control according to claim 4, characterized in that: The cost function optimization in the path planning process adopts the gradient descent method, and the path is updated iteratively to minimize the cost function.
7. The method for obstacle avoidance path planning of a robot arm based on temperature control according to claim 1, characterized in that: In the step of adjusting the posture of the end effector in real time according to the wind speed and temperature around the picked object, the formula for changing the posture of the end effector is as follows: in, is the joint angle after the change, is the joint angle before the change, is the change of joint angle, express The first derivative of J is the Jacobian matrix, τ is the joint torque, B is the damping matrix, G ( θ ) is gravity compensation, K is the gain matrix, is the temperature change caused by wind speed, The temperature change detected by the temperature sensor.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the temperature-controlled robot arm obstacle avoidance path planning method is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the temperature-controlled robot arm obstacle avoidance path planning method is implemented.
10. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the temperature-controlled robot arm obstacle avoidance path planning method is implemented.
