A bipedal robot control method, device, bipedal robot and storage medium

By calculating the stable point and control output of the double inverted pendulum model, the lateral movement of the bipedal robot is adjusted, which solves the problem of the center of mass of the bipedal robot shifting under external environment or human interference, and improves stability and anti-interference capabilities.

CN113359792BActive Publication Date: 2024-09-20UBTECH ROBOTICS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110584040.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-27
Publication Date
2024-09-20
Estimated Expiration
2041-05-27

AI Technical Summary

Technical Problem

Bipedal robots are easily disturbed by the external environment or human factors when stepping or walking, causing the center of mass to move to one side and reducing stability.

Method used

By obtaining the initial distance, initial movement speed and initial displacement between the center of mass and the support point of the double inverted pendulum model, calculate the measurement value and control output of the stable point, and adjust the lateral movement of the bipedal robot to achieve the desired displacement of the center of mass. , improve anti-interference ability.

Benefits of technology

It effectively improves the stability and adaptability of the lateral movement of the bipedal robot when it is interfered by the external environment or human interference, achieves stable control of the lateral movement of the bipedal robot, and enhances the anti-interference ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113359792B
    Figure CN113359792B
Patent Text Reader

Abstract

The present application is applicable to the technical field of bipedal robots, and provides a bipedal robot control method, device, bipedal robot and storage medium, by obtaining the initial distance between the center of mass and the support point of a double inverted pendulum model of the bipedal robot, the initial moving speed of the center of mass and the initial displacement of the center of mass; according to the initial distance and the initial moving speed, the measured value of the stable point of the double inverted pendulum model is obtained; according to the initial moving speed and the measured value of the stable point, the control output is obtained; according to the initial moving speed, the initial displacement and the control output, the expected value of the displacement of the center of mass of the double inverted pendulum model is obtained; according to the expected value of the displacement, the lateral movement of the bipedal robot is controlled, which can effectively improve the stability and adaptability of the lateral movement of the bipedal robot when it is interfered by the external environment or human factors, realize stable control of the lateral movement of the bipedal robot, and improve the anti-interference ability of the bipedal robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of robotics technology, and in particular, relates to a bipedal robot control method, device, bipedal robot and storage medium. Background Art

[0002] With the continuous development of robotics technology, various types of robots such as service robots, entertainment robots, production robots, and agricultural robots have emerged in an endless stream, bringing great convenience to people's daily production and life. Bipedal robots are a type of bionic robot that can achieve bipedal walking and related actions. When stepping or walking, bipedal robots are easily disturbed by the external environment or human factors, causing their center of mass to move to one side, reducing stability. Summary of the invention

[0003] The embodiments of the present application provide a bipedal robot control method, device, bipedal robot and storage medium to solve the problem that the existing bipedal robot is easily disturbed by the external environment or human factors when stepping or walking, causing its center of mass to move to one side, thereby reducing stability.

[0004] A first aspect of an embodiment of the present application provides a biped robot control method, comprising:

[0005] Obtaining the initial distance between the center of mass and the support point, the initial moving speed of the center of mass, and the initial displacement of the center of mass of the double inverted pendulum model of the biped robot;

[0006] According to the initial distance and the initial moving speed, obtaining a measurement value of a stable point of the double inverted pendulum model;

[0007] Obtaining a control output according to the initial moving speed and the measured value of the stable point;

[0008] According to the initial moving speed, the initial displacement and the control output, obtaining an expected value of the displacement of the center of mass of the double inverted pendulum model;

[0009] According to the expected value of the displacement, the biped robot is controlled to move sideways.

[0010] A second aspect of an embodiment of the present application provides a biped robot control device, comprising:

[0011] The first acquisition module is used to obtain the initial distance between the center of mass and the support point, the initial moving speed of the center of mass and the initial displacement of the center of mass of the double inverted pendulum model of the biped robot;

[0012] A second acquisition module, used for acquiring a measurement value of a stable point of the double inverted pendulum model according to the initial distance and the initial moving speed;

[0013] A third acquisition module, used for acquiring a control output according to the initial moving speed and the measured value of the stable point;

[0014] a fourth acquisition module, configured to acquire an expected value of the displacement of the biped robot according to the initial moving speed, the initial displacement and the control output;

[0015] A control module is used to control the lateral movement of the biped robot according to the expected value of the displacement.

[0016] A third aspect of an embodiment of the present application provides a bipedal robot, comprising a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the bipedal robot control method described in the first aspect of the embodiment of the present application are implemented.

