Puncture needle insertion control method, controller and surgical robot

Through path planning and motor driving, precise needle insertion control of the puncture needle during prostate puncture is achieved, which solves the problems of puncture needle injection trajectory deviation and manual operation error, and improves puncture accuracy.

CN118415728BActive Publication Date: 2024-09-24HANGZHOU WISEKING MEDICAL ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410896992.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-24
Estimated Expiration
2044-07-05

Smart Images

  • Figure CN118415728B
    Figure CN118415728B
Patent Text Reader

Abstract

The present application provides a puncture needle insertion control method, a controller and a surgical robot. The puncture needle insertion control method includes: in response to a planning instruction, obtaining a preset needle insertion position and a lesion position of a target object; performing path planning based on the preset needle insertion position and the lesion position to obtain a predicted needle insertion trajectory; determining at least one planned needle insertion position in sequence from the predicted needle insertion trajectory according to a preset needle insertion accuracy value, and obtaining needle insertion control parameters corresponding to each planned needle insertion position; when the target puncture needle is located at the planned needle insertion position, based on the needle insertion control parameters corresponding to the planned needle insertion position, driving a motor corresponding to the target puncture needle, so as to control the target puncture needle insertion through the motor. The present method can realize accurate and automated control of the puncture needle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent medical control technology, and in particular to a puncture needle insertion control method, a controller and a surgical robot. Background Art

[0002] Prostate cancer is one of the most common malignant tumors in men. The "gold standard" for diagnosing prostate cancer is a prostate puncture biopsy, in which tissue samples are obtained from the prostate through a puncture needle and then pathologically examined.

[0003] During the puncture process, the puncture needle needs to be accurately guided to the prostate tissue along a predetermined path. However, after the puncture needle enters the soft tissue, the effect of the tissue wrapped around the puncture needle on the asymmetric needle tip will cause the puncture needle's incident trajectory to bend, resulting in a deviation from the ideal line.

[0004] Usually, doctors will manually insert the needle during surgery, and generally use two methods to adjust the position of the puncture needle: 1. Control the deflection direction of the puncture needle by rotating it while inserting the needle, and adjust it through force perception and insertion results during the insertion process to gradually approach the target position. However, this manual operation method is limited by the doctor's manual skills and perception ability, and there may be certain errors and instability; 2. Apply a corrective force near the insertion point, and apply a corrective force perpendicular to the insertion direction of the needle to the needle body to achieve needle steering, but the size and timing of the corrective force require high operating accuracy from the doctor, and improper operation may cause patient tissue tearing. Therefore, how to accurately control the insertion of the puncture needle is an urgent problem to be solved. Summary of the invention

[0005] The present application provides a puncture needle insertion control method, a controller and a surgical robot, which are used to solve the problem of inaccurate position adjustment during the puncture needle insertion process in the prior art.

[0006] In a first aspect, the present application provides a puncture needle insertion control method, comprising:

[0007] Responding to the planning instruction, obtaining a preset needle insertion position and a lesion position of the target object;

[0008] Performing path planning based on the preset needle insertion position and the lesion position to obtain a predicted needle insertion trajectory;

[0009] According to the preset needle insertion accuracy value, at least one planned needle insertion position is determined in sequence from the predicted needle insertion trajectory, and the needle insertion control parameters corresponding to each of the planned needle insertion positions are obtained;

[0010] When the target puncture needle is located at the planned needle insertion position, the motor corresponding to the target puncture needle is driven based on the needle insertion control parameters corresponding to the planned needle insertion position, so as to control the needle insertion of the target puncture needle through the motor.

[0011] In one embodiment, the step of obtaining a preset needle insertion position and a lesion position of a target object in response to a planning instruction includes:

[0012] In response to the planning instruction, acquiring an ultrasound image containing the target object by an ultrasound device;

[0013] Based on the acquired selection instruction, determining a first image position on the ultrasound image;

[0014] constructing a transformation matrix based on acquisition parameter information corresponding to the ultrasound device, and using the transformation matrix to perform a three-dimensional transformation on the first image position to obtain the preset needle insertion position;

[0015] as well as

