INSTRUMENT COLLISION DETECTION AND FEEDBACK

Abstract
A method of operating a robotic control system comprising a master apparatus in communication with a plurality of input devices having respective handles capable of translational and rotational movement and a slave system having a tool positioning device corresponding to each respective handle and holding a respective tool having an end effector whose position and orientation is determined in response to a position and orientation of a corresponding handle. The method involves producing desired new end effector positions and orientations of respective end effectors in response to current positions and orientations of corresponding handles, using the desired new end effector positions and orientations to determine distances from each point of a first plurality of points along a first tool positioning device to each point of a plurality of points along at least one other tool positioning device, and determining and notifying that any of the distances meets a proximity criterion.
Description
BACKGROUND
1. Field

This disclosure relates to master-slave robotic systems such as those used for laparoscopic surgery and more particularly to prevention of collision of surgical tools and/or robotic manipulators during surgery.


2. Description of Related Art

When a plurality of dexterous tools are deployed in close proximity, instances can arise when instruments physically contact one another. There may be portions of the dexterous tools that are not intended to contact each other. Contact of the tools at points on a dexterous section thereof can cause unintended or unexpected motion of end effectors coupled to the dexterous tools. For example, the tools may become caught on one another and may flick when freed, resulting in a sudden and/or unexpected movement of the tools.


SUMMARY

The disclosure describes a method of operating a robotic control system comprising a master apparatus in communication with a plurality of input devices having respective handles capable of translational and rotational movement and a slave system having a tool positioning device corresponding to each respective handle, each tool positioning device holding a respective tool having an end effector whose position and orientation is determined in response to a position and orientation of a corresponding handle. The method involves causing at least one processor circuit associated with the master apparatus to produce desired new end effector positions and desired new end effector orientations of respective end effectors, in response to current positions and current orientations of corresponding respective handles. The method further involves causing the at least one processor circuit to use the desired new end effector positions and orientations to determine distances from each point of a first plurality of points along a first tool positioning device to each point of a plurality of points along at least one other tool positioning device and causing the at least one processor circuit to determine whether any of the distances meets a proximity criterion. The method further involves causing the at least one processor circuit to notify an operator, of the handles associated with tool positioning devices associated with distance that meets the proximity criterion, to indicate that the proximity criterion has been met.


Causing the at least one processor circuit to notify the operator may involve causing the at least one processor circuit to signal the input devices associated with the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion, to cause the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion to present haptic feedback to the operator, the haptic feedback impeding movement of the handles in a direction that would shorten the distance that meets the proximity criterion.


Causing the at least one processor circuit to notify the operator may involve causing the at least one processor circuit to produce annunciation signals for causing an annunciator to annunciate that the proximity criterion has been met.


Causing the at least one processor circuit to produce annunciation signals may involve causing the at least one processor circuit to produce display control signals for causing a display to depict a visual representation indicative of the distance that meets the proximity criterion.


Causing the at least one processor circuit to produce annunciation signals may involve causing the at least one processor circuit to produce audio control signals for causing an audio device to provide an audible sound indicative of the distance that meets the proximity criterion.


The method may further involve causing the at least one processor circuit to disable movement of all tool positioning devices associated with the distance that meets the proximity criterion.


Causing the at least one processor circuit to disable movement of all positioning devices associated with the distance that meets the proximity criterion may involve causing the at least one processor circuit to transmit control signals to respective slave systems associated with the positioning devices associated with the distance, each control signal identifying a current end effector position and orientation based on a current position and orientation of the corresponding handle when the proximity criterion is not met, and causing the at least one processor circuit to cause the control signals transmitted to the slave systems associated with the tool positioning devices associated with the distance that meets the proximity criterion to identify a previous position and orientation of respective associated end effectors when the proximity criterion is met.


The method may involve causing the at least one processor circuit to enable movement of the tool positioning devices associated with the distance that met the proximity criterion when the proximity criterion is no longer met.


Producing the desired new end effector position and desired new end effector orientation may include causing the at least one processor circuit to receive from each input device current handle position signals (PMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the corresponding input device, and causing the at least one processor circuit to produce, for corresponding tool positioning devices, new end effector position signals (PEENEW) and new end effector orientation signals (REENEW) defining the desired new end effector position and the desired new end effector orientation, respectively of the end effector, in response to corresponding the current handle position signals (PMCURR) and the current handle orientation signals (RMCURR).


Causing the at least one processor circuit to receive the current handle position signals and the current handle orientation signals may involve causing the at least one processor circuit to periodically receive the current handle position signals and the current handle orientation signals.


The method may involve causing the at least one processor circuit to receive an enablement signal controlled by the operator, and causing the at least one processor circuit to detect a change in state of the enablement signal and when the change is detected store the current handle position signals (PMCURR) and the current handle orientation signals (RMCURR) as master base position signals (PMBAS) and master base orientation signals (RMBASE) respectively, and store the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (PEEBASE) and end effector base orientation signals (REEBASE) respectively.


Causing the master apparatus to produce the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) may involve the master apparatus to compute the new end effector position signals and the new end effector orientation signals according to the following relations:







P

EENEW
=A(PMCURRPMBAS)+PEEBASE; and






R
EENEW
=R
EEBASE
R
MBASE
−1
R
MCURR


Each of the tool positioning devices may involve a plurality of segments each comprised of a plurality of vertebrae and at least some of the points in each of the plurality of points may be points on a respective segment or a vertebrae of a segment.


The method may involve, for each tool positioning device, causing the at least one processor circuit to compute vectors from a reference point associated with the tool positioning device to a point on a segment of the tool positioning device, based on the desired new end effector position and orientation calculated for the end effector associated with the tool positioning device.


The method may involve causing the at least one processor circuit to compute a position of at least one vertebrae associated with the segment, based on the position of the point on the segment.


The disclosure further describes a non-transitory computer readable medium encoded with codes for directing a processor circuit to execute any of the methods described above.


The disclosure further describes an apparatus for use in a robotic control system, the apparatus in communication with a plurality of input devices having respective handles capable of translational and rotational movement and the robotic control system comprising a slave system having a tool positioning device corresponding to each respective handle, each tool positioning device holding a respective tool having an end effector whose position and orientation is determined in response to a position and orientation of a corresponding handle. The apparatus includes means for producing desired new end effector positions and desired new end effector orientations of respective end effectors, in response to current positions and current orientations of corresponding respective handles, and means for determining distances from each point of a first plurality of points along a first tool positioning device, to each point of a plurality of points along at least one other tool positioning device based on the desired new end effector positions and orientations. The apparatus further includes means for determining whether any of the distances meets a proximity criterion and means for notifying an operator, of the handles associated with tool positioning devices associated with the distance that meets the proximity criterion to indicate that the proximity criterion has been met.


The means for notifying the operator may include means for signaling the input devices associated with the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion, to cause the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion to present haptic feedback to the operator, the haptic feedback impeding movement of the handles in a direction that would shorten the distance that meets the proximity criterion.


The means for notifying the operator may include means for producing annunciation signals for causing an annunciator to annunciate that the proximity criterion has been met.


The means for producing annunciation signals may include causing the at least one processor circuit to produce display control signals for causing a display to depict a visual representation indicative of the distance that meets the proximity criterion.


The means for producing the annunciation signals may include means for producing audio control signals for causing an audio device to provide an audible sound indicative of the distance that meets the proximity criterion.


The apparatus may further include means for disabling movement of all tool positioning devices associated with the distance that meets the proximity criterion.


The means for disabling movement of all positioning devices associated with any distance that meets the proximity criterion may include means for transmitting control signals to respective slave systems associated with the positioning devices associated with the distance, each control signal identifying a current end effector position and orientation based on a current position and orientation of the corresponding handle when the proximity criterion is not met, and means for causing the control signals transmitted to the slave systems associated with the tool positioning devices associated with the distance that meets the proximity criterion to identify a previous position and orientation of respective associated end effectors when the proximity criterion is met.


The apparatus may include means for enabling movement of the tool positioning devices associated with the distance that met the proximity criterion when the proximity criterion is no longer met.


The means for producing the desired new end effector position and desired new end effector orientation may include means for receiving from each input device current handle position signals (PMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the corresponding input device, and means for producing, for corresponding tool positioning devices, new end effector position signals (PEENEW) and new end effector orientation signals (REENEW) defining the desired new end effector position and the desired new end effector orientation, respectively of the end effector, in response to the corresponding current handle position signals (PMCURR) and the current handle orientation signals (RMCURR).


The means for receiving the current handle position signals and the current handle orientation signals may include means for periodically receiving the current handle position signals and the current handle orientation signals.


The apparatus may include means for receiving an enablement signal controlled by the operator, means for detecting a change in state of the enablement signal, and means for storing the current handle position signals (PMCURR) and the current handle orientation signals (RMCURR) as master base position signals (PMBAS) and master base orientation signals (RMBASE) respectively, when the change is detected. The apparatus may further include means for storing the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (PEEBASE) and end effector base orientation signals (REEBASE) respectively, when the change is detected.


The means for computing the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) may include means for computing the new end effector position signals and the new end effector orientation signals according to the following relations:







P

EENEW
=A(PMCURRPMBAS)+PEEBASE; and






R
EENEW
=R
EEBASE
R
MBASE
−1
R
MCURR


Each of the tool positioning devices may include a plurality of segments each comprised of a plurality of vertebrae and at least some of the points in each the plurality of points may be points on a respective segment or a vertebrae of a segment.


The apparatus may include means for computing vectors to points along each tool positioning device from a reference point associated with the tool positioning device to a point on a segment of the tool positioning device, based on the desired new end effector position and orientation calculated for the end effector associated with the tool positioning device.


The apparatus may include means for computing a position of at least one vertebra associated with the segment, based on the position of the point on the segment.


