Robot control method, robot and storage medium

By identifying and filtering the action data of the action source, an action trajectory suitable for the robot structure is generated, which solves the problem of high cost of motion capture equipment and robot safety, and achieves safer and more accurate action execution.

CN118544341APending Publication Date: 2024-08-27GUANGZHOU PENGXING INTELLIGENT TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410561571.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the existing technology, the motion trajectory recording of humanoid bionic robots usually relies on motion capture equipment, which results in high cost, complex deployment and cumbersome use. In addition, the mechanical transmission structure of the robot is greatly different from the human body structure, which may cause balance and safety problems for the robot.

Method used

By tracking and identifying the actions of the action source, filtering is performed to remove noise and data discontinuity problems, and the action data is limited according to the robot's own structure to reduce the probability of accidents caused by dangerous actions. A visual camera is used to identify the actions of the action source and generate a reference trajectory to Control robot movement.

Benefits of technology

It reduces the cost and complexity of obtaining robot action trajectories, improves the safety and accuracy of action execution, and reduces accidents caused by dangerous actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118544341A
    Figure CN118544341A
Patent Text Reader

Abstract

The invention discloses a robot control method, a robot and a storage medium, and the method comprises the following steps: tracking and recognizing an action made by an action source, and determining an action recognition result; performing filtering processing on the action recognition result, and determining a filtering recognition result; and storing the filtering identification result as an action track queue so as to control the robot to execute actions according to the action track queue. According to the embodiment of the invention, a group of original action posture recognition results can be obtained through action recognition, tracking and recognition of actions made by the action source, the original action posture recognition results are further filtered, noise in the original data is filtered out, the problem that the action data in the original data are discontinuous or stuck is solved, and the accuracy of action posture recognition is improved. And action data which do not conform to the structure and the working range of the robot are limited, so that the probability of unforeseen circumstances caused by dangerous actions of the robot is reduced on the basis that the robot can correctly execute actions corresponding to actions performed by the action source.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robot control technology, and in particular to a robot control method, a robot and a computer-readable storage medium. Background Art

[0002] In the current related technologies, the motion trajectory of humanoid bionic robots is generally obtained by using motion capture equipment to record the motion of the motion capture personnel and further converting it. However, motion capture equipment is not convenient in terms of large-scale deployment and cost, and it needs to be calibrated before each use of the motion capture equipment. The use steps are cumbersome and time-consuming, and it is difficult to expand and replicate. In addition, there are large differences between the mechanical transmission structure of the robot and the structure of the human body. Some movements obtained by the motion capture device may endanger the balance or safety of the robot when put on the robot. Summary of the invention

[0003] The present application provides a robot control method, a robot, and a computer-readable storage medium.

[0004] The robot control method involved in the embodiment of the present application comprises the following steps:

[0005] Track and identify the actions made by the action source and determine the action recognition result;

[0006] Performing filtering processing on the action recognition result to determine a filtering recognition result;

[0007] The filtering and recognition results are stored as an action trajectory queue to control the robot to perform actions according to the action trajectory queue.

[0008] In this way, the implementation mode of the present application can track and identify the actions made by the action source through motion recognition, obtain a set of original motion posture recognition results, and further filter the original motion posture recognition results to filter out noise in the original data, solve the problem of discontinuity or jamming of motion data in the original data, and limit the motion data that does not conform to the robot's own structure and working range. On the basis of enabling the robot to correctly execute the actions corresponding to the actions made by the action source, the probability of the robot encountering unexpected situations due to dangerous actions is reduced.

[0009] In some embodiments, the tracking and identifying the action performed by the action source and determining the action recognition result includes:

[0010] Taking the basic marking points on the action source as a reference, the spatial coordinate recognition results of multiple marking points on the action source are determined to determine the action recognition result.

[0011] In this way, the implementation mode of the present application can obtain motion recognition data based on the motion of multiple predetermined landmark points on the motion source, so as to control the robot to track the motion source and perform the motion.

[0012] In some embodiments, performing filtering on the action recognition result to determine the filtered recognition result includes:

[0013] According to the action recognition result, low-pass filtering is performed to determine an initial filtering recognition result;

[0014] According to the initial filtering and identification result, a saturation filtering process is performed to determine the filtering and identification result.

[0015] In this way, the present application can reduce the total amount of noise data in the original motion recognition data through low-pass filtering, and on the basis of removing the noise data, further limit the motion recognition data based on the robot's own situation through saturation filtering, thereby reducing the probability of unexpected situations caused by dangerous actions of the robot.

[0016] In some embodiments, performing low-pass filtering according to the action recognition result to determine the initial filtering recognition result includes:

[0017] The action recognition result is subjected to low-pass filtering according to a second-order Butterworth filter to determine the initial filtering recognition result.

[0018] Thus, the present application provides a specific method for implementing the above-mentioned low-pass filtering to filter out noise data.

[0019] In some embodiments, performing saturation filtering according to the initial filtering recognition result to determine the filtering recognition result includes:

[0020] Performing a first saturation filtering process on the speed parameter of the initial filtering recognition result to determine a speed filtering result;

[0021] Performing a second saturation filtering process on the position parameters of the initial filtering recognition result to determine a position filtering result;

[0022] The filtering identification result is determined according to the speed filtering result and the position filtering result.

[0023] In this way, the present application can perform saturation filtering on the low-pass filtered motion recognition data based on the two dimensions of speed and position to limit the motion recognition data and reduce the probability of unexpected situations occurring due to dangerous actions of the robot.

[0024] In some embodiments, storing the filtering and recognition results as an action trajectory queue to control the robot to perform actions according to the action trajectory queue includes:

[0025] When the next action position exceeds the preset range of the current action position, the next action position is stored at the end of the pending action trajectory queue to determine the action trajectory queue, wherein the next action position and the current action position are included in the filtering recognition result.

[0026] In this way, when forming an action trajectory queue, the embodiment of the present application can form an action queue in the form of inserting action data at the end of the queue, so that the robot can read the queue in sequence to correctly execute the action.

[0027] In certain embodiments, the method further comprises:

[0028] According to the motion trajectory queue and the pre-stored historical motion trajectory queue, a motion trajectory prediction result is determined to improve the accuracy of the motion trajectory queue.

[0029] In this way, the implementation method of the present application can predict the trajectory of some actions based on the action recognition data obtained previously, so as to correct the accuracy of the generated action trajectory queue.

[0030] In some implementations, determining the motion trajectory prediction result according to the motion trajectory queue and the pre-stored historical motion trajectory queue includes:

[0031] According to the position information in the motion trajectory queue, a third-order polynomial fitting process is performed to determine the predicted position information;

[0032] The motion trajectory queue is corrected and determined according to the predicted position information to improve the accuracy of the motion trajectory queue.

[0033] In this way, the implementation method of the present application can realize the prediction of the action position based on third-order polynomial fitting, thereby achieving the purpose of improving the action trajectory queue.

[0034] The robot in the implementation mode of the present application includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the above method is implemented.

[0035] The computer-readable storage medium in the embodiments of the present application stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.

[0036] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0038] Figure 1 This is a flow chart of the robot control method in the implementation manner of the present application;

[0039] Figure 2 A schematic diagram of the marking points on the action source in the implementation manner of the present application;

[0040] Figure 3 This is a flow chart of the robot control method in the implementation manner of the present application;

[0041] Figure 4 This is a flow chart of the robot control method in the implementation manner of the present application;

[0042] Figure 5 This is a schematic diagram of an application scenario of the robot control method in the implementation manner of this application;

[0043] Figure 6 This is a flow chart of the robot control method in the implementation manner of the present application;

[0044] Figure 7 This is a flow chart of the robot control method in the implementation manner of the present application;

[0045] Figure 8 This is a flow chart of the robot control method in the implementation manner of the present application;

[0046] Fig. 9 This is a flow chart of the robot control method in the implementation manner of the present application;

[0047] Fig.10 This is a flow chart of the robot control method in the implementation manner of the present application;

[0048] Fig.11 This is a flow chart of the robot control method in the implementation manner of the present application;

[0049] Fig.12 This is a flow chart of the robot control method in the implementation manner of the present application;

[0050] Fig.13 Schematic diagram of the flow of the robot control method in the implementation manner of the present application. DETAILED DESCRIPTION

[0051] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0052] See also Figure 1 The robot control method in the embodiment of the present application specifically comprises the following steps:

[0053] 01: Track and identify the actions made by the action source and determine the action recognition results;

[0054] 02: Perform filtering processing on the action recognition result to determine the filtering recognition result;

[0055] 03: Store the filtering and recognition results as an action trajectory queue to control the robot to perform actions according to the action trajectory queue.

[0056] The robot control device in the embodiment of the present application can implement the above-mentioned robot control method. Specifically, the robot control device includes an action recognition module, a filtering processing module and an action storage module. The action recognition module is used to track and recognize the action made by the action source, determine the action recognition result, and perform filtering processing on the action recognition result to determine the filtering recognition result, and store the filtering recognition result as an action trajectory queue to control the robot to perform the action according to the action trajectory queue.

[0057] The robot in the embodiment of the present application can implement the above-mentioned robot control method. Specifically, the robot includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to track and identify the action made by the action source, determine the action recognition result, and perform filtering processing on the action recognition result, determine the filtered recognition result, and store the filtered recognition result as an action trajectory queue to control the robot to perform the action according to the action trajectory queue.

