# US 2024/0173860 A1 · Motion control method, method for generating trajectory of motion, and electronic device

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

- Number: US 2024/0173860 A1
- Document ID: US20240173860A1
- Status: Published application
- Kind: A1
- Application number: 18/383,019
- Filed: 2023-10-23
- Published: 2024-05-30
- Earliest claimed: 2022-11-24
- Assignees: Beijing Xiaomi Robot Technology Co., Ltd.
- Applicants: Beijing Xiaomi Robot Technology Co., Ltd.
- Inventors: Mingliang ZHOU
- Web page: https://patentgrep.com/patent/US20240173860A1

## CPC

- B25J 9/1664: {characterised by motion, path, trajectory planning}
- B62D 57/032: with alternately or sequentially lifted supporting base and legs; with alternately or sequentially lifted feet or skid (B62D57/024 takes precedence)
- 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})
- B62D: MOTOR VEHICLES; TRAILERS (steering, or guiding on a desired track, of agricultural machines or implements A01B69/00; wheels, castors, axles, increasing wheel adhesion B60B; vehicle tyres, tyre inflation or tyre changing B60C; connections between vehicles of a train or the like B60D; vehicles for use on rail and road, amphibious or convertible vehicles B60F; suspension arrangements B60G; heating, cooling, ventilating or other air treating devices B60H; windows, windscreens, non-fixed roofs, doors or similar devices, protective coverings for vehicles not in use B60J; propulsion plant arrangements, auxiliary drives, transmissions, controls, instrumentation or dashboards B60K; electric equipment or propulsion of electrically-propelled vehicles B60L; power supply for electrically-propelled vehicles B60M; passenger accommodation not otherwise provided for B60N; adaptations for load transportation or to carry special loads or objects B60P; arrangement of signalling or lighting devices, the mounting or supporting thereof or circuits therefor, for vehicles in general B60Q; vehicles, vehicle fittings or vehicle parts not otherwise provided for B60R; servicing, cleaning, repairing, supporting, lifting, or manoeuvring, not otherwise provided for, B60S; brake arrangements, brake control systems or parts thereof B60T; air-cushion vehicles B60V; motor-cycles, accessories therefor B62J, B62K; testing of vehicles G01M)
- 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

The present disclosure provides a motion control method and apparatus, and a method and apparatus for generating a trajectory of a motion. The motion control method is applied to a robot, and includes: generating, according to a type of a desired motion, at least one motion phase of a motion process and a time for each motion phase; determining, according to the at least one motion phase and the time of each motion phase, a desired pose of the robot at least one node during the motion process; inputting the desired pose as a reference value into a cost function model to obtain a trajectory of the desired motion, where the trajectory includes a pose and a control parameter of the robot at each sampling point during the motion process; and controlling the robot to move according to the trajectory of the desired motion.

## Claims

### Claim 1

A motion control method, applied to a robot, the method comprising:
generating, according to a type of a desired motion, at least one motion phase of a motion process and a time for each motion phase of the at least one motion phase;
determining, according to the at least one motion phase and the time of each motion phase of the at least one motion phase, a desired pose of the robot at least one node during the motion process;
inputting the desired pose at the at least one node as a reference value into a cost function model to obtain a trajectory of the desired motion, wherein the trajectory comprises a pose and a control parameter of the robot at each sampling point during the motion process; and
controlling the robot to move according to the trajectory of the desired motion.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining, according to the at least one motion phase and the time of each motion phase of the at least one motion phase, the desired pose of the robot at the at least one node during the motion process, comprises:
determining, according to the at least one motion phase, the time of each motion phase of the at least one motion phase, and relative relationships between desired poses of the robot at different nodes, the desired poses of the robot at a plurality of nodes during the motion process.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the relative relationships between the desired poses of the robot at different nodes, comprises:
determining that any two nodes belong to a same motion phase, and determining the relative relationships between the desired poses of the robot at the two nodes according to positions of the two nodes in the motion phase.

### Claim 4 (depends on 2)

The method of claim 2, wherein the cost function model comprises following to-be-optimized terms:
at least one of a difference between a to-be-optimized pose at each sampling point and the desired pose at the at least one node, and a difference between a to-be-optimized pose at the at least one node and the desired pose at the at least one node; and
at least one of a to-be-optimized control parameter at each sampling point, and a difference between the to-be-optimized control parameter at each sampling point and a to-be-optimized control parameter at a previous sampling point.

### Claim 5 (depends on 4)