[0016] The ultrasound image is input into a pre-trained lesion determination model to obtain a second image position of the lesion of the target object on the ultrasound image, and the second image position is three-dimensionally transformed using the transformation matrix to obtain the lesion position.

[0017] In one embodiment, determining at least one planned needle insertion position in sequence from the predicted needle insertion trajectory according to a preset needle insertion accuracy value includes:

[0018] According to the needle insertion accuracy value, selecting at least one planned stop position from the predicted needle insertion trajectory;

[0019] The preset needle insertion position, at least one of the planned stop positions and the lesion position are used as the planned needle insertion position.

[0020] In one embodiment, the obtaining of the needle insertion control parameters corresponding to each of the planned needle insertion positions includes:

[0021] According to the arrangement order of the planned needle insertion positions, obtaining a first coordinate difference between a current planned needle insertion position and a next planned needle insertion position;

[0022] From a preset control parameter set, a control parameter corresponding to the first coordinate difference is matched as the needle insertion control parameter.

[0023] In one embodiment, when the target puncture needle is located at the planned needle insertion position, based on the needle insertion control parameters corresponding to the planned needle insertion position, the motor corresponding to the target puncture needle is driven to control the needle insertion of the target puncture needle by the motor, and the method further includes:

[0024] Acquiring the actual insertion position of the target puncture needle;

[0025] The actual needle insertion position is compared with the planned needle insertion position.

[0026] In one embodiment, the actual needle insertion position includes an actual needle insertion position and an actual stop position;

[0027] The comparing the actual needle insertion position with the planned needle insertion position includes:

[0028] The actual needle insertion position is compared with the preset needle insertion position, and the actual stop position is compared with the planned stop position.

[0029] In one embodiment, when the target puncture needle is located at the planned needle insertion position, based on the needle insertion control parameters corresponding to the planned needle insertion position, a motor corresponding to the target puncture needle is driven to control the needle insertion of the target puncture needle through the motor, including:

[0030] When the actual needle insertion position matches the preset needle insertion position, the motor is driven based on the needle insertion control parameters corresponding to the preset needle insertion position, so as to control the target puncture needle to move to the next planned stop position through the motor;

[0031] When the actual stop position matches the planned stop position, the motor is driven based on the needle insertion control parameters corresponding to the current planned stop position, so as to control the target puncture needle to move to the next planned stop position through the motor until the target puncture needle moves to the lesion coordinate position.

[0032] In one embodiment, the method further comprises:

[0033] When the target puncture needle is not located at the planned needle insertion position, obtaining a second coordinate difference between the actual needle insertion position and the next planned needle insertion position;

[0034] Matching the control parameter corresponding to the second coordinate difference from the control parameter set as the adjustment control parameter;

[0035] The motor is driven based on the adjusted control parameter, so as to control the target puncture needle to move to a next planned needle insertion position through the motor.

[0036] In one embodiment, when the target puncture needle is not located at the planned needle insertion position, obtaining the coordinate difference between the actual needle insertion position and the next planned needle insertion position includes:

[0037] When the actual needle insertion position does not match the preset needle insertion position, obtaining a second coordinate difference between the actual needle insertion position and the next planned stop position along the preset direction;

[0038] When the actual stay position does not match the planned stay position, a second coordinate difference between the actual stay position and the next planned stay position, or between the current actual stay position and the lesion position, is acquired along the preset direction.

[0039] In a second aspect, the present application further provides a controller, the controller comprising: a memory, a processor;

[0040] The memory is used to store computer control instructions; when the processor executes the computer program, the puncture needle insertion control method described in any of the above embodiments is implemented.

[0041] In a third aspect, the present application further provides a surgical robot, including the controller, the puncture needle body and the motor described in the above embodiment;

[0042] The controllers are respectively connected to the motors and are used to drive the motors according to the pre-stored initial control parameters and the generated adjustment control parameters;

[0043] The motor is connected to the puncture needle body and is used to drive the puncture needle body to control the movement of the puncture needle body.

