Guide tool changes

The computer-aided medical system determines the kinematic configuration and insertion trajectory, achieving efficient and safe insertion of tool replacement in the robotic system, and solving the problems of time-consuming tool replacement and misjudgment of insertion depth in surgical operations.

CN113195174BActive Publication Date: 2024-09-03INTUITIVE SURGICAL OPERATIONS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080006818.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-12
Filing Date
2020-03-10
Publication Date
2024-09-03
Estimated Expiration
2040-03-10

AI Technical Summary

Technical Problem

The tool replacement process of the robotic system during surgery is time-consuming and it is easy to misjudge the insertion depth, resulting in accidental contact between the tool and the patient's anatomy, affecting operating efficiency and safety.

Method used

Using a computer-aided medical system, the computer processor determines the kinematic configuration and reference geometry, and controls the movement of the replacement tool based on the insertion trajectory to ensure its accurate insertion and avoid interaction with the surrounding environment.

Benefits of technology

Improves the efficiency and accuracy of tool changes, reduces the risk of accidental contact with patient anatomy, and simplifies the operating process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113195174B_ABST
    Figure CN113195174B_ABST
Patent Text Reader

Abstract

A computer-assisted medical system includes a manipulator arm and a controller. The controller includes a computer processor and is configured to determine a kinematic configuration, which is before a replacement tool is mounted on the manipulator arm. The kinematic configuration is a kinematic configuration of the manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is located at an insertion position. The controller is further configured to determine a reference geometry of the previous tool in the kinematic configuration, determine an insertion trajectory of the replacement tool based on the reference geometry, and facilitate insertion of the replacement tool toward a target position of the insertion trajectory by controlling the replacement tool to move according to the insertion trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority under 35 USC §119(e) to U.S. Provisional Patent Application Serial No. 62 / 817,370, filed on March 12, 2019, the entire contents of which are incorporated herein by reference. Background Art Field of the Invention

[0003] The present invention generally provides improved robotic and / or medical (including surgical) devices, systems and methods.

[0004] Overview

[0005] A robotic device system can be used to perform tasks at a work site. For example, a robotic system can include a robotic manipulator to manipulate an instrument used to perform a task. The robotic manipulator can include two or more links coupled together by one or more joints. The joints can be active joints that are actively moved and controlled. The joints can also be passive joints that follow the movement of the active joints or external manipulation. Such active and passive joints can be revolute joints or prismatic joints. The configuration of the robotic manipulator can then be determined by the positioning and orientation of the joints of the robotic manipulator, as well as by the structure of the robotic manipulator (e.g., the design of the links of the robotic manipulator).

[0006] Example robotic systems include industrial robotic systems and entertainment robotic systems. For example, robotic systems also include medical robotic systems used in procedures such as diagnosis, non-surgical treatment, surgical treatment, etc. As a specific example, the robotic system includes a minimally invasive robotic telesurgery system in which a surgeon can perform surgery on a patient at the bedside or at a remote location. Telesurgery generally refers to a surgical procedure performed using a surgical system in which the surgeon uses some form of remote control (e.g., a servo mechanism) to manipulate the movement of surgical instruments rather than directly holding and moving the instruments by hand. A robotic medical system that can be used for telesurgery or other telemedicine procedures may include a remotely controllable robotic manipulator. The operator can remotely control the movement of the remotely controllable robotic manipulator. The operator can also manually move various parts of the robotic medical system to a position or orientation within its environment.

[0007] A robotic system may be equipped with interchangeable tools. It may be desirable to efficiently change these tools in a simple manner while executing a robotic program.

[0008] For example, consider a scenario in which a surgical procedure is performed using a robotic system. A typical surgical procedure employs many different surgical tools or instruments. When a different tool is needed during the surgical procedure, the surgical tool is typically withdrawn from the surgical site so that it can be removed from its associated manipulator arm and replaced with a tool having the desired end effector. The desired surgical tool is then inserted into the surgical site. Surgical tools may also be withdrawn from the surgical site for reasons other than replacing an end effector. For example, the loading of clips in a clip applier used to secure tissue typically occurs outside the patient's body. Each time a new clip is needed, the clip applier is removed from the surgical site to load the clip and then reintroduced into the patient's body to apply the clip.

[0009] Continuing with the example of describing robotically performed surgical procedures, tool changes for robotic systems take time. Additionally, it can be difficult to manually bring the new tool into view after a tool change operation. The operator may also misjudge the insertion depth and place the tool too deep into the surgical site, which can result in unintended contact between the tool and the patient's anatomy. To avoid this contact, the operator may very slowly move the new tool into the surgical site. These factors make the tool change operation a time-consuming process.

[0010] For these and other reasons, it would be advantageous to provide improved apparatus, systems, and methods for robotic applications, including industrial applications, entertainment applications, medical applications, and other robotic applications. Summary of the invention

[0011] In general, in one aspect, one or more embodiments are directed to a computer-assisted medical system, the system comprising: a manipulator arm; and a controller, which includes a computer processor and is configured to determine a kinematic configuration, the kinematic configuration being the kinematic configuration of the manipulator arm and a previous tool attached to the manipulator arm before mounting a replacement tool on the manipulator arm, and wherein the end effector of the previous tool is located at an insertion position. The controller is further configured to: determine a reference geometry of the previous tool in the kinematic configuration, determine an insertion trajectory of the replacement tool based on the reference geometry, and facilitate insertion of the replacement tool toward a target position of the insertion trajectory by controlling movement of the replacement tool according to the insertion trajectory.

[0012] In general, in one aspect, one or more embodiments relate to a computer-assisted medical system, the system comprising: a manipulator arm; and a controller, which includes a computer processor and is configured to: determine a kinematic configuration, the kinematic configuration is before a replacement tool is installed on the manipulator arm, and the kinematic configuration is the kinematic configuration of the manipulator arm and a previous tool attached to the manipulator arm, and wherein the end effector of the previous tool is located at an insertion position. The controller is further configured to: determine a reference geometry of the previous tool in the kinematic configuration, detect the installation of the replacement tool on the manipulator arm, the replacement tool and the manipulator arm forming a physical manipulator assembly, determine a constraint trajectory of a virtual manipulator assembly based on the reference geometry, wherein the virtual manipulator assembly kinematically corresponds to the physical manipulator assembly. The controller is also configured to facilitate insertion of the replacement tool toward a target position based on the insertion position by the following steps: determining a current kinematic configuration of the virtual manipulator assembly, the current kinematic configuration tracking the physical manipulator assembly and on the constraint trajectory, and using the current kinematic configuration of the virtual manipulator assembly to control the physical manipulator assembly.

[0013] In general, in one aspect, one or more embodiments are directed to a method for operating a medical system, the method comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is inserted at an insertion position. The method further comprises: determining a reference geometry of the previous tool in the kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm; determining an insertion trajectory of the replacement tool based on the reference geometry; and facilitating insertion of the replacement tool toward a target position of the insertion trajectory by controlling movement of the replacement tool according to the insertion trajectory.

[0014] In general, in one aspect, one or more embodiments relate to a method for operating a medical system, the method comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is located at an insertion position. The method further comprises: determining a reference geometry of the previous tool in the kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm, the replacement tool and the manipulator arm forming a physical manipulator assembly; determining a constraint trajectory of a virtual manipulator assembly based on the reference geometry, wherein the virtual manipulator assembly kinematically corresponds to the physical manipulator assembly. In addition, the method comprises facilitating insertion of the replacement tool toward a target position based on the insertion position by the following steps: determining a current kinematic configuration of the virtual manipulator assembly, the current kinematic configuration tracking the physical manipulator assembly and on the constraint trajectory, and controlling the physical manipulator assembly using the current kinematic configuration of the virtual manipulator assembly.

[0015] Other aspects of the invention will become apparent from the following description and the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1A A top view of a robot program scene is shown in accordance with one or more embodiments.

[0017] Figure 1B The schematic diagram shows a schematic diagram of a Figure 1A The various components of the robot program scene.

[0018] Figure 2 A perspective view is shown illustrating a method for Figure 1A The main operator console or workstation where program commands are entered into the robot components.

[0019] Figure 3 According to one or more embodiments, Figure 1A Perspective view of an electronics cart.

[0020] Figure 4 A perspective view of a robotic assembly having four manipulator arms is shown in accordance with one or more embodiments.

[0021] Figure 5 An example of a manipulator arm assembly is shown in accordance with one or more embodiments.

[0022] Fig. 6A A perspective view of a tool or instrument is shown in accordance with one or more embodiments.

[0023] Figure 6B , Figure 6C , Fig.6D and Fig. 6E According to one or more embodiments, Fig. 6A A perspective view of the wrist and end effector of a tool or instrument is shown.

[0024] Figure 7 A control architecture for controlling a robotic assembly according to one or more embodiments is shown.

[0025] Fig. 8A A tool is schematically illustrated at a work site according to one or more embodiments.

[0026] Figure 8B A previous tool and a superimposed replacement tool are schematically illustrated according to one or more embodiments.

[0027] Fig. 9 A flow chart describing a method for directing tool changes is shown in accordance with one or more embodiments.

[0028] Fig.10 A flow chart describing a method for controlling the kinematic configuration of a replacement tool during insertion of a replacement tool is shown in accordance with one or more embodiments.

[0029] Fig.11 A flow chart describing a method for controlling the kinematic configuration of a replacement tool during insertion of the replacement tool while providing force feedback to an assistant performing the insertion is shown in accordance with one or more embodiments.

[0030] 12A, 12B, 12C, 12D, and 12E illustrate the use of Fig. 9 , Fig.10 and Fig.11 Various results of the insertion replacement tool of the method shown and described. DETAILED DESCRIPTION

[0031] Now, specific embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. For consistency, the same elements in various drawings are represented by the same reference numerals.

[0032] In the following detailed description of the embodiments of the present disclosure, many specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other cases, well-known features are not described in detail to avoid unnecessarily complicating the specification.

[0033] Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as adjectives for elements (i.e., any noun in the application). Unless explicitly disclosed, such as by use of the terms "before," "after," "single," and other such terms, the use of ordinal numbers does not imply or create any particular order of elements, nor does it limit any element to a single element. Rather, the use of ordinal numbers distinguishes between elements. For example, a first element is different from a second element, and a first element may include more than one element, and the order of the elements is after (or before) the second element.

[0034] Although some of the examples described herein relate to surgical procedures or tools, or medical procedures and medical tools, the disclosed technology is applicable to medical procedures and non-medical procedures, as well as medical tools and non-medical tools. For example, the tools, systems and methods described herein can be used for non-medical purposes, including industrial uses, general robotic uses, and sensing or manipulating non-tissue artifacts. Other example applications relate to cosmetic improvements, imaging of human or animal anatomical structures, collecting data from human or animal anatomical structures, setting up or disassembling systems, and training medical or non-medical personnel. Additional example applications include procedures for tissues removed from human or animal anatomical structures (not returned to human or animal anatomical structures), and performing procedures on human or animal corpses. In addition, these technologies can also be used for drug treatment or diagnostic procedures that include or do not include surgical aspects.

[0035] In general, embodiments of the present disclosure can support the replacement of instruments or tools during a robotic procedure (e.g., a medical procedure, such as robotic imaging or surgery) by facilitating the insertion of a replacement tool after a previously used tool has been removed from a work site (e.g., a medical procedure site, such as a surgical site). In one or more embodiments, when a replacement tool enters the work site, an insertion trajectory defined by the space previously occupied by the previously used tool and the kinematic configuration / range of motion of the replacement tool is followed. The tip or end effector of the replacement tool can be guided toward a target location at the work site. One or more degrees of freedom of the replacement tool, one or more degrees of freedom of a manipulator arm to which the replacement tool is attached, or one or more degrees of freedom of the replacement tool and the manipulator arm can be actively controlled during insertion. In the case of a medical robotic system, when re-entering a medical procedure site, embodiments of the present disclosure therefore provide the ability to have a replacement tool, typically following the volume previously occupied by the previously used tool, in an effort to improve the workflow for inserting the replacement tool.

[0036] In one or more embodiments, the replacement tool adopts a kinematic configuration when approaching a target location that is similar to the kinematic configuration of a previously used tool prior to removal, thereby facilitating an operator's transition from the previously used tool to the replacement tool.

[0037] In one or more embodiments, the replacement tool is inserted into the work site under the drive of the assistant manually applying a driving force. To ensure that the replacement tool remains on the insertion trajectory, the replacement tool and / or the manipulator arm can provide force feedback to the assistant. Deviation from the insertion trajectory can result in providing an opposing force to the assistant, thereby intuitively indicating the deviation to the assistant and redirecting the replacement tool toward the insertion trajectory.

[0038] Embodiments of the present disclosure may further provide additional features. For example, the ability to visually monitor the end effector of a replacement tool as the end effector is inserted, a force control scheme that prevents further insertion of the replacement tool when resistance is encountered, and other features discussed below may be provided. Embodiments of the present disclosure may therefore enable direct and efficient replacement of tools during robotic procedures. In the example of robotic surgery, embodiments of the present disclosure may reduce the likelihood of accidental interaction with tissue. In addition, embodiments of the present disclosure may enable a replacement tool to achieve a kinematic configuration similar to a previously used tool, thereby facilitating an operator to seamlessly and more accurately switch from a previously used tool to a replacement tool. Other features are discussed in the following description.