The method of claim 4, wherein the cost function model further comprises a following to-be-optimized term:
a difference between a rate of change of the to-be-optimized pose at each sampling point and a rate of change of the to-be-optimized pose at a previous sampling point.

### Claim 6 (depends on 4)

The method of claim 4, wherein each to-be-optimized term in the cost function model is provided with a corresponding weight.

### Claim 7 (depends on 4)

The method of claim 4, wherein constraint conditions of the cost function model comprise at least one of following conditions:
the to-be-optimized poses at different sampling points meet a preset dynamics equation;
the to-be-optimized control parameters at different sampling points meet the preset dynamics equation;
the to-be-optimized pose at each sampling point meets a preset empirical range; or
the to-be-optimized control parameter at each sampling point meets the preset empirical range.

### Claim 8 (depends on 1)

The method of claim 1, wherein
the desired pose comprises at least one of: a body displacement, a body attitude angle, and a joint angular displacement, and the pose comprises at least one of: a body displacement, a body attitude angle, and a joint angular displacement; or
the control parameter comprises a joint torque.

### Claim 9 (depends on 1)

The method of claim 1, wherein the desired motion comprises at least one of: a front somersault, a back somersault, and a jump.

### Claim 10 (depends on 1)

The method of claim 1, wherein the controlling the robot to move according to the trajectory of the desired motion comprises:
updating, before the robot moves to any sampling point of the trajectory, a control parameter of the sampling point according to a pose of the sampling point and a current pose of the robot; and
controlling the robot to move according to an updated control parameter.

### Claim 11

A method for generating a trajectory of a motion, comprising:
generating, according to a type of a desired motion, at least one motion phase of a motion process and a time for each motion phase of the at least one motion phase;
determining, according to the at least one motion phase and the time of each motion phase of the at least one motion phase, a desired pose of a robot at least one node during the motion process; and
inputting the desired pose at the at least one node as a reference value into a cost function model to obtain a trajectory of the desired motion, wherein the trajectory comprises a pose and a control parameter of the robot at each sampling point during the motion process.

### Claim 12 (depends on 11)

A motion control method, applied to a robot, the method comprising:
controlling the robot to move according to a pre-configured trajectory within the robot, wherein the trajectory is generated by the method of claim 11.

### Claim 13

An electronic device, applied to a robot, the electronic device comprising a memory and a processor, wherein
the memory is configured to store computer instructions executable on the processor; and
the processor is configured to implement, when executing the computer instructions, acts comprising:
generating, according to a type of a desired motion, at least one motion phase of a motion process and a time for each motion phase of the at least one motion phase;
determining, according to the at least one motion phase and the time of each motion phase of the at least one motion phase, a desired pose of the robot at least one node during the motion process;
inputting the desired pose at the at least one node as a reference value into a cost function model to obtain a trajectory of the desired motion, wherein the trajectory comprises a pose and a control parameter of the robot at each sampling point during the motion process; and
controlling the robot to move according to the trajectory of the desired motion.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the processor is further configured to:
determine, according to the at least one motion phase, the time of each motion phase of the at least one motion phase, and relative relationships between desired poses of the robot at different nodes, the desired poses of the robot at a plurality of nodes during the motion process.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the processor is further configured to:
determine that any two nodes belong to a same motion phase, and determine the relative relationships between the desired poses of the robot at the two nodes according to positions of the two nodes in the motion phase.

### Claim 16 (depends on 14)

The electronic device of claim 14, the cost function model comprises following to-be-optimized terms:
at least one of a difference between a to-be-optimized pose at each sampling point and the desired pose at the at least one node, and a difference between a to-be-optimized pose at the at least one node and the desired pose at the at least one node; and
at least one of a to-be-optimized control parameter at each sampling point, and a difference between the to-be-optimized control parameter at each sampling point and a to-be-optimized control parameter at a previous sampling point.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein the cost function model further comprises a following to-be-optimized term:
a difference between a rate of change of the to-be-optimized pose at each sampling point and a rate of change of the to-be-optimized pose at a previous sampling point.

### Claim 18 (depends on 11)

An electronic device, comprising a memory and a processor, wherein
the memory is configured to store computer instructions runnable on the processor; and
the processor is configured to implement, when executing the computer instructions, acts according to claim 11.

### Claim 19 (depends on 12)

An electronic device, comprising a memory and a processor, wherein
the memory is configured to store computer instructions executable on the processor; and
the processor is configured to implement, when executing the computer instructions, acts according to claim 12.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium having stored thereon a computer program, the program, when executed by a robot, causing the robot to implement acts according to claim 1.