[0017] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the bipedal robot control method described in the first aspect of the embodiment of the present application are implemented.

[0018] The first aspect of the embodiment of the present application provides a bipedal robot control method, which obtains the initial distance between the center of mass and the support point of a double inverted pendulum model of the bipedal robot, the initial moving speed of the center of mass, and the initial displacement of the center of mass; obtains the measured value of the stable point of the double inverted pendulum model according to the initial distance and the initial moving speed; obtains the control output according to the measured value of the initial moving speed and the stable point; obtains the expected value of the displacement of the center of mass of the double inverted pendulum model according to the initial moving speed, the initial displacement, and the control output; controls the lateral movement of the bipedal robot according to the expected value of the displacement, and by adopting a control method for the stable point of the bipedal robot based on the double inverted pendulum model, the stability and adaptability of the lateral movement of the bipedal robot can be effectively improved when the bipedal robot is disturbed by the external environment or human factors, thereby achieving stable control of the lateral movement of the bipedal robot and improving the anti-interference ability of the bipedal robot.

[0019] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 is a flow chart of a biped robot control method provided in an embodiment of the present application;

[0022] Figure 2 is a schematic diagram of a simplified process of simplifying a bipedal robot into a double inverted pendulum model provided by an embodiment of the present application;

[0023] Figure 3 is a parameter diagram of a double inverted pendulum model provided in an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of the structure of a bipedal robot control device provided in an embodiment of the present application;

[0025] Figure 5 It is a schematic diagram of the structure of a bipedal robot provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0027] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0028] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0030] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0031] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0032] An embodiment of the present application provides a bipedal robot control method, which can be executed by the processor of the bipedal robot when running a corresponding computer program. By adopting a control method for the stability point of the bipedal robot based on a double inverted pendulum model, the stability and adaptability of the lateral movement of the bipedal robot can be effectively improved when the bipedal robot is disturbed by the external environment or human factors, thereby achieving stable control of the lateral movement of the bipedal robot and improving the anti-interference ability of the bipedal robot.

[0033] In application, the bipedal robot can be any type of bipedal robot with walking function. Various types of bipedal robots such as service robots, entertainment robots, production robots, agricultural robots, etc. all have bipedal robot types with walking function, for example, bionic educational robots, bionic welcoming robots, bionic dancing robots, bionic nanny robots, etc.

[0034] like Figure 1 As shown, the biped robot control method provided in the embodiment of the present application includes the following steps S101 to S105:

[0035] Step S101, obtaining an initial distance between the center of mass and a support point, an initial moving speed of the center of mass, and an initial displacement of the center of mass of a double inverted pendulum model of a biped robot.

[0036] In applications, when a bipedal robot moves sideways, it can be simplified to a double inverted pendulum model.

[0037] like Figure 2 As shown, the simplification process of simplifying the biped robot 1 to a double inverted pendulum model 2 is exemplarily shown.

[0038] In applications, the double inverted pendulum model can be used to describe whether the bipedal robot is in a stable state when moving sideways. According to the double inverted pendulum model, when the mass point moves, in order to accurately describe that the bipedal robot is in a stable state and is a constant, it is necessary to construct the concept of the stable point of the double inverted pendulum model. In the double inverted pendulum model, there is a definition of capture point (CapturePoint), which is used to describe the state of a single inverted pendulum model to determine whether the inverted pendulum model is in a stable state. The calculation formula of the capture point is as follows:

[0039]

[0040] Among them, ξ represents the capture point, x represents the distance between the center of mass of the inverted pendulum model and the support point, represents the moving speed of the center of mass, and w represents the natural frequency of the inverted pendulum model.

[0041] In the application, in the definition of the snap point, when When x=0, the inverted pendulum model is in a stable state. The lateral motion of the bipedal robot can be expressed as a reciprocating cyclic motion. Therefore, based on the concept of the capture point, a constant used to describe the state of the bipedal robot when it moves sideways (i.e., the expected value of the stable point of the inverted pendulum model) can be designed. Then, by reasonably designing the position of the support point of the bipedal robot, the capture point (i.e., the stable point of the inverted pendulum model) is made zero, and the inverted pendulum model can be made in a stable state.