[0058] Specifically, in the current related technologies, the motion trajectory of humanoid bionic robots is generally obtained by using motion capture equipment to record the motion of the motion capture personnel and further converting it. However, motion capture equipment is not convenient in terms of large-scale deployment and cost, and it needs to be calibrated before each use of the motion capture equipment. The use steps are cumbersome and time-consuming, and it is difficult to expand and replicate. In addition, there are large differences between the mechanical transmission structure of the robot and the structure of the human body. Some movements obtained by the motion capture device may endanger the balance or safety of the robot when put on the robot.

[0059] In order to reduce the cost and application difficulty of obtaining robot motion trajectories, it is generally possible to use visual cameras to identify the movements made by people or other motion sources. After identifying the movements made by the motion source, the above movements are converted into reference trajectories and input into the robot control system. The robot can imitate the movements of the human body and move. However, since the motion sources such as the human body and the robot are different in size and movement ability, not all the movements of the motion source can be mapped one-to-one with the movements performed by the robot. Some movements captured from the motion source cannot be performed by the robot. If the robot is forced to perform, it may even cause the robot to fall and be damaged.

[0060] Therefore, in order to reduce the probability of the above situation, the embodiment of the present application proposes a robot control method. First, the camera and other image acquisition devices on the robot body are controlled to acquire a series of action images made by the action source, and the acquired action images are identified and coordinate-processed to form original action recognition data (corresponding to the action recognition result). Then, the original action recognition data is filtered to remove the noise data, and the action data that does not conform to the robot's own structure and working range is corrected, so that the probability of the robot losing its center of gravity, falling or exceeding the working range of the parts when performing the action is greatly reduced.

[0061] In order to enable the robot to perform the tracked actions in the correct order, the present application will also filter the original action recognition data, and store the processed action data in the form of an ordered queue according to the action sequence made by the action source. When the robot executes according to the action data, it can execute from one end of the queue to the other end in sequence, and restore the action execution according to the action sequence made by the action source to ensure the accuracy of the action execution.

[0062] In this way, the implementation mode of the present application can track and identify the actions made by the action source through motion recognition, obtain a set of original motion posture recognition results, and further filter the original motion posture recognition results to filter out noise in the original data, solve the problem of discontinuity or jamming of motion data in the original data, and limit the motion data that does not conform to the robot's own structure and working range. On the basis of enabling the robot to correctly execute the actions corresponding to the actions made by the action source, the probability of the robot encountering unexpected situations due to dangerous actions is reduced.

[0063] In some embodiments, step 01 includes:

[0064] Taking the basic landmark points on the action source as a reference, the spatial coordinate recognition results of multiple landmark points on the action source are determined to determine the action recognition result.

[0065] In some embodiments, the motion recognition module is further used to determine the spatial coordinate recognition results of multiple marker points on the motion source based on the basic marker points on the motion source to determine the motion recognition result.

[0066] In some embodiments, the processor is further used to determine the spatial coordinate recognition results of multiple marker points on the action source based on the basic marker points on the action source to determine the action recognition result.

[0067] Specifically, in some examples, in order to digitize the actions performed by the action source and reduce the amount of action data while ensuring relative accuracy, the robot generally acquires the actions performed by the action source by collecting the coordinate changes of multiple markers on the action source in space. Figure 2 In the example with the human body as the motion source, a total of 11 landmarks, 0 to 11, are set for each motion source. Among them, landmark 0 is the basic landmark, which corresponds to the center of the waist of the human body, which can generally be the navel. It should be noted that the basic landmark and the motion source have a unique correspondence. Landmarks 1 and 4 correspond to shoulders, landmarks 2 and 5 correspond to elbows, landmarks 3 and 6 correspond to hands, landmarks 7 and 9 correspond to knees, and landmarks 8 and 10 correspond to feet. When actually identifying motion data, landmark 0, that is, the basic landmark, can be used as the coordinate origin to identify the spatial coordinate changes of landmark 0, and further obtain the spatial coordinate change data of landmarks 1 to 10 relative to landmark 0.

[0068] In addition, if there are multiple people who can be identified as action sources in the field of view when the robot is identifying and acquiring the action made by the action source, each action source can be distinguished by taking the navel position of each action source as the basic landmark. Finally, the spatial coordinate change data of the relevant landmark points can be obtained independently for each action source in the above manner.

[0069] Finally, data transformation is performed according to the above-mentioned spatial coordinate change data, and the coordinate change is converted into an action trajectory, so that the original action recognition data can be obtained.

[0070] In this way, the implementation mode of the present application can obtain motion recognition data based on the motion of multiple predetermined landmark points on the motion source, so as to control the robot to track the motion source and perform the motion.

[0071] See also Figure 3 In some embodiments, step 02 includes:

[0072] 021: Perform low-pass filtering according to the action recognition result to determine the initial filtering recognition result;

[0073] 022: Perform saturation filtering processing according to the initial filtering recognition result to determine the filtering recognition result.

[0074] In some embodiments, the filtering processing module is also used to perform low-pass filtering processing based on the action recognition result to determine the initial filtering recognition result, and to perform saturation filtering processing based on the initial filtering recognition result to determine the filtering recognition result.

[0075] In some embodiments, the processor is further used to perform low-pass filtering processing based on the action recognition result to determine the initial filtering recognition result, and to perform saturation filtering processing based on the initial filtering recognition result to determine the filtering recognition result.

[0076] Specifically, after the robot obtains the original motion recognition data, due to the performance of the image acquisition device and the interference of the environment, there will almost be some noise data in the above motion recognition data. The presence of noise data will cause inaccuracies or errors in the subsequent execution of the robot. Therefore, in some examples, when the robot obtains the above motion recognition data, it is preferred to perform low-pass filtering on the above motion recognition data to suppress the high-frequency noise in the motion recognition data. At the same time, low-pass filtering can also optimize the problems of low data update frequency and jamming between data in the original motion recognition data.

[0077] In addition to the above situation, due to the differences in arm length, proportions of body parts and other dimensional data of different people, when the action source makes an action such as leaning forward to touch an object with both hands, the position of the hand and the center of mass of the body may have left the range that the robot can safely perform. If the robot forcibly tracks the above action made by the action source, the robot is at risk of overturning or falling, that is, such action is unreasonable, and the robot should not perform the above action under normal operation. In order to avoid the above situation on the basis that the robot can track the action of the action source, in some examples, the initial filtering recognition result after low-pass filtering is also required to be saturated filtered, the purpose of which is to limit the recognized action data according to the characteristics of the robot itself, so that the speed and amplitude of the action data can meet the robot's own conditions without changing the action trend.

[0078] After the above two-stage filtering process of low-pass filtering and saturation filtering, the obtained data can be used to generate and store action queues for the robot to perform actions.

[0079] In this way, the present application can reduce the total amount of noise data in the original motion recognition data through low-pass filtering, and on the basis of removing the noise data, further limit the motion recognition data based on the robot's own situation through saturation filtering, thereby reducing the probability of unexpected situations caused by dangerous actions of the robot.

[0080] In some embodiments, step 021 includes:

[0081] The action recognition result is subjected to low-pass filtering according to a second-order Butterworth filter to determine an initial filtering recognition result.

[0082] In some embodiments, the filtering processing module is further used to perform low-pass filtering on the action recognition result according to a second-order Butterworth filter to determine an initial filtering recognition result.

[0083] In some implementations, the processor is further configured to perform low-pass filtering on the action recognition result according to a second-order Butterworth filter to determine an initial filtered recognition result.

[0084] Specifically, for the low-pass filtering in the above implementation, in some examples, a second-order Butterworth filter may be used, and the transfer function is as follows:

[0085]

[0086] Where s is the Laplace variable, ω c is the cut-off frequency, ω is exemplarily c Take 50Hz, n is the order of the filter, and the value of n in the second-order Butterworth filter is 2.

[0087] Thus, the present application provides a specific method for implementing the above-mentioned low-pass filtering to filter out noise data.

[0088] See also Figure 4 In some embodiments, step 022 includes:

[0089] 0221: Performing a first saturation filtering process on the speed parameter of the initial filtering recognition result to determine the speed filtering result;

[0090] 0222: performing a second saturation filtering process on the position parameters of the initial filtering recognition result to determine the position filtering result;

[0091] 0223: Determine the filtering recognition result according to the speed filtering result and the position filtering result.

[0092] In some embodiments, the filtering processing module is also used to perform a first saturation filtering process on the speed parameters of the initial filtering identification result to determine the speed filtering result, and to perform a second saturation filtering process on the position parameters of the initial filtering identification result to determine the position filtering result, and to determine the filtering identification result based on the speed filtering result and the position filtering result.

[0093] In some embodiments, the processor is also used to perform a first saturation filtering process on the speed parameters of the initial filtering identification result to determine the speed filtering result, and to perform a second saturation filtering process on the position parameters of the initial filtering identification result to determine the position filtering result, and to determine the filtering identification result based on the speed filtering result and the position filtering result.

[0094] Specifically, on the basis of the above implementation, after the low-pass filtering is completed, it is necessary to perform saturation filtering on the processed data. Generally, saturation filtering includes filtering processing on both speed and position, so as to limit the speed and position of the action made by the action source to the range that the robot can bear. Saturation filtering is generally implemented by the following continuous saturation function:

[0095] First, based on the range of movement speed or position that the robot can withstand, set the maximum and minimum values ​​of speed or position (corresponding to speed parameters or position parameters), respectively using x max and x min Represented by, where x represents speed or position. Then, saturation filtering can be performed according to the following continuous saturation function:

[0096]

[0097] Where x represents speed or position, q is a parameter in the continuous saturation function sat(x), the smaller the value of q, the smoother the inflection point in the graph of the continuous saturation function sat(x), a and b are parameters related to the maximum and minimum values ​​of the above speed or position, specifically:

[0098]

[0099]

[0100] It is worth further explaining that when a 3D point is moving at a speed exceeding the target maximum speed, its linear velocity value will be limited to the maximum speed v through the above saturation filtering process. max (That is, corresponding to the above x max ). In this case, the actual position p of the 3D point is not equal to the current position p of the point. new The current position p of the point satisfies the following relationship:

[0101]

[0102] where p last is the position of the point at the previous moment, t represents the time, is a unit vector representing the direction from p last To the direction of p, where:

[0103]

[0104] Finally, the filtering results obtained after filtering both the speed and position in the above manner are summarized, that is, the filtering recognition results that have been completely filtered and can be applied to the robot can be obtained.

[0105] In this way, the present application can perform saturation filtering on the low-pass filtered motion recognition data based on the two dimensions of speed and position to limit the motion recognition data and reduce the probability of unexpected situations occurring due to dangerous actions of the robot.

[0106] In some embodiments, step 03 includes:

[0107] When the next action position exceeds the preset range of the current action position, the next action position is stored at the end of the pending action trajectory queue to determine the action trajectory queue.

[0108] The next action position and the current action position are included in the filtering recognition result.

[0109] In some embodiments, the action storage module is further configured to store the next action position at the end of the pending action trajectory queue when the next action position exceeds a preset range of the current action position, so as to determine the action trajectory queue.

[0110] In some embodiments, the processor is further configured to store the next action position at the end of the pending action trajectory queue when the next action position exceeds a preset range of the current action position, so as to determine the action trajectory queue.

[0111] Specifically, after the filtering process is completed, the time intervals between data points in the obtained filtered recognition results are relatively uniform compared to the original action recognition data, and the data is relatively smooth, the frequency of abnormal values ​​is low, and the probability of discontinuity between data is also low.

[0112] In order to correctly record the filter recognition results so that the robot can accurately track and restore a series of actions performed by the action source in the correct order, in some examples, the robot will arrange the action position data in the filter recognition results based on timestamps, and insert the data from the end of the queue in the form of a queue, ultimately forming a motion trajectory queue with correct time sequence.

[0113] In order to determine when new action position data should be inserted into the above-mentioned action trajectory queue, in some examples, the position data at the end of the current action trajectory queue (corresponding to the current action position) and the action position data to be inserted (corresponding to the next action position) are generally used together for judgment. When the action position to be inserted is outside the preset range of the position at the end of the current action trajectory queue, it means that the action position data to be inserted should be inserted at the end of the queue to ensure the continuity of the action.

[0114] For example, when the next action position exceeds the inner diameter of a certain ellipsoid centered at the current action position, the next action position is inserted into the end of the action trajectory queue. The above ellipsoid is defined as follows:

[0115] See also Figure 5 , with the current action position as the center, the inner diameter a of the ellipsoid is defined along the x-axis in the spatial rectangular coordinate system, b is defined along the y-axis in the spatial coordinate system, and c is defined along the z-axis in the spatial coordinate system, where the y-axis is the linear velocity direction of the current action position, and the inner diameters a, b, and c are all functions of the linear velocity of the current action position. The larger the linear velocity, the larger the corresponding inner diameter, and illustratively, b≥a, b≥c. If b=h(v), v is the linear velocity of the current action position, then b can be solved according to the following equation:

[0116]

[0117] Among them, k 1 =3.5, k 2 =0.05,k 3 =13, e is a natural constant, and a=c=0.8b.

[0118] In addition, in some other examples, the ellipsoid may be set as a sphere, and a = b = c. Alternatively, in some other examples, if the running speed has little effect on the execution of the action sequence, the value of b may be a preset fixed value.

[0119] In this way, when forming an action trajectory queue, the embodiment of the present application can form an action queue in the form of inserting action data at the end of the queue, so that the robot can read the queue in sequence to correctly execute the action.

[0120] See also Figure 6In some embodiments, the robot control method further comprises:

[0121] 04: Determine the motion trajectory prediction result based on the motion recognition result and the pre-stored historical motion recognition results to improve the accuracy of the motion trajectory queue.

[0122] On this basis, step 04 includes:

[0123] 041: Perform third-order polynomial fitting processing according to the position information in the motion trajectory queue to determine the predicted position information;

[0124] 042: According to the predicted position information, the motion trajectory queue is corrected to improve the accuracy of the motion trajectory queue.

[0125] In some embodiments, the robot control device also includes a motion prediction module, which is used to determine the motion trajectory prediction result based on the motion recognition result and the pre-stored historical motion recognition result to improve the accuracy of the motion trajectory queue, and is used to perform third-order polynomial fitting processing based on the position information in the motion trajectory queue to determine the predicted position information, and is used to correct and determine the motion trajectory queue based on the predicted position information to improve the accuracy of the motion trajectory queue.

[0126] In some embodiments, the processor is also used to determine the motion trajectory prediction result based on the motion recognition result and the pre-stored historical motion recognition result to improve the accuracy of the motion trajectory queue, and to perform third-order polynomial fitting processing based on the position information in the motion trajectory queue to determine the predicted position information, and to correct and determine the motion trajectory queue based on the predicted position information to improve the accuracy of the motion trajectory queue.

[0127] Specifically, based on the above implementation, after each record of identifying the action source, filtering and generating the action queue, an action trajectory queue will be formed, and the formed action trajectory queue will be stored in the robot or the computer used in conjunction with the robot. In order to maintain a certain degree of accuracy when the robot is subsequently controlled to perform actions according to the action trajectory queue, illustratively, the robot will also perform action trajectory prediction within a certain time range based on the stored historical action trajectory queues and the currently newly generated action trajectory queue. When the robot performs an action according to the action trajectory queue, in addition to executing based on the action data in the action trajectory queue, it is also necessary to perform action position evaluation based on the result of the action trajectory prediction, so as to ensure the accuracy of the action performed by the robot as much as possible, and also to provide a bottom line guarantee to ensure that the action performed by the robot meets the characteristics of the robot itself.

[0128] For example, the above motion trajectory prediction can be implemented in the following manner:

[0129] Assume that the coordinates of the predicted action position are (x, y, z), where x, y, z are all functions of time t, then the above functional relationship can be expressed by the following relationship:

[0130] x(t)=a 0 +a 1 t+a 2 t 2 +a 3 t 3

[0131] y(t)=b 0 +b 1 t+b 2 t 2 +b 3 t 3

[0132] z(t)=c 0 +c 1 t+c 2 t 2 +c 3 t 3

[0133] Among them, a 0 ~a 3 , b 0 ~b 3 、c 0 ~c 3 All of them are undetermined coefficients, which can be obtained by substituting the three-dimensional coordinates corresponding to multiple action positions with timestamps within the current action trajectory queue and each historical action trajectory queue into the above formula. The method of obtaining the predicted position in the above manner can ensure that the variable acceleration on the predicted action trajectory formed according to the predicted position is continuous.

[0134] In this way, the implementation method of the present application can predict the trajectory of some actions based on the action recognition data obtained in the past to correct the accuracy of the generated action trajectory queue. At the same time, the present application can also predict the action position based on third-order polynomial fitting, thereby achieving the purpose of improving the action trajectory queue.

[0135] See also Figure 7 , the robot control method in the embodiment of the present application further includes:

[0136] 001: Get the signal characteristic parameters of the action recognition result.

[0137] The action recognition result is obtained based on the robot identifying the action source;

[0138] 002: Get the robot's status parameters;

[0139] 003: According to the signal characteristic parameters and state parameters, the robot is controlled to track the action source and perform the corresponding action.

[0140] The robot control device in the implementation mode of the present application also includes a state monitoring module and a state control module. The state monitoring module is used to obtain signal characteristic parameters of the action recognition results and to obtain state parameters of the robot. The state control module is used to control the robot to track the action source and perform corresponding actions according to the signal characteristic parameters and the state parameters.

[0141] In the robot in the implementation mode of the present application, the processor is also used to obtain signal characteristic parameters of the action recognition result, and to obtain the state parameters of the robot, and to control the robot to track the action source and perform corresponding actions based on the signal characteristic parameters and the state parameters.

[0142] Specifically, before controlling the robot to perform actions according to the action trajectory queue in the above embodiment, in order to ensure that the robot can perform actions safely and reliably, it is also necessary to control the execution state of the robot when performing the action. In order to achieve the above control, it is necessary to verify the signal receiving state of the robot when it identifies and obtains the action recognition result and when the robot obtains the filtering recognition result, and change the execution state of the robot according to the verification result, thereby achieving the above purpose.