The disclosure further describes an apparatus for use in a robotic control system, the apparatus in communication with a plurality of input devices having respective handles capable of translational and rotational movement and a slave system having a tool positioning device corresponding to each respective handle, each tool positioning device holding a respective tool having an end effector whose position and orientation is determined in response to a position and orientation of a corresponding handle. The apparatus includes at least one processor circuit configured to produce desired new end effector positions and desired new end effector orientations of respective end effectors, in response to current positions and current orientations of corresponding respective handles, and the at least one processor circuit is configured to use the desired new end effector positions and orientations to determine distances from each point of a first plurality of points along a first tool positioning device to each point of a plurality of points along at least one other tool positioning device. The apparatus further includes at least one processor circuit configured to determine whether any of the distances meets a proximity criterion, and to notify an operator, of the handles associated with tool positioning devices associated with the distance that meets the proximity criterion, to indicate that the proximity criterion has been met.


The at least one processor circuit may be configured to notify the operator by signaling the input devices associated with the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion, to cause the handles associated with the tool positioning devices associated with the distance that meets the proximity criterion to present haptic feedback to the operator, the haptic feedback impeding movement of the handles in a direction that would shorten the distance that meets the proximity criterion.


The at least one processor circuit may be configured to notify the operator by producing annunciation signals for causing an annunciator to annunciate that the proximity criterion has been met.


The annunciation signals may include display control signals for causing a display to depict a visual representation indicative of the distance that meets the proximity criterion.


The annunciation signal may include audio control signals for causing an audio device to provide an audible sound indicative of the distance that meets the proximity criterion.


The at least one processor circuit may further be configured to disable movement of all tool positioning devices associated with the distance that meets the proximity criterion.


The at least one processor circuit may be configured to disable movement of all positioning devices associated with the distance that meets the proximity criterion by transmitting control signals to respective slave systems associated with the positioning devices associated with the distance, each control signal identifying a current end effector position and orientation based on a current position and orientation of the corresponding handle when the proximity criterion is not met, and causing the control signals transmitted to the slave systems associated with the tool positioning devices associated with the distance that meets the proximity criterion to identify a previous position and orientation of respective associated end effectors when the proximity criterion is met.


The at least one processor circuit may be further configured to enable movement of the tool positioning devices associated with the distance that met the proximity criterion when the proximity criterion is no longer met.


The at least one processor circuit may be configured to produce the desired new end effector position and desired new end effector orientation by receiving from each input device current handle position signals (PMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the corresponding input device, and producing, for corresponding tool positioning devices, new end effector position signals (PE) and new end effector orientation signals (REENEW) defining the desired new end effector position and the desired new end effector orientation, respectively of the end effector, in response to corresponding current handle position signals (PMCURR) and current handle orientation signals (RMCURR).


The at least one processor circuit may be configured to receive the current handle position signals and the current handle orientation signals on a periodic basis.


The at least one processor circuit may be configured to receive an enablement signal controlled by the operator and to detect a change in state of the enablement signal and when the change is detected, to store the current handle position signals (PMCURR) and the current handle orientation signals (RMCURR) as master base position signals (PMBAS) and master base orientation signals (RMBASE) respectively, and store the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (PEEBASE) and end effector base orientation signals (REEBASE) respectively.


The at least one processor circuit may be configured to compute the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) according to the following relations:







P

EENEW
=A(PMCURRPMBAS)+PEEBASE; and






R
EENEW
=R
EEBASE
R
MBASE
−1
R
MCURR


Each of the tool positioning devices may include a plurality of segments each comprised of a plurality of vertebrae and at least some of the points in each the plurality of points may be points on a respective segment or a vertebrae of a segment.


The at least one processor circuit may be configured to, for each tool positioning device, compute vectors from a reference point associated with the tool positioning device to a point on a segment of the tool positioning device, based on the desired end effector position calculated for the end effector associated with the tool positioning device.


The at least one processor circuit may be configured to compute a position of at least one vertebrae associated with the segment, based on the position of the point on the segment.


Other aspects and features of the present disclosure will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments in conjunction with the accompanying figures.





BRIEF DESCRIPTION OF THE DRAWINGS

In drawings which illustrate various embodiments described herein,



FIG. 1 is a pictorial representation of a laparoscopic surgery system according to one embodiment of the invention;



FIG. 2 is an oblique view of an input device of a master subsystem of the laparoscopic surgery system shown in FIG. 1;



FIG. 3 is a schematic representation of current and previous value buffers maintained by a master apparatus of the system shown in FIG. 1 and updated according to the functions shown in FIG. 8;



FIG. 4 is an oblique view of the input device shown in FIG. 2 and the tool positioning device of the slave subsystem shown in FIG. 1 showing relationships between base axes of the input device and the end effector;



FIG. 5 is an oblique view of a tool positioning device shown in FIG. 4 with a tool in the form of an end effector held thereby, in an insertion tube of the system shown in FIG. 1;



FIG. 6 is a flow chart illustrating certain functionality and certain signals produced and used by the system shown in FIG. 1;



FIG. 7 is a flow chart of a storage routine executed by the master apparatus in response to detection of a signal transition of an enablement signal produced in response to user input;



FIG. 8 is a flow chart of an end effector position and orientation calculation block of the flow chart shown in FIG. 6;



FIG. 9 is a perspective view of left and right hand tool positioning devices of the slave subsystem shown in FIG. 1;



FIG. 10 is a flowchart representing codes executed by a master apparatus of the master subsystem shown in FIG. 1, to provide for computation of proximity laparoscopic surgical tools;



FIG. 11 is a schematic diagram of a visual representation of proximity of the left and right handed tool positioning devices;



FIG. 12 is a perspective view of left and right hand tool positioning devices of the slave subsystem shown in FIG. 1 where the proximity criterion is not met; and



FIG. 13 is a perspective view of left and right hand tool positioning devices of the slave subsystem shown in FIG. 1 where the proximity criterion is met.





DETAILED DESCRIPTION

Referring to FIG. 1, a robotic control system in the form of a laparoscopic surgery system is shown generally at 50. The system 50 includes a master subsystem 52 and a slave subsystem 54. The master subsystem 52 may be located anywhere in the world, but for the purposes of this description it will be considered to be in an operating room. The slave subsystem 54 is located in the operating room.


In the embodiment shown, the master subsystem 52 comprises a workstation 56, which in this embodiment has first and second input devices 58 and 60 and a viewer 62 in communication with a master apparatus 64 comprising at least one processor circuit. In other embodiments there may be more input devices. The first and second input devices 58 and 60 each include respective handles 105 and 102. In this embodiment the first and second input devices 58 and 60 are operable to be actuated by respective hands of an operator such as a surgeon, for example, who will perform the laparoscopic surgery by manipulating the first and second input devices of the master subsystem 52 to control corresponding tools 66 and 67 on the slave subsystem 54.


The viewer 62 may include an LCD display 68, for example, for displaying images acquired by a camera 70 on the slave subsystem 54, to enable the operator to see the tools 66 and 67 inside the patient while manipulating the first and second input devices 58 and 60 to cause the tools to move in desired ways to perform the surgery. The first and second input devices 58 and 60 produce position and orientation signals that are received by the master apparatus 64 and the master apparatus produces slave control signals that are transmitted by wires 72 or wirelessly, for example, from the master subsystem 52 to the slave subsystem 54.


The slave subsystem 54 includes a slave computer 74 that receives the slave control signals from the master subsystem 52 and produces motor control signals that control motors 76 on a drive mechanism of a tool controller 78 of the slave subsystem, to extend and retract control wires (not shown) of respective tool positioning devices 79 and 81 to position and to rotate the tools 66 and 67. Exemplary tool positioning devices and tools for this purpose are described in PCT/CA2013/001076, which is incorporated herein by reference. Generally, there will be a tool and tool positioning device associated with each of the input devices 58 and 60. In the embodiment shown the tool positioning devices 79 and 81 extend through an insertion tube 61, a portion of which is inserted through a small incision 63 in the patient, to position end effectors 71 and 73 of the tools 66 and 67 inside the patient, to facilitate the surgery.


In the embodiment shown, the workstation 56 has a support 80 having a flat surface 82 for supporting the first and second input devices 58 and 60 in positions that are comfortable to the user whose hands are actuating the first and second input devices 58 and 60.


In the embodiment shown, the slave subsystem 54 includes a cart 84 in which the slave computer 74 is located. The cart 84 has an articulated arm 86 mechanically connected thereto, with a tool holder mount 88 disposed at a distal end of the articulated arm.


Input Devices


In the embodiment shown, the first and second input devices 58 and 60 are the same, but individually adapted for left and right hand use respectively. In this embodiment, each input device 58 and 60 is an Omega.7 haptic device available from Force Dimension, of Switzerland. For simplicity, only input device 60 will be further described, it being understood that input device 58 operates in the same way.


Referring to FIG. 2, the input device 60 includes the flat surface 82 supports a control unit 92 having arms 94, 96, 98 connected to the handle 102, which is gimbal-mounted and can be grasped by the hand of an operator and positioned and rotated about orthogonal axes x6, y6 and z6 of a Cartesian reference frame having an origin at a point midway along the axis of a cylinder that forms part of the handle 102. This Cartesian reference frame may be referred to as the handle reference frame and has an origin 104 (i.e. the center of the handle 102) that may be referred to as the handle position.


The arms 94, 96, 98 facilitate translational movement of the handle 102 and hence the handle position 104, in space, and confine the movement of the handle position within a volume in space. This volume may be referred to as the handle translational workspace. The control unit 92 is also able to generate a haptic force for providing haptic feedback to the handles 102 and 105 through the arms 94, 96, and 98.


The handle 102 is mounted on a gimbal mount 106 having a pin 108. The flat surface 82 has a calibration opening 110 for receiving the pin 108. When the pin 108 is received in the opening 110, the input device 60 is in a calibration position that is defined relative to a fixed master Cartesian reference frame comprising orthogonal axes xr, yr, zr, generally in the center of the handle translational workspace. In the embodiment shown, this master reference frame has an xr−zr plane parallel to the flat surface 82 and a yr axis perpendicular to the flat surface. In the embodiment shown, the zr axis is parallel to the flat surface 82 and is coincident with an axis 112 passing centrally through the control unit 92 so that pushing and pulling the handle 102 toward and away from the center of the control unit 92 along the axis 112 in a direction parallel to the flat surface 82 is a movement in the zr direction.