[0042] In the application, the double inverted pendulum model includes two inverted pendulum models corresponding to the left leg and the right leg of the bipedal robot, respectively. The capture point of each inverted pendulum model in the double inverted pendulum model is calculated using the above formula 1. When the bipedal robot is supported by the left leg (that is, the center of gravity of the bipedal robot is at the left leg), the capture point is calculated using the distance between the center of mass of the left leg of the double inverted pendulum model and the support point and the moving speed of the center of mass of the left leg; when the bipedal robot is supported by the right leg (that is, the center of gravity of the bipedal robot is at the right leg), the capture point is calculated using the distance between the center of mass of the right leg of the double inverted pendulum model and the support point and the moving speed of the center of mass of the right leg.

[0043] In the application, when the biped robot starts to move sideways under the control of the user, it is necessary to obtain the initial distance between the center of mass of the equivalent double inverted pendulum model and the support point according to the actual lateral movement of the biped robot (when the biped robot is supported by the left leg, the initial distance between the center of mass of the left leg of the double inverted pendulum model and the support point is obtained; when the biped robot is supported by the right leg, the initial distance between the center of mass of the right leg of the double inverted pendulum model and the support point is obtained), the initial moving speed and the initial displacement. When the biped robot starts to move sideways from a stationary state under the control of the user, the initial distance between the center of mass and the support point, the initial moving speed and the initial displacement of the double inverted pendulum model are the distance, moving speed and displacement between the center of mass and the support point in the stationary state, respectively; wherein the moving speed and displacement in the stationary state are 0. Relative to the K+1th moment, the distance, moving speed and displacement between the center of mass of the double inverted pendulum model and the support point at the Kth moment are the initial distance, initial speed and initial displacement, respectively; wherein K is an arbitrary positive integer, the Kth moment can be the current moment, and the K+1th moment can be the next moment.

[0044] In the application, the user can input movement control instructions through the human-computer interaction device of the bipedal robot to directly control the bipedal robot to move laterally according to the movement control instructions; the user can also control the user terminal to send movement control instructions to the bipedal robot through the human-computer interaction device of the user terminal to indirectly control the bipedal robot to move laterally according to the movement control instructions, and the user terminal can communicate with the bipedal robot.

[0045] In the application, the human-machine interaction device of the bipedal robot may include at least one of a physical button, a touch sensor, a gesture recognition sensor and a voice recognition unit, so that the user can input the movement control instruction through the corresponding touch mode, gesture control mode or voice control mode. The physical button and the touch sensor can be set at any position of the bipedal robot, for example, a control panel. The touch mode of the physical button can be specifically pressing or toggling. The touch mode of the touch sensor can be specifically pressing or touching. The gesture recognition sensor can be set at any position outside the shell of the bipedal robot. The gestures used to control the bipedal robot can be customized by the user according to actual needs or the default settings at the factory can be used. The voice recognition unit can include a microphone and a voice recognition chip, or it can only include a microphone and the voice recognition function can be realized by the processor of the bipedal robot. The voice used to control the bipedal robot can be customized by the user according to actual needs or the default settings at the factory can be used.

[0046] In the application, the user terminal can be a remote control, a mobile phone, a smart bracelet, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA), a computer, a server, or other computing device with wireless or wired communication functions that can communicate with the bipedal robot. The embodiment of the present application does not impose any restrictions on the specific type of the user terminal. The human-computer interaction device of the user terminal can be the same as that of the bipedal robot, which will not be repeated here.

[0047] Step S102: acquiring a measurement value of a stable point of the double inverted pendulum model according to the initial distance and the initial moving speed.

[0048] In application, the actual stable point of the bipedal robot will change as the distance between the center of mass and the support point and the moving speed change during the movement. Therefore, if the lateral movement of the bipedal robot needs to be controlled to be in a stable state at the next moment, it is necessary to calculate its actual stable point at the current moment (i.e., the measured value of the stable point) based on the distance between the center of mass and the support point and the moving speed (i.e., the initial moving speed) of the bipedal robot at the current moment, and then adjust the control output used to control the displacement of the bipedal robot based on the actual stable point feedback, and then calculate the displacement (i.e., the expected value of the displacement) that enables the bipedal robot to move stably lateral at the next moment based on the control output.

[0049] In one embodiment, step S102 includes:

[0050] The measured value of the stable point is acquired according to the initial distance, the initial moving speed, the natural frequency of the double inverted pendulum model and the expected value of the stable point of the double inverted pendulum model.