[0143] Therefore, in order to achieve control over the robot state, the signal characteristics exhibited by the robot when receiving the original motion recognition data and the robot's own communication status should first be evaluated. Generally, signal characteristic parameters are used to represent the signal characteristics exhibited by the robot when receiving the original motion recognition data, and state parameters are used to represent the robot's own communication status. The above-mentioned signal characteristic parameters and state parameters can be set to be the same by way of example. When the execution state of the robot is subsequently adjusted according to the signal characteristic parameters and state parameters, the judgment criteria of the two parameters can be unified, simplifying the judgment conditions and judgment process, and improving the efficiency of adjusting the robot's state.

[0144] In this way, the present application can control the execution state of the robot itself when performing an action based on the signal characteristic parameters of the original action recognition data obtained by tracking the action source and the state parameters of the robot itself when receiving data, reduce the probability of state abnormalities caused by jamming or inappropriate posture when the robot performs an action, and improve the reliability and safety of the robot when performing an action.

[0145] In some embodiments, the signal characteristic parameter includes a first state, a second state and a third state, and the initial signal characteristic parameter is the first state. On this basis, step 001 includes:

[0146] When the time interval between two adjacent frames in the action recognition result is greater than the first preset time, the signal characteristic parameter is determined to be in the second state;

[0147] When the receiving frequency of the continuous multiple frames in the action recognition result is less than the first preset frequency, the signal characteristic parameter is determined to be in the third state;

[0148] When the duration of the third state is greater than the second preset time, the signal characteristic parameter is determined to be in the second state.

[0149] In certain embodiments, the state monitoring module is also used to determine the signal characteristic parameters as the second state when the time interval between two adjacent frames in the action recognition result is greater than a first preset time, and to determine the signal characteristic parameters as the third state when the receiving frequency of multiple consecutive frames in the action recognition result is less than the first preset frequency, and to determine the signal characteristic parameters as the second state when the duration of the third state is greater than the second preset time.

[0150] In certain embodiments, the processor is also used to determine the signal characteristic parameters as a second state when the time interval between two adjacent frames in the action recognition result is greater than a first preset time, and to determine the signal characteristic parameters as a third state when the receiving frequency of multiple consecutive frames in the action recognition result is less than a first preset frequency, and to determine the signal characteristic parameters as the second state when the duration of the third state is greater than a second preset time.

[0151] Specifically, for the signal characteristics exhibited by the robot when identifying and acquiring the original motion recognition data, the signal characteristic parameters include three states, namely, a good state, an unstable state, and a disconnected state. In practical applications, the good state can be set to 0, the unstable state can be set to 1, and the disconnected state can be set to 2. The signal characteristic parameters are represented by three values, namely, 0, 1, and 2. The corresponding relationship between the above states and parameter values ​​can be set according to actual conditions, which is only an exemplary description and not a limitation.

[0152] Based on the above example, the switching of signal characteristic parameters can be achieved in the following way:

[0153] First, in the default state, the signal characteristic parameter is 0, which is a good state. When the robot identifies the action source and obtains the original action recognition data, in order to ensure that the time interval between each action data identified remains stable, it is necessary to monitor in real time the time interval between any two adjacent frames in the acquired action recognition data and the receiving frequency of any continuous multiple frames of action recognition data.

[0154] Exemplarily, if it is detected that the time interval between any two adjacent frames in the above-mentioned action recognition data is greater than 1s, it is directly determined that the action recognition is disconnected, and the signal characteristic parameter is set to 2, that is, the disconnected state (corresponding to the second state). In addition, if it is detected that the receiving frequency of any continuous multi-frame data in the above-mentioned action recognition data is less than 5Hz, it can be considered that interference has occurred in the recognition process at this time, and a relatively obvious jam has occurred between the actions. At this time, the signal characteristic parameter is set to 1, that is, an unstable state (corresponding to the third state), wherein illustratively 3 consecutive frames can be taken for monitoring, and the number of frames monitored can also be adjusted according to actual conditions, and this application does not make specific restrictions. If the above situation does not occur, the signal characteristic parameter is kept at 0, that is, a good state.

[0155] In particular, when the signal characteristic parameter is 2, that is, in an unstable state, the robot will issue a warning or prompt message to remind the user that the data reception is unstable when the recognition action is currently being performed. If the unstable state continues for 10 seconds under the above real-time monitoring situation and is still not resolved, the signal characteristic parameter is set to 1, that is, the disconnected state, to prevent the signal instability from continuing to have a negative impact on the action recognition data obtained by the recognition.

[0156] In this way, the present application can determine the signal characteristic parameters based on the inter-frame interval duration in the original action recognition data or the reception frequency of multiple consecutive frames.

[0157] In some embodiments, the state parameters of the robot include a first state, a second state, and a third state, and the initial state parameter is the first state.

[0158] On this basis, step 002 includes:

[0159] When the time interval between two adjacent frames when the robot receives the action recognition result through communication is greater than a third preset time, determining the state parameter as the second state;

[0160] When the robot receives the action recognition result through communication, the receiving frequency of the continuous multiple frames is less than the second preset frequency, determining that the state parameter is determined to be the third state;

[0161] When the duration of the third state is greater than the fourth preset time, the state parameter is determined as the second state.

[0162] In certain embodiments, the state monitoring module is also used to determine the state parameter as the second state when the time interval between two adjacent frames when the robot itself receives the action recognition result through communication is greater than a third preset time, and is used to determine the state parameter as the third state when the reception frequency of multiple consecutive frames when the robot itself receives the action recognition result through communication is less than the second preset frequency, and is used to determine the state parameter as the second state when the duration of the third state is greater than a fourth preset time.

[0163] In certain embodiments, the processor is further used to determine the state parameter as the second state when the time interval between two adjacent frames when the robot itself receives the action recognition result through communication is greater than the third preset time, and to determine the state parameter as the third state when the reception frequency of multiple consecutive frames when the robot itself receives the action recognition result through communication is less than the second preset frequency, and to determine the state parameter as the second state when the duration of the third state is greater than a fourth preset time.

[0164] Specifically, similar to the above situation, for the communication state of the robot itself when the robot obtains the filtered identification result after filtering through communication, the robot's state parameters include three states, namely, a good state, an unstable state, and a disconnected state. In practical applications, the good state can be set to 0, the unstable state can be set to 1, and the disconnected state can be set to 2, and the state parameters can be represented by three values ​​of 0, 1, and 2. The corresponding relationship between the above specific states and parameter values ​​can be set according to actual conditions, which is only an exemplary description and not a limitation.

[0165] Based on the above example, the switching of state parameters can be achieved in the following ways:

[0166] First, in the default state, the state parameter is 0, which is a good state. When the robot obtains the filtering and recognition results, in order to ensure that the time interval between each acquired data remains stable, it is necessary to monitor in real time the time interval between any two adjacent frames in the acquired filtering and recognition data, as well as the receiving frequency of any continuous multiple frames of data in the filtering and recognition data.

[0167] Exemplarily, if it is detected that the time interval between any two adjacent frames in the above-mentioned filtering and identification data is greater than 0.1s, it is directly determined that the robot is currently disconnected from the communication, and the state parameter is set to 2, that is, the disconnected state (corresponding to the second state). In addition, if it is detected that the receiving frequency of any continuous multi-frame data in the above-mentioned filtering and identification data is less than 50Hz, it can be considered that the communication process is disturbed at this time. At this time, the state parameter is set to 1, that is, an unstable state (corresponding to the third state), wherein illustratively 3 consecutive frames can be taken for monitoring, and the number of frames to be monitored can also be adjusted according to actual conditions, and this application does not make specific restrictions. If the above situation does not occur, the state parameter is kept at 0, that is, a good state.

[0168] In particular, when the state parameter is 2, that is, in an unstable state, the robot will issue a warning or prompt information to remind the user that the current communication state of the robot is unstable. If the unstable state continues for 10 seconds under the above real-time monitoring, the state parameter will be set to 1, that is, the disconnected state, to prevent the signal instability from continuing to have a negative impact on the filter recognition data, thereby interfering with the control of the robot when performing actions.

[0169] In this way, the present application can determine the state parameters of the robot based on the interval length between frames when the robot receives motion recognition data or the reception frequency of multiple consecutive frames.

[0170] See also Figure 8 In some embodiments, step 003 includes:

[0171] 0031: when the running state of the robot tracking motion source is a normal state and the signal characteristic parameter or the state parameter is a second state, determining that the running state of the robot tracking motion source is a waiting state;

[0172] 0032: When the running state of the robot tracking motion source is the waiting state, and the signal characteristic parameter and the state parameter are both in the first state, it is determined that the running state of the robot tracking motion source is the normal state,

[0173] The normal state is configured to control the robot to track the action source, and the waiting state is configured to control the robot to maintain the current posture and wait for tracking to resume.

[0174] In some embodiments, the state control module is also used to determine that the running state of the robot tracking motion source is a waiting state when the running state of the robot tracking motion source is a normal state and the signal characteristic parameter or the state parameter is a second state, and to determine that the running state of the robot tracking motion source is a normal state when the running state of the robot tracking motion source is a waiting state and the signal characteristic parameter and the state parameter are both in the first state.

[0175] In some embodiments, the processor is also used to determine that the operating state of the robot tracking motion source is a waiting state when the operating state of the robot tracking motion source is a normal state and the signal characteristic parameter or the state parameter is a second state, and to determine that the operating state of the robot tracking motion source is a normal state when the operating state of the robot tracking motion source is a waiting state and the signal characteristic parameter and the state parameter are both in the first state.