[0039] Referring now to the drawings, wherein like reference numerals refer to like parts throughout the several views, Figure 1A A top view of a computer-assisted medical system (100) (hereinafter referred to as system (100)) in a robotic procedure scenario is shown. Figure 1AIn the example, a minimally invasive robotic surgical system is shown as a computer-assisted medical system (100), but the following description is applicable to other scenarios and systems (e.g., non-surgical scenarios or systems, non-medical scenarios or systems). In this example, a diagnostic or surgical procedure is performed on a patient (190) lying on an operating table (110). The system may include a user control system (120) for use by an operator (192) (e.g., a clinician, such as a surgeon) during the procedure. One or more assistants (194) may also participate in the procedure. The system (100) may further include a robotic manipulation system (130) (e.g., a patient-side robotic device) and an auxiliary system (140). The robotic manipulation system (130) may include at least one manipulator arm (150), each of which may support a removably coupled tool (160) (also referred to as an instrument (160)). In the illustrated procedure, the tool (160) may be introduced into the body of the patient (190) through a natural orifice such as the throat or anus or through an incision while the operator (192) observes the work site (e.g., a surgical site in a surgical setting) through the user control system (120). Images of the work site may be obtained through an imaging device (e.g., an endoscope, an optical camera, or an ultrasound probe) (i.e., the tool (160) used to image the work site), which may be manipulated by a robotic manipulation system (130) to position and orient the imaging device. An auxiliary system (140) may be used to process the image of the work site for display to the operator (192) through the user control system (120) or other display system located locally or remotely from the procedure. The number of tools (160) used at one time typically depends on factors such as the task, space constraints, etc. If it is appropriate to change, clean, inspect, or reload one or more tools (160) being used during a procedure, the assistant (194) can remove the tool (160) from the manipulator arm (150) and replace the tool (160) with the same tool (160) or another tool (160) (e.g., from a tray (180) or another type of tool storage).

[0040] Figure 1B The system (100) is schematically shown. The system (100) may include one or more computing systems (142). The computing system may be used to process input provided by a user control system (120) from an operator. The computing system may further be used to provide output (e.g., video images) to a display (144). The one or more computing systems (142) may further be used to control the robotic manipulation system (130).

[0041] The computing system (142) may include one or more computer processors, non-persistent memory (e.g., volatile memory such as random access memory (RAM), cache memory), permanent memory (e.g., hard disk, optical drive such as compact disk (CD) drive or digital versatile disk (DVD) drive, flash memory, etc.), communication interface (e.g., Bluetooth interface, infrared interface, network interface, optical interface, etc.), and numerous other elements and functions.

[0042] The computer processor of the computing system (142) may be an integrated circuit for processing instructions. For example, the computer processor may be one or more cores or microcores of a processor. The computing system (142) may also include one or more input devices, such as a touch screen, a keyboard, a mouse, a microphone, a touchpad, an electronic pen, or any other type of input device.

[0043] The communication interface of the computing system (142) may include an integrated circuit for connecting the computing system (142) to a network (not shown) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, a mobile network, or any other type of network) and / or to another device (e.g., another computing system (142)).

[0044] In addition, the computing system (142) may include one or more output devices (1308), such as a display device (e.g., a liquid crystal display (LCD), a plasma display, a touch screen, an organic LED display (OLED), a projector, or other display device), a printer, a speaker, external storage, or any other output device. The one or more output devices may be the same as or different from the one or more input devices. There are many different types of computing systems, and the aforementioned one or more input and output devices may take other forms.

[0045] The software instructions in the form of computer-readable program code for executing the embodiments of the present disclosure may be stored in whole or in part, temporarily or permanently, on a non-transitory computer-readable medium, such as a CD, a DVD, a storage device, a floppy disk, a tape, a flash memory, a physical memory, or any other computer-readable storage medium. Specifically, the software instructions may correspond to a computer-readable program code that, when executed by one or more processors, is configured to execute one or more embodiments of the present invention.

[0046] The computing system (142) may be connected to a network or become part of a network. The network may include multiple nodes. Each node may correspond to a computing system or a group of nodes. For example, embodiments of the present disclosure may be implemented on a node of a distributed system connected to other nodes. As another example, embodiments of the present invention may be implemented on a distributed computing system having multiple nodes, wherein each part of the present disclosure may be located on different nodes within the distributed computing system. In addition, one or more elements of the aforementioned computing system may be located at a remote location and connected to other elements via a network.

[0047] The robotic manipulation system (130) may use a tool (160) including an imaging device (e.g., an endoscope or an ultrasound probe) to capture images of the work site and output the captured images to the auxiliary system (140). The auxiliary system (140) may process the captured images in various ways prior to any subsequent display. For example, the auxiliary system (140) may overlay the captured images with a virtual control interface prior to displaying the combined images to an operator via the user control system (120). The robotic manipulation system (130) may output the captured images for processing external to the auxiliary system (140). One or more separate displays (144) may also be coupled to the computing system (142) and / or the auxiliary system (140) for local and / or remote display of images (e.g., images of the procedural site or other relevant images).

