Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
INVERSE KINEMATIC CONTROL SYSTEMS FOR ROBOTIC SURGICAL SYSTEM
Document Type and Number:
WIPO Patent Application WO/2017/151996
Kind Code:
A1
Abstract:
A method of using inverse kinematics to control a robotic system includes receiving an input pose from a user interface to move an arm of the robotic system, calculating a remote center of motion for a desired pose from the input pose in a tool center-point frame, checking when the desire pose needs correction, correcting the desired pose of the arm, and moving the arm to the desired pose in response to the input pose. The arm of the robotic system including a tool having a jaw disposed at an end of the arm. Checking when the desired pose needs correction includes verifying that the remote center of motion is at or beyond a boundary distance in the desired pose. Correcting the desired pose of the arm occurs when the remote center of motion is within the boundary distance.

Inventors:
CHENG JIQI (US)
Application Number:
PCT/US2017/020567
Publication Date:
September 08, 2017
Filing Date:
March 03, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
COVIDIEN LP (US)
International Classes:
A61B34/30; A61B34/00
Foreign References:
US20150202015A12015-07-23
US20110028992A12011-02-03
US20110257661A12011-10-20
US20030029463A12003-02-13
US20130325032A12013-12-05
US20020029463A12002-03-14
US8828023B22014-09-09
Other References:
See also references of EP 3422990A4
Attorney, Agent or Firm:
AKYUZ, Ishak et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED:

1. A method of controlling a robotic system, the method comprising:

receiving an input pose from a user interface to move an arm of the robotic system, wherein a tool having a jaw is disposed at the end of the arm, the jaw defining a jaw axis; calculating a remote center of motion for a desired pose from the input pose in a tool center-point frame;

checking when the desired pose needs correction by verifying the remote center of motion is at or beyond a boundary distance in the desired pose;

correcting the desired pose of the arm when the remote center of motion is within the boundary distance; and

moving the arm to the desired pose in response to the input pose.

2. The method according to claim 1, wherein during correcting the desired pose of the arm, the jaw axis is held in position.

3. The method according to claim 1, wherein correcting the desired pose of the arm includes moving the remote center of motion to the boundary distance.

4. The method according to claim 1, wherein determining the boundary distance as a function of a maximum joint angle of a pitch joint between the tool and the distance between the origin of the tool center-point and the pitch joint.

5. The method according to claim 4, wherein the maximum joint angle of the pitch joint is 75°.

6. The method according to claim 4, wherein determining the boundary distance includes taking the sum of the distance between the origin of the tool center-point and the pitch joint and the cosine of the maximum joint angle of the pitch joint.

7. The method according to claim 5, wherein the boundary distance is taken along the jaw axis.

8. The method according to claim 1, further comprising providing feedback when the remote center of motion approaches the boundary distance.

9. The method according to claim 8, wherein providing feedback when the remote center of motion approaches the boundary distance includes increasing the feedback as the remote center of motion approaches the boundary distance.

10. The method according to claim 9, wherein increasing the feedback includes linearly increasing the feedback.

11. The method according to claim 9, wherein increasing the feedback includes exponentially increasing the feedback.

12. The method according to claim 9, wherein increasing the feedback includes linearly increasing the feedback as the remote center of motion approaches the boundary distance and exponentially increasing the feedback as the remote center of motion crosses the boundary distance.

13. The method according to claim 1, further comprising determining a check angle defined between the jaw axis and a vector between an origin of the tool center-point frame and the remote center of motion when the remote center of motion is within the boundary distance.

14. The method according to claim 13, further comprising providing feedback when the check angle is below a predefined extreme angle.

15. A robotic surgical system comprising:

a processing unit;

a user interface in communication with the processing unit and including an input handle; and

a robotic system in communication with the processing unit and including an arm and a tool supported at an end of the arm, the arm defining a remote center of motion and the tool defining a tool center-point frame, the arm and the tool configured to move to a desired pose in response to an input pose of the input handle,

wherein the processing unit is configured to verify the remote center of motion being within the boundary distance in the desired pose, and wherein the processing unit is configured to correct the desired pose when the remote center of motion is within the boundary distance.

16. The robotic surgical system according to claim 15, wherein the processing unit is configured to verify that a check angle defined between the jaw axis and a vector between an origin of the tool center-point frame and the remote center of motion is below a predefined extreme angle when the remote center of motion is within the boundary distance in the desired pose.

17. The robotic surgical system according to claim 16, wherein the user interface is configured to provide feedback to a clinician when the check angle is below the predefined extreme angle.

18. The robotic surgical system according to claim 15, wherein the input handle is configured to provide force feedback to a clinician as the remote center of motion approaches the boundary distance in the desired pose.

Description:
INVERSE KINEMATIC CONTROL SYSTEMS FOR ROBOTIC

SURGICAL SYSTEM

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of and priority to U.S. Provisional Patent Application No. 62/303,437 filed March 4, 2016, the entire disclosure of which is incorporated by reference herein.

BACKGROUND

[0002] Robotic surgical systems such as teleoperative systems are used to perform minimally invasive surgical procedures that offer many benefits over traditional open surgery techniques, including less pain, shorter hospital stays, quicker return to normal activities, minimal scarring, reduced recovery time, and less injury to tissue.

[0003] Robotic surgical systems can have a number of robotic arms that move attached instruments or tools, such as an image capturing device, a stapler, an electrosurgical instrument, etc., in response to movement of input devices by a surgeon viewing images captured by the image capturing device of a surgical site. During a surgical procedure, each of the tools is inserted through an opening, either natural or an incision, into the patient and positioned to manipulate tissue at a surgical site. The openings are placed about the patient's body so that the surgical instruments may be used to cooperatively perform the surgical procedure and the image capturing device may view the surgical site.

