This invention relates to master-slave robotic systems such as used for laparoscopic surgery and more particularly to autonomous correction of alignment error between the master and slave in such systems.
During operation of a teleoperated robotic minimally invasive surgical system where a slave instrument is intended to follow the motion of a master input controller held by a user, it is possible for the master and slave to become misaligned with respect to each other's base frames of reference. In instances of misalignment, the slave end-effector no longer points in the direction that the user is expecting, which may result in less than optimal controllability of the slave instrument.
U.S. Pat. No. 7,806,891 entitled “Repositioning and reorientation of master slave relationship in minimally invasive telesurgery” describes a system but the system disrupts motion of the slave when there is misalignment between the master and slave. The system also requires a master controller with the ability to actively control, or lock orientation degrees of freedom.
U.S. Pat. No. 8,423,186 entitled “Ratcheting for master alignment of a teleoperated minimally invasive surgical instrument” describes a system that only reduces alignment error when the motion of the master handle is in a direction such that it would reduce the misalignment if the slave were not moved.
The disclosure describes a method of correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The method involves causing a processor associated with the master to receive master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame and causing the processor to generate end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (Rm), master base orientation signals (RMBASE) representing previous-saved values of the master actuator orientation signals (RMCURR) and slave base orientation signals (REEBASE) representing previous-saved values of the end effector orientation signals (REENEW). The method also involves causing the processor to produce control signals based on the end effector orientation signals, for transmission from the master to the slave and causing the processor to receive an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The method also involves, when the enablement signal transitions from the not active state to the active state, causing the processor to save the values of the master actuator orientation signals (RMCURR) as the master base orientation signals (RMBASE) to create the previous-saved values of the master actuator orientation signals (RMCURR) and save the values of the end effector orientation signals (REENEW) as the slave base orientation signals (REEBASE) to create the previous-saved values of the end effector orientation signals (REENEW). The method also involves causing the processor to detect a difference, between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the difference representing a difference in physical alignment between the tool and the master relative to their respective reference frames and in response to detecting the difference, causing the processor to adjust the saved slave base orientation signals (REEBASE) to ultimately have the same values as the saved master base orientation (RMBASE) values so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to satisfy an alignment criterion.
The disclosure also describes a method of correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The method involves causing a processor associated with the master to receive master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame and causing the processor to generate end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (RMCURR) and master-slave misalignment signals (RΔ), representing a product of previously saved values of the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW). The method also involves causing the processor to produce control signals based on the end effector orientation signals, for transmission from the master to the slave and causing the processor to receive an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The method also involves, when the enablement signal transitions from the not active state to the active state, causing the processor to compute the master-slave misalignment signals (RΔ) as a difference between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the misalignment signals representing a difference in physical alignment between the tool and the master relative to their respective reference frames. The method further involves causing the processor to detect a second difference between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW) the second difference representing a difference in physical alignment between the tool and the master relative to their respective reference frames and in response to detecting the second difference, causing the processor to adjust the master-slave misalignment signals (RΔ) to reduce the alignment difference to satisfy an alignment criterion so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to be physically aligned with the master within the alignment criterion.
The disclosure also describes an apparatus for correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The apparatus includes means associated with the master for receiving master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame and means for generating end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (Rm), master base orientation signals (RMBASE) representing previous-saved values of the master actuator orientation signals (RMCURR) and slave base orientation signals (REEBASE) representing previous-saved values of the end effector orientation signals (REENEW). The apparatus also includes means for producing control signals based on the end effector orientation signals, for transmission from the master to the slave and means for receiving an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The apparatus also includes means responsive to a transition of the enablement signal from the not active state to the active state, for saving the values of the master actuator orientation signals (RMCURR) as the master base orientation signals (RMBASE) to create the previous-saved values of the master actuator orientation signals (RMCURR) and saving the values of the end effector orientation signals (REENEW) as the slave base orientation signals (REEBASE) to create the previous-saved values of the end effector orientation signals (REENEW). The apparatus also includes means for detecting a difference, between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the difference representing a difference in physical alignment between the tool and the master relative to their respective reference frames means for causing the processor to adjust the saved slave base orientation signals (REEBASE) to ultimately have the same values as the saved master base orientation (RMBASE) values so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to satisfy an alignment criterion, in response to detecting the difference.
The disclosure also describes an apparatus for correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The apparatus includes means associated with the master for receiving master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame and means for generating end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (RMCURR) and master-slave misalignment signals (RΔ), representing a product of previously saved values of the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW). The apparatus also includes means for producing control signals based on the end effector orientation signals, for transmission from the master to the slave and means for receiving an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The apparatus also includes means responsive to a transition of the enablement signal from the not active state to the active state, for computing the master-slave misalignment signals (RΔ) as a difference between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the misalignment signals representing a difference in physical alignment between the tool and the master relative to their respective reference frames, means for detecting a second difference, between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW) the second difference representing the difference in physical alignment between the tool and the master relative to their respective reference frames and means responsive to detecting the second difference, for causing the processor to adjust the master-slave misalignment signals (RΔ) to reduce the alignment difference to satisfy an alignment criterion so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to be physically aligned with the master within the alignment criterion.
The disclosure also describes an apparatus for correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The apparatus includes a processor associated with the master operably configured to receive master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame. The processor is further configured to generate end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (Rm), to generate master base orientation signals (RMBASE) representing previous-saved values of the master actuator orientation signals (RMCURR) and to generate slave base orientation signals (REEBASE) representing previous-saved values of the end effector orientation signals (REENEW). The process is also configured to produce control signals based on the end effector orientation signals, for transmission from the master to the slave and to receive an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The processor is also configured to, when the enablement signal transitions from the not active state to the active state, save the values of the master actuator orientation signals (RMCURR) as the master base orientation signals (RMBASE) to create the previous-saved values of the master actuator orientation signals (RMCURR) and save the values of the end effector orientation signals (REENEW) as the slave base orientation signals (REEBASE) to create the previous-saved values of the end effector orientation signals (REENEW). The processor is also configured to detect a difference, between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the difference representing a difference in physical alignment between the tool and the master relative to their respective reference frames and the processor is configured to adjust the saved slave base orientation signals (REEBASE) to ultimately have the same values as the saved master base orientation (RMBASE) values so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to satisfy an alignment criterion, in response to detecting the difference.
The disclosure also describes an apparatus for correcting an alignment error between an end effector of a tool associated with a slave and a master actuator associated with a master in a master-slave robotic system in which an orientation of the end effector is remotely controlled by an orientation of the master actuator by producing and transmitting control signals at the master for controlling the slave. The apparatus includes a processor associated with the master and operably configured to receive master actuator orientation signals (RMCURR) representing the orientation of the master actuator relative to a master reference frame. The processor is further configured to generate end effector orientation signals (REENEW) representing the end effector orientation relative to a slave reference frame, in response to the master actuator orientation signals (RMCURR) and master-slave misalignment signals (RΔ), representing a product of previously saved values of the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW). The processor is also configured to produce control signals based on the end effector orientation signals, for transmission from the master to the slave and receive an enablement signal for selectively enabling the control signals to be transmitted from the master to the slave whereby the master transmits the control signals to the slave when the enablement signal is active and does not transmit the control signals to the slave when the enablement signal is not active and such that when the enablement signal is active, changes in the orientation of the master actuator cause corresponding changes in the orientation of the end effector and such that when the enablement signal is not active, changes in the orientation of the master actuator do not cause corresponding changes in the orientation of the end effector. The processor is also configured to, in response to a transition of the enablement signal from the not active state to the active state, compute the master-slave misalignment signals (RΔ) as a difference between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW), the misalignment signals representing a difference in physical alignment between the tool and the master relative to their respective reference frames. The processor is also configured to detect a second difference, between the master actuator orientation signals (RMCURR) and the end effector orientation signals (REENEW) the second difference representing the difference in physical alignment between the tool and the master relative to their respective reference frames and responsive to detecting the second difference, the processor adjusts the master-slave misalignment signals (RΔ) to reduce the alignment difference to satisfy an alignment criterion so that subsequent generations of the end effector orientation signals (REENEW) cause the control signals to cause the tool to be physically aligned with the master within the alignment criterion.
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.
In drawings which illustrate embodiments of the invention,
Referring to
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 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 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 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 54, 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 flat surface 82 for supporting the first and second input devices 58 and 60 in positions that are comfortable to the operator 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
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 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 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 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 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
For example, the current handle position vector {right arrow over (P)}MCURR is a vector
where x1, y1, and z1 represent coordinates of the handle position 104 within the handle workspace relative to the fixed master reference frame, xr, yr, zr.
The current handle rotation matrix RMCURR is a 3×3 matrix
where the columns of the matrix represent the axes of the handle reference frame x1, y1, z1 written in 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 master reference frame.
The current handle position vector {right arrow over (P)}MCURR 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
In addition, in the embodiment shown, referring to
Referring now to
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 on the end effector axis, for example, at the intersection at the tip of the gripper jaws of the end effector 73. The origin of the end effector reference frame may be referred to as the end effector position 150 relative to the fixed slave reference frame xs, ys, zs. Due to the mobility of the tool positioning device 81 and the mobility of the end effector 73 itself, the end effector position 150 can be placed at discrete positions within a volume in space. This volume may be referred to as the end effector translational workspace.
New end effector positions and end effector orientations are calculated by an end effector position and orientation calculation block 116 encoded in the master apparatus 64 shown in
For example, the new end effector position vector {right arrow over (P)}EENEW is a vector
where x2, y2, and z2 represent coordinates of the end effector position 150 within the end effector translational workspace relative to the xs, ys, zs fixed slave reference frame.
The end effector rotation matrix REENEW is a 3×3 matrix
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 xs, ys, zs. REENEW thus defines a new orientation of the end effector 73 in the end effector translational workspace, relative to the xs, ys, zs reference frame.
Referring back to
Generally, the end effector position and orientation calculation block 116 includes codes that direct the master apparatus 64 to produce the new end effector position and orientation signals, referred to herein as {right arrow over (P)}EENEW and REENEW respectively.
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 {right arrow over (P)}EENEW and REENEW.
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 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
Referring to
The kinematics block 118 receives newly calculated end effector position and orientation signals {right arrow over (P)}EENEW 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
Referring to
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
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:
To calculate the configuration variables, it will first be recalled that the end effector rotation matrix REENEW is a 3×3 matrix:
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 exist, δdist, and γ associated with the distal segment 132 can be calculated according to the relations:
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
where:
Once the vector from the fixed slave base position 128 to the third position 334 (
The ratio of (8b) and (8a) gives
δprox=a tan 2(−
where ī and
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:
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:
Finally, upon determination of θprox, the following equation can be used to find qins,
where:
The codes in the kinematics block 118 shown in
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.
Referring to
Referring to
Initially, therefore:
{right arrow over (P)}MBASE={right arrow over (P)}MCURR; and
RMBASE=RMCURR.
In other words, the master base reference frame and the handle reference frame coincide at startup.
Thereafter, the master base position vector {right arrow over (P)}MBASE 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 inactivation of the footswitch (170 in
Referring to
Initially, therefore:
{right arrow over (P)}EEBASE={right arrow over (P)}EENEW; and
REEBASE=REENEW.
In other words, the slave base reference frame and the end effector reference frame coincide at startup.
The slave base position {right arrow over (P)}EEBASE and slave base rotation matrix REEBASE are maintained at the same values as on startup until the enablement signal is activated such as by inactivation of the footswitch (170 in
Referring to
To produce new end effector position signals {right arrow over (P)}EENEW 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 rotation, 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:
{right arrow over (P)}EENEW=A({right arrow over (P)}MCURR−{right arrow over (P)}MBASE)+{right arrow over (P)}EEBASE
and
REENEW=REEBASERMBASE−1RMCURR
The following describes how the master apparatus 64 is controlled by the codes in the end effector position and orientation calculation block 116 to effect autonomous alignment of the orientation of the end effector 73 with the handle 102 after clutching and to effect autonomous alignment of the z-axes of the handle 102 and end effector 73 for wrist roll management.
Referring to
REE_TO_MASTER=REENEW−1RMCURR
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=a cos(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 handle 102 and the end effector 73 point in the same direction relative to their respective fixed reference frames (xr yr, zr and xs, ys, zs, respectively) and the roll about their z-axis is not considered.
In this special case therefore, blocks 204 and 206 shown in
ϕEE_TO_MASTER=a cos(REENEW(1,3)*RM_CURR(1,3)+REENEW(2,3)*RM_CURR(2,3)+REENEW(3,3)*RMCURR(3,3))
This computation represents the angle obtained from the dot product of the z-axes of the handle reference frame and end effector reference frame.
Referring back to
After executing either block 206 or block 208, the angle of rotation by which the handle 102 and end effector 73 are out of alignment, i.e. the alignment error, is given by ϕEE_TO_MASTER.
The master apparatus 64 is then directed to block 210 which causes it to determine whether the alignment error ϕEE_TO_MASTER meets a criterion, such as being above a threshold value. If the alignment error is not above the threshold value, the current handle orientation RMCURR and new end effector orientation REENEW are considered to be aligned.
Then, block 215 directs the master apparatus 64 to signal the motion control block 120 of
Block 159 then directs the master apparatus 64 to copy the newly calculated end effector position vector {right arrow over (P)}EENEW and end effector rotation matrix REENEW into an eleventh and twelfth stores 147 and 149 of a previous buffer 141 of
The end effector position and orientation calculation block 116 is thus completed, and the calculated {right arrow over (P)}EENEW and REENEW values stored in the seventh and eighth stores 162 and 164 are available for use by the kinematics block 118.
If at block 210 the alignment error is above the threshold value, block 214 directs the master apparatus 64 to produce a rotation matrix that carries the previous handle orientation into current handle orientation (RDIFF), according to the relation:
RDIFF=RMPREV−1RMCURR
Referring to
Then, block 216 directs the master computer 64 to compute an angle of rotation (ϕDIFF) associated with RDIFF by the relation:
ϕDIFF=a cos(0.5 trace(RDIFF)−1)
Then, block 218 directs the master computer 64 to compute an angular speed of the rotation (ωDIFF) associated with RDIFF by the relation:
ωDIFF=sr·ϕDIFF
Then, block 220 directs the master apparatus 64 to determine whether the angular speed ωDIFF meets a second criterion such as being above a threshold speed to initiate auto alignment. (This may avoid any automated motion when the user is performing slow fine movements that may be undesirable.)
If not, the master apparatus 64 is directed to block 222 which corresponds to location “E” on
If at block 220 the angular speed ωdiff is above the threshold speed, block 224 directs the master computer 64 to determine whether the system is configured to allow wrist roll misalignment by reading the status of the wrist roll management signal set by the operator. If the wrist roll management signal is not active, block 226 directs the master apparatus 64 to determine a misalignment axis eERR, i.e. the axis of rotation associated with REE_TO_MASTER by the relation
Alternatively, if the system is configured to allow wrist roll misalignment, block 228 directs the master apparatus 64 to determine a unit vector in the direction of the misalignment axis eERR by the relation:
Now referring to
L=|ēDIFF·ēERR|
Then, block 234 directs the master apparatus 64 to compute a correction angle ϕC, as a function of the angle of the master rotation ϕDIFF and the component of the master rotation in the misalignment plane L by the relation:
ϕC=BϕDIFFf(L)
Then, block 236 directs the master apparatus 64 to compute a correction matrix RC(ϕC, eERR) to rotate by the correction angle ϕc about the misalignment axis eERR.
The correction matrix Rc is determined by the relation:
RC(ϕC,eERR)=eERReERRT+cos(ϕC)*(I−eERReERRT)+sin(ϕC)EERR
Where: EERR=the cross product matrix of vector eERR
Then, block 238 directs the master apparatus 64 to modify the end effector base matrix using the correction matrix, Rc by the relation:
REEBASE′=REEBASERC
The REEBASE′ value calculated by block 238 is then saved in the sixth store 154, of
Then, block 244 directs the master apparatus 64 to re-compute the end effector rotation matrix REENEW using the new end effector base rotation matrix REEBASE and store this new end effector orientation as REENEW in store 164, of
REENEW=RREEBASE
Then, block 240 directs the master apparatus 64 to location “E” in
Alternatively referring to
Referring back to
It will be appreciated that the above routine is executed by the end effecter position and orientation calculation block 116 after each sample of the {right arrow over (P)}MCURR and RMCURR values is acquired from the control unit 92. Suitable values for the scaling factor B at block 234 and suitable choices for the correction angle function f(L) at block 234 will cause the REEBASE saved in store 154 to be updated each time the routine is executed, i.e. each time new {right arrow over (P)}MCURR and RMCURR values are acquired, until the alignment error ϕEE_TO_MASTER is below the alignment threshold at which time the handle 102 and the end effector 73 are considered to be aligned and no further modification of the REEBASE value occurs.
Generally, when the enablement signal is in the inactive state, the handle 102 on input device 61 can be moved and rotated and the calculations of {right arrow over (P)}EENEW and REENEW will still be performed, but there will be no movement of the end effector 73. This allows “clutching” or repositioning the handle 102 without corresponding movement of the end effector 73, to enable the end effector 73 to have increased range of movement and to allow the operator to reposition their hands to a more comfortable position within the master translational workspace. For example, referring to
The above clutching effect 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 {right arrow over (P)}MBASE and orientation RMBASE and the last saved slave base position {right arrow over (P)}EEBASE and orientation REEBASE respectively. The master computer 64 stores the current values of the current handle position {right arrow over (P)}MCURR and current handle orientation RMCURR signals as new values of the master base position signals {right arrow over (P)}MBASE and new values of the master base orientation signals RMBASE respectively, and stores the current values of the end effector position signals {right arrow over (P)}EENEW and new end effector orientation REENEW signals as new values of the slave base position signals {right arrow over (P)}EEBASE and new values of the slave base orientation signals REEBASE respectively, in response to the enablement signal transitioning from the “not active” state to the “active” state. Otherwise, upon release of the footswitch 170, the end effector 73 would “snap” to the absolute position directly mapped to the position and orientation 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. In addition, the surgeon would feel somewhat out of control of the end effectors 71 and 73.
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 to reposition the hands of the operator to a comfortable position, it is not desirable for clutching to result in reorientation of the handle within the master rotational workspace because orientation control can become unnatural or unintuitive to the operator when there is a misalignment between the handle 102 and end effector 73. In the absence of a mechanical means to maintain the orientation of the handle 102 it would be difficult for the operator 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. In this regard, the codes of the end effector position and orientation calculation block 116 direct the master apparatus 64 to detect a difference, between the current handle orientation signals RMCURR and the new end effector orientation signals REENEW, the difference representing a difference in physical alignment between the end effector 73 and the handle 102 relative to their respective fixed reference frame. In response to detecting the difference, the codes cause the master apparatus 64 to adjust the saved slave base orientation signals REEBASE to ultimately have values close to the same values as the saved master base orientation signals RMBASE so that subsequent generations of the end effector orientation signals REENEW cause the slave control signals produced by the motion control block 120 to cause the end effector 73 to be physically aligned with the handle 102 relative to their respective fixed reference frames.
This technique of adjusting the saved slave base orientation signals REEBASE also has applications in providing a wrist-roll management feature, where wrist roll is measured as variations of orientation of the handle 102 relative to only the z-axis. The wrist roll management feature would have the effect of correcting only for misalignment for the direction in which the end effector 73 and the handle 102 are pointing and not the rotation about the axis 134 of the end effector 73.
Generally, the above described system may cause smooth autonomous motion of the end effector 73 toward alignment with the handle 102, when there is a misalignment between the handle 102 and the end effector 73 without compromising control of the end effector 73 for the operator. In addition, if the alignment error ϕEE_TO_MASTER exceeds the threshold value, the alignment error will always be reduced no matter what direction the handle 102 is moving, unless eDIFF and eERR are parallel and f(A) is such that f(A)=0 when A=0.
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.
Number | Name | Date | Kind |
---|---|---|---|
7535411 | Falco | May 2009 | B2 |
7806891 | Nowlin et al. | Oct 2010 | B2 |
8423186 | Itkowitz et al. | Apr 2013 | B2 |
10159536 | Kralicky et al. | Dec 2018 | B2 |
10327856 | Kralicky | Jun 2019 | B2 |
20020055795 | Niemeyer | May 2002 | A1 |
20140148808 | Inkpen et al. | May 2014 | A1 |
20180271607 | Kralicky et al. | Sep 2018 | A1 |
Number | Date | Country |
---|---|---|
2 827 589 | Feb 2012 | CA |
WO 2007014470 | Feb 2007 | WO |
Entry |
---|
U.S. Appl. No. 16/176,221, filed Oct. 31, 2018, Kralicky et al. |
International Search Report for International Application No. PCT/CA2016/000006 dated Mar. 30, 2016 in 4 pages. |
Written Opinion for International Application No. PCT/CA2016/000006 dated Mar. 30, 2016 in 5 pages. |
Number | Date | Country | |
---|---|---|---|
20190269472 A1 | Sep 2019 | US |
Number | Date | Country | |
---|---|---|---|
62101731 | Jan 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15542356 | US | |
Child | 16411537 | US |