# US 2023/0302645 A1 · Method of robot dynamic motion planning and control

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

- Number: US 2023/0302645 A1
- Document ID: US20230302645A1
- Status: Published application
- Kind: A1
- Application number: 17/457,696
- Filed: 2021-12-06
- Published: 2023-09-28
- Earliest claimed: 2021-12-06
- Assignees: Fanuc Corporation
- Applicants: Fanuc Corporation
- Inventors: Hsien-Chung Lin; Chiara Talignani Landi; Chi-Keng Tsai; Tetsuaki Kato
- Web page: https://patentgrep.com/patent/US20230302645A1

## CPC

- B25J 9/1666: {Avoiding collision or forbidden zones}
- B25J 9/1651: {acceleration, rate control}
- B25J 13/08: by means of sensing devices, e.g. viewing or touching devices
- B25J 9/1643: {redundant control}
- G05B 2219/31005: Detect obstacles on path of vehicle
- G05B 2219/39001: Robot, manipulator control
- G05B 2219/40104: Reactive planner, user is integral component of planner, interactive
- 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})
- 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

A method and system for motion planning for robots with a redundant degree of freedom. The technique computes a collision avoidance motion plan for a robot with a redundant degree of freedom, without artificially constraining the extra degree of freedom. The motion planning is formulated as a quadratic programming optimization calculation having a multi-component objective function and a collision avoidance constraint function. The formulation is efficient enough to compute the motion plan in real time at every robot control cycle. The collision avoidance constraint ensures clearance of all parts of the robot from both static and dynamic obstacles. Objective function terms include minimizing path deviation, joint velocity regularization and robot configuration or pose regularization. Weighting factors on the terms of the objective function are changeable for each control cycle calculation based on obstacle proximity conditions at the time.

## Claims

### Claim 1

A method for dynamic motion planning for a robot, said method executed on a computing device and comprising:
computing a design robot motion based on a target location of a robot tool center point;
computing a commanded robot motion based on the design robot motion and obstacle data received from sensors, where the commanded robot motion is provided as feedback for computing the design robot motion for a next control cycle, and where computing a commanded robot motion includes an optimization computation having a multi-term objective function, one or more robot structural limitation constraints and a collision avoidance constraint; and
providing the commanded robot motion to a controller module which controls joint motions of the robot.

### Claim 2 (depends on 1)

The method according to claim 1 wherein the computing device is a robot controller which executes all of computing a design robot motion, computing a commanded robot motion, and controlling joint motions of the robot.

### Claim 3 (depends on 1)

The method according to claim 1 wherein the computing device includes a computer which executes computing a design robot motion and computing a commanded robot motion, and the computer provides the commanded robot motion to a robot controller which controls joint motions of the robot.

### Claim 4 (depends on 1)

The method according to claim 1 wherein the multi-term objective function includes a path deviation minimization term, a joint velocity regularization term and a robot pose regularization term, and the objective function seeks a minimum of a sum of the terms.

### Claim 5 (depends on 4)

The method according to claim 4 wherein coefficients on the terms of the objective function are adjustable at each control cycle based on proximity of the robot to any obstacles in a robot workspace.

### Claim 6 (depends on 4)

The method according to claim 4 wherein the joint velocity regularization term includes a square of a norm of a joint velocity vector including all joints in the robot.

### Claim 7 (depends on 4)

The method according to claim 4 wherein the robot pose regularization term includes a square of a norm of a vector defined by a difference between a joint position and a reference joint position for all joints in the robot.

### Claim 8 (depends on 4)

The method according to claim 4 wherein the robot pose regularization term is a cost function including a norm of a vector defined by a difference between a joint position and a destination joint position for one or more joints in the robot which are predetermined as being susceptible to significant pose change from one step to the next during a robot motion.

### Claim 9 (depends on 1)

The method according to claim 1 wherein the one or more robot structural limitation constraints include inequality constraints defining one or more of; maintaining robot joint positions within predefined joint position ranges, maintaining robot joint velocities below predefined joint velocity limits, and maintaining robot joint accelerations below predefined joint acceleration limits.

### Claim 10 (depends on 1)

The method according to claim 1 wherein the collision avoidance constraint is an inequality constraint computed from a safety function, where the collision avoidance constraint is that a rate of change of the safety function must be greater than or equal to the negative of the safety function multiplied by a coefficient.

### Claim 11 (depends on 10)

The method according to claim 10 wherein the safety function is either equal to a robot-obstacle minimum distance, or the safety function is equal to the robot-obstacle minimum distance reduced by a term computed from a robot-obstacle relative velocity.

### Claim 12 (depends on 1)

The method according to claim 1 wherein the target location is a moving target location defined as a function of time.

### Claim 13 (depends on 1)

The method according to claim 1 wherein the design robot motion is a tool center point motion in Cartesian space, and the commanded robot motion includes robot joint rotational motions for all joints in the robot.