[0004] During the surgical procedure, the tools are manipulated in multiple degrees of freedom. When one or more of the degrees of freedom align with one another a singularity is created. As the tool approaches a singularity, the operation of the tool may become unpredictable and the degrees of freedom of the tool may be decreased. To prevent the tool from reaching a singularity, some systems employ hard stops. Other systems allow the tool to reach a singularity and use a comparison of a speed of an input controller with a speed of movement of the tool to predict the movement of the tool.

[0005] There is a continuing need to control a tool of a robotic surgical system as the tool approaches and/or passes through a singularity. Additionally or alternatively, there is a need to control a tool of a robotic surgical system to avoid reaching a singularity and to maintain each degree of freedom of the tool.

SUMMARY

[0006] This disclosure relates generally to correcting the pose of an arm and a tool of a robotic system to avoid singularities between joints and to maintain degrees of freedom of movement of the arm and the tool. Specifically, when a remote center of motion of the arm is within a boundary distance from an origin of a tool center-point frame, the remote center of motion is moved to the boundary distance while maintaining a position of a jaw axis of the tool and rotating the remote center of motion according to the rigid body kinematics. After the rotation, the tool center-point frame is expressed in the rotated remote center of motion frame, and treated as the corrected desired pose for inverse kinematics calculation.

[0007] In an aspect of the present disclosure, a method of using inverse kinematics to control a robotic system includes receiving an input pose from a user interface to move an arm of the robotic system, calculating a remote center of motion for a desired pose from the input pose in a tool center-point frame, checking when the desire pose needs correction, correcting the desired pose of the arm, and moving the arm to the desired pose in response to the input pose. The arm of the robotic system includes a tool having a jaw disposed at an end of the arm. Checking when the desired pose needs correction includes verifying that the remote center of motion is at or beyond a boundary distance in the desired pose. Correcting the desired pose of the arm occurs when the remote center of motion is within the boundary distance.

[0008] In aspects, during correcting the desired pose of the arm, the jaw axis is held in position. Correcting the desired pose of the arm may include moving the remote center of motion to the boundary distance.

[0009] In some aspects, determining the boundary distance occurs as a function of a maximum joint angler of a pitch joint defined between the tool and the distance between the origin of the tool center-point and the pitch joint. The maximum joint angle of the pitch joint may be about 75°. Determining the boundary distance may include taking the sum of the distance between the origin of the tool center-point and the pitch joint and the cosine of the maximum joint angle of the pitch point. The boundary distance may be taken along the jaw axis.

[0010] In certain aspects, the method includes providing feedback when the remote center of motion approaches the boundary distance in the desired pose. Providing feedback when the remote center of motion in the desired pose approaches the boundary distance may include increasing the feedback as the remote center of motion approaches the boundary distance. Increasing the feedback may include linearly or exponentially increasing the feedback. Alternatively, increasing the feedback may include linearly increasing the feedback as the remote center of motion approaches the boundary distance and exponentially increasing the feedback as the remote center of motion crosses the boundary distance.

[0011] In particular aspects, the method includes determining a check angle that is defined between the jaw axis and a vector between an origin of the tool center-point frame and the remote center of motion when the remote center of motion is within the boundary distance. The method may include providing feedback when the check angle is below a predefined extreme angle.

[0012] In another aspect of the present disclosure, a robotic surgical system includes a processing unit, a user interface, and a robotic system. The user interface is in communication with the processing unit and includes an input handle. The robotic system is in communication with the processing unit and including an arm and a tool supported at an end of the arm. The arm defines a remote center of motion and the tool defines a tool center-point frame. The arm and the tool are configured to move to a desired pose in response to an input pose of the input handle. The processing unit is configured to verify when the remote center of motion is within the boundary distance in the desired pose. The processing unit is configured to correct the desired pose when the remote center of motion is within the boundary distance.

[0013] In aspects, the processing unit is configured to verify that a check angle defined between the jaw axis and a vector defined between an origin of the tool center-point frame and the remote center of motion is below a predefined extreme angle when the remote center of motion is within the boundary distance in the desired pose. The user interface may be configured to provide feedback to a clinician when the check angle is below the predefined extreme angle. Additionally or alternatively, the input handle may be configured to provide force feedback to a clinician when the remote center of motion approaches the boundary distance in the desired pose.

[0014] Further, to the extent consistent, any of the aspects described herein may be used in conjunction with any or all of the other aspects described herein.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Various aspects of the present disclosure are described hereinbelow with reference to the drawings, which are incorporated in and constitute a part of this specification, wherein:

[0016] FIG. 1 is a schematic illustration of a user interface and a robotic system of a robotic surgical system in accordance with the present disclosure;

[0017] FIG. 2 is a side view of an exemplary arm and tool of the robotic system of FIG. i ;

[0018] FIG. 3 is a model of the arm and tool of FIG. 2 in a first case;

[0019] FIG. 4 is a model of the arm and tool of FIG. 2 in a second case;

[0020] FIG. 5 is a model of the arm and tool of FIG. 2 in a third case;

[0021] FIG. 6 is the model of FIG. 3 illustrating a calculation of a joint angle θ 6 ; [0022] FIG. 7 is the model of FIG. 6 illustrating a calculation of a joint angle θ 5 ;

[0023] FIG. 8 is the model of FIG. 7 illustrating a calculation of joint angles θι and Θ2;

