Method, system and equipment for controlling flexible instrument of percutaneous surgical robot and medium
By analyzing operating instructions and inverse kinematics calculations, combined with the dimensional parameters of flexible devices, efficient control of flexible devices is achieved, solving the problem that traditional control algorithms cannot meet the problem of precise control of flexible devices, improving control accuracy and efficiency, and enhancing safety. sex.
Patent Information
- Application Number
- CN202410743126.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-08-23
AI Technical Summary
It is difficult to effectively control the accuracy and efficiency of flexible instruments with existing technology. Especially in transoral surgical robots, traditional rigid instrument control algorithms cannot meet the needs for efficient control of flexible instruments.
By analyzing the instrument operation instructions, the desired tip position of the instrument end is calculated, and the expected posture information of the flexible instrument is obtained using inverse kinematics calculations. This is combined with the dimensional parameters of the instrument to ensure control accuracy and efficiency, including determining posture constraints and error correction. mechanism to avoid collisions and misoperations.
It improves the control accuracy and efficiency of flexible instruments, reduces intermediate links and time loss in the control process, and enhances the flexibility and safety of operations.
Smart Images

Figure CN118526288A
Abstract
Description
Technical Field
[0001] The present application relates to the field of mechanical control technology, and in particular to a control method, system, device and medium for a flexible instrument of a transoral surgical robot. Background Art
[0002] With the development of technology, robots with multiple degrees of freedom, such as industrial robots and service robots, have been widely used. Flexible instruments are deformable instruments that can adapt to irregular or complex and changeable working scenes. Robots can improve their flexibility by installing flexible instruments. In related technologies, the rigid instrument control algorithm of robots mainly achieves posture changes by changing the angles of each joint, and cannot achieve accurate and efficient control of flexible instruments.
[0003] Therefore, how to improve the control accuracy and control efficiency of flexible devices is a technical problem that technicians in this field currently need to solve. Summary of the invention
[0004] The purpose of the present application is to provide a control method, system, electronic device and storage medium for a flexible instrument of a transoral surgical robot, which can improve the control accuracy and control efficiency of the flexible instrument.
[0005] In order to solve the above technical problems, the present application provides a control method for a flexible instrument of a transoral surgical robot, wherein the flexible instrument comprises an instrument seat, an instrument hard tube, an instrument bendable component and an instrument end, wherein the first end of the instrument hard tube is mounted on the instrument seat, the second end of the instrument hard tube is connected to the first end of the instrument bendable component, and the second end of the instrument bendable component is connected to the instrument end, and the control method for the flexible instrument of the transoral surgical robot comprises: If an instrument operation instruction is received, the instrument operation instruction is parsed to obtain the tip position change information of the instrument end; Calculating the expected position of the tip of the instrument end according to the current position of the tip of the instrument end and the tip position change information; wherein the current position of the tip of the instrument end is calculated according to the current position and posture information of the flexible instrument; Performing inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument to obtain expected position information of the flexible instrument; The movement of the flexible device is controlled according to the desired posture information.
[0006] Optionally, before controlling the movement of the flexible device according to the desired posture information, the method further includes: Determining whether the desired posture information meets the posture constraint condition of the flexible device; If yes, then entering the step of controlling the movement of the flexible device according to the desired posture information; If not, the flexible device is controlled to maintain the current posture, an operation error prompt message is output, and the number of consecutive operation errors is updated; If the number of consecutive operation errors is greater than a preset value, the flexible device is controlled to enter a locked state; wherein the flexible device in the locked state does not respond to all device operation instructions.
[0007] Optionally, before controlling the movement of the flexible device according to the desired posture information, the method further includes: Determining whether the desired posture information meets the posture constraint condition of the flexible device; If yes, then entering the step of controlling the movement of the flexible device according to the desired posture information; If not, then calculating the candidate posture information that meets the posture constraint condition and has the smallest deviation from the expected posture information; Calculating an alternative position of the tip of the instrument tip according to the alternative posture information; Setting the position change information of the instrument tip moving from the current position of the tip to the candidate position of the tip as reference position change information; Error correction information including the reference position change information is generated on the human-computer interaction interface to inquire the user whether to control the flexible device according to the reference position change information.
[0008] Optionally, after the human-computer interaction interface generates the error correction information including the reference position change information, the method further includes: Determining whether the feedback result of the user to the error correction information is to allow control; If so, the movement of the flexible device is controlled according to the alternative posture information.
[0009] Optionally, before determining whether the expected posture information meets the posture constraint condition of the flexible device, the method further includes: Determining the maximum motion area of the flexible device according to the structural parameters of the flexible device; Determining obstacle location information according to the working scene of the flexible device; Determine the limit area according to the shape and structure of the operation object of the flexible device; wherein the limit area is an area on the operation object that is prohibited from contacting the flexible device; The posture constraint condition is set in combination with the maximum motion area, the obstacle position information and the limit area.
[0010] Optionally, before calculating the expected position of the tip of the instrument tip according to the current position of the tip of the instrument tip and the tip position change information, the method further includes: Acquire the current posture information of the flexible device; wherein the current posture information of the flexible device includes the rotation angle around the Z axis, the insertion depth along the Y axis, and the pitch angle, wherein the pitch angle is the angle between the line connecting the two ends of the bendable part of the device and the XOY plane; The current position information of the flexible instrument is forward kinematically calculated according to the size parameters of the flexible instrument to obtain the current position of the tip of the instrument end.
[0011] Optionally, the bendable component of the instrument includes a hinge segment and a plurality of steel wires, the first end of each of the steel wires passes through all of the hinge segments and the instrument end, and the second end of each of the steel wires passes through the instrument hard tube and is wound around the rod of the instrument seat; Accordingly, controlling the movement of the flexible device according to the desired posture information includes: Determining a desired pitch angle according to the desired posture information; The rod is controlled to rotate according to the desired pitch angle so as to tighten or loosen the steel wire wound on the rod; wherein the steel wire in the tightened state applies a force to the hinge segment for changing the pitch angle.
[0012] Optionally, the steel wires of the bendable component of the instrument include a first steel wire, a second steel wire, a third steel wire and a fourth steel wire; the rod of the instrument seat includes a first driving rod and a second driving rod; the first steel wire and the second steel wire are both wound around the first driving rod, and the first steel wire and the second steel wire are the same steel wire; the third steel wire and the fourth steel wire are both wound around the second driving rod, and the third steel wire and the fourth steel wire are the same steel wire; Accordingly, controlling the rod to rotate according to the desired pitch angle includes: Decomposing the desired pitch angle into a first angle and a second angle; wherein the first angle is a projection of the desired pitch angle on the X-axis, the second angle is a projection of the desired pitch angle on the Y-axis, the first steel wire and the second steel wire are used to apply a force in the X-axis direction to the hinge segment, and the third steel wire and the fourth steel wire are used to apply a force in the Y-axis direction to the hinge segment; converting the first angle into first rotation information of the first driving rod; converting the second angle into second rotation information of the second driving rod; controlling the first driving rod to rotate according to the first rotation information so as to change the force applied by the first steel wire and / or the second steel wire to the hinge segment; The second driving rod is controlled to rotate according to the second rotation information so as to change the force applied by the third steel wire and / or the fourth steel wire to the hinge segment.
[0013] Optionally, the flexible device further comprises a first wire, a second wire and a third wire connected to the end of the device, and the first wire, the second wire and the third wire all pass through the inside of the device hard tube and the bendable part of the device and are connected to the corresponding energy interface; Correspondingly, it also includes: determining an operating mode of the flexible device; If the working mode is the monopolar energy mode, the first wire is controlled to be in a connected state, and the second wire and the third wire are controlled to be in a disconnected state; If the working mode is the bipolar energy mode, the first wire is controlled to be in an open circuit state, and the second wire and the third wire are controlled to be in a connected state.
[0014] Optionally, the instrument tip is an instrument clamp head, a flexible mandrel is arranged in the instrument hard tube, and the flexible mandrel is connected to the instrument clamp head through a fifth steel wire; Correspondingly, it also includes: If a clamp head control instruction is received, the instrument clamp head is driven to open and close by controlling the flexible core shaft.
[0015] The present application also provides a control system for a flexible instrument of a transoral surgical robot, wherein the flexible instrument comprises an instrument seat, an instrument hard tube, an instrument bendable component and an instrument end, wherein a first end of the instrument hard tube is mounted on the instrument seat, a second end of the instrument hard tube is connected to a first end of the instrument bendable component, and a second end of the instrument bendable component is connected to the instrument end, and the control system of the flexible instrument of the transoral surgical robot comprises: A position change determination module, for parsing the instrument operation instruction upon receiving the instrument operation instruction, and obtaining the tip position change information of the instrument end; An expected position determination module, used to calculate the expected position of the tip of the instrument end according to the current position of the tip of the instrument end and the tip position change information; wherein the current position of the tip of the instrument end is calculated according to the current position and posture information of the flexible instrument; A posture calculation module, used for performing inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument, to obtain the expected posture information of the flexible instrument; A control module is used to control the movement of the flexible device according to the desired posture information.
[0016] The present application also provides a storage medium having a computer program stored thereon, and when the computer program is executed, the steps of the control method of the above-mentioned transoral surgical robot flexible instrument are implemented.
[0017] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps of the control method of the above-mentioned transoral surgical robot flexible instrument are implemented.
[0018] The present application provides a control method for a flexible instrument of a transoral surgical robot. In this solution, the instrument operation instructions are received and parsed, the expected position change information of the tip of the instrument end is obtained, the current position of the tip is calculated based on the current posture information of the instrument end, and the expected position of the tip is calculated by combining the current position of the tip and the expected position change information. On the basis of obtaining the expected position of the tip, the present application converts the expected position of the tip of the instrument end into the expected posture information of the entire flexible instrument through inverse kinematics calculation. The dimensional parameters of the flexible instrument are taken into account in the process of inverse kinematics calculation to ensure that the calculated expected posture information meets the physical limitations and motion requirements. Controlling the movement of the flexible instrument according to the calculated expected posture information can reduce the intermediate links and time loss in the control process. Therefore, the present application can improve the control accuracy and control efficiency of the flexible instrument. The present application also provides a control system, a storage medium and an electronic device for a transoral surgical robot flexible instrument, which have the above-mentioned beneficial effects and are not repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 A schematic diagram of the structure of a flexible instrument for a transoral surgical robot provided in an embodiment of the present application; Figure 2 A flow chart of a control method for a flexible instrument of a transoral surgical robot provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of a bendable component of an apparatus provided in an embodiment of the present application; Figure 4 A schematic diagram of the forces acting on a bendable component of a device provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of another flexible transoral surgical robot apparatus provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of an instrument seat provided in an embodiment of the present application; Figure 7 A posture diagram of a flexible instrument of a transoral surgical robot provided in an embodiment of the present application; Figure 8 A schematic diagram of the structure of a control system for a flexible instrument of a transoral surgical robot provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] Transoral surgical robots refer to surgical robots that use surgical instruments to reach the lesion through the human oral cavity to perform surgery. Flexible instruments can be provided on the transoral surgical robots to improve the flexibility of controlling the transoral surgical robots.
[0023] See also Figure 1 , Figure 1 This is a structural schematic diagram of a flexible instrument for an oral surgical robot provided in an embodiment of the present application. The flexible instrument of the oral surgical robot includes an instrument seat 101, an instrument rigid tube 102, an instrument bendable component 103 and an instrument end 104. The first end of the instrument rigid tube 102 is installed on the instrument seat 101, the second end of the instrument rigid tube 102 is connected to the first end of the instrument bendable component 103, and the second end of the instrument bendable component 103 is connected to the instrument end.
[0024] The instrument tube 102 is cylindrical in shape, and the first end of the instrument tube 102 is rotatably connected to the instrument seat 101, the second end of the instrument tube 102 is fixedly connected to the first end of the instrument bendable component 103, and the second end of the bendable component 103 can be fixedly connected or detachably connected to the instrument end 104. When the instrument tube 102 rotates relative to the instrument seat, the bendable component 103 and the instrument end 104 can be driven to rotate synchronously.
[0025] The shape of the instrument bendable component 103 is cylindrical, and the second end of the instrument bendable component 103 can change position relative to the first end of the instrument bendable component 103 to achieve the bending of the entire instrument bendable component 103.
[0026] The bendable component 103 of the device can be a flexible connecting rod (eg, a connecting rod made of elastic material that can be bent or twisted), or a hinge segment. A hinge segment is a mechanical connector formed by connecting multiple plates through a hinge pin, and the plates can rotate relative to each other.
[0027] The instrument tip 104 may be a forceps tip, a scissors tip, a sampling tip, or the like.
[0028] See below Figure 2 , Figure 2 This is a flow chart of a control method for a flexible instrument of a transoral surgical robot provided in an embodiment of the present application. The flexible instrument controlled by this embodiment can be Figure 1 The specific control process of the flexible device shown may include the following steps: S201: if an instrument operation instruction is received, the instrument operation instruction is parsed to obtain the tip position change information of the instrument end; Among them, this embodiment can be applied to a processor of a flexible instrument, which can receive instrument operation instructions transmitted by other electronic devices (such as an operating handle). After receiving the instrument operation instruction, the instrument operation instruction can be parsed, and the tip position change information of the instrument end can be determined according to the parsing result. The instrument end has a tip (for example, the point at the farthest end of the instrument end can be used as the tip). The tip position change information of the instrument end is used to describe the position change of the tip of the instrument end, and the above tip position change information can include the change amount on any coordinate axis.
[0029] S202: Calculating the expected position of the tip of the instrument tip according to the current position of the tip of the instrument tip and the tip position change information; Among them, there may be a log file in the flexible instrument for storing the current posture information of the flexible instrument. Before this step, the current posture information of the flexible instrument can be read by reading the log file, and forward kinematics calculation can be performed based on the current posture information to obtain the current position of the tip of the instrument end.
[0030] Specifically, in this embodiment, the current position information of the flexible instrument can be forward kinematically calculated according to the size parameters of the flexible instrument to obtain the current position of the tip of the instrument end. The size parameters of the flexible instrument may include the size parameters of the instrument seat, the instrument tube, the instrument bendable part and the instrument end.
[0031] The tip position change information is information that requires the tip position of the instrument end to change. Therefore, by combining the current position of the tip of the instrument end and the tip position change information, the expected position of the tip of the instrument end can be obtained, that is, the position that the tip of the instrument end needs to reach.
[0032] S203: performing inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument to obtain expected position information of the flexible instrument; Among them, after determining the expected position of the tip of the instrument end, the expected position of the tip of the instrument end can be used as a control target to perform inverse kinematic calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument to obtain the expected posture information of the flexible instrument. The expected posture information is used to describe the posture that the flexible instrument needs to achieve, and when the posture corresponding to the expected posture information is achieved, the tip of the instrument end reaches the above-mentioned expected tip position.
[0033] S204: Controlling the movement of the flexible device according to the desired posture information.
[0034] Among them, the expected posture information may include the rotation angle and insertion depth of the instrument rigid tube, and the bending degree (i.e., the pitch angle) of the instrument bendable component. This embodiment can control the instrument rigid tube and the instrument bendable component based on the expected posture information and the current posture information, so that the tip of the instrument end reaches the above-mentioned expected position of the tip, thereby completing the control of the movement of the flexible instrument.
[0035] This embodiment receives and parses the instrument operation instructions, obtains the expected position change information of the tip of the instrument end, calculates the current position of the tip based on the current posture information of the instrument end, and calculates the expected position of the tip in combination with the current position of the tip and the expected position change information. On the basis of obtaining the expected position of the tip, this embodiment converts the expected position of the tip of the instrument end into the expected posture information of the entire flexible instrument through inverse kinematics calculation. The dimensional parameters of the flexible instrument are taken into account in the process of inverse kinematics calculation to ensure that the calculated expected posture information meets the physical limitations and motion requirements. Controlling the movement of the flexible instrument according to the calculated expected posture information can reduce the intermediate links and time loss in the control process. Therefore, this embodiment can improve the control accuracy and control efficiency of the flexible instrument.
[0036] As for Figure 1 Further introduction to the corresponding embodiment, before calculating the expected position of the tip of the instrument end based on the current position of the tip of the instrument end and the tip position change information, the current position of the tip of the instrument end can also be determined in the following way: obtaining the current posture information of the flexible instrument; performing forward kinematics calculation on the current posture information of the flexible instrument based on the size parameters of the flexible instrument to obtain the current position of the tip of the instrument end.
[0037] Among them, if a spatial rectangular coordinate system is established with a point on the central axis of the instrument rigid tube as the origin O and the direction of the central axis of the instrument rigid tube as the Z axis, then in the spatial rectangular coordinate system, the current posture information of the flexible instrument includes the rotation angle around the Z axis (that is, the rotation angle of the instrument rigid tube), the insertion depth along the Y axis direction (that is, the insertion angle of the instrument rigid tube), and the pitch angle, and the pitch angle is the angle between the line connecting the two ends of the bendable component of the instrument (that is, the first end and the second end of the bendable component of the instrument) and the XOY plane.
[0038] In order to avoid collision between the flexible device and other devices, before controlling the movement of the flexible device according to the expected posture information, it is also possible to determine whether the expected posture information meets the posture constraint conditions of the flexible device; if so, enter S204 to control the movement of the flexible device according to the expected posture information; if not, control the flexible device to maintain the current posture, output an operation error prompt message and update the number of consecutive operation errors.
[0039] If the number of consecutive operation errors is greater than a preset value, it means that the control handle may be touched by mistake, and the flexible device can be controlled to enter a locked state; wherein the flexible device in the locked state does not respond to all device operation instructions to ensure the operation safety of the flexible device. There may be an unlock button on the flexible device, and the user can release the locked state by triggering the unlock button.
[0040] As another feasible implementation, before controlling the movement of the flexible device according to the expected posture information, it can also be determined whether the expected posture information meets the posture constraint conditions of the flexible device; if so, enter S204 to control the movement of the flexible device according to the expected posture information; if not, the flexible device automatically generates reference position change information that is closest to the expected position change information, and provides the reference position change information to the user, so as to suggest the user to use the reference position change information.
[0041] Before determining whether the expected posture information meets the posture constraint conditions of the flexible device, the posture constraint conditions can also be set in the following manner: determine the maximum motion area of the flexible device based on the structural parameters of the flexible device; determine the obstacle position information based on the working scene in which the flexible device is located; determine the limit area based on the shape and structure of the operating object of the flexible device; wherein the limit area is an area on the operating object that is prohibited from contacting the flexible device; and set the posture constraint conditions in combination with the maximum motion area, the obstacle position information and the limit area.
[0042] Specifically, after determining that the expected posture information does not meet the posture constraint conditions, the following operations may be performed: calculating the alternative posture information that meets the posture constraint conditions and has the smallest deviation from the expected posture information; calculating the tip alternative position of the instrument end according to the alternative posture information; setting the position change information of the instrument end from the current position of the tip to the tip alternative position as the reference position change information; generating error correction information containing the reference position change information in the human-computer interaction interface, so as to inquire the user whether to control the flexible instrument according to the reference position change information. The deviation of the posture information includes position deviation and rotation deviation. In this embodiment, the position deviation and rotation deviation may be weighted to calculate the posture deviation value, and the posture information with the smallest posture deviation value may be used as the alternative posture information.
[0043] Furthermore, after the human-computer interaction interface generates error correction information containing the reference position change information, it can also be determined whether the user's feedback result on the error correction information is to allow control; if so, the movement of the flexible device is controlled according to the alternative posture information; if not, the flexible device maintains the current posture without change.
[0044] Through the above method, when the tip position change information contained in the instrument operation instruction does not meet the operation specifications or external environment, the user can be automatically provided with reference position change information, thereby improving the flexibility of the control process of the flexible instrument of the transoral surgical robot.
[0045] See also Figure 3 , Figure 3 This is a schematic structural diagram of a bendable component of an instrument provided in an embodiment of the present application, wherein the bendable component of the instrument includes a hinge segment 301 and a plurality of steel wires 302, wherein the first end P1 and P2 of each of the steel wires passes through all of the hinge segments and the instrument end, and the second end P3 and P4 of each of the steel wires passes through the instrument hard tube and is wound around the rod 303 of the instrument base.
[0046] Specifically, the first end of the steel wire can exert a force on the portion where the hinge section is connected to the instrument end, and the rod of the instrument seat can exert a force on the second end of the steel wire. Therefore, when the rod rotates, the force on the portion where the hinge section is connected to the instrument end will change.
[0047] As a feasible implementation, the first end of the steel wire contacts the second end of the hinge section, and the second end of the steel wire is connected to the rod. As another feasible implementation, the two steel wires in the bendable part of the device are the same steel wire. In this embodiment, the position where the steel wire contacts the second end of the hinge section is called the second end of the steel wire, and the position where the steel wire contacts the rod is called the first end of the steel wire; therefore, when the rod rotates, one steel wire is tightened and the other steel wire is relaxed.
[0048] Furthermore, this embodiment can control the movement of the flexible device in the following manner: determine the expected pitch angle based on the expected posture information; control the rotation of the rod according to the expected pitch angle so as to tighten or loosen the steel wire wrapped around the rod; wherein the steel wire in the tightened state applies a force to the hinge segment to change the pitch angle.
[0049] As a feasible implementation, the steel wires of the bendable component of the device include a first steel wire, a second steel wire, a third steel wire and a fourth steel wire; the rod of the device seat includes a first driving rod and a second driving rod; the first steel wire and the second steel wire are both wound around the first driving rod, and the first steel wire and the second steel wire are the same steel wire; the third steel wire and the fourth steel wire are both wound around the second driving rod, and the third steel wire and the fourth steel wire are the same steel wire. Figure 4 , Figure 4 A schematic diagram of the force of a bendable component of a device provided in an embodiment of the present application, F X+ 、F X- 、F Y+ 、F Y- is the force applied by the first steel wire, the second steel wire, the third steel wire and the fourth steel wire to the second end of the hinge segment, and X, Y and Z are coordinate axes.
[0050] In this embodiment, the rod can be controlled to rotate in the following manner: Decompose the desired pitch angle into a first angle and a second angle; convert the first angle into first rotation information of the first driving rod; convert the second angle into second rotation information of the second driving rod; control the rotation of the first driving rod according to the first rotation information so as to change the force applied by the first steel wire and / or the second steel wire to the hinge segment; control the rotation of the second driving rod according to the second rotation information so as to change the force applied by the third steel wire and / or the fourth steel wire to the hinge segment.
[0051] The first angle is the projection of the desired pitch angle on the X-axis, the second angle is the projection of the desired pitch angle on the Y-axis, the first steel wire and the second steel wire are used to apply a force in the X-axis direction to the hinge segment, and the third steel wire and the fourth steel wire are used to apply a force in the Y-axis direction to the hinge segment. A coordinate system is established with the first end of the bendable component of the instrument as the origin, and the vector corresponding to the line connecting the two ends of the bendable component of the instrument is (X θ , Y θ , Z θ ), vector (X θ , Y θ , Z θ ) and the XOY plane is the desired pitch angle. The first angle is the vector (Xθ , 0, Z θ ) and the X axis, and the second angle is the vector (0, Y θ , Z θ ) and the Y axis. In this embodiment, the desired pitch angle can be decomposed into a first angle and a second angle, the first angle being the desired pitch angle change amount about the X axis, the second angle being the desired pitch angle change amount about the Y axis, and the bendable part of the instrument reaches the desired pitch angle after being transformed according to the first angle and the second angle.
[0052] As for Figure 1 In a further description of the corresponding embodiment, the flexible device further comprises a first wire, a second wire and a third wire connected to the end of the device, and the first wire, the second wire and the third wire all pass through the inside of the device hard tube and the bendable part of the device and are connected to the corresponding energy interface. Specifically, the first wire is connected to the monopolar energy interface, and the second wire and the third wire are connected to the bipolar energy interface.
[0053] Correspondingly, this embodiment can also determine the working mode of the flexible device; if the working mode is a monopolar energy mode, the first wire is controlled to be in a connected state, and the second wire and the third wire are controlled to be in an open state; if the working mode is a bipolar energy mode, the first wire is controlled to be in an open state, and the second wire and the third wire are controlled to be in a connected state.
[0054] As for Figure 1 Further introduction to the corresponding embodiment, the instrument end is an instrument clamp head, a flexible core shaft is provided in the instrument hard tube, and the flexible core shaft is connected to the instrument clamp head through a fifth steel wire; accordingly, if a clamp head control instruction is received, the instrument clamp head is driven to open and close by controlling the flexible core shaft.
[0055] The process described in the above embodiment is explained below through an embodiment in actual application.
[0056] Flexible instruments play an increasingly important role in fine mechanical operations, but the control problem of flexible instruments has always been a key factor restricting their performance improvement and application expansion. Traditional rigid instrument control algorithms cannot be directly applied to flexible instruments. Therefore, this scheme proposes a control method for flexible instruments of transoral surgical robots, which can improve the control accuracy and efficiency of flexible instruments.
[0057] The flexible instrument may include an instrument base, an instrument tube, a hinge section, and a clamp head connected in sequence. Figure 5 , Figure 5This is a schematic diagram of the structure of another flexible instrument for transoral surgical robots provided in an embodiment of the present application, in which 52 represents the instrument hard tube, 53 represents the hinge segment, 54 represents the forceps head, 55 represents the second steel wire, 56 represents the first steel wire, 57 represents the third steel wire, 58 represents the fourth steel wire, and 59 represents the fifth steel wire.
[0058] Four steel wires are arranged inside the hinge section, and the four steel wires are evenly distributed within 45° radially of the hinge section. The four steel wires are respectively the first steel wire, the second steel wire, the third steel wire and the fourth steel wire. One end of each steel wire passes through all the hinge sections and the clamp head, and the other end of each steel wire passes through the instrument hard tube and is wound around the rod in the instrument seat. A fifth steel wire is also arranged inside the hinge section, and the fifth steel wire is located between the first steel wire, the second steel wire, the third steel wire and the fourth steel wire.
[0059] See also Figure 6 , Figure 6 A schematic diagram of the structure of an instrument seat provided in an embodiment of the present application, in which 61 represents a first driving rod, and 62 represents a second driving rod. A first driving rod and a second driving rod are provided inside the instrument seat, and the first steel wire and the second steel wire are both wound around the first driving rod, and the first steel wire and the second steel wire are the same steel wire. The third steel wire and the fourth steel wire are both wound around the second driving rod, and the third steel wire and the fourth steel wire are the same steel wire. When the first driving rod and the second driving rod rotate clockwise at the same time, the pliers head moves downward; when the first driving rod and the second driving rod rotate counterclockwise at the same time, the pliers head moves upward. When the first driving rod rotates counterclockwise, the second driving rod rotates clockwise, and the pliers head moves to the left; when the first driving rod rotates clockwise, the second driving rod rotates counterclockwise, and the pliers head moves to the right. The pliers head can move to rotate 180°.
[0060] A first wire is also provided in the hinge section, one end of which is connected to the forceps head 54, and the other end of which passes through the instrument tube 52 and is connected to the monopolar interface in the instrument seat 51. When the monopolar interface is connected to a monopolar energy source, the surgical instrument becomes a monopolar energy surgical instrument.
[0061] A second wire and a third wire are also provided in the hinge section, one end of the second wire and the third wire are connected to the forceps head, and the other end of the second wire and the third wire pass through the instrument hard tube and are connected to the bipolar interface in the instrument seat. When the bipolar interface is connected to a bipolar energy source, the surgical instrument becomes a bipolar energy surgical instrument.
[0062] The forceps head is a detachable structure, which includes a fixed part and a disassembly part. The fixed part and the disassembly part are installed and disassembled by a buckle, and the fixed part is connected to the hinge section. In this way, the surgical instrument can be switched to a different type of surgical instrument by replacing different types of forceps heads. For example, if the disassembly part is originally a disassembly part in the form of a grasping forceps, the disassembly part in the form of a grasping forceps is removed and then the disassembly part in the form of a needle holder is installed.
[0063] A flexible core shaft is arranged in the hard tube of the instrument, one end of the fifth steel wire is welded to the flexible core shaft, and the other end of the fifth steel wire is connected to the clamp head, so the axial movement of the flexible core shaft will drive the clamp head of the instrument to open and close through the fifth steel wire.
[0064] See also Figure 7 , Figure 7 This is a posture diagram of a flexible instrument of a transoral surgical robot provided in this application, with the Z axis pointing upward along the instrument axis, the Y axis pointing to the right of the instrument drive seat, and the X axis pointing forward. Roll is the rotation angle of the instrument's external sleeve (the rotation angle around the Z axis), the positive direction of the insertion depth along the Y axis is downward, and the positive direction of the pitch angle is the positive direction of the pitch angle, which is raised toward the positive X axis.
[0065] In each acquisition cycle, the current state of the flexible device (rotation angle roll around the Z axis) is calculated. i , insertion depth along the Y axis i , pitch angle i ), the current position of the tip of the instrument end is obtained through the forward kinematics function (the coordinate position x, y, z of the instrument tip in the coordinate axis), and then the incremental value of lambda is superimposed (lambda is the operating handle, which is used to collect the distance Δx, Δy, Δz moved by the operator's hand) to obtain the expected position of the tip of the instrument end (i.e., x+Δx, y+Δy, z+Δz). This embodiment can also use the expected position to obtain the expected state of the flexible instrument at the next moment through the inverse kinematics function (i.e., roll i+1 , insertion i+1 , pitch i+1 ), and only updates the state and saves the new desired position when there is a solution.
[0066] The size of the instrument tip, Ltool, is small. For the convenience of calculation, Ltool can be set to 0. Based on the forward kinematics calculation method, given the rotation angle roll around the Z axis, the insertion depth insertion along the Y axis, and the pitch angle pitch, the position of the instrument tip is calculated. The current position of the tip is obtained according to the geometric method: x = (Lwrist × sin(pitch / 2); y = (Lwrist × sin(pitch / 2); z= -(Lwrist ×cos(pitch / 2) + insertion.
[0067] Lwrist is the total arc length of the hinge segment (this data is measured when the hinge segment is not bent), such as 30mm or 50mm.
[0068] Given the tip coordinates (x, y, z) of the instrument tip, the pose information can be calculated as follows: roll = atan(y / x); pitch = 2×asin(x / (cos(roll) ×Lwrist)); insertion = -z - Lwrist×cos(pitch / 2).
[0069] The control method of the flexible instrument in a single acquisition cycle is as follows: Determine the following posture data: actual insertion depth of the instrument, actual pitch angle of the instrument. Actual deflection angle of the instrument. Use the forward kinematics function to calculate the posture data to obtain the actual position of the tip of the flexible instrument, position_act. Determine whether it is in the initialization stage; if so, set the expected position of the tip of the instrument to position_act; if not, obtain the position control increment value tips_delta, and set the expected position of the tip of the instrument to position_act + tips_delta. Calculate the actual control amount of the flexible instrument through the inverse kinematics function; if the actual control amount of the flexible instrument has a solution, send the instrument control amount and update the actual position of the tip of the flexible instrument. The instrument control amount includes the expected insertion depth of the instrument, the expected pitch angle of the instrument, and the expected deflection angle of the instrument.
[0070] See also Figure 8 , Figure 8 This is a structural schematic diagram of a control system of a flexible instrument of a transoral surgical robot provided in an embodiment of the present application. The flexible instrument of the transoral surgical robot includes an instrument seat, an instrument hard tube, an instrument bendable component and an instrument end. The first end of the instrument hard tube is mounted on the instrument seat, the second end of the instrument hard tube is connected to the first end of the instrument bendable component, and the second end of the instrument bendable component is connected to the instrument end. The control system of the flexible instrument of the transoral surgical robot includes: The position change determination module 801 is used to parse the instrument operation instruction and obtain the tip position change information of the instrument end if the instrument operation instruction is received; The expected position determination module 802 is used to calculate the expected position of the tip of the instrument end according to the current position of the tip of the instrument end and the tip position change information; wherein the current position of the tip of the instrument end is calculated according to the current position and posture information of the flexible instrument; A posture calculation module 803 is used to perform inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument to obtain the expected posture information of the flexible instrument; The control module 804 is used to control the movement of the flexible device according to the desired posture information.
[0071] This embodiment receives and parses the instrument operation instructions, obtains the expected position change information of the tip of the instrument end, calculates the current position of the tip based on the current posture information of the instrument end, and calculates the expected position of the tip in combination with the current position of the tip and the expected position change information. On the basis of obtaining the expected position of the tip, this embodiment converts the expected position of the tip of the instrument end into the expected posture information of the entire flexible instrument through inverse kinematics calculation. The dimensional parameters of the flexible instrument are taken into account in the process of inverse kinematics calculation to ensure that the calculated expected posture information meets the physical limitations and motion requirements. Controlling the movement of the flexible instrument according to the calculated expected posture information can reduce the intermediate links and time loss in the control process. Therefore, this embodiment can improve the control accuracy and control efficiency of the flexible instrument.
[0072] Furthermore, it also includes: A tip position calculation module is used to obtain the current posture information of the flexible instrument; wherein the current posture information of the flexible instrument includes the rotation angle around the Z axis, the insertion depth along the Y axis, and the pitch angle, and the pitch angle is the angle between the two ends of the bendable part of the instrument and the XOY plane; it is also used to perform forward kinematics calculation on the current posture information of the flexible instrument according to the size parameters of the flexible instrument to obtain the current position of the tip of the instrument end.
[0073] Furthermore, it also includes: The first exception handling module is used to determine whether the expected posture information meets the posture constraint conditions of the flexible device; if so, the control module 804 is started to control the operation process of the flexible device movement according to the expected posture information; if not, the flexible device is controlled to maintain the current posture, output the prompt information of the operation error and update the number of consecutive operation errors; it is also used to control the flexible device to enter a locked state if the number of consecutive operation errors is greater than a preset value; wherein the flexible device in the locked state does not respond to all device operation instructions.
[0074] Furthermore, it also includes: The second exception handling module is used to determine whether the expected posture information meets the posture constraint conditions of the flexible device; if so, the control module 804 is started to control the operation process of the movement of the flexible device according to the expected posture information; if not, the alternative posture information that meets the posture constraint conditions and has the smallest deviation from the expected posture information is calculated; it is also used to calculate the alternative position of the tip of the instrument end according to the alternative posture information; it is also used to set the position change information of the instrument end from the current position of the tip to the alternative position of the tip as reference position change information; it is also used to generate error correction information containing the reference position change information in the human-computer interaction interface, so as to inquire the user whether to control the flexible device according to the reference position change information.
[0075] Further, including: The auxiliary control module is used to determine whether the feedback result of the user to the error correction information is to allow control; if so, control the movement of the flexible device according to the alternative posture information.
[0076] Furthermore, it also includes: A constraint setting module is used to determine the maximum motion area of the flexible device according to the structural parameters of the flexible device before judging whether the expected posture information meets the posture constraint conditions of the flexible device; it is also used to determine the obstacle position information according to the working scene in which the flexible device is located; it is also used to determine the limit area according to the shape and structure of the operating object of the flexible device; wherein the limit area is the area on the operating object that is prohibited from contacting the flexible device; and it is also used to set the posture constraint conditions in combination with the maximum motion area, the obstacle position information and the limit area.
[0077] Furthermore, the bendable component of the instrument includes a hinge segment and a plurality of steel wires, the first end of each of the steel wires passes through all of the hinge segments and the instrument end, and the second end of each of the steel wires passes through the instrument hard tube and is wound around the rod of the instrument seat; Correspondingly, the process in which the control module 804 controls the movement of the flexible device according to the expected posture information includes: determining the expected pitch angle according to the expected posture information; controlling the rotation of the rod according to the expected pitch angle so as to tighten or loosen the steel wire wrapped around the rod; wherein the steel wire in the tightened state applies a force to the hinge segment to change the pitch angle.
[0078] Further, the steel wires of the bendable component of the instrument include a first steel wire, a second steel wire, a third steel wire and a fourth steel wire; the rod of the instrument seat includes a first driving rod and a second driving rod; the first steel wire and the second steel wire are both wound around the first driving rod, and the first steel wire and the second steel wire are the same steel wire; the third steel wire and the fourth steel wire are both wound around the second driving rod, and the third steel wire and the fourth steel wire are the same steel wire; Correspondingly, the process of the control module 804 controlling the rotation of the rod according to the expected pitch angle includes: decomposing the expected pitch angle into a first angle and a second angle; wherein the first angle is the projection of the expected pitch angle on the X-axis, the second angle is the projection of the expected pitch angle on the Y-axis, the first steel wire and the second steel wire are used to apply force in the X-axis direction to the hinge segment, and the third steel wire and the fourth steel wire are used to apply force in the Y-axis direction to the hinge segment; converting the first angle into first rotation information of the first driving rod; converting the second angle into second rotation information of the second driving rod; controlling the rotation of the first driving rod according to the first rotation information so as to change the force applied by the first steel wire and / or the second steel wire to the hinge segment; controlling the rotation of the second driving rod according to the second rotation information so as to change the force applied by the third steel wire and / or the fourth steel wire to the hinge segment.
[0079] Furthermore, the flexible device further comprises a first wire, a second wire and a third wire connected to the end of the device, and the first wire, the second wire and the third wire all pass through the inside of the device hard tube and the bendable part of the device and are connected to the corresponding energy interface; Correspondingly, it also includes: The working mode switching module is used to determine the working mode of the flexible instrument; if the working mode is a monopolar energy mode, the first wire is controlled to be in a connected state, and the second wire and the third wire are controlled to be in an open state; if the working mode is a bipolar energy mode, the first wire is controlled to be in an open state, and the second wire and the third wire are controlled to be in a connected state.
[0080] Furthermore, the instrument end is an instrument clamp head, a flexible mandrel is arranged in the instrument hard tube, and the flexible mandrel is connected to the instrument clamp head through a fifth steel wire; Correspondingly, it also includes: The clamp head control module is used to control the flexible core shaft to drive the instrument clamp head to open and close if a clamp head control instruction is received.
[0081] Since the embodiments of the system part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the system part, which will not be repeated here.
[0082] The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0083] The present application also provides an electronic device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the electronic device may also include various network interfaces, power supplies and other components.
[0084] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of this application.
[0085] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A control method for a flexible instrument of a transoral surgical robot, characterized in that: The flexible instrument comprises an instrument seat, an instrument hard tube, an instrument bendable component and an instrument end, wherein the first end of the instrument hard tube is mounted on the instrument seat, the second end of the instrument hard tube is connected to the first end of the instrument bendable component, and the second end of the instrument bendable component is connected to the instrument end, and the control method of the flexible instrument of the transoral surgical robot comprises: If an instrument operation instruction is received, the instrument operation instruction is parsed to obtain the tip position change information of the instrument end; Calculating the expected position of the tip of the instrument end according to the current position of the tip of the instrument end and the tip position change information; wherein the current position of the tip of the instrument end is calculated according to the current position and posture information of the flexible instrument; Performing inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument to obtain expected position information of the flexible instrument; The movement of the flexible device is controlled according to the desired posture information.
2. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: Before controlling the movement of the flexible device according to the desired posture information, the method further includes: Determining whether the desired posture information meets the posture constraint condition of the flexible device; If yes, then entering the step of controlling the movement of the flexible device according to the desired posture information; If not, the flexible device is controlled to maintain the current posture, an operation error prompt message is output, and the number of consecutive operation errors is updated; If the number of consecutive operation errors is greater than a preset value, the flexible device is controlled to enter a locked state; wherein the flexible device in the locked state does not respond to all device operation instructions.
3. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: Before controlling the movement of the flexible device according to the desired posture information, the method further includes: Determining whether the desired posture information meets the posture constraint condition of the flexible device; If yes, then entering the step of controlling the movement of the flexible device according to the desired posture information; If not, then calculating the candidate posture information that meets the posture constraint condition and has the smallest deviation from the expected posture information; Calculating an alternative position of the tip of the instrument tip according to the alternative posture information; Setting the position change information of the instrument tip moving from the current position of the tip to the candidate position of the tip as reference position change information; Error correction information including the reference position change information is generated on the human-computer interaction interface to inquire the user whether to control the flexible device according to the reference position change information.
4. The control method of the transoral surgical robot flexible instrument according to claim 3, characterized in that: After the human-computer interaction interface generates the error correction information including the reference position change information, the method further includes: Determining whether the feedback result of the user to the error correction information is to allow control; If so, the movement of the flexible device is controlled according to the alternative posture information.
5. The control method of the transoral surgical robot flexible instrument according to claim 3, characterized in that: Before determining whether the expected posture information meets the posture constraint condition of the flexible device, the method further includes: Determining the maximum motion area of the flexible device according to the structural parameters of the flexible device; Determining obstacle location information according to the working scene of the flexible device; Determine the limit area according to the shape and structure of the operation object of the flexible device; wherein the limit area is an area on the operation object that is prohibited from contacting the flexible device; The posture constraint condition is set in combination with the maximum motion area, the obstacle position information and the limit area.
6. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: Before calculating the expected position of the tip of the instrument tip according to the current position of the tip of the instrument tip and the tip position change information, the method further includes: Acquire the current posture information of the flexible device; wherein the current posture information of the flexible device includes the rotation angle around the Z axis, the insertion depth along the Y axis, and the pitch angle, wherein the pitch angle is the angle between the line connecting the two ends of the bendable part of the device and the XOY plane; The current position information of the flexible instrument is forward kinematically calculated according to the size parameters of the flexible instrument to obtain the current position of the tip of the instrument end.
7. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: The bendable component of the instrument includes a hinge section and a plurality of steel wires, the first end of each of the steel wires passes through all of the hinge sections and the instrument end, and the second end of each of the steel wires passes through the instrument hard tube and is wound around the rod of the instrument seat; Accordingly, controlling the movement of the flexible device according to the desired posture information includes: Determining a desired pitch angle according to the desired posture information; The rod is controlled to rotate according to the desired pitch angle so as to tighten or loosen the steel wire wound on the rod; wherein the steel wire in the tightened state applies a force to the hinge segment for changing the pitch angle.
8. The control method of the transoral surgical robot flexible instrument according to claim 7, characterized in that: The steel wires of the bendable component of the instrument include a first steel wire, a second steel wire, a third steel wire and a fourth steel wire; the rod of the instrument seat includes a first driving rod and a second driving rod; the first steel wire and the second steel wire are both wound around the first driving rod, and the first steel wire and the second steel wire are the same steel wire; the third steel wire and the fourth steel wire are both wound around the second driving rod, and the third steel wire and the fourth steel wire are the same steel wire; Accordingly, controlling the rod to rotate according to the desired pitch angle includes: Decomposing the desired pitch angle into a first angle and a second angle; wherein the first angle is a projection of the desired pitch angle on the X-axis, the second angle is a projection of the desired pitch angle on the Y-axis, the first steel wire and the second steel wire are used to apply a force in the X-axis direction to the hinge segment, and the third steel wire and the fourth steel wire are used to apply a force in the Y-axis direction to the hinge segment; converting the first angle into first rotation information of the first driving rod; converting the second angle into second rotation information of the second driving rod; controlling the first driving rod to rotate according to the first rotation information so as to change the force applied by the first steel wire and / or the second steel wire to the hinge segment; The second driving rod is controlled to rotate according to the second rotation information so as to change the force applied by the third steel wire and / or the fourth steel wire to the hinge segment.
9. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: The flexible device further comprises a first wire, a second wire and a third wire connected to the end of the device, wherein the first wire, the second wire and the third wire all pass through the inside of the device hard tube and the bendable part of the device and are connected to the corresponding energy interface; Correspondingly, it also includes: determining an operating mode of the flexible device; If the working mode is the monopolar energy mode, the first wire is controlled to be in a connected state, and the second wire and the third wire are controlled to be in a disconnected state; If the working mode is the bipolar energy mode, the first wire is controlled to be in an open circuit state, and the second wire and the third wire are controlled to be in a connected state.
10. The control method of the transoral surgical robot flexible instrument according to claim 1, characterized in that: The instrument end is an instrument clamp head, a flexible mandrel is arranged in the instrument hard tube, and the flexible mandrel is connected to the instrument clamp head through a fifth steel wire; Correspondingly, it also includes: If a clamp head control instruction is received, the instrument clamp head is driven to open and close by controlling the flexible core shaft.
11. A control system for a flexible instrument of a transoral surgical robot, characterized in that: The flexible instrument comprises an instrument seat, an instrument hard tube, an instrument bendable component and an instrument end, wherein the first end of the instrument hard tube is mounted on the instrument seat, the second end of the instrument hard tube is connected to the first end of the instrument bendable component, and the second end of the instrument bendable component is connected to the instrument end, and the control system of the flexible instrument of the transoral surgical robot comprises: A position change determination module, for parsing the instrument operation instruction upon receiving the instrument operation instruction, and obtaining the tip position change information of the instrument end; An expected position determination module, used to calculate the expected position of the tip of the instrument end according to the current position of the tip of the instrument end and the tip position change information; wherein the current position of the tip of the instrument end is calculated according to the current position and posture information of the flexible instrument; A posture calculation module, used for performing inverse kinematics calculation on the expected position of the tip of the instrument end according to the size parameters of the flexible instrument, to obtain the expected posture information of the flexible instrument; A control module is used to control the movement of the flexible device according to the desired posture information.
12. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps of the control method of the flexible instrument of the transoral surgical robot as claimed in any one of claims 1 to 10 are implemented.
13. A storage medium, characterized in that: The storage medium stores computer executable instructions, which, when loaded and executed by a processor, implement the steps of the method for controlling a flexible instrument of a transoral surgical robot as claimed in any one of claims 1 to 10.
Citation Information
Cited By
Single-joint flexible bipolar grasping forceps and system, control method of single-joint flexible bipolar grasping forceps and electronic equipment
CN119970211A
A single-joint flexible bipolar grasper, system, and control method and electronic device thereof
CN119970211B
