A balance control method and system for a two-wheeled legged robot
By analyzing the load data and reconfiguring the balance control parameters, the problem of balance control failure of the two-wheeled robot under load conditions was solved, effective balance control under different load scenarios was achieved, and the stability and adaptability of the robot were improved.
Patent Information
- Application Number
- CN202410410557.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-04-08
AI Technical Summary
The existing balance control method of the two-wheeled robot cannot be effectively controlled under load conditions, and there is a risk of balance failure.
By analyzing the load data, the status data array is obtained, the balance control library is queried, the reconfiguration parameter data group is obtained, and the balance control parameters are reconfigured to adapt to balance control under different load scenarios. The method includes collecting data using pressure sensors, building a status data array, and collecting data at multiple angles when the load-bearing platform is tilted to generate parameters for reconfiguration.
It achieves effective balance control under different load scenarios, improves the stability and adaptability of the two-wheeled legged robot under load conditions, and ensures the robot's balanced and stable operation in complex environments.
Smart Images

Figure CN118306495B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot technology, and in particular to a balance control method and system for a two-wheeled legged robot. Background Art
[0002] The two-wheeled leg robot is a new type of robot that uses a two-wheel and two-leg structure. It can move freely in different terrains and environments and has high stability and adaptability. For example: CN214985730U is an all-terrain two-legged wheeled leg robot.
[0003] Due to the unique structure of the two-wheeled legged robot, maintaining its balance is a prerequisite for ensuring its movement during movement. However, the existing balance control methods are based on the ability to effectively control the robot when the two-wheeled legged robot is unloaded. When the two-wheeled legged robot is used to carry loads, there is a risk of ineffective control due to the influence of the load. Summary of the invention
[0004] One of the purposes of the present invention is to provide a balance control method and system for a two-wheeled legged robot, which realigns balance control parameters according to load conditions to effectively control the robot's balance under different working conditions.
[0005] An embodiment of the present invention provides a balance control method for a two-wheeled legged robot, comprising:
[0006] According to the current load data of the two-wheeled legged robot, a state data array for reconfiguration analysis is obtained by analysis;
[0007] According to the state data array, query the balance control library to obtain the reconfiguration parameter data group;
[0008] The balance control parameters are reconfigured according to the reconfiguration parameter data group.
[0009] Preferably, the steps for acquiring the load data are as follows:
[0010] The load-bearing platform of the two-wheeled legged robot is placed in a horizontal state, and first detection data of each pressure sensor arranged in an array on the load-bearing platform is obtained;
[0011] Tilt the load-carrying platform from the horizontal to the first direction, and collect second detection data of each pressure sensor at each sampling angle during the tilting process;
[0012] After the load-carrying platform is reset, it continues to tilt in the second direction, and during the tilting process, third detection data of each pressure sensor is collected at each sampling angle.
[0013] Preferably, the analysis steps of the state data array are as follows:
[0014] The first detection data is taken as a separate group, and the second detection data and the second detection data are grouped according to different sampling angles to obtain a plurality of groups associated with each other;
[0015] The data of each group is arranged according to the numbers corresponding to the pressure sensors to form each row of data of the state data array.
[0016] Preferably, the balance control method of the two-wheeled legged robot further includes:
[0017] When the two-wheeled leg robot is working, obtaining the state of the load-carrying platform in the current working state and the fourth detection data of each pressure sensor in this state;
[0018] The reconfiguration trigger library is used to analyze the state of the load-carrying platform and the fourth detection data to determine whether to enter the reconfiguration mode.
[0019] The present invention also provides a balance control system for a two-wheeled legged robot, comprising: a state analysis unit, a reconfiguration analysis unit and a reconfiguration execution unit, wherein the state analysis unit analyzes and obtains a state data array for reconfiguration analysis based on the current load data of the two-wheeled legged robot; the reconfiguration analysis unit queries a balance control library based on the state data array to obtain a reconfiguration parameter data group; and the reconfiguration execution unit reconfigures the balance control parameters based on the reconfiguration parameter data group.
[0020] Preferably, the balance control system of the two-wheeled legged robot also includes: a reconfiguration trigger unit; when the two-wheeled legged robot is working, the reconfiguration trigger unit obtains the state of the load-bearing platform in the current working state and the fourth detection data of each pressure sensor in this state, and uses the reconfiguration trigger library to analyze the state of the load-bearing platform and the fourth detection data to determine whether to enter the reconfiguration mode.
[0021] Preferably, the reconfiguration analysis unit further queries the parameter adjustment library according to the state data array to obtain the parameter adjustment sub-library.
[0022] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0023] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0025] Figure 1 Schematic diagram of a balance control method for a two-wheeled legged robot in an embodiment of the present invention;
[0026] Figure 2 Schematic diagram of a balance control system of a two-wheeled legged robot in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0028] Example 1
[0029] The present application aims at applying the two-wheeled leg robot to load-bearing scenarios, optimizes the robot structure, sets a load-bearing platform above the fixed bracket, and adopts a gyroscope to monitor the state of the load-bearing platform for realizing automatic control. In order to carry out specific control over the load-bearing situation, multiple pressure sensors are arranged in an array on the platform. Balance control is to control the movement of the motors of the joints on the wheel-leg mechanism of the two-wheeled leg robot according to the monitored state. The balance control method provided in the present application is optimized on this basis to distinguish the control under various load conditions. When the robot is unloaded, the balance control is performed using the configured balance control parameter data group corresponding to the unloaded state. The balance control parameter data group includes: movement speed control parameters, working power control parameters of the motors of the joints on the wheel-leg mechanism corresponding to various state changes, control parameters of the motor rotation direction corresponding to various state changes, etc. When the load changes, in order to cope with this scenario, the balance control method provided in the present application, such as Figure 1 As shown, including:
[0030] According to the current load data of the two-wheeled legged robot, a state data array for reconfiguration analysis is obtained by analysis;
[0031] According to the state data array, query the balance control library to obtain the reconfiguration parameter data group;
[0032] The balance control parameters are reconfigured according to the reconfiguration parameter data group.
[0033] Among them, the balance control library is constructed in advance, and the reconfiguration parameter data group is associated with the state data array in a one-to-one correspondence in the control library; when the balance control library is applied, the reconfiguration parameter data group can be directly called out through the state data array constructed under the current state, and then the balance control parameters can be directly reconfigured according to the reconfiguration parameter data group.
[0034] In order to achieve the accuracy of load data acquisition and to accurately re-adjust the balance parameters, the steps for acquiring load data are as follows:
[0035] The load-bearing platform of the two-wheeled legged robot is placed in a horizontal state, and first detection data of each pressure sensor arranged in an array on the load-bearing platform is obtained;
[0036] Tilt the load-carrying platform from the horizontal to the first direction, and collect second detection data of each pressure sensor at each sampling angle during the tilting process;
[0037] After the load-carrying platform is reset, it continues to tilt in the second direction, and during the tilting process, third detection data of each pressure sensor is collected at each sampling angle.
[0038] In order to ensure the accuracy of reallocation, the acquisition of the above-mentioned load data requires that the two-wheeled leg robot is in a characteristic state, that is, when the gyroscope monitors that the load platform is in a horizontal position, the state of each motor on the wheel-leg mechanism of the two-wheeled leg robot also needs to be in the initial state. The initial state is defined as the state where the two-wheeled leg robot is on a horizontal ground and the load platform is in a horizontal position; the load data in this state can be used for reallocation analysis, and the first direction and the second direction are two vertical horizontal directions; the sampling angles include: extracting a preset number of angles with equal angle intervals in the range of 0 degrees to a preset maximum sampling angle; for example: the maximum sampling angle is 20, and the preset number is 5; then the sampling angles are 4, 8, 12, 16, and 20 respectively.
[0039] In order to realize the analysis and processing of load data, the analysis steps of the status data array are as follows:
[0040] The first detection data is taken as a separate group, and the second detection data and the second detection data are grouped according to different sampling angles to obtain a plurality of groups associated with each other;
[0041] The data of each group is arranged according to the numbers corresponding to the pressure sensors to form each row of data of the state data array.
[0042] That is, the first detection data is taken as the first group; the second detection data and the third detection data are grouped according to the sampling angle to obtain multiple second groups; each first detection data in the first group is arranged according to the preset number corresponding to the pressure sensor to form the first row of data in the state data array; each second group is matched with the row data starting from the second row of data in the state data array in order from small to large according to the sampling angle; each second detection data or each third detection data in the second group is arranged according to the preset number corresponding to the pressure sensor to form the corresponding row data in the state data array. By specifying the composition rules of the state data array, the state data array is generated according to the first detection data, the second detection data and the third detection data, so as to analyze whether to re-match and how to re-match.
[0043] The balance control method of the two-wheeled legged robot of the present invention comprehensively analyzes the load conditions and then determines a reconfiguration parameter data group according to a preset balance control determination library, and then reconfigures the balance control parameters to achieve effective balance control in various load scenarios.
[0044] Example 2
[0045] For the balance control method in Example 1, according to the state data array, the balance control library is queried to obtain the reconfiguration parameter data group. There may be a situation where the obtained reconfiguration parameter data group is consistent with the balance control parameter group currently in use. In order to deal with this situation, the balance control method provided in this embodiment provides specific steps for obtaining the reconfiguration parameter data group from the balance control parameter library, as follows: extract the data array corresponding to the balance control parameter data group currently in use from the balance control library and match it with the state data array; when the match is consistent, no reconfiguration is performed; when it is inconsistent, match the state data array with the data array corresponding to the construction data adopted by other control items in the balance control library; extract the reconfiguration parameter data group associated with the matching data array. That is, in the reconfiguration mode, first check whether the currently used one is consistent with the one after reconfiguration, thereby improving the reconfiguration efficiency.
[0046] In order to quickly determine the control item corresponding to the currently used balance control parameter data group from the balance control parameter library, pointer data may be configured, and the control item pointed to by the pointer data is the currently used one.
[0047] For the matching of the data array extracted from the balance control library and the state data array, the two data arrays can be standardized and normalized to obtain a data set, and then the similarity between the two data sets is calculated. When the similarity between the two is less than a preset threshold (0.95), it is determined that the match does not match; when the similarity between the two is greater than or equal to the preset threshold, it is determined that the match matches; if the match matches, no realignment is required; when the match does not match, realignment is performed.
[0048] Example 3
[0049] In order to analyze the timing of reconfiguration so that the robot can automatically enter the reconfiguration mode and realize the reconfiguration of balance control parameters, the balance control method provided in this embodiment also includes: when the two-wheeled leg robot is working, obtaining the state of the load-bearing platform in the current working state and the fourth detection data of each pressure sensor in this state; using the reconfiguration trigger library, analyzing the state of the load-bearing platform and the fourth detection data, and determining whether to enter the reconfiguration mode.
[0050] This embodiment monitors the load situation during operation to determine whether to reconfigure. After entering the reconfiguration mode, it determines whether the environment and state of the two-wheeled leg robot meet the reconfiguration requirements. If not, it continues to move to a time that meets the requirements for reconfiguration. Reconfiguration analysis is mainly performed based on the trigger analysis set in the reconfiguration trigger library constructed in advance based on the load data of the robot in various states under the same load situation. Specifically, the analysis is as follows: first, based on the state of the current load platform, a data array is extracted from the reconfiguration trigger library, mainly a data array constructed by extracting pressure detection data in the same state as the current load platform, and then the extracted data array is matched with the data array constructed by the fourth monitoring data; matching can also be performed by calculating similarity, and the matching difference is specified as 1 minus the similarity value; the similarity value ranges from 0 to 1; the threshold value can be set to any value in the range of 0.05 to 0.2.
[0051] Example 4
[0052] On the basis of Example 3, in order to reduce the impact of the environment on the reconfiguration trigger, before the matching difference exceeds the preset threshold and enters the reconfiguration mode, the balance control method of this embodiment further includes:
[0053] Get the current driving environment of the two-wheeled leg robot;
[0054] According to a preset driving environment evaluation library, the driving environment is evaluated to obtain an evaluation grade;
[0055] Based on the evaluation level, the threshold corresponding to the trigger judgment is adjusted;
[0056] The driving environment includes: ground hardness, slope, whether there are obstacles, the distance of obstacles, whether there are protrusions (small stones, etc.) on the ground, the average size of the protrusions, the flatness of the ground, etc.
[0057] According to the preset driving environment evaluation library, the driving environment is evaluated and the evaluation level is obtained, including:
[0058] Extract the features of the driving environment, obtain multiple environmental feature values and construct an analysis parameter set based on them; the environmental feature values include: a feature value indicating the hardness of the ground, a feature value indicating the slope of the ground, a feature value indicating whether there are obstacles, a feature value indicating the distance of the obstacles, a feature value indicating whether there are protrusions (small stones, etc.) on the ground, a feature value indicating the average size of the protrusions, a feature value indicating the flatness of the ground, etc.;
[0059] Matching the analysis parameter set with the standard parameter set corresponding to each evaluation level in the driving environment evaluation library, so as to determine the evaluation level corresponding to the current driving environment;
[0060] Based on the evaluation level, the threshold corresponding to the trigger judgment is adjusted, including:
[0061] According to the evaluation level, query the preset correction table to determine the corresponding correction value;
[0062] According to the correction value, the threshold is adjusted;
[0063] This embodiment analyzes the driving environment and then adjusts the threshold to avoid the driving environment from triggering the reconfiguration by mistake. The driving environment evaluation library is constructed by professionals in advance. The evaluation level is associated with the standard parameter set in the driving environment evaluation library. One evaluation level can correspond to multiple standard parameter sets. When the analysis parameter set matches one of the standard parameter sets, the evaluation level corresponding to the current driving environment can be determined. In addition, the shooting of the driving environment can be obtained by analyzing the image of the road ahead shot by the camera configured at the front end of the two-wheeled leg robot.
[0064] Example 5
[0065] In order to improve the ability of the two-wheeled legged robot to cope with complex road conditions, based on Example 1, this embodiment proposes that, based on the balance control parameter data set, a parameter adjustment sub-library is introduced to achieve the purpose of coping with complex road conditions. When the parameter adjustment sub-library is applied to the two-wheeled legged robot, the balance control parameters are adjusted according to different environments. The specific adjustment steps are as follows:
[0066] The ground image in the preset area in front of the two-wheeled legged robot is analyzed, and according to the analysis result, the adjustment factor corresponding to each control parameter is determined from the parameter adjustment sub-library, and the control parameter is adjusted according to the adjustment factor.
[0067] Among them, the ground image can be photographed by a camera configured at the front end of the two-wheeled leg robot; for the analysis of the ground image, according to the driving speed of the two-wheeled leg robot, the image capture area range table is queried, and the regional image for analysis is extracted from the ground image according to the query result; based on the matching of each standard image in the preset regional image recognition library with the regional image, the analysis result corresponding to the matched standard image is the analysis result of the regional image; the analysis result includes: the terrain number corresponding to the regional image; through the terrain number, the corresponding adjustment factor set is extracted from the parameter adjustment sub-library; the adjustment factor set includes: the adjustment factor corresponding to each control parameter. In order to ensure the stable operation of the robot after reconfiguration, when the balance control parameters are reconfigured, the parameter adjustment sub-library needs to be reconfigured, specifically: according to the state data array, the parameter adjustment library is queried to obtain the parameter adjustment sub-library.
[0068] Example 6
[0069] The present invention also provides a balance control system for a two-wheeled legged robot, such as Figure 2 As shown, it includes: a state analysis unit 1, a reconfiguration analysis unit 2 and a reconfiguration execution unit 3, wherein the state analysis unit 1 analyzes and obtains a state data array for reconfiguration analysis according to the current load data of the two-wheeled legged robot; the reconfiguration analysis unit 2 queries the balance control library according to the state data array to obtain a reconfiguration parameter data group; the reconfiguration execution unit 3 reconfigures the balance control parameters according to the reconfiguration parameter data group.
[0070] The steps for obtaining load data are as follows:
[0071] The load-bearing platform of the two-wheeled legged robot is placed in a horizontal state, and first detection data of each pressure sensor arranged in an array on the load-bearing platform is obtained;
[0072] Tilt the load-carrying platform from the horizontal to the first direction, and collect second detection data of each pressure sensor at each sampling angle during the tilting process;
[0073] After the load-carrying platform is reset, it continues to tilt in the second direction, and during the tilting process, third detection data of each pressure sensor is collected at each sampling angle.
[0074] The analysis steps of the state data array are as follows:
[0075] The first detection data is taken as a separate group, and the second detection data and the second detection data are grouped according to different sampling angles to obtain a plurality of groups associated with each other;
[0076] The data of each group is arranged according to the numbers corresponding to the pressure sensors to form each row of data of the state data array.
[0077] Example 7
[0078] In order to realize automatic triggering of reconfiguration, based on Example 6, the balance control system of the two-wheeled legged robot also includes: a reconfiguration trigger unit; when the two-wheeled legged robot is working, the reconfiguration trigger unit obtains the state of the load-bearing platform in the current working state and the fourth detection data of each pressure sensor in this state, and uses the reconfiguration trigger library to analyze the state of the load-bearing platform and the fourth detection data to determine whether to enter the reconfiguration mode.
[0079] Example 8
[0080] In order to ensure the working stability of the robot after reconfiguration and its adaptability to complex terrain, based on Example 6, the reconfiguration analysis unit also queries the parameter adjustment library according to the state data array to obtain the parameter adjustment sub-library.
[0081] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A balance control method for a two-wheeled legged robot, characterized in that: include: According to the current load data of the two-wheeled legged robot, a state data array for reconfiguration analysis is obtained by analysis; According to the state data array, query the balance control library to obtain the reconfiguration parameter data group; reconfiguring the balance control parameters according to the reconfiguration parameter data group; The steps for obtaining load data are as follows: The load-bearing platform of the two-wheeled legged robot is placed in a horizontal state, and first detection data of each pressure sensor arranged in an array on the load-bearing platform is obtained; Tilt the load-carrying platform from the horizontal to the first direction, and collect second detection data of each pressure sensor at each sampling angle during the tilting process; The load-carrying platform continues to tilt in the second direction after being reset, and collects third detection data of each pressure sensor at each sampling angle during the tilting process; The analysis steps of the state data array are as follows: The first detection data is treated as a separate group to form a first group; the second detection data and the third detection data are grouped separately according to different sampling angles to obtain multiple second groups; The data of each group is arranged according to the numbers corresponding to the pressure sensors to form each row of data of the state data array.
2. The balance control method of the two-wheeled legged robot according to claim 1, characterized in that: Also includes: When the two-wheeled leg robot is working, obtaining the state of the load-carrying platform in the current working state and the fourth detection data of each pressure sensor in the state; The reconfiguration trigger library is used to analyze the state of the load-carrying platform and the fourth detection data to determine whether to enter the reconfiguration mode.
3. A balance control system for a two-wheeled legged robot, using the balance control method as claimed in claim 1, characterized in that: include: A state analysis unit, a reconfiguration analysis unit and a reconfiguration execution unit, wherein the state analysis unit analyzes and obtains a state data array for reconfiguration analysis based on the current load data of the two-wheeled legged robot; the reconfiguration analysis unit queries the balance control library based on the state data array to obtain a reconfiguration parameter data group; the reconfiguration execution unit reconfigures the balance control parameters based on the reconfiguration parameter data group.
4. The balance control system of the two-wheeled legged robot according to claim 3, characterized in that: Also includes: Reconfiguration trigger unit; when the two-wheeled leg robot is working, the reconfiguration trigger unit obtains the state of the load-bearing platform under the current working state and the fourth detection data of each pressure sensor in this state, and uses the reconfiguration trigger library to analyze the state of the load-bearing platform and the fourth detection data to determine whether to enter the reconfiguration mode.
5. The balance control system of the two-wheeled legged robot according to claim 3, characterized in that: The reconfiguration analysis unit also queries the parameter adjustment library according to the state data array to obtain the parameter adjustment sub-library.