[0176] Specifically, based on the above implementation, after obtaining the signal characteristic parameters and the state parameters of the robot, the operating state of the robot currently tracking the action source and executing the action can be controlled according to the above two sets of parameters to ensure the reliability and safety of the robot operation.

[0177] First, in some examples, the execution state of the robot's current tracking action source is a normal state, and the normal state means that the current robot is in a state of executing an action according to the action trajectory queue generated based on the filtering recognition result. On this basis, if it is detected that at least one of the above-mentioned signal characteristic parameters and state parameters is in a disconnected state, it means that the robot is already in a disconnected state when identifying the action or receiving the filtering recognition result. Therefore, if the robot continues to track the execution of the action, the action will inevitably be stuck or even interrupted. Therefore, at this time, the running state of the robot tracking the action source to execute the action is adjusted to a waiting state. The waiting state refers to the robot immediately pausing the process of tracking the action source to execute the action, maintaining the current posture, and waiting to return to the normal state and re-track the running state of the action source.

[0178] Furthermore, when the robot has entered the waiting state, if it is detected that both the above-mentioned signal characteristic parameters and state parameters have returned to normal, it means that the faults or hidden dangers in the two links of identifying actions and receiving filtering identification results have been eliminated. Therefore, the robot now returns to normal and continues to track the action source to execute the action.

[0179] In this way, the present application can determine the current state of the robot tracking and executing actions based on the above-mentioned signal characteristic parameters and the state of the robot receiving action recognition data, so as to control the robot to perform actions more safely and reliably.

[0180] See also Fig. 9 In some embodiments, step 003 further includes:

[0181] 0033: When the running state of the robot tracking action source is in the waiting state or the pause state, and the signal characteristic parameter or the state parameter is in the disconnected state and lasts for a fifth preset time, it is determined that the running state of the robot tracking action source is a failure state,

[0182] The failed state is configured to indicate that the robot fails to track the action source, and the paused state is configured to indicate that the robot is currently paused from tracking the action source.

[0183] In some embodiments, the state control module is also used to determine that the operating state of the robot tracking action source is a failure state when the operating state of the robot tracking action source is a waiting state or a pause state, and the signal characteristic parameter or the state parameter is a disconnected state and lasts for a fifth preset time.

[0184] In some embodiments, the processor is also used to determine that the operating state of the robot tracking action source is a failure state when the operating state of the robot tracking action source is a waiting state or a pause state, and the signal characteristic parameter or the state parameter is a disconnected state and lasts for a fifth preset time.

[0185] Specifically, in addition to the above examples, the robot's current execution state of tracking the action source is the above-mentioned waiting state or pause state, where the pause state means that the robot temporarily stops tracking the action source. Unlike the above-mentioned waiting state, the pause state is generally manually switched by the user through a remote control or an operation performed on the body, while the waiting state is automatically switched due to changes in signal characteristic parameters and state parameters.

[0186] Next, if at least one of the above-mentioned signal characteristic parameters and state parameters is in a disconnected state, and the disconnected state lasts for 10s or longer, it can be determined that the motion tracking process has been completely disconnected and cannot be restored. At this time, the execution state of the robot tracking motion source is set to a failed state, wherein the failed state refers to the state in which the robot's current motion tracking execution process fails and the motion tracking is stopped. The above-mentioned switching condition is one of the conditions for switching to the failed state.

[0187] In this way, the present application can determine the current state of the robot tracking and executing actions based on the above-mentioned signal characteristic parameters and the state of the robot receiving action recognition data, so as to control the robot to perform actions more safely and reliably.

[0188] In some embodiments, the robot control method further comprises:

[0189] In a case where the operation state of the robot tracking motion source is a stopped state, in response to receiving a first remote control instruction, determining that the operation state of the robot tracking motion source is an initialized state;

[0190] When the running state of the robot tracking the motion source is in the initialization state and the robot recognizes the motion source, determining that the running state of the robot tracking the motion source is in the normal state;

[0191] When the operation state of the robot tracking motion source is in the initialization state and the robot does not recognize the motion source, it is determined that the operation state of the robot tracking motion source is in the stop state.

[0192] The stop state is configured to control the robot to standby, and the initialization state is configured to control the robot to start identifying the action source.

[0193] In some embodiments, the state control module is also used to determine that the operating state of the robot tracking action source is an initialization state in response to receiving a first remote control command when the operating state of the robot tracking action source is a stop state; and to determine that the operating state of the robot tracking action source is a normal state when the operating state of the robot tracking action source is an initialization state and the robot recognizes the action source; and to determine that the operating state of the robot tracking action source is a stop state when the operating state of the robot tracking action source is an initialization state and the robot does not receive the action source.

[0194] In some embodiments, the processor is also used to determine that the operating state of the robot tracking action source is an initialization state in response to receiving a first remote control command when the operating state of the robot tracking action source is a stop state; and to determine that the operating state of the robot tracking action source is a normal state when the operating state of the robot tracking action source is an initialization state and the robot recognizes the action source; and to determine that the operating state of the robot tracking action source is a stop state when the operating state of the robot tracking action source is an initialization state and the robot does not receive the action source.

[0195] Specifically, in addition to automatically adjusting the robot's operating state to track the action source and perform actions according to the above-mentioned signal characteristic parameters and state parameters, the robot can also adjust its own operating state based on the remote control instructions issued by the user through the remote control device used in conjunction with the robot and the robot's recognition of the action source.

[0196] Exemplarily, the current running state of the robot tracking the action source is a stop state, wherein the stop state means that the robot is currently in a power-on standby state, has not identified the action source, has not received the above-mentioned action identification data, has not received the above-mentioned filtering identification results, and has not tracked the action source to perform an action. At this time, if the user sends a start command (corresponding to the first remote control command) to the robot through the remote control device, the robot switches the running state of the robot tracking the action source to an initialization state when receiving the above-mentioned start command. In the initialization state, the robot starts the entire action tracking process from the stop state, and selects and identifies the action source through the image acquisition device.

[0197] Next, the current running state of the robot tracking the action source is the initialization state and starts to select and identify the action source. If the basic landmark point of the action source is successfully determined, that is, the action source is identified, the running state of the robot tracking the action source is set to the normal state, preparing for the subsequent tracking of the action source to execute actions.

[0198] On the other hand, the current running state of the robot tracking motion source is the initialization state and starts to select and identify the motion source. If the basic landmark point of a certain motion source is not identified, that is, the motion source is not identified, the entire motion tracking process cannot be started, and the running state of the robot tracking motion source is set to the stop state, and the power is turned on again for standby.

[0199] In this way, the present application can also update the operating status of the robot's tracking action source based on the robot's own tracking action source operating status and other signals received or identified.

[0200] In some embodiments, the robot control method further comprises:

[0201] When the hardware state of the robot is abnormal and the operation state of the robot tracking motion source is normal, determining that the operation state of the robot tracking motion source is a failure state;

[0202] When the operation state of the robot tracking motion source is in a failed state and it is detected that the hardware state of the robot is abnormal and cannot be recovered by itself, it is determined that the operation state of the robot tracking motion source is in a fault state;

[0203] When the running state of the robot tracking action source is in a failed state and it is detected that the robot's hardware state is abnormal and can be recovered by itself, the current tracking running state of the robot is determined to be a recovery state.

[0204] The recovery state is configured to control the robot to recover its initial position by itself;

[0205] When the running state of the robot tracking motion source is a recovery state and the robot has completed recovery of the initial posture, determining that the running state of the robot tracking motion source is a stop state;

[0206] When the operation state of the robot tracking motion source is a normal state or a pause state, in response to the received second remote control instruction, it is determined that the operation state of the robot tracking motion source is a recovery state.

[0207] In some embodiments, the state control module is also used to determine that the operating state of the robot tracking motion source is a failure state when the hardware state of the robot is abnormal and the operating state of the robot tracking motion source is a normal state; and to determine that the operating state of the robot tracking motion source is a fault state when the operating state of the robot tracking motion source is a failure state and it is detected that the hardware state of the robot is abnormal and cannot recover by itself; and to determine that the current tracking operating state of the robot is a recovery state when the operating state of the robot tracking motion source is a failure state and it is detected that the hardware state of the robot is abnormal and can recover by itself; and to determine that the operating state of the robot tracking motion source is a stop state when the operating state of the robot tracking motion source is a normal state or a paused state, in response to a received second remote control instruction.

[0208] In some embodiments, the processor is also used to determine that the operating state of the robot tracking motion source is a failure state when the hardware state of the robot is abnormal and the operating state of the robot tracking motion source is a normal state; and to determine that the operating state of the robot tracking motion source is a fault state when the operating state of the robot tracking motion source is a failure state and it is detected that the hardware state of the robot is abnormal and cannot recover by itself; and to determine that the current tracking operating state of the robot is a recovery state when the operating state of the robot tracking motion source is a failure state and it is detected that the hardware state of the robot is abnormal and can recover by itself; and to determine that the operating state of the robot tracking motion source is a stop state when the operating state of the robot tracking motion source is a recovery state and the robot has completed the restoration of the initial posture; and to determine that the operating state of the robot tracking motion source is a recovery state in response to a received second remote control instruction when the operating state of the robot tracking motion source is a normal state or a paused state.

