Alignment difference safety in a master-slave robotic system

Information

  • Patent Grant
  • 11103318
  • Patent Number
    11,103,318
  • Date Filed
    Wednesday, October 31, 2018
    6 years ago
  • Date Issued
    Tuesday, August 31, 2021
    3 years ago
Abstract
A method of operating a robotic control system comprising a master apparatus in communication with an input device having a handle and a slave system having a tool having an end effector whose position and orientation is determined in response to a position and orientation of the handle. The method involves producing a desired end effector position and a desired end effector orientation of the end effector, in response to a current position and a current orientation of the handle. The method further involves causing the input device to provide haptic feedback that impedes translational movement of the handle, while permitting rotational movement of the handle and preventing movement of the end effector, when a rotational alignment difference between the handle and the end effector meets a first criterion. The method further involves re-enabling translational movement of the handle when the rotational alignment difference meets a second criterion.
Description
BACKGROUND OF THE INVENTION
1. Field of Invention

This invention relates to master-slave robotic systems such as those used for laparoscopic surgery and more particularly to prevention of operator control of the surgical tools when an alignment difference between the master and slave exceeds a threshold value.


2. Description of Related Art

In a robotic system that allows for clutching of an end effector wherein movement of the end effector in response to movement of a handle can be selectively interrupted by the clutch mechanism such that the handle can be moved and rotated while the position and rotation of the end effector is held stationary, there is a possibility that the orientation of the handle and the orientation of the end effector will come out of rotational alignment. Should this occur, the commanded end effector orientation can differ significantly from the handle orientation. When the alignment difference is large, movement of the slave instrument may not feel as though it is fundamentally linked to the motion of the master handle, from the user's perspective.


SUMMARY OF THE INVENTION

The disclosure describes a method of operating a robotic control system comprising a master apparatus in communication with an input device having a handle capable of translational and rotational movement and a slave system having a tool positioning device holding a tool having an end effector whose position and orientation is determined in response to a position and orientation of the handle. The method involves producing a desired end effector position and a desired end effector orientation of the end effector, in response to a current position and a current orientation of the handle. The method further involves causing the input device to provide haptic feedback that impedes translational movement of the handle, while permitting rotational movement of the handle and while disabling translational and rotational movement of the end effector, when a rotational alignment difference between the handle and the end effector meets a disablement criterion. The method further involves enabling translational movement of the handle when the rotational alignment difference meets an enablement criterion.