[0024] FIG. 9 is the model of FIG. 8 illustrating a calculation of a joint angle Θ3;

[0025] FIG. 10 is a plan view of the x 6 , ye plane of the model of FIG. 3;

[0026] FIG. 11 is a model illustrating determination of 110;

[0027] FIG. 12 is the plan view of FIG. 10 including a boundary line B;

[0028] FIG. 13 is a model illustrating a projection method of calculating a rotation of a trocar point O to a rotated trocar point M;

[0029] FIG. 14 is a calculation of a rotation angle φ from the trocar point O to the rotated trocar point M of FIG. 13;

[0030] FIG. 15 is a calculation of an orientation matrix for the rotation of the Base Frame xo, yo, zo;

[0031] FIG. 16 is a model illustrating detection of an extreme condition;

[0032] FIG. 17 is a model of a long jawed instrument with the arm of the robotic system of FIG. 1 in accordance with the present disclosure;

[0033] FIG. 18 is a calculation of a rotation angle φ in a Frame 6 of the trocar point O to the rotated trocar point M of FIG. 17; [0034] FIG. 19 is a model illustrating determination of uo for the long jawed instrument of FIG. 17;

[0035] FIG. 20 is a projection of an End Effector Frame of FIG. 17 to the rotated trocar point M

[0036] FIG. 21 is a calculation of an orientation matrix for the rotation of the Frame 6; and

[0037] FIG. 22 is a model illustrating detection of an extreme condition for the long jawed instrument of FIG. 17.

DETAILED DESCRIPTION

[0038] Embodiments of the present disclosure are now described in detail with reference to the drawings in which like reference numerals designate identical or corresponding elements in each of the several views. As used herein, the term "clinician" refers to a doctor, a nurse, or any other care provider and may include support personnel. Throughout this description, the term "proximal" refers to the portion of the device or component thereof that is closest to the clinician and the term "distal" refers to the portion of the device or component thereof that is farthest from the clinician.

[0039] This disclosure relates generally to correcting the pose of an arm and a tool of a robotic system to avoid singularities between joints and to maintain degrees of freedom of movement of the arm and the tool. Specifically, when a remote center of motion of the arm is within a boundary distance from an origin of a tool center-point frame, the remote center of motion is moved to the boundary distance while maintaining a position of a jaw axis of the tool and rotating the remote center of motion according to the rigid body kinematics. After the rotation, the tool center-point frame is expressed in the rotated remote center of motion frame, and treated as the corrected desired pose for inverse kinematics calculation.

[0040] Referring to FIG. 1, a robotic surgical system 1 in accordance with the present disclosure is shown generally as a robotic system 10, a processing unit 30, and a user interface 40. The robotic system 10 generally includes linkages or arms 12 and a robot base 18. The arms 12 moveably support an end effector or tool 20 which is configured to act on tissue. The arms 12 each have an end 14 that supports an end effector or tool 20 which is configured to act on tissue. In addition, the ends 14 of the arms 12 may include an imaging device 16 for imaging a surgical site. The user interface 40 is in communication with robot base 18 through the processing unit 30.

[0041] The user interface 40 includes a display device 44 which is configured to display three-dimensional images. The display device 44 displays three-dimensional images of the surgical site which may include data captured by imaging devices 16 positioned on the ends 14 of the arms 12 and/or include data captured by imaging devices that are positioned about the surgical theater (e.g., an imaging device positioned within the surgical site, an imaging device positioned adjacent the patient, imaging device 56 positioned at a distal end of an imaging linkage or arm 52). The imaging devices (e.g., imaging devices 16, 56) may capture visual images, infra-red images, ultrasound images, X-ray images, thermal images, and/or any other known real-time images of the surgical site. The imaging devices transmit captured imaging data to the processing unit 30 which creates three-dimensional images of the surgical site in real-time from the imaging data and transmits the three-dimensional images to the display device 44 for display.

[0042] The user interface 40 also includes input handles 42 which are supported on control arms 43 which allow a clinician to manipulate the robotic system 10 (e.g., move the arms 12, the ends 14 of the arms 12, and/or the tools 20). Each of the input handles 42 is in communication with the processing unit 30 to transmit control signals thereto and to receive feedback signals therefrom. Additionally or alternatively, each of the input handles 42 may include input devices (not shown) which allow the surgeon to manipulate (e.g., clamp, grasp, fire, open, close, rotate, thrust, slice, etc.) the tools 20 supported at the ends 14 of the arms 12.

[0043] Each of the input handles 42 is moveable through a predefined workspace to move the ends 14 of the arms 12 within a surgical site. The three-dimensional images on the display device 44 are orientated such that movement of the input handle 42 moves the ends 14 of the arms 12 as viewed on the display device 44. It will be appreciated that the orientation of the three-dimensional images on the display device may be mirrored or rotated relative to view from above the patient. In addition, it will be appreciated that the size of the three-dimensional images on the display device 44 may be scaled to be larger or smaller than the actual structures of the surgical site permitting a clinician to have a better view of structures within the surgical site. As the input handles 42 are moved, the tools 20 are moved within the surgical site as detailed below. As detailed herein, movement of the tools 20 may also include movement of the ends 14 of the arms 12 which support the tools 20. [0044] For a detailed discussion of the construction and operation of a robotic surgical system 1, reference may be made to U. S. Patent No. 8,828,023, the entire contents of which are incorporated herein by reference.