[0209] Specifically, in addition to the above examples, the robot's current execution status of tracking the action source is normal. If the robot detects a hardware failure, such as the robot falls, the image acquisition device fails in acquiring images or communication with the robot, and other hardware failures, the entire action tracking process cannot continue. At this time, the execution status of the robot's tracking action source is set to a failed state.

[0210] Furthermore, the execution status of the robot's current tracking action source is a failure state. If the robot detects that the previously detected hardware fault must be resolved by manual intervention and cannot be resolved by self-reset, then the execution status of the robot's tracking action source needs to be set to a failure state to remind the user to reset the robot and eliminate the hardware fault through manual intervention.

[0211] Correspondingly, the current execution state of the robot tracking action source is a failure state. If the robot detects that the previously detected hardware failure can be resolved through its own reset action, the execution state of the robot tracking action source is set to a recovery state, where the recovery state refers to the operating state in which the robot restores the hardware to a normal state through its own reset action. For example, the robot's hardware failure is the robot falling down. In the recovery state, the robot is restored to its original position through the drive of its own motors. Furthermore, when the robot completes the reset action in the recovery state and returns to the initial position, the execution state of the robot tracking action source is set to a stop state, and the power-on standby state can be restored.

[0212] In addition, when the execution state of the robot's current tracking action source is normal or paused, the robot is generally in a state of tracking action, and its posture is not the initial posture. Considering that the user needs to interrupt the action tracking process and restore the robot's initial posture in application scenarios such as debugging the robot, in some examples, when the execution state of the robot's tracking action source is normal or paused, the user can send a stop tracking command (corresponding to the second remote control command) to the robot through the remote control device. When the robot receives the above-mentioned stop tracking command, the robot enters the above-mentioned recovery state and restores its own posture to the initial posture.

[0213] In this way, the present application can also update the operating status of the robot's tracking action source based on the robot's own tracking action source operating status and other signals received or identified.

[0214] In some embodiments, the robot control method further comprises:

[0215] In a case where the running state of the robot tracking action source is in a normal state, in response to the received third remote control instruction, determining that the current tracking running state of the robot is in a paused state;

[0216] When the operation state of the robot tracking the action source is in the pause state, in response to the received fourth remote control instruction, it is determined that the current tracking operation state of the robot is in the normal state.

[0217] In some embodiments, the state control module is also used to determine that the current tracking operation state of the robot is a paused state in response to a third remote control command received when the operation state of the robot tracking action source is a normal state, and to determine that the current tracking operation state of the robot is a normal state in response to a fourth remote control command received when the operation state of the robot tracking action source is a paused state.

[0218] In some embodiments, the processor is also used to determine that the current tracking running state of the robot is a paused state in response to a third remote control instruction received when the running state of the robot tracking action source is a normal state, and to determine that the current tracking running state of the robot is a normal state in response to a fourth remote control instruction received when the running state of the robot tracking action source is a paused state.

[0219] Specifically, in addition to the above examples, when the robot is normally performing the motion tracking process, considering the objective factors of the motion source, the above motion tracking process needs to meet the requirements of being able to pause and start at any time. Therefore, illustratively, if the current running state of the robot tracking the motion source is normal, the user can send a pause command (corresponding to the third remote control command) to the robot through the remote control device, and the robot sets the running state of the tracking motion source to the pause state when receiving the pause command. Correspondingly, if the current running state of the robot tracking the motion source is paused, the user can send a start command (corresponding to the fourth remote control command) to the robot through the remote control device, and the robot sets the running state of the tracking motion source to the normal state when receiving the start command. In this way, the pause and start in the motion tracking process are realized.

[0220] In this way, the present application can also update the operating status of the robot's tracking action source based on the robot's own tracking action source operating status and other signals received or identified.

[0221] See also Fig.10 The robot control method in the embodiment of the present application further includes the following steps:

[0222] 0001: When the robot receives the motion trajectory queue, it performs trajectory adaptation processing on the motion trajectory queue according to the preset limit constraints to determine the actual motion trajectory;

[0223] 0002: Control the robot to perform actions according to the actual action trajectory.

[0224] The robot control device in the implementation mode of the present application also includes a trajectory adaptation module and a motion control module, wherein the trajectory adaptation module is used to perform trajectory adaptation processing on the motion trajectory queue according to preset limit constraints when the robot receives the motion trajectory queue to determine the actual motion trajectory, and the motion control module is used to control the robot to perform actions according to the actual motion trajectory.

[0225] The processor in the implementation mode of the present application is also used to perform trajectory adaptation processing on the motion trajectory queue according to preset limit constraints when the robot receives the motion trajectory queue, determine the actual motion trajectory, and control the robot to perform actions according to the actual motion trajectory.

[0226] Specifically, when the robot is in a normal state of tracking the motion source and has determined the motion trajectory queue, it can start to execute the motion according to the motion trajectory queue. However, before inputting the motion trajectory queue into the controller, the motion trajectory executed by the robot needs to be adapted so that the motion trajectory queue meets the kinematic constraint requirements and the hardware conditions of the robot itself after being modified. After the motion trajectory queue is adapted, the obtained motion trajectory can be directly applied to the robot to execute the motion.

[0227] In this way, the present application can optimize the received motion trajectory queue based on the limit constraints set for each motor on the robot, so that the motion trajectory can adapt to the actual motion properties of each motor of the robot and the corresponding driving parts, thereby determining the actual motion trajectory data that can be directly used to control the robot to perform actions, thereby ensuring the reliability and safety of the robot when performing actions.

[0228] See also Fig.11 In some embodiments, step 0001 includes:

[0229] 00011: According to the limit constraint condition, the first preset parameter and the motion parameter of the first motor to be optimized, the output value of the preset optimization function is optimized, and the first optimization parameter of the first motor to be optimized is determined to determine the actual motion trajectory.

[0230] The first optimization parameter is a motion parameter applied to the first motor to be optimized and meets the first preset condition after optimization. The first optimization parameter is configured to describe the posture of the first motor to be optimized and the corresponding driving member.

[0231] In some embodiments, the trajectory adaptation module is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the first preset parameters and the motion parameters of the first motor to be optimized, determine the first optimization parameters of the first motor to be optimized, and determine the actual motion trajectory.

[0232] In some embodiments, the processor is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the first preset parameters and the motion parameters of the first motor to be optimized, determine the first optimization parameters of the first motor to be optimized, and determine the actual motion trajectory.

[0233] For details on the trajectory adaptation process, see Figure 2 Exemplarily, the trajectory adaptation process includes at least 9 groups of expected trajectories, including two groups of hands, with marker point 3 as one group and marker point 6 as one group; two groups of elbows, with marker point 2 as one group and marker point 5 as one group; two groups of feet, with marker point 7 as one group and marker point 9 as one group; two groups of knees, with marker point 8 as one group and marker point 10 as one group; and one group of the body, with three marker points 0, 1 and 4 as one group. Each set of trajectory data includes a three-dimensional coordinate time series and a speed time series. The above-mentioned three-dimensional coordinate system is based on the body coordinates of the robot, generally based on Figure 2 The 0th mark point in is the origin. Figure 2 The positive direction of the x-axis is horizontally to the left, the positive direction of the y-axis is vertically to the periphery of the paper, and the positive direction of the z-axis is vertically upward. In addition, in some other examples, the expected trajectory also includes a set of expected trajectories corresponding to the head.

[0234] The limit constraint parameters required in the trajectory adaptation process generally include the following parameters: the position and speed constraints of the robot's arms relative to the fuselage, the robot's overall height constraint, inclination constraint, rotation heading angle (yaw angle) constraint and speed constraint, the robot's head inclination constraint, the robot's legs relative to the fuselage, etc.

[0235] Before trajectory adaptation, the action trajectory queue obtained by filtering and storing in queues describes the three-dimensional position trajectory of the corresponding part of the action source identified by the image recognition device. Then, the corresponding expected trajectory obtained after trajectory adaptation is the trajectory that the robot can execute smoothly. Since there are relatively complex limit relationships between multiple motors and drive components on the robot body, trajectory adaptation can be achieved by solving optimization problems.

[0236] Exemplarily, the cost function in the above optimization problem is as follows:

[0237]

[0238] Where x is the decision variable, w i is the weight coefficient, c i is the optimization coefficient, where the decision variable x and the optimization coefficient c i It is related to the landmark points corresponding to the action trajectory queue to be optimized.

[0239] Then, for the parts of the limbs such as the hands, elbows, feet, and knees, the decision variables are the angular velocity ω of the motor corresponding to the above parts (corresponding to the first motor to be optimized) limb Based on the hardware properties of the robot, the above angular velocity has a fixed maximum and minimum value, and the optimization coefficient c 1 Satisfies the following equation:

[0240] c 1 =JBω limb -v limb

[0241] Where J is the Jacobian matrix defined in the fuselage coordinate system, which is used to map the speed of the motor to the speed of the corresponding part posture. B is the selection matrix, which is a diagonal square matrix. The diagonal items are functions of the joint angle and its limit margin. The expression of the margin function g(x) is:

[0242]

[0243] Where e is a natural constant and x is ω limb , n is a parameter that can affect the smoothness of the margin function curve, a and b are parameters related to the maximum and minimum values ​​of the above angular velocity,

[0244]

[0245] b = x max +a-ε

[0246] Where ε is the parameter that affects the overall shrinkage of the margin function toward x=1.