[0048] Figure 2 A perspective view of a user control system (120) is shown. The user control system (120) includes a left-eye display (202) and a right-eye display (204) for providing an operator (192) ( Figure 1A The user control system (120) further includes one or more input control devices (210), which in turn cause the robotic manipulation system (130) ( Figure 1A The input control device (210) may provide a tool (160) ( Figure 1A ) to provide the operator with remote presentation, or input control device (210) and tool (160) ( Figure 1A The input control device (210) is an integrated sense, so that the operator has a strong sense of direct control of the tool (160). To this end, a positioning sensor, a force sensor and / or a tactile feedback sensor (not shown) can be used to transmit the positioning sense, force sense and / or tactile sense from the tool (160) back to the operator's hand through the input control device (210).

[0049] Figure 3A perspective view of the auxiliary system (140) is shown. The auxiliary system (140) can be used with an imaging device type tool (160) ( Figure 1A The auxiliary system (140) may be coupled to a computer (not shown) and may include a processor (not shown) to process the captured images for subsequent display, such as display or display to an operator at an operator console or on another suitable display located locally and / or remotely. For example, where a stereo endoscope is used, the auxiliary system (140) may process the captured images to present a coordinated stereo image of the work site to the operator. Such coordination may include alignment between relative images and may include adjusting a stereo working distance of the stereo endoscope. As another example, the image processing may include using previously determined camera calibration parameters to compensate for imaging errors (e.g., optical aberrations) of the image capture device.

[0050] Figure 4 A robotic manipulation system (130) is shown having a plurality of manipulator arms (150), each manipulator arm (150) supporting an instrument or tool (160) at a distal end of the manipulator arm. The robotic manipulation system (130) shown includes four manipulator arms (150) that can be used to support manipulation tools (160) or imaging tools (160) (e.g., a stereo endoscope for capturing images of a procedure site). Figure 5 A more detailed description of the manipulator arm 150 is provided and referenced below. Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E A more detailed description of the tool (160) is provided. In a minimally invasive scenario, the tool (160) can be positioned and manipulated through an incision in a patient so as to maintain the kinematic distal center at the incision so as to minimize the size of the incision or the forces applied to the tissue surrounding the incision. When the tool (160) is positioned within the field of view of a tool operating as an imaging device, an image of the work site can include an image of the distal end of the instrument or tool (160).

[0051] Various tools (160) or instruments of different types and different end effectors may be used. During a procedure, at least some of the tools (160) may be removed and replaced. In a surgical scenario, the end effectors may include, but are not limited to, DeBakey forceps, micro forceps, Potts scissors, clip appliers, scalpels, and electrocautery probes. Some of these end effectors may have a single end effector element, while other end effectors may include multiple end effector elements (e.g., a first end effector element and a second end effector element that may pivot relative to each other to define a pair of end effector jaws).

[0052] In a surgical setting, the elongated shaft of the tool (160) allows the end effector and the distal end of the shaft to be inserted distally through a minimally invasive hole, typically through a body wall (e.g., the abdominal wall), into a surgical work site. The surgical work site may be insufflated. Movement of the end effector within the patient's body is typically at least partially effected by pivoting the tool (160) about the position of the shaft through the minimally invasive hole. Thus, the manipulator arm (150) can move the proximal housing of the instrument outside the patient's body so that the shaft extends through the minimally invasive hole to provide the desired movement of the end effector. Thus, the manipulator arm 150 can be moved outside the patient's body.

[0053] exist Figure 5 An example of a manipulator assembly (500) according to an embodiment of the present disclosure is shown in FIG. The manipulator assembly (500) may include a manipulator arm (502) and a tool (520) (also referred to as an instrument (520)) (in FIG. Figure 5 , only the axis of the tool is shown, not the tool itself). As described above, during operation, the manipulator arm (502) generally supports the distal instrument or tool (520) and affects the movement of the tool (520). Because many different tools (520) with different end effectors can be mounted on the manipulator arm (502) in sequence, or because the tool (520) needs to be removed and reinstalled during a procedure, the distal tool holder facilitates the removal and replacement of the mounted instrument or tool. As shown in FIG. Figure 4 As will be appreciated, the manipulator arm (502) is proximally mounted to a base of the robotic assembly. Alternatively, the manipulator arm (502) may be mounted to a separate base that can be independently moved, for example, by mounting the manipulator arm (502) to a single manipulator arm cart, provided with a plurality of manipulator arms (502) at various locations to allow the manipulator arm (502) to be mounted directly or indirectly to the operating table ( Figure 1A Typically, the manipulator arm (502) includes a plurality of manipulator arm segments and associated joints extending between a proximal base and a distal tool support.

[0054] In such Figure 5 In the illustrated embodiment, the manipulator arm includes multiple joints (e.g., revolute joints J1, J2, J3, J4, and J5, and prismatic joint J6) and links or manipulator arm segments (504, 506, 508, and 510). The joints of the manipulator arm may or may not have redundant degrees of freedom in combination. A manipulator arm with one or more redundant degrees of freedom has multiple joints such that the multiple joints can be driven into a range of different configurations for a given positioning and orientation of a portion of the manipulator arm. For example, a manipulator arm with one or more redundant degrees of freedom can have multiple joints that can be driven into a range of different configurations for a given positioning and orientation of a distal portion or end effector of the manipulator arm. For example, Figure 5The manipulator arm (502) can be maneuvered into different configurations while the distal member (512) supported within the tool holder (510) maintains a specific state and may include a given positioning or velocity of the end effector. The tool holder (510) may include a cannula (516) through which a tool shaft of a tool (520) extends, and the tool holder (510) may include a carriage ((514) shown as a box-shaped structure that translates on a beam) to which the tool is attached before extending through the cannula (516) toward the work site.

[0055] Actuation of the degrees of freedom of the tool (520) is typically provided by actuators of the manipulator. These actuators may be integrated into the carriage (514). The distal wrist of the tool may allow the end effector of the tool (520) to pivot and / or linearly move about the tool joint axis of one or more joints at the tool wrist. The angle between the end effector jaw elements may be controlled independently of the position and orientation of the end effector. Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E A detailed description of the tool (520) is provided.

[0056] Fig. 6A An example of a tool (600) (also referred to as an instrument (600)) that can be used for a surgical procedure according to one or more embodiments is shown. The tool (600) includes an elongated shaft (610) and a wrist (620) located at a working end of the shaft (610). A housing (630) is located at an opposite end of the shaft (610), the housing 630 being releasably arranged to couple the tool 600 to a manipulator arm (502). The shaft (610) can be rotatably coupled to the housing (630) so that the shaft (610) can be angularly displaced relative to the housing (630) as indicated by arrow (692), thereby allowing an end effector (640) coupled to the shaft to rotate via the wrist (620). Various embodiments of the tool (600) have a multi-degree-of-freedom wrist (e.g., pitch and yaw degrees of freedom), a single degree-of-freedom wrist (e.g., pitch or jaws), or no wrist.

[0057] In FIG. 5 , when the tool (520) is coupled or mounted on the manipulator arm (502), the shaft (610) extends through the cannula (516). The tool (520) is typically releasably mounted on a tool holder (510) of the manipulator arm (502), which can be driven to translate along a linear guide formed by a prismatic joint (J6). This may also be referred to as "IO" and provides in / out movement along the insertion axis (612). The housing (630) may include a spool, as described in U.S. Patent No. 6,394,998, entitled "Surgical Tools for Use in Minimally Invasive Telesurgical Applications," which can be rotated to control a cable to actuate a link of an end effector (640). Reference is made below to Figure 6B , Figure 6C , Fig.6D and Fig. 6E A more detailed description of the end effector (640) is provided. The tool holder (510) of the manipulator arm (502) may include a magnetic disk for coupling with the spool to drive the spool when the tool (600) is connected to the manipulator arm (502).

[0058] Go to Figure 6B , Figure 6C , Fig.6D and Fig. 6E , showing a wrist (620) and a tool (such as Fig. 6A An end effector (640) of the tool (600) introduced in the embodiment of the present invention. FIG. 6B to FIG. 6E Each tool shown in the drawings includes a wrist (620) disposed on the working end of its shaft (610). The wrist (620) may be capable of pivoting the end effectors (640B, 640C, 640D, and 640E) relative to the shaft (610). The wrist (620) may have at least one degree of freedom.

[0059] Different types of tools (600) may have different end effectors with different geometries, degrees of freedom, and / or functions. For example, Figure 6B The end effector (640B) includes a single member forming a cautery hook; Figure 6C The end effector (640C) includes two members arranged in a jaw-like manner to form a forceps; Fig.6D The end effector (640D) in includes a single component forming a nozzle of an irrigator or suction device; and Fig. 6EThe end effector (640E) in the embodiment includes two members arranged in a jaw-like manner to form a clip applier. The end effectors (640C and 640E) can be in the form of any desired tool, for example, having two members or fingers that pivot relative to each other, such as a clip applier for anchoring a clip (e.g., Fig. 6E ), scissors, two-finger blunt dissection tools, forceps (such as Figure 6C As shown), forceps used as a needle driver, etc. Both components of the end effector (640C and 640E) can be angularly displaced separately, thereby not only allowing the end effector to be opened and closed, but also enabling the angular displacement to change the orientation of the end effector (640C and 640E) as a whole relative to the wrist (620).

[0060] Additionally, the end effectors (640B and 640D) may include a single working member, such as a scalpel, a cautery electrode (eg, Figure 6B As shown), flushing equipment (such as Fig.6D ), etc. Other end effector configurations are possible without departing from the present disclosure. The imaging device may also be considered to have an end effector (640) (i.e., an end effector for obtaining an image), and like other end effectors, may be coupled to the shaft (610) of the tool with or without a wrist.

[0061] When a different tool (600) is needed during a procedure, the tool (600) is removed from its associated arm and replaced with another tool (600) having the desired end effector (640). The tool (600) may also be removed and reinserted, for example, to clean the tool, inspect the tool, reload the tool (e.g., by loading a clip applier with clips, loading a stapler with stapler cartridges), etc.

[0062] The degrees of freedom of the end effector (640) may be controlled by appropriately positioned actuators (e.g., motors) that respond to inputs from associated control devices (e.g., Figure 2 The input of the input control device (210) in the embodiment of the present invention is used to drive the end effector (640) to a desired orientation as indicated by movement of the input control device (210) or any other control signal. In addition, appropriately positioned sensors (e.g., encoders, potentiometers, etc.) may be provided to enable measurement of joint positioning. Figure 5 As shown, the actuator and sensor may be disposed in a carriage (514) of a tool holder (510).

[0063] Although Figure 1A , Figure 1B , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E Various configurations of components are shown, but other configurations may be used without departing from the scope of the invention. For example, various components may be combined to create a single component. As another example, a function performed by a single component may be performed by two or more components. Furthermore, while the components are described in the context of a surgical scenario, embodiments of the present disclosure may be equally applicable to other fields involving robotic manipulation.

[0064] Go to Figure 7 , shows a control architecture for controlling a manipulator assembly including a manipulator arm and an instrument or tool mounted thereon, according to one or more embodiments. As an example, a control architecture is shown. Those skilled in the art will appreciate that other control architectures may be used without departing from the present disclosure. Furthermore, in the illustrated control architecture, specific signals (e.g., positioning) are exchanged between the boxes of the control architecture. Other signals (e.g., velocity, acceleration, force, etc.) may be used without departing from the present disclosure. Likewise, the control architecture may implement different modes (not shown). For example, Figure 2As shown, during the execution of a robotic task under the control of an input control device (210) operated by a user, the various joints of the robotic manipulator assembly can be positioned and controlled. However, in another control mode (e.g., during a tool exchange), one or more joints may be "floating", allowing an assistant to easily articulate these one or more joints from the outside, such as by driving these one or more joints backward. The floating joint can be driven backward by an externally applied force without the need for a control algorithm or braking force to offset sufficient externally applied forces. For example, a user can apply a force that meets one or more criteria (e.g., for amplitude, direction, duration, frequency) to a link distal to the floating joint, resulting in driving the floating joint backward. The floating joint, particularly when floating in a degree of freedom affected by gravity (e.g., a "vertical" joint or in a "non-horizontal" direction), can be further gravity compensated. In addition, friction compensation can facilitate backward driving. Additionally or alternatively, the floating joint can also be controlled to apply other characteristics (e.g., a certain degree of damping). Multiple control modes can be combined during operation of the manipulator assembly, for example, certain joints can be positioned to resist or rebound external articulation of those joints, while other joints can be floating and promote external articulation of those other joints. In addition, one or more joints of the manipulator assembly can be passive, that is, completely uncontrolled by positioning or speed. The passive joints can be manually operated by an assistant. Nevertheless, the passive joints can include joint sensors so that the complete kinematics of the manipulator assembly can be obtained. In addition, in some embodiments, the passive joints may include actuators for providing gravity compensation, friction compensation, or other utilities that do not include actively driving the motion of the passive joints.

[0065] In one or more embodiments, the joint movement of the manipulator assembly is controlled by a controller using an actuator (e.g., a motor, a solenoid, etc.) of the manipulator assembly to drive one or more joints, which are calculated by a processor of the controller. Mathematically, the controller can use vectors and / or matrices to perform at least some calculations of joint commands, some of which can have elements corresponding to the positioning, velocity, and / or force / torque of the joint. The range of alternative joint configurations available for the processor can be conceptualized as a joint space. The joint space can, for example, have as many dimensions as the degrees of freedom that the manipulator assembly has, and a specific configuration of the manipulator assembly can represent a specific point in the joint space, where each coordinate corresponds to the joint state of the associated joint of the manipulator assembly.

[0066] As used herein, the term "state" of a joint or multiple joints refers to a control variable associated with the joint or multiple joints, respectively. For example, the state of an angular joint can refer to the angle defined by the joint within its range of motion, and / or to the angular velocity of the joint. Similarly, the state of an axial or prismatic joint can refer to the axial positioning of the joint, and / or its axial velocity. Although one or more controllers described herein include a positioning controller, they typically also have a velocity control aspect. Without departing from the present disclosure, alternative embodiments may rely primarily or entirely on a velocity controller, a force controller, an acceleration controller, etc. Many aspects of the control system that can be used in such a device are more fully described in U.S. Patent No. 6,699,177, the entire disclosure of which is incorporated herein by reference. Therefore, as long as the described movement is based on associated calculations, a positioning control algorithm, a velocity control algorithm, a combination of the two, etc. can be used to perform the calculations of the movement of the joints and the movement of the end effector described herein.

[0067] Figure 7 The control architecture (700) includes a controller (710) that drives joint actuators (790) of a manipulator assembly based on commanded movement (720). Any number of joint actuators (790) may be driven.

[0068] The commanded movement (720) can be a commanded position and / or velocity of one or more features in a Cartesian coordinate space (referred to herein as Cartesian space) in a workspace. The commanded movement (720) can be, for example, a movement command received from a user control system (120) (e.g., in the form of a position and / or velocity), or any other movement command of one or more features of a manipulator arm. A feature can be any feature physically on or physically not on a manipulator assembly that can be used to define a control frame to be articulated using a control input. Examples of features on a manipulator assembly include features of a tool (e.g., an end effector tip, a center point on an end effector, or a U-clip of an end effector), features of a manipulator arm (e.g., an instrument support configured to be physically coupled to a movable instrument). Another example of a feature of a manipulator assembly is a reference point in empty space that is exactly a certain distance and angle from the end effector tip. Another example of a feature outside of a manipulator assembly is a target tissue, the positioning of which relative to a portion of the manipulator assembly can be established.

[0069] The controller (710) may include a top-level controller (730), an inverse kinematics controller (740), a joint controller (750), and a forward kinematics model (760). Each of these components is described later.

[0070] According to one or more embodiments, the top-level controller (730) includes instructions in the form of computer-readable program code to receive the commanded movement (720) and convert the commanded movement (720) into a positioning in a Cartesian coordinate system. The steps performed to convert the commanded movement (720) into a Cartesian positioning depend on the format in which the commanded movement (720) is provided. For example, if the commanded movement (720) specifies a desired end effector positioning, the top-level controller (730) can perform trajectory planning using, for example, position-time (PT) or position-velocity-time (PVT) interpolation. Alternatively, if the commanded movement (720) includes a velocity command, the top-level controller (730) can operate as an integrator. Those skilled in the art will appreciate that the top-level controller (730) can perform any operations necessary to obtain a positioning signal in a Cartesian coordinate system. In one or more embodiments, the top-level controller (730) generates a Cartesian positioning from the commanded movement (720) taking into account the sensed joint state (754). The sensed joint state (754) may enable the top-level controller to determine the actual state of the joint to be controlled (e.g., including current positioning and / or velocity, etc.). The actual state may affect the control task and may therefore be considered by the top-level controller. For example, for a particular configuration of the manipulator assembly, the commanded movement may be undesirable and may therefore not be executed, or may alternatively be converted to an alternative commanded movement that may be executed in a desired manner.

[0071] According to one or more embodiments, the inverse kinematics controller (740) includes instructions in the form of computer-readable program code to convert the commanded Cartesian positioning (732) into a commanded joint positioning (e.g., joint angles of a revolute joint) (742). The operations of the inverse kinematics controller (740) can be performed in the velocity domain. In other words, the inverse kinematics controller (740) can seek to determine or solve for joint velocity vectors that can be used to drive the joints of the manipulator assembly in such a way that the end effector accurately follows the commanded Cartesian positioning. The inverse kinematics controller (740) can integrate the calculated joint velocities to obtain the commanded joint positioning (742).

[0072] The commanded Cartesian error (732) may be a combination of the Cartesian positioning provided by the top-level controller (730) as previously described and the Cartesian positioning provided by the forward kinematics model (760) discussed below. More specifically, the Cartesian positioning provided by the forward kinematics model (760) may represent an estimate of the actual or current positioning of the manipulator assembly (e.g., the end effector) in Cartesian space. This estimate may be subtracted from the Cartesian positioning representing the commanded movement to obtain a difference to be compensated for use as a control input to the inverse kinematics controller (740).

[0073] Although there may not generally be a closed-form relationship that maps a desired Cartesian space positioning to an equivalent joint space positioning, there is generally a closed-form relationship between Cartesian space velocity and joint space velocity. The kinematic Jacobian matrix is ​​a matrix of partial derivatives of Cartesian space positioning elements with respect to joint space positioning elements. In this way, the Jacobian matrix captures the kinematic relationship between, for example, an end effector and a joint. In other words, the Jacobian matrix captures the effect of joint motion on the end effector. The Jacobian matrix (J) can be used to map joint space velocity (dq / dt) to Cartesian space velocity (dx / dt) (e.g., end effector velocity).

[0074] Thus, even when there is no closed-form mapping between input and output positioning, the inverse kinematics controller (740) can iteratively use a mapping of velocities to achieve movement of the manipulator assembly based on the commanded trajectory. One such implementation is subsequently described in simplified terms. Assume that the commanded movement (720) includes a Cartesian position provided at a time step Δt. At each time step (Δt), the Cartesian velocity (dx / dt) is calculated by the inverse kinematics controller (740) to perform the desired movement and correct the accumulated deviation from the desired Cartesian positioning (obtained by subtracting the Cartesian position generated by the forward kinematics model (760)). The commanded Cartesian positioning (or the Cartesian error (732) after subtracting the output of the forward kinematics model) is then converted to a commanded joint positioning (q) (742) using the pseudo-inverse of the Jacobian matrix (J#) in the velocity domain. The commanded joint positioning is used to recalculate the Jacobian matrix (J), which can be used for calculations performed at the next time step. The described steps may be performed for any number of joints.

[0075] Some example manipulator assemblies described herein have more degrees of freedom than are required to position and move the end effector within the work site. For example, in some embodiments, a surgical end effector that can be positioned with six degrees of freedom at an internal surgical site through a minimally invasive hole can have a task space of nine degrees of freedom (six end effector degrees of freedom - three for positioning and three for orientation - plus three degrees of freedom to comply with access site restrictions), but can have ten or more degrees of freedom. A highly configurable manipulator arm assembly with more degrees of freedom than required for a given end effector positioning can be described as having or providing a series of joint states that have or provide sufficient degrees of freedom to allow end effector positioning in a workspace. For example, for a given end effector positioning, the manipulator assembly can occupy (and be driven between) any one of a series of alternative manipulator arm configurations. Similarly, for a given end effector velocity vector, the manipulator assembly can have a series of different joint movement velocities for each joint of the manipulator assembly within the null space of the Jacobian matrix.

[0076] When directing the movement of a highly configurable manipulator with redundant degrees of freedom, the inverse Jacobian matrix often cannot fully define the joint vector solutions. For example, for a given end effector state, the mapping from Cartesian commands (x) to joint positions (q) in the system that may occupy a range of joint states is a one-to-many mapping. In other words, because the mechanism is redundant, there are mathematically countless solutions, represented by the subspace in which the inverse solution resides. Additional restrictions may be imposed to obtain a unique solution. Those skilled in the art will appreciate that various methods may be used to perform inverse kinematics, including inverse kinematics for manipulators with redundant degrees of freedom.

[0077] According to one or more embodiments, each of the joint controllers (750) includes instructions in the form of computer-readable program code to convert a received commanded joint position (742) into a commanded current (752) to drive one of the joint actuators (790) that produces a joint movement (792). One joint controller (750) may be used for each joint actuator (790). The joint movement (792) of all joint actuators through the kinematics of the manipulator assembly may produce a manipulator arm movement that reflects the commanded movement (720). In one embodiment of the present disclosure, the joint controller controls the joint position or angle. Alternatively, the joint controller may control other variables, such as joint velocity, joint torque, or joint force (in the case of a linear joint). The joint controller (750) may receive a feedback signal in the form of a sensed joint state (754) from the associated joint actuator (790) to enable closed-loop control. The sensed joint state (754) provided by the joint actuator (790) may include, among other things, joint positioning, joint velocity, and / or joint acceleration representing joint movement (792). The sensed joint state may be derived from a signal obtained by a sensor attached to the joint. Such a sensor may be, for example, an incremental encoder or a Hall sensor of the joint actuator. A state observer or estimator (not shown) may be used. Without departing from the present disclosure, each joint controller (750) may implement proportional integral derivative (PID), proportional derivative (PD), full state feedback, sliding mode, or various other control schemes.

[0078] According to one or more embodiments, the forward kinematics model (760) includes instructions in the form of computer-readable program code, as previously described, to convert the sensed joint states (754) into Cartesian positions and / or velocities.

[0079] The controller (710) may be implemented on one or more computing systems. These one or more computing systems may be based on a digital signal processor (DSP), a central processing unit (CPU), etc. Figure 1B Example computing systems are described. Each of the computing systems may perform the described operations at a cycle time depending on the nature of the operation. In one embodiment, the cycle times of the inverse kinematics controller (740) and the joint controller (750) are the same. Communications between the computing systems implementing the top-level controller (730), the inverse kinematics controller (740), and the joint controller (750) may be performed using any type of electrical or optical communication network, including Ethernet, optical fiber, various bus systems, and / or any other type of digital or analog signal.

[0080] In one or more embodiments, the controller (710) is further configured to perform Fig. 9 , Fig.10 and Fig.11 At least one of the steps described in .

[0081] Go to Fig. 8A , schematically illustrating a tool at a work site according to one or more embodiments.

[0082] Fig. 8A A tool (800) is shown that includes a shaft (802) and an end effector (804) having a distal tool tip (806). A wrist (808) pivotally connects the end effector (804) to the shaft (802). The tool (800) may be substantially similar to Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E One of the tools introduced in , or another type of tool. Fig. 8A As shown, tool (800) is inserted into work site (890) via hole (892). The tool is shown in insertion position (820). Insertion position (820) can be defined as, for example, a position before a portion of tool (800) is removed (e.g., tool tip (806), a center position of end effector (804), a U-clip for a jaw end effector (804), or some other portion of tool (800)). When tool (800) is inserted into work site (890), the insertion position is the position in work site (890). In a surgical scenario, work site (890) can be a cavity in a patient's body. Shaft (802) and end effector (804) are controlled from outside of work site (890). Similar to Figure 5 The manipulator arm having one or more actuators introduced in the present invention can be used to control the mounted tool (800), for example by driving the movement of a shaft (802) or any joint of the tool (800), including the movement of the end effector (804). Fig. 8A A second tool (870) is further shown that includes an imaging device. The imaging device of the second tool (870) can capture a field of view (872) that can be provided to an operator and / or an assistant. The field of view (872) can cover the position of the end effector (804) of the tool (800), and can further cover an area surrounding the end effector (804). Although two specific tools (800, 870) are shown having specific geometries and degrees of freedom, those skilled in the art will appreciate that the tools can have any suitable geometry and can include any number of any type of joints (e.g., cylindrical joints, prismatic joints, etc.) that are flexible or rigid, or have any number of degrees of freedom. The tools (800, 870) can also be other than Fig. 8A Any other type of device than that shown. Fig. 8AAs shown, tool (800) may represent an initially or previously installed tool (hereinafter "previous tool") or a tool that is installed after the previous tool has been removed (hereinafter "replacement tool").

[0083] Steering Figure 8B , showing the previous tool (810) and the replacement tool (850) overlapping with the two tools in an operational configuration, e.g., inserted into a working site (890) (e.g., when considering a surgical scenario, including a surgical site in a body cavity). The user can command the operational configuration based on the program of the previous tool (810) and / or the replacement tool (850). Figure 8B , the insertion position (820) of the previous tool (810) before it is removed is shown, and the target position of the replacement tool (850) after its insertion is shown. The previous tool (810) and the replacement tool (850) can be similar or different. For example, the end effector of the replacement tool (850) can be of the same type as the end effector of the previous tool (810) (for example, both tools can be equipped with a clamp-type end effector), and the lengths of these end effectors can be the same or different. Alternatively, the end effectors of the replacement tool and the previous tool (850, 810) can be of different types (for example, a clamp-type end effector and a scalpel or electrocautery end effector). For example, such as when the previous tool is removed for cleaning, reloading, inspection, etc., and then reinserted, the replacement tool (850) can also be the previous tool (810) itself.

[0084] Figure 8B Also shown is an insertion axis (886). The insertion axis (886) indicates possible translational movement of a previous / replacement tool along the prismatic joint of the tool holder carriage of the manipulator arm. Figure 8B In the example shown, because the configuration of the manipulator arm has not changed, the insertion axes of the previous tool (810) and the replacement tool (850) coincide. Those skilled in the art will appreciate that the insertion axis may also be provided by a combination of joints (e.g., a combination of revolute joints) that can be actuated to produce translational motion of the installation tool.

[0085] Figure 8BAn insertion trajectory (840) is further shown. The insertion trajectory (840) can establish a path followed by one or more portions of the replacement tool (850), such as through the tip or through the center position of the end effector of the replacement tool (850), or through another designated portion (850) of the replacement tool (850). The insertion trajectory (840) can, for example, extend centrally along the volume (830) occupied by the previous tool toward the target location (880). The volume can be known based on the geometry and kinematic configuration of the previous tool (810) before removal. By having a portion of the replacement tool (850) (e.g., the tip or center portion of the end effector (804) and / or another designated portion of the replacement tool (850)) follow the insertion trajectory, the likelihood of unintentional interaction with other tools or other components present at the work site (890) can be reduced. This is because the insertion trajectory can be defined to remain within the volume (830) previously occupied by the previous tool (810).

[0086] The target position (880) may be defined based on the insertion position (820). For example, the target position (880) may be defined as a position along a line segment connecting the insertion position (820) and the remote center of the previous tool, and may be located at the insertion position (820) or a certain distance from the insertion position (820); as a specific example, the target position (880) may be defined along such a line segment and may be 3 mm, 4 mm, 1 cm, etc. closer to the remote center than the insertion position (820). As another example, the target position (880) may be defined as a position along a central axis of the end effector of the previous tool (810), and may be located at the insertion position (820) or a certain distance from the insertion position (820); as another specific example, the target position (880) may be defined along such a central axis and may be 3 mm, 4 mm, 1 cm, etc. closer to the proximal portion of the tool than the insertion position (820). The target position (880) selected in this manner will guide the replacement tool close to, but not all the way to, the insertion position (820).

[0087] In some embodiments, the target position (880) is further defined based on the kinematics of the replacement tool (850) and / or the manipulator movements allowed in controlling the replacement tool (850). Thus, the target position (880) can be different for replacement tools having different geometries, ranges of motion, and allowed manipulator movements, such that the target position set for each replacement tool can be reached by that replacement tool.

[0088] Take the following two scenarios as examples. In both example scenarios, it is assumed that the previous tool (810) before removal is bent from the shaft to the tip of the end effector, the insertion position is located at the tip of the previous tool (810) before removal, the insertion trajectory is defined so that the tip of the replacement tool (850) follows the central axis of the previous tool (810) to reach the target position (880), and the replacement tool (850) is equipped with an end effector that is shorter than the end effector of the previous tool (810). In both example scenarios, it is also assumed that if the previous tool (810) is reinserted as a replacement tool (850), the target position (880) will be set to the position along the central axis of the end effector of the previous tool (810) before the previous tool (810) is removed. In addition, before removal, the target position will be set to be offset 3 mm from the insertion position (820) toward the proximal portion of the previous tool (810).

[0089] In the first example (scenario (i)), it is further assumed that pivoting of the insertion axis (886) is not allowed in the insertion trajectory. In such scenario (i), the shorter end effector of the replacement tool (850) will not be able to reach the same target position as the reinserted previous tool (810). As a result, the target position (880) of the replacement tool (850) with the shorter end effector can be defined as being further from the insertion position (820) than the target position that would have been set if the previous tool (810) was reinserted as the replacement tool (850) (and "shorter" than such reinserted previous tool target position). In this example, the target position (880) can still be at a position along the central axis of the end effector of the previous tool (810), but compared to the target position (880) for reinserting the previous tool (810), the target position for inserting the replacement tool (850) may be closer to the position of the proximal portion of the previous tool (810) before removal than the insertion position (820). In this manner, even though replacement tool (850) is shorter than previous tool (810), defined target location (880) is within the reach of the end effector of replacement tool (850). An example illustrating this scenario is provided below with reference to FIG12C.

[0090] Next, in a second example (scenario (ii)), it is further assumed that pivoting of the insertion axis (886) is allowed in the insertion trajectory of the replacement tool (850). In this scenario, although the axis of the replacement tool (850) may not stay along the insertion trajectory, the pivoting will allow the replacement tool with a shorter end effector to reach the target position that would have been set if the previous tool (810) was reinserted as the replacement tool. Therefore, in this second scenario, if the previous tool (810) is to be reinserted as the replacement tool (850), the target position (880) of the replacement tool (850) with a shorter end effector can be defined to be the same as the target position. An example illustrating this scenario is provided below with reference to Figure 12D.

[0091] The above example can be simulated as a situation where the range of motion of one or more degrees of freedom of the replacement tool (850) is insufficient to reach the target position that has been set if the previous tool (810) is reinserted as the replacement tool. The range of motion considerations can be based on physical range of motion constraints and / or based on software-imposed range of motion constraints. Examples of physical range of motion constraints include joint designs in replacement tools (850) with larger or smaller joint ranges of motion for matching joints in the previous tool (810), and also include designs in which the replacement tool (850) lacks certain degrees of freedom found in the previous tool (810). Therefore, the range of motion constraints can be further based on the degrees of freedom available in the previous tool (810) that are completely absent. Therefore, in the example scenario where the replacement tool (850) is constrained by the range of motion of the target position that would have been defined if the previous tool (810) was reinserted as the replacement tool, the target position can be defined in different ways (i.e., deviating from the target position that would be used to reinsert the previous tool) to allow the replacement tool (850) to reach the target position with its range of motion. An example of illustrating this scenario is provided below with reference to Figure 12E. Range of motion constraints may also be further associated with the manipulator arm carrying the previous tool or the replacement tool. For example, assume that the replacement tool (850) is much shorter than the previous tool (810). Therefore, in order to reach the target position that will be used when reinserting the previous tool (810), the manipulator arm will have to participate in the insertion movement of the replacement tool (850) in order to compensate for the shorter replacement tool when performing the insertion. However, participation of the manipulator arm is not always possible to the necessary extent, for example when the joints of the manipulator arm itself reach range of motion limitations, or due to a collision with another structure.

[0092] In lieu of or in addition to the parameters described above, the target position (880) may be defined based on other factors. Example factors include the geometric cross-section of the replacement tool (850), the type of replacement tool (850) and associated use (e.g., energy tool, imaging tool, cutting tool, gripping tool, etc.), a goal of placing the replacement tool (850) closer to the center of the range of motion of one or more of its degrees of freedom, user preferences, the location of other tools, the location of the workpiece or work site, the expected location of a procedure to be performed by the replacement tool (850), etc.

[0093] Without departing from the present disclosure, other locations within the work site may be selected as the target location (880). Thus, the target location (880) may be a point in space. The target location (880) may further include a tolerance. The tolerance may establish a target area that, when reached by the end effector tip of the replacement tool (850), may indicate completion of the insertion. The tolerance may be selected based on the accuracy requirements. If it is desired to precisely guide the replacement tool to a specific location, a narrow tolerance may be selected, while for other scenarios, a wider tolerance may be selected.

[0094] like Figure 8B As shown, once the replacement tool (850) is fully inserted, it can have a kinematic configuration similar to that of the previous tool (810). For end effectors of the same type and length, the kinematic configurations can be substantially identical if the degrees of freedom of the replacement tool have a sufficient range of motion to achieve such similar kinematic configurations. Conversely, as further discussed above, and with reference to FIGS. 12A, 12B, 12C, 12D, and 12E, the kinematic configurations can be similar but not identical where the lengths of the end effectors of the replacement tool and the previous tool are different, or where the ranges of motion or degrees of freedom of the replacement tool and the previous tool are different. Subsequently, with reference to Fig. 9 , Fig.10 and Fig.11 Discussion A detailed discussion of the steps performed to replace the previous tool with the replacement tool.

[0095] Fig. 9 , Fig.10 and Fig.11 A flow chart is shown according to one or more embodiments. Fig. 9 , Fig.10 and Fig.11 The flowchart of FIG. 1 depicts a method for guiding tool changes according to one or more embodiments. Figure 1A , Figure 1B , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E Describes the various components of the system to perform Fig. 9 , Fig.10 and Fig.11 These figures describe a particular manipulator arm and a particular tool having certain degrees of freedom.

[0096] However, the methods described subsequently are not limited to a particular configuration of manipulator arms, tools, and / or degrees of freedom. Instead, these methods are applicable to any type of manipulator arm paired with any type of tool used in any type of scenario.

[0097] Although the various steps in these flowcharts are presented and described sequentially, it will be understood by those of ordinary skill in the art that some or all of the steps may be performed in a different order, may be combined or omitted, and some or all of the steps may be performed in parallel. Additional steps may be further performed. In addition, the steps may be performed actively or passively. For example, according to one or more embodiments of the present invention, some steps may be performed using polling or driven by interrupts. For example, according to one or more embodiments of the present invention, a determination step may not require a processor to process instructions unless an interrupt is received to indicate that a condition exists. As another example, according to one or more embodiments of the present invention, a determination step may be performed by performing a test (such as checking a data value to test whether the value is consistent with the condition being tested). Therefore, the scope of the present disclosure should not be considered to be limited to Fig. 9 , Fig.10 and Fig.11 The specific steps are arranged as shown in .

[0098] Fig. 9 The flowchart of FIG. 1 can be understood as a main flowchart describing the steps associated with guiding tool changes. Fig.10 and Fig.11 Additional aspects of guiding tool changes are described. Some of these additional aspects may or may not be included in the specific implementation of guiding tool changes.

[0099] Steering Fig. 9, showing a method for guiding tool changes according to one or more embodiments. As described subsequently, the tool currently being used (hereinafter referred to as the previous tool) or the tool already used for the robot program can be replaced by another tool (hereinafter referred to as the replacement tool). The replacement can be performed so as to guide the insertion of the replacement tool into the work site; for example, one or more degrees of freedom (which may be different from the insertion degrees of freedom) of the manipulator arm to which the replacement tool is attached are actuated to keep the replacement tool or a portion of the replacement tool on the insertion trajectory. Guidance during insertion can contribute to faster insertion, or reduce the possibility of accidental interaction of the replacement tool with the surrounding environment during insertion. This can enable the operator to switch faster between the previous tool and the replacement tool. Although the method can be performed to facilitate the insertion of the replacement tool, the replacement tool does not need to be inserted continuously. For example, the insertion can be paused, or the replacement tool can even be withdrawn with or without reinsertion, and the method discussed subsequently ensures that the replacement tool is controlled to follow the insertion trajectory during insertion, withdrawal, and pause of insertion.

[0100] In step 900, it is determined whether a tool change is indicated according to an embodiment of the present disclosure. The indication for a desired tool change may be, for example, a physical or virtual button pressed by an operator or assistant, a previous tool separated from a manipulator arm, or any other event defined as indicating a tool change. If a tool change is found to be indicated, execution of the method may proceed to step 902.

[0101] In step 902, according to an embodiment of the present disclosure, a kinematic configuration of the manipulator arm and the previous tool is obtained. The obtained kinematic configuration may include the joint angles and / or positioning of the previous tool when the previous tool was in the insertion position. At the insertion position, these joint angles and / or positioning are able to fully reconstruct the kinematic configuration of the previous tool when inserted into the work site. The positioning and / or orientation of the end effector (or any other component of the previous tool) of the previous tool, and even specific locations on the previous tool (such as the end effector tip) can be reconstructed using the obtained kinematic configuration.

[0102] The acquisition of the kinematic configuration may be performed based on the sensed joint states returned from the associated actuators (e.g., obtained from incremental encoder signals, Hall sensor signals, etc.). The acquired kinematic configuration may then be stored in memory immediately after the kinematic configuration is acquired or at any time thereafter (e.g., while the previous tool is still in place, or after the previous tool is removed).

[0103] In step 904, according to an embodiment of the present disclosure, a reference geometry of a previous tool is obtained. Based on the reference geometry, an insertion trajectory for the insertion of a replacement tool can be established later. The reference geometry may include a series of line segments in a three-dimensional (3D) space, which represents the recorded kinematic configuration of the previous tool. The line segments may have a length corresponding to the connecting rod of the previous tool, and the angles between the line segments may be based on the previously recorded joint angles. Therefore, a reference geometry may be established based on the kinematic configuration obtained in step 902. The reference geometry may additionally or alternatively represent the volume occupied by the previous tool. The volume may be calculated based on the line segments by establishing, for example, a cylindrical volume around these line segments. The radius of the cylindrical volume may be determined based on the width or diameter of the corresponding connecting rod of the previous tool. Non-cylindrical volumes may also be used, for example to reflect the curvature of the connecting rod, non-circular cross-sections, etc. Alternatively, a 3D model of the previous tool may also be used to determine the volume. If a volume is used for reference geometry, the volume can also be expanded or reduced based on other goals (e.g., improved safety or improved alignment, etc.), and the volume can be further widened to include the volume swept by the end effector as the previous tool is withdrawn from the work site. For example, suppose that upon removal of the previous tool (e.g., Fig. 6A and Figure 6B The wrist of the tool (shown) is flexed. As the tool is withdrawn, the wrist can remain flexed (until the wrist is forced straight as the end effector enters the cannula). The volume swept by the end effector can be considered safe for insertion of a replacement tool and can therefore be included in the volume used for the reference geometry.

[0104] In step 906, according to an embodiment of the present disclosure, the removal of the previous tool is detected. When the previous tool is mechanically separated from the manipulator arm, the removal, which may be performed by an assistant or operator, may be detected. More specifically, the assistant or operator may mechanically detach the tool from the manipulator arm, and may further manually withdraw the detached tool from the work site. Consider, for example, Figure 5 The configuration of the manipulator arm shown is similar to Fig. 6A and Figure 6B The assistant or operator can disengage the tool by separating it from the tool holder carriage of the manipulator arm and withdrawing the tool through the cannula of the manipulator arm. When withdrawing the tool, Figure 6BAs shown, if the flexed tool wrist is straightened when in contact with the cannula, the end effector is allowed to pass through the cannula. As an alternative to the withdrawal of the previous tool from the insertion position by the assistant or operator, the withdrawal of the previous tool can also be performed by the actuator of the robotic manipulation system. The previous tool can be withdrawn from the insertion position by the robotic manipulation system in a supervised or unsupervised manner. In this case, as the wrist reaches the cannula, the robotic manipulation system can control its straightening. Once the withdrawal of the previous tool has been completed by the robotic manipulation system, the operator or assistant can finally mechanically detach the replacement tool from the manipulator arm.

[0105] In step 908, a replacement tool is received, identified, and engaged in accordance with an embodiment of the present disclosure. Receiving the replacement tool may involve sensing the coupling of the replacement tool to a tool holder carriage of the manipulator arm. The replacement tool may be different from the previous tool, or may be a previous tool that is to be reinserted. If a replacement tool that is different from the previous tool is inserted, the geometry of the replacement tool may be different, the type and / or number of degrees of freedom may be different, the range of motion available for the degrees of freedom may be different, and / or even one or more functions may be different (e.g., the previous tool may be equipped with an end effector for cutting, while the replacement tool may be equipped with a clamp-type end effector or a single hook).

[0106] Once it is detected that the replacement tool is installed on the manipulator arm, the replacement tool can be identified to obtain a kinematic description of the replacement tool. The kinematic description may include a connecting rod geometry (including shaft length, end effector length, type of end effector, description of the wrist (if the replacement tool includes a wrist) and the degrees of freedom of the replacement tool). The kinematic description may allow the configuration of the replacement tool to be calculated in 3D space. Identifying the replacement tool may further involve obtaining additional parameters of the replacement tool. For example, the gear ratio of the joint for driving the replacement tool can be obtained under a given mechanical input so that the joint movement of the replacement tool can be calculated. The identification of the replacement tool can be performed based on the information accompanying the replacement tool. For example, the replacement tool may include a readable memory chip, from which the description and / or specifications of the replacement tool can be obtained. Alternatively, the description and / or specifications of the replacement tool can be provided by an operator or an assistant.

[0107] Engaging the replacement tool may involve mechanical engagement of the replacement tool with the tool holder carriage of the manipulator arm. The mechanical engagement may couple the degrees of freedom of the replacement tool to the control input provided by the manipulator arm. For the manipulator arm and tool ( Figure 5 , Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E), the control input can be a mechanical input provided to a spool of a cable that can be rotated to control the degrees of freedom of actuating the replacement tool. The tool holder carriage of the manipulator arm may include a magnetic disk for coupling to the spool to drive the spool when the replacement tool is connected to the manipulator arm. Once the replacement tool is engaged, the positioning and / or orientation of all joints of the replacement tool are known and controllable. In one or more embodiments, the engagement of the replacement tool can occur with the tool holder carriage in a withdrawn position. Therefore, the replacement tool can be engaged with the tool holder carriage through the cannula without significantly protruding into the work site. For example, engagement is possible when the end effector of the replacement tool does not extend beyond the work site of the cannula. Subsequently, as described below, the engaged replacement tool can be inserted into the work site, where the degrees of freedom of the replacement tool are controllable.

[0108] In step 910, according to an embodiment of the present disclosure, the insertion of the replacement tool toward the target position is facilitated. The joint angle or positioning of the replacement tool (and / or manipulator arm) can be adjusted during the insertion of the replacement tool. According to an embodiment of the present disclosure, the insertion of the replacement tool can be driven by an external driving force applied, for example, by an operator or an assistant. The driving force can be applied substantially in the direction of the insertion axis of the replacement tool. However, the driving force does not have to be precisely aligned with the insertion axis. The degrees of freedom of the manipulator arm (except the insertion degrees of freedom) can be position-controlled to prevent movement not along the insertion axis. If the component of the external driving force in a direction not aligned with the insertion axis is excessive, visual or auditory feedback can be provided to the operator or assistant, and / or further insertion of the replacement tool can be prevented. The acceptable limit of deviation from the insertion axis can depend on various factors, such as the current position on the insertion trajectory, the previous tool, the replacement tool, etc. As described below with reference Fig.10 and Fig.11 As discussed in the flowchart of , an incorrectly applied driving force will not result in an incorrectly performed insertion of the replacement tool. As described above, because one or more joints of the manipulator assembly are floating, it is possible to drive the replacement tool by external force.

[0109] exist Figure 5 In the example of a manipulator arm, a prismatic joint that enables linear movement of a tool holder carriage can be floating, thereby providing an insertion degree of freedom, allowing insertion along an insertion axis by an external drive force. As the replacement tool is inserted, the elongated shaft of the replacement tool passes through the insertion tube as the end effector of the replacement tool approaches the target position. Although the floating of the joint may mainly involve gravity compensation, additional physical properties may be superimposed. For example, a limit on the insertion speed may be imposed by superimposing viscous friction.

[0110] In one or more embodiments, during the insertion of the replacement tool, the kinematic configuration of the replacement tool is controlled to facilitate the insertion. More specifically, one or more degrees of freedom of the replacement tool are actively controlled so that the replacement tool or a part of the replacement tool (e.g., the end effector tip or any other point on the replacement tool) follows the insertion trajectory toward the target position. In this scenario, only the degrees of freedom of the replacement tool are actuated, and the degrees of freedom of the manipulator arm are not actuated to guide the replacement tool to move according to the insertion trajectory. Additionally or alternatively, the degrees of freedom of the manipulator arm can be controlled so that the replacement tool follows the insertion trajectory toward the target position. Only the degrees of freedom of the manipulator arm are actuated (controlling the manipulator arm so that the replacement tool follows the insertion trajectory), or the degrees of freedom of the manipulator arm and the replacement tool are actuated (controlling the manipulator arm and the replacement tool so that the replacement tool follows the insertion trajectory). Therefore, the method can control one or more degrees of freedom of the manipulator assembly in response to the external manipulation of the replacement tool. The one or more degrees of freedom controlled can be different from the insertion degrees of freedom. A detailed description of controlling one or more degrees of freedom to move the replacement tool according to the insertion trajectory is subsequently provided.

[0111] Go to Fig.10 A flow chart of a method for facilitating insertion of a replacement tool toward a target location is described in accordance with an embodiment of the present disclosure. Fig.10 method.

[0112] In step 1000, an insertion trajectory is determined according to an embodiment of the present disclosure. In one or more embodiments, the insertion trajectory provides guidance during insertion of the replacement tool. During insertion, the tool tip of the replacement tool or any other element of the replacement tool can be controlled to be on the insertion trajectory.

[0113] According to an embodiment of the present disclosure, the insertion trajectory can be based on the reference geometry of the previous tool and further based on the kinematics and geometry of the replacement tool. Fig. 9 As described, it is assumed that the reference geometry includes a series of line segments representing the kinematic configuration of the previous tool. These line segments can be used to construct an insertion trajectory. Although the line segments of the reference geometry may have bends at joints representing sharp turns, the insertion trajectory derived from these line segments can contain such sharp turns, or be modified to have smooth transitions between straight portions, thereby providing a trajectory without discontinuities. As a result, the insertion trajectory can be at least partially aligned with the central axis of the previous tool. The insertion trajectory can terminate at a target position. Alternatively, if the reference geometry of the previous tool is defined as a volume, the insertion trajectory can be established anywhere within the volume, such as tracking the volume centrally toward the target position. The insertion trajectory can be selected to be entirely within the volume. As previously described, Figure 8BAs discussed, the target position may or may not coincide with the insertion position of the previous tool, depending on the configuration of the system, user preferences, the kinematics of the replacement tool, hardware constraints and / or software constraints allowing movement of the manipulator to pivot the replacement tool, the range of motion of one or more degrees of freedom of the replacement tool, any other factors described herein, etc. The insertion trajectory and target position may be defined accordingly.

[0114] According to an embodiment of the present disclosure, the steps discussed subsequently may be performed during the insertion of the replacement tool. However, the replacement tool need not be continuously inserted. For example, while performing the steps discussed subsequently, the insertion may be paused, or the replacement tool may even be withdrawn and reinserted. Thus, the method may ensure that the replacement tool follows the insertion trajectory under various conditions, including the insertion and withdrawal of the replacement tool.

[0115] In step 1002, the current position of the replacement tool is determined according to an embodiment of the present disclosure. More specifically, the position of the tool tip of the replacement tool or another element of the replacement tool on the insertion trajectory can be determined. Forward kinematics based on the kinematic description of the replacement tool can be used to determine the current position of the replacement tool in space. The current position can be determined in any coordinate system that allows the current position to be associated with the insertion trajectory (e.g., in a Cartesian coordinate system).

[0116] In step 1004, according to an embodiment of the present disclosure, a control command for the replacement tool to move according to the insertion trajectory is determined. If the replacement tool deviates from the insertion trajectory, a control command can be selected to turn the replacement tool to the insertion trajectory. If the replacement tool is on the insertion trajectory, a control command can be selected to keep the replacement tool on the insertion trajectory. The control command can be directed to one or more degrees of freedom of the replacement tool and / or the manipulator arm. In one embodiment of the present disclosure, a point on the insertion trajectory is determined as a target point, and the replacement tool will be driven toward the target point. The target point can be selected based on the shortest distance between the replacement tool and the insertion trajectory (the shortest distance is defined by a line perpendicular to the insertion trajectory and intersecting the replacement tool at the element of the replacement tool to be on the insertion trajectory). Using the target point, a control signal can be generated to adjust one or more degrees of freedom of the replacement tool and / or the manipulator arm. According to an embodiment of the present disclosure, it can be as previously referenced. Figure 7 As discussed, inverse kinematics is used to generate the control signals.

[0117] Depending on the degrees of freedom of the manipulator arm and the replacement tool, multiple possible control signals may be appropriate due to the redundancy in the kinematic configuration of the manipulator arm and the replacement tool. In order to obtain the desired control signal, various kinematic constraints can be imposed to obtain the solution:

[0118] (i) According to an embodiment of the present disclosure, the degree of freedom available for control is the degree of freedom of replacing the tool. Fig. 6A , Figure 6B , Figure 6C , Fig.6D and Fig. 6E In the example of the tools provided in , these degrees of freedom can include one or more rotational degrees of freedom at the wrist (e.g., wrist pitch, wrist yaw).

[0119] (ii) According to an embodiment of the present disclosure, the degrees of freedom available for control include degrees of freedom of the manipulator arm (e.g., yaw, pitch of the tool holder carriage and / or roll of the tool). The manipulator arm achieves a change in the positioning of the replacement tool when moving, thereby moving the replacement tool or a part of the replacement tool. In a scenario where the work site is a cavity, the movement of the manipulator may be constrained to establish a remote center of the manipulator arm, where only pivoting is possible, but no translation is allowed except along the insertion axis of the replacement tool. Fig. 8A As shown, the remote center can coincide with the hole of the tool entry cavity. By pivoting the tool axis, when actuating the degrees of freedom of the manipulator arm, the positioning of, for example, the tip of the end effector of the replacement tool can be updated. This method can also allow controlled insertion of the replacement tool even if the replacement tool is not equipped with a wrist (for example, in the case where an endoscope is used as a replacement tool).

[0120] (iii) According to an embodiment of the present disclosure, a combination of (i) and (ii) may be implemented. The combination of (i) and (ii) may be applied when inserting a replacement tool having an end effector that is shorter than the end effector of the previous tool, or a replacement tool having less degrees of freedom or range of motion than the previous tool. For example, the shorter end effector may not be able to get close enough to the insertion position of the previous tool using wrist movement alone. In the described scenario, initial control of the degrees of freedom of the replacement tool may be sufficient to allow the replacement tool to follow the insertion trajectory. However, ultimately, when approaching the target position, movement of one or more degrees of freedom of the manipulator arm may be required to complete the insertion. Similarly, a combination of (i) and (ii) may be applied when inserting a replacement tool having an end effector that is longer than the end effector of the previous tool, while also requiring the end effector of the replacement tool to have the same orientation as the previous tool. In this scenario, the "extra length" of the end effector of the replacement tool can be accommodated by movement of one or more degrees of freedom of the manipulator arm. Various such scenarios are discussed below with reference to FIGS. 12A , 12B, 12C, 12D, and 12E.

[0121] Although the above description is based on an insertion trajectory, alternative methods for guiding a replacement tool may be used without departing from the present disclosure. For example, the volume occupied by the previous tool (810) may be used to guide a replacement tool within the volume, may be used to define an insertion trajectory for a replacement tool, etc.

[0122] In step 1006 , at least one degree of freedom of the manipulator arm and the replacement tool is actuated based on the control command determined in step 1004 , according to an embodiment of the present disclosure.

[0123] In step 1008, according to an embodiment of the present disclosure, it is determined whether the replacement tool has reached the target location. If the target location has not been reached, the execution of the method can return to step 1002. Alternatively, if the target location has been reached, the execution of the method can proceed to step 1010. For the purpose of performing step 1008, the target location can be spatially expanded to form a target area with a non-zero geometric range. The size of the target area can be determined based on safety and accuracy considerations. The target area can be, for example, a spherical area centered around the target location.

[0124] In step 1010, further insertion of the replacement tool is prevented in accordance with an embodiment of the present disclosure. A virtual wall having an appropriate level of stiffness may block or otherwise impede further insertion movement on a joint that is controlled to float. Thus, although withdrawal is still possible, further insertion is not possible unless an external force overcomes the resistance of the actuator providing the virtual wall. Visual, auditory, and / or tactile cues may further be provided to the operator. Alternatively, the floating joint may be switched to a velocity or positioning control mode, thereby preventing further movement.

[0125] After step 1010 is completed, the insertion of the replacement tool is considered complete.

[0126] To further explain Fig.10 The steps of the method are then referred to Figure 8BThe scenario shown discusses these steps. It is assumed that the insertion axes (886) of the previous tool and the replacement tool coincide. The linear degrees of freedom of the tool holder slide are floating, so the force applied from the outside causes the replacement tool to be inserted toward the target position. Initially, the end effector of the replacement tool is on the insertion axis. It is assumed that the end effector tip is the element of the replacement tool to be controlled on the insertion trajectory. Therefore, for the initial straight portion of the insertion trajectory, it is not necessary to significantly actuate the degrees of freedom of the replacement tool, and the end effector of the inserted replacement tool advances straight on the insertion trajectory. According to an embodiment of the present disclosure, when reaching the curved portion of the insertion trajectory, in step 1004, the deviation of the end effector tip from the insertion trajectory is detected. The actuation to keep the end effector tip on the insertion trajectory is determined as the flexion of the tool wrist. No actuation of other degrees of freedom is required, so the insertion axis travels straight. In step 1006, the wrist joint is actuated, and the end effector tip is therefore maintained on the insertion trajectory. According to an embodiment of the present disclosure, the repetition of steps 1004 and 1006 gradually adjusts the wrist as the insertion proceeds. Ultimately, once the end effector tip reaches the target position, the execution of the method terminates.

[0127] While the above scenario provides a basic example, additional scenarios are discussed below with reference to FIG. 12A, FIG. 12B, FIG. 12C, FIG. 12D, and FIG. 12E. Those skilled in the art will appreciate that the described methods can be applied to other scenarios not shown herein. These additional scenarios also discuss the consequences of changing the end effector length, allowing the insertion axis to pivot, etc., according to embodiments of the present disclosure.

[0128] Go to Fig.11 A flow chart of a method for facilitating insertion of a replacement tool toward a target location is described according to an embodiment of the present disclosure. Fig.11 As a method Fig.10 An alternative to the method. Fig.10 According to an embodiment of the present disclosure, the method described below provides intuitive force feedback to an operator or assistant driving the insertion movement of a tool. During insertion, this force feedback may be particularly beneficial in scenarios involving joint movement of a manipulator arm joint. To further illustrate the benefits, consider Fig. 8A and Figure 8BThe scenario described in , wherein the movement of the replacement tool in the cavity is invisible to the assistant driving the insertion movement of the replacement tool. If the reconfiguration of the manipulator joint is used to keep the replacement tool on the insertion trajectory, the manipulator joint movement may surprise the assistant. In addition, as the manipulator arm joint moves, the direction of the insertion movement itself changes, thereby directly affecting the interaction between the assistant and the manipulator arm during insertion. In particular, when the manipulator arm joint movement involves insertion, the described method can provide intuitive force feedback to the assistant, thereby facilitating insertion. The method relies on a virtual manipulator component for controlling a physical manipulator component (including a physical manipulator component of a replacement tool and one or more manipulator arm segments or links). According to an embodiment of the present disclosure, the virtual manipulator component is configured to follow the movement of the physical manipulator component while being constrained to a constraint trajectory. Due to the constraints of the constraint trajectory, the virtual manipulator component may not completely follow the physical manipulator component. The resulting deviation between the virtual manipulator and the physical manipulator can be used to generate a spring-like force presented to the assistant performing the insertion movement, which corrects the movement of the physical manipulator component toward the movement of the virtual manipulator component. The steps described subsequently implement this example.

[0129] In step 1100, a constraint trajectory is determined according to an embodiment of the present disclosure. Fig.10 The constraint trajectory can be used to provide guidance during the insertion of the replacement tool. Therefore, step 1100 can be performed similarly to step 1000.

[0130] The following steps may be performed during the insertion of the replacement tool. However, the replacement tool need not be inserted continuously. For example, the insertion may be paused while the steps discussed subsequently are performed, or the replacement tool may even be withdrawn and reinserted. Thus, the method may ensure that the replacement tool follows the insertion trajectory under a variety of conditions including the insertion and withdrawal of the replacement tool.

[0131] In step 1102, according to an embodiment of the present disclosure, a current kinematic configuration of the virtual manipulator assembly is determined. The current kinematic configuration of the virtual manipulator assembly can be determined by updating the previous kinematic configuration of the virtual manipulator assembly (from the previous time step). Fig.11 To initially set the kinematic configuration of the virtual manipulator assembly, such as when engaging a replacement tool, the kinematic configuration of the virtual manipulator assembly can be set to match the kinematic configuration of the physical manipulator assembly. The current kinematic configuration of the virtual manipulator assembly can be determined in three steps.

[0132] In the first step (step 1102A), according to an embodiment of the present disclosure, energy minimization is performed. Energy minimization results in a first set of joint angle corrections to be applied to the kinematics of the virtual manipulator component of the previous time step. The first set of joint angle corrections can make the virtual manipulator component (or more specifically, an element of the virtual manipulator arm component, such as the end effector tip (which can be defined as a reference point)) close to but not necessarily located on the constraint trajectory. In the second step (step 1102B), according to an embodiment of the present disclosure, a second set of joint angle corrections to be applied to the kinematic configuration of the virtual manipulator component of the previous time step is obtained. After the first set of joint angle corrections drives the virtual manipulator component close to the constraint trajectory, the second set of joint angle corrections can translate the virtual manipulator component onto the constraint trajectory. In the third step (step 1102C), according to an embodiment of the present disclosure, the first set of joint angle corrections and the second set of joint angle corrections are applied to the kinematic configuration of the virtual manipulator component of the previous time step. These three steps are described subsequently.

[0133] In step 1102A, according to an embodiment of the present disclosure, energy optimization is performed at the joint level as the current configurations of the virtual manipulator assembly and the physical manipulator assembly deviate. Specifically, when the kinematic configuration of the virtual manipulator assembly is used as a control input of the joint controller, energy accumulation may be related to the proportional control gain of the joint controller that attempts to minimize the error between the current configurations of the virtual manipulator assembly and the physical manipulator assembly. By optimizing the joint angles of the virtual manipulator assembly, energy accumulation in the joints can be minimized. The optimization can be performed as follows.

[0134] First, identify the point on the constraint trajectory (which may be defined as a reference point) that is closest to the element of the virtual manipulator assembly to be kept on the constraint trajectory. 虚拟操纵器组件 Next, tangent lines are obtained at identified points on the constraint trajectory. These operations are performed in Cartesian space.

[0135] Subsequently, the obtained tangents are transformed into joint space using the inverse Jacobian matrix, which allows the optimization of the joint angles of the virtual manipulator assembly to minimize the energy. Thus, any type of optimization method can be used to obtain a first set of joint angle corrections dΘ for the virtual manipulator assembly. 能量 Based on the difference between the joint angles of the physical and virtual manipulator components and the associated proportional control gains, dΘ 能量 The energy of the combination of all joints under consideration can be minimized. Note that since the optimization is performed using tangents rather than the constraint trajectories themselves, dΘ 能量The element of the virtual manipulator assembly may be maintained on a constraint trajectory (reference point) close to the constraint trajectory, but not necessarily on the constraint trajectory. Step 1102B, which is subsequently performed, identifies a second set of joint angle corrections that maintain the element of the virtual manipulator assembly on the constraint trajectory (reference point) on the reference trajectory.

[0136] In step 1102B, according to an embodiment of the present disclosure, a second set of joint angle corrections for translating the virtual manipulator assembly onto the constraint trajectory is determined using the following operations.

[0137] First, using dΘ 能量 (Converted to Cartesian coordinate system) After adjustment, identify the element on the constraint trajectory that is closest to the virtual manipulator component to be kept on the constraint trajectory (which can be defined as the reference point X 虚拟操纵器组件 ) on the constraint trajectory of point X 虚拟操纵器组件+ Next, a correction move is obtained in Cartesian space towards a point on the constraint trajectory. 能量 Once adjusted, you can do this by subtracting the X value from the point on the constraint trajectory of the element closest to the virtual manipulator component you want to keep on the constraint trajectory. 虚拟操纵器组件+ The obtained correction movement is then converted to the joint space to obtain a second set of joint angle corrections dΘ of the virtual manipulator assembly. 平移 .

[0138] In step 1102C, based on: θ 虚拟操纵器组件 (t+1)=θ 虚拟操纵器组件 (t)+βdΘ 能量 +γdΘ 平移 , (where 0<β<1 and 0<γ<1, to limit the amplitude of the corrective movement for stability reasons), update the elements of the virtual manipulator assembly to be kept on the constrained trajectory (which can be defined as reference points). After completing step 1102C, the kinematic configuration of the virtual manipulator assembly on the constrained trajectory is available.

[0139] In the above steps 1102A and 1102B, multiple forward kinematics transformations and inverse kinematics transformations are performed to perform steps in Cartesian space and joint space. Although the updated Jacobian matrix can be calculated separately for each step, a single Jacobian matrix can be used for these steps. The loss of accuracy can be negligible, while the computational efficiency can be greatly improved.

[0140] In step 1104, according to an embodiment of the present disclosure, the current kinematic configuration of the virtual manipulator component is used to drive the actuator of the physical manipulator component. It is assumed that the joint controller is a PD controller. Using the joint angles of the virtual manipulator component as the control input of the corresponding joint controller can effectively establish springs in these joints: the greater the difference between the joint angles of the virtual manipulator component and the joint angles of the physical manipulator component, the stronger the torque generated by the corresponding joint actuator. The torque generated by the joints of the physical manipulator component can be experienced by the assistant driving the insertion movement. The assistant thus obtains feedback about the difference in an intuitive manner. The assistant can allow corrective movements caused by the accumulation of forces in the actuator to occur, thereby reducing the difference. On the other hand, if the user is preventing the corrective movement from occurring (by generating a reaction force), the force accumulation in the actuator may persist or even increase if the difference increases further. If the difference increases to exceed a preset level, a visual or audible warning can be issued, and / or execution can be stopped. Fig.11 method.

[0141] In step 1106, it is determined whether the replacement tool has reached the target location. If the target location has not been reached, execution of the method may return to step 1102. Alternatively, if the target location has been reached, execution of the method may proceed to step 1108. For the purpose of performing step 1106, the target location may be spatially expanded to form a target region having a non-zero geometric extent. The size of the target region may be determined based on safety and accuracy considerations. The target region may be, for example, a spherical region centered around the target location.

[0142] In step 1108, further insertion of the replacement tool is prevented. A soft or hard virtual wall can prevent further insertion movement on a joint that is controlled to float. Thus, although withdrawal is still possible, further insertion is not possible unless an external force overcomes the resistance of the actuator providing the virtual wall. Alternatively, the floating joint can be switched to a velocity or positioning control mode, thereby preventing further movement.

[0143] After step 1108 is completed, insertion of the replacement tool is considered complete.

[0144] As described above, when Fig.11 This approach may be particularly useful when applied to degrees of freedom that are responsible for interaction with the assistant. Figure 5In the example of the manipulator arm introduced in , these degrees of freedom may include yaw, pitch, and IO movement of the tool holder carriage. When one or more of these degrees of freedom of the physical manipulator assembly deviate from the corresponding degrees of freedom of the virtual manipulator assembly during insertion (e.g., due to excessive forces that are not aligned with the insertion axis applied by the operator), nevertheless, based on controlling the physical manipulator assembly to achieve the configuration of the virtual manipulator assembly, a constrained trajectory can be followed. Those skilled in the art will appreciate that the method may be applied to any other type of manipulator arm / manipulator arm assembly without departing from the present disclosure.

[0145] When the described method is used to control the yaw, pitch, and 10 degrees of freedom of a manipulator arm segment supporting a tool (e.g., a tool holder carriage), these degrees of freedom need to be moved with consideration of one or more degrees of freedom to compensate for the translation caused by the movement of one or more degrees of freedom of the tool. Thus, the previously described step 1102A can be implemented as follows.

[0146] For the three degrees of freedom of the tool holder carriage (yaw, pitch, and IO), in preparation for performing the energy minimization of step 1102A, and using α to indicate the motion along the constrained trajectory (as previously described in reference Fig.11 described),

[0147]

[0148] It can be used to transform the tangent in Cartesian space to joint space. Here, v 推车 is the Cartesian velocity representing the constraint trajectory in Cartesian space, expressed by v 推车 Convert to joint space to get v 关节 ,and is the inverse Jacobian matrix for the transformation. As described above, when Θ is divided into Θ 工具 (for tool degrees of freedom) and Θ 滑架 (for the tool holder carriage degrees of freedom), the transformation from the tangent in Cartesian space to joint space can be performed using the following equation

[0149]

[0150] Among them J 平移x工具 is the part of J that maps the tool degrees of freedom to translations, and dΘ 工具 / dα is a function of the algorithm used to guide the end effector during insertion. As described previously, then Fig.11 Energy minimization of step 1102A and all other steps of the method are performed.

[0151] You can combine additional functions with Fig. 9 , Fig.10 and Fig.11 As described later, at least some of these features can further increase the safety of insertion.

[0152] According to embodiments of the present disclosure, the insertion of the replacement tool may be at least partially monitored by an assistant or operator using an imaging device. Fig. 8A and Figure 8B Scenario where the primary movement of the tool during insertion is (a) linear insertion, and (b) flexion of the wrist to pivot the end effector. The flexion of the wrist occurs near the end of the insertion movement, as governed by the insertion trajectory. Assume that imaging equipment is available. To benefit from the availability of imaging equipment, the Fig. 9 , Fig.10 and Fig.11 A method is provided to incorporate information obtained from the imaging device. Specifically, a phase of insertion requiring wrist flexion may be permitted only when it is known that the end effector is within the field of view of the imaging device. The field of view may be calculated using the kinematics of a manipulator arm supporting the imaging device and the optical properties of the imaging device. As described in steps 1010 and 1112, further insertion of the replacement tool may be prevented if the instrument is not within the field of view. Additionally, manual confirmation of the insertion by an assistant viewing a video image obtained from the imaging device may be required to allow completion of the insertion.

[0153] According to an embodiment of the present disclosure, sensing of insertion force is performed to monitor insertion. Excessive insertion force may indicate that an obstacle is preventing further insertion. To prevent potential damage to an obstacle or tool, further insertion of a replacement tool may be prevented when excessive insertion force is detected, as described in steps 1010 and 1112. One or more force sensors for force sensing may be configured to measure the insertion force at the tip of the end effector, or on the tool or in any other desired area on the manipulator arm.

[0154] According to an embodiment of the present disclosure, a periodically updated visual rendering of the insertion is provided to an assistant performing the insertion. The visual rendering can visualize various aspects of the insertion that might not otherwise be visible, such as movement of the degrees of freedom of the replacement tool, including flexion of the wrist of the tool (e.g., within a cavity). The visual rendering can include a rendering of the insertion trajectory and a rendering of the replacement tool as it travels along the insertion trajectory. In addition, the volume of the previous tool can be rendered. The rendering of the replacement tool can be based on the actual kinematics of the replacement tool being inserted. Thus, for example, when an assistant applies excessive force to the manipulator arm in a direction that is not aligned with the insertion axis, the deviation from the insertion trajectory can be visualized while the replacement tool is inserted, thereby causing misalignment of the manipulator arm and / or the replacement tool.

[0155] In one or more embodiments, additional constraints may be imposed on one or more joints that provide the insertion freedom. Although one or more joints were previously described as floating, the ratchet characteristics may be superimposed. The ratchet may limit the float in the insertion direction by reducing or otherwise preventing movement in the opposite direction. If the insertion of the replacement tool involves pivoting of the tool shaft, the ratchet may also be extended to apply to the tool shaft of the replacement tool.

[0156] Turning to FIG. 12A , FIG. 12B , FIG. 12C , FIG. 12D and FIG. 12E , use Fig. 9 , Fig.10 and Fig.11 The method schematically illustrates various results of the insertion of a replacement tool according to one or more embodiments. Each of Figures 12A, 12B, 12C, 12D, and 12E shows the previous tool at the insertion position when the replacement tool is fully inserted into the target position before removal, and the tool tips or end effectors of the previous tool and the replacement tool. In each scenario, the end effector of the previous tool is flexed relative to the axis of the replacement tool (i.e., does not form a straight extension of the axis). Therefore, the end effector of the replacement tool may also require a certain degree of flexion. These scenarios reflect the initial insertion of the replacement tool into the target position. Fig. 8A 12A , 12B , 12C , 12D , and 12E , a single degree of freedom is assumed at the wrist. For each example discussed subsequently, the simplifying assumptions are noted. Those skilled in the art will recognize that Fig. 9 , Fig.10 and Fig.11 The method described in is not limited to the scenarios shown in Figures 12A, 12B, 12C, 12D and 12E.

[0157] In FIG. 12A , the replacement tool and the previous tool include end effectors of the same length. For simplicity, it is assumed that the position of the tool tip of the previous tool is used as the target position. Therefore, after the insertion is completed, in various embodiments, when the replacement tool has reached the target position, the kinematic configuration of the replacement tool is the same as the kinematic configuration of the previous tool. The insertion depth and insertion orientation of the shaft of the previous tool and the replacement tool are the same or nearly the same. In addition, the wrist angle and position of the tool tip of the replacement tool and the previous tool coincide.

[0158] In FIG. 12B , the replacement tool is equipped with an end effector that is longer than the end effector of the previous tool. For simplicity, it is assumed that the position of the tool tip of the previous tool is used as the target position. In various embodiments, due to the additional length of the end effector of the replacement tool, after the replacement tool is inserted toward the target position, the positions of the replacement tool tip and the previous tool tip still coincide. However, the kinematic configuration is different. Specifically, the wrist angle of the replacement tool is less than the wrist angle of the previous tool that reaches the same tool tip position. In addition, the insertion depth of the shaft of the replacement tool is less than the insertion depth of the shaft of the previous tool. Despite the different kinematic configurations, the insertion operation is still performed throughout the insertion process to keep the tool tip of the replacement tool on the insertion trajectory. Therefore, during insertion, the wrist of the replacement tool remains in an extended configuration until the tool tip reaches the wrist position of the previous tool, where the wrist of the replacement tool begins to flex to keep the tool tip of the replacement tool on the insertion trajectory. Therefore, despite the change in the end effector length, a simple and effective insertion is provided.

[0159] In FIG12C , the replacement tool is equipped with a shorter end effector than the end effector of the previous tool. Due to the reduction in end effector length and the degree of freedom constraints (the orientation of the tool axes remains constant), the target position is selected to be a tool tip position that is "shorter" than the previous tool. After insertion is completed, in various embodiments, when the replacement tool has reached the target position, the kinematic configuration of the replacement tool is the same as that of the previous tool, except for the shorter end effector.

[0160] Common to Figures 12A, 12B, and 12C is that during insertion, only the wrist configuration changes, while the orientation of the tool axis remains constant.

[0161] In FIG. 12D , the replacement tool is equipped with an end effector that is shorter than the end effector of the previous tool, similar to the scenario described in FIG. 12C . However, in FIG. 12D , not only the wrist configuration is changed during insertion, but also the tool axis orientation is changed. More specifically, in FIG. 12D , the tool axis is allowed to pivot about a remote center where the manipulator arm coincides with the hole, where the replacement tool enters the work site. Despite the shortening of the end effector, the combination of wrist flexion and tool axis pivoting allows the tool tip of the replacement tool to reach the position of the tool tip of the previous tool. During insertion, the wrist of the replacement tool remains in an extended configuration until the tool tip reaches the wrist position of the previous tool, where the wrist of the replacement tool begins to flex to keep the tool tip of the replacement tool on the insertion trajectory. In order to reach the target position, for simplicity, the target position is selected to coincide with the position of the tool tip of the previous tool, and finally the axis pivoting is performed in conjunction with the wrist flexion until the tool tip of the replacement tool reaches the target position, while always remaining on the insertion trajectory. Depending on the geometry of the insertion trajectory, including the radius at the transition between straight segments of the insertion trajectory, the pivoting can be stepped in or out to obtain a smooth coordinate shift between axis pivoting and wrist flexion, thereby providing simple and efficient insertion despite changes in end effector length.

[0162] Coordinated pivoting of the axes and wrist flexion may also be used when the replacement tool is equipped with an end effector that is longer than the end effector of the previous tool, such as in the scenario of Figure 12B. In this context, the tool tip of the replacement tool can reach a target position that coincides with the tool tip of the previous tool while also matching the end effector orientation of the replacement tool with the end effector orientation of the previous tool.

[0163] In the scenarios shown in Figures 12A, 12B, 12C, and 12D, the degrees of freedom of the replacement tool have sufficient range of motion to achieve the kinematic configuration shown. For example, in Figure 12A, the range of motion of the wrist of the replacement tool is sufficient to achieve the wrist configuration of the previous tool. In other scenarios, the replacement tool may have a limited range of motion, or one or more degrees of freedom may be completely unavailable, for example, when the previous tool with the wrist is replaced by a replacement tool without a wrist. In such cases and for some embodiments, the described method will rely on the axis pivoting to compensate for the limited range of motion at the wrist.

[0164] In FIG. 12E , the replacement tool is equipped with an end effector having a length similar to that of the previous tool. However, the wrist of the replacement tool has a limited range of motion compared to the wrist of the previous tool. Therefore, when the axis is not allowed to pivot, the tool tip of the replacement tool cannot reach a target position that coincides with the position of the tool tip of the replacement tool. Therefore, the target position is selected to be "shorter" than the position of the tool tip of the previous tool.

[0165] However, as previously described, when the shaft is allowed to pivot, the limited range of motion at the wrist of the replacement tool may be compensated for by pivoting of the shaft, enabling the end effector of the replacement tool to reach the location of the previous tool tip despite the shortening of the end effector.

[0166] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art having benefit of this disclosure will appreciate that other embodiments can be designed which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the present invention should be limited only by the appended claims.

Claims

1. A computer-assisted medical system, comprising: Manipulator arm; as well as A controller comprising a computer processor and configured to: determining a kinematic configuration, the kinematic configuration being the kinematic configuration of the manipulator arm and a previous tool attached to the manipulator arm, and wherein the end effector of the previous tool is in an insertion position, prior to mounting a replacement tool on the manipulator arm, determining a reference geometry of said prior tool in said kinematic configuration, determining an insertion trajectory of the replacement tool based on the reference geometry, and The insertion of the replacement tool toward the target position of the insertion trajectory is facilitated by the following steps: controlling the replacement tool to move according to the insertion trajectory while controlling the angle or positioning of the joints of the replacement tool, Wherein controlling the angle or the position of the joint of the replacement tool comprises: adjusting the angle or the position of the joint of the replacement tool.

2. The computer-aided medical system according to claim 1, wherein: The controller is further configured to: detecting removal of the previous tool from the manipulator arm; and Before determining the insertion trajectory of the replacement tool, the mounting of the replacement tool on the manipulator arm is detected.

3. The computer-aided medical system according to claim 1, wherein: The previous tool and the replacement tool are the same tool.

4. The computer-aided medical system according to claim 1, wherein: The insertion position is the position of the tool tip of the previous tool in the kinematic configuration, and wherein the target position is based on the insertion position.

5. The computer-aided medical system according to claim 1, wherein: The controller is further configured to prevent further insertion of the replacement tool beyond the target location.

6. The computer-aided medical system according to claim 1, wherein: The controller is further configured to prevent movement of the replacement tool in response to the replacement tool reaching the target position.

7. The computer-aided medical system according to claim 1, wherein: Controlling the angle or the position of the joint of the replacement tool includes flexion of a wrist between a shaft of the replacement tool and an end effector.

8. The computer-assisted medical system according to claim 7, wherein: The controller is further configured to: determining whether the end effector of the replacement tool is within a field of view of an imaging device; and The flexion of the wrist is permitted only when the end effector of the replacement tool is visible in the field of view.

9. The computer-aided medical system according to claim 1, wherein: The manipulator arm and the replacement tool together have a plurality of degrees of freedom, and wherein controlling the replacement tool to move according to the insertion trajectory results in actuation of at least one of the plurality of degrees of freedom other than the insertion degree of freedom.

10. The computer-aided medical system according to claim 9, wherein: Actuation of the at least one degree of freedom comprises pivoting of a portion of the manipulator arm.

11. The computer-aided medical system according to claim 10, wherein: The pivoting of the portion of the manipulator arm is about a remote center of the manipulator arm.

12. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is further configured to: sensing an insertion force of the replacement tool; and In response to the insertion force exceeding a threshold, further insertion of the replacement tool is prevented.

13. The computer-assisted medical system of any one of claims 1 to 11, further comprising a display configured to provide a visual rendering of the insertion of the replacement tool during the inserting.

14. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is further configured to: obtaining a kinematic description of the replacement tool; and The insertion trajectory is further determined based on the kinematic description.

15. The computer-aided medical system according to claim 14, wherein: The controller is configured to further determine the insertion trajectory based on the kinematic description by the following steps: The insertion trajectory is further determined based on a length of an end effector of the replacement tool relative to a length of the end effector of the previous tool.

16. The computer-assisted medical system according to claim 14, in, The kinematic description of the replacement tool specifies the range of motion of the degrees of freedom of the replacement tool, and Wherein the controller is configured to further determine the insertion trajectory based on the range of motion of the degree of freedom of the replacement tool.

17. The computer-assisted medical system according to any one of claims 1 to 11, wherein: Controlling the replacement tool to move according to the insertion trajectory includes controlling an end effector tip of the replacement tool to follow the insertion trajectory.

18. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The insertion trajectory comprises a line segment, and wherein controlling the replacement tool to move according to the insertion trajectory comprises controlling a point on the replacement tool to remain on the line segment.

19. The computer-assisted medical system according to claim 18, wherein: The line segment is aligned with a central axis of the prior tool in the kinematic configuration.

20. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The reference geometry includes a first line segment and a second line segment, and wherein obtaining the interpolation trajectory includes establishing a smooth transition between the first line segment and the second line segment.

21. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The reference geometry is based on a volume occupied by the previous tool, and wherein obtaining the insertion trajectory includes defining the insertion trajectory entirely within the volume occupied by the previous tool.

22. The computer-assisted medical system according to any one of claims 1 to 11, wherein: Obtaining the insertion trajectory based on the reference geometry includes reversing a removal trajectory of the previous tool.

23. A computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is configured to determine the insertion trajectory such that in response to flexion of the end effector of the previous tool relative to an axis of the previous tool and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool is longer than the end effector of the previous tool, Upon completion of inserting the replacement tool toward the target location: the orientation of the axis of the replacement tool coincides with the orientation of the axis of the previous tool, The insertion depth of the shaft of the replacement tool is less than the insertion depth of the previous tool, and The wrist angle of the wrist of the replacement tool is less than the angle of the end effector of the previous tool relative to the axis of the previous tool.

24. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is configured to determine the insertion trajectory such that in response to flexion of the end effector of the previous tool relative to an axis of the previous tool and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool is shorter than the end effector of the previous tool, Upon completion of inserting the replacement tool toward the target location: the orientation of the axis of the replacement tool coincides with the orientation of the axis of the previous tool, the insertion depth of the shaft of the replacement tool coincides with the insertion depth of the previous tool, The wrist angle of the wrist of the replacement tool is equal to the angle of the end effector of the previous tool relative to the axis of the previous tool.

25. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is configured to determine the insertion trajectory such that in response to flexion of the end effector of the previous tool relative to an axis of the previous tool and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool is shorter than the end effector of the previous tool, Upon completion of inserting the replacement tool toward the target location: The shaft of the replacement tool pivots relative to the shaft of the previous tool.

26. A computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is further configured to: The withdrawal of the replacement tool is facilitated by controlling the replacement tool to move according to a reversal of the insertion trajectory in response to the withdrawal of the replacement tool.

27. A computer-assisted medical system according to any one of claims 1 to 11, wherein The manipulator arm and the replacement tool together have multiple degrees of freedom; and wherein The controller is configured to facilitate insertion of the replacement tool toward the target location by commanding movement in the plurality of degrees of freedom other than the insertion degree of freedom in response to external manipulation of the replacement tool in the insertion degree of freedom.

28. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The controller is configured to facilitate insertion of the replacement tool toward the target location by commanding the replacement tool to move in an insertion degree of freedom.

29. The computer-assisted medical system according to any one of claims 1 to 11, wherein: The insertion trajectory includes a curved portion.

30. A computer-assisted medical system, comprising: Manipulator arm; as well as A controller comprising a computer processor and configured to: determining a kinematic configuration, the kinematic configuration being the kinematic configuration of the manipulator arm and a previous tool attached to the manipulator arm and wherein the end effector of the previous tool is in an insertion position prior to mounting a replacement tool on the manipulator arm, determining a reference geometry of said prior tool in said kinematic configuration, detecting the mounting of the replacement tool on the manipulator arm, the replacement tool and the manipulator arm forming a physical manipulator assembly, determining a constraint trajectory of a virtual manipulator assembly based on the reference geometry, wherein the virtual manipulator component corresponds kinematically to the physical manipulator component, and The insertion of the replacement tool toward the target position is facilitated based on the insertion position by: determining a current kinematic configuration of the virtual manipulator assembly, the current kinematic configuration tracking the physical manipulator assembly while being maintained on the constraint trajectory during the insertion, and The physical manipulator assembly is controlled using the current kinematic configuration of the virtual manipulator assembly.

31. The computer-assisted medical system according to claim 30, wherein: Determining the current kinematic configuration of the virtual manipulator assembly includes: Minimize the spring energy to obtain the first set of joint angle corrections; translating a reference point of the virtual manipulator assembly to the constraint trajectory to obtain a second set of joint angle corrections; and The first set of joint angle corrections and the second set of joint angle corrections are applied to a previous kinematic configuration of the virtual manipulator assembly to obtain the current kinematic configuration of the virtual manipulator assembly.

32. The computer-assisted medical system according to claim 31, wherein: Minimizing the spring energy includes obtaining a joint angle of the virtual manipulator component that minimizes the spring energy, wherein the spring energy is determined based on a difference between the joint angle of the virtual manipulator component and a corresponding joint angle of the physical manipulator component.

33. A computer-assisted medical system according to claim 31 or 32, wherein: A plurality of proportional joint controller gains associated with a plurality of joints of the virtual manipulator assembly govern the spring energy.

34. A method for operating a medical system, comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is inserted at an insertion position; determining a reference geometry of said prior tool in said kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm; determining an insertion trajectory of the replacement tool based on the reference geometry; as well as Insertion of the replacement tool toward a target position of the insertion trajectory is facilitated by: controlling the replacement tool to move according to the insertion trajectory while controlling the angle or positioning of a joint of the replacement tool; Wherein controlling the angle or position of the joint of the replacement tool comprises: adjusting the angle or position of the joint of the replacement tool.

35. The method of claim 34, wherein: The insertion position is the position of the tool tip of the previous tool in the kinematic configuration, and wherein the target position is based on the insertion position.

36. The method of claim 34, further comprising: inhibiting further insertion of the replacement tool beyond the target location; or Movement of the replacement tool is prevented in response to the replacement tool reaching the target position.

37. The method of claim 34, wherein: Controlling the replacement tool to move according to the insertion trajectory results in actuation of at least one degree of freedom of the manipulator arm other than the insertion degree of freedom.

38. The method of claim 34, wherein: Controlling the angle or the position of the joint of the replacement tool includes flexion of a wrist between a shaft of the replacement tool and an end effector.

39. The method of claim 38, further comprising: determining whether the end effector of the replacement tool is within a field of view of an imaging device; as well as The flexion of the wrist is permitted only when the end effector of the replacement tool is visible in the field of view.

40. The method of claim 37, wherein: Actuation of the at least one degree of freedom of the manipulator arm comprises pivoting of a portion of the manipulator arm.

41. The method according to any one of claims 34 to 40, further comprising: obtaining a kinematic description of the replacement tool; as well as The insertion trajectory is further determined based on the kinematic description.

42. The method according to claim 41, wherein: Further determining the insertion trajectory based on the kinematic description includes: The insertion trajectory is further determined based on a length of an end effector of the replacement tool relative to a length of the end effector of the previous tool.

43. The method according to claim 42, in, The kinematic description of the replacement tool specifies the range of motion of the degrees of freedom of the replacement tool, and Wherein, further determining the insertion trajectory based on the kinematic description includes: The insertion trajectory is further determined based on the range of motion of the degrees of freedom of the replacement tool.

44. The method according to any one of claims 34 to 40, wherein: Controlling the replacement tool to move according to the insertion trajectory includes controlling an end effector tip of the replacement tool to follow the insertion trajectory.

45. The method according to any one of claims 34 to 40, wherein: The reference geometry comprises line segments, and wherein obtaining the interpolation trajectory comprises creating smooth transitions between the line segments.

46. ​​The method of any one of claims 34 to 40, wherein: The reference geometry is based on a volume occupied by the previous tool, and wherein obtaining the insertion trajectory includes defining the insertion trajectory entirely within the volume occupied by the previous tool.

47. The method according to any one of claims 34 to 40, wherein: Obtaining the insertion trajectory based on the reference geometry includes reversing a removal trajectory of the previous tool.

48. The method according to any one of claims 34 to 40, wherein: Determining the insertion trajectory includes: in response to flexion of the end effector of the previous tool relative to an axis of the previous tool, and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool being longer than the end effector of the previous tool, upon completion of insertion of the replacement tool toward the target location, defining a trajectory such that: the orientation of the axis of the replacement tool coincides with the orientation of the axis of the previous tool, The insertion depth of the shaft of the replacement tool is less than the insertion depth of the previous tool, and The wrist angle of the wrist of the replacement tool is less than the angle of the end effector of the previous tool relative to the axis of the previous tool.

49. The method according to any one of claims 34 to 40, wherein: Determining the insertion trajectory includes: in response to flexion of the end effector of the previous tool relative to an axis of the previous tool, and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool being shorter than the end effector of the previous tool, upon completion of insertion of the replacement tool toward the target location, defining a trajectory such that: the orientation of the axis of the replacement tool coincides with the orientation of the axis of the previous tool, the insertion depth of the shaft of the replacement tool coincides with the insertion depth of the previous tool, The wrist angle of the wrist of the replacement tool is equal to the angle of the end effector of the previous tool relative to the axis of the previous tool, and A tool tip of the end effector of the replacement tool reaches the target position, which is outside a tolerance of the insertion position.

50. The method according to any one of claims 34 to 40, wherein: Determining the insertion trajectory includes: in response to flexion of the end effector of the previous tool relative to an axis of the previous tool, and the replacement tool includes a wrist and an end effector, the end effector of the replacement tool being shorter than the end effector of the previous tool, upon completion of insertion of the replacement tool toward the target location, defining a trajectory such that: The shaft of the replacement tool pivots relative to the shaft of the previous tool.

51. The method according to any one of claims 34 to 40, further comprising: Retraction of the replacement tool is facilitated by controlling the replacement tool to move according to a reversal of the insertion trajectory in response to the replacement tool being retracted.

52. The method of any one of claims 34 to 40, wherein determining an insertion trajectory of the replacement tool based on the reference geometry comprises: The insertion trajectory including the curved portion is determined.

53. A method for operating a medical system, comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is in an insertion position; determining a reference geometry of said prior tool in said kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm, the replacement tool and the manipulator arm forming a physical manipulator assembly; determining a constrained trajectory of a virtual manipulator assembly based on the reference geometry, wherein the virtual manipulator assembly kinematically corresponds to the physical manipulator assembly; as well as Insertion of the replacement tool toward a target location is facilitated based on the insertion location by: determining a current kinematic configuration of the virtual manipulator assembly, the current kinematic configuration tracking the physical manipulator assembly while being maintained on the constraint trajectory during the insertion, and The physical manipulator assembly is controlled using the current kinematic configuration of the virtual manipulator assembly.

54. The method of claim 53, wherein determining the current kinematic configuration of the virtual manipulator assembly comprises: Minimize the spring energy to obtain the first set of joint angle corrections; translating a reference point of the virtual manipulator assembly to the constraint trajectory to obtain a second set of joint angle corrections; as well as The first set of joint angle corrections and the second set of joint angle corrections are applied to a previous kinematic configuration of the virtual manipulator assembly to obtain the current kinematic configuration of the virtual manipulator assembly.

55. The method of claim 54, wherein minimizing the spring energy comprises: A joint angle of the virtual manipulator component that minimizes the spring energy is obtained, wherein the spring energy is determined based on a difference between the joint angle of the virtual manipulator component and a corresponding joint angle of the physical manipulator component.

56. A non-transitory computer readable medium comprising a plurality of computer readable instructions which, when executed by one or more processors associated with a medical system, are adapted to cause the one or more processors to perform a method comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is inserted at an insertion position; determining a reference geometry of said prior tool in said kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm; determining an insertion trajectory of the replacement tool based on the reference geometry; as well as The insertion of the replacement tool toward the target position of the insertion trajectory is facilitated by the following steps: controlling the replacement tool to move according to the insertion trajectory while controlling the angle or positioning of the joints of the replacement tool, Wherein controlling the angle or position of the joint of the replacement tool comprises: adjusting the angle or position of the joint of the replacement tool.

57. The non-transitory computer readable medium of claim 56, wherein: The insertion position is the position of the tool tip of the previous tool in the kinematic configuration, and wherein the target position is based on the insertion position.

58. The non-transitory computer readable medium of claim 56, wherein: The method further comprises: preventing further insertion of the replacement tool beyond the target location; or Movement of the replacement tool is prevented in response to the replacement tool reaching the target position.

59. The non-transitory computer readable medium of claim 56, wherein: Controlling the replacement tool to move according to the insertion trajectory results in actuation of at least one degree of freedom of the manipulator arm other than the insertion degree of freedom.

60. The non-transitory computer readable medium of claim 56, wherein: Controlling the angle or the position of the joint of the replacement tool includes flexion of a wrist between a shaft of the replacement tool and an end effector.

61. The non-transitory computer readable medium of claim 60, wherein: The method further comprises: determining whether the end effector of the replacement tool is within a field of view of an imaging device; and The flexion of the wrist is permitted only when the end effector of the replacement tool is visible in the field of view.

62. The non-transitory computer readable medium of any one of claims 56 to 61, wherein: The method further comprises: obtaining a kinematic description of the replacement tool; and The insertion trajectory is further determined based on the kinematic description.

63. The non-transitory computer readable medium of claim 62, wherein: Further determining the insertion trajectory based on the kinematic description includes: The insertion trajectory is further determined based on a length of an end effector of the replacement tool relative to a length of the end effector of the previous tool.

64. The non-transitory computer readable medium of claim 62, in, The kinematic description of the replacement tool specifies the range of motion of the degrees of freedom of the replacement tool, and Wherein, further determining the insertion trajectory based on the kinematic description includes: The insertion trajectory is further determined based on the range of motion of the degree of freedom of the replacement tool.

65. The non-transitory computer readable medium of any one of claims 56 to 61, wherein: Controlling the replacement tool to move according to the insertion trajectory includes controlling an end effector tip of the replacement tool to follow the insertion trajectory.

66. The non-transitory computer readable medium of any one of claims 56 to 61, wherein: Obtaining the insertion trajectory based on the reference geometry includes reversing a removal trajectory of the previous tool.

67. The non-transitory computer readable medium of any one of claims 56 to 61, further comprising: Retraction of the replacement tool is facilitated by controlling the replacement tool to move according to a reversal of the insertion trajectory in response to the replacement tool being retracted.

68. A non-transitory computer readable medium comprising a plurality of computer readable instructions which, when executed by one or more processors associated with a medical system, are adapted to cause the one or more processors to perform a method comprising: determining a kinematic configuration, the kinematic configuration being a kinematic configuration of a manipulator arm and a previous tool attached to the manipulator arm, and wherein an end effector of the previous tool is in an insertion position; determining a reference geometry of said prior tool in said kinematic configuration; detecting removal of the previous tool from the manipulator arm; detecting installation of a replacement tool on the manipulator arm, the replacement tool and the manipulator arm forming a physical manipulator assembly; determining a constrained trajectory of a virtual manipulator assembly based on the reference geometry, wherein the virtual manipulator assembly kinematically corresponds to the physical manipulator assembly; as well as Insertion of the replacement tool toward a target location is facilitated based on the insertion location by: determining a current kinematic configuration of the virtual manipulator assembly, the current kinematic configuration tracking the physical manipulator assembly while being maintained on the constraint trajectory during the insertion, and The physical manipulator assembly is controlled using the current kinematic configuration of the virtual manipulator assembly.

69. The non-transitory computer readable medium of claim 68, wherein: Determining the current kinematic configuration of the virtual manipulator assembly includes: Minimize the spring energy to obtain the first set of joint angle corrections; translating a reference point of the virtual manipulator assembly to the constraint trajectory to obtain a second set of joint angle corrections; and The first set of joint angle corrections and the second set of joint angle corrections are applied to a previous kinematic configuration of the virtual manipulator assembly to obtain the current kinematic configuration of the virtual manipulator assembly.