[0045] With reference to FIG. 2, the end 14 of an arm 12 of the robotic system 10 is moveable about a Remote Center of Motion (RCM) 22 in four Degrees of Freedom (DOF) or joints. In addition, the tool 20 is pivotal in two DOF about a first tool joint 24 and a second tool joint 26, respectively. The arm 12 of the robotic system 10 defines a frame xo, yo, zo (the Base Frame) positioned at the RCM. The first DOF or yaw joint of the arm 12 is represented by the frame xi, yi, zi (Frame 1) with the position of the arm 12 about the yaw joint represented as joint angle θι. The second DOF or pitch joint of the arm 12 is represented by the frame x 2 , y 2 , z 2 (Frame 2) with the position of the arm 12 about the pitch joint represented as joint angle θ 2 . The third DOF or roll joint of the arm 12 is represented by the frame x 3 , y 3 , z 3 (Frame 3) with the position of the arm 12 about the roll joint represented as joint angle 03. The fourth DOF or linear joint is represented by the frame X4, y 4j Z4 (Frame 4) and with the position of the first tool joint 24 from the RCM 22 represented as distance d 4 . Movement of the tool 20 about the first tool joint 24 is defined in the fifth DOF or tool pitch joint represented in the frame xs, ys, zs (Frame 5) with the position of the tool pitch joint represented as joint angle 05. Movement of the tool 20 about the second tool joint 26 is defined in the sixth DOF or tool yaw joint in the frame x 6 , y 6 , z 6 (Frame 6) with the position in the tool yaw joint represented as joint angle 06. The orientation of the end effector 29 is represented by the xe axis. [0046] Using a typical forward kinematics model based on the frame attachments detailed above, the Denavit-Hartenberg (DH) parameters of the intracorporeal chain is shown in Table 1 below. As used herein "i" is the frame number, "a" is the length from the common normal, "a" is the angle about the common normal, "D" is the offset along previous z axis to the common normal, "Θ" is the angle about previous z axis, and the joint type is the type of movement about the j oint. It will be appreciated that the common normal is along the arm 12.

Table 1

Further, the Homogenous transform for movement in the six DOF is as follows:

οθ ο _ χ - sa,_ x - sa j _ l d l

c0 j sa j _ l ca x _ x ca j _ l d j

0 0 0 1

(1) Δ Δ

c# = cos θ s Θ— sin Θ

where and , this convention will be used throughout this disclosure.

Thus, the final pose of frame 6 in the base frame 0 is defined as:

[0047] With reference to FIG. 3, an inverse kinematic model for the arm 12 and the tool 20 in accordance with the present disclosure is disclosed. With reference to FIG. 3 and used in the following equations, the RCM 22 is represented by trocar point "O" and is the point at which the end 14 of the arm 12 or the tool 20 passes through a trocar (not shown) in to the body cavity of the patient. The tool pitch joint 24 is represented by point "P" and the tool yaw joint 26 is represented by yaw point "T". A yoke 25 (FIG. 2) of the tool 20 may be represented by the line "PT". In this model a frame of a jaw 29 of the tool 20 is represented by the Frame 6 and may be referred to as the tool-center-point frame (TCP frame) with the jaw direction positioned along the ¾ axis. In addition, the yaw point "T" may be referred to as the "TCP" point herein.