[0044] The above-mentioned puncture needle insertion control method, controller and surgical robot can predict the insertion trajectory of the puncture needle before the operation, and in the process of using a motor to control the puncture needle insertion, the actual needle position and the predicted trajectory are matched in real time, and when the needle deviates from the predicted trajectory, the control parameters of the motor are adjusted based on the coordinate difference between the actual needle position and the predicted stop position on the predicted trajectory. By refining the control of the insertion process of the puncture needle body, precise control of the insertion process is achieved, errors and instability caused by human operation are avoided, and real-time and precise correction during the insertion process is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0046] Figure 1 is a schematic diagram of the structure of a surgical robot in one embodiment;

[0047] Figure 2 A schematic diagram of a flow chart of a puncture needle insertion control method in one embodiment;

[0048] Figure 3 A schematic diagram of the positions of the xy plane where the initial image is located and the robot coordinate system represented by the coordinate position information in one embodiment;

[0049] Figure 4 FIG. 4 is a diagram showing the internal structure of a controller in one embodiment.

[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0052] A prostate biopsy needle is a medical device used for prostate biopsy. A prostate biopsy needle can obtain tissue samples from patients by puncturing the prostate. Usually, a prostate biopsy needle consists of a thin metal needle and a handle. The doctor needs to manually insert the metal needle into the patient's body and apply force to the handle with the assistance of magnetic resonance imaging (MRI) and transrectal ultrasound (TRUS) images to complete the insertion of the needle. This manual operation method is completely dependent on the doctor's manual skills and perception ability, and there may be certain errors and instability.

[0053] The puncture needle insertion control method provided in this application can be applied to Figure 1 The controller 110 in the surgical robot 100 shown, the surgical robot 100 also includes a puncture needle body 120 and a motor 130; the controller 110 is connected to the motor 130, and the controller 110 is used to implement the puncture needle insertion control method provided in the embodiment of the present application to generate a needle insertion control parameter to drive the motor 130; the motor 130 is connected to the puncture needle body 120, and is used to control the puncture needle body 120 to insert the needle according to the needle insertion control parameter.

[0054] The motor 130 can control the rotation angle and translation distance of the puncture needle body 120 by controlling the rotation of the motor rotor.

[0055] In one embodiment, a puncture needle insertion control method is provided. Figure 2 As shown, the puncture needle insertion control method includes:

[0056] Step 202: In response to the planning instruction, a preset needle insertion position and lesion position of the target object are acquired.

[0057] The planning instruction refers to an instruction for preoperatively planning the moving path of the puncture needle body 120 in the surgical robot 100 for puncturing the lesion of the patient.

[0058] The target puncture needle can be understood as the puncture needle body 120 in the surgical robot 100. The target object can refer to the patient.

[0059] The preset insertion position of the target puncture needle refers to the spatial position where the puncture needle 120 should be when puncturing the patient's body under ideal conditions; the lesion position of the target object refers to the spatial position corresponding to the prostate region of the patient in the robot coordinate system established based on the surgical robot 100, and the lesion position can be composed of multiple spatial positions. Among them, the robot coordinate system can be a three-dimensional coordinate system. The preset insertion position can be manually determined by the doctor before performing the prostate puncture surgery.

[0060] Step 204: perform path planning based on the preset needle insertion position and the lesion position to obtain a predicted needle insertion trajectory.

[0061] The predicted needle insertion trajectory may refer to a three-dimensional path planned in the robot coordinate system with a preset needle insertion position as the starting point and a lesion position as the end point.

[0062] The predicted needle insertion trajectory may be the shortest path from the preset needle insertion position to the lesion location.

[0063] Step 206: According to the preset needle insertion accuracy value, at least one planned needle insertion position is determined in sequence from the predicted needle insertion trajectory, and needle insertion control parameters corresponding to each planned needle insertion position are obtained.

[0064] The needle insertion accuracy value can be used to indicate the spacing distance in the preset direction in the robot coordinate system.

[0065] The planned needle insertion position refers to the spatial position formed by dividing the predicted needle insertion trajectory in the preset direction according to the interval distance. As an example, the preset needle insertion position can be used as the first planned needle insertion position, and then the predicted needle insertion trajectory is split along the preset direction according to the interval distance to obtain the remaining planned needle insertion positions arranged at intervals.