Producing the desired end effector position and desired end effector orientation may include causing the master apparatus to receive current handle position signals (custom characterMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the input device, and causing the master apparatus to produce new end effector position signals (custom characterEENEW) and new end effector orientation signals (REENEW) defining the desired end effector position and the desired end effector orientation, respectively of the end effector, in response to the current handle position signals (custom characterMCURR) and the current handle orientation signals (RMCURR).


Causing the master apparatus to receive the current handle position signals and the current handle orientation signals may involve causing the master apparatus to periodically receive the current handle position signals and the current handle orientation signals.


The method may further involve causing the master apparatus to determine the rotational alignment difference between the handle and the end effector in response to the current handle orientation signals (RMCURR) and the new end effector orientation signals (REENEW).


Causing the master apparatus to determine a rotational alignment difference between the handle and the end effector may involve causing the master apparatus to determine an angle through which the end effector would have to be rotated to align it with the current handle orientation.


Causing the master apparatus to determine a rotational alignment difference between the handle and the end effector may further involve determining whether the angle of rotation is less than a threshold.


Causing the input device to provide haptic feedback may involve causing the master apparatus to transmit a haptic feedback signal to the input device to cause the input device to provide the haptic feedback that impedes the translational movement of the handle.


Enabling translational movement of the handle when the rotational alignment difference meets an enablement criterion may involve transmitting to the slave system a control signal identifying the end effector position and orientation signals based on a current position and orientation of the handle, and disabling movement of the end effector in response to any movement of the handle may involve transmitting to the slave system a control signal identifying the end effector position and orientation signals determined from a previous position and orientation of the handle.


The method may involve causing the master apparatus to receive an enablement signal.


The method may further involve generating the enablement signal such that the enablement signal selectively has an active state or an inactive state.


The method may involve causing the master apparatus to detect a change of the enablement signal from the inactive state to the active state and when the change is detected: causing the master apparatus to store the current handle position signals (custom characterMCURR) and the current handle orientation signals (RMCURR) as master base position signals (custom characterMBASE) and master base rotation signals (RMBASE) respectively, in response to the change of the enablement signal. The method may involve causing the master apparatus to store the new end effector position signals (custom characterEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (custom characterEEBASE) and end effector base rotation signals (REEBASE) respectively, in response to the change of the enablement signal.


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

custom characterEENEW=A(custom characterMCURRcustom characterMBASE)+custom characterEEBASE; and
REENEW=REEBASERMBASE−1RMCURR.


The method may involve causing the control signal to be further dependent on the state of the enablement signal, such that the control signal identifies the end effector position and orientation signals based on a current position and orientation of the handle when the alignment difference is less than the disablement criterion and the enablement signal is in the active state, and the control signal identifies the end effector position and orientation signals based on a previous position and orientation of the handle when the enablement signal is in the inactive state.


The method may further involve causing the master apparatus to produce annunciation signals for causing an annunciator to annunciate an indication of a relative rotational alignment of the handle and the end effector.


Causing the master apparatus to produce annunciation signals may include causing the master apparatus to produce display control signals for causing a display to depict the relative alignment.


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


The disclosure further describes an apparatus for use in a robotic control system the apparatus in communication with an input device having a handle capable of translational and rotational movement and in communication with a slave system having a tool having an end effector whose position and orientation is determined in response to a position and orientation of the handle. The apparatus includes producing means for producing a desired end effector position and a desired end effector orientation of the end effector, in response to a current position and a current orientation of the handle.


The apparatus further includes causing means for causing the input device to provide haptic feedback that impedes translational movement of the handle, while causing rotational movement of the handle to be enabled and while causing translational movement of the end effector in response to translational movement of the handle to be disabled, when a rotational alignment difference between the handle and the end effector meets a disablement criterion. The apparatus further includes enabling means for enabling translational movement of the handle when the rotational alignment difference meets an enablement criterion.


The producing means may include means for receiving current handle position signals (custom characterMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the input device, and means for producing new end effector position signals (custom characterEENEW) and new end effector orientation signals (REENEW) defining the desired end effector position and the desired end effector orientation, respectively of the end effector, in response to the current handle position signals (custom characterMCURR) 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 determining the rotational alignment difference between the handle and the end effector in response to the current handle orientation signals (RMCURR) and the new end effector orientation signals (REENEW).


The means for determining the rotational alignment difference between the handle and the end effector may include means for determining an angle through which the end effector would have to be rotated to align it with the current handle orientation.


The apparatus may include means for determining whether the angle of rotation is less than a threshold.


Causing means may include means for transmitting a haptic feedback signal to the input device to cause the input device to provide the haptic feedback that impedes the translational movement of the handle.


The enabling means may include means for transmitting to the slave system a control signal identifying the end effector position and orientation signals based on a current position and orientation of the handle, and means for disabling movement of the end effector in response to any movement of the handle comprising means for transmitting to the slave system a control signal identifying end effector position and orientation signals determined from a previous position and orientation of the handle.


The apparatus may include means for receiving an enablement signal.


The apparatus may include means for generating the enablement signal such that the enablement signal selectively has an active state or an inactive state.


The apparatus may include means for detecting a change of the enablement signal from the inactive state to the active state, means for storing the current handle position signals (custom characterMCURR) and the current handle orientation signals (RMCURR) as master base position signals (custom characterMBASE) and master base rotation signals (RMBASE) respectively, in response to the change of the enablement signal, and means for storing the new end effector position signals (custom characterEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (custom characterEEBASE) and end effector base rotation signals (REEBASE) respectively, in response to the change of the enablement signal.


The means for producing the new end effector position signals (custom characterEENEW) 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:

custom characterEENEW=A(custom characterMCURRcustom characterMBASE)+custom characterEEBASE; and
REENEW=REEBASERMBASE−1RMCURR.


The apparatus may include means for causing the control signal to be further dependent on the state of the enablement signal, such that the control signal identifies the end effector position and orientation signals based on a current position and orientation of the handle when the alignment difference is less than the disablement criterion and the enablement signal is in the active state, and the control signal identifies the end effector position and orientation based on a previous position and orientation of the handle when the enablement signal is in the inactive state.


The apparatus may include annunciation signal means for producing annunciation signals for causing an annunciator to annunciate an indication of a relative rotational alignment of the handle and the end effector.


The annunciation signal causing means may include means for producing display control signals for causing a display to depict the relative alignment.


The disclosure further describes an apparatus for use in a robotic control system, the apparatus in communication with an input device having a handle capable of translational and rotational movement and in communication with a slave system having a tool having an end effector whose position and orientation is determined in response to a position and orientation of the handle. The apparatus includes at least one processor circuit configured to produce a desired end effector position and a desired end effector orientation of the end effector, in response to a current position and a current orientation of the handle, to cause the input device to provide haptic feedback that impedes translational movement of the handle, while causing rotational movement of the handle to be enabled and while causing translational movement of the end effector in response to translational movement of the handle to be disabled, when a rotational alignment difference between the handle and the end effector meets a disablement criterion, and to enable translational movement of the handle when the rotational alignment difference meets an enablement criterion.


The at least one processor circuit may be configured to produce the desired end effector position and desired end effector orientation by receiving current handle position signals (custom characterMCURR) and current handle orientation signals (RMCURR) representing a current position and a current orientation respectively of the handle of the input device, and producing new end effector position signals (custom characterEENEW) and new end effector orientation signals (REENEW) defining the desired end effector position and the desired end effector orientation, respectively of the end effector, in response to the current handle position signals (custom characterMCURR) and the 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 by periodically receiving the current handle position signals and the current handle orientation signals.


The at least one processor circuit may be further configured to determine the rotational alignment difference between the handle and the end effector in response to the current handle orientation signals (RMCURR) and the new end effector orientation signals (REENEW).


The at least one processor circuit may be configured to determine a rotational alignment difference between the handle and the end effector by determining an angle through which the end effector would have to be rotated to align it with the current handle orientation.


The at least one processor circuit may be further configured to determine whether the angle of rotation is less than a threshold.


The at least one processor circuit may be configured to cause the input device to provide haptic feedback by transmitting a haptic feedback signal to the input device to cause the input device to provide the haptic feedback that impedes the translational movement of the handle.


The at least one processor circuit may be configured to enable translational movement of the handle when the rotational alignment difference meets an enablement criterion by transmitting to the slave system a control signal identifying the end effector position and orientation signals based on a current position and orientation of the handle, and disabling movement of the end effector in response to any movement of the handle comprises transmitting to the slave system a control signal identifying the end effector position and orientation signals determined from a previous position and orientation of the handle.


The at least one processor circuit may be further configured to receive an enablement signal.


The at least one processor circuit may be further configured to generate the enablement signal such that the enablement signal selectively has an active state or an inactive state.


The at least one processor circuit may be further configured to detect a change of the enablement signal from the inactive state to the active state and when the change is detected: store the current handle position signals (custom characterMCURR) and the current handle orientation signals (RMCURR) as master base position signals (custom characterMBASE) and master base rotation signals (RMBASE) respectively, in response to the change of the enablement signal, and store the new end effector position signals (custom characterEENEW) and the new end effector orientation signals (REENEW) as end effector base position signals (custom characterEEBASE) and end effector base rotation signals (REEBASE) respectively, in response to the change of the enablement signal.


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

custom characterEENEW=A(custom characterMCURRcustom characterMBASE)+custom characterEEBASE; and
REENEW=REEBASERMBASE−1RMCURR.


At least one processor circuit may be further configured to cause the control signal to be further dependent on the state of the enablement signal, such that the control signal identifies the end effector position and orientation signals based on a current position and orientation of the handle when the alignment difference is less than the disablement criterion and the enablement signal is in the active state, and the control signal identifies the end effector position and orientation based on a previous position and orientation of the handle when the enablement signal is in the inactive state.


The at least one processor circuit may be further configured to produce annunciation signals for causing an annunciator to annunciate an indication of a relative rotational alignment of the handle and the end effector.


The at least one processor circuit may be configured to produce the annunciation signals by producing display control signals for causing a display to depict the relative alignment.


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





BRIEF DESCRIPTION OF THE DRAWINGS

In drawings which illustrate embodiments of the invention,



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 block diagram illustrating certain functionality and certain signals produced and used by the system shown in FIG. 1;



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



FIG. 5 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 FIGS. 6, 8A and 8B;



FIG. 6 is a block diagram 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. 7 is an oblique view of the input device shown in FIG. 2 and the tool holder shown in FIG. 4 showing relationships between base axes of the input device and the end effector;



FIGS. 8A-8B are successive portions of a flowchart representing codes executed by a master apparatus of the system shown in FIG. 1, to provide for computation of an alignment difference between the input device shown in FIG. 2 and the end effector shown in FIG. 4 and for controlling translational movement of the end effector and for controlling the type of control signals sent to a slave subsystem of the laparoscopic surgery system shown in FIG. 1, based on the computed alignment difference;



FIG. 9 is a flowchart of an alternative block of code optionally replacing the block of code shown at 204 and 206 in FIG. 8B;



FIG. 10 is a schematic diagram of a visual representation of alignment difference between the input device and the end effector, for embodiments where alignment is defined as being when a single input device axis and a single end effector axis are coincident; and



FIG. 11 is a schematic diagram of a visual representation of alignment difference between the input device and the end effector where alignment is defined as coincidence of all axes of the input device reference frame and end effector reference frame. i.e. frame x1,y1,z1 coincident with x2,y2,z2 in FIG. 7.





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 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 having first and second input devices 58 and 60 and a viewer 62 in communication with a master apparatus 64 comprising at least one processor. The first and second input devices 58 and 60 are operable to be actuated by respective hands of a user 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 laparoscopic 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 user to see the laparoscopic 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 rotation 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 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. The tool positing devices 79 and 81 extend through an insertion tube 61, a portion of which is inserted through a small opening 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 first 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.


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 described, it is being understood that input device 58 operates in the same way.


Referring to FIG. 2, generally each Omega.7 haptic device includes a base plate 90 that supports a control unit 92 having arms 94, 96, 98 connected to a gimbal-mounted handle 102 that can be grasped by the hand of a user and rotated about orthogonal axes custom character1, custom character1 and custom character1 of a first Cartesian reference frame having an origin at a point midway along the axis of a cylinder that forms part of the handle 102. This first Cartesian reference frame may be referred to as the handle reference frame. The origin may be referred to as the handle position 104.


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 handle 102 is mounted on a gimbal mount 106 having a pin 108. The base plate 90 has a calibration opening 110 for receiving the pin 108. When the pin 108 is received in the opening 110, the haptic device is in a calibration position that is defined relative to a fixed master Cartesian reference frame comprising orthogonal axes custom characterr, custom characterr, custom characterr generally in the center of the handle translational workspace. In the embodiment shown, this master reference frame has an custom characterr-custom characterr plane parallel to the flat surface 82 and a custom characterr axis perpendicular to the flat surface. In the embodiment shown, the custom characterr 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 movement in the custom characterr 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 x1, y1 and z1 axes and produces signals representing the handle position 104 (i.e. the center of the handle 102) in the workspace and the rotational orientation of the handle 102 relative to the fixed master reference frame custom characterr, custom characterr, custom characterr. 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 custom characterMCURR and a current handle rotation matrix RMCURR, relative to the fixed master reference frame custom characterr, custom characterr, custom characterr.


For example, the current handle position vector custom characterMCURR is a vector







{




x
1






y
1






z
1




}

,





where x1, y1, and z1 represent coordinates of the controller position within the handle workspace relative to the fixed master reference frame, custom characterr, custom characterr, custom characterr.


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







[




x

1





x





y

1





x





z

1





x







x

1





y





y

1





y





z

1





y







x

1





z





y

1





z





z

1





z





]

,





where the columns of the matrix represent the axes of the handle reference frame custom character1, custom character1, custom character1 written in the fixed master reference frame custom characterr, custom characterr, custom characterr. RMCURR thus defines the current rotational orientation of the handle 102 in the handle translational workspace, relative to the custom characterr, custom characterr, custom characterr master reference frame.


The current handle position vector custom characterMCURR and current handle rotation matrix RMCURR are transmitted in the current handle position and orientation signals on wires 111 of the USB bus, for example to the master apparatus 64 in FIG. 1.


In addition, in the embodiment shown, the master apparatus 64 is coupled to a footswitch 170 actuable by the user (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. As will be seen below, the enablement signal allows the user to cause the master apparatus 64 to selectively enable and disable movement of the end effectors in response to movement of the handles 102.


Referring now to FIG. 7, the end effector 73 and related structures are described. The fixed slave reference frame has axes xs, ys and zs which intersect at a point referred to as the slave fixed base position 128, lying on the 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 zs axis is coincident with the longitudinal axis 136 of the insertion tube 61. The xs-zs plane thus contains the longitudinal axis 136 of the insertion tube 61 and the xs and ys axes define a plane perpendicular to the longitudinal axis 136 of the insertion tube 61.


In the embodiment shown, end effector 73 includes a pair of gripper jaws. Orthogonal axes x2, y2 and z2 of an end effector Cartesian reference frame have an origin at the intersection at a mid-point between gripper jaws of the end effector 73. The origin of the end effector reference frame may be referred to as the slave end effector position 150 relative to the fixed slave reference frame custom characters, custom characters, custom characters.


New end effector positions and end effector orientations are calculated by the end effector position and orientation calculation block 116 shown in FIG. 3, in response to the current handle position signals custom characterMCURR and current handle orientation signals RMCURR and are represented by a new end effector position vector custom characterEENEW and an rotation matrix REENEW, relative to the custom characters, custom characters, custom characters fixed slave reference frame.


For example, the new end effector position vector custom characterEENEW is a vector







{




x
2






y
2






z
2




}

,





where x2, y2, and z2 represent coordinates of the end effector position within the end effector workspace relative to the custom characters, custom characters, custom characters fixed slave reference frame.


The end effector rotation matrix REENEW is a 3×3 matrix







[




x

2

x





y

2





x





z

2





x







x

2





y





y

2





y





z

2





y







x

2





z





y

2





z





z

2





z





]

,





where the columns of the REENEW matrix represent the axes of the end effector reference frame x2, y2, z2 written in the fixed slave reference frame custom characters, custom characters, custom characters. REENEW thus defines a new orientation of the end effector 73 in the workspace, relative to the custom characters, custom characters, custom characters reference frame.


Referring back 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. Referring to FIGS. 1 and 3, these functions may be grouped into categories and expressed as functional blocks of code including an end effector position and orientation calculation block 116, a kinematics block 118, a motion control block 120, a feedback force control block 122, and a base setting block 216, all stored on the disk drive 114 of the master apparatus 64. For ease of description, these blocks are shown as functional blocks within the master apparatus 64 in FIG. 3. These functional blocks are executed separately but in the same manner for each input device 58 and 60. The execution of these functional blocks for only input device 60 and end effector 73 will be described, it being understood they are separately executed in the same way for input device 58 and end effector 71 to achieve control of end effectors 73 and 71 by right and left hands respectively of the user.


Generally, the end effector position and orientation calculation block 116 includes codes that direct the master apparatus 64 to produce new end effector position and rotation signals, later referred to herein as custom characterEENEW and REENEW, and includes codes that direct the master apparatus 64 to produce a translation lock signal for receipt by 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 rotation signals.


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.


The feedback force control block 122 directs the master apparatus 64 to receive the translation lock signal from the end effector position and orientation calculation block 116 and to receive the configuration variables from the kinematics block 118 and to produce a haptic feedback control signal that is provided to the control unit 92 to cause the control unit to present a force to the user if the user tries to cause translational movement of the handle 102. This impedes translational movement of the handle 102 but allows the handle 102 to be rotated to allow it to be brought into rotational alignment with the end effector 73.


The base setting block 216 is executed asynchronously, whenever the enablement signal transitions from an inactive state to an active state, such as when the user releases the footswitch 170. The base setting block 216 directs the master apparatus 64 to set new reference positions and orientations for the handle 102 and end effector 73, respectively as will be described below.


Referring back to FIG. 1, in the embodiment shown, the slave control signals represent wire length values indicating how much certain wires of a given 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 be positioned and rotated in a manner determined by positioning and rotating the corresponding input device 60.


Referring to FIGS. 1 and 3, the slave control signals representing the wire length values are transmitted to the slave computer 74, which has its own computer readable medium encoded with communication interface codes 124 for directing the slave computer to receive the slave control signals from the master apparatus 64. The computer readable medium is also encoded with motor control signal generator codes 126 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 wires controlling the attached tool positioning device 81 according to the wire length values represented by the control signals from the master apparatus 64.


The kinematics block 118 receives newly calculated end effector position and orientation signals (custom characterEENEW and REENEW) each time the end effector position and orientation calculation block 116 is executed. In response, the kinematics block 118 produces the configuration variables described below.


Referring to FIG. 3, generally, the codes in the kinematics block 118 direct the master apparatus 64 to calculate values for the above configuration variables in response to the end effector position and rotation signals custom characterEENEW and REENEW produced by the end effector position and orientation calculation block 116 and these calculated configuration values generally define a tool holder pose required to position end effector 73 at a desired location and at a desired orientation in its workspace.


Referring to FIG. 4, 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 130 and 132 each include a plurality of “vertebra” 324. 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 base position 128 defined as the origin of the slave fixed base reference frame xs,ys,zs and a first position 330 at the origin of a first position reference frame x3, y3, and z3. 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 330 to a third position 334 defined as an origin of a third reference frame having axes x5, y5, and z5 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 332, defined as the origin of a second position reference frame having axes x4, y4, z4. The s-segment 130 has a length L1, which in the embodiment shown may be about 65 mm, for example.


The distal segment 132 extends from the third position 334 to a fourth position 336 defined as an origin of a fourth reference frame having axes x6, y6, z6. The distal segment 132 has a length L2, which in the embodiment shown may be about 23 mm, for example.


The tool 67 also has an end effector length, which in the embodiment shown is a gripper length L3 that extends from the fourth position 336 to the end effector position 150 defined as the origin of axes x2, y2, and z2. The gripper length L3, in this embodiment, may be about 25 mm, for example. The slave base position 128, first position 330, second position 332, third position 334, fourth position 336 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. 7 to a partial S-shape as shown in FIG. 4 to a full S-shape. The s-segment 130 is sectional in that it has a first section 320 and a second section 322 on opposite sides of the second position 332. The first and second sections 320 and 322 lie in a first bend plane containing the first position 330, second position 332, and third position 334. The first bend plane is at an angle δprox to the xs-zs plane of the fixed slave reference frame. The first section 320 and second section 322 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 z5 axis of the third position 334 is always parallel to and aligned in the same direction as the zs axis of the fixed slave base position 128. Thus, by pushing and pulling on the control wires within the tool positioning device 81, the third position 334 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 334 and the fourth position 336. The second bend plane is at an angle δdist to the xs-zs 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 336 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 336 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 in the embodiment shown, i.e. the length L3. Generally, the portion of the gripper between the fourth position 336 and the end effector position 150 (L3) will be unbendable.


In the embodiment shown, the end effector 73 is a gripper jaw tool that is rotatable about the z2 axis in the x2-y2 plane of the end effector reference frame, the angle of rotation being represented by an angle γ relative to the positive x2 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 as follows:

    • qins: represents a distance from the slave base position 128 defined by axes xs, ys, and zs to the first position 330 defined by axes x3, y3 and z3 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 xs-ys plane of the fixed slave reference frame;
    • θprox: represents an angle at which the first and second sections 320 and 322 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 xs-ys 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 z2; 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

2

x





y

2





x





z

2





x







x

2





y





y

2





y





z

2





y







x

2





z





y

2





z





z

2





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 xs, ys and zs, the values θdist, δdist, and γ associated with the distal segment 132 can be calculated according to the relations:










θ
dist

=


π
2

-


a

tan






2


(




z

2

x

2

+

z

2

y

2



,

z

2





z



)







(
2
)







δ
dist

=


-

a

tan







2


(


z

2

y


,

z

2





x



)






(
3
)







if








δ
dist




>

π
2












γ
=



a

tan






2


(


-

y

2

z



,

x

2





z



)


-

δ
dist

+
π





(

4





a

)





else










γ
=



a

tan






2


(


y

2

z


,

-

x

2





z




)


-

δ
dist






(

4

b

)







These values can then be used to compute the locations of the third position 334, the fourth position 336, and the end effector position 150 relative to the fixed slave base position 128. The locations may be expressed in terms of vectors p3/s from the fixed slave base position 128 to the first position 330, p4/3 from the third position 334 to the fourth position 336, and p5/4 from the fourth position 336 to the end effector position 150. p3/s is then calculated from {right arrow over (P)}EENEW as follows:

p3/s=pEENEWp4/3p5/4,  (5)

where:












p
_


4
/
3


·

i
_


=



-

L
2



cos







δ
dist



(


sin






θ
dist


-
1

)





π
2

-

θ
dist







(

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

)








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 base position 128 to the third position 334 (p3/s) is known, the configuration variables, δprox and θprox, for the s-segment 130 can be found. The configuration variable δprox associated with the s-segment 130 is calculated by solving the following two equations for δprox:












p
_


3
/
s


·

i
_


=



-

L
1



cos







δ
prox



(


sin






θ
prox


-
1

)





π
2

-

θ
prox







(

8





a

)









p
_


3
/
s


·

j
_


=




L
1


sin







δ
prox



(


sin






θ
prox


-
1

)





π
2

-

θ
prox



.





(

8





b

)







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

δprox=a tan 2(−p3/s·j,p3/s·ī),  (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
/
s


·

i
_



=
0


,




(
10
)








where ī is the unit vector in the x direction.


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
/
s


·

k
_


-



L
1


cos






θ
prox




π
2

-

θ
prox





,




(
12
)








where:

    • k is the unit vector in the z direction;
    • p3/s·k is the dot product of the vector p3/s 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 {right arrow over (P)}EENEW 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 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 the feedback force control block 122.


Referring to FIG. 5, the master apparatus 64 queries the control unit 92 for the handle position vector custom characterMCURR and handle rotation matrix RMCURR periodically, at a sample rate of about 1 kHz. These values are stored by the master apparatus 64 in a first “current” buffer 140 having a first store 142 storing the three values representing the currently acquired handle position vector custom characterMCURR and a second store 144 storing the nine values representing the acquired handle rotation matrix RMCURR.


Referring to FIGS. 2 and 5, the master apparatus 64 also stores values custom charactermb, custom charactermb, custom charactermb representing a definable master base position represented by a base position vector custom characterMBASE in a third store 146 and stores values representing a definable master base rotation matrix RMBASE in a fourth store 148. The master apparatus 64 initially causes the definable master base position vector custom characterMBASE to be set equal to the current handle position vector custom characterMCURR on startup of the system 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, on startup of the system.


Initially, therefore:

custom characterMBASE=custom characterMCURR; and
RMBASE=RMCURR


Thereafter, the master base position custom characterMBASE 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 footswitch (170 in FIGS. 1 and 3), which causes the enablement signal to transition from the inactive state to the active state. In response, the base setting block 216 in FIG. 6 is executed to change the master base position vector custom characterMBASE and master base rotation matrix RMBASE to the currently acquired master position custom characterMCURR and currently acquired master orientation RMCURR respectively.


Referring to FIGS. 5 and 7, the master apparatus 64 further stores values custom charactersb, custom charactersb, custom charactersb representing a definable slave base position custom characterEEBASE in a fifth store 152 and stores values representing a definable slave base rotation REEBASE in a sixth store 154. The master apparatus 64 initially causes the definable slave base position vector custom characterEEBASE to be set equal to the new end effector position vector custom characterEENEW 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.


Initially, therefore:

custom characterMBASE=custom characterMCURR; and
RMBASE=RMCURR


In other words, the slave base reference frame and the end effector reference frame coincide at startup.


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


Referring to FIGS. 8A and 8B, the end effector position and orientation calculation block 116 is executed each time a set of new values for custom characterMCURR and RMCURR are acquired from the control unit 92. The end effector position and orientation calculation block 116 directs the master apparatus 64 to produce and store, in a seventh store 162 in FIG. 5, values representing the new end effector position vector custom characterEENEW and to produce and store, in an eighth store 164 in FIG. 5, values representing the desired end effector rotation matrix REENEW.


After new values for custom characterMCURR and RMCURR are acquired from the control unit 92, block 160 in FIG. 8A directs the master apparatus 64 to generate new end effector position signals custom characterEENEW and new end effector orientation signals REENEW representing a desired end effector position 150 and desired end effector orientation, relative to the slave base position 128 and the slave base orientation.


The new end effector position signals {right arrow over (P)}EENEW and new end effector orientation signals REENEW are calculated according to the following relations:

custom characterEENEW=A(custom characterMCURRcustom characterMBASE)+custom characterEEBASE

and

REENEW=REEBASERMBASE−1RMCURR.


Where: custom characterEENEW is the new end effector position vector that represents the new desired position of the end effector 73 in the end effector workspace, relative to the slave base reference frame;

    • A is a scalar value representing a scaling factor in translational motion between the master and the slave;
    • custom characterMCURR is the current representation of the handle position vector stored in the first store 142, the handle position vector being relative to the master reference frame;
    • custom characterMBASE is the last-saved position vector custom characterMCURR for the handle that was saved 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 the user;
    • custom characterEEBASE is the last-saved position vector custom characterEENEW for the end effector 73 that was saved upon the last inactive to active state transition of the enablement signal;
    • REENEW is the new end effector rotation matrix representing the current orientation of the end effector 73 relative to the slave reference frame;
    • REEBASE is the rotation matrix representing the last-saved rotation of the end effector 73 saved upon the last inactive to active state transition of the enablement signal;
    • RMBASE−1 is the inverse of rotation matrix RMBASE, where RMBASE is a rotation matrix representing the last-saved rotation 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 master reference frame;


When the enablement signal is in the active state, as determined at block 161 in FIG. 8A, the master apparatus 64 is directed to the blocks shown generally at 200 in FIG. 8B to detect a rotational alignment difference, i.e. a difference, between the orientation of the handle 102 (RMCURR) and the newly calculated end effector orientation (REENEW), the difference representing a difference in physical alignment of these entities.


A difference in alignment can comprise any single degree of freedom or combination of degrees of freedom of any representation of orientation. In the general case, the alignment error would be computed considering all three orientation degrees of freedom. This case would, therefore, require that to be aligned, the reference frames described by REENEW and RMCURR be coincident.


In the general case, blocks 204 and 206 shown in FIG. 8B could be carried out to obtain the alignment error.


Block 204 directs the master apparatus 64 to compute a rotation matrix that carries the newly calculated end effector orientation into the current handle orientation (REE_TO_MASTER) by the relation:

REE_TO_MASTER=REENEW−1RMCURR

  • Where: REENEW−1 is the inverse matrix of the end effector rotation matrix REENEW represented by a 3×3 matrix stored in the eighth store 164; and
    • RMCURR is the current handle rotation matrix represented by the 3×3 matrix stored in the second store 144


Then, block 206 directs the master apparatus 64 to compute an angle of rotation associated with REE_TO_MASTER EE_TO_MASTER) by the relation:

φEE_TO_MASTER=acos(0.5 trace(REE_TO_MASTER)−1)


This angle of rotation (φEE_TO_MASTER) represents the alignment difference between the orientation of the handle 102 and the newly calculated end effector orientation.


In a special case, applicable to the embodiment described here, it is desirable that to be aligned, only the z-axes of the reference frames described by REENEW and RMCURR be coincident. In this case the master handle and the slave end effector point in the same direction and the roll about their z-axis is not considered.


In this special case therefore, blocks 204 and 206 shown in FIG. 8B are replaced with block 205 shown in FIG. 9 which involves the following computation

φEE_TO_MASTER=acos(REENEW(1,3)*RMCURR(1,3)+REENEW(2,3)*RMCURR(2,3)+REENEW(3,3)*RMCURR(3,3))


This computation represents the angle obtained from the dot product of the z-axes of the master and slave reference frames.


After determining the angle of rotation φEE_TO_MASTER, using either the generic method shown in blocks 204 and 206 or the method that assumes the z axes of the master and slave reference frames are aligned, block 208 directs the master apparatus 64 to determine whether the alignment difference meets a criterion. A first criterion may be that the alignment difference is not less than a threshold value, and a second criterion may be that the alignment difference is less than the threshold value, for example.


If the alignment difference meets the second criterion (i.e. is less than the threshold value), block 214 directs the master apparatus 64 to release any previously produced translation lock signal locking the master input device 60 by setting the translation lock signal inactive, thereby signaling the feedback force control block 122 of FIG. 3 to stop providing haptic feedback control signals that may have been preventing translational movement of the handle 102.


Then block 215 directs the master apparatus 64 to signal the motion control block 120 of FIG. 3 to indicate that motion control signals based on the newly calculated values for custom characterEENEW and REENEW are to be sent to the slave computer 74. This causes the end effector 73 to assume a position and orientation determined by the current position and current orientation of the handle 102 when the alignment difference meets the second criterion.


Block 159 then directs the master apparatus 64 to copy the newly calculated end effector position vector custom characterEENEW and end effector rotation matrix REENEW into stores 147 and 149 of the previous buffer 141. The newly calculated end effector position vector custom characterEENEW and newly calculated end effector rotation matrix REENEW are thus renamed as “previously calculated end effector position vector” custom characterEEPREV and “previously calculated end effector rotation matrix” REEPREV. By storing the newly calculated end effector position vector custom characterEENEW and newly calculated end effector rotation matrix REENEW, as previously calculated end effector position vector custom characterEEPREV and previously calculated end effector rotation matrix REEPREV, a subsequently acquired new end effector position vector custom characterEENEW and subsequently acquired new end effector rotation matrix REENEW can be calculated from the next current handle position vector custom characterMCURR and next current handle position matrix RMCURR.


If at block 208 the alignment difference meets the first criterion, i.e. alignment difference is not less than the threshold value but does not meet the second criterion, block 210 directs the master apparatus 64 to set the translation lock signal active to inform the feedback force control block (122 in FIG. 3) that it should cause the master apparatus 64 to send haptic feedback control signals to the control unit 92 to cause it to provide haptic feedback that impedes translational movement of the handle 102 while at the same time permitting rotational movement of the handle 102.


After executing block 210, the master apparatus 64 may be directed by an optional block, block 212, to start a program thread that directs the master apparatus 64 to produce annunciation signals for causing an annunciator to annunciate an indication of a relative alignment of the handle 102 and the end effector. The annunciator may include an audio producing device that changes a frequency of a signal in response to proximity of alignment and/or may include a display, possibly integrated into the viewer 62, for example, to provide a visual indication of the relative alignment between the end effector 73 and the handle 102. Such a visual presentation may be provided in the manner shown in FIG. 10, for example, for embodiments where alignment is defined as being when the z axes of the reference frames described by REENEW and RMCURR are coincident. The visual representation includes a circular region 240, with an end effector marker 242 shown in a center thereof and a circular boundary 244 shown around the end effector marker to mark a boundary set by the alignment threshold value. The radius of the circular boundary 244 is larger when the alignment threshold is greater and smaller when the alignment threshold is smaller. The visual representation further includes a handle position representation 246 shown in a position depicting a distance and direction of the handle 102 relative to the end effector marker 242. The visual representation can be produced considering the z-axis of the end effector reference frame and the z-axis of the master handle reference frame. With the frame origins co-located at the center of the circular region 240 and the z-axis of the end effector pointing into the page normal to the page, a projection of the tip of the z axis of the master handle will appear as a dot in the circular region 240, the dot representing the handle position 246 and depicting a distance and direction of the misalignment relative to the z-axis of the end effector as depicted by the end effector marker at the center of the circular region 240. Other visual representations may alternatively be used. For example, referring to FIG. 11, in the case where alignment is defined as coincidence of the master reference frame and the end effector reference frame, two cubes 300 and 302 may be used to visually represent the orientation of the RMCURR reference frame associated with the handle 102 and the reference frame REENEW associated with the end effector 73 respectively.


Referring back to FIGS. 8A-8B, after executing block 210 and, optionally, after initiating execution of the visual or audio representation thread with block 212, the master apparatus 64 is directed to block 163 causing it to set the “new” signal inactive to indicate to the motion control block 120 of FIG. 3 that it should send the slave control signals based on custom characterEEPREV and REEPREV. Thus, it will be appreciated that in the embodiment described, while the alignment difference remains equal to or greater than the alignment threshold, the master apparatus 64 executes blocks 210, 212, and 163 whereby, the user cannot effect translational movement of the handle 102 and can only rotate the handle until the handle is rotated into a position in which the alignment difference is less than the threshold value, at which point block 208 directs the master apparatus 64 to blocks 214, 215 and 159 which causes the master apparatus 64 to make the translation lock signal inactive, and to set the “new” signal active to indicate to the motion control block 120 that it should send the slave control signals based on custom characterEENEW and REENEW.


Referring back to FIG. 8A, at block 161, if the enablement signal is in the inactive state and while it remains in the inactive state, the master apparatus immediately executes block 163 of FIG. 8B which directs the master apparatus 64 to set the “new” signal inactive to indicate to the motion control block 120 in FIG. 3 that it should send the slave control signals based on the previously calculated values of custom characterEEPREV and REEPREV in the eleventh and twelfth stores 147 and 149, respectively. The wire length signals produced by the motion control block 120 thus represent wire length values derived from the last saved values of custom characterEEPREV and REEPREV, causing the end effector 73 to remain stationary because the same motion 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, motion control signals based only on the previously calculated end effector position and orientation signals are produced.


Accordingly, when the enablement signal is in the inactive state, the handle 102 can be moved and rotated and the calculations of custom characterEENEW and REENEW will still be performed by block 160, but there will be no movement of the end effector 73, because the previous motion 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 when the end effector motion is constrained by the master controller workspace; for example, in the case where the scale factor “A” in the relation:

custom characterEENEW=A(custom characterMCURRcustom characterMBASE)+custom characterEEBASE

is such that the full range of motion in the master translational workspace does not cause the end effector to cover the full translational workspace of the slave instrument.


Referring back to FIG. 3, the feedback force control block 122 is running in the background and, in response to an active translation lock signal produced by the master apparatus 64 at block 210 of FIG. 8B, the feedback control block 122 directs the master apparatus 64 to produce haptic feedback force control signals for receipt by the control unit 92 that cause the control unit 92 to present a haptic force to the arms 94, 96, 98, to impede translational movement of the handle 102 and lock it in its current position in the handle translational workspace. In other words, the handle 102 is locked at its current position space by the haptic feedback produced by the control unit 92 in response to signals provided to it by the force control block 122. Rotational movement of the handle 102, can still be performed but translational movement cannot. The control unit 92 thus produces a constant handle position vector custom characterMCURR but produces a varying rotation matrix RMCURR dependent on the orientation of the handle 102.


When the translation lock signal is set inactive by block 214 of FIG. 8B by the end effector position and orientation calculation block 116, the feedback force control block 122 directs the master apparatus 64 to send haptic feedback control signals to the control unit 92 to cause the control unit to cease providing haptic force and the user can resume translating and rotating the handle 102 to any position within the handle translational workspace.


The motion control block 120 uses the configuration values produced by the kinematics block 118 to produce 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 responsive to the “new” signal controlled by blocks 215 and 163 of FIG. 8B and causes the current wire length values to be represented by the slave control signals when the enablement signal is active and the alignment difference is less than the threshold and causes the previous wire length values to be represented by the slave control signals when the enablement signal is not active and when the enablement signal is active but the alignment difference is not less than the threshold.


Therefore, it can be seen that when the user releases the footswitch 170 such that the enablement signal transitions from inactive to active, the slave control signals produced in response to actuation of the handle represent custom characterEENEW and REENEW only if the alignment difference is less than the alignment threshold. Otherwise, if, when the enablement signal transitions from inactive to active, the alignment difference is not less than the alignment threshold, the previous wire length values are represented by the slave control signals.


In addition, when the alignment difference is not less than the alignment threshold, the handle is locked against translational movement and, optionally, the user is provided with a visual display of the relative alignment between the end effector 73 and the handle 102. In this state the user can only rotate the handle 102 until it is positioned into an orientation in which it is aligned with the end effector 73, within the bounds of the alignment threshold, at which time the newly calculated custom characterEENEW and REENEW values are again represented in the control signals sent from the master apparatus 64 to the slave computer 74 to again provide for normal operation where the end effector 73 is positioned and rotated in response to positioning and rotation of the handle 102.


For example, referring to FIG. 7, the use could push the handle 102 in the custom charactermb direction toward the control unit 92 while the enablement signal is active, whereby the end effector 73 is moved in the custom charactersb direction corresponding to the movement of the handle 102. Then, the user can actuate the footswitch 170 to set the enablement signal inactive and while the footswitch is actuated, withdraw the handle 102 along the custom charactermb axis in the opposite direction, away from the control unit 92. Since the motion control signals are produced based on the previously calculated end effector position custom characterEEPREV and the previously calculated end effector rotation REEPREV when the footswitch is actuated, the end effector 73 remains stationary.


Then, the user can release the footswitch 170 to set the enablement signal active and, in response to the enablement signal transitioning from the “not active” state to the “active” state, block 216 of FIG. 6 directs the master apparatus 64 to store the current values of the handle position custom characterMCURR and handle orientation RMCURR signals as new values of the master base position signals custom characterMBASE and new values of the master base orientation signals RMBASE respectively, and stores the newly calculated values of the end effector position signals custom characterEENEW and newly calculated values of the end effector 73 rotation signals REENEW as new values of the end effector base position signals custom characterEEBASE and new values of the end effector base orientation signals REEBASE respectively. Otherwise, upon release of the footswitch, the end effector 73 would “snap” to the absolute position directly determined by the position of the handle 102 and this could be dangerous if it were to occur inside a patient because the end effector 73 could tear into tissue or internal organs of the patient with possibly life-threatening effects. The user can then continue pushing the handle 102 in the zmb direction toward the control unit 92 while the end effector 73 is further moved in the zsb direction corresponding to the movement of the handle 102.


This provides a clutching effect which is achieved by causing movements of the handle 102 and movements of the end effector 73 to be made relative to the last-saved master base position (custom characterMBASE) and rotation (RMBASE) and the last saved end effector base position (custom characterEEBASE) and rotation (REEBASE) respectively.


While the above described clutching effect is desirable to match the range of translational movement of the end effector 73 with the range of movement of the handle 102 and for the user to reposition their hands to a comfortable position for operation, it is not desirable for clutching to occur in rotation because this would cause a misalignment in orientation between the master and the slave, making the teleoperated slave difficult to control. In the absence of a mechanical means to maintain the orientation of the handle 102 it would be difficult for the user to rotate the handle 102 to cause it to be exactly aligned with the end effector 73 on release of the footswitch 170 so that normal operation can be resumed.


By locking the handles against translational movement when the alignment difference is not less than the threshold and by representing the previously calculated custom characterEEPREV and REEPREV in the slave control signals, a safety feature is provided whereby translational movement of the handle is prevented and all movement of the end effector 73 is prevented until the handle 102 is generally rotationally aligned with the end effector 73.


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. A method of controlling a robotic surgery system comprising: by a processor: determining an alignment difference between a handle of the robotic surgery system and an end effector of a surgical tool of the robotic surgery system;enabling rotational control of the handle, the rotational control of the handle causing rotational movement of the end effector; andselectively enabling translational control of the handle based on the alignment difference between the handle and the end effector, the translational control of the handle causing translational movement of the end effector.
  • 2. The method of claim 1, wherein selectively enabling the translational control of the handle based on the alignment difference between the handle and the end effector comprises: in response to determining that the alignment difference does not satisfy an alignment threshold, disabling the translational control of the handle thereby disabling the translational movement of the end effector; andin response to determining that the alignment difference satisfies the alignment threshold, enabling the translational control of the handle thereby enabling the translational movement of the end effector.
  • 3. The method of claim 1, wherein enabling the rotational control of the handle comprises enabling rotational movement of the handle.
  • 4. The method of claim 1, wherein enabling the translational control of the handle comprises enabling translational movement of the handle.
  • 5. The method of claim 1, further comprising, by the processor, causing provision of an indication that the translational control of the handle is disabled.
  • 6. The method of claim 1, further comprising, by the processor: in response to determining that the alignment difference between the handle and the end effector does not satisfy an alignment threshold, disabling the rotational movement of the end effector responsive to the rotational movement of the handle.
  • 7. The method of claim 1, further comprising, by the processor: in response to determining that the alignment difference between the handle and the end effector does not satisfy an alignment threshold, causing an end effector position and orientation to be determined based on a previous position and orientation of the handle; andin response to determining that the alignment difference between the handle and the end effector satisfies the alignment threshold, causing the end effector position and orientation to be determined based on a current position and orientation of the handle.
  • 8. A non-transitory computer readable medium storing instructions that, when executed by a processor of a robotic surgery control system, cause the processor to: enable rotational control of a handle, the rotational control of the handle causing rotational movement of an end effector of a surgical tool;determine an alignment difference between the handle and the end effector;in response to a determination that the alignment difference between the handle and the end effector does not satisfy an alignment threshold, disable translational control of the handle thereby disabling translational movement of the end effector; andin response to a determination that the alignment difference between the handle and the end effector satisfies the alignment threshold, enable the translational control of the handle thereby enabling the translational movement of the end effector.
  • 9. The medium of claim 8, wherein enabling the rotational control of the handle comprises enabling rotational movement of the handle.
  • 10. The medium of claim 8, wherein enabling the translational control of the handle comprises enabling translational movement of the handle.
  • 11. The medium of claim 8, wherein the instructions, when executed by the processor, further cause the processor to cause provision of an indication that the translational control of the handle is disabled.
  • 12. The medium of claim 8, wherein the instructions, when executed by the processor, further cause the processor to: in response to the determination that the alignment difference between the handle and the end effector does not satisfy the alignment threshold, disable the rotational movement of the end effector responsive to the rotational movement of the handle.
  • 13. The medium of claim 8, wherein the instructions, when executed by the processor, further cause the processor to: in response to the determination that the alignment difference between the handle and the end effector does not satisfy the alignment threshold, cause an end effector position and orientation to be determined based on a previous position and orientation of the handle; andin response to the determination that the alignment difference between the handle and the end effector satisfies the alignment threshold, cause the end effector position and orientation to be determined based on a current position and orientation of the handle.
  • 14. A robotic surgery control system comprising: a surgeon interface including an input configured to be moved translationally and rotationally, wherein translational movement of the input causes translational movement of an end effector of a surgical tool and rotational movement of the input causes rotational movement of the end effector of the surgical tool; anda processor configured to: enable rotational control of the input thereby causing rotational movement of the end effector to be enabled;determine an alignment difference between the input and the end effector;in response to a determination that the alignment difference between the input and the end effector does not satisfy an alignment threshold, disable the translational movement of the input thereby causing the translational movement of the end effector to be disabled; andin response to a determination that the alignment difference between the input and the end effector satisfies the alignment threshold, enable translational movement of the input thereby causing the translational movement of the end effector to be enabled.
  • 15. The system of claim 14, wherein the input comprises a handle coupled to first, second, and third control arms.
  • 16. The system of claim 15, wherein the handle is gimbal-mounted to the first, second, and third control arms.
  • 17. The system of claim 15, wherein the handle is configured to provide the rotational movement of the input and the first, second and third control arms are configured to provide the translational movement of the input.
  • 18. The system of claim 14, wherein enabling the rotational control of the input comprises enabling the rotational movement of the input.
  • 19. The system of claim 14, wherein enabling the translational movement of the input comprises enabling the translational movement of the input.
  • 20. The system of claim 14, wherein the processor is further configured to cause provision of an indication that the translational movement of the input is disabled.
  • 21. The system of claim 20, wherein the indication comprises a haptic indication.
  • 22. The system of claim 20, wherein the processor is further configured to: in response to the determination that the alignment difference between the input and the end effector satisfies the alignment threshold, cause provision of the indication to be disabled.
  • 23. The system of claim 14, wherein the alignment difference comprises a rotational alignment difference in at least one degree of rotational freedom.
  • 24. The system of claim 23, wherein the processor is further configured to determine the rotational alignment difference based on an angle by which the end effector would have to be rotated to become aligned with a current orientation of the input.
  • 25. The system of claim 23, wherein the processor is further configured to: determine a target orientation of the end effector based on a current orientation of the input; anddetermine the rotational alignment difference based on a difference between the current orientation of the input and the target orientation of the end effector.
  • 26. The system of claim 14, wherein the processor is further configured to: in response to the determination that the alignment difference between the input and the end effector does not satisfy the alignment threshold, disable the rotational movement of the end effector responsive to the rotational movement of the input.
  • 27. The system of claim 14, wherein the processor is further configured to: in response to the determination that the alignment difference between the input and the end effector does not satisfy the alignment threshold, cause an end effector position and orientation to be determined based on a previous position and orientation of the input; andin response to the determination that the alignment difference between the input and the end effector satisfies the alignment threshold, cause the end effector position and orientation to be determined based on a current position and orientation of the input.
  • 28. The system of claim 14, further comprising a display, wherein the processor is further configured to cause the display to provide visual representation of the alignment difference.
US Referenced Citations (25)
Number Name Date Kind
8027714 Shachar Sep 2011 B2
8332072 Schaible et al. Dec 2012 B1
9161803 Yates et al. Oct 2015 B2
10159536 Kralicky Dec 2018 B2
10524871 Liao Jan 2020 B2
20020082612 Moll et al. Jun 2002 A1
20100332031 Itkowitz Dec 2010 A1
20120150349 Rust et al. Jun 2012 A1
20140180290 Otto Jun 2014 A1
20140216192 Dize Aug 2014 A1
20150025549 Kilroy et al. Jan 2015 A1
20150038981 Kilroy et al. Feb 2015 A1
20150038982 Kilroy et al. Feb 2015 A1
20150150635 Kilroy et al. Jun 2015 A1
20150157410 Kilroy et al. Jun 2015 A1
20150209965 Kilroy et al. Jul 2015 A1
20160058461 Ravikumar Mar 2016 A1
20160199984 Lohmeier Jul 2016 A1
20170035526 Farritor Feb 2017 A1
20170209217 Jensen Jul 2017 A1
20170333139 Suresh Nov 2017 A1
20170367777 Kralicky et al. Dec 2017 A1
20180046062 Fisher Feb 2018 A1
20180078321 Liao Mar 2018 A1
20210008660 Limanov Jan 2021 A1
Foreign Referenced Citations (2)
Number Date Country
2 816 888 May 2012 CA
WO 2014151621 Sep 2014 WO
Non-Patent Literature Citations (3)
Entry
Extended European Search report received in Application No. 16734868.9, dated Apr. 13, 2018.
International Search Report for International Application No. PCT/CA2016/000007 dated Mar. 17, 2016 in 4 pages.
Written Opinion for International Application No. PCT/CA2016/000007 dated Mar. 17, 2016 in 5 pages.
Related Publications (1)
Number Date Country
20190201147 A1 Jul 2019 US
Provisional Applications (1)
Number Date Country
62101804 Jan 2015 US
Continuations (1)
Number Date Country
Parent 15542398 US
Child 16176221 US