[0048] As shown in FIG. 3, the jaw direction ΤΧ( · is known as the direction of the ¾ axis. With the jaw direction TXe fixed, the joint angle 06 can be determined by placing the following two constraints on the pitch point "P". First, the pitch point "P" is in a yaw plane "YP" defined by rotation of the yoke "PT" around the ¾ axis, shown as the dashed circle

"YP" in FIG. 3, with both the yoke PT and the jaw direction TXe lying in the yaw plane "YP". As shown, when joint angle 06 changes, the pitch point "P" will be in the yaw plane "YP" a distance a6 from the yaw point T. Second, the pitch point "P" is also in a pitch plane "PP" which is perpendicular to the yaw plane "YP" defined by the trocar point "O" and the ¾ axis.

[0049] With these two constraints placed on the pitch point "P", three cases can be defined to determine the location of the pitch point "P". In the first case modeled in FIG. 3, the pitch plane "PP" is uniquely defined by the trocar point "O" and the Z6 axis and intersects the yaw plane "YP" at the pitch point "P" on a proximal side (i.e., closer to the trocar point "O") of the yaw point "T". Thus, in the first case, the joint angle 06 and the joint angle 05 are in a range of about -π/2 to about π/2. As used herein, angles are expressed in radians where π is equal to 180°.

[0050] In the second case modeled in FIG. 4, the pitch plane "PP" is uniquely defined by the trocar point "O" and the ¾ axis and intersects the yaw plane "YP" at the pitch point "P" on a distal side (i.e., away to the trocar point "O") of the yaw point "T". Thus, in the second case, the joint angle 06 and the joint angle 05 are outside of a range of about -π/2 to about π/2.

[0051] In the third case modeled in FIG. 5, the ¾ axis is directed towards the trocar point "O" such that the trocar point "O" and the ¾ axis fail to uniquely define the pitch plane "PP". In the third case a singularity exists which makes it difficult to determine a range of the joint angle 06 and the joint angle 05. The third case can be modeled as described in greater detail below.

[0052] Referring back to the first case shown in FIG. 3, the determination of the joint angle 06, the joint angle 05, and the distance d 4 is detailed in accordance with the present disclosure. First, assuming that the desired pose of the "TCP" Frame is defined by the position which are both defined in the Base Frame, the homogenous transform of the "TCP" Frame in the Base Frame can be expressed as:

(3)

[0053] To determine the joint angles, the Base Frame is expressed in the TCP Frame as: u

R V

w'

1

(4)

Based on the property that ^ - W \ Ο Λ - j - 6 Λ IT can be determined that:

(5)

[0054] Referring now to FIG. 6, the coordinate of the trocar point "O" in the "TCP" u

v *

w'

Frame is The projection of the trocar point "O" in the xe, ye plane is point "Ο'" and the projection of point "Ο'" on the ye axis [0055] Applying the right hand rule, the relative sign and quarter locations are as follows: f πΙ2 < θ 6 < π, whenw'> 0,v'> 0;

0<6> < r/2,whenw'<0,v'>0;

πΙ2<θ. <0,whenw'<0,v'<0;

r < θ 6 <-πΙ2, when u y > 0, V < 0

(6)

Taking into account the relative sign and quarter location, as detailed above, in Equation 6: θ 6 = a tan 2(V',-M')

(7)

[0056] With reference to FIG.7, the distance between the yaw point "T" and point "Ο'" is given by T0 ' = - u ' cos &6 +v'sm0 6 and the distance between the pitch point "P" and point 'Ό'" is given by P0 ' = ~u ' cos ^ + 'sin > ~a 6 T h us , the joint angle θ 5 is given by: θ 5 =atan2(w' -u'cos0 6 + v'sin^ g

(8)

In addition, the distance d 4 between the trocar point "O" and the pitch point "P" is: d 4 = w' sin θ 5 + (-¾' cos θ 6 + v' sin θ 6 - 6 ) cos θ 5 ^

[0057] Now that the joint angle 06, the joint angle 05, and the distance d 4 have been determined, the joint angle 06, the joint angle 05, and the distance d 4 can be used to determine the joint angle θι, the joint angle Θ2, and the joint angle Θ3. In light of Equation 2 above, a rotation matrix chain can be expressed as:

0 p_0p iz? 2 z? 3 z? 4 z? 5 z?

(10)

[0058] Since joint angle Θ5 and joint angle 06 are now known, in view of Equation 1,

6 5 R can be expressed as: eft sft

5 R

ft eft

(11)

In addition, 5 R can be expressed as:

0 0

eft sft 0

(12)

The transpose of the product of the above two equations is expressible as:

Then multiplying Equation 13 from the right side to Equation 10: Further, by defining provides that:

[0059] Referring to FIG. 8, the projection of the pitch point "P" in the xo, yo plane is point "Ρ'" and the projection of the point "Ρ'" on the xo axis is "P"". Thus, P'P" = . OP OP" = -R„■ OP

and Accordingly, the joint angle θι can be expressed as: θ ι = a tan l (- R 23 , - R (16)

In addition, joint angle Θ2 can be expressed as:

[0060] It can be observed that when 2 ^ shaft OP of the arm 12 or tool 20

(FIG. 2) is aligned with the rotation axis of joint 1. This is a singularity where joint angle θι and joint angle 03 are not uniquely defined. A robot can be designed in such a way that the joint angle Θ2 is mechanically constrained to or in a range (e.g., about -70° to about 70°). In such a range, 02 will not reach the singularity. In normal operation, this singularity is checked and rejected by the processing unit 30 (FIG. 1). [0061] With reference to FIG. 9, a zo- axis is created at the pitch point "P" that is parallel to the zo axis, the projection point zo- in the plane x 4 , y 4 is point zo\ Thus, the joint angle 03 can be expressed as: a tan 2 (- R R (18)

[0062] Using the previous derivation of the rotation matrix above, if the unit vector of the frame is defined as x, y, z, the equation 15 can be expressed as:

[0063] With respect to the second case, shown in FIG. 4, the solution for the joint angle 06 is labeled 06'. It will be appreciated that as shown in FIG. 4: θ 6 - θ 6 , = π (20)

[0064] Thus, to determine the joint angles in the second case, the joint angle 06 is calculated in a manner similar to the first case detailed above and then Equation 20 is used to determine the joint angle 06' for the second case. Once the joint angle 06' for the second case is determined, the rest of the joint angles 0i, 02, 03, and 05 as well as the distance d 4 can be determined using the above method. [0065] Now turning to the third case, as shown in FIG. 5, the third case can be detected when

If the singularity of the third case is detected, the previous joint angle 06 can be used. Thus, 0 = 0

with 6 ^previous ^ rest 0 f the joint angles θι, 02, 03, and 05 as well as the distance d 4 can be determined using the above method.

[0066] As detailed above, the inverse kinematics solution provides mathematically precise mapping between an input pose and joint angles of the surgical robot 10. In the inverse kinematics solution, other considerations such as joint limits and joint speed limits are not taken into account. For example, due to mechanical constraints of the design of the surgical robot 10, the joint limits of joint angles 05 and 06 are usually in the range of about -π/2 to about π/2. The mechanical constraints of the surgical robot 10 prevent cases 2 and 3, detailed above, from being physically realizable since one of the joint angles will be greater than π/2. However, the poses presented in cases 2 and 3 may be commanded by the input device 42 because the input device 42 and the surgical robot 10 have different kinematic constructions and working spaces. For example, case 3 is a singularity where the inverse kinematic solution is not unique. In addition, when the joint angle 05 approaches ±π/2, a small rotation of the input pose along the axis X6 would cause a dramatic change in joint angle 03. Such a dramatic change may violate a joint speed limit and an acceleration limit of the roll joint of the arm 12 represented by joint angle 03. It will be appreciated that such sudden motions are undesirable in clinical settings. [0067] To avoid an unrealizable configuration or a singularity condition, the joint angle Θ5 is restricted in a range of about -5π/12 to about 5π/12 and the joint angle 06 is restricted in a range of about -π/2 to about π/2. One method of achieving this is in a brutal-force method by clamping the solution provided by the inverse kinematics solution. However, the brutal-force method may cause discontinuity in the inverse kinematics solution which is not desirable in a clinical setting.

[0068] Alternatively, as detailed below, a method may be used to correct the input pose after it crosses from a desirable solution space to an undesirable solution space. In the desirable solution space, the joint limits and the joint speed limits are acceptable and in the undesirable solution space at least one of the joint limits or the joint speed limits are exceeded or undesirable. Once the input pose is corrected, the corrected input pose can be solved by using the inverse kinematics solution detailed above having deniable joint angles. Such a method may avoid discontinuities in the joint angles when the boundary between the desirable and undesirable solution spaces is crossed. In addition, such a method can realize the position component of the input pose by only correcting an orientation component of the TCP frame to avoid unintended motion of the TCP frame from being introduced into the inverse kinematic solution.

[0069] As described below, a projection method that corrects an orientation component of the TCP frame of a desired input pose while maintaining a position component of the desired input pose is disclosed in accordance with the present disclosure. In the projection method, a boundary plane that separates a desirable and undesirable solution space may be defined by locating the trocar point on a spherical surface. A boundary plane then divides the spherical surface into two sections. If the trocar point is located on one side of the boundary (e.g., the right side), the input pose does not require correction. If no correction is required, the inverse kinematics solutions are desirable and within the joint limits and the joint speed limits. When the trocar point is located on the other side of the boundary (e.g., the left side), the input pose is projected to the boundary plane. If correction is required, the input pose is corrected by rotating the TCP frame to a projection point located on the boundary plane according to rigid body kinematics and expressing the corrected TCP frame in a rotated base frame for the inverse kinematics solution. After the correction of the TCP frame, the inverse kinematics solution for the corrected TCP frame will be desirable and within the joint limits and the joint speed limits.

[0070] With reference to FIGS. 10-15, a method of correcting an input pose for the arm 12 and the tool 20 (FIG. 2) in the event of the desired input pose being in an undesirable solution space (i.e., case 2, case 3, or a singularity) will be described in detail. Knowing that the joint angle 06 is physically limited to about -π/2 to about π/2 and that the joint angle 05 is physically limited to about -π/2 to about π/2, the projection of the trocar point "O" in the plane xe, y 6 lies in region "S" of FIG. 10.

[0071] When the projection point "Ο'" of the trocar point "O" is close to a circle about the yaw point "T" with a radius equal to the length a6 of the yoke "PT", the joint angle 05 will approach ±π/2. Thus, any small orientation change of the ¾ axis will cause a large change in the joint angle 06 and the joint angle 02. [0072] Continuing to refer to FIG. 10, it will be appreciated that the projection point "0"' cannot lie outside of the region "S" due to the physical limits of joint angle 06 and/or joint angle 05.

[0073] Referring to FIG. 12, during operation of the arm 12 and the tool 20, it is desirable that the projection point "Ο'" is positioned beyond, to the right as shown, of a dotted boundary line "B" with a dimension u 0 from the ye axis which is greater than the length a6 of the yoke "PT" which requires that: u < u,

(22)

[0074] The coordinate uo is chosen to meet the physical limits of joint angle 05 and joint angle 06 to avoid a singular condition. As described in detail below, the projection point "Ο'" may be positioned on either side or on the boundary line "B".

[0075] With particular reference to FIG. 1 1, a distance r" is defined between the projection point "O" and pitch point "P", such that

(r" cos 6> 5 max + a 6 ) 2 + (r" sin θ 5 ααχ f = r 0 2 ^

From Equation 23, r" can be calculated, and coordinate uo can be expressed as + '' " cos θ } παϊ ) ^24) where 05, max is a desirable limit (i.e., mechanical constraint) on joint angle 05 (e.g., 75° or 5π/12). [0076] If the projection point "0"' lies on the left side of the boundary line "B", the projection point "0"' is systematically projected to the boundary line "B". In this manner, the yaw point "T" is rotated according to the projection rule, as detailed below, such that after the rotation of the yaw point "T", a new pose of the "TCP" Frame is realized.

[0077] Referring to FIG. 13, the trocar point "O" and the yaw point "T" are connected such that a distance between the yaw point "T" and the trocar point "O" is distance ro. The distance ro is equal to ^ ^ . With the distance ro held constant, the vector f is rotated in the "TCP" Frame around the yaw point "T" such that the trocar point "O" will travel on a sphere centered at the yaw point "T". When the projection point "Ο'" lies on the left side of the boundary line "B" as illustrated in FIG. 1 1, the yaw point "T" will rotate until the trocar point "O" is rotated to the point "M" such that the projection point "Ο'" lies on the boundary line "B".

[0078] During this rotation, the orientation of the vector T 0 in the ye, z 6 plane remains constant. In accordance with the projection rule u" = u.

kv'

kw'

(25)

Where the linear constant k is given

[0079] Referring to FIG. 13, the rotation angle "φ" of the yaw point

determined as:

2a sin (/ / 2r 0 ) (27)

where

[0080] Referring now to FIG. 15, new frames xi, yi, zi (Frame 7) and xr, yr, and zr (Frame 7') are defined. Both Frames 7 and 7' originate at the yaw point "T". For Frame

7, the X7 axis is aligned with the vector T 0 and the z 7 axis is along the direction of TM x TO p or Frame 7', the xr axis is aligned with the vector T M and the zr axis is along the direction of™ x T0 . After the rotation, the Base Frame becomes frame xo; yo; and zo ' (Rotated Base Frame). Thus, when when )π / 2, Τ ζ τ = - TM X TO /\TM X TO \ Ώ A r n A +

I I , the Base Frame expressed from Frame 6 through

Frame 7 is:

6 6 r ' ^ r '

o 1 -i 1 o 1 (28) and the Rotated Base Frame expressed from Frame 6 through Frame 7' is:

(29)

During rotation, the Base Frame in Frame 7 is equal to the Rotated Base Frame in Frame 7' such that: Ιτ= Ί 0 τ (30)

Thus, the Rotated Base Frame in Frame 6 can be calculated as:

From Equation 31 we have:

(32) and

[0081] During the above posing, it is assumed, for simplicity, that the trocar point "O" and the Base Frame are rotated and that the yaw point "T" and the "TCP" Frame are kept constant. In fact, during the above movement, the trocar point "O", the yaw point "T", and the Base Frame are kept constant and only the "TCP" Frame is rotated. Due to the fact that the rotation is relative, if the "TCP" Frame is rotated instead of the Base Frame, then the rotated "TCP" Frame can be expressed in the Base Frame as: u

6 Τ

V

τ

w

(34)

6 R 6 T

where 0 ' is from the homogenous transform °' in Equation 31.

[0082] Referring to FIG. 16, in some extreme conditions, when u'>u e xtreme, another singularity condition is approached. This singularity condition is unlikely due to the range of motion of anatomical limits of the hands of a clinician that are engaged with the input device 43 (FIG. 1). However, when 05>05,extreme (e.g., 150°), x 6 is pointing back to the trocar point "O" and the motion of xe will be significantly amplified. The motion from the inverse kinematic solution may become less stable. Accordingly, the algorithm may provide feedback to a clinician informing or warning the clinician that the singularity condition is being approached. In addition, if necessary, the robotic system 10 may decouple or stop the mapping between the input device 43 and the arm 12 of the surgical robot 10. Similar to the determination of uo in Equations 23 and 24, the distance between trocar point "O" and pitch point "P" can be expressed as:

(r" cos (π - 0^ extreme )- a 6 f + (r" sin (π - 6> 5>Kdreme )) 2 = r 0 2

(35)

[0083] Solving for r" from the above equation 35 provides: r " cos (π - 0 5 ,βΜ )- (36)

[0084] In light of the above, the steps of the complete inverse kinematics algorithm for the arm 12 and the tool 20 (FIG. 2) are: 1) For each given input pose 6 , calculate the trocar point "O" position in the TCP frame using Equation 5;

2) Use Equation 22 to check if the input pose needs correction, if correction is needed got to step 3, otherwise, skip to step 5;

