# US 2021/0331316 A1 · Goal-oriented control of a robotic arm

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

- Number: US 2021/0331316 A1
- Document ID: US20210331316A1
- Status: Published application
- Kind: A1
- Application number: 16/856,715
- Filed: 2020-04-23
- Published: 2021-10-28
- Earliest claimed: 2020-04-23
- Assignees: Shanghai Flexiv Robotics Technology Co., Ltd.; Flexiv Ltd.
- Applicants: Shanghai Flexiv Robotics Technology Co., Ltd.; Flexiv Ltd.
- Inventors: Aditya Bhat; Shuyun Chung
- Web page: https://patentgrep.com/patent/US20210331316A1

## CPC

- B25J 9/1666: {Avoiding collision or forbidden zones}
- B25J 9/1661: {characterised by task planning, object-oriented languages}
- B25J 9/1669: {characterised by special application, e.g. multi-arm co-operation, assembly, grasping}
- B25J 9/1697: {Vision controlled systems}
- G05B 2219/40395: Compose movement with primitive movement segments from database
- 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

Methods and systems for improved control of robotic arms are presented. In one embodiment, a method is presented that includes predefining a plurality of motion primitives, which may include one or more preconditions and effects. A target state for a plurality of workpieces may be determined as well as an initial state of the plurality of workpieces. A sequence of operations may be generated based on the preconditions and/or effects of the motion primitives, as well as the target state and the initial state. Executing the sequence of operations may be capable of changing the plurality of workpieces from the initial state to the target state.

## Claims

### Claim 1

A method for controlling a robotic arm to manipulate a plurality of workpieces, comprising:
predefining a plurality of motion primitives of the robotic arm, each of the plurality of motion primitives comprising one or more preconditions and one or more effects;
acquiring a target state of the plurality of workpieces;
acquiring an initial state of the plurality of workpieces; and
generating a sequence of operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces;
wherein the operations are selected from the plurality of motion primitives;
wherein execution of the sequence of operations is capable of changing the plurality of workpieces from the initial state to the target state.

### Claim 2 (depends on 1)

The method of claim 1, wherein the acquiring the target state of the plurality of workpieces comprises:
identifying a state of a prototype which correspond to the target state of the plurality of workpieces.

### Claim 3 (depends on 2)

The method of claim 2, wherein the state of the prototype comprises relative positions and relative connections between workpieces of the prototype.

### Claim 4 (depends on 2)

The method of claim 2, wherein the state of the prototype is identified with a vision acquisition device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the acquiring the initial state of the plurality of workpieces comprises acquiring the initial state of the plurality of workpieces with a vision acquisition device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the initial state of the plurality of workpieces comprises locations of the plurality of workpieces, and the sequence of operations is generated based on the locations of the plurality of workpieces.

### Claim 7 (depends on 1)

The method of claim 1, wherein the initial state of the plurality of workpieces comprises relative positions and relative connections between the plurality of workpieces, and the sequence of operations is generated based on the relative positions and relative connections between the plurality of workpieces.

### Claim 8 (depends on 1)

The method of claim 1, wherein the generating the sequence of the operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces comprises:
generating the sequence of the operations in such a way that: every precondition of a start one of the operations meets the initial state of the plurality of workpieces; and every effect of a last one of the operations meets the target state of the plurality of workpieces.

### Claim 9 (depends on 8)

The method of claim 8, wherein the generating the sequence of the operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces further comprises:
generating the sequence of the operations in such a way that: one or more effects of a previous one of the operations is capable of changing the plurality of workpieces from a previous state to a subsequent state, wherein one or more preconditions of a subsequent one of the operations meet the subsequent state.

### Claim 10 (depends on 8)

The method of claim 8, wherein the sequence of the operations is generated by using a graph traversal algorithm.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
performing collision check to determine whether the sequence of the operations is feasible; and
responsive to determining that the sequence of the operations is not feasible: regenerating a new sequence of operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
performing collision check to determine whether the sequence of the operations is feasible; and
responsive to determining that the sequence of the operations is feasible: executing the sequence of the operations.

### Claim 13

A system for controlling a robotic arm, comprising:
a processor; and
a memory storing instructions which, when executed by the processor, cause the processor to perform a method for controlling the robotic arm to manipulate a plurality of workpieces, wherein the method comprises:
predefining a plurality of motion primitives of the robotic arm, each of the plurality of motion primitives comprising one or more preconditions and one or more effects;
acquiring a target state of the plurality of workpieces;
acquiring an initial state of the plurality of workpieces; and
generating a sequence of operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces;
wherein the operations are selected from the plurality of motion primitives;
wherein execution of the sequence of operations is capable of changing the plurality of workpieces from the initial state to the target state.

### Claim 14 (depends on 13)

The system of claim 13, further comprising a vision acquisition device, wherein
the state of the prototype is identified with the vision acquisition device; and
the initial state of the plurality of workpieces is identified with the vision acquisition device.

### Claim 15 (depends on 13)

The system of claim 13, wherein
the initial state of the plurality of workpieces comprises locations of the plurality of workpieces, and relative positions and relative connections between the plurality of workpieces;
the sequence of operations is generated based on the locations of the plurality of workpieces, and the relative positions and the relative connections between the plurality of workpieces.

### Claim 16 (depends on 13)

The system of claim 13, wherein the generating the sequence of the operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces comprises:
generating the sequence of the operations in such a way that:
every precondition of a start one of the operations meets the initial state of the plurality of workpieces; and every effect of a last one of the operations meets the target state of the plurality of workpieces; and
one or more effects of a previous one of the operations is capable of changing the plurality of workpieces from a previous state to a subsequent state, wherein one or more preconditions of a subsequent one of the operations meet the subsequent state.

### Claim 17 (depends on 13)

The system of claim 13, wherein the method further comprises:
performing collision check to determine whether the sequence of the operations is feasible; and
responsive to determining that the sequence of the operations is not feasible: regenerating a new sequence of operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces.

### Claim 18

A non-transitory, computer readable medium storing instructions which, when executed by a processor, cause the processor to perform a method for controlling the robotic arm to manipulate a plurality of workpieces, wherein the method comprises:
predefining a plurality of motion primitives of the robotic arm, each of the plurality of motion primitives comprising one or more preconditions and one or more effects;
acquiring a target state of the plurality of workpieces;
acquiring an initial state of the plurality of workpieces; and
generating a sequence of operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces;
wherein the operations are selected from the plurality of motion primitives;
wherein execution of the sequence of operations is capable of changing the plurality of workpieces from the initial state to the target state.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the generating the sequence of the operations based on the one or more preconditions and the one or more effects of the plurality of motion primitives, the target state and the initial state of the plurality of workpieces comprises:
generating the sequence of the operations in such a way that:
every precondition of a start one of the operations meets the initial state of the plurality of workpieces; and every effect of a last one of the operations meets the target state of the plurality of workpieces; and
one or more effects of a previous one of the operations is capable of changing the plurality of workpieces from a previous state to a subsequent state, wherein one or more preconditions of a subsequent one of the operations meet the subsequent state.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein
the state of the prototype comprises relative positions and relative connections between workpieces of the prototype;
the initial state of the plurality of workpieces comprises locations of the plurality of workpieces, and relative positions and relative connections between the plurality of workpieces;
the sequence of operations is generated based on the relative positions and relative connections between workpieces of the prototype, the locations of the plurality of workpieces, and the relative positions and the relative connections between the plurality of workpieces.