[0247] The above margin function tends to 1 when the current posture is far away from the boundary of the limit constraint. It is worth noting that it tends to 0 when the current posture approaches the boundary of the limit constraint, indicating that the influence of the selection matrix on motion tracking when the corresponding part approaches the limit constraint is ignored.

[0248] In addition, v limb is the expected speed, which is calculated using the expected speed calculation method consisting of the feedforward reference speed and PD feedback. For the specific calculation method, please refer to the following equation:

[0249] v limb =v ref +K p e p +K d e v

[0250] where v ref is the reference speed determined by the feedforward motion prediction based on the motion trajectory queue, ep K is the error vector, specifically a 6×1 vector, representing the position error and angle error. p is the P control benefit in PD feedback, specifically a 6×6 diagonal matrix. v K is the velocity error, specifically a 6×6 diagonal matrix, representing the linear velocity error and angular velocity error. d is the D control gain in PD feedback.

[0251] Based on the above optimization function, a total of 8 optimization tasks can be generated for the hands, elbows, feet and knees, mainly for the motors at the hands, elbows, feet and knees of the robot (corresponding to the first motor to be optimized) and the speed and posture of the corresponding drive parts. According to the above optimization method, the optimized angular velocity ω can be obtained. limb1 (corresponding to the first optimization parameter).

[0252] In this way, the present application can optimize the preset optimization function based on the limit constraint conditions to determine the optimization parameters for the motor to be optimized, thereby correcting and adapting the posture of the motor to be optimized and the corresponding driving component.

[0253] See also Fig.11 In some embodiments, step 0001 further includes:

[0254] 00012: According to the limit constraint condition, the second preset parameter and the motion parameter of the second motor to be optimized, the output value of the preset optimization function is optimized, and the second optimization parameter of the second motor to be optimized is determined to determine the actual motion trajectory.

[0255] Among them, the second optimization parameter is a motion parameter applied to the second motor to be optimized, which meets the second preset condition after optimization. The second optimization parameter is configured to describe the compliance of the current position of the second motor to be optimized and the corresponding driving component with the limit constraint condition.

[0256] In some embodiments, the trajectory adaptation module is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the second preset parameters and the motion parameters of the second motor to be optimized, determine the second optimization parameters of the second motor to be optimized, and determine the actual motion trajectory.

[0257] In some embodiments, the processor is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the second preset parameters and the motion parameters of the second motor to be optimized, determine the second optimization parameters of the second motor to be optimized, and determine the actual motion trajectory.

[0258] Specifically, when the robot performs an action, interference may occur between the drive components corresponding to the motors. At this time, the motors corresponding to certain joints are at the boundary of the limit constraint and cannot continue to rotate, resulting in the entire robot being completely stuck. This situation is generally caused by tracking the action trajectory based on the parts corresponding to the limbs such as the hands or elbows. At this time, the feasibility of the motion space of other joints on the body is not considered. Therefore, when the robot blindly follows the trajectory and moves to certain positions, it approaches the boundary of the limit range, and finally the above situation occurs.

[0259] Therefore, on the basis of the above implementation mode, the motors corresponding to the hands, elbows, feet and knees also need to be optimized with respect to the boundaries of the limit constraints to avoid dangerous situations caused by the robot's posture approaching the above boundary values.

[0260] Specifically, the optimization is performed based on the same optimization function as in the above embodiment:

[0261]

[0262] The decision variable x is the same as in the above embodiment, and is also the angular velocity ω of the corresponding motor. limb , w i is the weight coefficient. At this time, the optimization coefficient is c 2 , c 2 Satisfies the following equation:

[0263] c 2 =B center ω limb -v center ,

[0264] Among them B center To select the matrix, specifically a diagonal square matrix, the diagonal items are functions of the joint angle and its limit margin, and the expression of the margin function g(x) is:

[0265]

[0266] Where e is a natural constant and x is ω limb , n is a parameter that can affect the smoothness of the margin function curve, a and b are parameters related to the maximum and minimum values ​​of the above angular velocity,

[0267]

[0268] b = x max +a-ε

[0269] Where ε is the parameter that affects the overall shrinkage of the margin function toward x=1.

[0270] The above margin function tends to 0 when the current posture is far away from the boundary of the limit constraint. It is worth noting that it tends to 1 when the current posture is close to the boundary of the limit constraint, indicating that the influence of the selection matrix on motion tracking is strengthened when the corresponding part is close to the limit constraint.

[0271] In addition, v center is the desired angular velocity of the limit center, that is, the desired angular velocity of the corresponding motor, v center It is calculated as follows:

[0272] v center =v cur +a center dt

[0273] where v cur Indicates the current angular velocity of the corresponding motor, a center is the expected angular acceleration, a center Satisfies the following equation:

[0274] a center =-a back sgn(x+a)

[0275] where a back =0.5rad / s 2 , a is the same as a in the above margin function g(x).

[0276] Based on the above optimization function, a total of 8 optimization tasks can be generated for the hands, elbows, feet and knees, mainly for the motors at the hands, elbows, feet and knees of the robot (corresponding to the second motor to be optimized) and the corresponding driving parts relative to the boundaries of the limit constraints. According to the above optimization method, the optimized angular velocity ω can be obtained. limb2 (corresponding to the second optimization parameter).

[0277] In this way, the present application can optimize the preset optimization function based on the limit constraint conditions to determine the optimization parameters for the motor to be optimized, thereby verifying the position of the motor to be optimized and the corresponding driving component based on the boundaries of the limit constraint conditions, thereby reducing the probability of the position data exceeding the limit constraint.

[0278] See also Fig.11 In some embodiments, step 0001 further includes:

[0279] 00013: According to the limit constraint condition, the third preset parameter and the motion parameter of the third motor to be optimized, the output value of the preset optimization function is optimized, and the third optimization parameter of the third motor to be optimized is determined to determine the actual motion trajectory.

[0280] The third optimization parameter is a motion parameter applied to the third motor to be optimized and meets the third preset condition after optimization. The third optimization parameter is configured to describe the accuracy of the body position of the robot.

[0281] In some embodiments, the trajectory adaptation module is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the third preset parameters and the motion parameters of the third motor to be optimized, determine the third optimization parameters of the third motor to be optimized, and determine the actual motion trajectory.

[0282] In some embodiments, the processor is also used to optimize the output value of the preset optimization function according to the limit constraint conditions, the third preset parameters and the motion parameters of the third motor to be optimized, determine the third optimization parameters of the third motor to be optimized, and determine the actual motion trajectory.

[0283] Specifically, based on the above implementation, for the trajectory of the body posture, since the limbs are connected to the body, if certain movements of the limbs are to be completed safely, the body posture needs to be adjusted accordingly to cooperate with the limbs to complete the movements. In order to achieve this goal, it is also necessary to optimize the various motors on the body.

[0284] Therefore, illustratively, the same optimization function as in the above embodiment is adopted:

[0285]

[0286] where the decision variable x corresponds to ω limb , that is, the angular velocity of the corresponding motor on the fuselage, w i is the weight coefficient. At this time, the optimization coefficient is c 3 , c 3 Satisfies the following equation:

[0287] c 3 =J base Bω limb -v base

[0288] Among them J base The Jacobian matrix is ​​used to map the angular velocity of the motors in the limb joints to the angular velocity of the corresponding motors on the fuselage.

[0289] B is the selection matrix, which is a diagonal square matrix. The diagonal items are functions of the joint angle and its limit margin. The expression of the margin function g(x) is:

[0290]

[0291] Where e is a natural constant and x is ω limb, n is a parameter that can affect the smoothness of the margin function curve, a and b are parameters related to the maximum and minimum values ​​of the above angular velocity,

[0292]

[0293] b = x max +a-ε

[0294] Where ε is the parameter that affects the overall shrinkage of the margin function toward x=1.

[0295] The above margin function tends to 1 when the current posture is far away from the boundary of the limit constraint, and tends to 0 when the current posture is close to the boundary of the limit constraint.

[0296] In addition, v base The expected speed is calculated using the expected speed calculation method composed of the feedforward reference speed and PD feedback. The specific calculation method is as follows:

[0297] v base =v ref_base +K p e p +K d e v

[0298] where v ref_base is the reference speed determined by the feedforward motion prediction based on the motion trajectory queue, e p K is the error vector, specifically a 6×1 vector, representing the position error and angle error. p is the P control benefit in PD feedback, specifically a 6×6 diagonal matrix. v K is the velocity error, specifically a 6×6 diagonal matrix, representing the linear velocity error and angular velocity error. d is the D control gain in PD feedback.

[0299] Based on the above optimization function, the speed and posture of the motor on the fuselage (corresponding to the third motor to be optimized) and the corresponding driving member can be optimized to adjust the posture of the fuselage during the movement of the robot. According to the above optimization method, the optimized angular velocity ω can be obtained. limb3 (corresponding to the third optimization parameter).

[0300] In this way, the present application can optimize the preset optimization function based on the limit constraint conditions to determine the optimization parameters for the motor to be optimized, thereby correcting the position of the robot body and reducing the probability of unexpected situations such as instability of the center of gravity when the robot performs actions.

[0301] See also Fig.12 In some embodiments, step 0002 further includes:

[0302] 00021: Perform optimization screening processing according to the first optimization parameter, the second optimization parameter and the third optimization parameter to determine the target motion parameters of each motor of the robot;