[0066] The needle insertion control parameters refer to the actual operating parameters of the motor 130 in the surgical robot 100, including but not limited to the rotation speed and acceleration of the motor rotor. The setting of these actual operating parameters can affect the puncture depth, speed, accuracy, etc. of the puncture needle body 120, thereby achieving precise control of the rotation angle and translation distance of the puncture needle body 120. At the same time, by reasonably setting the actual operating parameters of the motor, the puncture efficiency can be improved and the puncture damage can be reduced.

[0067] Step 208: When the target puncture needle is located at the planned needle insertion position, the motor corresponding to the target puncture needle is driven based on the needle insertion control parameters corresponding to the planned needle insertion position, so as to control the needle insertion of the target puncture needle through the motor.

[0068] The needle insertion control parameters corresponding to each planned needle insertion position are used to instruct the operation of the motor 130, so as to control the puncture needle body 120 to move from a current planned needle insertion position to a next planned needle insertion position through the motor 130.

[0069] Exemplarily, the puncture needle body 120 in the surgical robot 100 is placed at a preset needle insertion position. At this time, the motor 130 drives the motor 130 based on the needle insertion control parameters corresponding to the preset needle insertion position. The motor 130 controls the puncture needle body 120 to move from the preset needle insertion position to the second planned needle insertion position, and drives the motor 130 based on the needle insertion control parameters corresponding to the second planned needle insertion position to control the puncture needle body 120 to move from the second planned needle insertion position to the third planned needle insertion position... and so on, until the puncture needle body 120 is moved to the lesion position.

[0070] In the above-mentioned puncture needle insertion control method, after receiving the planning instruction, the insertion position of the puncture needle body manually determined by the doctor and the lesion position in the patient's body can be obtained, and preoperative path planning can be automatically performed based on the patient's lesion and needle insertion position to quickly obtain the optimal three-dimensional path for needle insertion; then, according to the needle insertion accuracy value, multiple spatial positions are determined in the predicted needle insertion trajectory as the positions where the puncture needle body is predicted to pause, so as to frequently correct the actual position of the puncture needle body during the actual needle insertion process, and in the process of using a motor to control the puncture needle insertion, the actual needle position is matched with the predicted trajectory in real time, and when the needle deviates from the predicted trajectory, the control parameters of the motor are adjusted based on the coordinate difference between the actual needle position and the predicted stop position on the predicted trajectory, and by refining the control of the puncture needle body's insertion process, precise control of the needle insertion process is achieved, errors and instability caused by human operation are avoided, and real-time and precise correction during the needle insertion process is achieved.

[0071] In some optional embodiments, step 202 includes:

[0072] In response to the planning instruction, acquiring an ultrasound image containing the target object by an ultrasound device;

[0073] Based on the acquired selection instruction, determining a first image position on the ultrasound image;

[0074] A transformation matrix is ​​constructed based on acquisition parameter information corresponding to the ultrasound device, and the transformation matrix is ​​used to perform a three-dimensional transformation on the first image position to obtain a preset needle insertion position;

[0075] as well as

[0076] The ultrasound image is input into a pre-trained lesion determination model to obtain a second image position of the lesion of the target object on the ultrasound image, and the second image position is three-dimensionally transformed using a transformation matrix to obtain the lesion position.

[0077] The ultrasound device may include an ultrasound probe and a display device. The ultrasound probe constructs an image of the target puncture needle and the target object by transmitting and receiving ultrasound waves, and these ultrasound waves are converted into images and displayed on the screen of the display device. Accordingly, the ultrasound image may refer to an ultrasound image including the puncture needle body 120 and the patient.

[0078] The selection instruction can be issued by the doctor by clicking on the ultrasound image displayed on the display device. Alternatively, in this embodiment, the controller 110 can first perform a three-dimensional conversion on the ultrasound image based on the transformation matrix to obtain a three-dimensional model corresponding to the target object in the ultrasound image. At this time, the display device displays the three-dimensional model to the doctor, and the doctor selects a preset needle insertion position by clicking on the three-dimensional model and issues a selection instruction.

