# US 2023/0409035 A1 · Method for building controller for robot, method, device for controlling motion of robot, and robot

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

- Number: US 2023/0409035 A1
- Document ID: US20230409035A1
- Status: Published application
- Kind: A1
- Application number: 18/456,267
- Filed: 2023-08-25
- Published: 2023-12-21
- Earliest claimed: 2022-03-01
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Shuai WANG; Jingfan ZHANG
- Web page: https://patentgrep.com/patent/US20230409035A1

## CPC

- G05D 1/0221: {involving a learning process}
- B62D 57/028: having wheels and mechanical legs (B62D57/024 takes precedence; ground-engaging vehicle fittings for supporting, lifting or manoeuvring the vehicle, wholly or in part B60S9/00)
- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G05D 1/0214: {in accordance with safety or protection criteria, e.g. avoiding hazardous areas (monitoring the location of vehicles within a certain area, e.g. forbidden or allowed areas, in traffic control systems for road vehicles G08G1/13)}
- G05D 1/0891: {specially adapted for land vehicles}
- G05D 1/2235: {involving the operator tracking the vehicle by direct line of sight}
- G05D 1/495: to ensure stability
- G05D 2101/15: using machine learning, e.g. neural networks
- G05D 2109/13: {with only one or two wheels, e.g. motor bikes or inverted pendulums}
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- 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

A method for configuring a controller for a wheel-legged robot includes: controlling motion of the robot, and obtaining motion state data and control data of the robot during a motion process, where diversity measures of the motion state data and the control data are higher than a predetermined threshold; calculating a linear equilibrium parameter matrix by using a data iteration method according to the motion state data and the control data; and configuring a controller corresponding to dynamic characteristics of the robot based on the linear equilibrium parameter matrix.

## Claims

### Claim 1

A method for configuring a controller for a wheel-legged robot, executed by a processor, comprising:
controlling motion of the robot, and obtaining motion state data and control data of the robot during a motion process, wherein diversity measures of the motion state data and the control data are higher than a predetermined threshold;
calculating a linear equilibrium parameter matrix by using a value iteration manner according to the motion state data and the control data; and
configuring a controller corresponding to dynamic characteristics of the robot based on the linear equilibrium parameter matrix.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the controlling motion of the robot comprises:
adaptively determining control information for controlling rotation of a driving wheel based on historical motion information of the robot;
determining first control information for controlling multiple joints of the robot based on the control information for controlling the rotation of the driving wheel, the first control information causing the robot to maintain equilibrium;
determining second control information for controlling the multiple joints based on a target trajectory of the robot, the second control information causing the robot to move along the target trajectory;
determining control torques of the multiple joints in one or more wheel legs of the robot based on a motion constraint condition of the robot, the first control information, and the second control information; and
driving the multiple joints based on the control torques, so as to control the motion of the robot.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the robot is driven by one or more driving wheels in one or more wheel legs of the robot to move;
the controlling motion of the robot and obtaining the motion state data and the control data during the motion process comprises at least one of:
controlling a drive motor to output a first torque, so that the robot loses equilibrium due to low velocity motion;
controlling the drive motor to output a second torque, so that the robot loses equilibrium due to high velocity motion;
controlling the drive motor to output a third torque, so that the robot maintains the equilibrium state for a period of time; and
controlling the drive motor to output a fourth torque, so that the robot maintains an equilibrium-like state for a period of time during the motion process.

### Claim 4 (depends on 3)

The method according to claim 3, wherein
a center of mass of a base portion of the robot is first raised and then lowered in response to that the drive motor is controlled to output the first torque, and a front end of the base portion is in contact with a ground when the robot loses the equilibrium;
the center of mass of the base portion of the robot is first raised and then lowered in response to that the drive motor is controlled to output the second torque, and a rear end of the base portion is in contact with the ground when the robot loses the equilibrium;
the center of mass of the base portion of the robot remains unchanged in height in response to that the drive motor is controlled to output the third torque and the robot maintains the equilibrium state; and
the base portion of the robot shakes back and forth in response to that the drive motor is controlled to output the fourth torque and the robot maintains the equilibrium-like state.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the controller corresponding to dynamic characteristics of the robot is a linear controller; and
for a moment during the motion process, a control torque provided by the linear controller is negatively correlated to a product of a linear equilibrium parameter matrix and the motion state data of the robot.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the controlling motion of the robot and obtaining the motion state data and the control data of the robot during the motion process comprises:
controlling motion of the robot by using a remote controller, and obtaining the motion state data and the control data during the motion process.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the controlling motion of the robot using a remote controller, and obtaining the motion state data and the control data during the motion process comprises:
determining the control data of the remote controller based on instructions input by the remote controller; and
controlling motion of the robot according to the control data of the remote controller; and
obtaining the motion state data of the robot during the motion process.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the motion state data and the control data correspond to a plurality of time intervals, and calculating a linear equilibrium parameter matrix by using a value iteration manner comprises:
determining an iteration target item, and respectively performing operation on the motion state data and the control data according to a time interval, to establish an iteration relationship function; and
preforming value iteration on the iteration target item according to the iteration relationship function to obtain the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the preforming value iteration on the iteration target item according to the iteration relationship function to obtain the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot comprises:
stopping value iteration when the iteration target item converges in a value iteration process; and
rebuilding the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot according to the converged iteration target item.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the obtaining the motion state data of the robot during the motion process comprises:
collecting the motion state data during the motion process by using at least one motion data collector or at least one motion data collection thread; and
removing repeated motion state data based on collection times of the motion state data.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the obtaining the motion state data of the robot during the motion process comprises:
obtaining the motion state data of a tilt angle of a base portion of the robot in a predetermined range during the motion process of the robot.

