# US 2024/0383144 A1 · Apparatus, computer-implemented method and computer program for enabling the tracking of a robotic instrument to a passive controller

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0383144 A1
- Document ID: US20240383144A1
- Status: Published application
- Kind: A1
- Application number: 18/286,920
- Filed: 2022-04-12
- Published: 2024-11-21
- Earliest claimed: 2021-04-14
- Assignees: Precision Robotics Limited
- Applicants: Precision Robotics Limited
- Inventors: Malgorzata Kamedula; Zhang Lin; Jindong Liu
- Web page: https://patentgrep.com/patent/US20240383144A1

## CPC

- B25J 9/1689: {Teleoperation}
- A61B 34/32: operating autonomously
- A61B 34/37: Leader-follower robots (A61B34/35 takes precedence)
- A61B 34/74: {Manipulators with manual electric input means}
- B25J 9/1607: {Calculation of inertia, jacobian matrixes and inverses}
- B25J 9/1664: {characterised by motion, path, trajectory planning}
- A61B 2034/306: {Wrists with multiple vertebrae}
- B25J 9/1615: {characterised by special kind of manipulator, e.g. planar, scara, gantry, cantilever, space, closed chain, passive/active joints and tendon driven manipulators}
- G05B 2219/39079: Solve inverse differential kinematics in closed, feedback loop, iterate
- G05B 2219/39457: Tendon drive
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

An apparatus including computer program code configured to cause the apparatus to: receive a command defining a desired pose of an end effector of a robotic instrument; determine, based on the command, joint parameters for each joint of the robotic instrument using an inverse kinematics algorithm to enable the end effector to mimic the desired pose as closely as possible, wherein the algorithm is configured to reiteratively calculate a pose of the end effector and identify the calculated pose with the smallest tracking error as a global solution if the tracking error is smaller than that associated with a current pose of the end effector, otherwise identify the current pose as the global solution; and wherein the apparatus is configured to generate a motor command to reconfigure the joints according to the global solution if the calculated pose with the smallest tracking error is identified as the global solution.

## Claims

### Claim 1

An apparatus comprising:
at least one processor; and
at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the apparatus to:
receive a control command from a passive controller, the passive controller configured to remotely control a robotic instrument having a plurality of joints and an end effector, the control command defining a desired pose of the end effector;
determine, based on the control command, joint parameters for each of the plurality of joints using an inverse kinematics algorithm to enable the end effector to mimic the desired pose as closely as possible within a constrained environment, wherein the inverse kinematics algorithm is configured to:
calculate a pose of the end effector using a first set of joint parameters as an initial condition;
compare the calculated pose with the desired pose to determine a tracking error;
reiterate the calculating and comparing steps for one or more different sets of joint parameters; and
identify the calculated pose with the smallest tracking error as a global solution only if the tracking error is smaller than that associated with a current pose of the end effector, otherwise identify the current pose as the global solution; and
wherein the apparatus is further configured to generate a motor command to reconfigure the plurality of joints according to the set of joint parameters associated with the global solution if the calculated pose with the smallest tracking error is identified as the global solution.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the different sets of joint parameters are randomly chosen.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the inverse kinematics algorithm is configured to reiterate the calculating and comparing steps until a predefined time limit has expired or until a predefined terminal constraint has been satisfied.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the inverse kinematics algorithm includes a predefined position limit to enable the calculation of partially constrained poses of the end effector that satisfy position constraints of the robotic instrument.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the inverse kinematics algorithm further includes a predefined velocity limit to enable the calculation of constrained poses of the end effector that satisfy both position and velocity constraints of the robotic instrument.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the inverse kinematics algorithm is configured to apply the predefined position and velocity limits separately to enable the calculation of both constrained and partially constrained poses of the end effector.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the passive controller and robotic instrument have freedom of movement within respective control and instrument workspaces, and wherein the control workspace is mapped to the instrument workspace to allow the pose of the robotic instrument to track the pose of the passive controller as the passive controller moves within the control workspace.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the passive controller comprises an unlock mechanism configured to reinstate tracking of the robotic instrument pose to the passive controller pose following a tracking interruption, and wherein activation of the unlock mechanism causes the apparatus to:
determine whether a constrained pose identified as a constrained global solution matches a partially constrained pose identified as a partially constrained global solution; and
generate a motor command according to the set of joint parameters associated with the partially constrained global solution if the constrained and partially constrained poses do not match.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein, if the partially constrained pose does not satisfy the velocity constraints of the robotic instrument, the apparatus is configured to:
determine, using a trajectory algorithm, a trajectory of movement for the robotic instrument within the instrument workspace such that the end effector moves from the current pose to the partially constrained pose within the predefined velocity limit; and
generate the motor command to automatically control movement of the robotic instrument according to the determined trajectory.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the apparatus is configured to redetermine the trajectory of movement as the pose of the passive controller changes.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the trajectory algorithm comprises a global scaling factor which is computed to ensure that the movement of the robotic instrument does not exceed the predefined velocity limit.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the trajectory algorithm comprises a user-defined scaling factor to slow the movement of the robotic instrument to below the predefined velocity limit.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the inverse kinematics algorithm comprises one or more of the Kinematics and Dynamics Library solver, the Improved Kinematics and Dynamics Library solver and the Sequential Quadratic Programming solver.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the inverse kinematics algorithm comprises two or more solvers running concurrently such that the solver which identifies the global solution first terminates the other solvers.