The control unit 92 has sensors (not shown) that sense the positions of the arms 94, 96, 98 and the rotation of the handle 102 about each of the x6, y6 and z6 axes and produces signals representing the handle position 104 in the workspace and the rotational orientation of the handle 102 relative to the fixed master reference frame xr, yr, zr. In this embodiment, these position and orientation signals are transmitted on wires 111 of a USB bus to the master apparatus 64. More particularly, the control unit 92 produces current handle position signals and current handle orientation signals that represent the current position and orientation of the handle 102 by a current handle position vector PMCURR and a current handle rotation matrix RMCURR, relative to the fixed master reference frame xr, yr, zr.


For example, the current handle position vector PMCURR is a vector







{







x
6






y
6









z
6




}

,




where x6, y6, and z6 represent coordinates of the handle position 104 within the handle translational workspace relative to the fixed master reference frame, xr, yr, zr.


The current handle rotation matrix RMCURR is a 3×3 matrix







[




x

6

x





y

6

x





z

6

x







x

6

y





y

6

y





z

6

y







x

6

z





y

6

z





z

6

z





]

,




where the columns of the matrix represent the axes of the handle reference frame x6, y6, z6 relative to the fixed master reference frame xr, yr, zr. RMCURR thus defines the current rotational orientation of the handle 102 in the handle translational workspace, relative to the xr, yr, zr fixed master reference frame.


The current handle position vector PMCURR and current handle rotation matrix RMCURR are transmitted in the current handle position and current handle orientation signals on wires 111 of the USB bus, for example, to the master apparatus 64 in FIG. 1. Referring to FIG. 3, the master apparatus 64 includes a current memory buffer 140 that stores the current handle position vector PMCURR in a first store 142 of the current buffer and stores the current handle rotation matrix RMCURR in a second store 144 of the current buffer 140.


Tool Positioner and End Effector


The end effector 73 and tool positioning device 81 are further described with reference to FIG. 4 and FIG. 5. Referring to FIGS. 4 and 5 the tool positioning device 81 moves the tool 67 and its end effector 73 within a volume in space. This volume may be referred to as the end effector workspace.


The position and orientation of the end effector 73 is defined relative to a fixed slave reference frame having axes xv, yv and zv which intersect at a point referred to as the fixed slave reference position 128, lying on a longitudinal axis 136 of the insertion tube 61 and contained in a plane perpendicular to the longitudinal axis 136 and containing a distal edge 103 of the insertion tube 61. The zv axis is coincident with the longitudinal axis 136 of the insertion tube 61. The xv−zv plane thus contains the longitudinal axis 136 of the insertion tube 61 and the xv and yv axes define a plane perpendicular to the longitudinal axis 136 of the insertion tube 61.


In the embodiment shown, the end effector 73 includes a pair of gripper jaws, which may be positioned and oriented within the end effector workspace. A tip of the gripper jaws may be designated as an end effector position and may be defined as the origin 150 of an end effector Cartesian reference frame x5, y5, z5. The end effector position 150 is defined relative to the slave reference position 128 and may be positioned and orientated relative to the fixed slave reference frame xv, yv, zv.


A flow chart illustrating functions and signals produced and used by the system 50 is shown in FIG. 6. Desired new end effector positions and desired new end effector orientations are calculated as described in connection with FIG. 6, in response to the current handle position signals PMCURR and current handle orientation signals RMCURR and are represented by a new end effector position vector PEENEW and a new rotation matrix REENEW. For example, the new end effector position vector PEENEW is a vector:







{







x
5






y
5









z
5




}

,




where x5, y5, and z5 represent coordinates of the end effector position 150 within the end effector workspace relative to the xv, yv, zv fixed slave reference frame. The end effector rotation matrix REENEW is a 3×3 matrix:







[




x

5

x





y

5

x





z

5

x







x

5

y





y

5

y





z

5

y







x

5

z





y

5

z





z

5

z





]

,




where the columns of the REENEW matrix represent the axes of the end effector reference frame x5, y5, z5 written in the fixed slave reference frame xv, yv, zv. REENEW thus defines a new orientation of the end effector 73 in the end effector workspace, relative to the xv, yv, zv fixed slave reference frame.


Footswitch


Referring back to FIG. 1, in addition to receiving signals from the input devices 58 and 60, in the embodiment shown, the master apparatus 64 is coupled to a footswitch 170 actuable by the operator (surgeon) to provide a binary enablement signal to the master apparatus 64. When the footswitch 170 is not activated, i.e. not depressed, the enablement signal is in an active state and when the footswitch 170 is depressed the enablement signal is in an inactive state. The footswitch 170 thus controls the state of the enablement signal. The enablement signal allows the operator to cause the master apparatus 64 to selectively enable and disable movement of the end effectors 71 and 73 in response to movement of the handles 105 and 102.


Master Apparatus and Slave Computer


Still referring to FIG. 1, in the embodiment shown, the master apparatus 64 is controlled by program codes stored on a non-transitory computer readable medium such as a disk drive 114. The codes direct the master apparatus 64 to perform various functions including collision detection functions. Referring to FIG. 6, these functions may be grouped into categories and expressed as functional blocks of code including a base setting block 216, an end effector position and orientation calculation block 116, a kinematics block 118, a motion control block 120, and a feedback force control block 122, each block including codes stored on the disk drive 114 of the master apparatus 64.


For ease of description, the above blocks are shown as functional blocks within the master apparatus 64 in FIG. 6. These functional blocks are executed separately but in the same manner for each input device of master subsystem 52. In the embodiment shown, there are only two input devices, 58 and 60. While the execution of these functional blocks for the input device 60, tool positioning device 81 and end effector 73 are described, it should be understood that the codes are separately executed in the same way for all other input devices, such as the input device 58, tool positioning device 79 and end effector 71 shown in FIG. 1 to achieve control of both end effectors 73 and 71 by the respective right and left hands of the operator.


The base setting block 216 is executed asynchronously, whenever the enablement signal produced by the footswitch 170 transitions from an inactive state to an active state, such as when the operator releases the footswitch in this embodiment. The base setting block 216 includes codes that direct the master apparatus 64 to set new base positions and orientations for positions and orientations of the handle 102 and end effector 73, respectively as will be described below.


Generally, the end effector position and orientation calculation block 116 includes codes that direct the master apparatus 64 to calculate new end effector position and new orientation signals, PEENEW and REENEW, which position and orient the end effector 73 in the desired position and orientation PMCURR and RMCURR in response to the position and orientation of the handle 102. The end effector position and orientation calculation block 116 receives the enablement signal from the footswitch 170 and produces output signals including a “new” signal and a signal that is coupled to the feedback force control block 122.


The kinematics block 118 includes codes that direct the master apparatus 64 to produce configuration variables in response to the newly calculated end effector position and orientation signals, PEENEW and REENEW. The configuration variables define a tool positioning device pose required to position and orient the end effecter 73 in the desired position and orientations.


The feedback force control block 122 includes codes that direct the master apparatus 64 to receive the configuration variables from the kinematics block 118 and to determine a theoretical location of various points along the tool positioning devices 81 and 79 in the end effector workspace, and to determine whether a distance between any two of these theoretical locations on respective tool positioning devices 81 and 79 is less than a threshold distance. When such distance is less than the threshold distance, the codes of the feedback force control block 122 direct the master apparatus 64 to cause feedback to notify the operator of the proximity.


The motion control block 120 includes codes that direct the master apparatus 64 to produce the slave control signals, in response to the configuration variables.


In the embodiment shown in FIG. 1, the slave control signals represent wire length values indicating how much certain control wires of the tool positioning device 81 of the slave subsystem 54 must be extended or retracted to cause the end effector 73 of the tool 67 to assume a desired position and orientation defined by positioning and rotating the input device 60. The slave control signals representing the control wire length values are transmitted to the slave computer 74, which has its own computer readable medium encoded with a communication interface block 124 which includes codes for directing the slave computer to receive the slave control signals from the master apparatus 64. The computer readable medium at the slave computer is also encoded with a motor control signal generator block 126 which includes codes for causing the slave computer 74 to generate motor control signals for controlling the motors 76 on the tool controller 78 to extend and retract the control wires controlling the attached tool positioning device 81 according to the control wire length values represented by the slave control signals from the master apparatus 64. The various blocks in FIG. 6 are described below in greater detail.


Base Setting Block


A flow chart showing details of operations included in the base setting block 216 is shown in FIG. 7. Referring to FIG. 7, as disclosed above, the base setting block 216 is executed asynchronously, whenever the enablement signal transitions from an inactive state to an active state. The base setting block 216 directs the master apparatus 64 to set new base positions and new base orientations for positions and orientations of the handle 102 and end effector 73, respectively. Referring back to FIG. 3, the master apparatus 64 stores values xmb, ymb, zmb representing a definable master base position vector represented by a base position signal PMBASE in a third store 146 and stores values representing a definable master base rotation matrix represented by a base orientation signal RMBASE in a fourth store 148.


On startup of the system 50 the master apparatus 64 initially causes the definable master base position vector PMBASE to be set equal to the current handle position vector R and causes the definable master base rotation matrix RMBASE to define an orientation that is the same as the current orientation defined by the handle rotation matrix RMCURR associated with the current handle rotation.


Initially, therefore:







P

MBASE
=P
MCURR; and






R
MBASE
=R
MCURR


In other words, a definable master base reference frame represented by the axes xmb, ymb and zmb and the handle reference frame represented by the axes x6, y6 and z6 coincide at startup.


Thereafter, the master base position vector PMBASE and the master base rotation matrix RMBASE are maintained at the same values as on startup until the enablement signal is activated, such as by the release of the footswitch (170 in FIG. 1), which causes the enablement signal to transition from the inactive state to the active state. In response to the inactive to active state transition of the enablement signal, the base setting block 216 in FIGS. 6 and 7 is executed to change the master base position vector PMBASE and master base rotation matrix RMBASE values to the values of the currently acquired master position signal PMCURR and currently acquired master orientation signal RMCURR respectively.