[0079] Among them, in the step of using the transformation matrix to perform three-dimensional transformation on the first image position and the second image position, it is necessary to first convert the first image position and the second image position into image coordinate points in the image coordinate system established based on the ultrasound device, and then convert the image coordinate points into coordinate points in the robot coordinate system.

[0080] The process of constructing a transformation matrix based on an ultrasound device may include:

[0081] The acquisition parameter information corresponding to the ultrasound device may refer to the physical structure and parameters of the ultrasound probe, such as the position, orientation, angle, and other information of the ultrasound probe. Specifically, it may include the focal length information of the ultrasound probe on the x-axis and y-axis of the image coordinate system, and the aperture center information of the ultrasound probe. The intrinsic parameter matrix of the ultrasound probe can be directly obtained from the acquisition parameter information. ,in, , Refers to the focal length information of the ultrasonic probe on the x-axis and y-axis of the image coordinate system. , Indicates the aperture center information of the ultrasonic probe.

[0082] If the first image position and the second image position are to be converted into image coordinate points in the image coordinate system established based on the ultrasound device, it is first assumed that the ultrasound image is on the uv platform. Secondly, the ultrasound image first needs to be converted from the uv plane to the same image processing dimension as the image coordinate system, which involves the conversion of the origin and the measurement unit. Therefore, the conversion relationship between the image position on the imaging uv plane of the ultrasound image and the coordinate position in the image coordinate system can be expressed as: ,in, , Respectively represent the difference ratio between the measurement unit (for example, nm) of the distance between coordinate points in the image coordinate system and the measurement unit of the pixel points on the uv plane, , They represent the difference between the origin formed by the optical axis of the ultrasonic probe and the origin on the uv plane, which can be further expressed as .

[0083] Furthermore, the coordinate positions in the image coordinate system are converted into the coordinate positions in the robot coordinate system, which involves the adjustment of the scale, such as Figure 3 As shown, the xy plane refers to the image coordinate system. The plane is the robot coordinate system, connecting the origin of the robot coordinate system and the coordinate position in the ultrasound image , and after extension, it can be constructed as Figure 3 The mapping diagram shown in FIG. , which can be further expressed as .

[0084] Converting the coordinate position in the image coordinate system to the coordinate position in the robot coordinate system is a rigid body transformation, which only requires rotation and translation. As an example, the origin of the image coordinate system , X-axis , Y axis , Z axis The origin of the robot coordinate system , X-axis , Y axis , Z axis The conversion relationship between Represents, where R represents the rotation matrix and T represents the translation vector. Further conversion can be obtained , R:3*3, T:3*1. It can be understood as the external parameter of the ultrasonic probe.

[0085] In summary, it can be directly obtained by converting the coordinates of the first image position (u, v) in the ultrasound image to obtain the corresponding preset needle insertion position in the robot coordinate system. It can be expressed as: .

[0086] The lesion determination model can adopt a deep neural network model and be trained in advance using multiple sample three-dimensional models for representing the patient's body, and the coordinate positions representing the lesions in the sample three-dimensional models are pre-marked.

[0087] In some optional embodiments, step 206 includes:

[0088] According to the needle insertion accuracy value, at least one planned stop position is selected from the predicted needle insertion trajectory;

[0089] The preset needle insertion position and at least one planned stop position are used as the planned needle insertion position.

[0090] In this embodiment, the preset needle insertion position is used as the first planned needle insertion position, and then the predicted needle insertion trajectory is split along the preset direction according to the needle insertion accuracy value to obtain at least one planned stop position arranged at intervals.

[0091] Further, in some optional embodiments, step 206 includes: according to the arrangement order of the planned needle insertion positions, obtaining the first coordinate difference between the current planned needle insertion position and the next planned needle insertion position, or between the current planned needle insertion position and the lesion position; and matching the control parameters corresponding to the first coordinate difference as the needle insertion control parameters from the pre-set control parameter set.