[0051] In the application, the expected value of the stable point of the double inverted pendulum model is a constant set by the user according to actual needs. Theoretically, when the biped robot is in a stable state, the measured value of the stable point should be equal to the expected value of the stable point. However, in the actual lateral movement process, the stable point will change with the change of the distance between the center of mass and the support point and the movement speed. Therefore, the measured value of the stable point is not necessarily equal to the expected value. It is necessary to recalculate the measured value of the stable point based on the actual distance between the center of mass and the support point, the movement speed and the expected value of the stable point.

[0052] In one embodiment, the calculation formula of the measured value of the stable point is as follows:

[0053]

[0054] Among them, ρ m represents the measured value of the stable point, x lrepresents the initial distance between the center of mass of the left leg of the double inverted model and the support point, represents the moving speed of the center of mass of the left leg of the double inverted model, x r represents the initial distance between the center of mass of the right leg of the double inverted model and the support point, represents the moving speed of the center of mass of the right leg of the double inverted pendulum model, w represents the natural frequency of the double inverted pendulum model, and Equal to the initial moving speed.

[0055] like Figure 3 As shown, the center of mass O of the left leg of the double inverted pendulum model is shown as an example l Initial distance x from the support point l , the center of mass O of the right leg of the double inverted pendulum model r Distance x from the support point r , where the arrow direction is the lateral movement direction of the biped robot.

[0056] Step S103: Obtain a control output according to the initial moving speed and the measured value of the stable point.

[0057] In the application, based on the basic idea of ​​the Proportional Integral Differential (PID) control method, the control output for lateral movement control of the bipedal robot can be feedback-regulated according to the initial movement speed and the measured value of the stable point of the double inverted pendulum model of the bipedal robot, thereby adjusting the initial movement speed according to the control output, and then adjusting the initial displacement according to the adjusted initial movement speed. The control output can specifically be acceleration.

[0058] In one embodiment, step S103 includes:

[0059] A control output is obtained according to a control proportional coefficient, an expected value of the stable point, a measured value of the stable point, a control differential coefficient and the initial moving speed.

[0060] In the application, the control proportional coefficient, the expected value of the stable point and the control differential coefficient are all known parameters set by the user in advance according to actual needs. The control output is related to the control proportional coefficient, the expected value of the stable point, the measured value of the stable point, the control differential coefficient and the expected value of the moving speed (that is, the moving speed that the biped robot can achieve after the control output is expected to be adjusted), and the expected value of the moving speed is related to the initial moving speed and the control output.

[0061] In one embodiment, the calculation formula of the control output is as follows:

[0062] a=kp (ρ d -ρ m )+k d (0-v)

[0063] v=v0+a*t

[0064] Wherein, a represents the control output, k p represents the control proportional coefficient, ρ d represents the expected value of the stable point, ρ m represents the measured value of the stable point, k d represents the control differential coefficient, v represents the expected value of the moving speed of the center of mass of the double inverted model, v0 represents the initial moving speed, and t represents the time constant.

[0065] In the application, the time constant is specifically equal to the time difference between the current moment and the next moment. According to the measured value of the stable point obtained at the current moment and the initial moving speed combined with the known parameters such as the control proportional coefficient, the expected value of the stable point and the control differential coefficient, the control output for controlling the stable lateral movement of the bipedal robot at the next moment can be calculated.

[0066] Step S104: acquiring an expected value of the displacement of the center of mass of the double inverted pendulum model according to the initial moving speed, the initial displacement and the control output.

[0067] In the application, after obtaining the control output for controlling the bipedal robot to move sideways stably at the next moment, the expected value of the displacement for controlling the bipedal robot to move sideways stably at the next moment can be further calculated based on the control output and the initial movement speed and initial displacement at the current moment.

[0068] In one embodiment, the calculation formula of the expected value of the displacement is as follows:

[0069] p=p0+v*t+0.5*t 2

[0070] v=v0+a*t

[0071] Among them, p represents the expected value of the displacement, p0 represents the initial displacement, v represents the expected value of the moving speed of the center of mass of the double inverted model, v0 represents the initial moving speed, t represents the time constant, and a represents the control output.

[0072] Step S105: Control the biped robot to move sideways according to the expected value of the displacement.

[0073] In the application, after obtaining the expected value of the displacement used to control the stable lateral movement of the bipedal robot at the next moment, the expected value of the displacement and the lateral movement trajectory equation of the center of mass can be combined to inversely solve the joint angles of the bipedal robot, thereby controlling the corresponding joints of the bipedal robot to move at the joint angles, thereby realizing lateral movement control of the bipedal robot.

[0074] In one embodiment, step S105 includes:

[0075] Acquiring a joint angle of the biped robot according to the expected value of the displacement and the lateral movement trajectory of the biped robot;

