Adaptive adjustment method, device and puncture robot system for puncture orientation
By updating the target position and checkpoint in real time, combined with feedback resistance and digital structural model, the puncture direction is adjusted, which solves the problem of low accuracy caused by the displacement of the target lesion during puncture interventional surgery, and improves the accuracy and safety of puncture surgery.
Patent Information
- Application Number
- CN202410727818.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-06
AI Technical Summary
During puncture interventional surgery, natural activities such as spontaneous breathing of the target subject cause irregular displacement of the target lesion position, making it difficult to maintain the accuracy of the puncture orientation, resulting in low puncture accuracy.
By obtaining the image data of the target object, determine the target position information and environmental constraints, set checkpoints in the puncture path, update the target position and checkpoints in real time, adjust the puncture orientation until the end effector reaches the target position, and use feedback resistance information and The digital structural model is used to solve the inverse motion and optimize the puncture trajectory.
The puncture accuracy is improved, the impact of target object displacement on puncture accuracy is reduced, and the safety and accuracy of puncture surgery are enhanced.
Smart Images

Figure CN118285887B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical device motion control, and in particular to a method and device for adaptively adjusting puncture orientation, and a puncture robot system. Background Art
[0002] Traditional percutaneous interventional puncture surgery is a minimally invasive surgery in which doctors insert small surgical instruments, such as puncture needles, into the patient's body under the guidance of CT equipment to detect or treat the lesion. Percutaneous interventional minimally invasive puncture surgery, like other minimally invasive surgeries, has the advantages of small wound surface, fast recovery and few postoperative complications. When performing percutaneous puncture, the doctor determines the appropriate needle insertion point and direction through the two-dimensional or three-dimensional scanning images near the lesion, and then manually adjusts the puncture channel based on experience to complete the puncture operation. Conventional X-ray puncture requires the doctor to manually adjust the operation repeatedly based on the X-ray images of the CT machine to accurately puncture the puncture needle into the patient's body.
[0003] The problems that need to be solved in puncture diagnosis and treatment are relatively consistent for different parts of the body. The commonly used treatment methods are minimally invasive puncture surgeries based on in vitro image guidance, such as puncture biopsy and ablation. This method has the advantages of less trauma, less pain, and faster recovery. It is also one of the important means of diagnosis and treatment of malignant tumors. However, this method has problems such as low accuracy of manual puncture, lack of visibility, long exposure to radiation, and easy complications. The effect of the operation is heavily dependent on the doctor's experience. Therefore, it is hoped that robotic technology can be used to solve the pain points in puncture diagnosis and treatment.
[0004] In related technologies, with the development of modern industrial technology, robots have emerged that can assist doctors in performing puncture procedures. Through the auxiliary effect of the robots, the efficiency of the puncture surgery process is improved, and the intervention time of medical staff during the operation is reduced, thereby reducing the harm to medical staff while ensuring the effectiveness of the operation.
[0005] However, the current puncture robot control method has the following technical problems:
[0006] During the puncture interventional surgery, the target lesion's position may undergo irregular displacement changes due to the target subject's natural activities such as spontaneous breathing, making it difficult to effectively maintain the accuracy of the puncture orientation. Summary of the invention
[0007] Based on this, it is necessary to provide a puncture orientation adaptive adjustment method, device, computer equipment, computer readable storage medium and computer program product that can improve the accuracy of puncture orientation and reduce the error impact caused by target lesion displacement in order to solve the above technical problems.
[0008] In a first aspect, the present application provides a method for adaptively adjusting the puncture position. The method comprises:
[0009] Acquire image data of the target object, and determine target location information and environmental constraints of the target to be processed according to the image data, wherein the environmental constraints are determined based on non-related targets in the image data;
[0010] Determine the puncture orientation of the end effector based on the image data, wherein the puncture path of the end effector to reach the target position according to the puncture orientation does not interfere with the non-related target;
[0011] Setting a plurality of continuous checkpoints in the puncture path, acquiring real-time image data in response to the end effector reaching the checkpoints, and updating the target position and the checkpoints based on the real-time image data;
[0012] The puncture position is adjusted based on the updated target position and the check point until the end effector reaches the target position.
[0013] In one embodiment, adjusting the puncture position based on the updated target position and the checkpoint until the end effector reaches the target position comprises:
[0014] Obtaining the needle entry point position of the end effector;
[0015] The puncture position is adjusted based on the fixed needle entry point position, the updated target position, and the check point until the end effector reaches the target position.
[0016] In one embodiment, obtaining the needle entry point position of the end effector comprises:
[0017] Acquiring feedback resistance information during the puncture process of the end effector;
[0018] The needle entry point position is determined based on the feedback resistance information.
[0019] In one embodiment, the method further comprises:
[0020] Building a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determining the motion constraint relationship of the execution device according to the digital structural model;
[0021] Based on the motion constraint relationship, the target position information is subjected to inverse motion solution for the puncture orientation to obtain trajectory planning information, and the trajectory planning information is used to control the joint motion trajectory in the motion of the execution device.
[0022] In one embodiment, constructing a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determining the motion constraint relationship of the execution device according to the digital structural model includes:
[0023] Determine the digital structural model of the execution device based on the structural parameters, wherein the digital structural model includes active joints, passive joints and the end effector;
[0024] The motion trajectory of the end effector is simulated according to the digital structure model to obtain the motion constraint relationship.
[0025] In one embodiment, performing inverse motion solution on the puncture position based on the motion constraint relationship to the target position information to obtain trajectory planning information includes:
[0026] Determine a rotation matrix of the puncture orientation of the end effector based on the puncture constraint condition;
[0027] The joint position information of the digital structure model is obtained by inverse kinematics solution according to the end position information of the end effector and the rotation matrix. The constraint equation of the inverse kinematics solution can be shown as follows:
[0028]
[0029] In the formula, is the terminal position information, is the rotation matrix of the puncture orientation, is the joint position information in the digital structure model.
[0030] In a second aspect, the present application also provides a puncture position adaptive adjustment device. The device comprises:
[0031] An image data module, used to obtain image data of a target object, and determine target location information and environmental constraints of a target to be processed according to the image data, wherein the environmental constraints are determined based on non-related targets in the image data;
[0032] A puncture orientation module, used to determine the puncture orientation of the end effector based on the image data, wherein the puncture path of the end effector to reach the target position according to the puncture orientation does not interfere with the non-related target;
[0033] an adaptive adjustment module, configured to set a plurality of continuous checkpoints in the puncture path, acquire real-time image data in response to the end effector reaching the checkpoints, and update the target position and the checkpoints based on the real-time image data;
[0034] An adjustment control module is used to adjust the puncture position based on the updated target position and the check point until the end effector reaches the target position.
[0035] In one embodiment, the regulation control module includes:
[0036] A needle entry point position module, used to obtain the needle entry point position of the end effector;
[0037] The needle entry point maintenance adjustment module is used to adjust the puncture orientation based on the fixed needle entry point position, the updated target position and the check point until the end effector reaches the target position.
[0038] In one embodiment, the needle entry point location module includes:
[0039] A feedback resistance module, used to obtain feedback resistance information during the puncture process of the end effector;
[0040] The needle entry point identification module is used to determine the needle entry point position based on the feedback resistance information.
[0041] In one embodiment, the device further comprises:
[0042] A motion relationship module, used to construct a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determine the motion constraint relationship of the execution device according to the digital structural model;
[0043] The motion solving module is used to perform inverse motion solving on the puncture orientation for the target position information based on the motion constraint relationship to obtain trajectory planning information, and the trajectory planning information is used to control the joint motion trajectory in the motion of the execution device.
[0044] In one embodiment, the motion relationship module includes:
[0045] A digital model module, used for determining the digital structural model of the execution device based on the structural parameters, wherein the digital structural model includes active joints, passive joints and the end effector;
[0046] The simulation module is used to simulate the motion trajectory of the end effector according to the digital structure model to obtain the motion constraint relationship.
[0047] In one embodiment, the motion solving module includes:
[0048] A rotation matrix module, used for determining the rotation matrix of the puncture orientation of the end effector based on the puncture constraint condition;
[0049] The constraint equation module is used to obtain the joint position information of the digital structure model through inverse kinematics solution according to the end position information of the end effector and the rotation matrix. The constraint equation solved by inverse kinematics can be shown as follows:
[0050]
[0051] In the formula, is the terminal position information, is the rotation matrix of the puncture orientation, is the joint position information in the digital structure model.
[0052] In a third aspect, the present application also provides a puncture robot system, the system comprising:
[0053] An image processing module, used for receiving and processing image data of a target object;
[0054] A motion control module, configured to receive the image data of the target object, generate and output motion control instructions according to the method for adaptively adjusting the puncture position as described in any one of the first aspects, and provide real-time feedback of motion status information;
[0055] The execution device module is used to receive the motion control instruction and complete the puncture operation according to the puncture path indicated by the motion control instruction.
[0056] In a fourth aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in the method for adaptively adjusting the puncture position as described in any one of the embodiments in the first aspect are implemented.
[0057] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method for adaptively adjusting the puncture position as described in any one of the embodiments in the first aspect.
[0058] In a sixth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps in the method for adaptively adjusting the puncture position as described in any one of the embodiments in the first aspect are implemented.
[0059] The above-mentioned method, device, computer equipment, storage medium and computer program product for adaptively adjusting the puncture orientation can achieve the beneficial effects of the technical problems in the corresponding background technology by deducing the technical features in the claims:
[0060] The present application provides a method for adaptively adjusting the puncture orientation, including acquiring image data of a target object, determining target position information and environmental constraint information of a target to be processed according to the image data, and then determining the puncture orientation of an end effector according to the image data, and the initial puncture orientation can control the end effector to reach the target position without interference. By setting a checkpoint in the puncture path, the image data of the target object is reacquired when the end effector reaches the checkpoint, the target position and the checkpoint are continuously updated through the image data, and the puncture orientation is adjusted based on the updated target position and the checkpoint, and finally the end effector is controlled to reach the target position. In implementation, by setting the checkpoint, the acquisition of image data can be continuously triggered by continuous checkpoints, so that the real-time target position and the corresponding checkpoint position can be continuously and periodically determined, so as to adjust the puncture orientation in real time, thereby reducing the influence of the displacement of the organs and lesions of the target object on the puncture accuracy and improving the puncture accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of the system architecture of a puncture robot system in one embodiment;
[0062] Figure 2 A schematic diagram of the structure of an execution device module of a puncture robot system in one embodiment;
[0063] Figure 3 It is a schematic diagram of a first process of a method for adaptively adjusting puncture orientation in one embodiment;
[0064] Figure 4 A schematic diagram of a puncture position in one embodiment;
[0065] Figure 5 A schematic diagram of a target configuration in which an end effector reaches a designated puncture position in one embodiment;
[0066] Figure 6 It is a second flow chart of a method for adaptively adjusting puncture orientation in another embodiment;
[0067] Figure 7 A schematic diagram of adjusting the puncture position when the needle insertion point is kept stable in one embodiment;
[0068] Figure 8 A third flow chart of a method for adaptively adjusting puncture orientation in another embodiment;
[0069] Fig. 9 A schematic diagram of a feedback resistance curve in one embodiment;
[0070] Fig.10 It is a schematic diagram of a fourth process of a method for adaptively adjusting puncture orientation in another embodiment;
[0071] Fig.11 A fifth flow chart of a method for adaptively adjusting puncture orientation in another embodiment;
[0072] Fig.12 A schematic diagram of a digital structural model of an execution device in one embodiment;
[0073] Fig.13 It is a sixth flow chart of a method for adaptively adjusting puncture orientation in another embodiment;
[0074] Fig.14 It is a structural block diagram of a puncture orientation adaptive adjustment device in one embodiment;
[0075] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0076] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0077] In related technologies, with the development of modern industrial technology, robots have emerged that can assist doctors in performing puncture procedures. Through the auxiliary effect of the robots, the efficiency of the puncture surgery process is improved, and the intervention time of medical staff during the operation is reduced, thereby reducing the harm to medical staff while ensuring the effectiveness of the operation.
[0078] However, the current puncture robot control method has the following technical problems:
[0079] During the puncture interventional surgery, the target lesion's position may undergo irregular displacement changes due to the target subject's natural activities such as spontaneous breathing, making it difficult to effectively maintain the accuracy of the puncture orientation.
[0080] Based on this, the method for adaptively adjusting the puncture position provided in the embodiment of the present application can be applied to Figure 1 A puncture robot system is shown, the system includes an image processing module, a motion control module and an execution device module. In the figure, a solid arrow can represent the flow direction of a command signal, a dashed arrow can represent the flow direction of a feedback signal, and a dotted arrow can represent the flow direction of a resource utilization signal.
[0081] Specifically, the image processing module is used to receive and process image data of the target object.
[0082] The motion control module is used to receive the image data of the target object, generate and output motion control instructions according to the image data, and feedback the motion status information in real time;
[0083] The execution device module is used to receive the motion control instruction and complete the puncture operation according to the puncture path indicated by the motion control instruction. After the driving module in the execution device module receives the motion trajectory sent by the motion control unit, it drives the active joints in the main body of the structure to move. At the same time, the feedback module collects the position of each active joint in real time and feeds it back to the motion control unit.
[0084] The structure of the execution device module can be as follows Figure 2 As shown, it includes a structural body 1, a driving module 2, a feedback module 3, and a patient fixing device 4. Generally, a puncture needle 5 is fixed on the puncture robot. The structural body 1 has five active joints and eight passive joints. The five active joints mean five degrees of freedom, namely, a first translation joint 11, a second translation joint 12, a first rotation joint 13, a second rotation joint 14, and a puncture joint 15. The positions of these five active joints determine the puncture orientation of the puncture needle 5 and the end position of the puncture needle 5.
[0085] Based on the same inventive concept, the present application embodiment provides a method for adaptively adjusting the puncture position, which can be applied to Figure 1 The motion control module shown in Figure 3 As shown, the following steps are included:
[0086] Step 302: Acquire image data of the target object, and determine target position information and environmental constraints of the target to be processed according to the image data.
[0087] Among them, image data may refer to a medical diagnostic tool that obtains the internal structure and functional information of the target object through different imaging technologies, which can show the body structure, physiological function and pathological conditions of the object. Image data may include organ information, blood vessel information, tissue information, bone information and lesion information, etc. Environmental constraints may refer to conditions used to constrain the puncture direction according to image data. Non-relevant targets may refer to objects such as organs and blood vessels other than the lesion location. Environmental constraints may be determined based on non-relevant targets in the image data.
[0088] For example, the motion control module can obtain the image data obtained by the image processing module scanning the target object, thereby determining the target position information of the target to be processed and the position information of the non-related target according to the image data. The target to be processed may refer to the lesion area that needs to be punctured in this embodiment. The environmental constraints may be as follows: Figure 4As shown, it may include a target 401 to be treated, non-related blood vessels 402 and non-related organs 403 in non-related targets, and skin 404 of the target object.
[0089] Step 304: Determine the puncture orientation of the end effector based on the image data, and the puncture path of the end effector to reach the target position according to the puncture orientation does not interfere with the non-related target.
[0090] The end effector may refer to a puncture needle of the puncture robot. The puncture orientation may refer to a starting position and a puncture direction when the puncture needle enters the target object.
[0091] For example, the motion control module can determine the puncture orientation of the end effector based on the image data, and then control the end effector to puncture to the target position in a path that does not interfere with non-related targets through the obtained puncture orientation. Figure 4 As shown, when the end effector penetrates along the path indicated by the puncture orientation 405, it can reach the target position 401 without interfering with non-related targets, and the path may include multiple checkpoints 406.
[0092] Step 306: setting a plurality of continuous checkpoints in the puncture path, acquiring real-time image data in response to the end effector reaching the checkpoints, and updating the target position and the checkpoints based on the real-time image data.
[0093] The checkpoint may be a transition node before the end effector reaches the target position during movement.
[0094] Exemplarily, the motion control module can adjust the end effector from an initial configuration to a target configuration indicated by the puncture orientation. Figure 5 As shown, the puncture orientation 405 corresponds to the target configuration, and the preceding transition process is the intermediate configuration 407 from the initial configuration to the target configuration. The motion control module can set a plurality of continuous checkpoints in the puncture path, and the number and density of the checkpoints can be preset by the technician. In controlling the movement of the end effector, the motion control module can obtain real-time image data in response to the end effector reaching the checkpoint, and update the target position and the checkpoint based on the real-time image data.
[0095] Step 308: Adjust the puncture position based on the updated target position and the check point until the end effector reaches the target position.
[0096] Exemplarily, the motion control module may adjust the puncture orientation based on the updated target position and the checkpoint, and control the motion of the end effector based on the updated puncture orientation, and continuously update and adjust until the end effector reaches the target position.
[0097] In the above-mentioned method for adaptively adjusting the puncture position, reasonable deduction is performed in combination with the technical features in the embodiment, which can achieve the following beneficial effects of solving the technical problems raised in the background technology:
[0098] The present application provides a method for adaptively adjusting the puncture orientation, including acquiring image data of a target object, determining target position information and environmental constraint information of a target to be processed according to the image data, and then determining the puncture orientation of an end effector according to the image data, and the initial puncture orientation can control the end effector to reach the target position without interference. By setting a checkpoint in the puncture path, the image data of the target object is reacquired when the end effector reaches the checkpoint, the target position and the checkpoint are continuously updated through the image data, and the puncture orientation is adjusted based on the updated target position and the checkpoint, and finally the end effector is controlled to reach the target position. In implementation, by setting the checkpoint, the acquisition of image data can be continuously triggered by continuous checkpoints, so that the real-time target position and the corresponding checkpoint position can be continuously and periodically determined, so as to adjust the puncture orientation in real time, thereby reducing the influence of the displacement of the organs and lesions of the target object on the puncture accuracy and improving the puncture accuracy.
[0099] In one embodiment, the Figure 6 As shown, step 308 includes:
[0100] Step 602: Acquire the needle entry point position of the end effector.
[0101] The needle entry point may refer to the position of the puncture wound formed by piercing the epidermis when the end effector penetrates into the body of the target object.
[0102] Exemplarily, the motion control module may acquire the needle entry point position of the end effector.
[0103] Step 604: Adjust the puncture position based on the fixed needle entry point position, the updated target position and the check point until the end effector reaches the target position.
[0104] Exemplarily, the motion control module may adjust the puncture position based on the fixed needle entry point position, the updated target position, and the check point until the end effector reaches the target position. Figure 7As shown, when the target position 401 moves from the initial position to the current position 703, the puncture orientation can be adjusted, and the puncture orientation can be adjusted from the previous puncture orientation 701 to the current puncture orientation 702, so that the position of the needle insertion point is maintained unchanged while the target position is adjusted. Accordingly, the subsequent checkpoint 704 can also be updated.
[0105] In the present embodiment, in the process of adjusting the puncture position, the initial needle entry point position is maintained, and the puncture position is adjusted in combination with the updated target position and check point, which helps to maintain the position of the needle entry point during the adjustment of the puncture scheme, thereby maintaining the position of the end effector at the needle entry point, reducing the possibility of the needle entry point position being offset, resulting in the expansion of the needle entry wound, and improving the safety of the puncture surgery.
[0106] In one embodiment, if Figure 8 As shown, step 602 includes:
[0107] Step 802: Acquire feedback resistance information during the puncture process of the end effector.
[0108] The feedback resistance information may be the resistance value encountered by the end effector during the needle insertion process.
[0109] Exemplarily, the motion control module may obtain feedback resistance information during the puncture process of the end effector.
[0110] Step 804: Determine the needle entry point position based on the feedback resistance information.
[0111] Exemplarily, the motion control module may determine the needle entry point position based on the feedback resistance information. Fig. 9 As shown, the horizontal axis represents the position of the end effector , the vertical axis represents the feedback resistance value f. When the end effector is outside the target object and needs to break through the skin and insert into the target object, the feedback resistance will fluctuate significantly, and a resistance curve as shown in the figure will appear. After breaking through the skin, the feedback resistance will drop rapidly, and the point with the largest feedback resistance can be detected at this time. At this time, the corresponding end effector position is the needle entry point position .
[0112] In this embodiment, the position of the needle entry point is determined by the resistance fed back during the puncture process, which helps to improve the accuracy of the needle entry point position, thereby further improving the accuracy of the puncture position adjustment and improving the safety of the puncture operation.
[0113] In one embodiment, the Fig.10 As shown, the method also includes:
[0114] Step 1002: construct a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determine the motion constraint relationship of the execution device according to the digital structural model.
[0115] The execution device may refer to a device for executing the puncture operation, which may be a puncture robot. The structural parameters may refer to parameters used to describe the structural information of the execution device, which may include the number of joints, joint sizes, and joint motion range of the execution device. The digital structural model may refer to a digital model obtained by kinematic abstract processing of the execution device.
[0116] Exemplarily, the motion control module can construct a digital structural model for describing the motion laws of the execution device based on the structural parameters of the execution device, so as to determine the motion constraint relationship of the execution device based on the digital structural model. The motion constraint relationship can refer to the motion range of the execution device and the constraints between different joints during the movement.
[0117] Step 1004: performing inverse motion solution on the puncture orientation for the target position information based on the motion constraint relationship to obtain trajectory planning information, wherein the trajectory planning information is used to control the joint motion trajectory during the motion of the execution device.
[0118] The inverse kinematic solution may refer to the process of reversely calculating the joint angle or joint position of the puncture execution device or the object according to the target position or the expected position of the execution device. The trajectory planning information may refer to the information used for the puncture orientation control of the execution device.
[0119] For example, the motion control module can solve the inverse motion to calculate the driving instructions for the continuous joint control, angle control, etc. of the execution device during the motion, thereby generating trajectory planning information.
[0120] In this embodiment, the puncture orientation is multi-dimensionally constrained through image data and structural parameters of the execution device, and the target position is combined with the digital structure model for reverse solution to obtain the final trajectory planning information, which helps to make the trajectory planning information conform to the motion law of the execution device on the one hand and the image data of the target object on the other hand. While ensuring the feasibility of the trajectory planning information, the possibility of causing unexpected damage to the target object is reduced, thereby improving the control accuracy and safety of the puncture device.
[0121] In one embodiment, if Fig.11 As shown, the step 1002 includes:
[0122] Step 1102: Determine the digital structural model of the execution device based on the structural parameters, wherein the digital structural model includes active joints, passive joints, and the end effector.
[0123] Among them, the active joint may refer to a joint that can be controlled by a driving module, the passive joint may refer to a joint that passively follows the movement of the active joint due to the association and constraint relationship between the structures, and the end effector may refer to the part such as the puncture needle used for puncture in the execution device.
[0124] For example, it can be Fig.12 As shown, the motion control module can determine the digital structural model of the execution device based on the structural parameters, and the digital structural model can include active joints, passive joints and end effectors. In this embodiment, the execution device can be illustrated by taking the five degrees of freedom as an example. The five degrees of freedom of the main body of the puncture robot structure can include two degrees of freedom that mainly control the position of the puncture needle end of the puncture robot, that is, the moving joints, and can also include two degrees of freedom that mainly control the puncture orientation of the puncture robot, that is, the direction adjustment joints, and can also include the degrees of freedom that mainly control the insertion and withdrawal of the puncture needle of the puncture robot, that is, the puncture joints.
[0125] In this way, we can get Fig.12 The digital structural model shown in the figure can be abstracted into a connecting rod model of a series-parallel hybrid structure including five active joints and eight passive joints. The active joints can be the first translation joint Z1, the second translation joint Z2, the first rotation joint Z3, the second rotation joint Z4 and the puncture joint Z5, and the eight passive joints are B1, B2, B3, B4, B5, B6, B7, B8. In the digital structural model of this embodiment, the first rotation joint Z3, the second rotation joint Z4 and the passive rotation joints B1, B2, B3 constitute a classic parallel five-link model 1202 of plane freedom, which together with the passive rotation joints B4, B5, B6, B7 and the passive mobile joint B8 constitutes the posture adjustment mechanism 1204 of the puncture robot. The first mobile joint Z1, the second mobile joint Z2, the posture adjustment mechanism 1204 and the puncture joint Z5 together constitute the digital structural model.
[0126] In the digital structural model, the forward movement direction of the joint can be indicated by directional marks such as arrows. For example, the forward movement direction of the first mobile joint Z1 is parallel to the X-axis; the forward movement direction of the passive rotation joint B5 is parallel to the Y-axis, etc.
[0127] In the digital structural model, due to the structural constraints of passive joints B4, B5, B6, B7, and B8, line segment P5P6 is parallel to the Y axis, points P5, P6, P0, P7, P8, P9, and Pt are in the same plane, line segment P7Pv is perpendicular to line segment P8P9 and Pv is the intersection point, line segment P7Pv is a structural parameter, so its length is known and fixed, and Pt is the end position of the puncture needle.
[0128] Step 1104: simulating the motion trajectory of the end effector according to the digital structure model to obtain the motion constraint relationship.
[0129] For example, the motion control module can simulate the motion trajectory of the end effector according to the digital structure model to obtain the motion constraint conditions. Fig.12 Taking the digital structure model as an example, in the planar two-degree-of-freedom parallel five-link model, the length of the connecting rod P1P3 is l 13 , the length of connecting rod P2P4 is l 24 , the length of connecting rod P3P5 is l 35 , the length of connecting rod P4P5 is l 45 In order to ensure that the workspace joints of the planar two-degree-of-freedom parallel five-link model 1202 are symmetrical on the Y axis, we can set l 13 and l 24 The lengths are equal to r1, l 35 and l 45 The lengths of the two segments are equal to r2, and half of the length of the line segment P1P2 is r3. Considering only the XOY plane, we can assume that the coordinates of P5 are [x5, y5], and the coordinates of P3 and P4 can be expressed by the values of the first rotation joint Z3 and the second rotation joint Z4, as shown in the following formula:
[0130]
[0131]
[0132] Where q3 and q4 are the joint position values of the first rotation joint Z3 and the second rotation joint Z4, respectively, and r1 is the l in the digital structure model. 13 and l 24 length.
[0133] Thus, the following motion constraints exist in the planar two-degree-of-freedom parallel five-link model 1202. Since the lengths of the links P3P5 and P4P5 are known and fixed, they can be expressed as follows:
[0134]
[0135]
[0136] Therefore, when q3 and q4 are known, the coordinates of P5, i.e., the forward kinematics of the planar two-degree-of-freedom parallel five-link model 1202, can be obtained by solving the above constraint equations; when the coordinates of P5 are known, the values of q3 and q4, i.e., the inverse kinematics of the planar two-degree-of-freedom parallel five-link model 1202, can also be obtained by solving the above constraint equations.
[0137] In this embodiment, a forward kinematics or inverse kinematics calculation framework can be formed through the digital structural model and known conditions in the device parameters, thereby obtaining the calculation of the motion constraint relationship, which helps to improve the accuracy and stability of the puncture orientation control.
[0138] In one embodiment, if Fig.13 As shown, the step 1004 includes:
[0139] Step 1302: Determine the rotation matrix of the puncture orientation of the end effector based on the puncture constraint condition.
[0140] The rotation matrix can refer to a mathematical tool used to describe the rotation of an object in two-dimensional or three-dimensional space. It is an orthogonal matrix that represents the transformation of a vector rotating around an axis by a certain angle. In two-dimensional space, the rotation matrix can be expressed as:
[0141] [ cosθ -sinθ ]
[0142] [ sinθ cosθ ]
[0143] Where θ represents the rotation angle, cosθ and sinθ are the cosine and sine of the rotation angle, respectively.
[0144] In three-dimensional space, the rotation matrix can be expressed as:
[0145] [ cosθ -sinθ 0 ]
[0146] [ sinθ cosθ 0 ] [ 0 0 1 ]
[0148] Where θ represents the rotation angle, cosθ and sinθ are the cosine and sine of the rotation angle, respectively.
[0149] Exemplarily, the motion control module may determine the rotation matrix of the puncture orientation of the end effector based on the puncture constraint condition. Specifically, the rotation matrix of the puncture orientation may be set as shown in the following formula:
[0150]
[0151] in , , is the direction vector of the rotation matrix.
[0152] Step 1304: According to the end position information of the end effector and the rotation matrix, the joint position information of the digital structure model is obtained by inverse kinematics solution. The constraint equation of the inverse kinematics solution can be shown as follows:
[0153]
[0154] In the formula, is the terminal position information, is the rotation matrix of the puncture orientation, is the joint position information in the digital structure model.
[0155] For example, at points P5, P6, P0, P7, P8, P9 and Pt, line segment P6P7 is parallel to line segment P8P9 and parallel to , and line segment P7Pv is parallel to , and the plane is perpendicular to .
[0156] Therefore, when the positions of all active joints are known, the position of P5 can be obtained through the forward kinematics of the planar two-degree-of-freedom parallel five-link model. At the same time, the positions of P6 and P7 can be obtained, and the rotation matrix of the puncture direction can be further obtained. At this time, the rotation matrix can be shown as follows:
[0157] =
[0158] =
[0159] =
[0160] At this time, the position of the puncture needle end Pt can be expressed as follows:
[0161] =
[0162] Where q5 is the position of the puncture joint Z5, and the other parameters are the length parameters in the corresponding digital structure model.
[0163] In this embodiment, solving the joint positions by using the established digital structure model helps to improve the accuracy of the solution results.
[0164] In one embodiment, the need for needle entry point maintenance can be incorporated into Fig.13 In the corresponding steps, it can be limited that the puncture joint 5 needs to remain unchanged at all times, so that the positions of each joint obtained by solution are:
[0165]
[0166] In the formula, is the current position of the end effector, The target lesion location and puncture position The corresponding joint angles have the following relationship:
[0167]
[0168] Furthermore, when the needle insertion point is determined by feedback resistance After that, the above kinematic relationship can be adjusted to:
[0169]
[0170]
[0171] Based on the kinematic relationship shown in the above formula, the position information of each joint of the actuator can be solved to maintain the position of the needle insertion point. In the continuous position adjustment, the image processing unit will adjust the position of the next checkpoint or the target lesion position for each scan. Sent to the motion control unit, the motion control unit receives the command position After the puncture motion instruction, the trajectory planning module starts Cartesian space trajectory planning, from the current position to the instruction position Generate a series of instruction positions between , each command position is the position that the puncture needle 5 needs to reach at the next moment.
[0172] Since the position of the needle insertion point 44 needs to be ensured unchanged, for a series of instruction positions generated above , i=1,2…n, the corresponding puncture position can be obtained:
[0173]
[0174] At this time, the rotation matrix of the end effector 5 can be decomposed into a rotation angle around the Y axis first, and then a rotation angle around the X axis:
[0175]
[0176] Wherein qm1 and qm2 are the values of the first rotation joint 27 and the second rotation joint 26 .
[0177] When qm1 and qm2 are known, the rotation matrix of the puncture needle 5 can be solved, and the third column in the rotation matrix corresponds to the above puncture orientation , so qm1 and qm2 are solved respectively to get:
[0178]
[0179]
[0180] In this way, the motion control module can obtain the corresponding position for each instruction The rotation matrix Finally, by using the inverse kinematics of the puncture robot, we can solve the corresponding position of each instruction. Active joint position In this way, by real-time adaptive adjustment of the puncture orientation during puncture, it is possible to ensure that the end effector 5 reaches the target position accurately, while also ensuring that the position of the needle insertion point remains unchanged, so that the puncture aperture will not be increased during the adjustment, which can greatly reduce the incidence of postoperative infection and complications.
[0181] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0182] Based on the same inventive concept, the embodiment of the present application also provides a puncture position adaptive adjustment device for implementing the above-mentioned puncture position adaptive adjustment method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the puncture position adaptive adjustment device provided below can refer to the above-mentioned limitations on the puncture position adaptive adjustment method, and will not be repeated here.
[0183] In one embodiment, Fig.14 As shown, a puncture position adaptive adjustment device is provided, comprising: an image data module, a puncture position module, an adaptive adjustment module and an adjustment control module, wherein:
[0184] An image data module, used to obtain image data of a target object, and determine target location information and environmental constraints of a target to be processed according to the image data, wherein the environmental constraints are determined based on non-related targets in the image data;
[0185] A puncture orientation module, used to determine the puncture orientation of the end effector based on the image data, wherein the puncture path of the end effector to reach the target position according to the puncture orientation does not interfere with the non-related target;
[0186] an adaptive adjustment module, configured to set a plurality of continuous checkpoints in the puncture path, acquire real-time image data in response to the end effector reaching the checkpoints, and update the target position and the checkpoints based on the real-time image data;
[0187] An adjustment control module is used to adjust the puncture position based on the updated target position and the check point until the end effector reaches the target position.
[0188] In one embodiment, the regulation control module includes:
[0189] A needle entry point position module, used to obtain the needle entry point position of the end effector;
[0190] The needle entry point maintenance adjustment module is used to adjust the puncture orientation based on the fixed needle entry point position, the updated target position and the check point until the end effector reaches the target position.
[0191] In one embodiment, the needle entry point location module includes:
[0192] A feedback resistance module, used to obtain feedback resistance information during the puncture process of the end effector;
[0193] The needle entry point identification module is used to determine the needle entry point position based on the feedback resistance information.
[0194] In one embodiment, the device further comprises:
[0195] A motion relationship module, used to construct a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determine the motion constraint relationship of the execution device according to the digital structural model;
[0196] The motion solving module is used to perform inverse motion solving on the puncture orientation for the target position information based on the motion constraint relationship to obtain trajectory planning information, and the trajectory planning information is used to control the joint motion trajectory in the motion of the execution device.
[0197] In one embodiment, the motion relationship module includes:
[0198] A digital model module, used for determining the digital structural model of the execution device based on the structural parameters, wherein the digital structural model includes active joints, passive joints and the end effector;
[0199] The simulation module is used to simulate the motion trajectory of the end effector according to the digital structure model to obtain the motion constraint relationship.
[0200] In one embodiment, the motion solving module includes:
[0201] A rotation matrix module, used for determining the rotation matrix of the puncture orientation of the end effector based on the puncture constraint condition;
[0202] The constraint equation module is used to obtain the joint position information of the digital structure model through inverse kinematics solution according to the end position information of the end effector and the rotation matrix. The constraint equation solved by inverse kinematics can be shown as follows:
[0203]
[0204] In the formula, is the terminal position information, is the rotation matrix of the puncture orientation, is the joint position information in the digital structure model.
[0205] Each module in the above-mentioned puncture position adaptive adjustment device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0206] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for adaptively adjusting the puncture position is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0207] Those skilled in the art will understand that Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0208] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0209] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0210] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0211] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0212] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0213] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0214] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A puncture position adaptive adjustment device, characterized in that: The device comprises: An image data module, used to obtain image data of a target object, and determine target location information and environmental constraints of a target to be processed according to the image data, wherein the environmental constraints are determined based on non-related targets in the image data; A puncture orientation module, used to determine the puncture orientation of the end effector based on the image data, wherein the puncture path of the end effector to reach the target position according to the puncture orientation does not interfere with the non-related target; an adaptive adjustment module, configured to set a plurality of continuous checkpoints in the puncture path, acquire real-time image data in response to the end effector reaching the checkpoints, and update the target position and the checkpoints based on the real-time image data; an adjustment control module, configured to adjust the puncture position based on the updated target position and the check point until the end effector reaches the target position; The regulation control module comprises: A needle entry point position module, used to obtain the needle entry point position of the end effector; A needle entry point maintenance adjustment module, used to adjust the puncture orientation based on the fixed needle entry point position, the updated target position and the check point until the end effector reaches the target position; The needle entry point location module comprises: A feedback resistance module, used to obtain feedback resistance information during the puncture process of the end effector; A needle entry point identification module, used to determine the needle entry point position based on the feedback resistance information; The device also includes: A motion relationship module, used to construct a digital structural model for describing the motion law of the execution device based on the structural parameters of the execution device, and determine the motion constraint relationship of the execution device according to the digital structural model; A motion solving module is used to perform inverse motion solving on the puncture orientation based on the motion constraint relationship and the target position information to obtain trajectory planning information, wherein the trajectory planning information is used to control the joint motion trajectory of the execution device during the motion, and the trajectory planning information includes the position information of each joint of the execution device, and the position information of each joint is: ; ; In the formula, is the terminal position information, is the rotation matrix of the puncture orientation, is the needle entry point, For the terminal position information and puncture position The corresponding joint angle, wherein the needle entry point position is the end effector position corresponding to the point of maximum feedback resistance.
2. The device according to claim 1, characterized in that The motion relationship module includes: A digital model module, used for determining the digital structural model of the execution device based on the structural parameters, wherein the digital structural model includes active joints, passive joints and the end effector; The simulation module is used to simulate the motion trajectory of the end effector according to the digital structure model to obtain the motion constraint relationship.
3. The device according to claim 2, characterized in that The motion solving module includes: A rotation matrix module, used for determining the rotation matrix of the puncture orientation of the end effector based on preset puncture constraints; The constraint equation module is used to obtain the joint position information of the digital structure model through inverse kinematics solution according to the end position information of the end effector and the rotation matrix. The constraint equation solved by inverse kinematics is shown as follows: ; In the formula, is the terminal position information; In the formula, is the rotation matrix of the puncture orientation; In the formula, is the joint position information in the digital structure model.
4. A puncture robot system, characterized in that: The system comprises: An image processing module, used for receiving and processing image data of a target object; A motion control module, for receiving the image data of the target object, generating and outputting motion control instructions according to the puncture position adaptive adjustment device according to any one of claims 1 to 3, and feeding back motion state information in real time; The execution device module is used to receive the motion control instruction and complete the puncture operation according to the puncture path indicated by the motion control instruction.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the apparatus according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the apparatus according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Data analysis based methods and systems for optimizing medical device insertion
CN115942914A
Puncture direction control method and device, computer equipment and storage medium
CN117084790A