[0092] The control parameter set includes a one-to-one correspondence between at least one coordinate difference and a control parameter. The controller 110 can collect a variety of sample ultrasound images generated in the past, and obtain the image position of the puncture needle body in these sample ultrasound images at two moments before and after, and then obtain the coordinate difference between the two image positions in the robot coordinate system after performing a three-dimensional transformation, and collect the actual control parameters of the motor when the image position of the puncture needle body in these sample ultrasound images changes at two moments before and after, to obtain the control parameters corresponding to the aforementioned coordinate difference.

[0093] The first coordinate difference of the adjusted coordinate deviation values ​​of any adjacent planned needle insertion positions, or the first coordinate difference between the last planned needle insertion position and the lesion position in the predicted needle insertion trajectory can be expressed as The needle insertion control parameters can be used to characterize the parameters of the motor 130 controlling the rotation and translation of the puncture needle body 120 for insertion.

[0094] In some optional embodiments, before step 208, the following steps are further included:

[0095] In response to the needle insertion instruction, the target motor is driven to control the target puncture needle to move into the needle;

[0096] Obtain the actual insertion position of the target puncture needle;

[0097] Compare the actual needle insertion position with the planned needle insertion position.

[0098] The planning instruction refers to an instruction to puncture the puncture needle body 120 in the surgical robot 100 to the lesion of the patient. The planning instruction may be sent to the controller 110 in the surgical robot 100. When the surgical robot 100 is used to extract prostate lesion tissue, the lesion of the patient may refer to the prostate area.

[0099] As an example, the planning instructions may be issued by the doctor through a fixed component on the human-computer interaction interface external to the surgical robot 100, where the fixed component may refer to a pre-built page or applet; alternatively, the planning instructions may be issued by the doctor through a fixed button set on the surgical robot 100.

[0100] As an example, when the doctor is performing an operation, he manually starts the surgical robot and the ultrasonic device at the same time, and the puncture needle body 120 performs the puncture movement at a preset time and then stops. After stopping, the controller 110 collects an ultrasonic image containing the target object and the target puncture needle through the ultrasonic device, and uses the pre-trained image segmentation model to obtain the actual image position of the puncture needle body 120 on the ultrasonic image, and then uses the transformation matrix to perform a three-dimensional transformation on the actual image position to obtain the actual needle insertion position.

[0101] Furthermore, the actual needle insertion position includes the actual needle insertion position and the actual stop position;

[0102] The step of comparing the actual needle insertion position with the planned needle insertion position may specifically include: comparing the actual needle insertion position with the preset needle insertion position, and comparing the actual stop position with the planned stop position.

[0103] As an example, when the doctor is performing an operation, he manually starts the surgical robot and the ultrasonic device at the same time. The puncture needle body 120 performs the first puncture movement at a preset time and then stops. At this time, the controller 110 collects the first ultrasonic image through the ultrasonic device and obtains the actual needle position of the puncture needle body 120. The actual needle insertion position can be understood as the actual needle insertion position.

[0104] In some optional embodiments, the puncture needle insertion control method further includes:

[0105] When the target puncture needle is not located at the planned needle insertion position, obtaining a second coordinate difference between the actual needle insertion position and the next planned needle insertion position, or between the actual needle insertion position and the lesion position;

[0106] From the control parameter set, a control parameter corresponding to the second coordinate difference is matched as an adjustment control parameter;

[0107] The motor is driven based on the adjusted control parameters to control the target puncture needle to move to the next planned needle insertion position through the motor.

[0108] The step of obtaining the second coordinate difference includes: when the actual needle insertion position does not match the preset needle insertion position, obtaining the second coordinate difference between the actual needle insertion position and the next planned stop position along the preset direction;

[0109] When the actual stay position does not match the planned stay position, a second coordinate difference between the actual stay position and the next planned stay position, or between the current actual stay position and the lesion position, is obtained along a preset direction.

[0110] As an example, after obtaining the actual needle insertion position of the puncture needle body 120, the controller 110 compares it with the preset needle insertion position. If the actual needle insertion position of the puncture needle body 120 meets the preset needle insertion position, the controller 110 drives the motor 120 according to the needle insertion control parameters corresponding to the preset needle insertion position to control the puncture needle body 120 to move from the actual needle insertion position to the first planned stop position; if the actual needle insertion position of the puncture needle body 120 does not meet the preset needle insertion position, the planned needle insertion position closest to the actual needle insertion position is obtained along the preset direction. The planned needle insertion position closest to the actual needle insertion position can be the preset needle insertion position or the planned stop position.