Referring back to FIG. 3, in addition to storing the current master position and orientation signals PMCURR and RMCURR in first and second stores 142 and 144 respectively of the current buffer 140, the master apparatus 64 also stores the calculated values for the position signal PEENEW and orientation signal REENEW of the end effector in the fifth and sixth stores 152 and 154 respectively of the current buffer 140. The base setting block 216 also directs the master apparatus 64 to further store values xsb, ysb, zsb representing a definable end effector base position vector PEEBASE in a seventh store 162 and stores values representing a definable end effector base rotation matrix REEBASE in a eighth store 164 in the current buffer 140. The end effector base position is shown as a reference frame represented by the axes xsb, ysb, zsb in FIG. 4. The input device 60 and the master base reference frame represented by the axes xmb, ymb and zmb is also shown in FIG. 4.


The master apparatus 64 initially causes the definable end effector base position vector PEEBASE to be set equal to the new end effector position vector PEENEW on startup of the system and causes the definable slave base rotation matrix REEBASE to define an orientation that is the same as the orientation defined by the new end effector rotation matrix REENEW, on startup of the system. On initialization of the system when there are no previously stored values for PEENEW or REENEW, PEEBASE and REEBASE will be set equal to the PEENEW and REENEW defined based on a home configuration of the tool positioning device 81, tool 66 and end effector 73. In this embodiment, the home configuration defines configuration variables to produce a generally straight tool positioning device pose (as shown in FIG. 4) and is preconfigured before initialization of the system. In other embodiments, the home configuration can define configuration variables to produce different bent or both straight and bent tool positioning device poses. Initially, therefore:







P

EEBASE
=P
EENEW; and






R
EEBASE
=R
EENEW


In other words, a definable slave base reference frame represented by the axes xsb, ysb and zsb and the end effector reference frame represented by the axes x5, y5 and z5 coincide at startup.


The end effector base position vector PEEBASE and end effector base rotation matrix REEBASE are maintained at the same values as on startup until the enablement signal is activated by the footswitch 170 (shown in FIG. 1), which causes the enablement signal to transition from the inactive state to the active state. In response, the base setting block 216 in FIGS. 6 and 7 changes the end effector base position vector PEEBASE and end effector rotation matrix REEBASE to the newly calculated end effector position vector PEENEW and newly calculated end effector orientation matrix REENEW.


End Effector Position and Orientation Calculation Block Generally, the end effector position and orientation calculation block 116 includes codes that direct the master apparatus 64 to calculate new end effector position and orientation signals, referred to herein as PEENEW and REENEW, which position and orient the end effectors 73 into a desired position and orientation in response to the current handle position PMCURR and current handle orientation RMCURR. In one embodiment the end effector position and orientation calculation block 116 is executed periodically at a rate of about 1 kHz. A flow chart showing details of operations included in the end effector position and orientation calculation block 116 is shown in FIG. 8. The operations begin with block 159 directing the master apparatus 64 to query the control unit 92 of the input device 60 for the current handle position vector PMCURR and current handle rotation matrix RMCURR. As previously described and referring to FIG. 3, PMCURR and RMCURR values are stored by the master apparatus 64, the first store 142 storing the three values representing the current handle position vector PMCURR and the second store 144 storing the nine values representing the current handle rotation matrix RMCURR.


After new values for PMCURR and RMCURR are acquired from the control unit 92, block 160 directs the master apparatus 64 to calculate new end effector position signals PEENEW and new end effector orientation signals REENEW representing a desired end effector position 150 and desired end effector orientation, relative to the fixed slave reference position 128 and the slave base orientation. Block 160 also directs the master apparatus 64 to store, in the fifth store 152 in FIG. 3, values representing the new end effector position vector PEENEW and to store, in the sixth store 154 in FIG. 3, values representing the desired end effector orientation matrix REENEW.


The new end effector position signals PEENEW and new end effector orientation signals REENEW are calculated according to the following relations:







P

EENEW
=A(PMCURRPMBASE)+PEEBASE  (1a)





and






R
EENEW
=R
EEBASE
R
MBASE
−1
R
MCURR  (1b),


where: PEENEW is the new end effector position vector that represents the new desired position of the end effector 73 in the end effector workspace, and is defined relative to the slave base reference position;

    • A is a scalar value representing a scaling factor in translational motion between the master and the slave;
    • PMCURR is the current representation of the handle position vector stored in the first store 142, the handle position vector being defined relative to the fixed master reference frame;
    • PMBASE is the last-saved position vector PMCURR for handle 102 that was shifted upon the last inactive to active state transition of the enablement signal such as by release of the footswitch 170 or on system initialization or by operation of a control interface by an operator;
    • PEEBASE is the last saved position vector PEENEW for the end effector 73 that was shifted upon the last inactive to active state transition of the enablement signal or on system initialization;
    • REENEW is the new end effector orientation matrix representing the current orientation of the end effector 73, and is defined relative to the fixed slave reference position 128;
    • REEBASE is the last-saved rotation matrix REENEW of the end effector 73 shifted upon the last inactive to active state transition of the enablement signal;
    • RMBASE−1 is the inverse of rotation matrix RMBASE, where RMBASE is the last-saved rotation matrix RMCURR of the handle 102 saved upon the last inactive to active state transition of the enablement signal;
    • RMCURR is the currently acquired rotation matrix representing the orientation of the handle 102 relative to the fixed master reference frame;


Block 161 then directs the master apparatus 64 to determine whether or not the enablement signal is in the active state. If the enablement signal is in the active state, optional block 208 directs the master apparatus 64 to execute certain special functions, such as alignment control functions, for example. Such alignment control functions are described in applicant's co-pending applications U.S. 62/101,734 and U.S. 62/101,804, for example, hereby incorporated by reference in their entirety.


Where the special functions are alignment control functions, such functions may have one of two outcomes, for example. The first outcome may direct the master apparatus 64 to execute block 215 which causes the master apparatus 64 to send a “new” signal to the motion control block 120 to signal the motion control block 120 to send slave control signals to the slave computer 74 based on the newly calculated end effector position and newly calculated end effector orientation PEENEW and REENEW. The second outcome directs the master apparatus 64 to execute block 163, which causes the master apparatus 64 to set the “new” signal inactive to signal the motion control block 120 to send slave control signals based on a previously calculated end effector position and previously calculated end effector orientation PEEPREV and REEPREV.


If block 215 is executed, the slave control signals are based on the newly calculated values for PEENEW and REENEW. This causes the end effector 73 to assume a position and orientation determined by the current position and current orientation of the handle 102.


Block 159 then directs the master apparatus 64 to copy the current position vector PMCURR and the current rotation matrix RMCURR stored in stores 142 and 144 into stores 143 and 145 of a “previous” buffer 141 referred to in FIG. 3 and to copy newly calculated end effector position vector PEENEW and newly calculated end effector rotation matrix REENEW into stores 147 and 149 of the previous buffer 141. The newly calculated end effector position vector PEENEW and newly calculated end effector rotation matrix REENEW are thus renamed as “previously calculated end effector position vector” PEEPREV and “previously calculated end effector rotation matrix” REEPREV. By storing the newly calculated end effector position vector PEENEW and newly calculated end effector rotation matrix REENEW, as previously calculated end effector position vector PEEPREV and previously calculated end effector rotation matrix REEPREV, a subsequently acquired new end effector position vector PEENEW and subsequently acquired new end effector rotation matrix REENEW can be calculated from the next current handle position vector PMCURR and next current handle rotation matrix RMCURR.


If block 163 is executed, the slave control signals are based on PEEPREV and REEPREV. This causes the end effector 73 to assume a position and orientation determined by a previous position and previous orientation of the handle 102. The end effector position and orientation calculation block 116 is then ended.


Still referring to FIG. 8, at block 161, if the enablement signal is in the inactive state, and while it remains in the inactive state, the master apparatus 64 will immediately execute block 163 which directs the master apparatus 64 to set the “new” signal inactive to indicate to the motion control block 120 in FIG. 5 that it should send the slave control signals based on the previously calculated values of PEEPREV and REEPREV in stores 147 and 149, respectively. The slave control signals produced by the motion control block 120 thus represent control wire length values derived from the last saved values of PEENEW and REENEW, causing the end effector 73 to remain stationary because the same slave control signals as were previously determined are sent to the slave computer 74. The end effector position and orientation calculation block 116 is then ended. As long as the enablement signal is inactive, slave control signals are based only on the previously calculated end effector position and previously calculated orientation signals PEEPREV and REEPREV as they exist before the enablement signal became inactive.


Accordingly, when the enablement signal is in the inactive state, the handle 102 can be moved and rotated and the calculations of PEENEW and REENEW will still be performed by block 160 of the end effector position and orientation calculator block 116, but there will be no movement of the end effector 73, because the previous slave control signals are sent to the slave computer 74. This allows “clutching” or repositioning the handle 102 without corresponding movement of the end effector 73 and enables the end effector 73 to have increased range of movement and allows the operator to reposition their hands to a comfortable position within the handle translational workspace.


While it has been shown that either the previously calculated end effector position and previously calculated orientation signals PEEPREV and REEPREV or the newly calculated end effector position and newly calculated orientation PEENEW and REENEW are used as the basis for producing the slave control signals sent by the motion control block 120 to the slave computer 74, the newly calculated end effector position and newly calculated end effector orientation signals PEENEW and REENEW are always presented to the kinematics block 118 and the feedback force control block 122. In other words, the kinematic block 118 always calculates the configuration variables based on the newly calculated end effector position and newly calculated end effector orientation signals PEENEW and REENEW, and the feedback force control block 122 always calculates the theoretical locations of various points along the tool positioning device and the distance between the various points on the left tool positioning device and the various points on the right tool positioning device based on PEENEW and REENEW.


Kinematics Block


The kinematics block 118 includes codes that direct the master apparatus 64 to produce configuration variables in response to the newly calculated end effector position and orientation signals PEENEW and REENEW. The configuration variables define a tool positioning device pose required to position and orient the end effector 73 into the desired end effector position and orientation.


The kinematics block 118 receives newly calculated end effector position and orientation signals PEENEW and REENEW each time the end effector position and orientation calculation block 116 is executed. In response, the kinematics block 118 produces configuration variables for the tool positioning device 81.