### Claim 15 (depends on 1)

The apparatus of claim 1, wherein the joint parameters for each of the plurality of joints comprise one or more of the position, angle, orientation, configuration and velocity of the joint.

### Claim 16 (depends on 6)

The apparatus of claim 6, wherein the inverse kinematics algorithm has the form:
qinit = q
(p*, q*) = (p, q)
while t < tmax and ∥pref − p*∥ > ε:
qi = solver (qinit, pref)
(
p
*
,
q
*
)
=
{
(
p
i
,
q
i
)
if
⁢

p
ref
-
p
i

<

p
ref
-
p
*

(
p
*
,
q
*
)
otherwise
choose new random qinit.
where pref∈ represents the desired end effector pose as received from the passive controller, pi=f(qi)∈ stands for the end effector pose as computed by the current iteration of the algorithm, qinit∈ denotes the algorithm initial condition, where p=f(q)∈ is an end effector pose computed based on the current state of the robotic instrument or last joint-space command sent to motors driving the robotic instrument if no joint angle sensor feedback is available, p*=f(q*)∈ represents current control candidate and ε∈ denotes the accepted algorithm tolerance; t∈ and tmax∈ represent current and maximum time the algorithm can run.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the inverse kinematics algorithm has the form:
qinit = q
(p*, q*) = (p, q)
(p*, q*) = (p, q)
while t < tmax and ∥pref - p*∥ > ε:
qi = start local algorithm (qinit, pref)
while local algorithm is running:
qi = step local algorithm (qinit, pref)
(
p
*
,
q
*
)
=
{
(
p
i
,
q
i
)
if
⁢

p
ref
-
p
i

<

p
ref
-
p
*

(
p
*
,
q
*
)
otherwise
(
p
_
*
,
q
_
*
)
=
{
(
p
i
,
q
i
)
if
⁢

p
ref
-
p
i

<

p
ref
-
p
*

&
∀
k
∈
{
0
,
…
,
n
}
:

q
.
k

<
q
.
k
max
(
p
_
*
,
q
_
*
)
otherwise
choose new random qinit
where (.) marks variables that lie within velocity limits and the ‘local algorithm’ refers to any algorithm that computes local solutions.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the trajectory algorithm has the form:
kL = 1
∀k∈{0, . . . , n}:
Δqk* = (qk* − qk)sin(kωt)
s
=
k
s
⁢
Δ
⁢
q
k
,
max

Δ
⁢
q
k
*

+
ε
if s < kLΔ: → kL = s
qu = q + kLΔq*
if kL = 1 :→ t = t + Δt
if kL = 1 and Σk=1n(qk* − qk) < kt :→ terminate
where kL∈ represent a global scaling factor to ensure the generated trajectory lies within the joint space velocity limits, ks∈ stands for a user-defined scaling factor to slow down the movement to a velocity below the predefined velocity limit, and kt∈ is a terminal constraint threshold to finish trajectory.

### Claim 19 (depends on 1)

The apparatus of claim 1, wherein the robotic instrument is a surgical robot.

### Claim 20 (depends on 1)

The apparatus of claim 1, wherein the apparatus comprises at least one of: the passive controller and r robotic instrument.

### Claim 21

A computer-implemented method comprising:
receiving a control command from a passive controller, the passive controller configured to remotely control a robotic instrument having a plurality of joints and an end effector, the control command defining a desired pose of the end effector;
determining, based on the control command, joint parameters for each of the plurality of joints using an inverse kinematics algorithm to enable the end effector to mimic the desired pose as closely as possible within a constrained environment, wherein the inverse kinematics algorithm is configured to:
calculate a pose of the end effector using a first set of joint parameters as an initial condition;
compare the calculated pose with the desired pose to determine a tracking error;
reiterate the calculating and comparing steps for one or more different sets of joint parameters; and
identify the calculated pose with the smallest tracking error as a global solution only if the tracking error is smaller than that associated with a current pose of the end effector, otherwise identify the current pose as the global solution; and
wherein the method further comprises generating a motor command to reconfigure the plurality of joints according to the set of joint parameters associated with the global solution if the calculated pose with the smallest tracking error is identified as the global solution.

### Claim 22 (depends on 21)

A computer program comprising computer code which, when executed by a computer, causes the computer to perform the method of claim 21.