[0076] The biped robot is controlled to move sideways according to the joint angles.

[0077] The bipedal robot control method provided in the embodiment of the present application, by adopting a control method of the stability point of the bipedal robot based on a double inverted pendulum model, can effectively improve the stability and adaptability of the lateral movement of the bipedal robot when the bipedal robot is disturbed by the external environment or human factors, thereby achieving stable control of the lateral movement of the bipedal robot and improving the anti-interference ability of the bipedal robot.

[0078] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0079] The present application also provides a bipedal robot control device for executing the method steps in the above method embodiment. The device can be a virtual appliance in the bipedal robot, which is run by a processor of the bipedal robot, or it can be the bipedal robot itself.

[0080] like Figure 4 As shown, the biped robot control device 100 provided in the embodiment of the present application includes:

[0081] The first acquisition module 101 is used to acquire the initial distance between the center of mass and the support point, the initial moving speed of the center of mass and the initial displacement of the center of mass of the double inverted pendulum model of the biped robot;

[0082] A second acquisition module 102, configured to acquire a measurement value of a stable point of the double inverted pendulum model according to the initial distance and the initial moving speed;

[0083] A third acquisition module 103 is used to acquire a control output according to the initial moving speed and the measured value of the stable point;

[0084] A fourth acquisition module 104, configured to acquire an expected value of the displacement of the biped robot according to the initial moving speed, the initial displacement and the control output;

[0085] The control module 105 is used to control the lateral movement of the biped robot according to the expected value of the displacement.

[0086] In application, each module in the above device may be a software program module, or may be implemented by different logic circuits integrated in a processor or independent physical components connected to a processor, or may be implemented by multiple distributed processors.

[0087] like Figure 5 As shown, the embodiment of the present application also provides a biped robot 200, including: at least one processor 201 ( Figure 5 Only one processor is shown in the figure), a memory 202, and a computer program 203 stored in the memory 202 and executable on at least one processor 201. When the processor 201 executes the computer program 203, the steps in the above-mentioned embodiments of the bipedal robot control method are implemented.

[0088] In applications, the bipedal robot may include, but is not limited to, a processor and a memory. Figure 5 This is only an example of a bipedal robot and does not constitute a limitation on the bipedal robot. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include moving components, input and output devices, network access devices, etc. The moving components may include devices such as servos, motors, and drivers for driving the joints of the robot. The input and output devices may include the aforementioned human-computer interaction devices, and may also include a display screen for displaying the working parameters of the bipedal robot. The network access device may include a communication module for the bipedal robot to communicate with a user terminal.

[0089] In applications, the processor may be a central processing unit (CPU), which may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor may specifically be a PID controller.

[0090] In application, the memory may be an internal storage unit of the bipedal robot in some embodiments, such as a hard disk or memory of the bipedal robot. In other embodiments, the memory may also be an external storage device of the bipedal robot, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the bipedal robot. The memory may also include both an internal storage unit and an external storage device of the bipedal robot. The memory is used to store operating systems, application programs, boot loaders, data, and other programs, such as program codes of computer programs. The memory may also be used to temporarily store data that has been output or is to be output.

[0091] In applications, the display screen can be a thin film transistor liquid crystal display (TFT-LCD), a liquid crystal display (LCD), an organic electroluminesence display (OLED), a quantum dot light emitting diode (QLED) display screen, a seven-segment or eight-segment digital tube, etc.

[0092] In the application, the communication module can be set to any device that can directly or indirectly communicate with the client over a long distance by wire or wireless communication according to actual needs. For example, the communication module can provide communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth, Zigbee, mobile communication networks, global navigation satellite systems (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc., which are applied to network devices. The communication module may include an antenna, which may have only one array element or an antenna array including multiple array elements. The communication module may receive electromagnetic waves through the antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor. The communication module may also receive the signal to be sent from the processor, frequency modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0093] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0094] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0095] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0096] An embodiment of the present application provides a computer program product. When the computer program product is run on a bipedal robot, the bipedal robot can implement the steps in the above-mentioned various method embodiments.