Referring to FIGS. 5 and 9, the tool positioning device 81 has a first articulated segment 130, referred to as an s-segment and a second articulated segment 132 referred to as a distal segment. The segments each include a plurality of “vertebra” 224. The s-segment 130 begins at a distance from the insertion tube 61, referred to as the insertion distance qins, which is the distance between the fixed slave reference position 128 defined as the origin of the slave fixed base reference frame xv, yv, zv and a first position 230 at the origin of a first position reference frame x1, y1, and z1 (shown in FIG. 9). The insertion distance qins represents an unbendable portion of the tool positioning device 81 that extends out of the end of the insertion tube 61. In the embodiment shown, the insertion distance qins may be about 10-20 mm, for example. In other embodiments, the insertion distance qins may be longer or shorter, varying from 0-100 mm, for example.


The s-segment 130 extends from the first position 230 to a third position 234 defined as an origin of a third reference frame having axes x3, y3, and z3 and is capable of assuming a smooth S-shape when control wires (not shown) inside the s-segment 130 are pushed and pulled. The s-segment 130 has a mid-point at a second position 232, defined as the origin of a second position reference frame having axes x2, y2, z2. The s-segment 130 has a length L1, seen best on the left-hand side tool positioning device 79 in FIG. 9. In the embodiment shown, this length L1 may be about 65 mm, for example.


The distal segment 132 extends from the third position 234 to a fourth position 236 defined as an origin of a fourth reference frame having axes x4, y4, z4. The distal segment 132 has a length L2 also seen best on the left-hand side tool positioning device 79 in FIG. 9. In the embodiment shown, this length L2 may be about 23 mm, for example.


Each tool 66 and 67 also has an end effector length, which in the embodiment shown is a gripper length L3 that extends from the fourth position 236 to the end effector position 150 defined as the origin of axes x5, y5, and z5. The gripper length L3 is again best seen on the left-hand side tool positioning device 79 in FIG. 9 and in this embodiment may be about 25 mm, for example. The slave reference position 128, first position 230, second position 232, third position 234, fourth position 236 and end effector position 150 may collectively be referred to as tool reference positions.


As explained in PCT/CA2013/001076, hereby incorporated herein by reference in its entirety, by pushing and pulling on certain control wires inside the tool positioning devices 79 and 81, the s-segment 130 can be bent into any of various degrees of an S-shape, from straight as shown in FIG. 9 on the left hand tool positioning device 81 to a partial S-shape as shown in FIG. 9 on the right hand tool positioning device 79 to a full S-shape. The s-segment 130 is sectional in that it has a first section 220 and a second section 222 on opposite sides of the second position 232. Referring now to FIG. 5, the first and second sections 220 and 222 lie in a first bend plane containing the first position 230, second position 232, and third position 234. The first bend plane is at an angle δprox to the xv-zv plane of the fixed slave reference frame. The first section 220 and second section 222 are bent in the first bend plane through opposite but equal angles θprox such that no matter the angle θprox or the bend plane angle δprox, the z3 axis of the third position 234 is always parallel to and aligned in the same direction as the zv axis of the fixed slave reference position 128. Thus, by pushing and pulling on the control wires within the tool positioning device 81, the third position 234 can be placed at any of a number of discrete positions within a cylindrical volume in space. This volume may be referred to as the s-segment workspace.


In addition, the distal segment 132 lies in a second bend plane containing the third position 234 and the fourth position 236. The second bend plane is at an angle δdist to the xv-zv plane of the fixed slave reference frame. The distal segment 132 is bent in the second bend plane at an angle θdist. Thus, by pushing and pulling the control wires within the tool positioning device 81, the fourth position 236 can be placed within another volume in space. This volume may be referred to as the distal workspace. The combination of the s-segment workspace plus the distal workspace can be referred to as the tool positioning device workspace, as this represents the total possible movement of the tools 66 and 67 as effected by the respective tool positioning devices 79 and 81.


The distance between the fourth position 236 and the end effector position 150 is the distance between the movable portion of the distal segment 132 and the tip of the gripper end effector 73 (and 73) in the embodiment shown, i.e. the length the gripper length L3. Generally, the portion of the gripper between the fourth position 236 and the end effector position 150 (L3) will be unbendable.


In the embodiment shown, the end effector 71 or 73 is a gripper jaw tool that is rotatable about the z5 axis in the x5-y5 plane of the end effector reference frame, the angle of rotation being represented by an angle γ relative to the positive x5 axis. Finally, the gripper jaws may be at any of varying degrees of openness from fully closed to fully open (as limited by the hinge). The varying degrees of openness may be defined as the “gripper”.


In summary therefore, the configuration variables provided by the kinematic block 118 codes are:

    • qins: represents a distance from the slave reference position 128 defined by axes xv, yv, and zv to the first position 230 defined by axes x1, y1 and z1 where the s-segment 130 of the tool positioning device 81 begins;
    • δprox: represents a first bend plane in which the s-segment 130 is bent relative to the xv-yv plane of the fixed slave reference frame;
    • θprox: represents an angle at which the first and second sections 220 and 222 of the s-segment 130 is bent in the first bend plane;
    • δdist: represents a second bend plane in which the distal segment 132 is bent relative to the xv-yv plane of the fixed slave reference frame;
    • θdist: represents an angle through which the distal segment 132 is bent in the second bend;
    • γ: represents a rotation of the end effector 73 about axis z5; and
    • Gripper: represents a degree of openness of the gripper jaws of the end effector 73. (This is a value which is calculated in direct proportion to a signal produced by an actuator (not shown) on the handle 102 indicative of an amount of pressure the operator exerts by squeezing the handle).


To calculate the configuration variables, it will first be recalled that the end effector rotation matrix REENEW is a 3×3 matrix:







[




x

5

x





y

5

x





z

5

x







x

5

y





y

5

y





z

5

y







x

5

z





y

5

z





z

5

z





]

.




Since the last column of REENEW is the z-axis of the end effector reference frame written relative to the fixed slave reference frame xv, yv and zv, the values θdist, δdist and γ associated with the distal segment 132 can be calculated according to the relations:










θ
dist

=


π
2

-

atan

2


(




z

5

x

2

+

z

5

y

2



,

z

5

z



)







(
2
)













δ
dist

=


-
a


tan

2


(


z

5

y


,

z

5

x



)






(
3
)










If





"\[LeftBracketingBar]"


δ
2



"\[RightBracketingBar]"



>


π
2





"\[LeftBracketingBar]"


δ
dist



"\[RightBracketingBar]"



>

π
2










γ
=


a

tan

2


(


-

y

5

z



,

x

5

z



)


-

δ
dist

+
π





(

4

a

)








else





γ
=


atan

2


(


y

5

z


,

-

x

5

z




)


-

δ
dist











γ
=


atan

2


(


R

ee

3
,
2



,

-

R

ee

3
,
3





)


-

δ
2






(

4

b

)







These values can then be used to compute the location of third position 234 ({circumflex over (p)}3/v) relative to the fixed slave reference position 128 by computing the vectors from the third position 234 to the fourth position 236 (p4/3) and from the fourth position 236 to the end effector position 150 (p5/4) and subtracting those vectors from PEENEW.







p

3/s
=p
EENEW
p
4/3
p
5/4,  (5)





where:












p
_


4
/
3


·

i
_


=





-

L
2



cos



δ
dist

(


sin


θ
dist


-
1

)




π
2

-

θ
dist







p
_


4
/
3


·

l
_



=



-

L
2



cos



δ
2

(


sin

(

θ
2

)

-
1

)




π
2

-

θ
2








(

6

a

)

















p
_


4
/
3


·

j
_


=



L
2


sin



δ
dist

(


sin


θ
dist


-
1

)




π
2

-

θ
dist








(

6

b

)

















p
_


4
/
3


·

k
_


=



L
2



cos

(

θ
dist

)




π
2

-

θ
dist








(

6

c

)

















p
_


5
/
4


·

i
_


=


L
3



cos

(

δ
dist

)



cos

(

θ
dist

)







(

7

a

)

















p
_


5
/
4


·

j
_


=


-

L
3




sin

(

δ
dist

)



cos

(

θ
dist

)







(

7

b

)


















p
_


5
/
4


·

k
_


=


L
3



sin

(

θ
dist

)



,





(

7

c

)







and where:

    • ī is a unit vector in the x direction;
    • j is a unit vector in the y direction; and
    • k is a unit vector in the z direction.


Once the vector from the fixed slave reference position 128 to the third position 234 (p3/v) is known, the configuration variables, δprox and θprox, for the s-segment 130 can be found. δprox associated with the s-segment 130 is calculated by solving the following two equations for δprox:












p
_


3
/
v


·

i
_


=



-

L
1



cos



δ
prox

(


sin


θ
prox


-
1

)




π
2

-

θ
prox







(

8

a

)















p
_


3
/
v


·

j
_


=




L
1


sin



δ
prox

(


sin


θ
prox


-
1

)




π
2

-

θ
prox



.





(

8

b

)







The ratio of (8b) and (8a) gives





δprox=atan 2(−p3/v·j,p3/v·ī),  (9)


where ī and j are unit vectors in the x and y directions respectively.


A closed form solution cannot be found for θprox, thus θprox must be found with a numerical equation solution to either of equations (8a) or (8b). A Newton-Raphson method, being a method for iteratively approximating successively better roots of a real-valued function, may be employed, for example. The Newton-Raphson method can be implemented using the following equations:










f

(

θ
prox

)

=





L
1



π
2

-

θ
prox




cos



δ
prox

(

1
-

sin


θ
prox



)


-



p
_


3
/
v


·

i
_



=
0





(
10
)







where

    • ī is the unit vector in the x direction; and
    • p3/v is a vector from the fixed slave reference position 128 to the third position 234.


The equation (10) is equation (8a) rewritten in the form f(θprox)=0. The Newton-Raphson method tends to converge very quickly because in the range 0<θprox<π, the function has a large radius of curvature and has no local stationary points. Following the Newton-Raphson method, successive improved estimates of θprox can be made iteratively to satisfy equation (10) using the following relationship:










θ

n
+
1


=


θ
n

-


f

(

θ
n

)



f


(

θ
n

)







(
11
)







Finally, upon determination of θprox, the following equation can be used to find qins,











q
ins

=



-

p

3
/
v



·
k

-



L
1


cos


θ
prox




π
2

-

θ
prox





,




(
12
)







where:

    • k is the unit vector in the z direction;
    • p3/v is a vector from the fixed slave reference position 128 to the third position 234; and
    • p3/v·k is the dot product of the vector p3/v and the unit vector k.


The codes in the kinematics block 118 shown in FIG. 6 direct the master apparatus 64 to calculate values for the above configuration variables in response to the end effector position and orientation signals PEENEW and REENEW produced by the end effector position and orientation calculation block 116 and these calculated configuration variables generally define a tool positioning device pose required to position the end effector 71 or 73 at a desired location and at a desired orientation in the end effector workspace.


It will be appreciated that configuration variables are produced for each end effector 71 and 73 and therefore in the embodiment shown, two sets of configuration variables which will be referred to as left and right configuration variables respectively are produced and forwarded or otherwise made available to the motion control block 120 and feedback force control block 122.


Feedback Force Control Block


Referring back to FIG. 6, the feedback force control block 122 directs the master apparatus 64 to receive the left and right configuration variables from the kinematics blocks 118 executed for both the left and right end effectors 71 and 73 respectively and to determine a theoretical location in the tool positioning device workspace of various points along each of the tool positioning devices 79 and 81. The feedback force control block 122 also directs the master apparatus 64 to determine whether a distance between any two theoretical locations located on separate tool positioning devices is less than a threshold distance. When such distance is less than the threshold distance, the codes of the feedback force control block 122 direct the master apparatus 64 to cause the operator to be notified of the proximity. Notifying the operator of this proximity may be provided by visual means through the LCD display 68 in the viewer 62 and/or by audio means and/or by providing haptic feedback using the input devices 58 and 60, for example.


A flow chart showing details of operations included in the feedback force control block 122 is shown in FIG. 10. Referring to FIG. 10, the feedback force control block 122 includes blocks 250 and 252 that respectively receive the left and right configuration variables produced by the kinematics block 118. Blocks 250 and 252 direct the master apparatus 64 to use the methods described below to perform the calculations required to determine, relative to the fixed slave reference position 128 and thus in absolute terms within the tool positioning device workspace and end effector workspace, the theoretical locations of each of the tool reference points, namely a first position 230, a second position 232, a third position 234, a fourth position 236 and the end effector position 150, for both the left and right hand tool positioning devices 79 and 81 and end effectors 71 and 73.


Once the theoretical location of each reference point is determined, the theoretical locations of various intermediate points along the tool positioning devices 79 and 81 within the tool positioning device workspace may then be determined. Each of the sections 220, 222 of the s-segment 130 and the distal segment 132 of the tool positioning devices 79 and 81 is comprised of a plurality of the identical “vertebra” 224 generally extending between first position 230 and fourth position 236 and the centers of the vertebrae are spaced apart by the same distance, and the intermediate points are defined as a position at the center of each identical vertebra of respective tool positioning devices 79 and 81. Since the s-segment 130 and distal segments 132 form smooth continuous constant-radius curves when bent, the theoretical location of the center of each vertebra can be calculated mathematically.


For example, for any given tool positioning device 79 or 81, the theoretical location of the first position 230 reference point relative to the fixed slave reference position 128 can be determined through simple addition of the qins configuration variable determined by the kinematics block 118 to the fixed slave reference position 128 in the zv axis, as the qins generally represents an unbendable portion of the tool positioning device. Determining the vector from the fixed slave reference position 128 to the first position 230 (p1/v) will provide a theoretical location of the first position 230 in absolute terms within the tool positioning device workspace.


Once the theoretical location of the first position 230 is determined, the theoretical location of all vertebrae 224 in the first section 220 of the s-segment 130, namely from the first position 230 to the second position 232, can be determined. For example in the embodiment shown in FIG. 9, assuming there are 15 vertebrae 224 in the first section 220, extending from the first position 230 to the second position 232. The center of the nth vertebrae of the first section 220 would lie at a theoretical location that is at an intermediate point along the first section 220, and the intermediate point can be calculated as






n
*

1

1

5


*

θ
prox





relative to the first position 230 reference point. A vector from the first position 230 to the nth vertebra position can then be determined. Adding the vector from the first position 230 to the nth vertebrae to the vector from the fixed slave reference position 128 to the first position 230 (p1/v) will arrive at the theoretical location of the vertebrae of the first section 220 in absolute terms in the positioning device workspace, relative to the fixed slave reference position 128. This procedure is done for each of the 15 vertebrae in the first section 220 of the s-segment 130 to find the theoretical location relative to the fixed slave reference position 128 for each of the vertebra 224 of the first section 220 within the tool positioning device workspace.


Additionally, for any given tool positioning device 79 or 81, the theoretical location of the second position 232 reference point relative to the fixed slave reference position 128 can be determined from the configuration variables as qins, θprox and δprox. Determining a vector from the fixed slave reference position 128 to the second position 232 (p2/v) will provide a theoretical location of the second position 232 in absolute terms within the tool positioning device workspace.


Once the theoretical location of the second position 232 is determined, it is used as the reference point for the determination of the theoretical location of all vertebrae intermediate points in the second section 222 of the s-segment 130, namely extending from the second position 232 to the third position 234. For the embodiment of the tool positioning device 81 shown in FIG. 9, assuming again that there are 15 vertebrae in the second section 222, the center of the nth vertebrae of the second section 222 would lie in an intermediate point along the second section 222. The angle the second section 222 is bent in the first bend plane δprox is equal and opposite to the angle θprox used for the calculations concerning the vertebrae of the first section 220. Therefore, intermediate point of the nth vertebrae can be calculated as






n
*

1

1

5


*

-

θ
prox






relative to the second position 232. Adding the vector from the second position 232 reference point to the nth vertebra to the vector from the slave reference position 128 to the second position 232 (p2/v) will provide the theoretical location of the nth vertebrae of the second section 222 in absolute terms within the tool positioning device workspace. This procedure is done for each of the 15 vertebrae in the second section 220 of the s-segment 130 to find the absolute positions for each vertebrae intermediate point within the tool positioning device workspace, relative to the fixed slave reference position.


Additionally, for any given tool positioning device 79 or 81, the theoretical location of the third position 234, which is at the end of the s-segment 130, can be expressed by a vector p3/v defined by the following vector components expressed relative to the fixed slave reference position:












p
_


3
/
v


·

i
_


=



-

L
1



cos



δ
prox

(


sin


θ
prox


-
1

)




π
2

-

θ
prox







(

8

a

)















p
_


3
/
v


·

j
_


=




L
1


sin



δ
prox

(


sin


θ
prox


-
1

)




π
2

-

θ
prox



.





(

8

b

)















p
_


3
/
v


·

k
_


=


q
ins

+



L
1


cos


θ
prox




π
2

-

θ
prox








(

8

c

)







Once the theoretical location of the third position 234 is determined, it can be used as the reference point to determine the theoretical location of all vertebrae 224 in the distal segment 132 using the method provided above. Assuming that there are 15 vertebrae in the distal segment 132, the center of the nth vertebrae would lie in an intermediate point that is along the distal segment 132. The angle the distal segment 132 is bent in the second bend plane δdist is θdist. Therefore, the intermediate point of the nth vertebrae can be calculated as






n
*

1

1

5


*

θ
dist





relative to the third position 234. Adding the vector from the third position 234 reference point to the nth vertebra intermediate point in the distal segment 132 to the vector from the fixed slave reference position 128 to third position 234 (p3/v) will arrive at the theoretical location of the nth vertebrae in the distal segment 132 in absolute terms in the tool positioning device workspace. This procedure is done for each of the 15 vertebrae in the distal segment 132 to find the theoretical location for each vertebrae intermediate point in the tool positioning device workspace in absolute terms, relative to the fixed slave reference position 128.


Further, the theoretical location of the fourth position 236 reference point can be determined as a vector relative to the third position 234 (p4/3) according to the following vector component relations, as previously presented:












p
_


4
/
3


·

i
_


=





-

L
2



cos



δ
dist

(


sin


θ
dist


-
1

)




π
2

-

θ
dist







p
_


4
/
3


·

l
_



=



-

L
2



cos



δ
2

(


sin

(

θ
2

)

-
1

)




π
2

-

θ
2








(

6

a

)

















p
_


4
/
3


·

j
_


=



L
2


sin



δ
dist

(


sin


θ
dist


-
1

)




π
2

-

θ
dist








(

6

b

)

















p
_


4
/
3


·

k
_


=



L
2



cos

(

θ
dist

)




π
2

-

θ
dist








(

6

c

)







Adding the vector from the third position 234 reference point to the fourth position 236 reference point (p4/3) to the vector from the fixed slave reference position 128 to the third position 234 (p3/v) will arrive at the theoretical location of the fourth position 236 reference point in absolute terms relative to the fixed slave reference position 128 in the tool positioning device workspace.


Finally, the theoretical location of the end effector position 150 reference point can be determined as a vector relative to the fourth position 236 (p5/4) according to the following vector component relations, as previously presented:







p

5/4
·ī=L
3 cos(δdist)cos(θdist)  (7a)







p

5/4
·j=−L
3 sin(δdist)cos(θdist)  (7b)







p

5/4
·k=L
3 sin(θdist)  (7c)


Adding the vector from the fourth position 236 reference point to the end effector position 150 reference point (p5/4) to the vector from the third position 234 reference point to the fourth position 236 reference point (p4/3) and to the vector from the fixed slave reference position 128 to the third position 234 reference point (p3/v) will arrive at the theoretical location of the end effector position 150 in absolute terms relative to the fixed slave reference position 128 in the end effector workspace.