[0111] Subsequently, a second coordinate difference between the actual needle insertion position and the closest planned needle insertion position is calculated, and a first adjustment control parameter corresponding to the second coordinate difference is matched from the control parameter set;

[0112] Further, the controller 110 drives the motor 120 according to the adjusted control parameters to control the puncture needle body 120 to perform the second puncture movement within a preset time length and with the actual needle insertion position as the starting point and then stop. At this time, the controller 110 again collects a second ultrasound image through the ultrasound device and obtains the actual needle insertion position of the puncture needle body 120 at this time. The actual needle insertion position can be understood as the actual stop position.

[0113] After obtaining the first actual stop position of the puncture needle body 120, the controller 110 compares it with the planned stop positions one by one. If the first actual stop position of the puncture needle body 120 matches one of the planned stop positions, the controller 110 drives the motor 120 according to the needle insertion control parameter corresponding to the planned stop position to control the puncture needle body 120 to move from the first actual stop position to the second planned stop position; otherwise, along the preset direction, the planned needle insertion position closest to the first actual stop position is obtained, the second coordinate difference is calculated, the second adjustment control parameter is matched, and the motor 120 is driven based on the second adjustment control parameter, and so on, to obtain the subsequent nth actual stop position until the latest actual stop position overlaps with the lesion position.

[0114] The above-mentioned puncture needle insertion control method can, after receiving the planning instruction, obtain the insertion position of the puncture needle body manually determined by the doctor and the lesion position in the patient's body, and automatically perform preoperative path planning based on the patient's lesion and needle insertion position to quickly obtain the best three-dimensional path for needle insertion; then, according to the needle insertion accuracy value, multiple spatial positions are determined in the predicted needle insertion trajectory as the positions where the puncture needle body is predicted to pause, and in the actual needle insertion process, the real-time position of the puncture needle body after each position movement is matched with the predicted position where it is predicted to pause. If there is a mismatch, correction and adjustment are performed, thereby realizing continuous correction of the position of the puncture needle body, and realizing precise control of the needle insertion process by refining the control of the puncture needle body's insertion process, avoiding errors and instability caused by human operation, and realizing real-time and precise correction during the needle insertion process.

[0115] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.

[0116] In one embodiment, a controller is provided, whose internal structure diagram can be as follows: Figure 4As shown. The controller 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 controller is used to provide computing and control capabilities. The memory of the controller 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 controller is used to exchange information between the processor and an external device. The communication interface of the controller 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 puncture needle insertion control method is implemented. The display unit of the controller 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 controller can be a touch layer covered on the display screen, or a button, trackball or touchpad provided on the outer shell of the puncture needle body.

[0117] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the controller to which the scheme of the present application is applied. The specific controller may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] 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.

[0119] The technical features of the above embodiments may be arbitrarily combined. 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.