[0097] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the bipedal robot, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0100] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0101] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0102] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A biped robot control method, It is characterized in that include: Obtaining the initial distance between the center of mass and the support point, the initial moving speed of the center of mass, and the initial displacement of the center of mass of the double inverted pendulum model of the biped robot; The double inverted pendulum model includes two inverted pendulum models corresponding to the left leg and the right leg of the biped robot respectively; According to the initial distance and the initial moving speed, obtaining a measurement value of a stable point of the double inverted pendulum model, comprising: according to the initial distance, the initial moving speed, the natural frequency of the double inverted pendulum model and the expected value of the stable point of the double inverted pendulum model, obtaining the measurement value of the stable point; Obtaining a control output according to the initial moving speed and the measured value of the stable point; According to the initial moving speed, the initial displacement and the control output, obtaining an expected value of the displacement of the center of mass of the double inverted pendulum model; Controlling the biped robot to move sideways according to the expected value of the displacement; The calculation formula of the measured value of the stable point is as follows: Among them, ρ m represents the measured value of the stable point, x l represents the initial distance between the center of mass of the left leg of the double inverted pendulum model and the support point, represents the moving speed of the center of mass of the left leg of the double inverted pendulum model, x r represents the initial distance between the center of mass of the right leg of the double inverted pendulum model and the support point, represents the moving speed of the center of mass of the right leg of the double inverted pendulum model, w represents the natural frequency of the double inverted pendulum model, and is equal to the initial moving speed, ρ d represents the expected value of the stable point.

2. The biped robot control method according to claim 1, It is characterized in that The step of obtaining a control output according to the initial moving speed and the measured value of the stable point comprises: A control output is obtained according to a control proportional coefficient, an expected value of the stable point, a measured value of the stable point, a control differential coefficient and the initial moving speed.

3. The biped robot control method according to claim 2, It is characterized in that The calculation formula of the control output is as follows: a=k p (r d -r m )+k d (0-v) v=v 0 +a*t Wherein, a represents the control output, k p represents the control proportional coefficient, ρ d represents the expected value of the stable point, ρ m represents the measured value of the stable point, k d represents the control differential coefficient, v represents the expected value of the moving speed of the center of mass of the double inverted pendulum model, and v 0 represents the initial moving speed, and t represents the time constant.

4. The biped robot control method according to claim 1, It is characterized in that The expected value of the displacement is calculated as follows: p=p 0 +v*t+0.5*t 2 v=v 0 +a*t Where p represents the expected value of the displacement, p 0 represents the initial displacement, v represents the expected value of the moving speed of the center of mass of the double inverted pendulum model, and v 0 represents the initial moving speed, t represents the time constant, and a represents the control output.

5. The biped robot control method according to any one of claims 1 to 4, It is characterized in that The step of controlling the biped robot to move sideways according to the expected value of the displacement comprises: Acquiring a joint angle of the biped robot according to the expected value of the displacement and the lateral movement trajectory of the biped robot; The biped robot is controlled to move sideways according to the joint angles.

6. A bipedal robot control device, It is characterized in that include: A first acquisition module is used to acquire an initial distance between the center of mass and a support point, an initial moving speed of the center of mass, and an initial displacement of the center of mass of a double inverted pendulum model of a biped robot; The double inverted pendulum model includes two inverted pendulum models corresponding to the left leg and the right leg of the biped robot respectively; A second acquisition module is used to acquire a measurement value of a stable point of the double inverted pendulum model according to the initial distance and the initial moving speed, comprising: acquiring the measurement value of the stable point according to the initial distance, the initial moving speed, the natural frequency of the double inverted pendulum model and the expected value of the stable point of the double inverted pendulum model; A third acquisition module, used for acquiring a control output according to the initial moving speed and the measured value of the stable point; a fourth acquisition module, configured to acquire an expected value of the displacement of the biped robot according to the initial moving speed, the initial displacement and the control output; A control module, used for controlling the lateral movement of the biped robot according to the expected value of the displacement; The calculation formula of the measured value of the stable point is as follows: Among them, ρ m represents the measured value of the stable point, x l represents the initial distance between the center of mass of the left leg of the double inverted pendulum model and the support point, represents the moving speed of the center of mass of the left leg of the double inverted pendulum model, x r represents the initial distance between the center of mass of the right leg of the double inverted pendulum model and the support point, represents the moving speed of the center of mass of the right leg of the double inverted pendulum model, w represents the natural frequency of the double inverted pendulum model, and is equal to the initial moving speed, ρ d represents the expected value of the stable point.

7. A bipedal robot, It is characterized in that The method comprises a processor and a computer program stored in a memory and executable on the processor, wherein the processor implements the steps of the biped robot control method according to any one of claims 1 to 5 when executing the computer program.

8. 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 a processor, the steps of the biped robot control method according to any one of claims 1 to 5 are implemented.