[0303] 00022: According to the target motion parameters, determine the position trajectory of each motor and the corresponding drive parts of the robot to determine the actual motion trajectory.

[0304] In some embodiments, the motion control module is also used to perform optimization screening processing based on the first optimization parameter, the second optimization parameter, and the third optimization parameter to determine the target motion parameters of each motor of the robot, and to determine the position trajectory of each motor of the robot and the corresponding driving parts based on the target motion parameters to determine the actual motion trajectory.

[0305] In some embodiments, the processor is also used to perform optimization screening processing based on the first optimization parameter, the second optimization parameter, and the third optimization parameter to determine the target motion parameters of each motor of the robot, and to determine the position trajectory of each motor of the robot and the corresponding driving member based on the target motion parameters to determine the actual motion trajectory.

[0306] Specifically, on the basis of the above-mentioned implementation, since the optimization objectives and optimization directions of the above-mentioned different optimization tasks are different, the various optimization parameters obtained may contradict each other. Therefore, in order to obtain the optimal optimization parameters as a whole and avoid unknown action risks caused by local optimality, illustratively, based on the various optimization parameters determined by the execution of the above-mentioned various optimization tasks, and the corresponding weight coefficients, the above-mentioned optimization parameters are optimized, screened and solved. After multiple rounds of screening and solving, the optimal solution of the optimization parameters that can ensure that the optimization function values ​​corresponding to each optimization task are minimized as a whole can be obtained, that is, the optimal solution of the angular velocity value (corresponding to the target motion parameter) of each motor of the robot. Finally, based on the angular velocity values ​​of each motor obtained, kinematic operations can be further performed to determine the position trajectory of each motor of the robot and the corresponding drive member, so as to obtain the actual motion trajectory data that the robot can directly apply.

[0307] In this way, the present application can perform optimization screening based on the multiple optimization parameters generated as above, determine the optimization parameters that can make the robot relatively most balanced in terms of accuracy, reliability and safety when performing actions, and further determine the actual action trajectory.

[0308] See also Fig.13 In some embodiments, step 00021 further includes:

[0309] 000211: In each optimization screening process cycle, the optimization parameters to be used are determined according to the values ​​and weights of the optimization parameters;

[0310] 000212: According to the preset optimization logic, select and determine the target optimization parameter from multiple optimization parameters to be used;

[0311] 000213: Determine target motion parameters according to target optimization parameters;

[0312] On this basis, the target motion parameters include target kinematic parameters and target position parameters, and step 000213 further includes:

[0313] According to the target optimization parameters, multiple target kinematic parameters of each motor of the robot are determined;

[0314] Determine the target position parameters of each motor of the robot according to the target kinematic parameters and the preset integration method;

[0315] Step 00022 further includes:

[0316] The actual motion trajectory is determined based on multiple target kinematic parameters and target position parameters of each motor of the robot.

[0317] In certain embodiments, the motion control module is also used to determine the optimization parameters to be used according to the values ​​and weights of each optimization parameter in each optimization screening processing cycle, and to screen and determine the target optimization parameters from multiple optimization parameters to be used according to a preset optimization logic, and to determine the target motion parameters according to the target optimization parameters, and to determine multiple target kinematic parameters of each motor of the robot according to the target optimization parameters, and to determine the target position parameters of each motor of the robot according to the target kinematic parameters and a preset integration method, and to determine the actual motion trajectory according to the multiple target kinematic parameters and target position parameters of each motor of the robot.

[0318] In certain embodiments, the processor is also used to determine the optimization parameters to be used according to the values ​​and weights of each optimization parameter in each optimization screening processing cycle, and to screen and determine the target optimization parameters from multiple optimization parameters to be used according to a preset optimization logic, and to determine the target motion parameters according to the target optimization parameters, and to determine multiple target kinematic parameters of each motor of the robot according to the target optimization parameters, and to determine the target position parameters of each motor of the robot according to the target kinematic parameters and a preset integration method, and to determine the actual motion trajectory according to the multiple target kinematic parameters and target position parameters of each motor of the robot.

[0319] Specifically, based on the above implementation, since the actions performed by the action source have different forms and emphases, different weight coefficients need to be assigned to each optimization task based on the overall emphasis of the actions performed by the action source when performing the optimization screening process. And according to the above optimization function, the optimization task is performed with the corresponding weight coefficient and optimization coefficient to obtain the corresponding optimization parameters (that is, the angular velocity of the corresponding motor, corresponding to the optimization parameters to be used), and the angular velocity used by each motor on the robot is determined based on the overall characteristics of the actions performed by the action source.

[0320] Regarding the setting of weight coefficients, for example, when the actions performed by the action source are mainly two-handed operations, more attention is paid to the accuracy of hand movements, and the requirements for the accuracy of movements of other parts are lower. Therefore, in this case, the weight coefficient of the optimization task corresponding to the hand can be set to a larger value, and the weight coefficient of the optimization task corresponding to other parts can be set to a smaller value.

[0321] For another example, when the action source is mainly walking, the accuracy of the body, knees and feet is required to be high, while the hand action is generally just natural arm swinging, which requires lower accuracy. Therefore, in this case, the weight coefficient of the optimization task corresponding to the body, knees and feet can be set to a larger value, and the weight coefficient of the optimization task corresponding to the hand and elbow can be set to a smaller value.

[0322] Then, kinematic calculation is performed based on the angular velocity determined above, and the target motion parameters of each mark point on the robot are determined by calculation. Specifically, the above target motion parameters generally include two parts, one is the kinematic parameter part, which generally includes the angular velocity and linear velocity of each mark point, and the other is the position parameter part, which generally refers to the position information of each mark point in space.

[0323] Exemplarily, when the angular velocity of each motor is determined, the angular velocity and linear velocity of each mark point of the robot can be calculated based on the Jacobian matrix in the optimization function corresponding to each optimization task (corresponding to determining multiple target kinematic parameters of each motor of the robot according to the target optimization parameters). Then, the position information of the corresponding mark point is obtained by Euler integration using the calculated angular velocity and linear velocity (corresponding to determining the target position parameters of each motor of the robot according to the target kinematic parameters and the preset integration method), and finally the angular velocity, linear velocity and position information of each mark point are summarized and integrated to finally obtain the actual motion trajectory, that is, the above-mentioned trajectory adaptation process can be completed.

[0324] Thus, the present application provides a specific method for achieving the above-mentioned optimized screening.

[0325] The computer-readable storage medium in the embodiments of the present application stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.

[0326] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0327] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0328] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A robot control method, It is characterized in that The method comprises: Track and identify the actions made by the action source and determine the action recognition result; Performing filtering processing on the action recognition result to determine a filtering recognition result; The filtering and recognition results are stored as an action trajectory queue to control the robot to perform actions according to the action trajectory queue.

2. The method according to claim 1, It is characterized in that The tracking and identifying the action performed by the action source and determining the action recognition result include: Taking the basic marking points on the action source as a reference, the spatial coordinate recognition results of multiple marking points on the action source are determined to determine the action recognition result.

3. The method according to claim 1, It is characterized in that The performing filtering processing on the action recognition result to determine the filtering recognition result includes: According to the action recognition result, low-pass filtering is performed to determine an initial filtering recognition result; According to the initial filtering and identification result, a saturation filtering process is performed to determine the filtering and identification result.

4. The method according to claim 3, It is characterized in that The step of performing low-pass filtering according to the action recognition result to determine the initial filtering recognition result includes: The action recognition result is subjected to low-pass filtering according to a second-order Butterworth filter to determine the initial filtering recognition result.

5. The method according to claim 3, It is characterized in that The step of performing saturation filtering processing according to the initial filtering recognition result to determine the filtering recognition result includes: Performing a first saturation filtering process on the speed parameter of the initial filtering recognition result to determine a speed filtering result; Performing a second saturation filtering process on the position parameters of the initial filtering recognition result to determine a position filtering result; The filtering identification result is determined according to the speed filtering result and the position filtering result.

6. The method according to claim 1, It is characterized in that The step of storing the filtering and recognition results as an action trajectory queue to control the robot to perform actions according to the action trajectory queue includes: When the next action position exceeds a preset range of the current action position, the next action position is stored at the end of the pending action trajectory queue to determine the action trajectory queue, wherein the next action position and the current action position are included in the filtering recognition result.

7. The method according to claim 1, It is characterized in that The method further comprises: According to the motion trajectory queue and the pre-stored historical motion trajectory queue, a motion trajectory prediction result is determined to improve the accuracy of the motion trajectory queue.

8. The method according to claim 7, It is characterized in that The step of determining the motion trajectory prediction result according to the motion trajectory queue and the pre-stored historical motion trajectory queue includes: According to the position information in the motion trajectory queue, a third-order polynomial fitting process is performed to determine the predicted position information; The motion trajectory queue is corrected and determined according to the predicted position information to improve the accuracy of the motion trajectory queue.

9. A robot, It is characterized in that The robot comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Interactive mechanical arm control method based on skeleton node information

    CN109108970A

  • Target recognition method and system based on human joint motion real-time prediction

    CN111027473A

  • Redundant double-arm robot teaching method, device, electronic equipment and system

    CN114536351A

  • Feedback controller

    US5867384A

Cited By

  • Motion recognition and simulation method and system for humanoid robot

    CN119169502A