[0120] 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 controller for inserting a puncture needle, characterized in that: The controller is used to: Responding to the planning instruction, obtaining a preset needle insertion position and a lesion position of the target object; Performing path planning based on the preset needle insertion position and the lesion position to obtain a predicted needle insertion trajectory; According to a preset needle insertion accuracy value, at least one planned needle insertion position in sequence is determined from the predicted needle insertion trajectory, and needle insertion control parameters corresponding to each of the planned needle insertion positions are obtained; the needle insertion accuracy value is used to indicate the interval distance in a preset direction in the robot coordinate system; When the target puncture needle is located at the planned needle insertion position, based on the needle insertion control parameters corresponding to the planned needle insertion position, the motor corresponding to the target puncture needle is driven to control the needle insertion of the target puncture needle through the motor; When the controller determines at least one planned needle insertion position in sequence from the predicted needle insertion trajectory according to the preset needle insertion accuracy value, the controller is specifically used to: select at least one planned stop position from the predicted needle insertion trajectory according to the needle insertion accuracy value; and use the preset needle insertion position and at least one planned stop position as the planned needle insertion position; When the controller obtains the needle insertion control parameters corresponding to each of the planned needle insertion positions, the controller is specifically used to: obtain the first coordinate difference between the current planned needle insertion position and the next planned needle insertion position, or between the current planned needle insertion position and the lesion position, according to the arrangement order of the planned needle insertion positions; and match the control parameter corresponding to the first coordinate difference from the preset control parameter set as the needle insertion control parameter; The controller is also used for: when the target puncture needle is not located at the planned needle insertion position, obtaining a second coordinate difference between the actual needle insertion position and the next planned needle insertion position, or between the actual needle insertion position and the lesion position; Matching the control parameter corresponding to the second coordinate difference from the control parameter set as the adjustment control parameter; The motor is driven based on the adjusted control parameter, so as to control the target puncture needle to move to a next planned needle insertion position through the motor.

2. The controller according to claim 1, characterized in that: When the controller obtains the preset needle insertion position and lesion position of the target object in response to the planning instruction, it is specifically used to: In response to the planning instruction, acquiring an ultrasound image containing the target object by an ultrasound device; Based on the acquired selection instruction, determining a first image position on the ultrasound image; Constructing a transformation matrix based on acquisition parameter information corresponding to the ultrasound device, and using the transformation matrix to perform a three-dimensional transformation on the first image position to obtain the preset needle insertion position; as well as The ultrasound image is input into a pre-trained lesion determination model to obtain a second image position of the lesion of the target object on the ultrasound image, and the second image position is three-dimensionally transformed using the transformation matrix to obtain the lesion position.

3. The controller according to claim 1, characterized in that: When the target puncture needle is located at the planned needle insertion position, the controller drives the motor corresponding to the target puncture needle based on the needle insertion control parameters corresponding to the planned needle insertion position to control the needle insertion of the target puncture needle through the motor, and is further used to: In response to the needle insertion instruction, the motor is driven to control the target puncture needle to move into the needle; Acquiring the actual insertion position of the target puncture needle; The actual needle insertion position is compared with the planned needle insertion position.

4. The controller according to claim 3, characterized in that: The actual needle insertion position includes the actual needle insertion position and the actual stop position; When comparing the actual needle insertion position with the planned needle insertion position, the controller is specifically used to: The actual needle insertion position is compared with the preset needle insertion position, and the actual stop position is compared with the planned stop position.

5. The controller according to claim 4, characterized in that: When the target puncture needle is located at the planned needle insertion position, the controller drives the motor corresponding to the target puncture needle based on the needle insertion control parameters corresponding to the planned needle insertion position, so as to control the needle insertion of the target puncture needle through the motor, specifically for: When the actual needle insertion position matches the preset needle insertion position, the motor is driven based on the needle insertion control parameters corresponding to the preset needle insertion position, so as to control the target puncture needle to move to the next planned stop position through the motor; When the actual stop position matches the planned stop position, the motor is driven based on the needle insertion control parameters corresponding to the current planned stop position, so as to control the target puncture needle to move to the next planned stop position through the motor until the target puncture needle moves to the lesion coordinate position.

6. The controller according to claim 4 or 5, characterized in that: When the target puncture needle is not located at the planned needle insertion position, the controller obtains the coordinate difference between the actual needle insertion position and the next planned needle insertion position, specifically for: When the actual needle insertion position does not match the preset needle insertion position, obtaining a second coordinate difference between the actual needle insertion position and the next planned stop position along the preset direction; When the actual stay position does not match the planned stay position, a second coordinate difference between the actual stay position and the next planned stay position, or between the current actual stay position and the lesion position, is acquired along the preset direction.

7. A surgical robot, characterized in that: comprising a controller, a puncture needle body and a motor as described in any one of claims 1 to 6; The controllers are respectively connected to the motors and are used to drive the motors according to the pre-stored initial control parameters and the generated adjustment control parameters; The motor is connected to the puncture needle body and is used to drive the puncture needle body to control the movement of the puncture needle body.