### Claim 14 (depends on 13)

The method according to claim 13 wherein the robot has at least one redundant degree of freedom, where a number of degrees of freedom of the robot joint rotational motions exceeds a number of degrees of freedom of the tool center point motion.

### Claim 15

A method for dynamic motion planning for a robot, said method executed on a computing device and comprising:
computing a design robot motion based on a target location of a robot tool center point;
computing a commanded robot motion based on the design robot motion and obstacle data received from sensors, where the commanded robot motion is provided as feedback for computing the design robot motion for a next control cycle, and where computing a commanded robot motion includes an optimization computation having a multi-term objective function with coefficients being adjustable at each control cycle, robot joint position, velocity and acceleration limitations defined as inequality constraints, and a collision avoidance constraint; and
providing the commanded robot motion to a controller module which controls joint motions of the robot,
where the design robot motion is a tool center point motion in Cartesian space, and the commanded robot motion includes robot joint rotational motions for all joints in the robot, and the robot has at least one redundant degree of freedom such that a number of degrees of freedom of the robot joint rotational motions exceeds a number of degrees of freedom of the tool center point motion.

### Claim 16 (depends on 15)

The method according to claim 15 wherein the multi-term objective function includes a path deviation minimization term, a joint velocity regularization term and a robot pose regularization term, and the objective function seeks a minimum of a sum of the terms, and where the coefficients on the terms of the objective function are adjustable at each control cycle based on proximity of the robot to any obstacles in a robot workspace.

### Claim 17

A dynamic motion planning system for an industrial robot, said system comprising:
a perception module including at least one sensor or camera configured to detect obstacles in a workspace of the robot; and
a computing device having a processor and memory, configured with;
a planning module programmed to compute a design robot motion based on a target location of a tool center point on a tool attached to the robot; and
a motion optimization module receiving obstacle data from the perception module, said motion optimization module being programmed to compute a commanded robot motion based on the design robot motion and the obstacle data, where the commanded robot motion is provided as feedback to the planning module for computing the design robot motion for a next control cycle, and where the commanded robot motion is computed using an iterative optimization computation having a variably-weighted multi-term objective function, one or more robot structural limitation constraints and a collision avoidance constraint,
and where the commanded robot motion is provided to a controller module which controls joint motions of the robot.

### Claim 18 (depends on 17)

The system according to claim 17 wherein the computing device is a robot controller which executes the planning module, the motion optimization module and the controller module, and provides robot joint motion commands to the robot.

### Claim 19 (depends on 17)

The system according to claim 17 wherein the computing device executes the planning module and the motion optimization module, and a robot controller is in communication with the computing device, where the robot controller executes the controller module and provides the robot joint motion commands to the robot.

### Claim 20 (depends on 17)

The system according to claim 17 wherein the multi-term objective function includes a path deviation minimization term, a joint velocity regularization term and a robot pose regularization term, and the objective function seeks a minimum of a sum of the terms.

### Claim 21 (depends on 20)

The system according to claim 20 wherein the coefficients on the terms of the objective function are adjustable at each control cycle based on proximity of the robot to any obstacles in a robot workspace.

### Claim 22 (depends on 20)

The system according to claim 20 wherein the robot pose regularization term is selected from a first formulation which includes a square of a norm of a vector defined by a difference between a joint position and a reference joint position for all joints in the robot, or a second formulation which is a cost function including a norm of a vector defined by a difference between a joint position and a destination joint position for one or more joints in the robot which are predetermined as being susceptible to significant pose change from one step to the next during a robot motion.

### Claim 23 (depends on 17)

The system according to claim 17 wherein the one or more robot structural limitation constraints include inequality constraints defining one or more of; maintaining robot joint positions within predefined joint position ranges, maintaining robot joint velocities below predefined joint velocity limits, and maintaining robot joint accelerations below predefined joint acceleration limits.

### Claim 24 (depends on 17)

The system according to claim 17 wherein the collision avoidance constraint is an inequality constraint computed from a safety function, where the collision avoidance constraint is that a rate of change of the safety function must be greater than or equal to the negative of the safety function multiplied by a coefficient.

### Claim 25 (depends on 24)

The system according to claim 24 wherein the safety function is either equal to a robot-obstacle minimum distance, or the safety function is equal to the robot-obstacle minimum distance reduced by a term computed from a robot-obstacle relative velocity.

### Claim 26 (depends on 17)

The system according to claim 17 wherein the target location is a moving target location defined as a function of time.

### Claim 27 (depends on 17)

The system according to claim 17 wherein the design robot motion is a tool center point motion in Cartesian space, and the commanded robot motion includes robot joint rotational motions for all joints in the robot.

### Claim 28 (depends on 27)

The system according to claim 27 wherein the robot has at least one redundant degree of freedom, where a number of degrees of freedom of the robot joint rotational motions exceeds a number of degrees of freedom of the tool center point motion.