Following calculation of the theoretical location of reference position points and intermediate vertebra points of the left and right tool positioning devices 79 and 81 and end effectors 71 and 73 at blocks 250 and 252, block 254 of the feedback force control block 122 directs the master apparatus 64 to calculate the distance between each reference point and intermediate point associated with the left-hand tool positioning device 79 and each reference point and intermediate point associated with the right-hand tool positioning device 81. This is done simply by the following vector calculation:






d=|p
L
p
R|,  (14)


where:

    • pL is a vector to the point of interest, defined as either a reference point or an intermediate point, on the left tool positioning device 79 or left end effector 71;
    • pR is a vector to the point of interest, defined as either a reference point or an intermediate point, on the right tool positioning device 81 or right end effector 73; and
    • d=calculated distance.


Upon calculating the distances between all left points of interest associated with left tool positioning device 79 and all right points of interest associated with the right tool positioning devices 81, block 256 then directs the master apparatus 64 to determine whether any calculated distance between any two points of interest on the separate tool positioning devices 79 and 81 meets a proximity criterion. In this embodiment, the proximity criterion is whether the calculated distance between the two points of interest is less than a threshold distance (TH). Specifically, as illustrated in FIG. 12, the proximity criterion is not met when the calculated distance between the two points of interest is greater or equal to the threshold distance and, as illustrated in FIG. 13, the proximity criterion is met when the calculated distance between the two points of interest is less than the threshold distance. The threshold distance may be set relative to the diameters of the tool positioning devices. In one embodiment the threshold distance may be set to a distance of no less than 1 diameter of the tool positioning devices 79 and 81 since the tool positioning devices physically cannot assume a pose where their axes are spaced closer than 1 diameter. A safe threshold may be about 2 tool holder diameters, for example.


It will be appreciated that the signals representing newly calculated end effector positions PEENEW and orientation REENEW for any two tool positioning devices 79 and 81 may specify end effector positions for each end effector 71 and 73 associated with the tool positioning devices that seek to pose the two tool positioning devices such that two points would physically occupy the same theoretical location in space at the same time (“coincide”) or place a point on the right tool positioning device 81 to the left of the left tool positioning device 79 (“cross”). Of course, these are not positions that can actually be attained because, physically, two points cannot occupy the same location in space at the same time nor can one tool positioning device penetrate the solid matter of the second tool positioning device. However, the theoretical locations of points of interest along each tool positioning device calculated by the feedback force control block 122 can define coinciding positions or crossing positions.


In any situation where any theoretical location of one point on the left tool positioning device 79 or end effector 71 is closer to the theoretical location of one point on the right tool positioning device 81 or end effector 73 than the threshold distance and thus meet the proximity criterion, the two points are said to “overlap”. There may be different degrees of overlap, calculated from the amount of difference between the calculated distance between the two points and the threshold distance (the “overlap distance”), for example.


If any calculated distance between two points on the tool positioning devices 79 and 81 or end effectors 71 and 73 overlap in the embodiment shown in FIG. 10, block 258 directs the master apparatus 64 to calculate a haptic force magnitude and direction dependent on the degree of overlap. In other embodiments, block 258 may direct the master apparatus 64 to produce a visual or audio annunciation signal.


The magnitude of the haptic force may be determined using a defined function of the overlap distance between the point of interest on the left tool positioning device 79 and end effector 71 and the point of interest on the right tool positioning device 81 and end effector 73. For example, the force magnitude may be proportional to the square of the overlap distance multiplied by a scaling factor. For example, the magnitude of the haptic force may be calculated according to the relation:






F=0.35(overlap distance)2.  (15)


The direction of the haptic force may be determined by computing a unit vector normal to a point of contact, where the point of contact is defined as the point midway along the vector between pR and pL when the distance between pR and pL is equal to the threshold distance. For example, the force direction can be computed using vector addition. The force direction on the right tool positioning device 81 and end effector 73 may be computed by subtracting the vector to the point of interest on the left instrument (pL) from the vector to the point of interest on the right instrument (pL), and then normalizing to give a unit vector ēR by the relation:











e
¯

R

=




p
¯

R

-


p
¯

L





"\[LeftBracketingBar]"




p
¯

R

-


p
¯

L




"\[RightBracketingBar]"







(
16
)







In one embodiment, the force direction on the left tool positioning device 79 and end effector 71 may be in the opposite direction to the force direction on the right tool positioning device 81 and end effector 73 so that to the operator, the forces presented by input devices 58 and 60 are equal but opposite, thus simulating contact between the tool positioning devices 79 and 81.


Block 260 then directs the master apparatus 64 to produce a feedback signal for receipt by the control unit 92. In this embodiment the feedback signal causes the control unit 92 to produce a haptic force detectable by the operator, to indicate to the operator that the tool positioning devices are in close proximity. For example, the feedback signal may include a representation of the magnitude of haptic force to be felt by the operator in equal and opposite directions normal to the contact tangent plane so as to feel to the operator as though the instruments are touching one another. Alternatively, the feedback signal can be used to produce display control signals for causing the viewer 62 in FIG. 1, for example to show the closest points of approach on the left and right tool positioning devices 79 and 81. For example, referring to FIG. 11, the view can show the left tool positioning device as a first circle 244, the right tool positioning device as a second circle 246 and a line 242 between the first and second circles representing the nearest distance calculated by block 256. After the feedback signal is sent to the control unit at block 260, the feedback force control block 122 is then ended.


If, at block 256, none of the calculated distances between two points are less than the threshold distance, i.e. they are all equal to or more than the threshold distance, then block 260 of feedback force control block 122 directs the master apparatus 64 send a feedback signal that causes the input device to stop causing haptic force to be produced based on collision detection. If no other feedback producing systems are requesting haptic force feedback, the master apparatus 64 produces a feedback signal for receipt by the control unit 92 to cause the control unit to cease producing any haptic force previously detectable by the operator, indicating to the operator that the tool positioning devices 79 and 81 are not in close proximity. The feedback force control block 122 is then ended.


In response to the feedback signal from the master apparatus 64 to produce the haptic force, the control unit 92 presents a haptic force to the arms 94, 96, 98, to impede movement of the handle 102, and in the embodiment shown, the magnitude of haptic force is set depending on the degree of overlap by which the calculated distance between any two points on the left and right tool positioning devices 79 and 81 and the end effectors 71 and 73 is less than the threshold distance. In response to the feedback signal from the master apparatus 64 to cease producing haptic force, the control unit 92 ceases to present a haptic force to the arms 94, 96, 98, thus allowing movement of the handle 102.


Motion Control Block


The motion control block 120 shown in FIG. 6 includes codes that direct the master apparatus 64 to produce the slave control signals, in response to the configuration variables. The motion control block 120 uses the configuration variables produced by the kinematics block 118 to produce control wire length values by applying transfer functions to the calculated configuration variables to determine required wire lengths. Such transfer functions can be derived theoretically and/or empirically, for example, for the specific tools used. The motion control block 120 is also responsive to the “new” signal provided by the end effector position and orientation calculator block 116 of FIG. 6 and controlled by blocks 215 and 163 of FIG. 8.


Referring to FIG. 8, an active “new” signal is produced by block 215 of the end effector position and orientation calculation block 116 when the enablement signal is active and causes the present control wire length values to be represented by the slave control signals. An inactive “new” signal is produced by block 163, when the enablement signal is not active and when the enablement signal is active but the alignment error is not less than the threshold, and causes the previous control wire length values to be represented by the slave control signals.


CONCLUSION

The above described system is a robotic control system comprising a master apparatus 64 in communication with a plurality of input devices 58 and 60 having respective handles 102 and 105 capable of translational and rotational movement and a slave subsystem having a tool positioning device 79 and 81 corresponding to each respective handle, each tool positioning device 79 and 81 holding a respective tool 66 and 67 having an end effector 71 and 73 whose position and orientation is determined in response to a position and orientation of the respective corresponding handle.


The master apparatus 64 contains at least one processor circuit, the at least one processor circuit configured by the blocks shown in FIGS. 6-8 and 10 to cause the at least one processor to execute a method of operating the robotic control system to detect potential collisions between any of the tool positioning devices 79 and 81 and their respective end effectors 71 and 73, which may be part of the slave subsystem 54. In the embodiments shown, there are two tool positioning devices 79 and 81 and respectively, two end effectors 71 and 73, it being understood that there may be more than two tool positioning devices and end effectors in other embodiments.


In general the method involves causing the at least one processor circuit associated with the master apparatus 64 to produce desired new end effector positions and desired new end effector orientations of the respective end effectors 71 and 73, in response to current positions PMCURR and current orientations RMCURR of corresponding respective handles 102 and 105. The at least one processor circuit is caused to use the desired new end effector positions and orientations PEENEW and REENEW to determine the pose of the tool positioning devices 79 and 81 and from there, calculate the distances from each point of a first plurality of points along the first tool positioning device 79 to each point of a plurality of points along at least one other tool positioning device 81. The at least one processor circuit is then caused to determine whether any of the calculated distances meets a proximity criterion and to notify the operator when the proximity criterion has been met.


Causing the at least one processor circuit to notify the operator tool positioning devices 79 and 81 meets a proximity criterion may include causing the at least one processor circuit to signal the input devices 58 and 60 associated with the handles 102 associated with the tool positioning devices 79 and 81, to cause the handles 102 associated with the tool positioning devices 79 and 81 associated with the calculated distance that meets the proximity criterion to present haptic feedback to the operator, the haptic feedback impeding movement of the handles in a direction that would shorten the calculated distance between the tool positioning devices 79 and 81 that meets the proximity criterion.


Alternatively or in addition, causing the at least one processor circuit to notify the operator may include causing the at least one processor circuit to produce annunciation signals for causing an annunciator to annunciate that the proximity criterion has been met and this may involve causing the at least one processor circuit to produce display control signals for causing the LCD display 68 to depict a visual representation indicative of the distance that meets the proximity criterion and/or causing the at least one processor circuit to produce audio control signals for causing an audio device to provide an audible sound indicative of the distance that meets the proximity criterion.


In the embodiments described, the at least one processor circuit may be configured to cause the input devices 58 to cease producing haptic feedback, to produce annunciation signals to cause an annunciator to cease to annunciate that a proximity criterion has been met, or to enable movement of the tool positioning devices 79 and 81 associated with the distance that met the proximity criterion when the calculated distance no longer meets the proximity criterion.