3) Check if u'>u e xtreme with Equation 35, if true provide feedback, else got to Step 4;

4) Use Equations 23 to 31 to calculate a corrected pose 6 ' , and replace the original pose with the corrected pose;

5) Use Equations 6 to 18 to calculate the joint angles θι, 02, 03, 05, and 06 as well as the distance d 4 .

[0085] In the inverse kinematics algorithm above, checking if the input pose needs correction is accomplished by choosing uo in Equation 22 as a function of the yaw point "T" and a maximum joint angle 05, max. For example, the maximum joint angle 05, max may be selected as 5π/12 (i.e., 75°).

[0086] As detailed above, the tool 20 (FIG. 2) has two DOF in addition to a grasping function. It is contemplated that other tools may be used with this inverse kinematic model by manipulating constraints of the joint angles as detailed below.

[0087] When the tool 20 is a straight instrument, the joint angle 05 and the joint angle 06 are about zero such that the straight instrument is treated as a wristed instrument. Accordingly, Equation 23 can be modified as follows: k'u'

= 0

k'w'

(37)

[0088] When the tool 20 is a stapler instrument, a jaw (not shown) of the stapler instrument is typically pivotal in one DOF such that thejoint angle 06 is substantially zero. Thus, Equation 23 can be modified as follows: u k'u'

