Intelligent navigation surgical robot arm path planning method and device
By combining the hybrid model of RBF and LSTM neural network, the robot arm can achieve effective path planning for obstacles in navigation surgery, solve the obstacle avoidance problem of the robot arm in navigation surgery, and improve the efficiency and accuracy of path planning.
Patent Information
- Application Number
- CN202410059296.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-01-16
AI Technical Summary
In navigation surgery, the robotic arm needs to avoid obstacles when performing positioning tasks. It is difficult to effectively plan the path with existing technology, resulting in low efficiency and accuracy.
Using a hybrid neural network model, combined with radial basis function (RBF) and long short-term memory (LSTM) neural network, through edge detection, clustering processing, volume calculation and node sampling, the planned path of the robotic arm is generated to avoid obstacles and optimize Movement trajectory.
The efficiency and accuracy of robotic arm path planning are improved, ensuring that the path can be reasonably planned while sensing the environment, and the puncture task can be successfully completed.
Smart Images

Figure CN118044883B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of robotic arm control technology, and in particular, relates to an intelligent navigation surgical robotic arm path planning method, device, equipment and computer-readable storage medium. Background Art
[0002] In a navigation surgery robot, the robot is responsible for completing the precise positioning of the planned path. However, in some procedures, such as pedicle screw fixation and anterior and posterior cruciate ligament reconstruction, the planned path often has multiple positions, and the robot needs to have obstacle avoidance capabilities when performing positioning tasks.
[0003] Therefore, how to reasonably plan the path of the end of the robotic arm and avoid obstacles to complete the puncture task while completing environmental perception through navigation, and how to improve the efficiency and accuracy of path planning are technical problems that technical personnel in this field urgently need to solve. Summary of the invention
[0004] The embodiments of the present application provide an intelligent navigation surgical robot arm path planning method, device, equipment and computer-readable storage medium, which can reasonably plan the path of the robot arm end, avoid obstacles to complete the puncture task, and improve the efficiency and accuracy of path planning while completing environmental perception through navigation.
[0005] In a first aspect, an embodiment of the present application provides a method for intelligent navigation surgical robot arm path planning, comprising:
[0006] Perform edge detection on obstacles to determine the shape of obstacles;
[0007] Cluster the nodes within the shape of the obstacle to determine the center point of the obstacle;
[0008] Calculate the volume of the obstacle based on its shape and center point;
[0009] Calculate the volume of the empty space based on the volume of the overall space and the volume of the obstacles;
[0010] The volume of the empty space is input into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of radial basis function RBF neural network and long short-term memory LSTM neural network;
[0011] Perform node sampling based on the sampling probability and the required number of sampling nodes;
[0012] Determine the planned path based on the sampled nodes;
[0013] According to the planned path and the motion of the robot arm, the robot arm joint angle waypoints are generated.
[0014] Optionally, edge detection is performed on the obstacle to determine the shape of the obstacle, including:
[0015] Obtain obstacle images;
[0016] Calculate the difference between any pair of adjacent pixels in the diagonal direction to obtain the pixel difference;
[0017] Based on the pixel difference, the gradient amplitude value is calculated;
[0018] Based on the gradient magnitude value, determine the shape of the obstacle;
[0019] Specifically, let the obstacle image be 𝐟(𝐱,𝐲), and the image of the obstacle shape 𝑔(𝑥,𝑦) is calculated by the following formula:
[0020]
[0021] Optionally, calculate the volume of the obstacle based on its shape and center point, including:
[0022] Based on the shape and center point of the obstacle, determine the cube that contains the obstacle;
[0023] Calculate the volume of the cube and use it as the volume of the obstacle.
[0024] Optional, including:
[0025] The RBF neural network is used to input the collected spatial coordinate data of each joint of the robot arm into the radial basis function to realize the movement coordinate data from low dimension to high dimension;
[0026] The LSTM neural network is used to extract time series features from the raw robot motion coordinate data to convey instructions more accurately and better correct the trajectory of the robot end effector.
[0027] Optional network structure of the hybrid neural network model, including:
[0028] Input layer, hidden layer and output layer;
[0029] The input layer has 64 neurons, the hidden layer has 22 neurons, and the output layer has 13 neurons;
[0030] A corresponding random number is assigned to each of the 64 neurons in the input layer, the 22 neurons in the hidden layer, and the 13 neurons in the output layer;
[0031] Use the inverse multi-quadratic function as the activation function;
[0032] Use mean squared error as the loss function;
[0033] The learning rate is set to 0.01, the number of iterations is set to 300, and the epoch is set to 9000.
[0034] Optionally, the network structure of the LSTM neural network in the hybrid neural network model includes:
[0035] 𝑓𝑡 represents the forgetting threshold, 𝑖𝑡 represents the input threshold, represents the state of the neuron at the previous moment, represents the state of the neuron at this time, 𝑜𝑡 represents the output threshold, ℎ𝑡 represents the output of the current neuron, and ℎ𝑡−1 represents the previous neuron;
[0036] For one output, the forget threshold determines how much of the last moment's cell state is retained at the current moment; the input threshold determines how much of the network input is saved to the cell state at the current moment; the output threshold controls the number of unit states output to the current output value of the LSTM; the formula for each parameter is as follows:
[0037]
[0038] Optionally, after determining the planned path based on the sampled nodes, the following steps are also included:
[0039] Calculate the trajectory deviation, linear velocity deviation and angular velocity deviation between the current path and the planned path respectively;
[0040] Adjust the linear velocity and angular velocity of the robot arm based on trajectory deviation, linear velocity deviation and angular velocity deviation;
[0041] Among them, linear velocity is the tangential velocity in the direction of movement of the robot at a certain moment; angular velocity is the joint rotation angle of the robot at a certain moment.
[0042] In a second aspect, an embodiment of the present application provides an intelligent navigation surgical robot arm path planning device, comprising:
[0043] An edge detection module is used to detect the edge of obstacles and determine the shape of obstacles;
[0044] A clustering processing module is used to perform clustering processing on nodes within the shape range of the obstacle to determine the center point of the obstacle;
[0045] The obstacle volume calculation module is used to calculate the volume of the obstacle based on the shape and center point of the obstacle;
[0046] A blank space volume calculation module, used to calculate the volume of the blank space based on the volume of the overall space and the volume of obstacles;
[0047] The sampling node number determination module is used to input the volume of the blank space into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by the deep fusion of the radial basis function RBF neural network and the long short-term memory LSTM neural network;
[0048] A node sampling module, used for performing node sampling based on sampling probability and the required number of sampling nodes;
[0049] A planning path determination module is used to determine the planning path according to the sampled nodes;
[0050] The joint angle waypoint generation module is used to generate the robot arm joint angle waypoints according to the planned path and the robot arm motion.
[0051] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0052] When the processor executes the computer program instructions, an intelligent navigation surgical robot arm path planning method is implemented.
[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and the computer program instructions, when executed by a processor, implement a method for intelligent navigation surgical robot arm path planning.
[0054] The embodiments of the present application provide an intelligent navigation surgical robot arm path planning method, device, equipment and computer-readable storage medium, which can reasonably plan the path of the robot arm end, avoid obstacles to complete the puncture task, and improve the efficiency and accuracy of path planning while completing environmental perception through navigation.
[0055] The intelligent navigation surgical robot path planning method comprises: performing edge detection on obstacles to determine the shape of the obstacles; performing clustering processing on nodes within the shape range of the obstacles to determine the center point of the obstacles; calculating the volume of the obstacles based on the shape and the center point of the obstacles; calculating the volume of the blank space based on the volume of the overall space and the volume of the obstacles; inputting the volume of the blank space into a trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of a radial basis function RBF neural network and a long short-term memory LSTM neural network; performing node sampling based on sampling probability and the required number of sampling nodes; determining a planned path based on the sampled nodes; and generating robot arm joint angle waypoints based on the planned path and robot arm kinematics. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 It is a flowchart of a path planning method for an intelligent navigation surgical robot arm provided by an embodiment of the present application;
[0058] Figure 2 It is a structural schematic diagram of a hybrid neural network model provided by an embodiment of the present application;
[0059] Figure 3 It is a structural schematic diagram of an intelligent navigation surgical robot arm path planning device provided by an embodiment of the present application;
[0060] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0061] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0062] It should be noted that, in this article, relational terms such as first and second, 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 statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0063] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and computer-readable storage medium for intelligent navigation surgical robot arm path planning. The following first introduces the intelligent navigation surgical robot arm path planning method provided in the embodiments of the present application.
[0064] Figure 1 FIG. 1 is a flow chart of a method for intelligent navigation surgical robot arm path planning provided by an embodiment of the present application. Figure 1 As shown, the intelligent navigation surgical robot arm path planning method includes:
[0065] S101, performing edge detection on obstacles to determine the shape of the obstacles;
[0066] In one embodiment, performing edge detection on an obstacle to determine the shape of the obstacle includes:
[0067] Obtain obstacle images;
[0068] Calculate the difference between any pair of adjacent pixels in the diagonal direction to obtain the pixel difference;
[0069] Based on the pixel difference, the gradient amplitude value is calculated;
[0070] Based on the gradient magnitude value, determine the shape of the obstacle;
[0071] Specifically, let the obstacle image be 𝐟(𝐱,𝐲), and the image of the obstacle shape 𝑔(𝑥,𝑦) is calculated by the following formula:
[0072]
[0073] S102, clustering the nodes within the shape range of the obstacle to determine the center point of the obstacle;
[0074] S103, calculating the volume of the obstacle based on the shape and center point of the obstacle;
[0075] In one embodiment, the volume of the obstacle is calculated based on the shape and center point of the obstacle, including:
[0076] Based on the shape and center point of the obstacle, determine the cube that contains the obstacle;
[0077] Calculate the volume of the cube and use it as the volume of the obstacle.
[0078] S104, calculating the volume of the empty space based on the volume of the entire space and the volume of the obstacle;
[0079] S105, inputting the volume of the blank space into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of radial basis function RBF neural network and long short-term memory LSTM neural network;
[0080] In one embodiment, it includes:
[0081] The RBF neural network is used to input the collected spatial coordinate data of each joint of the robot arm into the radial basis function to realize the movement coordinate data from low dimension to high dimension;
[0082] The LSTM neural network is used to extract time series features from the raw robot motion coordinate data to convey instructions more accurately and better correct the trajectory of the robot end effector.
[0083] In one embodiment, Figure 2 : is a schematic diagram of the structure of a hybrid neural network model provided by an embodiment of the present application. The network structure of the hybrid neural network model includes:
[0084] Input layer, hidden layer and output layer;
[0085] The input layer has 64 neurons, the hidden layer has 22 neurons, and the output layer has 13 neurons;
[0086] A corresponding random number is assigned to each of the 64 neurons in the input layer, the 22 neurons in the hidden layer, and the 13 neurons in the output layer;
[0087] Use the inverse multi-quadratic function as the activation function;
[0088] Use mean squared error as the loss function;
[0089] The learning rate is set to 0.01, the number of iterations is set to 300, and the epoch is set to 9000.
[0090] In one embodiment, the network structure of the LSTM neural network in the hybrid neural network model includes:
[0091] 𝑓𝑡 represents the forgetting threshold, 𝑖𝑡 represents the input threshold, represents the state of the neuron at the previous moment, represents the state of the neuron at this time, 𝑜𝑡 represents the output threshold, ℎ𝑡 represents the output of the current neuron, and ℎ𝑡−1 represents the previous neuron;
[0092] For one output, the forget threshold determines how much of the last moment's cell state is retained at the current moment; the input threshold determines how much of the network input is saved to the cell state at the current moment; the output threshold controls the number of unit states output to the current output value of the LSTM; the formula for each parameter is as follows:
[0093]
[0094] S106, performing node sampling based on the sampling probability and the required number of sampling nodes;
[0095] S107, determining a planned path according to the sampled nodes;
[0096] S108. Generate robot arm joint angle waypoints according to the planned path and the robot arm motion.
[0097] In one embodiment, after determining the planned path according to the sampled nodes, the method further includes:
[0098] Calculate the trajectory deviation, linear velocity deviation and angular velocity deviation between the current path and the planned path respectively;
[0099] Adjust the linear velocity and angular velocity of the robot arm based on trajectory deviation, linear velocity deviation and angular velocity deviation;
[0100] Among them, linear velocity is the tangential velocity in the direction of movement of the robot at a certain moment; angular velocity is the joint rotation angle of the robot at a certain moment.
[0101] The hybrid neural network model provided in this application is a stable adaptive neural network model, which uses RBF neural network to approximate the unknown closed-loop system dynamics of the robot arm; uses LSTM neural network to design input gate, forget gate and output gate structure, suppresses the gradient expansion problem in the coordinate data training process, and gives accurate trajectory correction instructions. After analyzing the stability, in the control process of tracking the circular reference trajectory, the partial continuous excitation conditions of some internal signals in the closed-loop system are met. Under the partial continuous excitation conditions, the efficiency and accuracy of the robot arm in the stability control process can be improved.
[0102] Figure 3 : is a structural schematic diagram of an intelligent navigation surgical robot arm path planning device provided by an embodiment of the present application, the intelligent navigation surgical robot arm path planning device comprises:
[0103] The edge detection module 301 is used to detect the edge of the obstacle and determine the shape of the obstacle;
[0104] A clustering processing module 302 is used to perform clustering processing on nodes within the shape range of the obstacle to determine the center point of the obstacle;
[0105] The obstacle volume calculation module 303 is used to calculate the volume of the obstacle based on the shape and center point of the obstacle;
[0106] The empty space volume calculation module 304 is used to calculate the volume of the empty space based on the volume of the entire space and the volume of the obstacle;
[0107] The sampling node number determination module 305 is used to input the volume of the blank space into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of radial basis function RBF neural network and long short-term memory LSTM neural network;
[0108] A node sampling module 306, configured to perform node sampling based on a sampling probability and a required number of sampling nodes;
[0109] A planning path determination module 307 is used to determine a planning path according to the sampled nodes;
[0110] The joint angle waypoint generation module 308 is used to generate the robot arm joint angle waypoints according to the planned path and the robot arm motion.
[0111] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown.
[0112] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0113] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0114] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, memory 402 may include a removable or non-removable (or fixed) medium. Where appropriate, memory 402 may be inside or outside of an electronic device. In a particular embodiment, memory 402 may be a non-volatile solid-state memory.
[0115] In one embodiment, the memory 402 may be a read-only memory (ROM). In one embodiment, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0116] The processor 401 implements any one of the intelligent navigation surgical robot arm path planning methods in the above embodiments by reading and executing computer program instructions stored in the memory 402 .
[0117] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0118] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0119] Bus 410 includes hardware, software or both, and couples the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-side bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, bus 410 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnect.
[0120] In addition, in combination with the intelligent navigation surgical robot arm path planning method in the above embodiments, the present application embodiment can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the intelligent navigation surgical robot arm path planning methods in the above embodiments is implemented.
[0121] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0122] The functional modules shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0123] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0124] The above describes various aspects of the present application with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0125] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.
Claims
1. A method for intelligent navigation surgical robot arm path planning, characterized in that: include: Perform edge detection on obstacles to determine the shape of obstacles; Cluster the nodes within the shape of the obstacle to determine the center point of the obstacle; Calculate the volume of the obstacle based on its shape and center point; Calculate the volume of the empty space based on the volume of the overall space and the volume of the obstacles; The volume of the empty space is input into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of radial basis function RBF neural network and long short-term memory LSTM neural network; Perform node sampling based on the sampling probability and the required number of sampling nodes; Determine the planned path based on the sampled nodes; According to the planned path and the motion of the robot arm, the robot arm joint angle waypoints are generated; The RBF neural network is used to input the collected spatial coordinate data of each joint of the robot arm into the radial basis function to realize the movement coordinate data from low dimension to high dimension; The LSTM neural network is used to extract time series features from the raw robot motion coordinate data to more accurately convey instructions and better correct the trajectory of the robot end effector; The network structure of the hybrid neural network model includes: Input layer, hidden layer and output layer; The input layer has 64 neurons, the hidden layer has 22 neurons, and the output layer has 13 neurons; A corresponding random number is assigned to each of the 64 neurons in the input layer, the 22 neurons in the hidden layer, and the 13 neurons in the output layer; Use the inverse multi-quadratic function as the activation function; Use mean squared error as the loss function; The learning rate is set to 0.01, the number of iterations is set to 300, and the epoch is set to 9000.
2. The intelligent navigation surgical robot arm path planning method according to claim 1, characterized in that: Perform edge detection on obstacles and determine the shape of obstacles, including: Obtain obstacle images; Calculate the difference between any pair of adjacent pixels in the diagonal direction to obtain the pixel difference; Based on the pixel difference, the gradient amplitude value is calculated; Based on the gradient magnitude value, determine the shape of the obstacle; Specifically, let the obstacle image be f(x, y), and the image of the obstacle shape g(x, y) is calculated by the following formula:
3. The intelligent navigation surgical robot arm path planning method according to claim 2, characterized in that: Calculate the volume of the obstacle based on its shape and center point, including: Based on the shape and center point of the obstacle, determine the cube that contains the obstacle; Calculate the volume of the cube and use it as the volume of the obstacle.
4. The intelligent navigation surgical robot arm path planning method according to claim 1, characterized in that: The network structure of the LSTM neural network in the hybrid neural network model includes: ft represents the forgetting threshold, it represents the input threshold, represents the state of the neuron at the previous moment, C t represents the state of the neuron at this time, ot represents the output threshold, ht represents the output of the current neuron, and ht-1 represents the previous neuron; For one output, the forget threshold determines how much of the last moment's cell state is retained at the current moment; the input threshold determines how much of the network input is saved to the cell state at the current moment; the output threshold controls the number of unit states output to the current output value of the LSTM; the formula for each parameter is as follows: ft=σ(Wf·[ht-1,xt]+bf) it=σ(Wi·[ht-1,xt]+bi) ot=σ(Wo·[hr-1,xt]+bo) ht=ot×tanh(Ct).
5. The intelligent navigation surgical robot arm path planning method according to claim 1, characterized in that: After determining the planned path based on the sampled nodes, the following steps are also included: Calculate the trajectory deviation, linear velocity deviation and angular velocity deviation between the current path and the planned path respectively; Adjust the linear velocity and angular velocity of the robot arm based on trajectory deviation, linear velocity deviation and angular velocity deviation; Among them, linear velocity is the tangential velocity in the direction of movement of the robot at a certain moment; angular velocity is the joint rotation angle of the robot at a certain moment.
6. An intelligent navigation surgical robot arm path planning device, characterized in that: The device comprises: An edge detection module is used to detect the edge of obstacles and determine the shape of obstacles; A clustering processing module is used to perform clustering processing on nodes within the shape range of the obstacle to determine the center point of the obstacle; The obstacle volume calculation module is used to calculate the volume of the obstacle based on the shape and center point of the obstacle; A blank space volume calculation module, used to calculate the volume of the blank space based on the volume of the overall space and the volume of obstacles; The sampling node number determination module is used to input the volume of the blank space into the trained hybrid neural network model to determine the required number of sampling nodes; wherein the hybrid neural network model is formed by deep fusion of the radial basis function RBF neural network and the long short-term memory LSTM neural network; A node sampling module, used for performing node sampling based on sampling probability and the required number of sampling nodes; A planning path determination module is used to determine the planning path according to the sampled nodes; The joint angle waypoint generation module is used to generate the robot arm joint angle waypoints according to the planned path and the robot arm motion; The RBF neural network is used to input the collected spatial coordinate data of each joint of the robot arm into the radial basis function to realize the movement coordinate data from low dimension to high dimension; The LSTM neural network is used to extract time series features from the raw robot motion coordinate data to more accurately convey instructions and better correct the trajectory of the robot end effector; The network structure of the hybrid neural network model includes: Input layer, hidden layer and output layer; The input layer has 64 neurons, the hidden layer has 22 neurons, and the output layer has 13 neurons; A corresponding random number is assigned to each of the 64 neurons in the input layer, the 22 neurons in the hidden layer, and the 13 neurons in the output layer; Use the inverse multi-quadratic function as the activation function; Use mean squared error as the loss function; The learning rate is set to 0.01, the number of iterations is set to 300, and the epoch is set to 9000.
7. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the intelligent navigation surgical robot arm path planning method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the intelligent navigation surgical robot arm path planning method as described in any one of claims 1-5 is implemented.