In the further alternative or in further addition, the at least one processor circuit may be configured to then disable movement of all tool positioning devices 79 and 81 associated with a distance that meets the proximity criterion.


Causing the at least one processor circuit to disable movement of all tool positioning devices 79 and 81 associated with the any distance that meets the proximity criterion may involve causing the at least one processor circuit to transmit control signals to respective slave subsystems 54 associated with the tool positioning devices 79 and 81 associated with the calculated distance that meets the proximity criterion, each control signal identifying a current end effector position and orientation based on a current position and orientation of the corresponding handle when the proximity criterion is not met and causing the at least one processor circuit to cause the control signals transmitted to the slave subsystems 54 associated with the tool positioning devices 79 and 81 associated with the calculated distance that meets the proximity criterion to identify a previous position (PEEBASE) and orientation (REEBASE) of associated respective end effectors 71 and 73 when the proximity criterion is met.


Producing the desired new end effector position and desired new end effector orientation and may involve causing the at least one processor circuit to receive from each input device 58 and 60 current handle position signals (PMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle 102 of the corresponding input devices and causing the at least one processor circuit to produce, for corresponding tool positioning devices 79 and 81, new end effector position signals (PEENEW) and new end effector orientation signals (REENEW) defining the desired new end effector position and the desired new end effector orientation, respectively of the end effectors 71 and 73, in response to the corresponding current handle position signals (PMCURR) and the current handle orientation signals (RMCURR).


Causing the at least one processor circuit to receive the current handle position signals PMCURR and the current handle orientation signals RMCURR may involve causing the at least one processor circuit to periodically receive the current handle position signals and the current handle orientation signals.


The method may further involve causing the at least one processor circuit to receive an enablement signal controlled by the operator and causing the at least one processor circuit to detect a change in state of the enablement signal. When the change is detected the at least one processor may be caused to store the current handle position signals (PMCURR) and the current handle orientation signals (RMCURR) as master base position signals (PMBAS) and master base orientation signals (RMBASE) respectively; and store the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (PEEBASE) and end effector base orientation signals (REEBASE) respectively.


Causing the master apparatus 64 to produce the new end effector position signals (PEENEW) and the new end effector orientation signals (REENEW) may involve causing the master apparatus 64 to compute the new end effector position signals and the new end effector orientation signals according to the following relations:







P

EENEW
=A(PMCURRPMBASE)+PEEBASE; and  (1a)






R
EENEW
=R
EEBASE
R
MBASE
−1
R
MCURR  (1b)


Each of the tool positioning devices 79 and 81 may include a plurality of segments 130 and 132 each comprised of a plurality of vertebrae 224 and at least some of the points in each of the plurality of points may be points on a respective segment or vertebrae of a segment 130 and 132.


The method may involve, for each tool positioning device 79 and 81, causing the at least one processor circuit to compute vectors from a reference point associated with the tool positioning devices 79 and 81 to a point on a segment of the tool positioning device, based on the desired new end effector position and orientation calculated for the end effector associated with the tool positioning device.


The method may further involve causing the at least one processor circuit to compute a position of at least one vertebrae associated with the segment, based on the position of the point on the segment.


While specific embodiments of the invention have been described and illustrated, such embodiments should be considered illustrative of the invention only and not as limiting the invention as construed in accordance with the accompanying claims.

Claims
  • 1-46. (canceled)
  • 47. A robotic surgery system comprising: a plurality of surgical tool manipulators including respective handles configured to be operated by a user, the plurality of surgical tool manipulators configured to manipulate a plurality of surgical tools comprising a plurality of end effectors whose positions and orientations are determined based on positions and orientations of the handles of the plurality of surgical tool manipulators, the plurality of surgical tools comprising a first surgical tool including at least one first segment comprising a first plurality of sections configured to bend and form a continuous curve and second surgical tool including at least one second segment comprising a second plurality of sections configured to bend and form a continuous curve; anda processor configured to: determine new end effector positions and new end effector orientations of the plurality of end effectors based on current positions and current orientations of the respective handles of the plurality of surgical tool manipulators;determine, in response to the determination of the new end effector positions and the new end effector orientations, a set of distances from each point of a first set of points along the first surgical tool to each point of a second set of points along the second surgical tool;in response to a determination that at least one distance of the set of distances satisfies a proximity threshold: cause movement of the plurality of end effectors associated with the first and second surgical tools to be disabled; andcause the plurality of end effectors associated with the first and second surgical tools to remain at respective previous positions and previous orientations; andin response to a determination that no distance of the set of distances satisfies the proximity threshold, cause the end effectors associated with the first and second surgical tools to be positioned and oriented at the respective new end effector positions and the respective new end effector orientations.
  • 48. The system of claim 47, wherein the processor is further configured to generate a notification that the at least one distance of the set of distances satisfies the proximity threshold.
  • 49. The system of claim 48, wherein the notification comprises at least one of a visual or audio notification.
  • 50. The system of claim 47, wherein the processor is further configured to, in response to the determination that the at least one distance of the set of distances satisfies the proximity threshold, determine at least one parameter of a haptic feedback and cause first and second handles associated, respectively, with the first and second surgical tools to provide the haptic feedback to a user to impede movement of the first and second handles in a direction that would shorten the at least one distance.
  • 51. The system of claim 50, wherein the at least one parameter of the haptic feedback comprises an intensity of a haptic feedback force, the intensity being proportional to a difference between the at least one distance and the proximity threshold.
  • 52. The system of claim 50, wherein the at least one parameter of the haptic feedback comprises a first direction associated with a first handle of the first surgical tool and a second direction associated with a second handle of the second surgical tool, the first direction being opposite to the second direction.
  • 53. The system of claim 47, wherein the processor is further configured to cause movement of the plurality of end effectors associated with the first and second surgical tools to be enabled in response to a determination that the at least one distance no longer satisfies the proximity threshold.
  • 54. The system of claim 47, wherein the processor is configured to determine a new end effector position and a new end effector orientation of an end effector of the plurality of end effectors based on a current position and orientation of a handle of a surgical tool manipulator of the plurality of surgical tool manipulators, the surgical tool manipulator associated with the end effector.
  • 55. The system of claim 54, wherein the processor is configured to periodically receive the current position and orientation of the handle from the surgical tool manipulator.
  • 56. The system of claim 47, wherein: the first plurality of sections comprises a first plurality of disks; andthe second plurality of sections comprises a second plurality of disks.
  • 57. The system of claim 56, wherein the processor is configured to, for at least one of the first or second surgical tools, determine a set of vectors from a reference point associated with the at least one of the first or second surgical tools to a point on a disk of the at least first or second one surgical tools based on the new end effector position of an end effector associated with the at least one of the first or second surgical tools.
  • 58. A non-transitory computer readable medium storing instructions that, when executed by a processor of a robotic surgery apparatus, cause the processor to: determine new end effector positions and new end effector orientations of a plurality of end effectors of a plurality of surgical tools based on current positions and current orientations of a plurality of user input interfaces of a plurality of surgical tool manipulators configured to manipulate the plurality of surgical tools comprising the plurality of end effectors whose positions and orientations are determined based on positions and orientations of the plurality of user input interfaces, the plurality of surgical tools comprising a first surgical tool including at least one first segment comprising a first plurality of sections configured to bend and form a continuous curve and second surgical tool including at least one second segment comprising a second plurality of sections configured to bend and form a continuous curve;in response to the determination of the new end effector positions and the new end effector orientations, determine a set of distances from each point of a first set of points along the first surgical tool to each point of a second set of points along the second surgical tool;in response to a determination that at least one distance of the set of distances satisfies a proximity threshold: cause movement of the plurality of end effectors associated with the first and second surgical tools to be disabled; andcause the plurality of end effectors associated with the first and second surgical tools to remain at respective previous positions and previous orientations; andin response to a determination that no distance of the set of distances satisfies the proximity threshold, cause the plurality of end effectors associated with the first and second surgical tools to be positioned and oriented at the respective new end effector positions and the respective new end effector orientations.
  • 59. The computer readable medium of claim 58, wherein the plurality of user input interfaces comprise a plurality of handles.
  • 60. The computer readable medium of claim 59, wherein the instructions further cause the processor to, in response to the determination that the at least one distance of the set of distances satisfies the proximity threshold, determine at least one parameter of a haptic feedback and cause first and second handles associated, respectively, with the first and second surgical tools to provide the haptic feedback to a user to impede movement of the first and second handles in a direction that would shorten the at least one distance.
  • 61. The computer readable medium of claim 60, wherein the at least one parameter of the haptic feedback comprises an intensity of a haptic feedback force, the intensity being proportional to a difference between the at least one distance and the proximity threshold.
  • 62. The computer readable medium of claim 60, wherein the least one parameter of the haptic feedback comprises a first direction associated with a first handle of the first surgical tool and a second direction associated with a second handle of the second surgical tool, the first direction being opposite to the second direction.
  • 63. The computer readable medium of claim 58, wherein the instructions further cause the processor to generate a notification that the at least one distance of the set of distances satisfies the proximity threshold.
  • 64. The computer readable medium of claim 63, wherein the notification comprises at least one of a visual or audio notification.
  • 65. The computer readable medium of claim 58, wherein the processor is further configured to cause movement of the plurality of end effectors associated with the first and second surgical tools to be enabled in response to a determination that the at least one distance no longer satisfies the proximity threshold.
  • 66. The computer readable medium of claim 58, wherein the instructions cause the processor to: determine a new end effector position and a new end effector orientation of an end effector of the plurality of end effectors based on a current position and orientation of a user input interface of the plurality of user input interfaces of a surgical tool manipulator of the plurality of surgical tool manipulators, the surgical tool manipulator associated with the end effector; andperiodically receive the current position and orientation of the user input interface from the surgical tool manipulator.
Provisional Applications (1)
Number Date Country
62156049 May 2015 US
Continuations (2)
Number Date Country
Parent 16911916 Jun 2020 US
Child 18316712 US
Parent 15570286 Oct 2017 US
Child 16911916 US