v" = 0

w"= k'w' (38)

where

properly with a stapler instrument as the tool 20.

[0089] When the tool 20 is another type of instrument with a single DOF the j oint angle 05 may be substantially zero. Similar to the stapler instrument above, Equation 23 can be modified such that: u k'u'

v" = k'v'

w" = 0 (39)

k

where J * u u ' 2 + + v v , and the rest of the algorithm detailed above continues to operate properly with such an instrument. [0090] It will be appreciated that Equations 37-39 are applied after the correction Equations 25-34 have been applied. Thus, two rounds of corrections are required.

[0091] When tool 20 is an instrument with long jaws 29 (e.g., a bowel grasper), an additional frame may be needed. As shown in FIG. 17, a frame x e , ye, z e (End Effector Frame) is defined orientated similar to Frame 6 and offset a distance ai from Frame 6. As shown, the End Effector Frame is defined adjacent a tip of the long jaws 29 along a centerline of the long jaws 29. It is contemplated that the End Effector Frame may be on the centerline of the long jaws 29, in a middle of the long jaws 29, or any point along or between the long jaws 29.

[0092] Referring to FIGS. 18-20, the determination of uo needs to contemplate the distance a7. With particular reference to FIG. 19, similar to the derivation of Equation 23

(''" cos 0 5 max + a 6 + a 7 ) 2 + (r" sin θ 5 >max ) 2 = r, (40)