### Claim 12

A robot, comprising:
a data collection device configured to: obtain motion state data of the robot;
a data processing device configured to:
obtain control data corresponding to the motion state data; and
calculate a linear equilibrium parameter matrix by using a value iteration manner based on the motion state data and the control data, wherein diversity measures of the motion state data and the control data are higher than a predetermined threshold; and
configure a controller corresponding to dynamic characteristics of the robot based on the linear equilibrium parameter matrix.

### Claim 13 (depends on 12)

The robot according to claim 12, wherein the robot further comprises: one or more wheel legs, and at least one drive motor arranged on the robot; and
the at least one drive motor is configured to drive a driving wheel in one of the one or more wheel legs based on the controller, so as to drive the robot to move.

### Claim 14

A non-transitory computer readable storage medium, storing computer readable instructions, the computer readable instructions when executed by one or more processors, causing the one or more processors to perform:
controlling motion of the robot, and obtaining motion state data and control data of the robot during a motion process, wherein diversity measures of the motion state data and the control data are higher than a predetermined threshold;
calculating a linear equilibrium parameter matrix by using a value iteration manner according to the motion state data and the control data; and
configuring a controller corresponding to dynamic characteristics of the robot based on the linear equilibrium parameter matrix.

### Claim 15 (depends on 14)

The storage medium according to claim 14, wherein the controlling motion of the robot comprises:
adaptively determining control information for controlling rotation of a driving wheel based on historical motion information of the robot;
determining first control information for controlling multiple joints of the robot based on the control information for controlling the rotation of the driving wheel, the first control information causing the robot to maintain equilibrium;
determining second control information for controlling the multiple joints based on a target trajectory of the robot, the second control information causing the robot to move along the target trajectory;
determining control torques of the multiple joints in one or more wheel legs of the robot based on a motion constraint condition of the robot, the first control information, and the second control information; and
driving the multiple joints based on the control torques, so as to control the motion of the robot.

### Claim 16 (depends on 14)

The storage medium according to claim 14, wherein the robot is driven by one or more driving wheels in one or more wheel legs of the robot to move;
the controlling motion of the robot and obtaining the motion state data and the control data during the motion process comprises at least one of:
controlling a drive motor to output a first torque, so that the robot loses equilibrium due to low velocity motion;
controlling the drive motor to output a second torque, so that the robot loses equilibrium due to high velocity motion;
controlling the drive motor to output a third torque, so that the robot maintains the equilibrium state for a period of time; and
controlling the drive motor to output a fourth torque, so that the robot maintains an equilibrium-like state for a period of time during the motion process.

### Claim 17 (depends on 16)

The storage medium according to claim 16, wherein
a center of mass of a base portion of the robot is first raised and then lowered in response to that the drive motor is controlled to output the first torque, and a front end of the base portion is in contact with a ground when the robot loses the equilibrium;
the center of mass of the base portion of the robot is first raised and then lowered in response to that the drive motor is controlled to output the second torque, and a rear end of the base portion is in contact with the ground when the robot loses the equilibrium;
the center of mass of the base portion of the robot remains unchanged in height in response to that the drive motor is controlled to output the third torque and the robot maintains the equilibrium state; and
the base portion of the robot shakes back and forth in response to that the drive motor is controlled to output the fourth torque and the robot maintains the equilibrium-like state.

### Claim 18 (depends on 14)

The storage medium according to claim 14, wherein the controller corresponding to dynamic characteristics of the robot is a linear controller; and
for a moment during the motion process, a control torque provided by the linear controller is negatively correlated to a product of a linear equilibrium parameter matrix and the motion state data of the robot.

### Claim 19 (depends on 14)

The storage medium according to claim 14, wherein the motion state data and the control data correspond to a plurality of time intervals, and calculating a linear equilibrium parameter matrix by using a value iteration manner comprises:
determining an iteration target item, and respectively performing operation on the motion state data and the control data according to a time interval, to establish an iteration relationship function; and
performing value iteration on the iteration target item according to the iteration relationship function to obtain the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot.

### Claim 20 (depends on 19)

The storage medium according to claim 19, wherein the preforming value iteration on the iteration target item according to the iteration relationship function to obtain the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot comprises:
stopping value iteration when the iteration target item converges in a value iteration process; and
rebuilding the linear equilibrium parameter matrix corresponding to the dynamic characteristics of the robot according to the converged iteration target item.