Solving for r" in Equation 40, coordinate uo can be expressed as: u (a 6 + a 7 + r " cos θ } max )

(41)

[0093] Following the projection method as detailed above, Equation 3 becomes:

(42)

Expressing the Base Frame in the End Effector Frame provides: and the position of the trocar point "O" in the End Effector Frame is: (44)

[0094] Referring to FIG. 18, u' is constrained according to Equation 22. If u'>uo, where uo can be dynamically constrained by using Equation 40, the trocar point "O" is projected to rotated trocar point "M" as shown in FIG. 20. The coordinates of the rotated trocar point "M" is calculated according to Equation 25.

As shown in FIG. 18, the distance between trocar point "O" and rotated trocar point "M" is: and the distance between the trocar point "O" and the yaw point "T" is: and the distance between the yaw point "T" and the rotated trocar point "M" is: The rotation angle φ' can be expressed as:

[0095] Referring to FIG. 21, following a similar derivation to that of Equations 25-34, the rotation angle is φ' instead of φ. It will be appreciated that Equation 31 remains accurate; however, Equation 32 changes to the following:

and Equation 33 becomes the following:

and further:

0 0 ^ 6

e 1 —6 1 (51)

T

and 6 can be expressed as:

Ύ< 0 -< I 6 -< r

J (52) 6

[0096] Where e is the End Effector Frame in the TCP frame and is expressed as:

[0097] By substituting the above equations into Equation 31 :

[0098] Finally, by applying the relative motion between the TCP frame and the Base Frame, the Rotated TCP Frame can be expressed in the Base Frame as:

T = [° 6 T] (55)

[0099] With reference to FIG. 22, an extreme condition for the long-jaw instrument is shown such that the distance between the trocar point :0: and the pitch point "P" is:

(r " cos (π - 0 5 extreme ) - a 6 - α Ί J + (r " sin (π - θ 5 ααχ )f = r 0 2 (56)

[00100] Solving r" from Equation 56 provides:

= r " cos (π - 0 5 emme ) - a 6 - a 7 (58) [00101] Thus, the steps of the complete inverse kinematics algorithm for a long-jaw instrument are as follows:

1) For each given input pose 6 , calculate the trocar point "O" position in the End Effector Frame using Equation 42;

2) Use Equation 40 to check if the input pose needs correction, if correction is needed got to step 3, otherwise calculate 6' from Equation 52 and go to step 5;

3) Check if u'>u e xtreme with Equation 57, if true provide feedback, else got to Step 4;

4) Use Equations 49-55 to calculate a corrected pose 6' , and replace the original pose 6 ' with the corrected pose 6 ' ;

5) Reapply Equations 3-18 to calculate the joint angles θι, 02, 03, 05, and 06 as well as the distance d 4 .

[00102] It is also within the scope of this disclosure to provide a clinician with an indication or an alert when the arm 12 and the tool 20 are approaching a singularity or may experience reduced DOF. Thus, while checking whether u'>u e xtreme, if the angle approaches the extreme angle 0exterme (e.g., π/6 or 30°), then the x 6 axis may be pointing back to the trocar point "O" such that the motion of the xe axis will be significantly amplified. In such a condition, the inverse kinematic solution may become less stable and the algorithm may provide a warning to the user such that mapping between the input handle 43 (FIG. 1) and the tool 20 (FIG. 1) may be decoupled until the pose is corrected in Step 4 of the algorithm detailed above.

[00103] Referring briefly back to FIG. 12, when the input pose 6 ' positions the trocar point "O" on the left side of the boundary line "B" the tool 20 would be functioning in an undesired configuration (e.g., with a possible decrease in DOF or the desired pose of the tool 20 may not be reachable in light of the current pose of the arm 12 or the desired pose of the tool 20 may be close to a singularity). In response to such an input pose, it may be desirable to correct the pose of the arm 12 using the projection method, as detailed above.

[00104] During a medical procedure, when a correction of the pose of the arm 12 is desirable, the user interface 40 (FIG. 1) may provide feedback to a clinician interfacing with the input handles 42. The feedback may be visual, audible, or haptic. One form of haptic feedback is force feedback that may inform the clinician of the current status of the configuration of the arm 12 and the tool 20. The force feedback would provide a tactile force through the input handle 42 as the boundary line "B" is approached and/or crossed. For example, the tactile force may have a first feedback force as the boundary line B is approached and a second stronger feedback force as the boundary line "B" is crossed. The feedback forces can be generated by a feedback torque of a force feedback system (not explicitly shown). With reference to FIG. 15, the feedback torque can be expressed in the Base Frame as: [00105] In Equation 42, /GO is a scalar function that determines the magnitude of the feedback torque t and the cross product of T M and f° determines the direction of the feedback torque t. The G may be a linear function or may be an exponential function that is limited by a maximum torque. The maximum torque may be set by torque that is realizable by the force feedback system and/or may be set by torque that is physiologically meaningful to a clinician interfacing with the input handles 42. It will be appreciated that in Equation 42 the feedback torque t is expressed in the Base Frame and that when displayed or applied by the input handles 42 of the user interface 40, the feedback torque t would be expressed in the proper frame of the user interface 40.

[00106] While several embodiments of the disclosure have been shown in the drawings, it is not intended that the disclosure be limited thereto, as it is intended that the disclosure be as broad in scope as the art will allow and that the specification be read likewise. Any combination of the above embodiments is also envisioned and is within the scope of the appended claims. Therefore, the above description should not be construed as limiting, but merely as exemplifications of particular embodiments. Those skilled in the art will envision other modifications within the scope of the claims appended hereto.